@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateDetails extends Object implements Serializable, Cloneable, StructuredPojo
Describes a launch template and overrides for a mixed instances policy.
Constructor and Description |
---|
AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateDetails() |
public AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateDetails()
public void setLaunchTemplateSpecification(AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification launchTemplateSpecification)
The launch template to use for a mixed instances policy.
launchTemplateSpecification
- The launch template to use for a mixed instances policy.public AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification getLaunchTemplateSpecification()
The launch template to use for a mixed instances policy.
public AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateDetails withLaunchTemplateSpecification(AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification launchTemplateSpecification)
The launch template to use for a mixed instances policy.
launchTemplateSpecification
- The launch template to use for a mixed instances policy.public List<AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateOverridesListDetails> getOverrides()
Property values to use to override the values in the launch template.
public void setOverrides(Collection<AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateOverridesListDetails> overrides)
Property values to use to override the values in the launch template.
overrides
- Property values to use to override the values in the launch template.public AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateDetails withOverrides(AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateOverridesListDetails... overrides)
Property values to use to override the values in the launch template.
NOTE: This method appends the values to the existing list (if any). Use
setOverrides(java.util.Collection)
or withOverrides(java.util.Collection)
if you want to
override the existing values.
overrides
- Property values to use to override the values in the launch template.public AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateDetails withOverrides(Collection<AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateOverridesListDetails> overrides)
Property values to use to override the values in the launch template.
overrides
- Property values to use to override the values in the launch template.public String toString()
toString
in class Object
Object.toString()
public AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.