|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.cloudformation.model.ValidateTemplateResult
public class ValidateTemplateResult
The output for ValidateTemplate action.
Constructor Summary | |
---|---|
ValidateTemplateResult()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.util.List<java.lang.String> |
getCapabilities()
The capabitilites found within the template. |
java.lang.String |
getCapabilitiesReason()
The capabilities reason found within the template. |
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 capabitilites found within the template. |
void |
setCapabilitiesReason(java.lang.String capabilitiesReason)
The capabilities reason found within the template. |
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(java.util.Collection<java.lang.String> capabilities)
The capabitilites found within the template. |
ValidateTemplateResult |
withCapabilities(java.lang.String... capabilities)
The capabitilites found within the template. |
ValidateTemplateResult |
withCapabilitiesReason(java.lang.String capabilitiesReason)
The capabilities reason found within the template. |
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. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ValidateTemplateResult()
Method Detail |
---|
public java.util.List<TemplateParameter> getParameters()
TemplateParameter
structures.
TemplateParameter
structures.public void setParameters(java.util.Collection<TemplateParameter> parameters)
TemplateParameter
structures.
parameters
- A list of TemplateParameter
structures.public ValidateTemplateResult withParameters(TemplateParameter... parameters)
TemplateParameter
structures.
Returns a reference to this object so that method calls can be chained together.
parameters
- A list of TemplateParameter
structures.
public ValidateTemplateResult withParameters(java.util.Collection<TemplateParameter> parameters)
TemplateParameter
structures.
Returns a reference to this object so that method calls can be chained together.
parameters
- A list of TemplateParameter
structures.
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- The description found within the template.public ValidateTemplateResult withDescription(java.lang.String description)
Returns a reference to this object so that method calls can be chained together.
description
- The description found within the template.
public java.util.List<java.lang.String> getCapabilities()
public void setCapabilities(java.util.Collection<java.lang.String> capabilities)
capabilities
- The capabitilites found within the template. Currently, CAPABILITY_IAM
is the only capability detected. 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.public ValidateTemplateResult withCapabilities(java.lang.String... capabilities)
Returns a reference to this object so that method calls can be chained together.
capabilities
- The capabitilites found within the template. Currently, CAPABILITY_IAM
is the only capability detected. 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.
public ValidateTemplateResult withCapabilities(java.util.Collection<java.lang.String> capabilities)
Returns a reference to this object so that method calls can be chained together.
capabilities
- The capabitilites found within the template. Currently, CAPABILITY_IAM
is the only capability detected. 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.
public java.lang.String getCapabilitiesReason()
public void setCapabilitiesReason(java.lang.String capabilitiesReason)
capabilitiesReason
- The capabilities reason found within the template.public ValidateTemplateResult withCapabilitiesReason(java.lang.String capabilitiesReason)
Returns a reference to this object so that method calls can be chained together.
capabilitiesReason
- The capabilities reason found within the template.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |