public class GetTemplateRequest extends AmazonWebServiceRequest implements Serializable
GetTemplate operation
.
Returns the template body for a specified stack name. You can get the template for running or deleted stacks.
For deleted stacks, GetTemplate returns the template for up to 90 days after the stack has been deleted.
NOTE: If the template does not exist, a ValidationError is returned.
Constructor and Description |
---|
GetTemplateRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getStackName()
The name or the unique identifier associated with the stack.
|
int |
hashCode() |
void |
setStackName(String stackName)
The name or the unique identifier associated with the stack.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetTemplateRequest |
withStackName(String stackName)
The name or the unique identifier associated with the stack.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public String getStackName()
public void setStackName(String stackName)
stackName
- The name or the unique identifier associated with the stack.public GetTemplateRequest withStackName(String stackName)
Returns a reference to this object so that method calls can be chained together.
stackName
- The name or the unique identifier associated with the stack.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.