Class AwsFleetOnDemandOptions
java.lang.Object
co.yellowdog.platform.model.AwsFleetOnDemandOptions
- All Implemented Interfaces:
Serializable
@JsonClassDescription("Options related to provisioning On-Demand instances using an AWS EC2 Fleet request")
public class AwsFleetOnDemandOptions
extends Object
implements Serializable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
A builder that can be used to build a new AwsFleetOnDemandOptions that is automatically validated on build. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
Determines the order of the instance overrides to use in fulfilling On-Demand capacity.The maximum amount per hour for On-Demand instances.The minimum number of On-Demand instances that must be provisioned in the fleet.Indicates that AWS EC2 Fleet should provision all On-Demand instances into a single availability zone.Indicates that AWS EC2 Fleet should use a single instance type to provision all On-Demand instances.Indicates if AWS EC2 Fleet should use unused Capacity Reservations to fulfill On-Demand capacity.int
hashCode()
void
setAllocationStrategy
(AwsFleetOnDemandAllocationStrategy allocationStrategy) Determines the order of the instance overrides to use in fulfilling On-Demand capacity.void
setMaxTotalPrice
(Double maxTotalPrice) The maximum amount per hour for On-Demand instances.void
setMinInstanceCount
(Integer minInstanceCount) The minimum number of On-Demand instances that must be provisioned in the fleet.void
setSingleAvailabilityZone
(Boolean singleAvailabilityZone) Indicates that AWS EC2 Fleet should provision all On-Demand instances into a single availability zone.void
setSingleInstanceType
(Boolean singleInstanceType) Indicates that AWS EC2 Fleet should use a single instance type to provision all On-Demand instances.void
setUseCapacityReservationsFirst
(Boolean useCapacityReservationsFirst) Indicates if AWS EC2 Fleet should use unused Capacity Reservations to fulfill On-Demand capacity.toString()
-
Method Details
-
builder
-
toBuilder
-
getAllocationStrategy
Determines the order of the instance overrides to use in fulfilling On-Demand capacity. -
getUseCapacityReservationsFirst
Indicates if AWS EC2 Fleet should use unused Capacity Reservations to fulfill On-Demand capacity. -
getMaxTotalPrice
The maximum amount per hour for On-Demand instances. -
getMinInstanceCount
The minimum number of On-Demand instances that must be provisioned in the fleet. -
getSingleAvailabilityZone
Indicates that AWS EC2 Fleet should provision all On-Demand instances into a single availability zone. -
getSingleInstanceType
Indicates that AWS EC2 Fleet should use a single instance type to provision all On-Demand instances. -
setAllocationStrategy
Determines the order of the instance overrides to use in fulfilling On-Demand capacity. -
setUseCapacityReservationsFirst
Indicates if AWS EC2 Fleet should use unused Capacity Reservations to fulfill On-Demand capacity. -
setMaxTotalPrice
The maximum amount per hour for On-Demand instances. -
setMinInstanceCount
The minimum number of On-Demand instances that must be provisioned in the fleet. -
setSingleAvailabilityZone
Indicates that AWS EC2 Fleet should provision all On-Demand instances into a single availability zone. -
setSingleInstanceType
Indicates that AWS EC2 Fleet should use a single instance type to provision all On-Demand instances. -
equals
-
canEqual
-
hashCode
-
toString
-