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 SummaryNested ClassesModifier and TypeClassDescriptionstatic classA builder that can be used to build a new AwsFleetInstanceOverride that is automatically validated on build.
- 
Method SummaryModifier 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
- 
getAvailabilityZoneThe AWS availability zone within the region where instances will be provisioned.- Returns:
- the AWS availability zone where instances will be provisioned
 
- 
getInstanceTypeThe EC2 instance type for the provisioned instances.- Returns:
- the EC2 instance type for the provisioned instances
 
- 
getSpotMaxPriceThe maximum price that will be paid for spot instances.- Returns:
- the maximum price that will be paid for spot instances
 
- 
getSubnetIdThe ID of the subnet to use for the provisioned instances.- Returns:
- the ID of the subnet to use
 
- 
setAvailabilityZoneThe 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.
 
- 
setInstanceTypeThe EC2 instance type for the provisioned instances.- Parameters:
- instanceType- the EC2 instance type for the provisioned instances
 
- 
setSpotMaxPriceThe maximum price that will be paid for spot instances.- Parameters:
- spotMaxPrice- the maximum price that will be paid for spot instances
 
- 
setSubnetIdThe ID of the subnet to use for the provisioned instances.- Parameters:
- subnetId- the ID of the subnet to use
 
- 
equals
- 
canEqual
- 
hashCode
- 
toString
 
-