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 classA builder that can be used to build a new AwsFleetOnDemandOptions that is automatically validated on build. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanDetermines 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.inthashCode()voidsetAllocationStrategy(AwsFleetOnDemandAllocationStrategy allocationStrategy) Determines the order of the instance overrides to use in fulfilling On-Demand capacity.voidsetMaxTotalPrice(Double maxTotalPrice) The maximum amount per hour for On-Demand instances.voidsetMinInstanceCount(Integer minInstanceCount) The minimum number of On-Demand instances that must be provisioned in the fleet.voidsetSingleAvailabilityZone(Boolean singleAvailabilityZone) Indicates that AWS EC2 Fleet should provision all On-Demand instances into a single availability zone.voidsetSingleInstanceType(Boolean singleInstanceType) Indicates that AWS EC2 Fleet should use a single instance type to provision all On-Demand instances.voidsetUseCapacityReservationsFirst(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
-