@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteLaunchTemplateVersionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DeleteLaunchTemplateVersionsRequest>
NOOP
Constructor and Description |
---|
DeleteLaunchTemplateVersionsRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteLaunchTemplateVersionsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<DeleteLaunchTemplateVersionsRequest> |
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.
|
List<String> |
getVersions()
The version numbers of one or more launch template versions to delete.
|
int |
hashCode() |
void |
setLaunchTemplateId(String launchTemplateId)
The ID of the launch template.
|
void |
setLaunchTemplateName(String launchTemplateName)
The name of the launch template.
|
void |
setVersions(Collection<String> versions)
The version numbers of one or more launch template versions to delete.
|
String |
toString()
Returns a string representation of this object.
|
DeleteLaunchTemplateVersionsRequest |
withLaunchTemplateId(String launchTemplateId)
The ID of the launch template.
|
DeleteLaunchTemplateVersionsRequest |
withLaunchTemplateName(String launchTemplateName)
The name of the launch template.
|
DeleteLaunchTemplateVersionsRequest |
withVersions(Collection<String> versions)
The version numbers of one or more launch template versions to delete.
|
DeleteLaunchTemplateVersionsRequest |
withVersions(String... versions)
The version numbers of one or more launch template versions to delete.
|
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 setLaunchTemplateId(String launchTemplateId)
The ID of the launch template.
You must specify either the LaunchTemplateId
or the LaunchTemplateName
, but not both.
launchTemplateId
- The ID of the launch template.
You must specify either the LaunchTemplateId
or the LaunchTemplateName
, but not
both.
public String getLaunchTemplateId()
The ID of the launch template.
You must specify either the LaunchTemplateId
or the LaunchTemplateName
, but not both.
You must specify either the LaunchTemplateId
or the LaunchTemplateName
, but not
both.
public DeleteLaunchTemplateVersionsRequest withLaunchTemplateId(String launchTemplateId)
The ID of the launch template.
You must specify either the LaunchTemplateId
or the LaunchTemplateName
, but not both.
launchTemplateId
- The ID of the launch template.
You must specify either the LaunchTemplateId
or the LaunchTemplateName
, but not
both.
public void setLaunchTemplateName(String launchTemplateName)
The name of the launch template.
You must specify either the LaunchTemplateName
or the LaunchTemplateId
, but not both.
launchTemplateName
- The name of the launch template.
You must specify either the LaunchTemplateName
or the LaunchTemplateId
, but not
both.
public String getLaunchTemplateName()
The name of the launch template.
You must specify either the LaunchTemplateName
or the LaunchTemplateId
, but not both.
You must specify either the LaunchTemplateName
or the LaunchTemplateId
, but not
both.
public DeleteLaunchTemplateVersionsRequest withLaunchTemplateName(String launchTemplateName)
The name of the launch template.
You must specify either the LaunchTemplateName
or the LaunchTemplateId
, but not both.
launchTemplateName
- The name of the launch template.
You must specify either the LaunchTemplateName
or the LaunchTemplateId
, but not
both.
public List<String> getVersions()
The version numbers of one or more launch template versions to delete.
public void setVersions(Collection<String> versions)
The version numbers of one or more launch template versions to delete.
versions
- The version numbers of one or more launch template versions to delete.public DeleteLaunchTemplateVersionsRequest withVersions(String... versions)
The version numbers of one or more launch template versions to delete.
NOTE: This method appends the values to the existing list (if any). Use
setVersions(java.util.Collection)
or withVersions(java.util.Collection)
if you want to override
the existing values.
versions
- The version numbers of one or more launch template versions to delete.public DeleteLaunchTemplateVersionsRequest withVersions(Collection<String> versions)
The version numbers of one or more launch template versions to delete.
versions
- The version numbers of one or more launch template versions to delete.public Request<DeleteLaunchTemplateVersionsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DeleteLaunchTemplateVersionsRequest>
public String toString()
toString
in class Object
Object.toString()
public DeleteLaunchTemplateVersionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()