@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification extends Object implements Serializable, Cloneable, StructuredPojo
Details about the launch template to use for a mixed instances policy.
| Constructor and Description |
|---|
AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification() |
| Modifier and Type | Method and Description |
|---|---|
AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification |
clone() |
boolean |
equals(Object obj) |
String |
getLaunchTemplateId()
The identifier of the launch template.
|
String |
getLaunchTemplateName()
The name of the launch template.
|
String |
getVersion()
Identifies the version of the launch template.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setLaunchTemplateId(String launchTemplateId)
The identifier of the launch template.
|
void |
setLaunchTemplateName(String launchTemplateName)
The name of the launch template.
|
void |
setVersion(String version)
Identifies the version of the launch template.
|
String |
toString()
Returns a string representation of this object.
|
AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification |
withLaunchTemplateId(String launchTemplateId)
The identifier of the launch template.
|
AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification |
withLaunchTemplateName(String launchTemplateName)
The name of the launch template.
|
AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification |
withVersion(String version)
Identifies the version of the launch template.
|
public AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification()
public void setLaunchTemplateId(String launchTemplateId)
The identifier of the launch template. You must specify either LaunchTemplateId or
LaunchTemplateName.
launchTemplateId - The identifier of the launch template. You must specify either LaunchTemplateId or
LaunchTemplateName.public String getLaunchTemplateId()
The identifier of the launch template. You must specify either LaunchTemplateId or
LaunchTemplateName.
LaunchTemplateId or
LaunchTemplateName.public AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification withLaunchTemplateId(String launchTemplateId)
The identifier of the launch template. You must specify either LaunchTemplateId or
LaunchTemplateName.
launchTemplateId - The identifier of the launch template. You must specify either LaunchTemplateId or
LaunchTemplateName.public void setLaunchTemplateName(String launchTemplateName)
The name of the launch template. You must specify either LaunchTemplateId or
LaunchTemplateName.
launchTemplateName - The name of the launch template. You must specify either LaunchTemplateId or
LaunchTemplateName.public String getLaunchTemplateName()
The name of the launch template. You must specify either LaunchTemplateId or
LaunchTemplateName.
LaunchTemplateId or
LaunchTemplateName.public AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification withLaunchTemplateName(String launchTemplateName)
The name of the launch template. You must specify either LaunchTemplateId or
LaunchTemplateName.
launchTemplateName - The name of the launch template. You must specify either LaunchTemplateId or
LaunchTemplateName.public void setVersion(String version)
Identifies the version of the launch template. You can specify a version identifier, or use the values
$Latest or $Default.
version - Identifies the version of the launch template. You can specify a version identifier, or use the values
$Latest or $Default.public String getVersion()
Identifies the version of the launch template. You can specify a version identifier, or use the values
$Latest or $Default.
$Latest or $Default.public AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification withVersion(String version)
Identifies the version of the launch template. You can specify a version identifier, or use the values
$Latest or $Default.
version - Identifies the version of the launch template. You can specify a version identifier, or use the values
$Latest or $Default.public String toString()
toString in class ObjectObject.toString()public AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.