public static interface TerminateInstancesResponse.Builder extends Ec2Response.Builder, CopyableBuilder<TerminateInstancesResponse.Builder,TerminateInstancesResponse>
Modifier and Type | Method and Description |
---|---|
TerminateInstancesResponse.Builder |
terminatingInstances(Collection<InstanceStateChange> terminatingInstances)
Information about one or more terminated instances.
|
TerminateInstancesResponse.Builder |
terminatingInstances(Consumer<InstanceStateChange.Builder>... terminatingInstances)
Information about one or more terminated instances.
|
TerminateInstancesResponse.Builder |
terminatingInstances(InstanceStateChange... terminatingInstances)
Information about one or more terminated instances.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
TerminateInstancesResponse.Builder terminatingInstances(Collection<InstanceStateChange> terminatingInstances)
Information about one or more terminated instances.
terminatingInstances
- Information about one or more terminated instances.TerminateInstancesResponse.Builder terminatingInstances(InstanceStateChange... terminatingInstances)
Information about one or more terminated instances.
terminatingInstances
- Information about one or more terminated instances.TerminateInstancesResponse.Builder terminatingInstances(Consumer<InstanceStateChange.Builder>... terminatingInstances)
Information about one or more terminated instances.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #terminatingInstances(List)
.terminatingInstances
- a consumer that will call methods on List.Builder
#terminatingInstances(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.