@Generated(value="software.amazon.awssdk:codegen") public final class GetTemplateSummaryResponse extends CloudFormationResponse implements ToCopyableBuilder<GetTemplateSummaryResponse.Builder,GetTemplateSummaryResponse>
The output for the GetTemplateSummary action.
Modifier and Type | Class and Description |
---|---|
static interface |
GetTemplateSummaryResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static GetTemplateSummaryResponse.Builder |
builder() |
List<Capability> |
capabilities()
The capabilities found within the template.
|
List<String> |
capabilitiesAsStrings()
The capabilities found within the template.
|
String |
capabilitiesReason()
The list of resources that generated the values in the
Capabilities response element. |
List<String> |
declaredTransforms()
A list of the transforms that are declared in the template.
|
String |
description()
The value that is defined in the
Description property of the template. |
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
SdkResponse . |
int |
hashCode() |
String |
metadata()
The value that is defined for the
Metadata property of the template. |
List<ParameterDeclaration> |
parameters()
A list of parameter declarations that describe various properties for each parameter.
|
List<String> |
resourceTypes()
A list of all the template resource types that are defined in the template, such as
AWS::EC2::Instance , AWS::Dynamo::Table , and Custom::MyCustomInstance . |
static Class<? extends GetTemplateSummaryResponse.Builder> |
serializableBuilderClass() |
GetTemplateSummaryResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
version()
The AWS template format version, which identifies the capabilities of the template.
|
sdkHttpResponse
copy
public List<ParameterDeclaration> parameters()
A list of parameter declarations that describe various properties for each parameter.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String description()
The value that is defined in the Description
property of the template.
Description
property of the template.public List<Capability> capabilities()
The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.
For more information, see Acknowledging IAM Resources in AWS CloudFormation Templates.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
For more information, see Acknowledging IAM Resources in AWS CloudFormation Templates.
public List<String> capabilitiesAsStrings()
The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.
For more information, see Acknowledging IAM Resources in AWS CloudFormation Templates.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
For more information, see Acknowledging IAM Resources in AWS CloudFormation Templates.
public String capabilitiesReason()
The list of resources that generated the values in the Capabilities
response element.
Capabilities
response element.public List<String> resourceTypes()
A list of all the template resource types that are defined in the template, such as
AWS::EC2::Instance
, AWS::Dynamo::Table
, and Custom::MyCustomInstance
.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
AWS::EC2::Instance
, AWS::Dynamo::Table
, and
Custom::MyCustomInstance
.public String version()
The AWS template format version, which identifies the capabilities of the template.
public String metadata()
The value that is defined for the Metadata
property of the template.
Metadata
property of the template.public List<String> declaredTransforms()
A list of the transforms that are declared in the template.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public GetTemplateSummaryResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GetTemplateSummaryResponse.Builder,GetTemplateSummaryResponse>
toBuilder
in class AwsResponse
public static GetTemplateSummaryResponse.Builder builder()
public static Class<? extends GetTemplateSummaryResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponse
SdkResponse
. 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 SdkResponse.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkResponse
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.