public static interface InstanceRefresh.Builder extends SdkPojo, CopyableBuilder<InstanceRefresh.Builder,InstanceRefresh>
| Modifier and Type | Method and Description |
|---|---|
InstanceRefresh.Builder |
autoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
|
InstanceRefresh.Builder |
endTime(Instant endTime)
The date and time at which the instance refresh ended.
|
InstanceRefresh.Builder |
instanceRefreshId(String instanceRefreshId)
The instance refresh ID.
|
InstanceRefresh.Builder |
instancesToUpdate(Integer instancesToUpdate)
The number of instances remaining to update before the instance refresh is complete.
|
InstanceRefresh.Builder |
percentageComplete(Integer percentageComplete)
The percentage of the instance refresh that is complete.
|
default InstanceRefresh.Builder |
progressDetails(Consumer<InstanceRefreshProgressDetails.Builder> progressDetails)
Additional progress details for an Auto Scaling group that has a warm pool.
|
InstanceRefresh.Builder |
progressDetails(InstanceRefreshProgressDetails progressDetails)
Additional progress details for an Auto Scaling group that has a warm pool.
|
InstanceRefresh.Builder |
startTime(Instant startTime)
The date and time at which the instance refresh began.
|
InstanceRefresh.Builder |
status(InstanceRefreshStatus status)
The current status for the instance refresh operation:
|
InstanceRefresh.Builder |
status(String status)
The current status for the instance refresh operation:
|
InstanceRefresh.Builder |
statusReason(String statusReason)
Provides more details about the current status of the instance refresh.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildInstanceRefresh.Builder instanceRefreshId(String instanceRefreshId)
The instance refresh ID.
instanceRefreshId - The instance refresh ID.InstanceRefresh.Builder autoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
autoScalingGroupName - The name of the Auto Scaling group.InstanceRefresh.Builder status(String status)
The current status for the instance refresh operation:
Pending - The request was created, but the operation has not started.
InProgress - The operation is in progress.
Successful - The operation completed successfully.
Failed - The operation failed to complete. You can troubleshoot using the status reason and the
scaling activities.
Cancelling - An ongoing operation is being cancelled. Cancellation does not roll back any
replacements that have already been completed, but it prevents new replacements from being started.
Cancelled - The operation is cancelled.
status - The current status for the instance refresh operation:
Pending - The request was created, but the operation has not started.
InProgress - The operation is in progress.
Successful - The operation completed successfully.
Failed - The operation failed to complete. You can troubleshoot using the status reason
and the scaling activities.
Cancelling - An ongoing operation is being cancelled. Cancellation does not roll back any
replacements that have already been completed, but it prevents new replacements from being started.
Cancelled - The operation is cancelled.
InstanceRefreshStatus,
InstanceRefreshStatusInstanceRefresh.Builder status(InstanceRefreshStatus status)
The current status for the instance refresh operation:
Pending - The request was created, but the operation has not started.
InProgress - The operation is in progress.
Successful - The operation completed successfully.
Failed - The operation failed to complete. You can troubleshoot using the status reason and the
scaling activities.
Cancelling - An ongoing operation is being cancelled. Cancellation does not roll back any
replacements that have already been completed, but it prevents new replacements from being started.
Cancelled - The operation is cancelled.
status - The current status for the instance refresh operation:
Pending - The request was created, but the operation has not started.
InProgress - The operation is in progress.
Successful - The operation completed successfully.
Failed - The operation failed to complete. You can troubleshoot using the status reason
and the scaling activities.
Cancelling - An ongoing operation is being cancelled. Cancellation does not roll back any
replacements that have already been completed, but it prevents new replacements from being started.
Cancelled - The operation is cancelled.
InstanceRefreshStatus,
InstanceRefreshStatusInstanceRefresh.Builder statusReason(String statusReason)
Provides more details about the current status of the instance refresh.
statusReason - Provides more details about the current status of the instance refresh.InstanceRefresh.Builder startTime(Instant startTime)
The date and time at which the instance refresh began.
startTime - The date and time at which the instance refresh began.InstanceRefresh.Builder endTime(Instant endTime)
The date and time at which the instance refresh ended.
endTime - The date and time at which the instance refresh ended.InstanceRefresh.Builder percentageComplete(Integer percentageComplete)
The percentage of the instance refresh that is complete. For each instance replacement, Amazon EC2 Auto Scaling tracks the instance's health status and warm-up time. When the instance's health status changes to healthy and the specified warm-up time passes, the instance is considered updated and is added to the percentage complete.
percentageComplete - The percentage of the instance refresh that is complete. For each instance replacement, Amazon EC2
Auto Scaling tracks the instance's health status and warm-up time. When the instance's health status
changes to healthy and the specified warm-up time passes, the instance is considered updated and is
added to the percentage complete.InstanceRefresh.Builder instancesToUpdate(Integer instancesToUpdate)
The number of instances remaining to update before the instance refresh is complete.
instancesToUpdate - The number of instances remaining to update before the instance refresh is complete.InstanceRefresh.Builder progressDetails(InstanceRefreshProgressDetails progressDetails)
Additional progress details for an Auto Scaling group that has a warm pool.
progressDetails - Additional progress details for an Auto Scaling group that has a warm pool.default InstanceRefresh.Builder progressDetails(Consumer<InstanceRefreshProgressDetails.Builder> progressDetails)
Additional progress details for an Auto Scaling group that has a warm pool.
This is a convenience that creates an instance of theInstanceRefreshProgressDetails.Builder avoiding
the need to create one manually via InstanceRefreshProgressDetails.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to progressDetails(InstanceRefreshProgressDetails).progressDetails - a consumer that will call methods on InstanceRefreshProgressDetails.BuilderprogressDetails(InstanceRefreshProgressDetails)Copyright © 2021. All rights reserved.