@Generated(value="software.amazon.awssdk:codegen") public final class GetTemplateSummaryRequest extends CloudFormationRequest implements ToCopyableBuilder<GetTemplateSummaryRequest.Builder,GetTemplateSummaryRequest>
The input for the GetTemplateSummary action.
Modifier and Type | Class and Description |
---|---|
static interface |
GetTemplateSummaryRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static GetTemplateSummaryRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
static Class<? extends GetTemplateSummaryRequest.Builder> |
serializableBuilderClass() |
String |
stackName()
The name or the stack ID that is associated with the stack, which are not always interchangeable.
|
String |
stackSetName()
The name or unique ID of the stack set from which the stack was created.
|
String |
templateBody()
Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.
|
String |
templateURL()
Location of file containing the template body.
|
GetTemplateSummaryRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String templateBody()
Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information about templates, see Template Anatomy in the AWS CloudFormation User Guide.
Conditional: You must specify only one of the following parameters: StackName
,
StackSetName
, TemplateBody
, or TemplateURL
.
Conditional: You must specify only one of the following parameters: StackName
,
StackSetName
, TemplateBody
, or TemplateURL
.
public String templateURL()
Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket. For more information about templates, see Template Anatomy in the AWS CloudFormation User Guide.
Conditional: You must specify only one of the following parameters: StackName
,
StackSetName
, TemplateBody
, or TemplateURL
.
Conditional: You must specify only one of the following parameters: StackName
,
StackSetName
, TemplateBody
, or TemplateURL
.
public String stackName()
The name or the stack ID that is associated with the stack, which are not always interchangeable. For running stacks, you can specify either the stack's name or its unique stack ID. For deleted stack, you must specify the unique stack ID.
Conditional: You must specify only one of the following parameters: StackName
,
StackSetName
, TemplateBody
, or TemplateURL
.
Conditional: You must specify only one of the following parameters: StackName
,
StackSetName
, TemplateBody
, or TemplateURL
.
public String stackSetName()
The name or unique ID of the stack set from which the stack was created.
Conditional: You must specify only one of the following parameters: StackName
,
StackSetName
, TemplateBody
, or TemplateURL
.
Conditional: You must specify only one of the following parameters: StackName
,
StackSetName
, TemplateBody
, or TemplateURL
.
public GetTemplateSummaryRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GetTemplateSummaryRequest.Builder,GetTemplateSummaryRequest>
toBuilder
in class CloudFormationRequest
public static GetTemplateSummaryRequest.Builder builder()
public static Class<? extends GetTemplateSummaryRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.