Interface BlueGreenUpdatePolicy.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<BlueGreenUpdatePolicy.Builder,BlueGreenUpdatePolicy>
,SdkBuilder<BlueGreenUpdatePolicy.Builder,BlueGreenUpdatePolicy>
,SdkPojo
- Enclosing class:
- BlueGreenUpdatePolicy
public static interface BlueGreenUpdatePolicy.Builder extends SdkPojo, CopyableBuilder<BlueGreenUpdatePolicy.Builder,BlueGreenUpdatePolicy>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method 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.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
trafficRoutingConfiguration
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.
- Parameters:
trafficRoutingConfiguration
- Defines the traffic routing strategy to shift traffic from the old fleet to the new fleet during an endpoint deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trafficRoutingConfiguration
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 viaTrafficRoutingConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totrafficRoutingConfiguration(TrafficRoutingConfig)
.- Parameters:
trafficRoutingConfiguration
- a consumer that will call methods onTrafficRoutingConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
trafficRoutingConfiguration(TrafficRoutingConfig)
-
terminationWaitInSeconds
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.
- Parameters:
terminationWaitInSeconds
- Additional waiting time in seconds after the completion of an endpoint deployment before terminating the old endpoint fleet. Default is 0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maximumExecutionTimeoutInSeconds
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
andWaitIntervalInSeconds
.- Parameters:
maximumExecutionTimeoutInSeconds
- Maximum execution timeout for the deployment. Note that the timeout value should be larger than the total waiting time specified inTerminationWaitInSeconds
andWaitIntervalInSeconds
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-