Class HttpGatewayRouteHeader
- java.lang.Object
-
- software.amazon.awssdk.services.appmesh.model.HttpGatewayRouteHeader
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<HttpGatewayRouteHeader.Builder,HttpGatewayRouteHeader>
@Generated("software.amazon.awssdk:codegen") public final class HttpGatewayRouteHeader extends Object implements SdkPojo, Serializable, ToCopyableBuilder<HttpGatewayRouteHeader.Builder,HttpGatewayRouteHeader>
An object that represents the HTTP header in the gateway route.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceHttpGatewayRouteHeader.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HttpGatewayRouteHeader.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Booleaninvert()SpecifyTrueto match anything except the match criteria.HeaderMatchMethodmatch()An object that represents the method and value to match with the header value sent in a request.Stringname()A name for the HTTP header in the gateway route that will be matched on.List<SdkField<?>>sdkFields()static Class<? extends HttpGatewayRouteHeader.Builder>serializableBuilderClass()HttpGatewayRouteHeader.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
-
invert
public final Boolean invert()
Specify
Trueto match anything except the match criteria. The default value isFalse.- Returns:
- Specify
Trueto match anything except the match criteria. The default value isFalse.
-
match
public final HeaderMatchMethod match()
An object that represents the method and value to match with the header value sent in a request. Specify one match method.
- Returns:
- An object that represents the method and value to match with the header value sent in a request. Specify one match method.
-
name
public final String name()
A name for the HTTP header in the gateway route that will be matched on.
- Returns:
- A name for the HTTP header in the gateway route that will be matched on.
-
toBuilder
public HttpGatewayRouteHeader.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<HttpGatewayRouteHeader.Builder,HttpGatewayRouteHeader>
-
builder
public static HttpGatewayRouteHeader.Builder builder()
-
serializableBuilderClass
public static Class<? extends HttpGatewayRouteHeader.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.
-
-