@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LaunchTemplateSpecification extends Object implements Serializable, Cloneable, StructuredPojo
This data type is part of Amazon GameLift FleetIQ with game server groups, which is in preview release and is subject to change.
An EC2 launch template that contains configuration settings and game server code to be deployed to all instances in a game server group.
Constructor and Description |
---|
LaunchTemplateSpecification() |
Modifier and Type | Method and Description |
---|---|
LaunchTemplateSpecification |
clone() |
boolean |
equals(Object obj) |
String |
getLaunchTemplateId()
A unique identifier for an existing EC2 launch template.
|
String |
getLaunchTemplateName()
A readable identifier for an existing EC2 launch template.
|
String |
getVersion()
The version of the EC2 launch template to use.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLaunchTemplateId(String launchTemplateId)
A unique identifier for an existing EC2 launch template.
|
void |
setLaunchTemplateName(String launchTemplateName)
A readable identifier for an existing EC2 launch template.
|
void |
setVersion(String version)
The version of the EC2 launch template to use.
|
String |
toString()
Returns a string representation of this object.
|
LaunchTemplateSpecification |
withLaunchTemplateId(String launchTemplateId)
A unique identifier for an existing EC2 launch template.
|
LaunchTemplateSpecification |
withLaunchTemplateName(String launchTemplateName)
A readable identifier for an existing EC2 launch template.
|
LaunchTemplateSpecification |
withVersion(String version)
The version of the EC2 launch template to use.
|
public void setLaunchTemplateId(String launchTemplateId)
A unique identifier for an existing EC2 launch template.
launchTemplateId
- A unique identifier for an existing EC2 launch template.public String getLaunchTemplateId()
A unique identifier for an existing EC2 launch template.
public LaunchTemplateSpecification withLaunchTemplateId(String launchTemplateId)
A unique identifier for an existing EC2 launch template.
launchTemplateId
- A unique identifier for an existing EC2 launch template.public void setLaunchTemplateName(String launchTemplateName)
A readable identifier for an existing EC2 launch template.
launchTemplateName
- A readable identifier for an existing EC2 launch template.public String getLaunchTemplateName()
A readable identifier for an existing EC2 launch template.
public LaunchTemplateSpecification withLaunchTemplateName(String launchTemplateName)
A readable identifier for an existing EC2 launch template.
launchTemplateName
- A readable identifier for an existing EC2 launch template.public void setVersion(String version)
The version of the EC2 launch template to use. If no version is specified, the default version will be used. EC2 allows you to specify a default version for a launch template, if none is set, the default is the first version created.
version
- The version of the EC2 launch template to use. If no version is specified, the default version will be
used. EC2 allows you to specify a default version for a launch template, if none is set, the default is
the first version created.public String getVersion()
The version of the EC2 launch template to use. If no version is specified, the default version will be used. EC2 allows you to specify a default version for a launch template, if none is set, the default is the first version created.
public LaunchTemplateSpecification withVersion(String version)
The version of the EC2 launch template to use. If no version is specified, the default version will be used. EC2 allows you to specify a default version for a launch template, if none is set, the default is the first version created.
version
- The version of the EC2 launch template to use. If no version is specified, the default version will be
used. EC2 allows you to specify a default version for a launch template, if none is set, the default is
the first version created.public String toString()
toString
in class Object
Object.toString()
public LaunchTemplateSpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.