public class ValidateTemplateResult
extends java.lang.Object
implements java.io.Serializable
The output for ValidateTemplate action.
| コンストラクタと説明 |
|---|
ValidateTemplateResult() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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. |
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 クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object