@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateLaunchTemplateVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CreateLaunchTemplateVersionRequest>
NOOP| Constructor and Description | 
|---|
| CreateLaunchTemplateVersionRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| CreateLaunchTemplateVersionRequest | clone() | 
| boolean | equals(Object obj) | 
| String | getClientToken()
 Unique, case-sensitive identifier you provide to ensure the idempotency of the request. | 
| Request<CreateLaunchTemplateVersionRequest> | getDryRunRequest()This method is intended for internal use only. | 
| RequestLaunchTemplateData | getLaunchTemplateData()
 The information for the launch template. | 
| String | getLaunchTemplateId()
 The ID of the launch template. | 
| String | getLaunchTemplateName()
 The name of the launch template. | 
| Boolean | getResolveAlias()
 If  true, and if a Systems Manager parameter is specified forImageId, the AMI ID is
 displayed in the response forimageID. | 
| String | getSourceVersion()
 The version of the launch template on which to base the new version. | 
| String | getVersionDescription()
 A description for the version of the launch template. | 
| int | hashCode() | 
| Boolean | isResolveAlias()
 If  true, and if a Systems Manager parameter is specified forImageId, the AMI ID is
 displayed in the response forimageID. | 
| 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 | setLaunchTemplateId(String launchTemplateId)
 The ID of the launch template. | 
| void | setLaunchTemplateName(String launchTemplateName)
 The name of the launch template. | 
| void | setResolveAlias(Boolean resolveAlias)
 If  true, and if a Systems Manager parameter is specified forImageId, the AMI ID is
 displayed in the response forimageID. | 
| void | setSourceVersion(String sourceVersion)
 The version of the launch template on which to base the new version. | 
| void | setVersionDescription(String versionDescription)
 A description for the version of the launch template. | 
| String | toString()Returns a string representation of this object. | 
| CreateLaunchTemplateVersionRequest | withClientToken(String clientToken)
 Unique, case-sensitive identifier you provide to ensure the idempotency of the request. | 
| CreateLaunchTemplateVersionRequest | withLaunchTemplateData(RequestLaunchTemplateData launchTemplateData)
 The information for the launch template. | 
| CreateLaunchTemplateVersionRequest | withLaunchTemplateId(String launchTemplateId)
 The ID of the launch template. | 
| CreateLaunchTemplateVersionRequest | withLaunchTemplateName(String launchTemplateName)
 The name of the launch template. | 
| CreateLaunchTemplateVersionRequest | withResolveAlias(Boolean resolveAlias)
 If  true, and if a Systems Manager parameter is specified forImageId, the AMI ID is
 displayed in the response forimageID. | 
| CreateLaunchTemplateVersionRequest | withSourceVersion(String sourceVersion)
 The version of the launch template on which to base the new version. | 
| CreateLaunchTemplateVersionRequest | withVersionDescription(String versionDescription)
 A description for the version of the launch template. | 
addHandlerContext, copyBaseTo, 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 CreateLaunchTemplateVersionRequest 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 setLaunchTemplateId(String launchTemplateId)
The ID of the launch template.
You must specify either the launch template ID or the launch template name, but not both.
launchTemplateId - The ID of the launch template.
        You must specify either the launch template ID or the launch template name, but not both.
public String getLaunchTemplateId()
The ID of the launch template.
You must specify either the launch template ID or the launch template name, but not both.
You must specify either the launch template ID or the launch template name, but not both.
public CreateLaunchTemplateVersionRequest withLaunchTemplateId(String launchTemplateId)
The ID of the launch template.
You must specify either the launch template ID or the launch template name, but not both.
launchTemplateId - The ID of the launch template.
        You must specify either the launch template ID or the launch template name, but not both.
public void setLaunchTemplateName(String launchTemplateName)
The name of the launch template.
You must specify either the launch template ID or the launch template name, but not both.
launchTemplateName - The name of the launch template.
        You must specify either the launch template ID or the launch template name, but not both.
public String getLaunchTemplateName()
The name of the launch template.
You must specify either the launch template ID or the launch template name, but not both.
You must specify either the launch template ID or the launch template name, but not both.
public CreateLaunchTemplateVersionRequest withLaunchTemplateName(String launchTemplateName)
The name of the launch template.
You must specify either the launch template ID or the launch template name, but not both.
launchTemplateName - The name of the launch template.
        You must specify either the launch template ID or the launch template name, but not both.
public void setSourceVersion(String sourceVersion)
The version of the launch template on which to base the new version. Snapshots applied to the block device mapping are ignored when creating a new version unless they are explicitly included.
If you specify this parameter, the new version inherits the launch parameters from the source version. If you specify additional launch parameters for the new version, they overwrite any corresponding launch parameters inherited from the source version.
If you omit this parameter, the new version contains only the launch parameters that you specify for the new version.
sourceVersion - The version of the launch template on which to base the new version. Snapshots applied to the block device
        mapping are ignored when creating a new version unless they are explicitly included.
        If you specify this parameter, the new version inherits the launch parameters from the source version. If you specify additional launch parameters for the new version, they overwrite any corresponding launch parameters inherited from the source version.
If you omit this parameter, the new version contains only the launch parameters that you specify for the new version.
public String getSourceVersion()
The version of the launch template on which to base the new version. Snapshots applied to the block device mapping are ignored when creating a new version unless they are explicitly included.
If you specify this parameter, the new version inherits the launch parameters from the source version. If you specify additional launch parameters for the new version, they overwrite any corresponding launch parameters inherited from the source version.
If you omit this parameter, the new version contains only the launch parameters that you specify for the new version.
If you specify this parameter, the new version inherits the launch parameters from the source version. If you specify additional launch parameters for the new version, they overwrite any corresponding launch parameters inherited from the source version.
If you omit this parameter, the new version contains only the launch parameters that you specify for the new version.
public CreateLaunchTemplateVersionRequest withSourceVersion(String sourceVersion)
The version of the launch template on which to base the new version. Snapshots applied to the block device mapping are ignored when creating a new version unless they are explicitly included.
If you specify this parameter, the new version inherits the launch parameters from the source version. If you specify additional launch parameters for the new version, they overwrite any corresponding launch parameters inherited from the source version.
If you omit this parameter, the new version contains only the launch parameters that you specify for the new version.
sourceVersion - The version of the launch template on which to base the new version. Snapshots applied to the block device
        mapping are ignored when creating a new version unless they are explicitly included.
        If you specify this parameter, the new version inherits the launch parameters from the source version. If you specify additional launch parameters for the new version, they overwrite any corresponding launch parameters inherited from the source version.
If you omit this parameter, the new version contains only the launch parameters that you specify for the new version.
public void setVersionDescription(String versionDescription)
A description for the version of the launch template.
versionDescription - A description for the version of the launch template.public String getVersionDescription()
A description for the version of the launch template.
public CreateLaunchTemplateVersionRequest withVersionDescription(String versionDescription)
A description for the version of the launch template.
versionDescription - A description for the 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 CreateLaunchTemplateVersionRequest withLaunchTemplateData(RequestLaunchTemplateData launchTemplateData)
The information for the launch template.
launchTemplateData - The information for the launch template.public void setResolveAlias(Boolean resolveAlias)
 If true, and if a Systems Manager parameter is specified for ImageId, the AMI ID is
 displayed in the response for imageID. For more information, see Use a Systems Manager parameter instead of an AMI ID in the Amazon Elastic Compute Cloud User Guide.
 
 Default: false
 
resolveAlias - If true, and if a Systems Manager parameter is specified for ImageId, the AMI ID
        is displayed in the response for imageID. For more information, see Use a Systems Manager parameter instead of an AMI ID in the Amazon Elastic Compute Cloud User
        Guide.
        
        Default: false
public Boolean getResolveAlias()
 If true, and if a Systems Manager parameter is specified for ImageId, the AMI ID is
 displayed in the response for imageID. For more information, see Use a Systems Manager parameter instead of an AMI ID in the Amazon Elastic Compute Cloud User Guide.
 
 Default: false
 
true, and if a Systems Manager parameter is specified for ImageId, the AMI
         ID is displayed in the response for imageID. For more information, see Use a Systems Manager parameter instead of an AMI ID in the Amazon Elastic Compute Cloud User
         Guide.
         
         Default: false
public CreateLaunchTemplateVersionRequest withResolveAlias(Boolean resolveAlias)
 If true, and if a Systems Manager parameter is specified for ImageId, the AMI ID is
 displayed in the response for imageID. For more information, see Use a Systems Manager parameter instead of an AMI ID in the Amazon Elastic Compute Cloud User Guide.
 
 Default: false
 
resolveAlias - If true, and if a Systems Manager parameter is specified for ImageId, the AMI ID
        is displayed in the response for imageID. For more information, see Use a Systems Manager parameter instead of an AMI ID in the Amazon Elastic Compute Cloud User
        Guide.
        
        Default: false
public Boolean isResolveAlias()
 If true, and if a Systems Manager parameter is specified for ImageId, the AMI ID is
 displayed in the response for imageID. For more information, see Use a Systems Manager parameter instead of an AMI ID in the Amazon Elastic Compute Cloud User Guide.
 
 Default: false
 
true, and if a Systems Manager parameter is specified for ImageId, the AMI
         ID is displayed in the response for imageID. For more information, see Use a Systems Manager parameter instead of an AMI ID in the Amazon Elastic Compute Cloud User
         Guide.
         
         Default: false
public Request<CreateLaunchTemplateVersionRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<CreateLaunchTemplateVersionRequest>public String toString()
toString in class ObjectObject.toString()public CreateLaunchTemplateVersionRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2024. All rights reserved.