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.
|
default InstanceRefresh.Builder |
desiredConfiguration(Consumer<DesiredConfiguration.Builder> desiredConfiguration)
Describes the desired configuration for the instance refresh.
|
InstanceRefresh.Builder |
desiredConfiguration(DesiredConfiguration desiredConfiguration)
Describes the desired configuration for the instance refresh.
|
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 |
preferences(Consumer<RefreshPreferences.Builder> preferences)
Sets the value of the Preferences property for this object.
|
InstanceRefresh.Builder |
preferences(RefreshPreferences preferences)
Sets the value of the Preferences property for this object.
|
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.
|
default InstanceRefresh.Builder |
rollbackDetails(Consumer<RollbackDetails.Builder> rollbackDetails)
The rollback details.
|
InstanceRefresh.Builder |
rollbackDetails(RollbackDetails rollbackDetails)
The rollback details.
|
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)
The explanation for the specific status assigned to this operation.
|
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 instance refresh has not started.
InProgress - An instance refresh is in progress.
Successful - An instance refresh completed successfully.
Failed - An instance refresh failed to complete. You can troubleshoot using the status reason
and the scaling activities.
Cancelling - An ongoing instance refresh is being cancelled.
Cancelled - The instance refresh is cancelled.
RollbackInProgress - An instance refresh is being rolled back.
RollbackFailed - The rollback failed to complete. You can troubleshoot using the status reason
and the scaling activities.
RollbackSuccessful - The rollback completed successfully.
status - The current status for the instance refresh operation:
Pending - The request was created, but the instance refresh has not started.
InProgress - An instance refresh is in progress.
Successful - An instance refresh completed successfully.
Failed - An instance refresh failed to complete. You can troubleshoot using the status
reason and the scaling activities.
Cancelling - An ongoing instance refresh is being cancelled.
Cancelled - The instance refresh is cancelled.
RollbackInProgress - An instance refresh is being rolled back.
RollbackFailed - The rollback failed to complete. You can troubleshoot using the status
reason and the scaling activities.
RollbackSuccessful - The rollback completed successfully.
InstanceRefreshStatus,
InstanceRefreshStatusInstanceRefresh.Builder status(InstanceRefreshStatus status)
The current status for the instance refresh operation:
Pending - The request was created, but the instance refresh has not started.
InProgress - An instance refresh is in progress.
Successful - An instance refresh completed successfully.
Failed - An instance refresh failed to complete. You can troubleshoot using the status reason
and the scaling activities.
Cancelling - An ongoing instance refresh is being cancelled.
Cancelled - The instance refresh is cancelled.
RollbackInProgress - An instance refresh is being rolled back.
RollbackFailed - The rollback failed to complete. You can troubleshoot using the status reason
and the scaling activities.
RollbackSuccessful - The rollback completed successfully.
status - The current status for the instance refresh operation:
Pending - The request was created, but the instance refresh has not started.
InProgress - An instance refresh is in progress.
Successful - An instance refresh completed successfully.
Failed - An instance refresh failed to complete. You can troubleshoot using the status
reason and the scaling activities.
Cancelling - An ongoing instance refresh is being cancelled.
Cancelled - The instance refresh is cancelled.
RollbackInProgress - An instance refresh is being rolled back.
RollbackFailed - The rollback failed to complete. You can troubleshoot using the status
reason and the scaling activities.
RollbackSuccessful - The rollback completed successfully.
InstanceRefreshStatus,
InstanceRefreshStatusInstanceRefresh.Builder statusReason(String statusReason)
The explanation for the specific status assigned to this operation.
statusReason - The explanation for the specific status assigned to this operation.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 does not include instances that are replaced during a rollback. This value
gradually goes back down to zero during a rollback.
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 does not include instances that are replaced during a rollback. This
value gradually goes back down to zero during a rollback.
InstanceRefresh.Builder instancesToUpdate(Integer instancesToUpdate)
The number of instances remaining to update before the instance refresh is complete.
If you roll back the instance refresh, InstancesToUpdate shows you the number of instances that
were not yet updated by the instance refresh. Therefore, these instances don't need to be replaced as part of
the rollback.
instancesToUpdate - The number of instances remaining to update before the instance refresh is complete.
If you roll back the instance refresh, InstancesToUpdate shows you the number of
instances that were not yet updated by the instance refresh. Therefore, these instances don't need to
be replaced as part of the rollback.
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 method 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)InstanceRefresh.Builder preferences(RefreshPreferences preferences)
preferences - The new value for the Preferences property for this object.default InstanceRefresh.Builder preferences(Consumer<RefreshPreferences.Builder> preferences)
RefreshPreferences.Builder avoiding the
need to create one manually via RefreshPreferences.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to preferences(RefreshPreferences).
preferences - a consumer that will call methods on RefreshPreferences.Builderpreferences(RefreshPreferences)InstanceRefresh.Builder desiredConfiguration(DesiredConfiguration desiredConfiguration)
Describes the desired configuration for the instance refresh.
desiredConfiguration - Describes the desired configuration for the instance refresh.default InstanceRefresh.Builder desiredConfiguration(Consumer<DesiredConfiguration.Builder> desiredConfiguration)
Describes the desired configuration for the instance refresh.
This is a convenience method that creates an instance of theDesiredConfiguration.Builder avoiding
the need to create one manually via DesiredConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to desiredConfiguration(DesiredConfiguration).
desiredConfiguration - a consumer that will call methods on DesiredConfiguration.BuilderdesiredConfiguration(DesiredConfiguration)InstanceRefresh.Builder rollbackDetails(RollbackDetails rollbackDetails)
The rollback details.
rollbackDetails - The rollback details.default InstanceRefresh.Builder rollbackDetails(Consumer<RollbackDetails.Builder> rollbackDetails)
The rollback details.
This is a convenience method that creates an instance of theRollbackDetails.Builder avoiding the
need to create one manually via RollbackDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to rollbackDetails(RollbackDetails).
rollbackDetails - a consumer that will call methods on RollbackDetails.BuilderrollbackDetails(RollbackDetails)Copyright © 2023. All rights reserved.