ParentT
- the return type of Attachable.InDefinition.attach()
@Beta
public static interface TrafficManagerEndpoint.DefinitionStages.WithCustomHeader<ParentT>
Modifier and Type | Method and Description |
---|---|
TrafficManagerEndpoint.DefinitionStages.WithAttach<ParentT> |
withCustomHeader(String name,
String value)
Add a custom header.
|
TrafficManagerEndpoint.DefinitionStages.WithAttach<ParentT> |
withCustomHeaders(Map<String,String> headerValues)
Add a custom header.
|
@Beta TrafficManagerEndpoint.DefinitionStages.WithAttach<ParentT> withCustomHeader(String name, String value)
name
- the header namevalue
- the header value@Beta TrafficManagerEndpoint.DefinitionStages.WithAttach<ParentT> withCustomHeaders(Map<String,String> headerValues)
headerValues
- the map containing header name and value pairCopyright © 2019. All rights reserved.