Class EndpointPropertiesCustomHeadersItem
- java.lang.Object
-
- com.microsoft.azure.management.trafficmanager.EndpointPropertiesCustomHeadersItem
-
public class EndpointPropertiesCustomHeadersItem extends Object
Custom header name and value.
-
-
Constructor Summary
Constructors Constructor Description EndpointPropertiesCustomHeadersItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringname()Get header name.Stringvalue()Get header value.EndpointPropertiesCustomHeadersItemwithName(String name)Set header name.EndpointPropertiesCustomHeadersItemwithValue(String value)Set header value.
-
-
-
Method Detail
-
name
public String name()
Get header name.- Returns:
- the name value
-
withName
public EndpointPropertiesCustomHeadersItem withName(String name)
Set header name.- Parameters:
name- the name value to set- Returns:
- the EndpointPropertiesCustomHeadersItem object itself.
-
value
public String value()
Get header value.- Returns:
- the value value
-
withValue
public EndpointPropertiesCustomHeadersItem withValue(String value)
Set header value.- Parameters:
value- the value value to set- Returns:
- the EndpointPropertiesCustomHeadersItem object itself.
-
-