Interface CapacityReservationTopology.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<CapacityReservationTopology.Builder,,- CapacityReservationTopology> - SdkBuilder<CapacityReservationTopology.Builder,,- CapacityReservationTopology> - SdkPojo
- Enclosing class:
- CapacityReservationTopology
- 
Method SummaryModifier and TypeMethodDescriptionavailabilityZone(String availabilityZone) The name of the Availability Zone or Local Zone that the Capacity Reservation is in.availabilityZoneId(String availabilityZoneId) The ID of the Availability Zone or Local Zone that the Capacity Reservation is in.capacityBlockId(String capacityBlockId) The ID of the Capacity Block.capacityReservationId(String capacityReservationId) The ID of the Capacity Reservation.The name of the placement group that the Capacity Reservation is in.instanceType(String instanceType) The instance type.networkNodes(String... networkNodes) The network nodes.networkNodes(Collection<String> networkNodes) The network nodes.The current state of the Capacity 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- 
capacityReservationIdThe ID of the Capacity Reservation. - Parameters:
- capacityReservationId- The ID of the Capacity Reservation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
capacityBlockIdThe ID of the Capacity Block. This parameter is only supported for UltraServer instances and identifies instances within the UltraServer domain. - Parameters:
- capacityBlockId- The ID of the Capacity Block. This parameter is only supported for UltraServer instances and identifies instances within the UltraServer domain.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
stateThe current state of the Capacity Reservation. For the list of possible states, see DescribeCapacityReservations. - Parameters:
- state- The current state of the Capacity Reservation. For the list of possible states, see DescribeCapacityReservations.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
instanceTypeThe instance type. - Parameters:
- instanceType- The instance type.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
groupNameThe name of the placement group that the Capacity Reservation is in. - Parameters:
- groupName- The name of the placement group that the Capacity Reservation is in.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
networkNodesThe network nodes. The nodes are hashed based on your account. Capacity Reservations from different accounts running under the same server will return a different hashed list of strings. The value is nullor empty if:- 
 The instance type is not supported. 
- 
 The Capacity Reservation is in a state other than activeorpending.
 - Parameters:
- networkNodes- The network nodes. The nodes are hashed based on your account. Capacity Reservations from different accounts running under the same server will return a different hashed list of strings.- The value is - nullor empty if:- 
        The instance type is not supported. 
- 
        The Capacity Reservation is in a state other than activeorpending.
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
 
- 
networkNodesThe network nodes. The nodes are hashed based on your account. Capacity Reservations from different accounts running under the same server will return a different hashed list of strings. The value is nullor empty if:- 
 The instance type is not supported. 
- 
 The Capacity Reservation is in a state other than activeorpending.
 - Parameters:
- networkNodes- The network nodes. The nodes are hashed based on your account. Capacity Reservations from different accounts running under the same server will return a different hashed list of strings.- The value is - nullor empty if:- 
        The instance type is not supported. 
- 
        The Capacity Reservation is in a state other than activeorpending.
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
 
- 
availabilityZoneIdThe ID of the Availability Zone or Local Zone that the Capacity Reservation is in. - Parameters:
- availabilityZoneId- The ID of the Availability Zone or Local Zone that the Capacity Reservation is in.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
availabilityZoneThe name of the Availability Zone or Local Zone that the Capacity Reservation is in. - Parameters:
- availabilityZone- The name of the Availability Zone or Local Zone that the Capacity Reservation is in.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-