public static final class CfnRoute.GrpcRouteMetadataMatchMethodProperty.Builder
extends java.lang.Object
CfnRoute.GrpcRouteMetadataMatchMethodProperty
Constructor and Description |
---|
Builder() |
public CfnRoute.GrpcRouteMetadataMatchMethodProperty.Builder exact(java.lang.String exact)
CfnRoute.GrpcRouteMetadataMatchMethodProperty.getExact()
exact
- The value sent by the client must match the specified value exactly.this
public CfnRoute.GrpcRouteMetadataMatchMethodProperty.Builder prefix(java.lang.String prefix)
CfnRoute.GrpcRouteMetadataMatchMethodProperty.getPrefix()
prefix
- The value sent by the client must begin with the specified characters.this
public CfnRoute.GrpcRouteMetadataMatchMethodProperty.Builder range(IResolvable range)
CfnRoute.GrpcRouteMetadataMatchMethodProperty.getRange()
range
- An object that represents the range of values to match on.this
public CfnRoute.GrpcRouteMetadataMatchMethodProperty.Builder range(CfnRoute.MatchRangeProperty range)
CfnRoute.GrpcRouteMetadataMatchMethodProperty.getRange()
range
- An object that represents the range of values to match on.this
public CfnRoute.GrpcRouteMetadataMatchMethodProperty.Builder regex(java.lang.String regex)
CfnRoute.GrpcRouteMetadataMatchMethodProperty.getRegex()
regex
- The value sent by the client must include the specified characters.this
public CfnRoute.GrpcRouteMetadataMatchMethodProperty.Builder suffix(java.lang.String suffix)
CfnRoute.GrpcRouteMetadataMatchMethodProperty.getSuffix()
suffix
- The value sent by the client must end with the specified characters.this
public CfnRoute.GrpcRouteMetadataMatchMethodProperty build()
CfnRoute.GrpcRouteMetadataMatchMethodProperty
java.lang.NullPointerException
- if any required attribute was not provided