@Stability(value=Stable) public static final class CfnRoute.HttpRetryPolicyProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnRoute.HttpRetryPolicyProperty>
CfnRoute.HttpRetryPolicyProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnRoute.HttpRetryPolicyProperty |
build()
Builds the configured instance.
|
CfnRoute.HttpRetryPolicyProperty.Builder |
httpRetryEvents(List<String> httpRetryEvents)
Sets the value of
CfnRoute.HttpRetryPolicyProperty.getHttpRetryEvents() |
CfnRoute.HttpRetryPolicyProperty.Builder |
maxRetries(Number maxRetries)
Sets the value of
CfnRoute.HttpRetryPolicyProperty.getMaxRetries() |
CfnRoute.HttpRetryPolicyProperty.Builder |
perRetryTimeout(CfnRoute.DurationProperty perRetryTimeout)
Sets the value of
CfnRoute.HttpRetryPolicyProperty.getPerRetryTimeout() |
CfnRoute.HttpRetryPolicyProperty.Builder |
perRetryTimeout(IResolvable perRetryTimeout)
Sets the value of
CfnRoute.HttpRetryPolicyProperty.getPerRetryTimeout() |
CfnRoute.HttpRetryPolicyProperty.Builder |
tcpRetryEvents(List<String> tcpRetryEvents)
Sets the value of
CfnRoute.HttpRetryPolicyProperty.getTcpRetryEvents() |
@Stability(value=Stable) public CfnRoute.HttpRetryPolicyProperty.Builder maxRetries(Number maxRetries)
CfnRoute.HttpRetryPolicyProperty.getMaxRetries()maxRetries - The maximum number of retry attempts. This parameter is required.this@Stability(value=Stable) public CfnRoute.HttpRetryPolicyProperty.Builder perRetryTimeout(CfnRoute.DurationProperty perRetryTimeout)
CfnRoute.HttpRetryPolicyProperty.getPerRetryTimeout()perRetryTimeout - The timeout for each retry attempt. This parameter is required.this@Stability(value=Stable) public CfnRoute.HttpRetryPolicyProperty.Builder perRetryTimeout(IResolvable perRetryTimeout)
CfnRoute.HttpRetryPolicyProperty.getPerRetryTimeout()perRetryTimeout - The timeout for each retry attempt. This parameter is required.this@Stability(value=Stable) public CfnRoute.HttpRetryPolicyProperty.Builder httpRetryEvents(List<String> httpRetryEvents)
CfnRoute.HttpRetryPolicyProperty.getHttpRetryEvents()httpRetryEvents - Specify at least one of the following values.
this@Stability(value=Stable) public CfnRoute.HttpRetryPolicyProperty.Builder tcpRetryEvents(List<String> tcpRetryEvents)
CfnRoute.HttpRetryPolicyProperty.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.HttpRetryPolicyProperty build()
build in interface software.amazon.jsii.Builder<CfnRoute.HttpRetryPolicyProperty>CfnRoute.HttpRetryPolicyPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.