@Generated(value="software.amazon.awssdk:codegen") public final class GetTemplateRequest extends CloudFormationRequest implements ToCopyableBuilder<GetTemplateRequest.Builder,GetTemplateRequest>
The input for a GetTemplate action.
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetTemplateRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetTemplateRequest.Builder |
builder() |
String |
changeSetName()
The name or Amazon Resource Name (ARN) of a change set for which AWS CloudFormation returns the associated
template.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetTemplateRequest.Builder> |
serializableBuilderClass() |
String |
stackName()
The name or the unique stack ID that is associated with the stack, which are not always interchangeable:
|
TemplateStage |
templateStage()
For templates that include transforms, the stage of the template that AWS CloudFormation returns.
|
String |
templateStageAsString()
For templates that include transforms, the stage of the template that AWS CloudFormation returns.
|
GetTemplateRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String stackName()
The name or the unique stack ID that is associated with the stack, which are not always interchangeable:
Running stacks: You can specify either the stack's name or its unique stack ID.
Deleted stacks: You must specify the unique stack ID.
Default: There is no default value.
Running stacks: You can specify either the stack's name or its unique stack ID.
Deleted stacks: You must specify the unique stack ID.
Default: There is no default value.
public final String changeSetName()
The name or Amazon Resource Name (ARN) of a change set for which AWS CloudFormation returns the associated
template. If you specify a name, you must also specify the StackName.
StackName.public final TemplateStage templateStage()
For templates that include transforms, the stage of the template that AWS CloudFormation returns. To get the
user-submitted template, specify Original. To get the template after AWS CloudFormation has
processed all transforms, specify Processed.
If the template doesn't include transforms, Original and Processed return the same
template. By default, AWS CloudFormation specifies Original.
If the service returns an enum value that is not available in the current SDK version, templateStage
will return TemplateStage.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
templateStageAsString().
Original. To get the template after AWS CloudFormation
has processed all transforms, specify Processed.
If the template doesn't include transforms, Original and Processed return the
same template. By default, AWS CloudFormation specifies Original.
TemplateStagepublic final String templateStageAsString()
For templates that include transforms, the stage of the template that AWS CloudFormation returns. To get the
user-submitted template, specify Original. To get the template after AWS CloudFormation has
processed all transforms, specify Processed.
If the template doesn't include transforms, Original and Processed return the same
template. By default, AWS CloudFormation specifies Original.
If the service returns an enum value that is not available in the current SDK version, templateStage
will return TemplateStage.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
templateStageAsString().
Original. To get the template after AWS CloudFormation
has processed all transforms, specify Processed.
If the template doesn't include transforms, Original and Processed return the
same template. By default, AWS CloudFormation specifies Original.
TemplateStagepublic GetTemplateRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetTemplateRequest.Builder,GetTemplateRequest>toBuilder in class CloudFormationRequestpublic static GetTemplateRequest.Builder builder()
public static Class<? extends GetTemplateRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.