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:
  • Method Details

    • builder

      public static AwsFleetInstanceOverride.Builder builder()
    • toBuilder

    • getAvailabilityZone

      public String getAvailabilityZone()
      The AWS availability zone within the region where instances will be provisioned.
      Returns:
      the AWS availability zone where instances will be provisioned
    • getInstanceType

      public String getInstanceType()
      The EC2 instance type for the provisioned instances.
      Returns:
      the EC2 instance type for the provisioned instances
    • getSpotMaxPrice

      public Double getSpotMaxPrice()
      The maximum price that will be paid for spot instances.
      Returns:
      the maximum price that will be paid for spot instances
    • getSubnetId

      public String getSubnetId()
      The ID of the subnet to use for the provisioned instances.
      Returns:
      the ID of the subnet to use
    • setAvailabilityZone

      public void setAvailabilityZone(String availabilityZone)
      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

      public void setInstanceType(String instanceType)
      The EC2 instance type for the provisioned instances.
      Parameters:
      instanceType - the EC2 instance type for the provisioned instances
    • setSpotMaxPrice

      public void setSpotMaxPrice(Double spotMaxPrice)
      The maximum price that will be paid for spot instances.
      Parameters:
      spotMaxPrice - the maximum price that will be paid for spot instances
    • setSubnetId

      public void setSubnetId(String subnetId)
      The ID of the subnet to use for the provisioned instances.
      Parameters:
      subnetId - the ID of the subnet to use
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object