public static interface StopInstancesResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<StopInstancesResponse.Builder,StopInstancesResponse>
Modifier and Type | Method and Description |
---|---|
StopInstancesResponse.Builder |
stoppingInstances(Collection<InstanceStateChange> stoppingInstances)
Information about the stopped instances.
|
StopInstancesResponse.Builder |
stoppingInstances(Consumer<InstanceStateChange.Builder>... stoppingInstances)
Information about the stopped instances.
|
StopInstancesResponse.Builder |
stoppingInstances(InstanceStateChange... stoppingInstances)
Information about the stopped instances.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
StopInstancesResponse.Builder stoppingInstances(Collection<InstanceStateChange> stoppingInstances)
Information about the stopped instances.
stoppingInstances
- Information about the stopped instances.StopInstancesResponse.Builder stoppingInstances(InstanceStateChange... stoppingInstances)
Information about the stopped instances.
stoppingInstances
- Information about the stopped instances.StopInstancesResponse.Builder stoppingInstances(Consumer<InstanceStateChange.Builder>... stoppingInstances)
Information about the stopped 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 #stoppingInstances(List)
.stoppingInstances
- a consumer that will call methods on List.Builder
#stoppingInstances(List)
Copyright © 2019. All rights reserved.