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