Interface RunInstancesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<RunInstancesResponse.Builder,RunInstancesResponse>,Ec2Response.Builder,SdkBuilder<RunInstancesResponse.Builder,RunInstancesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- RunInstancesResponse
@Mutable @NotThreadSafe public static interface RunInstancesResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<RunInstancesResponse.Builder,RunInstancesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RunInstancesResponse.Buildergroups(Collection<GroupIdentifier> groups)Not supported.RunInstancesResponse.Buildergroups(Consumer<GroupIdentifier.Builder>... groups)Not supported.RunInstancesResponse.Buildergroups(GroupIdentifier... groups)Not supported.RunInstancesResponse.Builderinstances(Collection<Instance> instances)The instances.RunInstancesResponse.Builderinstances(Consumer<Instance.Builder>... instances)The instances.RunInstancesResponse.Builderinstances(Instance... instances)The instances.RunInstancesResponse.BuilderownerId(String ownerId)The ID of the Amazon Web Services account that owns the reservation.RunInstancesResponse.BuilderrequesterId(String requesterId)The ID of the requester that launched the instances on your behalf (for example, Amazon Web Services Management Console or Auto Scaling).RunInstancesResponse.BuilderreservationId(String reservationId)The ID of the reservation.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
reservationId
RunInstancesResponse.Builder reservationId(String reservationId)
The ID of the reservation.
- Parameters:
reservationId- The ID of the reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerId
RunInstancesResponse.Builder ownerId(String ownerId)
The ID of the Amazon Web Services account that owns the reservation.
- Parameters:
ownerId- The ID of the Amazon Web Services account that owns the reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requesterId
RunInstancesResponse.Builder requesterId(String requesterId)
The ID of the requester that launched the instances on your behalf (for example, Amazon Web Services Management Console or Auto Scaling).
- Parameters:
requesterId- The ID of the requester that launched the instances on your behalf (for example, Amazon Web Services Management Console or Auto Scaling).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
RunInstancesResponse.Builder groups(Collection<GroupIdentifier> groups)
Not supported.
- Parameters:
groups- Not supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
RunInstancesResponse.Builder groups(GroupIdentifier... groups)
Not supported.
- Parameters:
groups- Not supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
RunInstancesResponse.Builder groups(Consumer<GroupIdentifier.Builder>... groups)
Not supported.
This is a convenience method that creates an instance of theGroupIdentifier.Builderavoiding the need to create one manually viaGroupIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#groups(List.) - Parameters:
groups- a consumer that will call methods onGroupIdentifier.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#groups(java.util.Collection)
-
instances
RunInstancesResponse.Builder instances(Collection<Instance> instances)
The instances.
- Parameters:
instances- The instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instances
RunInstancesResponse.Builder instances(Instance... instances)
The instances.
- Parameters:
instances- The instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instances
RunInstancesResponse.Builder instances(Consumer<Instance.Builder>... instances)
The instances.
This is a convenience method that creates an instance of theInstance.Builderavoiding the need to create one manually viaInstance.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#instances(List.) - Parameters:
instances- a consumer that will call methods onInstance.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#instances(java.util.Collection)
-
-