public class GetTemplateSummaryResult extends Object implements Serializable, Cloneable
The output for the GetTemplateSummary action.
Constructor and Description |
---|
GetTemplateSummaryResult() |
Modifier and Type | Method and Description |
---|---|
GetTemplateSummaryResult |
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 the
Capabilities response element. |
String |
getDescription()
The value that is defined in the
Description property of
the template. |
String |
getMetadata()
The value that is defined for the
Metadata property of
the template. |
List<ParameterDeclaration> |
getParameters()
A list of parameter declarations that describe various properties for
each parameter.
|
String |
getVersion()
The AWS template format version, which identifies the capabilities of
the template.
|
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 the
Capabilities response element. |
void |
setDescription(String description)
The value that is defined in the
Description property of
the template. |
void |
setMetadata(String metadata)
The value that is defined for the
Metadata property of
the template. |
void |
setParameters(Collection<ParameterDeclaration> parameters)
A list of parameter declarations that describe various properties for
each parameter.
|
void |
setVersion(String version)
The AWS template format version, which identifies the capabilities of
the template.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetTemplateSummaryResult |
withCapabilities(Capability... capabilities)
The capabilities found within the template.
|
GetTemplateSummaryResult |
withCapabilities(Collection<String> capabilities)
The capabilities found within the template.
|
GetTemplateSummaryResult |
withCapabilities(String... capabilities)
The capabilities found within the template.
|
GetTemplateSummaryResult |
withCapabilitiesReason(String capabilitiesReason)
The list of resources that generated the values in the
Capabilities response element. |
GetTemplateSummaryResult |
withDescription(String description)
The value that is defined in the
Description property of
the template. |
GetTemplateSummaryResult |
withMetadata(String metadata)
The value that is defined for the
Metadata property of
the template. |
GetTemplateSummaryResult |
withParameters(Collection<ParameterDeclaration> parameters)
A list of parameter declarations that describe various properties for
each parameter.
|
GetTemplateSummaryResult |
withParameters(ParameterDeclaration... parameters)
A list of parameter declarations that describe various properties for
each parameter.
|
GetTemplateSummaryResult |
withVersion(String version)
The AWS template format version, which identifies the capabilities of
the template.
|
public List<ParameterDeclaration> getParameters()
public void setParameters(Collection<ParameterDeclaration> parameters)
parameters
- A list of parameter declarations that describe various properties for
each parameter.public GetTemplateSummaryResult withParameters(ParameterDeclaration... parameters)
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.
Returns a reference to this object so that method calls can be chained together.
parameters
- A list of parameter declarations that describe various properties for
each parameter.public GetTemplateSummaryResult withParameters(Collection<ParameterDeclaration> parameters)
Returns a reference to this object so that method calls can be chained together.
parameters
- A list of parameter declarations that describe various properties for
each parameter.public String getDescription()
Description
property of
the template.Description
property of
the template.public void setDescription(String description)
Description
property of
the template.description
- The value that is defined in the Description
property of
the template.public GetTemplateSummaryResult withDescription(String description)
Description
property of
the template.
Returns a reference to this object so that method calls can be chained together.
description
- The value that is defined in the Description
property of
the template.public List<String> getCapabilities()
public void setCapabilities(Collection<String> capabilities)
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.public GetTemplateSummaryResult withCapabilities(String... capabilities)
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.
Returns a reference to this object so that method calls can be chained together.
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.public GetTemplateSummaryResult 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, 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.public GetTemplateSummaryResult 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, 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.public String getCapabilitiesReason()
Capabilities
response element.Capabilities
response element.public void setCapabilitiesReason(String capabilitiesReason)
Capabilities
response element.capabilitiesReason
- The list of resources that generated the values in the
Capabilities
response element.public GetTemplateSummaryResult withCapabilitiesReason(String capabilitiesReason)
Capabilities
response element.
Returns a reference to this object so that method calls can be chained together.
capabilitiesReason
- The list of resources that generated the values in the
Capabilities
response element.public String getVersion()
public void setVersion(String version)
version
- The AWS template format version, which identifies the capabilities of
the template.public GetTemplateSummaryResult withVersion(String version)
Returns a reference to this object so that method calls can be chained together.
version
- The AWS template format version, which identifies the capabilities of
the template.public String getMetadata()
Metadata
property of
the template.Metadata
property of
the template.public void setMetadata(String metadata)
Metadata
property of
the template.metadata
- The value that is defined for the Metadata
property of
the template.public GetTemplateSummaryResult withMetadata(String metadata)
Metadata
property of
the template.
Returns a reference to this object so that method calls can be chained together.
metadata
- The value that is defined for the Metadata
property of
the template.public String toString()
toString
in class Object
Object.toString()
public GetTemplateSummaryResult clone()
Copyright © 2015. All rights reserved.