Class AwsFleetInstanceOverride
java.lang.Object
co.yellowdog.platform.model.AwsFleetInstanceOverride
- All Implemented Interfaces:
Serializable
@JsonClassDescription("Specifies further instance options over the main instance detailed defined in the parent AwsFleetComputeSource")
public class AwsFleetInstanceOverride
extends Object
implements Serializable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder that can be used to build a new AwsFleetInstanceOverride that is automatically validated on build. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanThe AWS availability zone within the region where instances will be provisioned.The EC2 instance type for the provisioned instances.The maximum price that will be paid for spot instances.The ID of the subnet to use for the provisioned instances.inthashCode()voidsetAvailabilityZone(String availabilityZone) The AWS availability zone within the region where instances will be provisioned.voidsetInstanceType(String instanceType) The EC2 instance type for the provisioned instances.voidsetSpotMaxPrice(Double spotMaxPrice) The maximum price that will be paid for spot instances.voidsetSubnetId(String subnetId) The ID of the subnet to use for the provisioned instances.toString()
-
Method Details
-
builder
-
toBuilder
-
getAvailabilityZone
The AWS availability zone within the region where instances will be provisioned.- Returns:
- the AWS availability zone where instances will be provisioned
-
getInstanceType
The EC2 instance type for the provisioned instances.- Returns:
- the EC2 instance type for the provisioned instances
-
getSpotMaxPrice
The maximum price that will be paid for spot instances.- Returns:
- the maximum price that will be paid for spot instances
-
getSubnetId
The ID of the subnet to use for the provisioned instances.- Returns:
- the ID of the subnet to use
-
setAvailabilityZone
The AWS availability zone within the region where instances will be provisioned.- Parameters:
availabilityZone- the AWS availability zone where instances will be provisioned
This should not be changed once the requirement has been submitted to YellowDog Compute.
-
setInstanceType
The EC2 instance type for the provisioned instances.- Parameters:
instanceType- the EC2 instance type for the provisioned instances
-
setSpotMaxPrice
The maximum price that will be paid for spot instances.- Parameters:
spotMaxPrice- the maximum price that will be paid for spot instances
-
setSubnetId
The ID of the subnet to use for the provisioned instances.- Parameters:
subnetId- the ID of the subnet to use
-
equals
-
canEqual
-
hashCode
-
toString
-