@Generated(value="software.amazon.awssdk:codegen") public final class HeaderMatchMethod extends Object implements SdkPojo, Serializable, ToCopyableBuilder<HeaderMatchMethod.Builder,HeaderMatchMethod>
An object that represents the method and value to match with the header value sent in a request. Specify one match method.
| Modifier and Type | Class and Description |
|---|---|
static interface |
HeaderMatchMethod.Builder |
| Modifier and Type | Method and Description |
|---|---|
static HeaderMatchMethod.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
exact()
The value sent by the client must match the specified value exactly.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
prefix()
The value sent by the client must begin with the specified characters.
|
MatchRange |
range()
An object that represents the range of values to match on.
|
String |
regex()
The value sent by the client must include the specified characters.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends HeaderMatchMethod.Builder> |
serializableBuilderClass() |
String |
suffix()
The value sent by the client must end with the specified characters.
|
HeaderMatchMethod.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String exact()
The value sent by the client must match the specified value exactly.
public final String prefix()
The value sent by the client must begin with the specified characters.
public final MatchRange range()
An object that represents the range of values to match on.
public final String regex()
The value sent by the client must include the specified characters.
public final String suffix()
The value sent by the client must end with the specified characters.
public HeaderMatchMethod.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<HeaderMatchMethod.Builder,HeaderMatchMethod>public static HeaderMatchMethod.Builder builder()
public static Class<? extends HeaderMatchMethod.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.