|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.cloudformation.model.GetTemplateRequest
public class GetTemplateRequest
Container for the parameters to the 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.
AmazonCloudFormation.getTemplate(GetTemplateRequest)
,
Serialized FormConstructor Summary | |
---|---|
GetTemplateRequest()
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GetTemplateRequest()
Method Detail |
---|
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()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |