com.amazonaws.services.cloudformation.model
Class GetTemplateRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.cloudformation.model.GetTemplateRequest

public class GetTemplateRequest
extends AmazonWebServiceRequest

Container for the parameters to the GetTemplate operation.

Returns the template body for a specified stack name.

NOTE: If the template does not exist, a ValidationError is returned.

See Also:
AmazonCloudFormation.getTemplate(GetTemplateRequest)

Constructor Summary
GetTemplateRequest()
           
 
Method Summary
 String getStackName()
          The name or the unique identifier associated with the stack.
 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
equals, getClass, hashCode, 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()


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