@Generated(value="software.amazon.awssdk:codegen") public final class LaunchTemplateSpecification extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LaunchTemplateSpecification.Builder,LaunchTemplateSpecification>
This data type is used with the Amazon GameLift FleetIQ and game server groups.
An EC2 launch template that contains configuration settings and game server code to be deployed to all instances in a game server group. The launch template is specified when creating a new game server group with CreateGameServerGroup.
Modifier and Type | Class and Description |
---|---|
static interface |
LaunchTemplateSpecification.Builder |
Modifier and Type | Method and Description |
---|---|
static LaunchTemplateSpecification.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
launchTemplateId()
A unique identifier for an existing EC2 launch template.
|
String |
launchTemplateName()
A readable identifier for an existing EC2 launch template.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LaunchTemplateSpecification.Builder> |
serializableBuilderClass() |
LaunchTemplateSpecification.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
String |
version()
The version of the EC2 launch template to use.
|
copy
public final String launchTemplateId()
A unique identifier for an existing EC2 launch template.
public final String launchTemplateName()
A readable identifier for an existing EC2 launch template.
public final String version()
The version of the EC2 launch template to use. If no version is specified, the default version will be used. With Amazon EC2, you can specify a default version for a launch template. If none is set, the default is the first version created.
public LaunchTemplateSpecification.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<LaunchTemplateSpecification.Builder,LaunchTemplateSpecification>
public static LaunchTemplateSpecification.Builder builder()
public static Class<? extends LaunchTemplateSpecification.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.