Interface StartInstancesResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<StartInstancesResponse.Builder,,StartInstancesResponse> Ec2Response.Builder,SdkBuilder<StartInstancesResponse.Builder,,StartInstancesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 StartInstancesResponse
public static interface StartInstancesResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<StartInstancesResponse.Builder,StartInstancesResponse> 
- 
Method Summary
Modifier 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.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse 
- 
Method Details
- 
startingInstances
Information 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.
 
 - 
startingInstances
Information 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.
 
 - 
startingInstances
StartInstancesResponse.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 onInstanceStateChange.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -