Class MonitorConfigCustomHeadersItem
java.lang.Object
com.azure.resourcemanager.trafficmanager.models.MonitorConfigCustomHeadersItem
Custom header name and value.
-
Constructor Details
-
MonitorConfigCustomHeadersItem
public MonitorConfigCustomHeadersItem()
-
-
Method Details
-
name
Get the name property: Header name.- Returns:
- the name value.
-
withName
Set the name property: Header name.- Parameters:
name- the name value to set.- Returns:
- the MonitorConfigCustomHeadersItem object itself.
-
value
Get the value property: Header value.- Returns:
- the value value.
-
withValue
Set the value property: Header value.- Parameters:
value- the value value to set.- Returns:
- the MonitorConfigCustomHeadersItem object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-