Interface CapacityReservationTopology.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CapacityReservationTopology.Builder,,CapacityReservationTopology> SdkBuilder<CapacityReservationTopology.Builder,,CapacityReservationTopology> SdkPojo
- Enclosing class:
CapacityReservationTopology
-
Method Summary
Modifier 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.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
capacityReservationId
The 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.
-
capacityBlockId
The 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.
-
state
The 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.
-
instanceType
The instance type.
- Parameters:
instanceType- The instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupName
The 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.
-
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.
- 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.
-
-
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.
- 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.
-
-
availabilityZoneId
The 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.
-
availabilityZone
The 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.
-