@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails extends Object implements Serializable, Cloneable, StructuredPojo
Information about the instances distribution.
| Constructor and Description | 
|---|
| AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails() | 
| Modifier and Type | Method and Description | 
|---|---|
| AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails | clone() | 
| boolean | equals(Object obj) | 
| String | getOnDemandAllocationStrategy()
 How to allocate instance types to fulfill On-Demand capacity. | 
| Integer | getOnDemandBaseCapacity()
 The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances. | 
| Integer | getOnDemandPercentageAboveBaseCapacity()
 The percentage of On-Demand Instances and Spot Instances for additional capacity beyond
  OnDemandBaseCapacity. | 
| String | getSpotAllocationStrategy()
 How to allocate instances across Spot Instance pools. | 
| Integer | getSpotInstancePools()
 The number of Spot Instance pools across which to allocate your Spot Instances. | 
| String | getSpotMaxPrice()
 The maximum price per unit hour that you are willing to pay for a Spot Instance. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setOnDemandAllocationStrategy(String onDemandAllocationStrategy)
 How to allocate instance types to fulfill On-Demand capacity. | 
| void | setOnDemandBaseCapacity(Integer onDemandBaseCapacity)
 The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances. | 
| void | setOnDemandPercentageAboveBaseCapacity(Integer onDemandPercentageAboveBaseCapacity)
 The percentage of On-Demand Instances and Spot Instances for additional capacity beyond
  OnDemandBaseCapacity. | 
| void | setSpotAllocationStrategy(String spotAllocationStrategy)
 How to allocate instances across Spot Instance pools. | 
| void | setSpotInstancePools(Integer spotInstancePools)
 The number of Spot Instance pools across which to allocate your Spot Instances. | 
| void | setSpotMaxPrice(String spotMaxPrice)
 The maximum price per unit hour that you are willing to pay for a Spot Instance. | 
| String | toString()Returns a string representation of this object. | 
| AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails | withOnDemandAllocationStrategy(String onDemandAllocationStrategy)
 How to allocate instance types to fulfill On-Demand capacity. | 
| AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails | withOnDemandBaseCapacity(Integer onDemandBaseCapacity)
 The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances. | 
| AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails | withOnDemandPercentageAboveBaseCapacity(Integer onDemandPercentageAboveBaseCapacity)
 The percentage of On-Demand Instances and Spot Instances for additional capacity beyond
  OnDemandBaseCapacity. | 
| AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails | withSpotAllocationStrategy(String spotAllocationStrategy)
 How to allocate instances across Spot Instance pools. | 
| AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails | withSpotInstancePools(Integer spotInstancePools)
 The number of Spot Instance pools across which to allocate your Spot Instances. | 
| AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails | withSpotMaxPrice(String spotMaxPrice)
 The maximum price per unit hour that you are willing to pay for a Spot Instance. | 
public AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails()
public void setOnDemandAllocationStrategy(String onDemandAllocationStrategy)
 How to allocate instance types to fulfill On-Demand capacity. The valid value is prioritized.
 
onDemandAllocationStrategy - How to allocate instance types to fulfill On-Demand capacity. The valid value is prioritized.public String getOnDemandAllocationStrategy()
 How to allocate instance types to fulfill On-Demand capacity. The valid value is prioritized.
 
prioritized
         .public AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails withOnDemandAllocationStrategy(String onDemandAllocationStrategy)
 How to allocate instance types to fulfill On-Demand capacity. The valid value is prioritized.
 
onDemandAllocationStrategy - How to allocate instance types to fulfill On-Demand capacity. The valid value is prioritized.public void setOnDemandBaseCapacity(Integer onDemandBaseCapacity)
The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances.
onDemandBaseCapacity - The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances.public Integer getOnDemandBaseCapacity()
The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances.
public AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails withOnDemandBaseCapacity(Integer onDemandBaseCapacity)
The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances.
onDemandBaseCapacity - The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances.public void setOnDemandPercentageAboveBaseCapacity(Integer onDemandPercentageAboveBaseCapacity)
 The percentage of On-Demand Instances and Spot Instances for additional capacity beyond
 OnDemandBaseCapacity.
 
onDemandPercentageAboveBaseCapacity - The percentage of On-Demand Instances and Spot Instances for additional capacity beyond
        OnDemandBaseCapacity.public Integer getOnDemandPercentageAboveBaseCapacity()
 The percentage of On-Demand Instances and Spot Instances for additional capacity beyond
 OnDemandBaseCapacity.
 
OnDemandBaseCapacity.public AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails withOnDemandPercentageAboveBaseCapacity(Integer onDemandPercentageAboveBaseCapacity)
 The percentage of On-Demand Instances and Spot Instances for additional capacity beyond
 OnDemandBaseCapacity.
 
onDemandPercentageAboveBaseCapacity - The percentage of On-Demand Instances and Spot Instances for additional capacity beyond
        OnDemandBaseCapacity.public void setSpotAllocationStrategy(String spotAllocationStrategy)
How to allocate instances across Spot Instance pools. Valid values are as follows:
 lowest-price
 
 capacity-optimized
 
 capacity-optimized-prioritized
 
spotAllocationStrategy - How to allocate instances across Spot Instance pools. Valid values are as follows:
        
        lowest-price
        
        capacity-optimized
        
        capacity-optimized-prioritized
        
public String getSpotAllocationStrategy()
How to allocate instances across Spot Instance pools. Valid values are as follows:
 lowest-price
 
 capacity-optimized
 
 capacity-optimized-prioritized
 
         lowest-price
         
         capacity-optimized
         
         capacity-optimized-prioritized
         
public AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails withSpotAllocationStrategy(String spotAllocationStrategy)
How to allocate instances across Spot Instance pools. Valid values are as follows:
 lowest-price
 
 capacity-optimized
 
 capacity-optimized-prioritized
 
spotAllocationStrategy - How to allocate instances across Spot Instance pools. Valid values are as follows:
        
        lowest-price
        
        capacity-optimized
        
        capacity-optimized-prioritized
        
public void setSpotInstancePools(Integer spotInstancePools)
The number of Spot Instance pools across which to allocate your Spot Instances.
spotInstancePools - The number of Spot Instance pools across which to allocate your Spot Instances.public Integer getSpotInstancePools()
The number of Spot Instance pools across which to allocate your Spot Instances.
public AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails withSpotInstancePools(Integer spotInstancePools)
The number of Spot Instance pools across which to allocate your Spot Instances.
spotInstancePools - The number of Spot Instance pools across which to allocate your Spot Instances.public void setSpotMaxPrice(String spotMaxPrice)
The maximum price per unit hour that you are willing to pay for a Spot Instance.
spotMaxPrice - The maximum price per unit hour that you are willing to pay for a Spot Instance.public String getSpotMaxPrice()
The maximum price per unit hour that you are willing to pay for a Spot Instance.
public AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails withSpotMaxPrice(String spotMaxPrice)
The maximum price per unit hour that you are willing to pay for a Spot Instance.
spotMaxPrice - The maximum price per unit hour that you are willing to pay for a Spot Instance.public String toString()
toString in class ObjectObject.toString()public AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.