public static interface RunInstancesResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<RunInstancesResponse.Builder,RunInstancesResponse>
Modifier and Type | Method and Description |
---|---|
RunInstancesResponse.Builder |
groups(Collection<GroupIdentifier> groups)
[EC2-Classic only] The security groups.
|
RunInstancesResponse.Builder |
groups(Consumer<GroupIdentifier.Builder>... groups)
[EC2-Classic only] The security groups.
|
RunInstancesResponse.Builder |
groups(GroupIdentifier... groups)
[EC2-Classic only] The security groups.
|
RunInstancesResponse.Builder |
instances(Collection<Instance> instances)
The instances.
|
RunInstancesResponse.Builder |
instances(Consumer<Instance.Builder>... instances)
The instances.
|
RunInstancesResponse.Builder |
instances(Instance... instances)
The instances.
|
RunInstancesResponse.Builder |
ownerId(String ownerId)
The ID of the Amazon Web Services account that owns the reservation.
|
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).
|
RunInstancesResponse.Builder |
reservationId(String reservationId)
The ID of the reservation.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
RunInstancesResponse.Builder groups(Collection<GroupIdentifier> groups)
[EC2-Classic only] The security groups.
groups
- [EC2-Classic only] The security groups.RunInstancesResponse.Builder groups(GroupIdentifier... groups)
[EC2-Classic only] The security groups.
groups
- [EC2-Classic only] The security groups.RunInstancesResponse.Builder groups(Consumer<GroupIdentifier.Builder>... groups)
[EC2-Classic only] The security groups.
This is a convenience method that creates an instance of theList.Builder
avoiding
the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #groups(List)
.groups
- a consumer that will call methods on List.Builder
#groups(List)
RunInstancesResponse.Builder instances(Collection<Instance> instances)
The instances.
instances
- The instances.RunInstancesResponse.Builder instances(Instance... instances)
The instances.
instances
- The instances.RunInstancesResponse.Builder instances(Consumer<Instance.Builder>... instances)
The instances.
This is a convenience method that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #instances(List)
.instances
- a consumer that will call methods on List.Builder
#instances(List)
RunInstancesResponse.Builder ownerId(String ownerId)
The ID of the Amazon Web Services account that owns the reservation.
ownerId
- The ID of the Amazon Web Services account that owns the reservation.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).
requesterId
- The ID of the requester that launched the instances on your behalf (for example, Amazon Web Services
Management Console or Auto Scaling).RunInstancesResponse.Builder reservationId(String reservationId)
The ID of the reservation.
reservationId
- The ID of the reservation.Copyright © 2022. All rights reserved.