Interface StartInstancesResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<StartInstancesResponse.Builder,,- StartInstancesResponse> - Ec2Response.Builder,- SdkBuilder<StartInstancesResponse.Builder,,- StartInstancesResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- StartInstancesResponse
@Mutable
@NotThreadSafe
public static interface StartInstancesResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<StartInstancesResponse.Builder,StartInstancesResponse> 
- 
Method SummaryModifier and TypeMethodDescriptionstartingInstances(Collection<InstanceStateChange> startingInstances) Information about the started instances.startingInstances(Consumer<InstanceStateChange.Builder>... startingInstances) Information about the started instances.startingInstances(InstanceStateChange... startingInstances) Information about the started instances.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
startingInstancesInformation about the started instances. - Parameters:
- startingInstances- Information about the started instances.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
startingInstancesInformation about the started instances. - Parameters:
- startingInstances- Information about the started instances.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
startingInstancesStartInstancesResponse.Builder startingInstances(Consumer<InstanceStateChange.Builder>... startingInstances) Information about the started instances. This is a convenience method that creates an instance of theInstanceStateChange.Builderavoiding the need to create one manually viaInstanceStateChange.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostartingInstances(List<InstanceStateChange>).- Parameters:
- startingInstances- a consumer that will call methods on- InstanceStateChange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-