@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LaunchTemplate extends Object implements Serializable, Cloneable
Describes a launch template.
Constructor and Description |
---|
LaunchTemplate() |
Modifier and Type | Method and Description |
---|---|
LaunchTemplate |
clone() |
boolean |
equals(Object obj) |
String |
getCreatedBy()
The principal that created the launch template.
|
Date |
getCreateTime()
The time launch template was created.
|
Long |
getDefaultVersionNumber()
The version number of the default version of the launch template.
|
Long |
getLatestVersionNumber()
The version number of the latest version of the launch template.
|
String |
getLaunchTemplateId()
The ID of the launch template.
|
String |
getLaunchTemplateName()
The name of the launch template.
|
List<Tag> |
getTags()
The tags for the launch template.
|
int |
hashCode() |
void |
setCreatedBy(String createdBy)
The principal that created the launch template.
|
void |
setCreateTime(Date createTime)
The time launch template was created.
|
void |
setDefaultVersionNumber(Long defaultVersionNumber)
The version number of the default version of the launch template.
|
void |
setLatestVersionNumber(Long latestVersionNumber)
The version number of the latest version of the launch template.
|
void |
setLaunchTemplateId(String launchTemplateId)
The ID of the launch template.
|
void |
setLaunchTemplateName(String launchTemplateName)
The name of the launch template.
|
void |
setTags(Collection<Tag> tags)
The tags for the launch template.
|
String |
toString()
Returns a string representation of this object.
|
LaunchTemplate |
withCreatedBy(String createdBy)
The principal that created the launch template.
|
LaunchTemplate |
withCreateTime(Date createTime)
The time launch template was created.
|
LaunchTemplate |
withDefaultVersionNumber(Long defaultVersionNumber)
The version number of the default version of the launch template.
|
LaunchTemplate |
withLatestVersionNumber(Long latestVersionNumber)
The version number of the latest version of the launch template.
|
LaunchTemplate |
withLaunchTemplateId(String launchTemplateId)
The ID of the launch template.
|
LaunchTemplate |
withLaunchTemplateName(String launchTemplateName)
The name of the launch template.
|
LaunchTemplate |
withTags(Collection<Tag> tags)
The tags for the launch template.
|
LaunchTemplate |
withTags(Tag... tags)
The tags for the launch template.
|
public void setLaunchTemplateId(String launchTemplateId)
The ID of the launch template.
launchTemplateId
- The ID of the launch template.public String getLaunchTemplateId()
The ID of the launch template.
public LaunchTemplate withLaunchTemplateId(String launchTemplateId)
The ID of the launch template.
launchTemplateId
- The ID of the launch template.public void setLaunchTemplateName(String launchTemplateName)
The name of the launch template.
launchTemplateName
- The name of the launch template.public String getLaunchTemplateName()
The name of the launch template.
public LaunchTemplate withLaunchTemplateName(String launchTemplateName)
The name of the launch template.
launchTemplateName
- The name of the launch template.public void setCreateTime(Date createTime)
The time launch template was created.
createTime
- The time launch template was created.public Date getCreateTime()
The time launch template was created.
public LaunchTemplate withCreateTime(Date createTime)
The time launch template was created.
createTime
- The time launch template was created.public void setCreatedBy(String createdBy)
The principal that created the launch template.
createdBy
- The principal that created the launch template.public String getCreatedBy()
The principal that created the launch template.
public LaunchTemplate withCreatedBy(String createdBy)
The principal that created the launch template.
createdBy
- The principal that created the launch template.public void setDefaultVersionNumber(Long defaultVersionNumber)
The version number of the default version of the launch template.
defaultVersionNumber
- The version number of the default version of the launch template.public Long getDefaultVersionNumber()
The version number of the default version of the launch template.
public LaunchTemplate withDefaultVersionNumber(Long defaultVersionNumber)
The version number of the default version of the launch template.
defaultVersionNumber
- The version number of the default version of the launch template.public void setLatestVersionNumber(Long latestVersionNumber)
The version number of the latest version of the launch template.
latestVersionNumber
- The version number of the latest version of the launch template.public Long getLatestVersionNumber()
The version number of the latest version of the launch template.
public LaunchTemplate withLatestVersionNumber(Long latestVersionNumber)
The version number of the latest version of the launch template.
latestVersionNumber
- The version number of the latest version of the launch template.public List<Tag> getTags()
The tags for the launch template.
public void setTags(Collection<Tag> tags)
The tags for the launch template.
tags
- The tags for the launch template.public LaunchTemplate withTags(Tag... tags)
The tags for the launch template.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags for the launch template.public LaunchTemplate withTags(Collection<Tag> tags)
The tags for the launch template.
tags
- The tags for the launch template.public String toString()
toString
in class Object
Object.toString()
public LaunchTemplate clone()