@Generated(value="software.amazon.awssdk:codegen") public final class LaunchTemplateSpecification extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LaunchTemplateSpecification.Builder,LaunchTemplateSpecification>
An object representing a node group launch template specification. The launch template cannot include SubnetId
,
IamInstanceProfile ,
RequestSpotInstances ,
HibernationOptions , or
TerminateInstances , or the node group deployment or update will fail. For more information about
launch templates, see
CreateLaunchTemplate in the Amazon EC2 API Reference. For more information about using launch
templates with Amazon EKS, see Launch template support in the
Amazon EKS User Guide.
Specify either name or id, but not both.
| 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The ID of the launch template.
|
String |
name()
The name of the launch template.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LaunchTemplateSpecification.Builder> |
serializableBuilderClass() |
LaunchTemplateSpecification.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
version()
The version of the launch template to use.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the launch template.
public final String version()
The version of the launch template to use. If no version is specified, then the template's default version is used.
public final String id()
The ID of the launch template.
public LaunchTemplateSpecification.Builder toBuilder()
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)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.