Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.cloudformation.model
Class GetTemplateRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.cloudformation.model.GetTemplateRequest
All Implemented Interfaces:
Serializable

public class GetTemplateRequest
extends AmazonWebServiceRequest
implements Serializable

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.

See Also:
AmazonCloudFormation.getTemplate(GetTemplateRequest), Serialized Form

Constructor 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

GetTemplateRequest

public GetTemplateRequest()
Method Detail

getStackName

public String getStackName()
The name or the unique identifier associated with the stack.

Returns:
The name or the unique identifier associated with the stack.

setStackName

public void setStackName(String stackName)
The name or the unique identifier associated with the stack.

Parameters:
stackName - The name or the unique identifier associated with the stack.

withStackName

public GetTemplateRequest withStackName(String stackName)
The name or the unique identifier associated with the stack.

Returns a reference to this object so that method calls can be chained together.

Parameters:
stackName - The name or the unique identifier associated with the stack.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.