public class ValidateTemplateResult extends Object implements Serializable
The output for ValidateTemplate action.
Constructor and Description |
---|
ValidateTemplateResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<String> |
getCapabilities()
The capabilities found within the template.
|
String |
getCapabilitiesReason()
The capabilities reason found within the template.
|
String |
getDescription()
The description found within the template.
|
List<TemplateParameter> |
getParameters()
A list of
TemplateParameter structures. |
int |
hashCode() |
void |
setCapabilities(Collection<String> capabilities)
The capabilities found within the template.
|
void |
setCapabilitiesReason(String capabilitiesReason)
The capabilities reason found within the template.
|
void |
setDescription(String description)
The description found within the template.
|
void |
setParameters(Collection<TemplateParameter> parameters)
A list of
TemplateParameter 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(Collection<String> capabilities)
The capabilities found within the template.
|
ValidateTemplateResult |
withCapabilities(String... capabilities)
The capabilities found within the template.
|
ValidateTemplateResult |
withCapabilitiesReason(String capabilitiesReason)
The capabilities reason found within the template.
|
ValidateTemplateResult |
withDescription(String description)
The description found within the template.
|
ValidateTemplateResult |
withParameters(Collection<TemplateParameter> parameters)
A list of
TemplateParameter structures. |
ValidateTemplateResult |
withParameters(TemplateParameter... parameters)
A list of
TemplateParameter structures. |
public List<TemplateParameter> getParameters()
TemplateParameter
structures.TemplateParameter
structures.public void setParameters(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(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 String getDescription()
public void setDescription(String description)
description
- The description found within the template.public ValidateTemplateResult withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description
- The description found within the template.public List<String> getCapabilities()
public void setCapabilities(Collection<String> capabilities)
capabilities
- The capabilities 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(String... capabilities)
Returns a reference to this object so that method calls can be chained together.
capabilities
- The capabilities 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(Collection<String> capabilities)
Returns a reference to this object so that method calls can be chained together.
capabilities
- The capabilities 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(Capability... capabilities)
Returns a reference to this object so that method calls can be chained together.
capabilities
- The capabilities 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 String getCapabilitiesReason()
public void setCapabilitiesReason(String capabilitiesReason)
capabilitiesReason
- The capabilities reason found within the template.public ValidateTemplateResult withCapabilitiesReason(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 String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.