public class ValidateTemplateResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The output for ValidateTemplate action.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
capabilities
The capabilities found within the template.
|
private java.lang.String |
capabilitiesReason
The list of resources that generated the values in the
Capabilities response element. |
private java.lang.String |
description
The description found within the template.
|
private SdkInternalList<TemplateParameter> |
parameters
A list of
TemplateParameter structures. |
Constructor and Description |
---|
ValidateTemplateResult() |
Modifier and Type | Method and Description |
---|---|
ValidateTemplateResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getCapabilities()
The capabilities found within the template.
|
java.lang.String |
getCapabilitiesReason()
The list of resources that generated the values in the
Capabilities response element. |
java.lang.String |
getDescription()
The description found within the template.
|
java.util.List<TemplateParameter> |
getParameters()
A list of
TemplateParameter structures. |
int |
hashCode() |
void |
setCapabilities(java.util.Collection<java.lang.String> capabilities)
The capabilities found within the template.
|
void |
setCapabilitiesReason(java.lang.String capabilitiesReason)
The list of resources that generated the values in the
Capabilities response element. |
void |
setDescription(java.lang.String description)
The description found within the template.
|
void |
setParameters(java.util.Collection<TemplateParameter> parameters)
A list of
TemplateParameter structures. |
java.lang.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(java.util.Collection<java.lang.String> capabilities)
The capabilities found within the template.
|
ValidateTemplateResult |
withCapabilities(java.lang.String... capabilities)
The capabilities found within the template.
|
ValidateTemplateResult |
withCapabilitiesReason(java.lang.String capabilitiesReason)
The list of resources that generated the values in the
Capabilities response element. |
ValidateTemplateResult |
withDescription(java.lang.String description)
The description found within the template.
|
ValidateTemplateResult |
withParameters(java.util.Collection<TemplateParameter> parameters)
A list of
TemplateParameter structures. |
ValidateTemplateResult |
withParameters(TemplateParameter... parameters)
A list of
TemplateParameter structures. |
private SdkInternalList<TemplateParameter> parameters
A list of TemplateParameter
structures.
private java.lang.String description
The description found within the template.
private SdkInternalList<java.lang.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.
private java.lang.String capabilitiesReason
The list of resources that generated the values in the
Capabilities
response element.
public java.util.List<TemplateParameter> getParameters()
A list of TemplateParameter
structures.
TemplateParameter
structures.public void setParameters(java.util.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(java.util.Collection<TemplateParameter> parameters)
A list of TemplateParameter
structures.
parameters
- A list of TemplateParameter
structures.public void setDescription(java.lang.String description)
The description found within the template.
description
- The description found within the template.public java.lang.String getDescription()
The description found within the template.
public ValidateTemplateResult withDescription(java.lang.String description)
The description found within the template.
description
- The description found within the template.public java.util.List<java.lang.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.
Capability
public void setCapabilities(java.util.Collection<java.lang.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.
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.Capability
public ValidateTemplateResult withCapabilities(java.lang.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)
or
withCapabilities(java.util.Collection)
if you want to override
the existing values.
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.Capability
public ValidateTemplateResult withCapabilities(java.util.Collection<java.lang.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.
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.Capability
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.
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.Capability
public void setCapabilitiesReason(java.lang.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 java.lang.String getCapabilitiesReason()
The list of resources that generated the values in the
Capabilities
response element.
Capabilities
response element.public ValidateTemplateResult withCapabilitiesReason(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ValidateTemplateResult clone()
clone
in class java.lang.Object