Interface AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails.Builder

    • Method Detail

      • onDemandAllocationStrategy

        AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails.Builder onDemandAllocationStrategy​(String 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

        AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails.Builder onDemandBaseCapacity​(Integer 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

        AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails.Builder spotAllocationStrategy​(String 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.