public static final class CfnGatewayRoute.GrpcGatewayRouteMetadataProperty.Builder
extends java.lang.Object
CfnGatewayRoute.GrpcGatewayRouteMetadataProperty
Constructor and Description |
---|
Builder() |
public CfnGatewayRoute.GrpcGatewayRouteMetadataProperty.Builder name(java.lang.String name)
CfnGatewayRoute.GrpcGatewayRouteMetadataProperty.getName()
name
- A name for the gateway route metadata. This parameter is required.this
public CfnGatewayRoute.GrpcGatewayRouteMetadataProperty.Builder invert(java.lang.Boolean invert)
CfnGatewayRoute.GrpcGatewayRouteMetadataProperty.getInvert()
invert
- Specify `True` to match anything except the match criteria.
The default value is False
.this
public CfnGatewayRoute.GrpcGatewayRouteMetadataProperty.Builder invert(IResolvable invert)
CfnGatewayRoute.GrpcGatewayRouteMetadataProperty.getInvert()
invert
- Specify `True` to match anything except the match criteria.
The default value is False
.this
public CfnGatewayRoute.GrpcGatewayRouteMetadataProperty.Builder match(IResolvable match)
CfnGatewayRoute.GrpcGatewayRouteMetadataProperty.getMatch()
match
- The criteria for determining a metadata match.this
public CfnGatewayRoute.GrpcGatewayRouteMetadataProperty.Builder match(CfnGatewayRoute.GatewayRouteMetadataMatchProperty match)
CfnGatewayRoute.GrpcGatewayRouteMetadataProperty.getMatch()
match
- The criteria for determining a metadata match.this
public CfnGatewayRoute.GrpcGatewayRouteMetadataProperty build()
CfnGatewayRoute.GrpcGatewayRouteMetadataProperty
java.lang.NullPointerException
- if any required attribute was not provided