Class ValidateTemplateResult
- All Implemented Interfaces:
Serializable, Cloneable
The output for ValidateTemplate action.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe capabilities found within the template.The list of resources that generated the values in theCapabilitiesresponse element.The description found within the template.A list ofTemplateParameterstructures.inthashCode()voidsetCapabilities(Collection<String> capabilities) The capabilities found within the template.voidsetCapabilitiesReason(String capabilitiesReason) The list of resources that generated the values in theCapabilitiesresponse element.voidsetDescription(String description) The description found within the template.voidsetParameters(Collection<TemplateParameter> parameters) A list ofTemplateParameterstructures.toString()Returns a string representation of this object; useful for testing and debugging.withCapabilities(Capability... capabilities) The capabilities found within the template.withCapabilities(String... capabilities) The capabilities found within the template.withCapabilities(Collection<String> capabilities) The capabilities found within the template.withCapabilitiesReason(String capabilitiesReason) The list of resources that generated the values in theCapabilitiesresponse element.withDescription(String description) The description found within the template.withParameters(TemplateParameter... parameters) A list ofTemplateParameterstructures.withParameters(Collection<TemplateParameter> parameters) A list ofTemplateParameterstructures.
-
Constructor Details
-
ValidateTemplateResult
public ValidateTemplateResult()
-
-
Method Details
-
getParameters
A list of
TemplateParameterstructures.- Returns:
- A list of
TemplateParameterstructures.
-
setParameters
A list of
TemplateParameterstructures.- Parameters:
parameters- A list ofTemplateParameterstructures.
-
withParameters
A list of
TemplateParameterstructures.NOTE: This method appends the values to the existing list (if any). Use
setParameters(java.util.Collection)orwithParameters(java.util.Collection)if you want to override the existing values.- Parameters:
parameters- A list ofTemplateParameterstructures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withParameters
A list of
TemplateParameterstructures.- Parameters:
parameters- A list ofTemplateParameterstructures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
The description found within the template.
- Parameters:
description- The description found within the template.
-
getDescription
The description found within the template.
- Returns:
- The description found within the template.
-
withDescription
The description found within the template.
- Parameters:
description- The description found within the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getCapabilities
The capabilities found within the template. Currently, AWS CloudFormation supports only the CAPABILITY_IAM capability. If your template contains IAM resources, you must specify the CAPABILITY_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.
- Returns:
- The capabilities found within the template. Currently, AWS CloudFormation supports only the CAPABILITY_IAM capability. If your template contains IAM resources, you must specify the CAPABILITY_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.
- See Also:
-
setCapabilities
The capabilities found within the template. Currently, AWS CloudFormation supports only the CAPABILITY_IAM capability. If your template contains IAM resources, you must specify the CAPABILITY_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.
- Parameters:
capabilities- The capabilities found within the template. Currently, AWS CloudFormation supports only the CAPABILITY_IAM capability. If your template contains IAM resources, you must specify the CAPABILITY_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.- See Also:
-
withCapabilities
The capabilities found within the template. Currently, AWS CloudFormation supports only the CAPABILITY_IAM capability. If your template contains IAM resources, you must specify the CAPABILITY_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.
NOTE: This method appends the values to the existing list (if any). Use
setCapabilities(java.util.Collection)orwithCapabilities(java.util.Collection)if you want to override the existing values.- Parameters:
capabilities- The capabilities found within the template. Currently, AWS CloudFormation supports only the CAPABILITY_IAM capability. If your template contains IAM resources, you must specify the CAPABILITY_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
withCapabilities
The capabilities found within the template. Currently, AWS CloudFormation supports only the CAPABILITY_IAM capability. If your template contains IAM resources, you must specify the CAPABILITY_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.
- Parameters:
capabilities- The capabilities found within the template. Currently, AWS CloudFormation supports only the CAPABILITY_IAM capability. If your template contains IAM resources, you must specify the CAPABILITY_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
withCapabilities
The capabilities found within the template. Currently, AWS CloudFormation supports only the CAPABILITY_IAM capability. If your template contains IAM resources, you must specify the CAPABILITY_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.
- Parameters:
capabilities- The capabilities found within the template. Currently, AWS CloudFormation supports only the CAPABILITY_IAM capability. If your template contains IAM resources, you must specify the CAPABILITY_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setCapabilitiesReason
The list of resources that generated the values in the
Capabilitiesresponse element.- Parameters:
capabilitiesReason- The list of resources that generated the values in theCapabilitiesresponse element.
-
getCapabilitiesReason
The list of resources that generated the values in the
Capabilitiesresponse element.- Returns:
- The list of resources that generated the values in the
Capabilitiesresponse element.
-
withCapabilitiesReason
The list of resources that generated the values in the
Capabilitiesresponse element.- Parameters:
capabilitiesReason- The list of resources that generated the values in theCapabilitiesresponse element.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-