Interface CfnGatewayRoute.HttpGatewayRouteHeaderMatchProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGatewayRoute.HttpGatewayRouteHeaderMatchProperty.Jsii$Proxy
- Enclosing class:
CfnGatewayRoute
@Stability(Stable)
public static interface CfnGatewayRoute.HttpGatewayRouteHeaderMatchProperty
extends software.amazon.jsii.JsiiSerializable
An object that represents the method and value to match with the header value sent in a request.
Specify one match method.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.appmesh.*; HttpGatewayRouteHeaderMatchProperty httpGatewayRouteHeaderMatchProperty = HttpGatewayRouteHeaderMatchProperty.builder() .exact("exact") .prefix("prefix") .range(GatewayRouteRangeMatchProperty.builder() .end(123) .start(123) .build()) .regex("regex") .suffix("suffix") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnGatewayRoute.HttpGatewayRouteHeaderMatchProperty
static final class
An implementation forCfnGatewayRoute.HttpGatewayRouteHeaderMatchProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
getExact()
The value sent by the client must match the specified value exactly.default String
The value sent by the client must begin with the specified characters.default Object
getRange()
An object that represents the range of values to match on.default String
getRegex()
The value sent by the client must include the specified characters.default String
The value sent by the client must end with the specified characters.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getExact
The value sent by the client must match the specified value exactly.- See Also:
-
getPrefix
The value sent by the client must begin with the specified characters.- See Also:
-
getRange
An object that represents the range of values to match on.- See Also:
-
getRegex
The value sent by the client must include the specified characters.- See Also:
-
getSuffix
The value sent by the client must end with the specified characters.- See Also:
-
builder
-