public static interface StartInstancesResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<StartInstancesResponse.Builder,StartInstancesResponse>
| Modifier and Type | Method and Description |
|---|---|
StartInstancesResponse.Builder |
startingInstances(Collection<InstanceStateChange> startingInstances)
Information about the started instances.
|
StartInstancesResponse.Builder |
startingInstances(Consumer<InstanceStateChange.Builder>... startingInstances)
Information about the started instances.
|
StartInstancesResponse.Builder |
startingInstances(InstanceStateChange... startingInstances)
Information about the started instances.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildStartInstancesResponse.Builder startingInstances(Collection<InstanceStateChange> startingInstances)
Information about the started instances.
startingInstances - Information about the started instances.StartInstancesResponse.Builder startingInstances(InstanceStateChange... startingInstances)
Information about the started instances.
startingInstances - Information about the started instances.StartInstancesResponse.Builder startingInstances(Consumer<InstanceStateChange.Builder>... startingInstances)
Information about the started 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 #startingInstances(List.
startingInstances - a consumer that will call methods on
InstanceStateChange.Builder#startingInstances(java.util.Collection) Copyright © 2022. All rights reserved.