Interface Reservation.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<Reservation.Builder,Reservation>
,SdkBuilder<Reservation.Builder,Reservation>
,SdkPojo
- Enclosing class:
- Reservation
public static interface Reservation.Builder extends SdkPojo, CopyableBuilder<Reservation.Builder,Reservation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Reservation.Builder
groups(Collection<GroupIdentifier> groups)
Not supported.Reservation.Builder
groups(Consumer<GroupIdentifier.Builder>... groups)
Not supported.Reservation.Builder
groups(GroupIdentifier... groups)
Not supported.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 Amazon Web Services account that owns the reservation.Reservation.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).Reservation.Builder
reservationId(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.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
groups
Reservation.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
Reservation.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
Reservation.Builder groups(Consumer<GroupIdentifier.Builder>... groups)
Not supported.
This is a convenience method that creates an instance of theGroupIdentifier.Builder
avoiding the need to create one manually viaGroupIdentifier.builder()
.When the
Consumer
completes,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
Reservation.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
Reservation.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
Reservation.Builder instances(Consumer<Instance.Builder>... instances)
The instances.
This is a convenience method that creates an instance of theInstance.Builder
avoiding the need to create one manually viaInstance.builder()
.When the
Consumer
completes,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
)
-
ownerId
Reservation.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
Reservation.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.
-
reservationId
Reservation.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.
-
-