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 template type.
|
String |
getTemplateBody()
Structure containing the template body.
|
int |
hashCode() |
void |
setStagesAvailable(Collection<String> stagesAvailable)
The template type.
|
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 template type.
|
GetTemplateResult |
withStagesAvailable(String... stagesAvailable)
The template type.
|
GetTemplateResult |
withStagesAvailable(TemplateStage... stagesAvailable)
The template type.
|
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 template type.
For stacks, you can use either the Original
or the Processed
template type.
For change sets, you can use only the Original
template type. After the transforms are processed,
you can use the Processed
template type.
If you create a change set for a new stack, you must select the template type.
For stacks, you can use either the Original
or the Processed
template type.
For change sets, you can use only the Original
template type. After the transforms are
processed, you can use the Processed
template type.
If you create a change set for a new stack, you must select the template type.
TemplateStage
public void setStagesAvailable(Collection<String> stagesAvailable)
The template type.
For stacks, you can use either the Original
or the Processed
template type.
For change sets, you can use only the Original
template type. After the transforms are processed,
you can use the Processed
template type.
If you create a change set for a new stack, you must select the template type.
stagesAvailable
- The template type.
For stacks, you can use either the Original
or the Processed
template type.
For change sets, you can use only the Original
template type. After the transforms are
processed, you can use the Processed
template type.
If you create a change set for a new stack, you must select the template type.
TemplateStage
public GetTemplateResult withStagesAvailable(String... stagesAvailable)
The template type.
For stacks, you can use either the Original
or the Processed
template type.
For change sets, you can use only the Original
template type. After the transforms are processed,
you can use the Processed
template type.
If you create a change set for a new stack, you must select the template type.
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 template type.
For stacks, you can use either the Original
or the Processed
template type.
For change sets, you can use only the Original
template type. After the transforms are
processed, you can use the Processed
template type.
If you create a change set for a new stack, you must select the template type.
TemplateStage
public GetTemplateResult withStagesAvailable(Collection<String> stagesAvailable)
The template type.
For stacks, you can use either the Original
or the Processed
template type.
For change sets, you can use only the Original
template type. After the transforms are processed,
you can use the Processed
template type.
If you create a change set for a new stack, you must select the template type.
stagesAvailable
- The template type.
For stacks, you can use either the Original
or the Processed
template type.
For change sets, you can use only the Original
template type. After the transforms are
processed, you can use the Processed
template type.
If you create a change set for a new stack, you must select the template type.
TemplateStage
public GetTemplateResult withStagesAvailable(TemplateStage... stagesAvailable)
The template type.
For stacks, you can use either the Original
or the Processed
template type.
For change sets, you can use only the Original
template type. After the transforms are processed,
you can use the Processed
template type.
If you create a change set for a new stack, you must select the template type.
stagesAvailable
- The template type.
For stacks, you can use either the Original
or the Processed
template type.
For change sets, you can use only the Original
template type. After the transforms are
processed, you can use the Processed
template type.
If you create a change set for a new stack, you must select the template type.
TemplateStage
public String toString()
toString
in class Object
Object.toString()
public GetTemplateResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.