@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()
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<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 for ImageId , the AMI ID is
displayed in the response for imageID . |
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 for ImageId , the AMI ID is
displayed in the response for imageID . |
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 for ImageId , the AMI ID is
displayed in the response for imageID . |
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 for ImageId , the AMI ID is
displayed in the response for imageID . |
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, 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 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 EC2 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 EC2 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 EC2 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 EC2 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 EC2 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 EC2 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 EC2 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 EC2 User Guide.
Default: false
public Request<CreateLaunchTemplateVersionRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CreateLaunchTemplateVersionRequest>
public String toString()
toString
in class Object
Object.toString()
public CreateLaunchTemplateVersionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()