Interface Ec2CapacityReservation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Ec2CapacityReservation.Builder,
,Ec2CapacityReservation> SdkBuilder<Ec2CapacityReservation.Builder,
,Ec2CapacityReservation> SdkPojo
- Enclosing class:
Ec2CapacityReservation
@Mutable
@NotThreadSafe
public static interface Ec2CapacityReservation.Builder
extends SdkPojo, CopyableBuilder<Ec2CapacityReservation.Builder,Ec2CapacityReservation>
-
Method Summary
Modifier and TypeMethodDescriptionavailableInstanceCount
(Integer availableInstanceCount) The number of instances that are currently available in the EC2 capacity reservation.ec2CapacityReservationId
(String ec2CapacityReservationId) The unique identifier for an EC2 capacity reservation that's part of the ML capacity reservation.totalInstanceCount
(Integer totalInstanceCount) The number of instances that you allocated to the EC2 capacity reservation.usedByCurrentEndpoint
(Integer usedByCurrentEndpoint) The number of instances from the EC2 capacity reservation that are being used by the endpoint.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 Details
-
ec2CapacityReservationId
The unique identifier for an EC2 capacity reservation that's part of the ML capacity reservation.
- Parameters:
ec2CapacityReservationId
- The unique identifier for an EC2 capacity reservation that's part of the ML capacity reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalInstanceCount
The number of instances that you allocated to the EC2 capacity reservation.
- Parameters:
totalInstanceCount
- The number of instances that you allocated to the EC2 capacity reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availableInstanceCount
The number of instances that are currently available in the EC2 capacity reservation.
- Parameters:
availableInstanceCount
- The number of instances that are currently available in the EC2 capacity reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usedByCurrentEndpoint
The number of instances from the EC2 capacity reservation that are being used by the endpoint.
- Parameters:
usedByCurrentEndpoint
- The number of instances from the EC2 capacity reservation that are being used by the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-