Interface TerminateInstanceInAutoScalingGroupResponse.Builder
-
- All Superinterfaces:
AutoScalingResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<TerminateInstanceInAutoScalingGroupResponse.Builder,TerminateInstanceInAutoScalingGroupResponse>
,SdkBuilder<TerminateInstanceInAutoScalingGroupResponse.Builder,TerminateInstanceInAutoScalingGroupResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- TerminateInstanceInAutoScalingGroupResponse
public static interface TerminateInstanceInAutoScalingGroupResponse.Builder extends AutoScalingResponse.Builder, SdkPojo, CopyableBuilder<TerminateInstanceInAutoScalingGroupResponse.Builder,TerminateInstanceInAutoScalingGroupResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default TerminateInstanceInAutoScalingGroupResponse.Builder
activity(Consumer<Activity.Builder> activity)
A scaling activity.TerminateInstanceInAutoScalingGroupResponse.Builder
activity(Activity activity)
A scaling activity.-
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
-
activity
TerminateInstanceInAutoScalingGroupResponse.Builder activity(Activity activity)
A scaling activity.
- Parameters:
activity
- A scaling activity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activity
default TerminateInstanceInAutoScalingGroupResponse.Builder activity(Consumer<Activity.Builder> activity)
A scaling activity.
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 toactivity(Activity)
.- Parameters:
activity
- 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:
activity(Activity)
-
-