Interface HttpHeaderConditionConfig.Builder

All Superinterfaces:
Buildable, CopyableBuilder<HttpHeaderConditionConfig.Builder,HttpHeaderConditionConfig>, SdkBuilder<HttpHeaderConditionConfig.Builder,HttpHeaderConditionConfig>, SdkPojo
Enclosing class:
HttpHeaderConditionConfig

public static interface HttpHeaderConditionConfig.Builder extends SdkPojo, CopyableBuilder<HttpHeaderConditionConfig.Builder,HttpHeaderConditionConfig>
  • Method Details

    • httpHeaderName

      HttpHeaderConditionConfig.Builder httpHeaderName(String httpHeaderName)

      The name of the HTTP header field. The maximum size is 40 characters. The header name is case insensitive. The allowed characters are specified by RFC 7230. Wildcards are not supported.

      You can't use an HTTP header condition to specify the host header. Use HostHeaderConditionConfig to specify a host header condition.

      Parameters:
      httpHeaderName - The name of the HTTP header field. The maximum size is 40 characters. The header name is case insensitive. The allowed characters are specified by RFC 7230. Wildcards are not supported.

      You can't use an HTTP header condition to specify the host header. Use HostHeaderConditionConfig to specify a host header condition.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • values

      The strings to compare against the value of the HTTP header. The maximum size of each string is 128 characters. The comparison strings are case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).

      If the same header appears multiple times in the request, we search them in order until a match is found.

      If you specify multiple strings, the condition is satisfied if one of the strings matches the value of the HTTP header. To require that all of the strings are a match, create one condition per string.

      Parameters:
      values - The strings to compare against the value of the HTTP header. The maximum size of each string is 128 characters. The comparison strings are case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).

      If the same header appears multiple times in the request, we search them in order until a match is found.

      If you specify multiple strings, the condition is satisfied if one of the strings matches the value of the HTTP header. To require that all of the strings are a match, create one condition per string.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • values

      The strings to compare against the value of the HTTP header. The maximum size of each string is 128 characters. The comparison strings are case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).

      If the same header appears multiple times in the request, we search them in order until a match is found.

      If you specify multiple strings, the condition is satisfied if one of the strings matches the value of the HTTP header. To require that all of the strings are a match, create one condition per string.

      Parameters:
      values - The strings to compare against the value of the HTTP header. The maximum size of each string is 128 characters. The comparison strings are case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).

      If the same header appears multiple times in the request, we search them in order until a match is found.

      If you specify multiple strings, the condition is satisfied if one of the strings matches the value of the HTTP header. To require that all of the strings are a match, create one condition per string.

      Returns:
      Returns a reference to this object so that method calls can be chained together.