TrafficManagerEndpoint.UpdateDefinitionStages.WithCustomHeader<ParentT> Interface
Type Parameters
- ParentT
the return type of WithAttach#attach()
public static interface TrafficManagerEndpoint.UpdateDefinitionStages.WithCustomHeader<ParentT>
The stage of the traffic manager endpoint definition allowing to specify custom headers.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withCustomHeader(String name, String value)
Add a custom header. |
abstract
With |
withCustomHeaders(Map<String,String> headerValues)
Add custom headers. |
Method Details
withCustomHeader
public abstract TrafficManagerEndpoint.UpdateDefinitionStages.WithAttach<ParentT> withCustomHeader(String name, String value)
Add a custom header.
Parameters:
Returns:
withCustomHeaders
public abstract TrafficManagerEndpoint.UpdateDefinitionStages.WithAttach<ParentT> withCustomHeaders(Map<String,String> headerValues)
Add custom headers. This method replaces the current headers with the provided headers.
Parameters:
Returns: