@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.
launchTemplateSpecification - The launch template to use.public AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification getLaunchTemplateSpecification()
The launch template to use.
public AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateDetails withLaunchTemplateSpecification(AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification launchTemplateSpecification)
The launch template to use.
launchTemplateSpecification - The launch template to use.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 ObjectObject.toString()public AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.