public static interface TerminateInstancesResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<TerminateInstancesResponse.Builder,TerminateInstancesResponse>
Modifier and Type | Method and Description |
---|---|
TerminateInstancesResponse.Builder |
terminatingInstances(Collection<InstanceStateChange> terminatingInstances)
Information about the terminated instances.
|
TerminateInstancesResponse.Builder |
terminatingInstances(Consumer<InstanceStateChange.Builder>... terminatingInstances)
Information about the terminated instances.
|
TerminateInstancesResponse.Builder |
terminatingInstances(InstanceStateChange... terminatingInstances)
Information about the terminated instances.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
TerminateInstancesResponse.Builder terminatingInstances(Collection<InstanceStateChange> terminatingInstances)
Information about the terminated instances.
terminatingInstances
- Information about the terminated instances.TerminateInstancesResponse.Builder terminatingInstances(InstanceStateChange... terminatingInstances)
Information about the terminated instances.
terminatingInstances
- Information about the terminated instances.TerminateInstancesResponse.Builder terminatingInstances(Consumer<InstanceStateChange.Builder>... terminatingInstances)
Information about the 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 © 2019. All rights reserved.