Class LaunchTemplateSpecification
- java.lang.Object
-
- software.amazon.awssdk.services.gamelift.model.LaunchTemplateSpecification
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LaunchTemplateSpecification.Builder,LaunchTemplateSpecification>
@Generated("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 Amazon Elastic Compute Cloud 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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLaunchTemplateSpecification.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LaunchTemplateSpecification.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlaunchTemplateId()A unique identifier for an existing Amazon EC2 launch template.StringlaunchTemplateName()A readable identifier for an existing Amazon EC2 launch template.List<SdkField<?>>sdkFields()static Class<? extends LaunchTemplateSpecification.Builder>serializableBuilderClass()LaunchTemplateSpecification.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringversion()The version of the Amazon EC2 launch template to use.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
launchTemplateId
public final String launchTemplateId()
A unique identifier for an existing Amazon EC2 launch template.
- Returns:
- A unique identifier for an existing Amazon EC2 launch template.
-
launchTemplateName
public final String launchTemplateName()
A readable identifier for an existing Amazon EC2 launch template.
- Returns:
- A readable identifier for an existing Amazon EC2 launch template.
-
version
public final String version()
The version of the Amazon 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.
- Returns:
- The version of the Amazon 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.
-
toBuilder
public LaunchTemplateSpecification.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LaunchTemplateSpecification.Builder,LaunchTemplateSpecification>
-
builder
public static LaunchTemplateSpecification.Builder builder()
-
serializableBuilderClass
public static Class<? extends LaunchTemplateSpecification.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-