@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteTemplateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DeleteTemplateRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteTemplateRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAwsAccountId()
The ID of the AWS account that contains the template that you're deleting.
|
String |
getTemplateId()
An ID for the template you want to delete.
|
Long |
getVersionNumber()
Specifies the version of the template that you want to delete.
|
int |
hashCode() |
void |
setAwsAccountId(String awsAccountId)
The ID of the AWS account that contains the template that you're deleting.
|
void |
setTemplateId(String templateId)
An ID for the template you want to delete.
|
void |
setVersionNumber(Long versionNumber)
Specifies the version of the template that you want to delete.
|
String |
toString()
Returns a string representation of this object.
|
DeleteTemplateRequest |
withAwsAccountId(String awsAccountId)
The ID of the AWS account that contains the template that you're deleting.
|
DeleteTemplateRequest |
withTemplateId(String templateId)
An ID for the template you want to delete.
|
DeleteTemplateRequest |
withVersionNumber(Long versionNumber)
Specifies the version of the template that you want 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 setAwsAccountId(String awsAccountId)
The ID of the AWS account that contains the template that you're deleting.
awsAccountId
- The ID of the AWS account that contains the template that you're deleting.public String getAwsAccountId()
The ID of the AWS account that contains the template that you're deleting.
public DeleteTemplateRequest withAwsAccountId(String awsAccountId)
The ID of the AWS account that contains the template that you're deleting.
awsAccountId
- The ID of the AWS account that contains the template that you're deleting.public void setTemplateId(String templateId)
An ID for the template you want to delete.
templateId
- An ID for the template you want to delete.public String getTemplateId()
An ID for the template you want to delete.
public DeleteTemplateRequest withTemplateId(String templateId)
An ID for the template you want to delete.
templateId
- An ID for the template you want to delete.public void setVersionNumber(Long versionNumber)
Specifies the version of the template that you want to delete. If you don't provide a version number,
DeleteTemplate
deletes all versions of the template.
versionNumber
- Specifies the version of the template that you want to delete. If you don't provide a version number,
DeleteTemplate
deletes all versions of the template.public Long getVersionNumber()
Specifies the version of the template that you want to delete. If you don't provide a version number,
DeleteTemplate
deletes all versions of the template.
DeleteTemplate
deletes all versions of the template.public DeleteTemplateRequest withVersionNumber(Long versionNumber)
Specifies the version of the template that you want to delete. If you don't provide a version number,
DeleteTemplate
deletes all versions of the template.
versionNumber
- Specifies the version of the template that you want to delete. If you don't provide a version number,
DeleteTemplate
deletes all versions of the template.public String toString()
toString
in class Object
Object.toString()
public DeleteTemplateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()