|
Did this page help you?Yes No Tell us about it... |
||||||
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 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.
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. |
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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GetTemplateRequest()
Method Detail |
---|
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()
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 |