@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ValidateTemplateResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The output for ValidateTemplate action.
| Constructor and Description |
|---|
ValidateTemplateResult() |
| Modifier and Type | Method and Description |
|---|---|
ValidateTemplateResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getCapabilities()
The capabilities found within the template.
|
String |
getCapabilitiesReason()
The list of resources that generated the values in the
Capabilities response element. |
List<String> |
getDeclaredTransforms()
A list of the transforms that are declared in the template.
|
String |
getDescription()
The description found within the template.
|
List<TemplateParameter> |
getParameters()
A list of
TemplateParameter structures. |
int |
hashCode() |
void |
setCapabilities(Collection<String> capabilities)
The capabilities found within the template.
|
void |
setCapabilitiesReason(String capabilitiesReason)
The list of resources that generated the values in the
Capabilities response element. |
void |
setDeclaredTransforms(Collection<String> declaredTransforms)
A list of the transforms that are declared in the template.
|
void |
setDescription(String description)
The description found within the template.
|
void |
setParameters(Collection<TemplateParameter> parameters)
A list of
TemplateParameter structures. |
String |
toString()
Returns a string representation of this object.
|
ValidateTemplateResult |
withCapabilities(Capability... capabilities)
The capabilities found within the template.
|
ValidateTemplateResult |
withCapabilities(Collection<String> capabilities)
The capabilities found within the template.
|
ValidateTemplateResult |
withCapabilities(String... capabilities)
The capabilities found within the template.
|
ValidateTemplateResult |
withCapabilitiesReason(String capabilitiesReason)
The list of resources that generated the values in the
Capabilities response element. |
ValidateTemplateResult |
withDeclaredTransforms(Collection<String> declaredTransforms)
A list of the transforms that are declared in the template.
|
ValidateTemplateResult |
withDeclaredTransforms(String... declaredTransforms)
A list of the transforms that are declared in the template.
|
ValidateTemplateResult |
withDescription(String description)
The description found within the template.
|
ValidateTemplateResult |
withParameters(Collection<TemplateParameter> parameters)
A list of
TemplateParameter structures. |
ValidateTemplateResult |
withParameters(TemplateParameter... parameters)
A list of
TemplateParameter structures. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<TemplateParameter> getParameters()
A list of TemplateParameter structures.
TemplateParameter structures.public void setParameters(Collection<TemplateParameter> parameters)
A list of TemplateParameter structures.
parameters - A list of TemplateParameter structures.public ValidateTemplateResult withParameters(TemplateParameter... parameters)
A list of TemplateParameter structures.
NOTE: This method appends the values to the existing list (if any). Use
setParameters(java.util.Collection) or withParameters(java.util.Collection) if you want to
override the existing values.
parameters - A list of TemplateParameter structures.public ValidateTemplateResult withParameters(Collection<TemplateParameter> parameters)
A list of TemplateParameter structures.
parameters - A list of TemplateParameter structures.public void setDescription(String description)
The description found within the template.
description - The description found within the template.public String getDescription()
The description found within the template.
public ValidateTemplateResult withDescription(String description)
The description found within the template.
description - The description found within the template.public List<String> getCapabilities()
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 CloudFormation Templates.
For more information, see Acknowledging IAM Resources in CloudFormation Templates.
Capabilitypublic void setCapabilities(Collection<String> 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 CloudFormation Templates.
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 CloudFormation Templates.
Capabilitypublic ValidateTemplateResult withCapabilities(String... 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 CloudFormation Templates.
NOTE: This method appends the values to the existing list (if any). Use
setCapabilities(java.util.Collection) or withCapabilities(java.util.Collection) if you want to
override the existing values.
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 CloudFormation Templates.
Capabilitypublic ValidateTemplateResult withCapabilities(Collection<String> 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 CloudFormation Templates.
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 CloudFormation Templates.
Capabilitypublic ValidateTemplateResult withCapabilities(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 CloudFormation Templates.
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 CloudFormation Templates.
Capabilitypublic void setCapabilitiesReason(String capabilitiesReason)
The list of resources that generated the values in the Capabilities response element.
capabilitiesReason - The list of resources that generated the values in the Capabilities response element.public String getCapabilitiesReason()
The list of resources that generated the values in the Capabilities response element.
Capabilities response element.public ValidateTemplateResult withCapabilitiesReason(String capabilitiesReason)
The list of resources that generated the values in the Capabilities response element.
capabilitiesReason - The list of resources that generated the values in the Capabilities response element.public List<String> getDeclaredTransforms()
A list of the transforms that are declared in the template.
public void setDeclaredTransforms(Collection<String> declaredTransforms)
A list of the transforms that are declared in the template.
declaredTransforms - A list of the transforms that are declared in the template.public ValidateTemplateResult withDeclaredTransforms(String... declaredTransforms)
A list of the transforms that are declared in the template.
NOTE: This method appends the values to the existing list (if any). Use
setDeclaredTransforms(java.util.Collection) or withDeclaredTransforms(java.util.Collection) if
you want to override the existing values.
declaredTransforms - A list of the transforms that are declared in the template.public ValidateTemplateResult withDeclaredTransforms(Collection<String> declaredTransforms)
A list of the transforms that are declared in the template.
declaredTransforms - A list of the transforms that are declared in the template.public String toString()
toString in class ObjectObject.toString()public ValidateTemplateResult clone()