Interface DetachInstancesResponse.Builder
-
- All Superinterfaces:
AutoScalingResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<DetachInstancesResponse.Builder,DetachInstancesResponse>
,SdkBuilder<DetachInstancesResponse.Builder,DetachInstancesResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DetachInstancesResponse
public static interface DetachInstancesResponse.Builder extends AutoScalingResponse.Builder, SdkPojo, CopyableBuilder<DetachInstancesResponse.Builder,DetachInstancesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DetachInstancesResponse.Builder
activities(Collection<Activity> activities)
The activities related to detaching the instances from the Auto Scaling group.DetachInstancesResponse.Builder
activities(Consumer<Activity.Builder>... activities)
The activities related to detaching the instances from the Auto Scaling group.DetachInstancesResponse.Builder
activities(Activity... activities)
The activities related to detaching the instances from the Auto Scaling group.-
Methods inherited from interface software.amazon.awssdk.services.autoscaling.model.AutoScalingResponse.Builder
build, responseMetadata, responseMetadata
-
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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
activities
DetachInstancesResponse.Builder activities(Collection<Activity> activities)
The activities related to detaching the instances from the Auto Scaling group.
- Parameters:
activities
- The activities related to detaching the instances from the Auto Scaling group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activities
DetachInstancesResponse.Builder activities(Activity... activities)
The activities related to detaching the instances from the Auto Scaling group.
- Parameters:
activities
- The activities related to detaching the instances from the Auto Scaling group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activities
DetachInstancesResponse.Builder activities(Consumer<Activity.Builder>... activities)
The activities related to detaching the instances from the Auto Scaling group.
This is a convenience method that creates an instance of theActivity.Builder
avoiding the need to create one manually viaActivity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#activities(List
.) - Parameters:
activities
- a consumer that will call methods onActivity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#activities(java.util.Collection
)
-
-