public static final class CfnEndpoint.BlueGreenUpdatePolicyProperty.Builder
extends java.lang.Object
CfnEndpoint.BlueGreenUpdatePolicyProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnEndpoint.BlueGreenUpdatePolicyProperty |
build()
Builds the configured instance.
|
CfnEndpoint.BlueGreenUpdatePolicyProperty.Builder |
maximumExecutionTimeoutInSeconds(java.lang.Number maximumExecutionTimeoutInSeconds)
|
CfnEndpoint.BlueGreenUpdatePolicyProperty.Builder |
terminationWaitInSeconds(java.lang.Number terminationWaitInSeconds)
Sets the value of
CfnEndpoint.BlueGreenUpdatePolicyProperty.getTerminationWaitInSeconds() |
CfnEndpoint.BlueGreenUpdatePolicyProperty.Builder |
trafficRoutingConfiguration(CfnEndpoint.TrafficRoutingConfigProperty trafficRoutingConfiguration)
|
CfnEndpoint.BlueGreenUpdatePolicyProperty.Builder |
trafficRoutingConfiguration(IResolvable trafficRoutingConfiguration)
|
public CfnEndpoint.BlueGreenUpdatePolicyProperty.Builder trafficRoutingConfiguration(IResolvable trafficRoutingConfiguration)
trafficRoutingConfiguration
- Defines the traffic routing strategy to shift traffic from the old fleet to the new fleet during an endpoint deployment. This parameter is required.this
public CfnEndpoint.BlueGreenUpdatePolicyProperty.Builder trafficRoutingConfiguration(CfnEndpoint.TrafficRoutingConfigProperty trafficRoutingConfiguration)
trafficRoutingConfiguration
- Defines the traffic routing strategy to shift traffic from the old fleet to the new fleet during an endpoint deployment. This parameter is required.this
public CfnEndpoint.BlueGreenUpdatePolicyProperty.Builder maximumExecutionTimeoutInSeconds(java.lang.Number maximumExecutionTimeoutInSeconds)
maximumExecutionTimeoutInSeconds
- Maximum execution timeout for the deployment.
Note that the timeout value should be larger than the total waiting time specified in TerminationWaitInSeconds
and WaitIntervalInSeconds
.this
public CfnEndpoint.BlueGreenUpdatePolicyProperty.Builder terminationWaitInSeconds(java.lang.Number terminationWaitInSeconds)
CfnEndpoint.BlueGreenUpdatePolicyProperty.getTerminationWaitInSeconds()
terminationWaitInSeconds
- Additional waiting time in seconds after the completion of an endpoint deployment before terminating the old endpoint fleet.
Default is 0.this
public CfnEndpoint.BlueGreenUpdatePolicyProperty build()
CfnEndpoint.BlueGreenUpdatePolicyProperty
java.lang.NullPointerException
- if any required attribute was not provided