@Generated(value="software.amazon.awssdk:codegen") public final class HttpHeaderConditionConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<HttpHeaderConditionConfig.Builder,HttpHeaderConditionConfig>
Information about an HTTP header condition.
There is a set of standard HTTP header fields. You can also define custom HTTP header fields.
| Modifier and Type | Class and Description |
|---|---|
static interface |
HttpHeaderConditionConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static HttpHeaderConditionConfig.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
httpHeaderName()
The name of the HTTP header field.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends HttpHeaderConditionConfig.Builder> |
serializableBuilderClass() |
HttpHeaderConditionConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<String> |
values()
One or more strings to compare against the value of the HTTP header.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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.
You can't use an HTTP header condition to specify the host header. Use HostHeaderConditionConfig to specify a host header condition.
public List<String> values()
One or more 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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
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.
public HttpHeaderConditionConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<HttpHeaderConditionConfig.Builder,HttpHeaderConditionConfig>public static HttpHeaderConditionConfig.Builder builder()
public static Class<? extends HttpHeaderConditionConfig.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.