Interface AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails.Builder,AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails>, SdkBuilder<AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails.Builder,AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails>, SdkPojo
Enclosing class:
AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails

public static interface AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails.Builder extends SdkPojo, CopyableBuilder<AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails.Builder,AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails>
  • Method Details

    • onDemandAllocationStrategy

      How to allocate instance types to fulfill On-Demand capacity. The valid value is prioritized.

      Parameters:
      onDemandAllocationStrategy - How to allocate instance types to fulfill On-Demand capacity. The valid value is prioritized.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • onDemandBaseCapacity

      The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances.

      Parameters:
      onDemandBaseCapacity - The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • onDemandPercentageAboveBaseCapacity

      AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails.Builder onDemandPercentageAboveBaseCapacity(Integer onDemandPercentageAboveBaseCapacity)

      The percentage of On-Demand Instances and Spot Instances for additional capacity beyond OnDemandBaseCapacity.

      Parameters:
      onDemandPercentageAboveBaseCapacity - The percentage of On-Demand Instances and Spot Instances for additional capacity beyond OnDemandBaseCapacity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • spotAllocationStrategy

      How to allocate instances across Spot Instance pools. Valid values are as follows:

      • lowest-price

      • capacity-optimized

      • capacity-optimized-prioritized

      Parameters:
      spotAllocationStrategy - How to allocate instances across Spot Instance pools. Valid values are as follows:

      • lowest-price

      • capacity-optimized

      • capacity-optimized-prioritized

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • spotInstancePools

      The number of Spot Instance pools across which to allocate your Spot Instances.

      Parameters:
      spotInstancePools - The number of Spot Instance pools across which to allocate your Spot Instances.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • spotMaxPrice

      The maximum price per unit hour that you are willing to pay for a Spot Instance.

      Parameters:
      spotMaxPrice - The maximum price per unit hour that you are willing to pay for a Spot Instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.