Interface FleetCapacityReservation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FleetCapacityReservation.Builder,
,FleetCapacityReservation> SdkBuilder<FleetCapacityReservation.Builder,
,FleetCapacityReservation> SdkPojo
- Enclosing class:
FleetCapacityReservation
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone
(String availabilityZone) The Availability Zone in which the Capacity Reservation reserves capacity.availabilityZoneId
(String availabilityZoneId) The ID of the Availability Zone in which the Capacity Reservation reserves capacity.capacityReservationId
(String capacityReservationId) The ID of the Capacity Reservation.createDate
(Instant createDate) The date and time at which the Capacity Reservation was created.ebsOptimized
(Boolean ebsOptimized) Indicates whether the Capacity Reservation reserves capacity for EBS-optimized instance types.fulfilledCapacity
(Double fulfilledCapacity) The number of capacity units fulfilled by the Capacity Reservation.instancePlatform
(String instancePlatform) The type of operating system for which the Capacity Reservation reserves capacity.instancePlatform
(CapacityReservationInstancePlatform instancePlatform) The type of operating system for which the Capacity Reservation reserves capacity.instanceType
(String instanceType) The instance type for which the Capacity Reservation reserves capacity.instanceType
(InstanceType instanceType) The instance type for which the Capacity Reservation reserves capacity.The priority of the instance type in the Capacity Reservation Fleet.totalInstanceCount
(Integer totalInstanceCount) The total number of instances for which the Capacity Reservation reserves capacity.The weight of the instance type in the Capacity Reservation Fleet.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
-
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.
-
availabilityZoneId
The ID of the Availability Zone in which the Capacity Reservation reserves capacity.
- Parameters:
availabilityZoneId
- The ID of the Availability Zone in which the Capacity Reservation reserves capacity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceType
The instance type for which the Capacity Reservation reserves capacity.
- Parameters:
instanceType
- The instance type for which the Capacity Reservation reserves capacity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceType
The instance type for which the Capacity Reservation reserves capacity.
- Parameters:
instanceType
- The instance type for which the Capacity Reservation reserves capacity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instancePlatform
The type of operating system for which the Capacity Reservation reserves capacity.
- Parameters:
instancePlatform
- The type of operating system for which the Capacity Reservation reserves capacity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instancePlatform
FleetCapacityReservation.Builder instancePlatform(CapacityReservationInstancePlatform instancePlatform) The type of operating system for which the Capacity Reservation reserves capacity.
- Parameters:
instancePlatform
- The type of operating system for which the Capacity Reservation reserves capacity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
availabilityZone
The Availability Zone in which the Capacity Reservation reserves capacity.
- Parameters:
availabilityZone
- The Availability Zone in which the Capacity Reservation reserves capacity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalInstanceCount
The total number of instances for which the Capacity Reservation reserves capacity.
- Parameters:
totalInstanceCount
- The total number of instances for which the Capacity Reservation reserves capacity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fulfilledCapacity
The number of capacity units fulfilled by the Capacity Reservation. For more information, see Total target capacity in the Amazon EC2 User Guide.
- Parameters:
fulfilledCapacity
- The number of capacity units fulfilled by the Capacity Reservation. For more information, see Total target capacity in the Amazon EC2 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ebsOptimized
Indicates whether the Capacity Reservation reserves capacity for EBS-optimized instance types.
- Parameters:
ebsOptimized
- Indicates whether the Capacity Reservation reserves capacity for EBS-optimized instance types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createDate
The date and time at which the Capacity Reservation was created.
- Parameters:
createDate
- The date and time at which the Capacity Reservation was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
weight
The weight of the instance type in the Capacity Reservation Fleet. For more information, see Instance type weight in the Amazon EC2 User Guide.
- Parameters:
weight
- The weight of the instance type in the Capacity Reservation Fleet. For more information, see Instance type weight in the Amazon EC2 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
priority
The priority of the instance type in the Capacity Reservation Fleet. For more information, see Instance type priority in the Amazon EC2 User Guide.
- Parameters:
priority
- The priority of the instance type in the Capacity Reservation Fleet. For more information, see Instance type priority in the Amazon EC2 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-