Interface Reservation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Reservation.Builder,Reservation>,SdkBuilder<Reservation.Builder,Reservation>,SdkPojo
- Enclosing class:
- Reservation
@Mutable @NotThreadSafe 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.Buildergroups(Collection<GroupIdentifier> groups)Not supported.Reservation.Buildergroups(Consumer<GroupIdentifier.Builder>... groups)Not supported.Reservation.Buildergroups(GroupIdentifier... groups)Not supported.Reservation.Builderinstances(Collection<Instance> instances)The instances.Reservation.Builderinstances(Consumer<Instance.Builder>... instances)The instances.Reservation.Builderinstances(Instance... instances)The instances.Reservation.BuilderownerId(String ownerId)The ID of the Amazon Web Services account that owns the reservation.Reservation.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).Reservation.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.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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.
-
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.
-
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.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
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.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)
-
-