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 SummaryModifier and TypeMethodDescriptiongroups(Collection<GroupIdentifier> groups) Not supported.groups(Consumer<GroupIdentifier.Builder>... groups) Not supported.groups(GroupIdentifier... groups) Not supported.instances(Collection<Instance> instances) The instances.instances(Consumer<Instance.Builder>... instances) The instances.The instances.The ID of the Amazon Web Services account that owns the reservation.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).reservationId(String reservationId) The ID of the reservation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
reservationIdThe 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.
 
- 
ownerIdThe 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.
 
- 
requesterIdThe 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.
 
- 
groupsNot supported. - Parameters:
- groups- Not supported.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
groupsNot supported. - Parameters:
- groups- Not supported.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
groupsNot 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 togroups(List<GroupIdentifier>).- Parameters:
- groups- a consumer that will call methods on- GroupIdentifier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
instancesThe instances. - Parameters:
- instances- The instances.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
instancesThe instances. - Parameters:
- instances- The instances.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
instancesThe 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 toinstances(List<Instance>).- Parameters:
- instances- a consumer that will call methods on- Instance.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-