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, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildStopInstancesResponse.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 method that creates an instance of theInstanceStateChange.Builder avoiding the need to create one
manually via InstanceStateChange.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #stoppingInstances(List.
stoppingInstances - a consumer that will call methods on
InstanceStateChange.Builder#stoppingInstances(java.util.Collection) Copyright © 2022. All rights reserved.