Interface TrafficManagerEndpoint.UpdateStages.WithCustomHeader
-
- All Known Subinterfaces:
TrafficManagerEndpoint.Update,TrafficManagerEndpoint.UpdateAzureEndpoint,TrafficManagerEndpoint.UpdateExternalEndpoint,TrafficManagerEndpoint.UpdateNestedProfileEndpoint
- Enclosing interface:
- TrafficManagerEndpoint.UpdateStages
public static interface TrafficManagerEndpoint.UpdateStages.WithCustomHeaderThe stage of the traffic manager endpoint update allowing to specify custom headers.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TrafficManagerEndpoint.UpdatewithCustomHeader(String name, String value)Add a custom header.TrafficManagerEndpoint.UpdatewithCustomHeaders(Map<String,String> headers)Add custom headers.TrafficManagerEndpoint.UpdatewithoutCustomHeader(String name)Removes a custom header.
-
-
-
Method Detail
-
withCustomHeader
TrafficManagerEndpoint.Update withCustomHeader(String name, String value)
Add a custom header.- Parameters:
name- the header namevalue- the header value- Returns:
- the next stage of the update
-
withCustomHeaders
TrafficManagerEndpoint.Update withCustomHeaders(Map<String,String> headers)
Add custom headers. This method replaces the current headers with the provided headers.- Parameters:
headers- the map containing header name and value pair- Returns:
- the next stage of the update
-
withoutCustomHeader
TrafficManagerEndpoint.Update withoutCustomHeader(String name)
Removes a custom header.- Parameters:
name- the name of the header to remove- Returns:
- the next stage of the update
-
-