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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Ec2CapacityReservation.BuilderavailableInstanceCount(Integer availableInstanceCount)The number of instances that are currently available in the EC2 capacity reservation.Ec2CapacityReservation.Builderec2CapacityReservationId(String ec2CapacityReservationId)The unique identifier for an EC2 capacity reservation that's part of the ML capacity reservation.Ec2CapacityReservation.BuildertotalInstanceCount(Integer totalInstanceCount)The number of instances that you allocated to the EC2 capacity reservation.Ec2CapacityReservation.BuilderusedByCurrentEndpoint(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 Detail
-
ec2CapacityReservationId
Ec2CapacityReservation.Builder ec2CapacityReservationId(String 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
Ec2CapacityReservation.Builder totalInstanceCount(Integer 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
Ec2CapacityReservation.Builder availableInstanceCount(Integer 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
Ec2CapacityReservation.Builder usedByCurrentEndpoint(Integer 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.
-
-