public class GetTemplateRequest extends AmazonWebServiceRequest implements Serializable
GetTemplate operation
.
Returns the template body for a specified stack. 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.
NOOP
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, which are
not always interchangeable: Running stacks: You can specify
either the stack's name or its unique stack ID. Deleted
stacks: You must specify the unique stack ID.
|
int |
hashCode() |
void |
setStackName(String stackName)
The name or the unique identifier associated with the stack, which are
not always interchangeable: Running stacks: You can specify
either the stack's name or its unique stack ID. Deleted
stacks: You must specify the unique stack ID.
|
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, which are
not always interchangeable: Running stacks: You can specify
either the stack's name or its unique stack ID. Deleted
stacks: You must specify the unique stack ID.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getStackName()
Default: There is no default value.
Default: There is no default value.
public void setStackName(String stackName)
Default: There is no default value.
stackName
- The name or the unique identifier associated with the stack, which are
not always interchangeable: Default: There is no default value.
public GetTemplateRequest withStackName(String stackName)
Default: There is no default value.
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, which are
not always interchangeable: Default: There is no default value.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.