public static interface Reservation.Builder extends SdkPojo, CopyableBuilder<Reservation.Builder,Reservation>
| Modifier and Type | Method and Description |
|---|---|
Reservation.Builder |
groups(Collection<GroupIdentifier> groups)
[EC2-Classic only] The security groups.
|
Reservation.Builder |
groups(Consumer<GroupIdentifier.Builder>... groups)
[EC2-Classic only] The security groups.
|
Reservation.Builder |
groups(GroupIdentifier... groups)
[EC2-Classic only] The security groups.
|
Reservation.Builder |
instances(Collection<Instance> instances)
The instances.
|
Reservation.Builder |
instances(Consumer<Instance.Builder>... instances)
The instances.
|
Reservation.Builder |
instances(Instance... instances)
The instances.
|
Reservation.Builder |
ownerId(String ownerId)
The ID of the account that owns the reservation.
|
Reservation.Builder |
requesterId(String requesterId)
The ID of the requester that launched the instances on your behalf (for example, Management Console or Auto
Scaling).
|
Reservation.Builder |
reservationId(String reservationId)
The ID of the reservation.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildReservation.Builder groups(Collection<GroupIdentifier> groups)
[EC2-Classic only] The security groups.
groups - [EC2-Classic only] The security groups.Reservation.Builder groups(GroupIdentifier... groups)
[EC2-Classic only] The security groups.
groups - [EC2-Classic only] The security groups.Reservation.Builder groups(Consumer<GroupIdentifier.Builder>... groups)
[EC2-Classic only] The security groups.
This is a convenience 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) Reservation.Builder instances(Collection<Instance> instances)
The instances.
instances - The instances.Reservation.Builder instances(Instance... instances)
The instances.
instances - The instances.Reservation.Builder instances(Consumer<Instance.Builder>... instances)
The instances.
This is a convenience 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) Reservation.Builder ownerId(String ownerId)
The ID of the account that owns the reservation.
ownerId - The ID of the account that owns the reservation.Reservation.Builder requesterId(String requesterId)
The ID of the requester that launched the instances on your behalf (for example, Management Console or Auto Scaling).
requesterId - The ID of the requester that launched the instances on your behalf (for example, Management Console or
Auto Scaling).Reservation.Builder reservationId(String reservationId)
The ID of the reservation.
reservationId - The ID of the reservation.Copyright © 2021. All rights reserved.