public class GetTemplateRequest extends AmazonWebServiceRequest implements java.io.Serializable
Displays the template object (which includes the Subject line, HTML part and text part) for the template you specify.
You can execute this operation no more than once per second.
Constructor and Description |
---|
GetTemplateRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getTemplateName()
The name of the template you want to retrieve.
|
int |
hashCode() |
void |
setTemplateName(java.lang.String templateName)
The name of the template you want to retrieve.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetTemplateRequest |
withTemplateName(java.lang.String templateName)
The name of the template you want to retrieve.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getTemplateName()
The name of the template you want to retrieve.
The name of the template you want to retrieve.
public void setTemplateName(java.lang.String templateName)
The name of the template you want to retrieve.
templateName
- The name of the template you want to retrieve.
public GetTemplateRequest withTemplateName(java.lang.String templateName)
The name of the template you want to retrieve.
Returns a reference to this object so that method calls can be chained together.
templateName
- The name of the template you want to retrieve.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.