Class HeaderMatch
- java.lang.Object
-
- software.amazon.awssdk.services.vpclattice.model.HeaderMatch
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<HeaderMatch.Builder,HeaderMatch>
@Generated("software.amazon.awssdk:codegen") public final class HeaderMatch extends Object implements SdkPojo, Serializable, ToCopyableBuilder<HeaderMatch.Builder,HeaderMatch>
Describes the constraints for a header match. Matches incoming requests with rule based on request header value before applying rule action.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceHeaderMatch.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HeaderMatch.Builderbuilder()BooleancaseSensitive()Indicates whether the match is case sensitive.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()HeaderMatchTypematch()The header match type.Stringname()The name of the header.List<SdkField<?>>sdkFields()static Class<? extends HeaderMatch.Builder>serializableBuilderClass()HeaderMatch.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
caseSensitive
public final Boolean caseSensitive()
Indicates whether the match is case sensitive. Defaults to false.
- Returns:
- Indicates whether the match is case sensitive. Defaults to false.
-
match
public final HeaderMatchType match()
The header match type.
- Returns:
- The header match type.
-
name
public final String name()
The name of the header.
- Returns:
- The name of the header.
-
toBuilder
public HeaderMatch.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<HeaderMatch.Builder,HeaderMatch>
-
builder
public static HeaderMatch.Builder builder()
-
serializableBuilderClass
public static Class<? extends HeaderMatch.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-