Class ApplicationGatewayHeaderConfiguration
java.lang.Object
com.azure.resourcemanager.network.models.ApplicationGatewayHeaderConfiguration
Header configuration of the Actions set in Application Gateway.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ApplicationGatewayHeaderConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionGet the headerName property: Header name of the header configuration.Get the headerValue property: Header value of the header configuration.voidvalidate()Validates the instance.withHeaderName(String headerName) Set the headerName property: Header name of the header configuration.withHeaderValue(String headerValue) Set the headerValue property: Header value of the header configuration.
-
Constructor Details
-
ApplicationGatewayHeaderConfiguration
public ApplicationGatewayHeaderConfiguration()Creates an instance of ApplicationGatewayHeaderConfiguration class.
-
-
Method Details
-
headerName
Get the headerName property: Header name of the header configuration.- Returns:
- the headerName value.
-
withHeaderName
Set the headerName property: Header name of the header configuration.- Parameters:
headerName- the headerName value to set.- Returns:
- the ApplicationGatewayHeaderConfiguration object itself.
-
headerValue
Get the headerValue property: Header value of the header configuration.- Returns:
- the headerValue value.
-
withHeaderValue
Set the headerValue property: Header value of the header configuration.- Parameters:
headerValue- the headerValue value to set.- Returns:
- the ApplicationGatewayHeaderConfiguration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-