public class GetTemplateSummaryResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The output for the GetTemplateSummary 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 value that is defined in the
Description property of the
template. |
private java.lang.String |
metadata
The value that is defined for the
Metadata property of the
template. |
private SdkInternalList<ParameterDeclaration> |
parameters
A list of parameter declarations that describe various properties for
each parameter.
|
private SdkInternalList<java.lang.String> |
resourceTypes
A list of all the template resource types that are defined in the
template, such as
AWS::EC2::Instance ,
AWS::Dynamo::Table , and
Custom::MyCustomInstance . |
private java.lang.String |
version
The AWS template format version, which identifies the capabilities of the
template.
|
Constructor and Description |
---|
GetTemplateSummaryResult() |
Modifier and Type | Method and Description |
---|---|
GetTemplateSummaryResult |
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 value that is defined in the
Description property of the
template. |
java.lang.String |
getMetadata()
The value that is defined for the
Metadata property of the
template. |
java.util.List<ParameterDeclaration> |
getParameters()
A list of parameter declarations that describe various properties for
each parameter.
|
java.util.List<java.lang.String> |
getResourceTypes()
A list of all the template resource types that are defined in the
template, such as
AWS::EC2::Instance ,
AWS::Dynamo::Table , and
Custom::MyCustomInstance . |
java.lang.String |
getVersion()
The AWS template format version, which identifies the capabilities of the
template.
|
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 value that is defined in the
Description property of the
template. |
void |
setMetadata(java.lang.String metadata)
The value that is defined for the
Metadata property of the
template. |
void |
setParameters(java.util.Collection<ParameterDeclaration> parameters)
A list of parameter declarations that describe various properties for
each parameter.
|
void |
setResourceTypes(java.util.Collection<java.lang.String> resourceTypes)
A list of all the template resource types that are defined in the
template, such as
AWS::EC2::Instance ,
AWS::Dynamo::Table , and
Custom::MyCustomInstance . |
void |
setVersion(java.lang.String version)
The AWS template format version, which identifies the capabilities of the
template.
|
java.lang.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(java.util.Collection<java.lang.String> capabilities)
The capabilities found within the template.
|
GetTemplateSummaryResult |
withCapabilities(java.lang.String... capabilities)
The capabilities found within the template.
|
GetTemplateSummaryResult |
withCapabilitiesReason(java.lang.String capabilitiesReason)
The list of resources that generated the values in the
Capabilities response element. |
GetTemplateSummaryResult |
withDescription(java.lang.String description)
The value that is defined in the
Description property of the
template. |
GetTemplateSummaryResult |
withMetadata(java.lang.String metadata)
The value that is defined for the
Metadata property of the
template. |
GetTemplateSummaryResult |
withParameters(java.util.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 |
withResourceTypes(java.util.Collection<java.lang.String> resourceTypes)
A list of all the template resource types that are defined in the
template, such as
AWS::EC2::Instance ,
AWS::Dynamo::Table , and
Custom::MyCustomInstance . |
GetTemplateSummaryResult |
withResourceTypes(java.lang.String... resourceTypes)
A list of all the template resource types that are defined in the
template, such as
AWS::EC2::Instance ,
AWS::Dynamo::Table , and
Custom::MyCustomInstance . |
GetTemplateSummaryResult |
withVersion(java.lang.String version)
The AWS template format version, which identifies the capabilities of the
template.
|
private SdkInternalList<ParameterDeclaration> parameters
A list of parameter declarations that describe various properties for each parameter.
private java.lang.String description
The value that is defined in the Description
property of 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.
private SdkInternalList<java.lang.String> resourceTypes
A list of all the template resource types that are defined in the
template, such as AWS::EC2::Instance
,
AWS::Dynamo::Table
, and
Custom::MyCustomInstance
.
private java.lang.String version
The AWS template format version, which identifies the capabilities of the template.
private java.lang.String metadata
The value that is defined for the Metadata
property of the
template.
public java.util.List<ParameterDeclaration> getParameters()
A list of parameter declarations that describe various properties for each parameter.
public void setParameters(java.util.Collection<ParameterDeclaration> parameters)
A list of parameter declarations that describe various properties for each parameter.
parameters
- A list of parameter declarations that describe various properties
for each parameter.public GetTemplateSummaryResult withParameters(ParameterDeclaration... parameters)
A list of parameter declarations that describe various properties for each parameter.
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 parameter declarations that describe various properties
for each parameter.public GetTemplateSummaryResult withParameters(java.util.Collection<ParameterDeclaration> parameters)
A list of parameter declarations that describe various properties for each parameter.
parameters
- A list of parameter declarations that describe various properties
for each parameter.public void setDescription(java.lang.String description)
The value that is defined in the Description
property of the
template.
description
- The value that is defined in the Description
property
of the template.public java.lang.String getDescription()
The value that is defined in the Description
property of the
template.
Description
property of the template.public GetTemplateSummaryResult withDescription(java.lang.String description)
The value that is defined in the Description
property of the
template.
description
- The value that is defined in the Description
property
of 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 GetTemplateSummaryResult 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 GetTemplateSummaryResult 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 GetTemplateSummaryResult 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 GetTemplateSummaryResult 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.util.List<java.lang.String> getResourceTypes()
A list of all the template resource types that are defined in the
template, such as AWS::EC2::Instance
,
AWS::Dynamo::Table
, and
Custom::MyCustomInstance
.
AWS::EC2::Instance
,
AWS::Dynamo::Table
, and
Custom::MyCustomInstance
.public void setResourceTypes(java.util.Collection<java.lang.String> resourceTypes)
A list of all the template resource types that are defined in the
template, such as AWS::EC2::Instance
,
AWS::Dynamo::Table
, and
Custom::MyCustomInstance
.
resourceTypes
- A list of all the template resource types that are defined in the
template, such as AWS::EC2::Instance
,
AWS::Dynamo::Table
, and
Custom::MyCustomInstance
.public GetTemplateSummaryResult withResourceTypes(java.lang.String... resourceTypes)
A list of all the template resource types that are defined in the
template, such as AWS::EC2::Instance
,
AWS::Dynamo::Table
, and
Custom::MyCustomInstance
.
NOTE: This method appends the values to the existing list (if
any). Use setResourceTypes(java.util.Collection)
or
withResourceTypes(java.util.Collection)
if you want to override
the existing values.
resourceTypes
- A list of all the template resource types that are defined in the
template, such as AWS::EC2::Instance
,
AWS::Dynamo::Table
, and
Custom::MyCustomInstance
.public GetTemplateSummaryResult withResourceTypes(java.util.Collection<java.lang.String> resourceTypes)
A list of all the template resource types that are defined in the
template, such as AWS::EC2::Instance
,
AWS::Dynamo::Table
, and
Custom::MyCustomInstance
.
resourceTypes
- A list of all the template resource types that are defined in the
template, such as AWS::EC2::Instance
,
AWS::Dynamo::Table
, and
Custom::MyCustomInstance
.public void setVersion(java.lang.String version)
The AWS template format version, which identifies the capabilities of the template.
version
- The AWS template format version, which identifies the capabilities
of the template.public java.lang.String getVersion()
The AWS template format version, which identifies the capabilities of the template.
public GetTemplateSummaryResult withVersion(java.lang.String version)
The AWS template format version, which identifies the capabilities of the template.
version
- The AWS template format version, which identifies the capabilities
of the template.public void setMetadata(java.lang.String metadata)
The value that is defined for the Metadata
property of the
template.
metadata
- The value that is defined for the Metadata
property
of the template.public java.lang.String getMetadata()
The value that is defined for the Metadata
property of the
template.
Metadata
property
of the template.public GetTemplateSummaryResult withMetadata(java.lang.String metadata)
The value that is defined for the Metadata
property of the
template.
metadata
- The value that is defined for the Metadata
property
of the template.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 GetTemplateSummaryResult clone()
clone
in class java.lang.Object