@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FastLaunchLaunchTemplateSpecification extends Object implements Serializable, Cloneable, StructuredPojo
Identifies the launch template that the associated Windows AMI uses for launching an instance when faster launching is enabled.
You can specify either the launchTemplateName
or the launchTemplateId
, but not both.
Constructor and Description |
---|
FastLaunchLaunchTemplateSpecification() |
Modifier and Type | Method and Description |
---|---|
FastLaunchLaunchTemplateSpecification |
clone() |
boolean |
equals(Object obj) |
String |
getLaunchTemplateId()
The ID of the launch template to use for faster launching for a Windows AMI.
|
String |
getLaunchTemplateName()
The name of the launch template to use for faster launching for a Windows AMI.
|
String |
getLaunchTemplateVersion()
The version of the launch template to use for faster launching for a Windows AMI.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLaunchTemplateId(String launchTemplateId)
The ID of the launch template to use for faster launching for a Windows AMI.
|
void |
setLaunchTemplateName(String launchTemplateName)
The name of the launch template to use for faster launching for a Windows AMI.
|
void |
setLaunchTemplateVersion(String launchTemplateVersion)
The version of the launch template to use for faster launching for a Windows AMI.
|
String |
toString()
Returns a string representation of this object.
|
FastLaunchLaunchTemplateSpecification |
withLaunchTemplateId(String launchTemplateId)
The ID of the launch template to use for faster launching for a Windows AMI.
|
FastLaunchLaunchTemplateSpecification |
withLaunchTemplateName(String launchTemplateName)
The name of the launch template to use for faster launching for a Windows AMI.
|
FastLaunchLaunchTemplateSpecification |
withLaunchTemplateVersion(String launchTemplateVersion)
The version of the launch template to use for faster launching for a Windows AMI.
|
public FastLaunchLaunchTemplateSpecification()
public void setLaunchTemplateId(String launchTemplateId)
The ID of the launch template to use for faster launching for a Windows AMI.
launchTemplateId
- The ID of the launch template to use for faster launching for a Windows AMI.public String getLaunchTemplateId()
The ID of the launch template to use for faster launching for a Windows AMI.
public FastLaunchLaunchTemplateSpecification withLaunchTemplateId(String launchTemplateId)
The ID of the launch template to use for faster launching for a Windows AMI.
launchTemplateId
- The ID of the launch template to use for faster launching for a Windows AMI.public void setLaunchTemplateName(String launchTemplateName)
The name of the launch template to use for faster launching for a Windows AMI.
launchTemplateName
- The name of the launch template to use for faster launching for a Windows AMI.public String getLaunchTemplateName()
The name of the launch template to use for faster launching for a Windows AMI.
public FastLaunchLaunchTemplateSpecification withLaunchTemplateName(String launchTemplateName)
The name of the launch template to use for faster launching for a Windows AMI.
launchTemplateName
- The name of the launch template to use for faster launching for a Windows AMI.public void setLaunchTemplateVersion(String launchTemplateVersion)
The version of the launch template to use for faster launching for a Windows AMI.
launchTemplateVersion
- The version of the launch template to use for faster launching for a Windows AMI.public String getLaunchTemplateVersion()
The version of the launch template to use for faster launching for a Windows AMI.
public FastLaunchLaunchTemplateSpecification withLaunchTemplateVersion(String launchTemplateVersion)
The version of the launch template to use for faster launching for a Windows AMI.
launchTemplateVersion
- The version of the launch template to use for faster launching for a Windows AMI.public String toString()
toString
in class Object
Object.toString()
public FastLaunchLaunchTemplateSpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.