TrafficManagerEndpoint.DefinitionStages.WithCustomHeader<ParentT> Interface

Type Parameters

ParentT

the return type of WithAttach#attach()

public static interface TrafficManagerEndpoint.DefinitionStages.WithCustomHeader

The stage of the traffic manager endpoint definition allowing to specify custom headers.

Method Summary

Modifier and Type Method and Description
abstract WithAttach<ParentT> withCustomHeader(String name, String value)

Add a custom header.

abstract WithAttach<ParentT> withCustomHeaders(Map<String,String> headerValues)

Add a custom header.

Method Details

withCustomHeader

public abstract TrafficManagerEndpoint.DefinitionStages.WithAttach withCustomHeader(String name, String value)

Add a custom header.

Parameters:

name - the header name
value - the header value

Returns:

the next stage of the definition

withCustomHeaders

public abstract TrafficManagerEndpoint.DefinitionStages.WithAttach withCustomHeaders(Map headerValues)

Add a custom header. This method replaces the current headers with the provided headers.

Parameters:

headerValues - the map containing header name and value pair

Returns:

the next stage of the definition

Applies to