@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetTemplateResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The output for GetTemplate action.
Constructor and Description |
---|
GetTemplateResult() |
Modifier and Type | Method and Description |
---|---|
GetTemplateResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getStagesAvailable()
The stage of the template that you can retrieve.
|
String |
getTemplateBody()
Structure containing the template body.
|
int |
hashCode() |
void |
setStagesAvailable(Collection<String> stagesAvailable)
The stage of the template that you can retrieve.
|
void |
setTemplateBody(String templateBody)
Structure containing the template body.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetTemplateResult |
withStagesAvailable(Collection<String> stagesAvailable)
The stage of the template that you can retrieve.
|
GetTemplateResult |
withStagesAvailable(String... stagesAvailable)
The stage of the template that you can retrieve.
|
GetTemplateResult |
withStagesAvailable(TemplateStage... stagesAvailable)
The stage of the template that you can retrieve.
|
GetTemplateResult |
withTemplateBody(String templateBody)
Structure containing the template body.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setTemplateBody(String templateBody)
Structure containing the template body. (For more information, go to Template Anatomy in the AWS CloudFormation User Guide.)
AWS CloudFormation returns the same template that was used when the stack was created.
templateBody
- Structure containing the template body. (For more information, go to Template
Anatomy in the AWS CloudFormation User Guide.)
AWS CloudFormation returns the same template that was used when the stack was created.
public String getTemplateBody()
Structure containing the template body. (For more information, go to Template Anatomy in the AWS CloudFormation User Guide.)
AWS CloudFormation returns the same template that was used when the stack was created.
AWS CloudFormation returns the same template that was used when the stack was created.
public GetTemplateResult withTemplateBody(String templateBody)
Structure containing the template body. (For more information, go to Template Anatomy in the AWS CloudFormation User Guide.)
AWS CloudFormation returns the same template that was used when the stack was created.
templateBody
- Structure containing the template body. (For more information, go to Template
Anatomy in the AWS CloudFormation User Guide.)
AWS CloudFormation returns the same template that was used when the stack was created.
public List<String> getStagesAvailable()
The stage of the template that you can retrieve. For stacks, the Original
and Processed
templates are always available. For change sets, the Original
template is always available. After
AWS CloudFormation finishes creating the change set, the Processed
template becomes available.
Original
and
Processed
templates are always available. For change sets, the Original
template is always available. After AWS CloudFormation finishes creating the change set, the
Processed
template becomes available.TemplateStage
public void setStagesAvailable(Collection<String> stagesAvailable)
The stage of the template that you can retrieve. For stacks, the Original
and Processed
templates are always available. For change sets, the Original
template is always available. After
AWS CloudFormation finishes creating the change set, the Processed
template becomes available.
stagesAvailable
- The stage of the template that you can retrieve. For stacks, the Original
and
Processed
templates are always available. For change sets, the Original
template
is always available. After AWS CloudFormation finishes creating the change set, the Processed
template becomes available.TemplateStage
public GetTemplateResult withStagesAvailable(String... stagesAvailable)
The stage of the template that you can retrieve. For stacks, the Original
and Processed
templates are always available. For change sets, the Original
template is always available. After
AWS CloudFormation finishes creating the change set, the Processed
template becomes available.
NOTE: This method appends the values to the existing list (if any). Use
setStagesAvailable(java.util.Collection)
or withStagesAvailable(java.util.Collection)
if you
want to override the existing values.
stagesAvailable
- The stage of the template that you can retrieve. For stacks, the Original
and
Processed
templates are always available. For change sets, the Original
template
is always available. After AWS CloudFormation finishes creating the change set, the Processed
template becomes available.TemplateStage
public GetTemplateResult withStagesAvailable(Collection<String> stagesAvailable)
The stage of the template that you can retrieve. For stacks, the Original
and Processed
templates are always available. For change sets, the Original
template is always available. After
AWS CloudFormation finishes creating the change set, the Processed
template becomes available.
stagesAvailable
- The stage of the template that you can retrieve. For stacks, the Original
and
Processed
templates are always available. For change sets, the Original
template
is always available. After AWS CloudFormation finishes creating the change set, the Processed
template becomes available.TemplateStage
public GetTemplateResult withStagesAvailable(TemplateStage... stagesAvailable)
The stage of the template that you can retrieve. For stacks, the Original
and Processed
templates are always available. For change sets, the Original
template is always available. After
AWS CloudFormation finishes creating the change set, the Processed
template becomes available.
stagesAvailable
- The stage of the template that you can retrieve. For stacks, the Original
and
Processed
templates are always available. For change sets, the Original
template
is always available. After AWS CloudFormation finishes creating the change set, the Processed
template becomes available.TemplateStage
public String toString()
toString
in class Object
Object.toString()
public GetTemplateResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.