@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LaunchTemplateVersion extends Object implements Serializable, Cloneable
Describes a launch template version.
Constructor and Description |
---|
LaunchTemplateVersion() |
Modifier and Type | Method and Description |
---|---|
LaunchTemplateVersion |
clone() |
boolean |
equals(Object obj) |
String |
getCreatedBy()
The principal that created the version.
|
Date |
getCreateTime()
The time the version was created.
|
Boolean |
getDefaultVersion()
Indicates whether the version is the default version.
|
ResponseLaunchTemplateData |
getLaunchTemplateData()
Information about the launch template.
|
String |
getLaunchTemplateId()
The ID of the launch template.
|
String |
getLaunchTemplateName()
The name of the launch template.
|
String |
getVersionDescription()
The description for the version.
|
Long |
getVersionNumber()
The version number.
|
int |
hashCode() |
Boolean |
isDefaultVersion()
Indicates whether the version is the default version.
|
void |
setCreatedBy(String createdBy)
The principal that created the version.
|
void |
setCreateTime(Date createTime)
The time the version was created.
|
void |
setDefaultVersion(Boolean defaultVersion)
Indicates whether the version is the default version.
|
void |
setLaunchTemplateData(ResponseLaunchTemplateData launchTemplateData)
Information about the launch template.
|
void |
setLaunchTemplateId(String launchTemplateId)
The ID of the launch template.
|
void |
setLaunchTemplateName(String launchTemplateName)
The name of the launch template.
|
void |
setVersionDescription(String versionDescription)
The description for the version.
|
void |
setVersionNumber(Long versionNumber)
The version number.
|
String |
toString()
Returns a string representation of this object.
|
LaunchTemplateVersion |
withCreatedBy(String createdBy)
The principal that created the version.
|
LaunchTemplateVersion |
withCreateTime(Date createTime)
The time the version was created.
|
LaunchTemplateVersion |
withDefaultVersion(Boolean defaultVersion)
Indicates whether the version is the default version.
|
LaunchTemplateVersion |
withLaunchTemplateData(ResponseLaunchTemplateData launchTemplateData)
Information about the launch template.
|
LaunchTemplateVersion |
withLaunchTemplateId(String launchTemplateId)
The ID of the launch template.
|
LaunchTemplateVersion |
withLaunchTemplateName(String launchTemplateName)
The name of the launch template.
|
LaunchTemplateVersion |
withVersionDescription(String versionDescription)
The description for the version.
|
LaunchTemplateVersion |
withVersionNumber(Long versionNumber)
The version number.
|
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 LaunchTemplateVersion 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 LaunchTemplateVersion withLaunchTemplateName(String launchTemplateName)
The name of the launch template.
launchTemplateName
- The name of the launch template.public void setVersionNumber(Long versionNumber)
The version number.
versionNumber
- The version number.public Long getVersionNumber()
The version number.
public LaunchTemplateVersion withVersionNumber(Long versionNumber)
The version number.
versionNumber
- The version number.public void setVersionDescription(String versionDescription)
The description for the version.
versionDescription
- The description for the version.public String getVersionDescription()
The description for the version.
public LaunchTemplateVersion withVersionDescription(String versionDescription)
The description for the version.
versionDescription
- The description for the version.public void setCreateTime(Date createTime)
The time the version was created.
createTime
- The time the version was created.public Date getCreateTime()
The time the version was created.
public LaunchTemplateVersion withCreateTime(Date createTime)
The time the version was created.
createTime
- The time the version was created.public void setCreatedBy(String createdBy)
The principal that created the version.
createdBy
- The principal that created the version.public String getCreatedBy()
The principal that created the version.
public LaunchTemplateVersion withCreatedBy(String createdBy)
The principal that created the version.
createdBy
- The principal that created the version.public void setDefaultVersion(Boolean defaultVersion)
Indicates whether the version is the default version.
defaultVersion
- Indicates whether the version is the default version.public Boolean getDefaultVersion()
Indicates whether the version is the default version.
public LaunchTemplateVersion withDefaultVersion(Boolean defaultVersion)
Indicates whether the version is the default version.
defaultVersion
- Indicates whether the version is the default version.public Boolean isDefaultVersion()
Indicates whether the version is the default version.
public void setLaunchTemplateData(ResponseLaunchTemplateData launchTemplateData)
Information about the launch template.
launchTemplateData
- Information about the launch template.public ResponseLaunchTemplateData getLaunchTemplateData()
Information about the launch template.
public LaunchTemplateVersion withLaunchTemplateData(ResponseLaunchTemplateData launchTemplateData)
Information about the launch template.
launchTemplateData
- Information about the launch template.public String toString()
toString
in class Object
Object.toString()
public LaunchTemplateVersion clone()