Class FirewallPolicyHttpHeaderToInsert

java.lang.Object
com.azure.resourcemanager.network.models.FirewallPolicyHttpHeaderToInsert

public final class FirewallPolicyHttpHeaderToInsert extends Object
name and value of HTTP/S header to insert.
  • Constructor Details

    • FirewallPolicyHttpHeaderToInsert

      public FirewallPolicyHttpHeaderToInsert()
      Creates an instance of FirewallPolicyHttpHeaderToInsert class.
  • Method Details

    • headerName

      public String headerName()
      Get the headerName property: Contains the name of the header.
      Returns:
      the headerName value.
    • withHeaderName

      public FirewallPolicyHttpHeaderToInsert withHeaderName(String headerName)
      Set the headerName property: Contains the name of the header.
      Parameters:
      headerName - the headerName value to set.
      Returns:
      the FirewallPolicyHttpHeaderToInsert object itself.
    • headerValue

      public String headerValue()
      Get the headerValue property: Contains the value of the header.
      Returns:
      the headerValue value.
    • withHeaderValue

      public FirewallPolicyHttpHeaderToInsert withHeaderValue(String headerValue)
      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.