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 available template type.
|
String |
getTemplateBody()
Structure containing the template body.
|
int |
hashCode() |
void |
setStagesAvailable(Collection<String> stagesAvailable)
The available 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 available template type.
|
GetTemplateResult |
withStagesAvailable(String... stagesAvailable)
The available template type.
|
GetTemplateResult |
withStagesAvailable(TemplateStage... stagesAvailable)
The available template type.
|
GetTemplateResult |
withTemplateBody(String templateBody)
Structure containing the template body.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic 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 available template type. For stacks, both the Original and Processed template types
are always available. For change sets, the Original template is always available. After the
transforms are processed, the Processed template becomes available.
Original and Processed
template types are always available. For change sets, the Original template is always
available. After the transforms are processed, the Processed template becomes available.TemplateStagepublic void setStagesAvailable(Collection<String> stagesAvailable)
The available template type. For stacks, both the Original and Processed template types
are always available. For change sets, the Original template is always available. After the
transforms are processed, the Processed template becomes available.
stagesAvailable - The available template type. For stacks, both the Original and Processed
template types are always available. For change sets, the Original template is always
available. After the transforms are processed, the Processed template becomes available.TemplateStagepublic GetTemplateResult withStagesAvailable(String... stagesAvailable)
The available template type. For stacks, both the Original and Processed template types
are always available. For change sets, the Original template is always available. After the
transforms are processed, 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 available template type. For stacks, both the Original and Processed
template types are always available. For change sets, the Original template is always
available. After the transforms are processed, the Processed template becomes available.TemplateStagepublic GetTemplateResult withStagesAvailable(Collection<String> stagesAvailable)
The available template type. For stacks, both the Original and Processed template types
are always available. For change sets, the Original template is always available. After the
transforms are processed, the Processed template becomes available.
stagesAvailable - The available template type. For stacks, both the Original and Processed
template types are always available. For change sets, the Original template is always
available. After the transforms are processed, the Processed template becomes available.TemplateStagepublic GetTemplateResult withStagesAvailable(TemplateStage... stagesAvailable)
The available template type. For stacks, both the Original and Processed template types
are always available. For change sets, the Original template is always available. After the
transforms are processed, the Processed template becomes available.
stagesAvailable - The available template type. For stacks, both the Original and Processed
template types are always available. For change sets, the Original template is always
available. After the transforms are processed, the Processed template becomes available.TemplateStagepublic String toString()
toString in class ObjectObject.toString()public GetTemplateResult clone()
Copyright © 2016. All rights reserved.