public static interface BlueGreenUpdatePolicy.Builder extends SdkPojo, CopyableBuilder<BlueGreenUpdatePolicy.Builder,BlueGreenUpdatePolicy>
| Modifier and Type | Method and Description |
|---|---|
BlueGreenUpdatePolicy.Builder |
maximumExecutionTimeoutInSeconds(Integer maximumExecutionTimeoutInSeconds)
Maximum execution timeout for the deployment.
|
BlueGreenUpdatePolicy.Builder |
terminationWaitInSeconds(Integer terminationWaitInSeconds)
Additional waiting time in seconds after the completion of an endpoint deployment before terminating the old
endpoint fleet.
|
default BlueGreenUpdatePolicy.Builder |
trafficRoutingConfiguration(Consumer<TrafficRoutingConfig.Builder> trafficRoutingConfiguration)
Defines the traffic routing strategy to shift traffic from the old fleet to the new fleet during an endpoint
deployment.
|
BlueGreenUpdatePolicy.Builder |
trafficRoutingConfiguration(TrafficRoutingConfig trafficRoutingConfiguration)
Defines the traffic routing strategy to shift traffic from the old fleet to the new fleet during an endpoint
deployment.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildBlueGreenUpdatePolicy.Builder trafficRoutingConfiguration(TrafficRoutingConfig trafficRoutingConfiguration)
Defines the traffic routing strategy to shift traffic from the old fleet to the new fleet during an endpoint deployment.
trafficRoutingConfiguration - Defines the traffic routing strategy to shift traffic from the old fleet to the new fleet during an
endpoint deployment.default BlueGreenUpdatePolicy.Builder trafficRoutingConfiguration(Consumer<TrafficRoutingConfig.Builder> trafficRoutingConfiguration)
Defines the traffic routing strategy to shift traffic from the old fleet to the new fleet during an endpoint deployment.
This is a convenience method that creates an instance of theTrafficRoutingConfig.Builder avoiding
the need to create one manually via TrafficRoutingConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to trafficRoutingConfiguration(TrafficRoutingConfig).
trafficRoutingConfiguration - a consumer that will call methods on TrafficRoutingConfig.BuildertrafficRoutingConfiguration(TrafficRoutingConfig)BlueGreenUpdatePolicy.Builder terminationWaitInSeconds(Integer terminationWaitInSeconds)
Additional waiting time in seconds after the completion of an endpoint deployment before terminating the old endpoint fleet. Default is 0.
terminationWaitInSeconds - Additional waiting time in seconds after the completion of an endpoint deployment before terminating
the old endpoint fleet. Default is 0.BlueGreenUpdatePolicy.Builder maximumExecutionTimeoutInSeconds(Integer 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.
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.Copyright © 2022. All rights reserved.