@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateLaunchTemplateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CreateLaunchTemplateRequest>
NOOP| Constructor and Description | 
|---|
| CreateLaunchTemplateRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| CreateLaunchTemplateRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| String | getClientToken()
 Unique, case-sensitive identifier you provide to ensure the idempotency of the request. | 
| Request<CreateLaunchTemplateRequest> | getDryRunRequest()This method is intended for internal use only. | 
| RequestLaunchTemplateData | getLaunchTemplateData()
 The information for the launch template. | 
| String | getLaunchTemplateName()
 A name for the launch template. | 
| List<TagSpecification> | getTagSpecifications()
 The tags to apply to the launch template on creation. | 
| String | getVersionDescription()
 A description for the first version of the launch template. | 
| int | hashCode() | 
| void | setClientToken(String clientToken)
 Unique, case-sensitive identifier you provide to ensure the idempotency of the request. | 
| void | setLaunchTemplateData(RequestLaunchTemplateData launchTemplateData)
 The information for the launch template. | 
| void | setLaunchTemplateName(String launchTemplateName)
 A name for the launch template. | 
| void | setTagSpecifications(Collection<TagSpecification> tagSpecifications)
 The tags to apply to the launch template on creation. | 
| void | setVersionDescription(String versionDescription)
 A description for the first version of the launch template. | 
| String | toString()Returns a string representation of this object. | 
| CreateLaunchTemplateRequest | withClientToken(String clientToken)
 Unique, case-sensitive identifier you provide to ensure the idempotency of the request. | 
| CreateLaunchTemplateRequest | withLaunchTemplateData(RequestLaunchTemplateData launchTemplateData)
 The information for the launch template. | 
| CreateLaunchTemplateRequest | withLaunchTemplateName(String launchTemplateName)
 A name for the launch template. | 
| CreateLaunchTemplateRequest | withTagSpecifications(Collection<TagSpecification> tagSpecifications)
 The tags to apply to the launch template on creation. | 
| CreateLaunchTemplateRequest | withTagSpecifications(TagSpecification... tagSpecifications)
 The tags to apply to the launch template on creation. | 
| CreateLaunchTemplateRequest | withVersionDescription(String versionDescription)
 A description for the first version of the launch template. | 
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
Constraint: Maximum 128 ASCII characters.
clientToken - Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more
        information, see Ensuring
        idempotency.
        Constraint: Maximum 128 ASCII characters.
public String getClientToken()
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
Constraint: Maximum 128 ASCII characters.
Constraint: Maximum 128 ASCII characters.
public CreateLaunchTemplateRequest withClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
Constraint: Maximum 128 ASCII characters.
clientToken - Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more
        information, see Ensuring
        idempotency.
        Constraint: Maximum 128 ASCII characters.
public void setLaunchTemplateName(String launchTemplateName)
A name for the launch template.
launchTemplateName - A name for the launch template.public String getLaunchTemplateName()
A name for the launch template.
public CreateLaunchTemplateRequest withLaunchTemplateName(String launchTemplateName)
A name for the launch template.
launchTemplateName - A name for the launch template.public void setVersionDescription(String versionDescription)
A description for the first version of the launch template.
versionDescription - A description for the first version of the launch template.public String getVersionDescription()
A description for the first version of the launch template.
public CreateLaunchTemplateRequest withVersionDescription(String versionDescription)
A description for the first version of the launch template.
versionDescription - A description for the first version of the launch template.public void setLaunchTemplateData(RequestLaunchTemplateData launchTemplateData)
The information for the launch template.
launchTemplateData - The information for the launch template.public RequestLaunchTemplateData getLaunchTemplateData()
The information for the launch template.
public CreateLaunchTemplateRequest withLaunchTemplateData(RequestLaunchTemplateData launchTemplateData)
The information for the launch template.
launchTemplateData - The information for the launch template.public List<TagSpecification> getTagSpecifications()
 The tags to apply to the launch template on creation. To tag the launch template, the resource type must be
 launch-template.
 
 To specify the tags for the resources that are created when an instance is launched, you must use the
 TagSpecifications parameter in the launch template
 data structure.
 
launch-template.
         
         To specify the tags for the resources that are created when an instance is launched, you must use the
         TagSpecifications parameter in the launch
         template data structure.
public void setTagSpecifications(Collection<TagSpecification> tagSpecifications)
 The tags to apply to the launch template on creation. To tag the launch template, the resource type must be
 launch-template.
 
 To specify the tags for the resources that are created when an instance is launched, you must use the
 TagSpecifications parameter in the launch template
 data structure.
 
tagSpecifications - The tags to apply to the launch template on creation. To tag the launch template, the resource type must
        be launch-template.
        
        To specify the tags for the resources that are created when an instance is launched, you must use the
        TagSpecifications parameter in the launch
        template data structure.
public CreateLaunchTemplateRequest withTagSpecifications(TagSpecification... tagSpecifications)
 The tags to apply to the launch template on creation. To tag the launch template, the resource type must be
 launch-template.
 
 To specify the tags for the resources that are created when an instance is launched, you must use the
 TagSpecifications parameter in the launch template
 data structure.
 
 NOTE: This method appends the values to the existing list (if any). Use
 setTagSpecifications(java.util.Collection) or withTagSpecifications(java.util.Collection) if
 you want to override the existing values.
 
tagSpecifications - The tags to apply to the launch template on creation. To tag the launch template, the resource type must
        be launch-template.
        
        To specify the tags for the resources that are created when an instance is launched, you must use the
        TagSpecifications parameter in the launch
        template data structure.
public CreateLaunchTemplateRequest withTagSpecifications(Collection<TagSpecification> tagSpecifications)
 The tags to apply to the launch template on creation. To tag the launch template, the resource type must be
 launch-template.
 
 To specify the tags for the resources that are created when an instance is launched, you must use the
 TagSpecifications parameter in the launch template
 data structure.
 
tagSpecifications - The tags to apply to the launch template on creation. To tag the launch template, the resource type must
        be launch-template.
        
        To specify the tags for the resources that are created when an instance is launched, you must use the
        TagSpecifications parameter in the launch
        template data structure.
public Request<CreateLaunchTemplateRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<CreateLaunchTemplateRequest>public String toString()
toString in class ObjectObject.toString()public CreateLaunchTemplateRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()