@Generated(value="software.amazon.awssdk:codegen") public final class FleetLaunchTemplateSpecificationRequest extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FleetLaunchTemplateSpecificationRequest.Builder,FleetLaunchTemplateSpecificationRequest>
Describes the Amazon EC2 launch template and the launch template version that can be used by an EC2 Fleet to configure Amazon EC2 instances. For information about launch templates, see Launching an instance from a launch template in the Amazon EC2 User Guide.
| Modifier and Type | Class and Description |
|---|---|
static interface |
FleetLaunchTemplateSpecificationRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static FleetLaunchTemplateSpecificationRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
launchTemplateId()
The ID of the launch template.
|
String |
launchTemplateName()
The name of the launch template.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends FleetLaunchTemplateSpecificationRequest.Builder> |
serializableBuilderClass() |
FleetLaunchTemplateSpecificationRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
version()
The launch template version number,
$Latest, or $Default. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String launchTemplateId()
The ID of the launch template. If you specify the template ID, you can't specify the template name.
public final String launchTemplateName()
The name of the launch template. If you specify the template name, you can't specify the template ID.
public final String version()
The launch template version number, $Latest, or $Default. You must specify a value,
otherwise the request fails.
If the value is $Latest, Amazon EC2 uses the latest version of the launch template.
If the value is $Default, Amazon EC2 uses the default version of the launch template.
$Latest, or $Default. You must specify a
value, otherwise the request fails.
If the value is $Latest, Amazon EC2 uses the latest version of the launch template.
If the value is $Default, Amazon EC2 uses the default version of the launch template.
public FleetLaunchTemplateSpecificationRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<FleetLaunchTemplateSpecificationRequest.Builder,FleetLaunchTemplateSpecificationRequest>public static FleetLaunchTemplateSpecificationRequest.Builder builder()
public static Class<? extends FleetLaunchTemplateSpecificationRequest.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.