@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsAutoScalingAutoScalingGroupLaunchTemplateLaunchTemplateSpecification extends Object implements Serializable, Cloneable, StructuredPojo
Details about the launch template to use.
Constructor and Description |
---|
AwsAutoScalingAutoScalingGroupLaunchTemplateLaunchTemplateSpecification() |
Modifier and Type | Method and Description |
---|---|
AwsAutoScalingAutoScalingGroupLaunchTemplateLaunchTemplateSpecification |
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.
|
AwsAutoScalingAutoScalingGroupLaunchTemplateLaunchTemplateSpecification |
withLaunchTemplateId(String launchTemplateId)
The identifier of the launch template.
|
AwsAutoScalingAutoScalingGroupLaunchTemplateLaunchTemplateSpecification |
withLaunchTemplateName(String launchTemplateName)
The name of the launch template.
|
AwsAutoScalingAutoScalingGroupLaunchTemplateLaunchTemplateSpecification |
withVersion(String version)
Identifies the version of the launch template.
|
public AwsAutoScalingAutoScalingGroupLaunchTemplateLaunchTemplateSpecification()
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 AwsAutoScalingAutoScalingGroupLaunchTemplateLaunchTemplateSpecification 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 AwsAutoScalingAutoScalingGroupLaunchTemplateLaunchTemplateSpecification 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 AwsAutoScalingAutoScalingGroupLaunchTemplateLaunchTemplateSpecification 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 Object
Object.toString()
public AwsAutoScalingAutoScalingGroupLaunchTemplateLaunchTemplateSpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.