@Stability(value=Stable) public static final class CfnTargetGroup.MatcherProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnTargetGroup.MatcherProperty>
CfnTargetGroup.MatcherProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnTargetGroup.MatcherProperty |
build()
Builds the configured instance.
|
CfnTargetGroup.MatcherProperty.Builder |
grpcCode(String grpcCode)
Sets the value of
CfnTargetGroup.MatcherProperty.getGrpcCode() |
CfnTargetGroup.MatcherProperty.Builder |
httpCode(String httpCode)
Sets the value of
CfnTargetGroup.MatcherProperty.getHttpCode() |
@Stability(value=Stable) public CfnTargetGroup.MatcherProperty.Builder grpcCode(String grpcCode)
CfnTargetGroup.MatcherProperty.getGrpcCode()grpcCode - You can specify values between 0 and 99.
You can specify multiple values (for example, "0,1") or a range of values (for example, "0-5"). The default value is 12.this@Stability(value=Stable) public CfnTargetGroup.MatcherProperty.Builder httpCode(String httpCode)
CfnTargetGroup.MatcherProperty.getHttpCode()httpCode - For Application Load Balancers, you can specify values between 200 and 499, and the default value is 200.
You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299").
For Network Load Balancers and Gateway Load Balancers, this must be "200–399".
Note that when using shorthand syntax, some values such as commas need to be escaped.
this@Stability(value=Stable) public CfnTargetGroup.MatcherProperty build()
build in interface software.amazon.jsii.Builder<CfnTargetGroup.MatcherProperty>CfnTargetGroup.MatcherPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.