@Stability(value=Stable) public static final class CfnRoute.GrpcRetryPolicyProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnRoute.GrpcRetryPolicyProperty>
CfnRoute.GrpcRetryPolicyProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnRoute.GrpcRetryPolicyProperty.Builder maxRetries(Number maxRetries)
CfnRoute.GrpcRetryPolicyProperty.getMaxRetries()maxRetries - The maximum number of retry attempts. This parameter is required.this@Stability(value=Stable) public CfnRoute.GrpcRetryPolicyProperty.Builder perRetryTimeout(CfnRoute.DurationProperty perRetryTimeout)
CfnRoute.GrpcRetryPolicyProperty.getPerRetryTimeout()perRetryTimeout - The timeout for each retry attempt. This parameter is required.this@Stability(value=Stable) public CfnRoute.GrpcRetryPolicyProperty.Builder perRetryTimeout(IResolvable perRetryTimeout)
CfnRoute.GrpcRetryPolicyProperty.getPerRetryTimeout()perRetryTimeout - The timeout for each retry attempt. This parameter is required.this@Stability(value=Stable) public CfnRoute.GrpcRetryPolicyProperty.Builder grpcRetryEvents(List<String> grpcRetryEvents)
CfnRoute.GrpcRetryPolicyProperty.getGrpcRetryEvents()grpcRetryEvents - Specify at least one of the valid values.this@Stability(value=Stable) public CfnRoute.GrpcRetryPolicyProperty.Builder httpRetryEvents(List<String> httpRetryEvents)
CfnRoute.GrpcRetryPolicyProperty.getHttpRetryEvents()httpRetryEvents - Specify at least one of the following values.
this@Stability(value=Stable) public CfnRoute.GrpcRetryPolicyProperty.Builder tcpRetryEvents(List<String> tcpRetryEvents)
CfnRoute.GrpcRetryPolicyProperty.getTcpRetryEvents()tcpRetryEvents - Specify a valid value.
The event occurs before any processing of a request has started and is encountered when the upstream is temporarily or permanently unavailable.this@Stability(value=Stable) public CfnRoute.GrpcRetryPolicyProperty build()
build in interface software.amazon.jsii.Builder<CfnRoute.GrpcRetryPolicyProperty>CfnRoute.GrpcRetryPolicyPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.