public static interface StopInstancesResponse.Builder extends EC2Response.Builder, CopyableBuilder<StopInstancesResponse.Builder,StopInstancesResponse>
| Modifier and Type | Method and Description |
|---|---|
StopInstancesResponse.Builder |
stoppingInstances(Collection<InstanceStateChange> stoppingInstances)
Information about one or more stopped instances.
|
StopInstancesResponse.Builder |
stoppingInstances(Consumer<InstanceStateChange.Builder>... stoppingInstances)
Information about one or more stopped instances.
|
StopInstancesResponse.Builder |
stoppingInstances(InstanceStateChange... stoppingInstances)
Information about one or more stopped instances.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildStopInstancesResponse.Builder stoppingInstances(Collection<InstanceStateChange> stoppingInstances)
Information about one or more stopped instances.
stoppingInstances - Information about one or more stopped instances.StopInstancesResponse.Builder stoppingInstances(InstanceStateChange... stoppingInstances)
Information about one or more stopped instances.
stoppingInstances - Information about one or more stopped instances.StopInstancesResponse.Builder stoppingInstances(Consumer<InstanceStateChange.Builder>... stoppingInstances)
Information about one or more 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 © 2017 Amazon Web Services, Inc. All Rights Reserved.