@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEc2LaunchTemplateDetails extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the properties for creating an Amazon Elastic Compute Cloud (Amazon EC2) launch template.
Constructor and Description |
---|
AwsEc2LaunchTemplateDetails() |
Modifier and Type | Method and Description |
---|---|
AwsEc2LaunchTemplateDetails |
clone() |
boolean |
equals(Object obj) |
Long |
getDefaultVersionNumber()
The default version of the launch template.
|
String |
getId()
An ID for the launch template.
|
Long |
getLatestVersionNumber()
The latest version of the launch template.
|
AwsEc2LaunchTemplateDataDetails |
getLaunchTemplateData()
The information to include in the launch template.
|
String |
getLaunchTemplateName()
A name for the launch template.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDefaultVersionNumber(Long defaultVersionNumber)
The default version of the launch template.
|
void |
setId(String id)
An ID for the launch template.
|
void |
setLatestVersionNumber(Long latestVersionNumber)
The latest version of the launch template.
|
void |
setLaunchTemplateData(AwsEc2LaunchTemplateDataDetails launchTemplateData)
The information to include in the launch template.
|
void |
setLaunchTemplateName(String launchTemplateName)
A name for the launch template.
|
String |
toString()
Returns a string representation of this object.
|
AwsEc2LaunchTemplateDetails |
withDefaultVersionNumber(Long defaultVersionNumber)
The default version of the launch template.
|
AwsEc2LaunchTemplateDetails |
withId(String id)
An ID for the launch template.
|
AwsEc2LaunchTemplateDetails |
withLatestVersionNumber(Long latestVersionNumber)
The latest version of the launch template.
|
AwsEc2LaunchTemplateDetails |
withLaunchTemplateData(AwsEc2LaunchTemplateDataDetails launchTemplateData)
The information to include in the launch template.
|
AwsEc2LaunchTemplateDetails |
withLaunchTemplateName(String launchTemplateName)
A name for the launch template.
|
public void setLaunchTemplateName(String launchTemplateName)
A name for the launch template.
launchTemplateName
- A name for the launch template.public String getLaunchTemplateName()
A name for the launch template.
public AwsEc2LaunchTemplateDetails withLaunchTemplateName(String launchTemplateName)
A name for the launch template.
launchTemplateName
- A name for the launch template.public void setId(String id)
An ID for the launch template.
id
- An ID for the launch template.public String getId()
An ID for the launch template.
public AwsEc2LaunchTemplateDetails withId(String id)
An ID for the launch template.
id
- An ID for the launch template.public void setLaunchTemplateData(AwsEc2LaunchTemplateDataDetails launchTemplateData)
The information to include in the launch template.
launchTemplateData
- The information to include in the launch template.public AwsEc2LaunchTemplateDataDetails getLaunchTemplateData()
The information to include in the launch template.
public AwsEc2LaunchTemplateDetails withLaunchTemplateData(AwsEc2LaunchTemplateDataDetails launchTemplateData)
The information to include in the launch template.
launchTemplateData
- The information to include in the launch template.public void setDefaultVersionNumber(Long defaultVersionNumber)
The default version of the launch template.
defaultVersionNumber
- The default version of the launch template.public Long getDefaultVersionNumber()
The default version of the launch template.
public AwsEc2LaunchTemplateDetails withDefaultVersionNumber(Long defaultVersionNumber)
The default version of the launch template.
defaultVersionNumber
- The default version of the launch template.public void setLatestVersionNumber(Long latestVersionNumber)
The latest version of the launch template.
latestVersionNumber
- The latest version of the launch template.public Long getLatestVersionNumber()
The latest version of the launch template.
public AwsEc2LaunchTemplateDetails withLatestVersionNumber(Long latestVersionNumber)
The latest version of the launch template.
latestVersionNumber
- The latest version of the launch template.public String toString()
toString
in class Object
Object.toString()
public AwsEc2LaunchTemplateDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.