@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateOverridesListDetails extends Object implements Serializable, Cloneable, StructuredPojo
Property values to use to override the values in the launch template.
Constructor and Description |
---|
AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateOverridesListDetails() |
Modifier and Type | Method and Description |
---|---|
AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateOverridesListDetails |
clone() |
boolean |
equals(Object obj) |
String |
getInstanceType()
The instance type.
|
String |
getWeightedCapacity()
The number of capacity units provided by the specified instance type in terms of virtual CPUs, memory, storage,
throughput, or other relative performance characteristic.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setInstanceType(String instanceType)
The instance type.
|
void |
setWeightedCapacity(String weightedCapacity)
The number of capacity units provided by the specified instance type in terms of virtual CPUs, memory, storage,
throughput, or other relative performance characteristic.
|
String |
toString()
Returns a string representation of this object.
|
AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateOverridesListDetails |
withInstanceType(String instanceType)
The instance type.
|
AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateOverridesListDetails |
withWeightedCapacity(String weightedCapacity)
The number of capacity units provided by the specified instance type in terms of virtual CPUs, memory, storage,
throughput, or other relative performance characteristic.
|
public AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateOverridesListDetails()
public void setInstanceType(String instanceType)
The instance type. For example, m3.xlarge
.
instanceType
- The instance type. For example, m3.xlarge
.public String getInstanceType()
The instance type. For example, m3.xlarge
.
m3.xlarge
.public AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateOverridesListDetails withInstanceType(String instanceType)
The instance type. For example, m3.xlarge
.
instanceType
- The instance type. For example, m3.xlarge
.public void setWeightedCapacity(String weightedCapacity)
The number of capacity units provided by the specified instance type in terms of virtual CPUs, memory, storage, throughput, or other relative performance characteristic.
weightedCapacity
- The number of capacity units provided by the specified instance type in terms of virtual CPUs, memory,
storage, throughput, or other relative performance characteristic.public String getWeightedCapacity()
The number of capacity units provided by the specified instance type in terms of virtual CPUs, memory, storage, throughput, or other relative performance characteristic.
public AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateOverridesListDetails withWeightedCapacity(String weightedCapacity)
The number of capacity units provided by the specified instance type in terms of virtual CPUs, memory, storage, throughput, or other relative performance characteristic.
weightedCapacity
- The number of capacity units provided by the specified instance type in terms of virtual CPUs, memory,
storage, throughput, or other relative performance characteristic.public String toString()
toString
in class Object
Object.toString()
public AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateOverridesListDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.