Interface CapacityReservationTopology.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CapacityReservationTopology.Builder,CapacityReservationTopology>,SdkBuilder<CapacityReservationTopology.Builder,CapacityReservationTopology>,SdkPojo
- Enclosing class:
- CapacityReservationTopology
@Mutable @NotThreadSafe public static interface CapacityReservationTopology.Builder extends SdkPojo, CopyableBuilder<CapacityReservationTopology.Builder,CapacityReservationTopology>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CapacityReservationTopology.BuilderavailabilityZone(String availabilityZone)The name of the Availability Zone or Local Zone that the Capacity Reservation is in.CapacityReservationTopology.BuilderavailabilityZoneId(String availabilityZoneId)The ID of the Availability Zone or Local Zone that the Capacity Reservation is in.CapacityReservationTopology.BuildercapacityBlockId(String capacityBlockId)The ID of the Capacity Block.CapacityReservationTopology.BuildercapacityReservationId(String capacityReservationId)The ID of the Capacity Reservation.CapacityReservationTopology.BuildergroupName(String groupName)The name of the placement group that the Capacity Reservation is in.CapacityReservationTopology.BuilderinstanceType(String instanceType)The instance type.CapacityReservationTopology.BuildernetworkNodes(String... networkNodes)The network nodes.CapacityReservationTopology.BuildernetworkNodes(Collection<String> networkNodes)The network nodes.CapacityReservationTopology.Builderstate(String state)The current state of the Capacity 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
-
capacityReservationId
CapacityReservationTopology.Builder capacityReservationId(String 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
CapacityReservationTopology.Builder capacityBlockId(String 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
CapacityReservationTopology.Builder state(String 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
CapacityReservationTopology.Builder instanceType(String 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
CapacityReservationTopology.Builder groupName(String 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
CapacityReservationTopology.Builder networkNodes(Collection<String> 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
CapacityReservationTopology.Builder networkNodes(String... 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
CapacityReservationTopology.Builder availabilityZoneId(String 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
CapacityReservationTopology.Builder availabilityZone(String 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.
-
-