Interface FleetCapacityReservation.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<FleetCapacityReservation.Builder,FleetCapacityReservation>
,SdkBuilder<FleetCapacityReservation.Builder,FleetCapacityReservation>
,SdkPojo
- Enclosing class:
- FleetCapacityReservation
public static interface FleetCapacityReservation.Builder extends SdkPojo, CopyableBuilder<FleetCapacityReservation.Builder,FleetCapacityReservation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FleetCapacityReservation.Builder
availabilityZone(String availabilityZone)
The Availability Zone in which the Capacity Reservation reserves capacity.FleetCapacityReservation.Builder
availabilityZoneId(String availabilityZoneId)
The ID of the Availability Zone in which the Capacity Reservation reserves capacity.FleetCapacityReservation.Builder
capacityReservationId(String capacityReservationId)
The ID of the Capacity Reservation.FleetCapacityReservation.Builder
createDate(Instant createDate)
The date and time at which the Capacity Reservation was created.FleetCapacityReservation.Builder
ebsOptimized(Boolean ebsOptimized)
Indicates whether the Capacity Reservation reserves capacity for EBS-optimized instance types.FleetCapacityReservation.Builder
fulfilledCapacity(Double fulfilledCapacity)
The number of capacity units fulfilled by the Capacity Reservation.FleetCapacityReservation.Builder
instancePlatform(String instancePlatform)
The type of operating system for which the Capacity Reservation reserves capacity.FleetCapacityReservation.Builder
instancePlatform(CapacityReservationInstancePlatform instancePlatform)
The type of operating system for which the Capacity Reservation reserves capacity.FleetCapacityReservation.Builder
instanceType(String instanceType)
The instance type for which the Capacity Reservation reserves capacity.FleetCapacityReservation.Builder
instanceType(InstanceType instanceType)
The instance type for which the Capacity Reservation reserves capacity.FleetCapacityReservation.Builder
priority(Integer priority)
The priority of the instance type in the Capacity Reservation Fleet.FleetCapacityReservation.Builder
totalInstanceCount(Integer totalInstanceCount)
The total number of instances for which the Capacity Reservation reserves capacity.FleetCapacityReservation.Builder
weight(Double weight)
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, sdkFields
-
-
-
-
Method Detail
-
capacityReservationId
FleetCapacityReservation.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.
-
availabilityZoneId
FleetCapacityReservation.Builder availabilityZoneId(String 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
FleetCapacityReservation.Builder instanceType(String 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
,InstanceType
-
instanceType
FleetCapacityReservation.Builder instanceType(InstanceType 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
,InstanceType
-
instancePlatform
FleetCapacityReservation.Builder instancePlatform(String 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:
CapacityReservationInstancePlatform
,CapacityReservationInstancePlatform
-
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:
CapacityReservationInstancePlatform
,CapacityReservationInstancePlatform
-
availabilityZone
FleetCapacityReservation.Builder availabilityZone(String 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
FleetCapacityReservation.Builder totalInstanceCount(Integer 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
FleetCapacityReservation.Builder fulfilledCapacity(Double 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
FleetCapacityReservation.Builder ebsOptimized(Boolean 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
FleetCapacityReservation.Builder createDate(Instant 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
FleetCapacityReservation.Builder weight(Double 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
FleetCapacityReservation.Builder priority(Integer 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.
-
-