@Deprecated
public static final class RollingUpdateConfiguration.Builder
extends java.lang.Object
RollingUpdateConfiguration
Constructor and Description |
---|
Builder()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
RollingUpdateConfiguration |
build()
Deprecated.
|
RollingUpdateConfiguration.Builder |
maxBatchSize(java.lang.Number maxBatchSize)
Deprecated.
|
RollingUpdateConfiguration.Builder |
minInstancesInService(java.lang.Number minInstancesInService)
Deprecated.
|
RollingUpdateConfiguration.Builder |
minSuccessfulInstancesPercent(java.lang.Number minSuccessfulInstancesPercent)
Deprecated.
|
RollingUpdateConfiguration.Builder |
pauseTime(Duration pauseTime)
Deprecated.
|
RollingUpdateConfiguration.Builder |
suspendProcesses(java.util.List<? extends ScalingProcess> suspendProcesses)
Deprecated.
|
RollingUpdateConfiguration.Builder |
waitOnResourceSignals(java.lang.Boolean waitOnResourceSignals)
Deprecated.
|
@Deprecated public RollingUpdateConfiguration.Builder maxBatchSize(java.lang.Number maxBatchSize)
RollingUpdateConfiguration.getMaxBatchSize()
maxBatchSize
- The maximum number of instances that AWS CloudFormation updates at once.this
@Deprecated public RollingUpdateConfiguration.Builder minInstancesInService(java.lang.Number minInstancesInService)
RollingUpdateConfiguration.getMinInstancesInService()
minInstancesInService
- The minimum number of instances that must be in service before more instances are replaced.
This number affects the speed of the replacement.this
@Deprecated public RollingUpdateConfiguration.Builder minSuccessfulInstancesPercent(java.lang.Number minSuccessfulInstancesPercent)
RollingUpdateConfiguration.getMinSuccessfulInstancesPercent()
minSuccessfulInstancesPercent
- The percentage of instances that must signal success for an update to succeed.
If an instance doesn't send a signal within the time specified in the
pauseTime property, AWS CloudFormation assumes that the instance wasn't
updated.
This number affects the success of the replacement.
If you specify this property, you must also enable the waitOnResourceSignals and pauseTime properties.
this
@Deprecated public RollingUpdateConfiguration.Builder pauseTime(Duration pauseTime)
RollingUpdateConfiguration.getPauseTime()
pauseTime
- The pause time after making a change to a batch of instances.
This is intended to give those instances time to start software applications.
Specify PauseTime in the ISO8601 duration format (in the format PT#H#M#S, where each # is the number of hours, minutes, and seconds, respectively). The maximum PauseTime is one hour (PT1H).
this
@Deprecated public RollingUpdateConfiguration.Builder suspendProcesses(java.util.List<? extends ScalingProcess> suspendProcesses)
RollingUpdateConfiguration.getSuspendProcesses()
suspendProcesses
- Specifies the Auto Scaling processes to suspend during a stack update.
Suspending processes prevents Auto Scaling from interfering with a stack
update.this
@Deprecated public RollingUpdateConfiguration.Builder waitOnResourceSignals(java.lang.Boolean waitOnResourceSignals)
RollingUpdateConfiguration.getWaitOnResourceSignals()
waitOnResourceSignals
- Specifies whether the Auto Scaling group waits on signals from new instances during an update.
AWS CloudFormation must receive a signal from each new instance within
the specified PauseTime before continuing the update.
To have instances wait for an Elastic Load Balancing health check before they signal success, add a health-check verification by using the cfn-init helper script. For an example, see the verify_instance_health command in the Auto Scaling rolling updates sample template.
this
@Deprecated public RollingUpdateConfiguration build()
RollingUpdateConfiguration
java.lang.NullPointerException
- if any required attribute was not provided