Class ValidateTemplateResult
- java.lang.Object
-
- com.amazonaws.services.cloudformation.model.ValidateTemplateResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ValidateTemplateResult extends Object implements Serializable, Cloneable
The output for ValidateTemplate action.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValidateTemplateResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 theCapabilities
response element.String
getDescription()
The description found within the template.List<TemplateParameter>
getParameters()
A list ofTemplateParameter
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 theCapabilities
response element.void
setDescription(String description)
The description found within the template.void
setParameters(Collection<TemplateParameter> parameters)
A list ofTemplateParameter
structures.String
toString()
Returns a string representation of this object; useful for testing and debugging.ValidateTemplateResult
withCapabilities(Capability... capabilities)
The capabilities found within the template.ValidateTemplateResult
withCapabilities(String... capabilities)
The capabilities found within the template.ValidateTemplateResult
withCapabilities(Collection<String> capabilities)
The capabilities found within the template.ValidateTemplateResult
withCapabilitiesReason(String capabilitiesReason)
The list of resources that generated the values in theCapabilities
response element.ValidateTemplateResult
withDescription(String description)
The description found within the template.ValidateTemplateResult
withParameters(TemplateParameter... parameters)
A list ofTemplateParameter
structures.ValidateTemplateResult
withParameters(Collection<TemplateParameter> parameters)
A list ofTemplateParameter
structures.
-
-
-
Method Detail
-
getParameters
public List<TemplateParameter> getParameters()
A list of
TemplateParameter
structures.- Returns:
- A list of
TemplateParameter
structures.
-
setParameters
public void setParameters(Collection<TemplateParameter> parameters)
A list of
TemplateParameter
structures.- Parameters:
parameters
- A list ofTemplateParameter
structures.
-
withParameters
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)
orwithParameters(java.util.Collection)
if you want to override the existing values.- Parameters:
parameters
- A list ofTemplateParameter
structures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withParameters
public ValidateTemplateResult withParameters(Collection<TemplateParameter> parameters)
A list of
TemplateParameter
structures.- Parameters:
parameters
- A list ofTemplateParameter
structures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
public void setDescription(String description)
The description found within the template.
- Parameters:
description
- The description found within the template.
-
getDescription
public String getDescription()
The description found within the template.
- Returns:
- The description found within the template.
-
withDescription
public ValidateTemplateResult withDescription(String description)
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
public List<String> 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:
Capability
-
setCapabilities
public void setCapabilities(Collection<String> 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.
- 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:
Capability
-
withCapabilities
public ValidateTemplateResult withCapabilities(String... 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.
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:
Capability
-
withCapabilities
public ValidateTemplateResult withCapabilities(Collection<String> 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.
- 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:
Capability
-
withCapabilities
public ValidateTemplateResult withCapabilities(Capability... 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.
- 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:
Capability
-
setCapabilitiesReason
public void setCapabilitiesReason(String capabilitiesReason)
The list of resources that generated the values in the
Capabilities
response element.- Parameters:
capabilitiesReason
- The list of resources that generated the values in theCapabilities
response element.
-
getCapabilitiesReason
public String getCapabilitiesReason()
The list of resources that generated the values in the
Capabilities
response element.- Returns:
- The list of resources that generated the values in the
Capabilities
response element.
-
withCapabilitiesReason
public ValidateTemplateResult withCapabilitiesReason(String capabilitiesReason)
The list of resources that generated the values in the
Capabilities
response element.- Parameters:
capabilitiesReason
- The list of resources that generated the values in theCapabilities
response element.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ValidateTemplateResult clone()
-
-