Interface InstanceRefreshProgressDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InstanceRefreshProgressDetails.Builder,,InstanceRefreshProgressDetails> SdkBuilder<InstanceRefreshProgressDetails.Builder,,InstanceRefreshProgressDetails> SdkPojo
- Enclosing class:
InstanceRefreshProgressDetails
public static interface InstanceRefreshProgressDetails.Builder
extends SdkPojo, CopyableBuilder<InstanceRefreshProgressDetails.Builder,InstanceRefreshProgressDetails>
-
Method Summary
Modifier and TypeMethodDescriptionlivePoolProgress(Consumer<InstanceRefreshLivePoolProgress.Builder> livePoolProgress) Reports progress on replacing instances that are in the Auto Scaling group.livePoolProgress(InstanceRefreshLivePoolProgress livePoolProgress) Reports progress on replacing instances that are in the Auto Scaling group.warmPoolProgress(Consumer<InstanceRefreshWarmPoolProgress.Builder> warmPoolProgress) Reports progress on replacing instances that are in the warm pool.warmPoolProgress(InstanceRefreshWarmPoolProgress warmPoolProgress) Reports progress on replacing instances that are in the warm pool.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
livePoolProgress
InstanceRefreshProgressDetails.Builder livePoolProgress(InstanceRefreshLivePoolProgress livePoolProgress) Reports progress on replacing instances that are in the Auto Scaling group.
- Parameters:
livePoolProgress- Reports progress on replacing instances that are in the Auto Scaling group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
livePoolProgress
default InstanceRefreshProgressDetails.Builder livePoolProgress(Consumer<InstanceRefreshLivePoolProgress.Builder> livePoolProgress) Reports progress on replacing instances that are in the Auto Scaling group.
This is a convenience method that creates an instance of theInstanceRefreshLivePoolProgress.Builderavoiding the need to create one manually viaInstanceRefreshLivePoolProgress.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolivePoolProgress(InstanceRefreshLivePoolProgress).- Parameters:
livePoolProgress- a consumer that will call methods onInstanceRefreshLivePoolProgress.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
warmPoolProgress
InstanceRefreshProgressDetails.Builder warmPoolProgress(InstanceRefreshWarmPoolProgress warmPoolProgress) Reports progress on replacing instances that are in the warm pool.
- Parameters:
warmPoolProgress- Reports progress on replacing instances that are in the warm pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
warmPoolProgress
default InstanceRefreshProgressDetails.Builder warmPoolProgress(Consumer<InstanceRefreshWarmPoolProgress.Builder> warmPoolProgress) Reports progress on replacing instances that are in the warm pool.
This is a convenience method that creates an instance of theInstanceRefreshWarmPoolProgress.Builderavoiding the need to create one manually viaInstanceRefreshWarmPoolProgress.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towarmPoolProgress(InstanceRefreshWarmPoolProgress).- Parameters:
warmPoolProgress- a consumer that will call methods onInstanceRefreshWarmPoolProgress.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-