@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyLaunchTemplateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ModifyLaunchTemplateRequest>
NOOP
Constructor and Description |
---|
ModifyLaunchTemplateRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyLaunchTemplateRequest |
clone() |
boolean |
equals(Object obj) |
String |
getClientToken()
Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
|
String |
getDefaultVersion()
The version number of the launch template to set as the default version.
|
Request<ModifyLaunchTemplateRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getLaunchTemplateId()
The ID of the launch template.
|
String |
getLaunchTemplateName()
The name of the launch template.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
|
void |
setDefaultVersion(String defaultVersion)
The version number of the launch template to set as the default version.
|
void |
setLaunchTemplateId(String launchTemplateId)
The ID of the launch template.
|
void |
setLaunchTemplateName(String launchTemplateName)
The name of the launch template.
|
String |
toString()
Returns a string representation of this object.
|
ModifyLaunchTemplateRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
|
ModifyLaunchTemplateRequest |
withDefaultVersion(String defaultVersion)
The version number of the launch template to set as the default version.
|
ModifyLaunchTemplateRequest |
withLaunchTemplateId(String launchTemplateId)
The ID of the launch template.
|
ModifyLaunchTemplateRequest |
withLaunchTemplateName(String launchTemplateName)
The name 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 ModifyLaunchTemplateRequest 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 ModifyLaunchTemplateRequest 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 ModifyLaunchTemplateRequest 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 setDefaultVersion(String defaultVersion)
The version number of the launch template to set as the default version.
defaultVersion
- The version number of the launch template to set as the default version.public String getDefaultVersion()
The version number of the launch template to set as the default version.
public ModifyLaunchTemplateRequest withDefaultVersion(String defaultVersion)
The version number of the launch template to set as the default version.
defaultVersion
- The version number of the launch template to set as the default version.public Request<ModifyLaunchTemplateRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ModifyLaunchTemplateRequest>
public String toString()
toString
in class Object
Object.toString()
public ModifyLaunchTemplateRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2022. All rights reserved.