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