@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeTemplateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeTemplateRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeTemplateRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAliasName()
The alias of the template that you want to describe.
|
String |
getAwsAccountId()
The ID of the Amazon Web Services account that contains the template that you're describing.
|
String |
getTemplateId()
The ID for the template.
|
Long |
getVersionNumber()
(Optional) The number for the version to describe.
|
int |
hashCode() |
void |
setAliasName(String aliasName)
The alias of the template that you want to describe.
|
void |
setAwsAccountId(String awsAccountId)
The ID of the Amazon Web Services account that contains the template that you're describing.
|
void |
setTemplateId(String templateId)
The ID for the template.
|
void |
setVersionNumber(Long versionNumber)
(Optional) The number for the version to describe.
|
String |
toString()
Returns a string representation of this object.
|
DescribeTemplateRequest |
withAliasName(String aliasName)
The alias of the template that you want to describe.
|
DescribeTemplateRequest |
withAwsAccountId(String awsAccountId)
The ID of the Amazon Web Services account that contains the template that you're describing.
|
DescribeTemplateRequest |
withTemplateId(String templateId)
The ID for the template.
|
DescribeTemplateRequest |
withVersionNumber(Long versionNumber)
(Optional) The number for the version to describe.
|
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 Amazon Web Services account that contains the template that you're describing.
awsAccountId
- The ID of the Amazon Web Services account that contains the template that you're describing.public String getAwsAccountId()
The ID of the Amazon Web Services account that contains the template that you're describing.
public DescribeTemplateRequest withAwsAccountId(String awsAccountId)
The ID of the Amazon Web Services account that contains the template that you're describing.
awsAccountId
- The ID of the Amazon Web Services account that contains the template that you're describing.public void setTemplateId(String templateId)
The ID for the template.
templateId
- The ID for the template.public String getTemplateId()
The ID for the template.
public DescribeTemplateRequest withTemplateId(String templateId)
The ID for the template.
templateId
- The ID for the template.public void setVersionNumber(Long versionNumber)
(Optional) The number for the version to describe. If a VersionNumber
parameter value isn't
provided, the latest version of the template is described.
versionNumber
- (Optional) The number for the version to describe. If a VersionNumber
parameter value isn't
provided, the latest version of the template is described.public Long getVersionNumber()
(Optional) The number for the version to describe. If a VersionNumber
parameter value isn't
provided, the latest version of the template is described.
VersionNumber
parameter value isn't
provided, the latest version of the template is described.public DescribeTemplateRequest withVersionNumber(Long versionNumber)
(Optional) The number for the version to describe. If a VersionNumber
parameter value isn't
provided, the latest version of the template is described.
versionNumber
- (Optional) The number for the version to describe. If a VersionNumber
parameter value isn't
provided, the latest version of the template is described.public void setAliasName(String aliasName)
The alias of the template that you want to describe. If you name a specific alias, you describe the version that
the alias points to. You can specify the latest version of the template by providing the keyword
$LATEST
in the AliasName
parameter. The keyword $PUBLISHED
doesn't apply
to templates.
aliasName
- The alias of the template that you want to describe. If you name a specific alias, you describe the
version that the alias points to. You can specify the latest version of the template by providing the
keyword $LATEST
in the AliasName
parameter. The keyword $PUBLISHED
doesn't apply to templates.public String getAliasName()
The alias of the template that you want to describe. If you name a specific alias, you describe the version that
the alias points to. You can specify the latest version of the template by providing the keyword
$LATEST
in the AliasName
parameter. The keyword $PUBLISHED
doesn't apply
to templates.
$LATEST
in the AliasName
parameter. The keyword $PUBLISHED
doesn't apply to templates.public DescribeTemplateRequest withAliasName(String aliasName)
The alias of the template that you want to describe. If you name a specific alias, you describe the version that
the alias points to. You can specify the latest version of the template by providing the keyword
$LATEST
in the AliasName
parameter. The keyword $PUBLISHED
doesn't apply
to templates.
aliasName
- The alias of the template that you want to describe. If you name a specific alias, you describe the
version that the alias points to. You can specify the latest version of the template by providing the
keyword $LATEST
in the AliasName
parameter. The keyword $PUBLISHED
doesn't apply to templates.public String toString()
toString
in class Object
Object.toString()
public DescribeTemplateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()