@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.
|
String |
getSourceVersion()
The version number of the launch template version on which to base the new version.
|
String |
getVersionDescription()
A description for the 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 |
setLaunchTemplateId(String launchTemplateId)
The ID of the launch template.
|
void |
setLaunchTemplateName(String launchTemplateName)
The name of the launch template.
|
void |
setSourceVersion(String sourceVersion)
The version number of the launch template version 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 |
withSourceVersion(String sourceVersion)
The version number of the launch template version 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, withSdkRequestTimeout
public 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 launch template name in the request.
launchTemplateId
- The ID of the launch template. You must specify either the launch template ID or launch template name in
the request.public String getLaunchTemplateId()
The ID of the launch template. You must specify either the launch template ID or launch template name in the request.
public CreateLaunchTemplateVersionRequest withLaunchTemplateId(String launchTemplateId)
The ID of the launch template. You must specify either the launch template ID or launch template name in the request.
launchTemplateId
- The ID of the launch template. You must specify either the launch template ID or launch template name in
the request.public void setLaunchTemplateName(String launchTemplateName)
The name of the launch template. You must specify either the launch template ID or launch template name in the request.
launchTemplateName
- The name of the launch template. You must specify either the launch template ID or launch template name in
the request.public String getLaunchTemplateName()
The name of the launch template. You must specify either the launch template ID or launch template name in the request.
public CreateLaunchTemplateVersionRequest withLaunchTemplateName(String launchTemplateName)
The name of the launch template. You must specify either the launch template ID or launch template name in the request.
launchTemplateName
- The name of the launch template. You must specify either the launch template ID or launch template name in
the request.public void setSourceVersion(String sourceVersion)
The version number of the launch template version on which to base the new version. The new version inherits the
same launch parameters as the source version, except for parameters that you specify in
LaunchTemplateData
. Snapshots applied to the block device mapping are ignored when creating a new
version unless they are explicitly included.
sourceVersion
- The version number of the launch template version on which to base the new version. The new version
inherits the same launch parameters as the source version, except for parameters that you specify in
LaunchTemplateData
. Snapshots applied to the block device mapping are ignored when creating a
new version unless they are explicitly included.public String getSourceVersion()
The version number of the launch template version on which to base the new version. The new version inherits the
same launch parameters as the source version, except for parameters that you specify in
LaunchTemplateData
. Snapshots applied to the block device mapping are ignored when creating a new
version unless they are explicitly included.
LaunchTemplateData
. Snapshots applied to the block device mapping are ignored when creating
a new version unless they are explicitly included.public CreateLaunchTemplateVersionRequest withSourceVersion(String sourceVersion)
The version number of the launch template version on which to base the new version. The new version inherits the
same launch parameters as the source version, except for parameters that you specify in
LaunchTemplateData
. Snapshots applied to the block device mapping are ignored when creating a new
version unless they are explicitly included.
sourceVersion
- The version number of the launch template version on which to base the new version. The new version
inherits the same launch parameters as the source version, except for parameters that you specify in
LaunchTemplateData
. Snapshots applied to the block device mapping are ignored when creating a
new version unless they are explicitly included.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 Request<CreateLaunchTemplateVersionRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CreateLaunchTemplateVersionRequest>
public String toString()
toString
in class Object
Object.toString()
public CreateLaunchTemplateVersionRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2022. All rights reserved.