@Generated(value="software.amazon.awssdk:codegen") public final class ValidateTemplateResponse extends CloudFormationResponse implements ToCopyableBuilder<ValidateTemplateResponse.Builder,ValidateTemplateResponse>
The output for ValidateTemplate action.
Modifier and Type | Class and Description |
---|---|
static interface |
ValidateTemplateResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static ValidateTemplateResponse.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 description found within 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() |
List<TemplateParameter> |
parameters()
A list of
TemplateParameter structures. |
static Class<? extends ValidateTemplateResponse.Builder> |
serializableBuilderClass() |
ValidateTemplateResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
sdkHttpResponse
copy
public List<TemplateParameter> parameters()
A list of TemplateParameter
structures.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
TemplateParameter
structures.public String description()
The description found within 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> 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 ValidateTemplateResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ValidateTemplateResponse.Builder,ValidateTemplateResponse>
toBuilder
in class AwsResponse
public static ValidateTemplateResponse.Builder builder()
public static Class<? extends ValidateTemplateResponse.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.