@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeTemplateResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeTemplateResult() |
Modifier and Type | Method and Description |
---|---|
DescribeTemplateResult |
clone() |
boolean |
equals(Object obj) |
String |
getRequestId()
The Amazon Web Services request ID for this operation.
|
Integer |
getStatus()
The HTTP status of the request.
|
Template |
getTemplate()
The template structure for the object you want to describe.
|
int |
hashCode() |
void |
setRequestId(String requestId)
The Amazon Web Services request ID for this operation.
|
void |
setStatus(Integer status)
The HTTP status of the request.
|
void |
setTemplate(Template template)
The template structure for the object you want to describe.
|
String |
toString()
Returns a string representation of this object.
|
DescribeTemplateResult |
withRequestId(String requestId)
The Amazon Web Services request ID for this operation.
|
DescribeTemplateResult |
withStatus(Integer status)
The HTTP status of the request.
|
DescribeTemplateResult |
withTemplate(Template template)
The template structure for the object you want to describe.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setTemplate(Template template)
The template structure for the object you want to describe.
template
- The template structure for the object you want to describe.public Template getTemplate()
The template structure for the object you want to describe.
public DescribeTemplateResult withTemplate(Template template)
The template structure for the object you want to describe.
template
- The template structure for the object you want to describe.public void setStatus(Integer status)
The HTTP status of the request.
status
- The HTTP status of the request.public Integer getStatus()
The HTTP status of the request.
public DescribeTemplateResult withStatus(Integer status)
The HTTP status of the request.
status
- The HTTP status of the request.public void setRequestId(String requestId)
The Amazon Web Services request ID for this operation.
requestId
- The Amazon Web Services request ID for this operation.public String getRequestId()
The Amazon Web Services request ID for this operation.
public DescribeTemplateResult withRequestId(String requestId)
The Amazon Web Services request ID for this operation.
requestId
- The Amazon Web Services request ID for this operation.public String toString()
toString
in class Object
Object.toString()
public DescribeTemplateResult clone()