@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetTemplateSummaryResult extends AmazonWebServiceResult<ResponseMetadata> 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. |
List<String> |
getDeclaredTransforms()
A list of the transforms that are declared in the template.
|
String |
getDescription()
The value that's defined in the
Description property of the template. |
String |
getMetadata()
The value that's defined for the
Metadata property of the template. |
List<ParameterDeclaration> |
getParameters()
A list of parameter declarations that describe various properties for each parameter.
|
List<ResourceIdentifierSummary> |
getResourceIdentifierSummaries()
A list of resource identifier summaries that describe the target resources of an import operation and the
properties you can provide during the import to identify the target resources.
|
List<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 . |
String |
getVersion()
The Amazon Web Services template format version, which identifies the capabilities of the template.
|
Warnings |
getWarnings()
An object containing any warnings returned.
|
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 |
setDeclaredTransforms(Collection<String> declaredTransforms)
A list of the transforms that are declared in the template.
|
void |
setDescription(String description)
The value that's defined in the
Description property of the template. |
void |
setMetadata(String metadata)
The value that's 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 |
setResourceIdentifierSummaries(Collection<ResourceIdentifierSummary> resourceIdentifierSummaries)
A list of resource identifier summaries that describe the target resources of an import operation and the
properties you can provide during the import to identify the target resources.
|
void |
setResourceTypes(Collection<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(String version)
The Amazon Web Services template format version, which identifies the capabilities of the template.
|
void |
setWarnings(Warnings warnings)
An object containing any warnings returned.
|
String |
toString()
Returns a string representation of this object.
|
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 |
withDeclaredTransforms(Collection<String> declaredTransforms)
A list of the transforms that are declared in the template.
|
GetTemplateSummaryResult |
withDeclaredTransforms(String... declaredTransforms)
A list of the transforms that are declared in the template.
|
GetTemplateSummaryResult |
withDescription(String description)
The value that's defined in the
Description property of the template. |
GetTemplateSummaryResult |
withMetadata(String metadata)
The value that's 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 |
withResourceIdentifierSummaries(Collection<ResourceIdentifierSummary> resourceIdentifierSummaries)
A list of resource identifier summaries that describe the target resources of an import operation and the
properties you can provide during the import to identify the target resources.
|
GetTemplateSummaryResult |
withResourceIdentifierSummaries(ResourceIdentifierSummary... resourceIdentifierSummaries)
A list of resource identifier summaries that describe the target resources of an import operation and the
properties you can provide during the import to identify the target resources.
|
GetTemplateSummaryResult |
withResourceTypes(Collection<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(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(String version)
The Amazon Web Services template format version, which identifies the capabilities of the template.
|
GetTemplateSummaryResult |
withWarnings(Warnings warnings)
An object containing any warnings returned.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ParameterDeclaration> getParameters()
A list of parameter declarations that describe various properties for each parameter.
public void setParameters(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(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(String description)
The value that's defined in the Description
property of the template.
description
- The value that's defined in the Description
property of the template.public String getDescription()
The value that's defined in the Description
property of the template.
Description
property of the template.public GetTemplateSummaryResult withDescription(String description)
The value that's defined in the Description
property of the template.
description
- The value that's defined in the Description
property of the template.public List<String> getCapabilities()
The capabilities found within the template. If your template contains IAM resources, you must specify the
CAPABILITY_IAM
or CAPABILITY_NAMED_IAM
value for this parameter when you use the
CreateStack or UpdateStack actions with your template; otherwise, those actions return an
InsufficientCapabilities
error.
For more information, see Acknowledging IAM Resources in CloudFormation Templates.
CAPABILITY_IAM
or CAPABILITY_NAMED_IAM
value for this parameter when you use
the CreateStack or UpdateStack actions with your template; otherwise, those actions return
an InsufficientCapabilities
error.
For more information, see Acknowledging IAM Resources in CloudFormation Templates.
Capability
public void setCapabilities(Collection<String> capabilities)
The capabilities found within the template. If your template contains IAM resources, you must specify the
CAPABILITY_IAM
or CAPABILITY_NAMED_IAM
value for this parameter when you use the
CreateStack or UpdateStack actions with your template; otherwise, those actions return an
InsufficientCapabilities
error.
For more information, see Acknowledging IAM Resources in CloudFormation Templates.
capabilities
- The capabilities found within the template. If your template contains IAM resources, you must specify the
CAPABILITY_IAM
or CAPABILITY_NAMED_IAM
value for this parameter when you use the
CreateStack or UpdateStack actions with your template; otherwise, those actions return an
InsufficientCapabilities
error.
For more information, see Acknowledging IAM Resources in CloudFormation Templates.
Capability
public GetTemplateSummaryResult withCapabilities(String... capabilities)
The capabilities found within the template. If your template contains IAM resources, you must specify the
CAPABILITY_IAM
or CAPABILITY_NAMED_IAM
value for this parameter when you use the
CreateStack or UpdateStack actions with your template; otherwise, those actions return an
InsufficientCapabilities
error.
For more information, see Acknowledging IAM Resources in CloudFormation Templates.
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. If your template contains IAM resources, you must specify the
CAPABILITY_IAM
or CAPABILITY_NAMED_IAM
value for this parameter when you use the
CreateStack or UpdateStack actions with your template; otherwise, those actions return an
InsufficientCapabilities
error.
For more information, see Acknowledging IAM Resources in CloudFormation Templates.
Capability
public GetTemplateSummaryResult withCapabilities(Collection<String> capabilities)
The capabilities found within the template. If your template contains IAM resources, you must specify the
CAPABILITY_IAM
or CAPABILITY_NAMED_IAM
value for this parameter when you use the
CreateStack or UpdateStack actions with your template; otherwise, those actions return an
InsufficientCapabilities
error.
For more information, see Acknowledging IAM Resources in CloudFormation Templates.
capabilities
- The capabilities found within the template. If your template contains IAM resources, you must specify the
CAPABILITY_IAM
or CAPABILITY_NAMED_IAM
value for this parameter when you use the
CreateStack or UpdateStack actions with your template; otherwise, those actions return an
InsufficientCapabilities
error.
For more information, see Acknowledging IAM Resources in CloudFormation Templates.
Capability
public GetTemplateSummaryResult withCapabilities(Capability... capabilities)
The capabilities found within the template. If your template contains IAM resources, you must specify the
CAPABILITY_IAM
or CAPABILITY_NAMED_IAM
value for this parameter when you use the
CreateStack or UpdateStack actions with your template; otherwise, those actions return an
InsufficientCapabilities
error.
For more information, see Acknowledging IAM Resources in CloudFormation Templates.
capabilities
- The capabilities found within the template. If your template contains IAM resources, you must specify the
CAPABILITY_IAM
or CAPABILITY_NAMED_IAM
value for this parameter when you use the
CreateStack or UpdateStack actions with your template; otherwise, those actions return an
InsufficientCapabilities
error.
For more information, see Acknowledging IAM Resources in CloudFormation Templates.
Capability
public void setCapabilitiesReason(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 String getCapabilitiesReason()
The list of resources that generated the values in the Capabilities
response element.
Capabilities
response element.public GetTemplateSummaryResult withCapabilitiesReason(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 List<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(Collection<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(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(Collection<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(String version)
The Amazon Web Services template format version, which identifies the capabilities of the template.
version
- The Amazon Web Services template format version, which identifies the capabilities of the template.public String getVersion()
The Amazon Web Services template format version, which identifies the capabilities of the template.
public GetTemplateSummaryResult withVersion(String version)
The Amazon Web Services template format version, which identifies the capabilities of the template.
version
- The Amazon Web Services template format version, which identifies the capabilities of the template.public void setMetadata(String metadata)
The value that's defined for the Metadata
property of the template.
metadata
- The value that's defined for the Metadata
property of the template.public String getMetadata()
The value that's defined for the Metadata
property of the template.
Metadata
property of the template.public GetTemplateSummaryResult withMetadata(String metadata)
The value that's defined for the Metadata
property of the template.
metadata
- The value that's defined for the Metadata
property of the template.public List<String> getDeclaredTransforms()
A list of the transforms that are declared in the template.
public void setDeclaredTransforms(Collection<String> declaredTransforms)
A list of the transforms that are declared in the template.
declaredTransforms
- A list of the transforms that are declared in the template.public GetTemplateSummaryResult withDeclaredTransforms(String... declaredTransforms)
A list of the transforms that are declared in the template.
NOTE: This method appends the values to the existing list (if any). Use
setDeclaredTransforms(java.util.Collection)
or withDeclaredTransforms(java.util.Collection)
if
you want to override the existing values.
declaredTransforms
- A list of the transforms that are declared in the template.public GetTemplateSummaryResult withDeclaredTransforms(Collection<String> declaredTransforms)
A list of the transforms that are declared in the template.
declaredTransforms
- A list of the transforms that are declared in the template.public List<ResourceIdentifierSummary> getResourceIdentifierSummaries()
A list of resource identifier summaries that describe the target resources of an import operation and the
properties you can provide during the import to identify the target resources. For example,
BucketName
is a possible identifier property for an AWS::S3::Bucket
resource.
BucketName
is a possible identifier property for an AWS::S3::Bucket
resource.public void setResourceIdentifierSummaries(Collection<ResourceIdentifierSummary> resourceIdentifierSummaries)
A list of resource identifier summaries that describe the target resources of an import operation and the
properties you can provide during the import to identify the target resources. For example,
BucketName
is a possible identifier property for an AWS::S3::Bucket
resource.
resourceIdentifierSummaries
- A list of resource identifier summaries that describe the target resources of an import operation and the
properties you can provide during the import to identify the target resources. For example,
BucketName
is a possible identifier property for an AWS::S3::Bucket
resource.public GetTemplateSummaryResult withResourceIdentifierSummaries(ResourceIdentifierSummary... resourceIdentifierSummaries)
A list of resource identifier summaries that describe the target resources of an import operation and the
properties you can provide during the import to identify the target resources. For example,
BucketName
is a possible identifier property for an AWS::S3::Bucket
resource.
NOTE: This method appends the values to the existing list (if any). Use
setResourceIdentifierSummaries(java.util.Collection)
or
withResourceIdentifierSummaries(java.util.Collection)
if you want to override the existing values.
resourceIdentifierSummaries
- A list of resource identifier summaries that describe the target resources of an import operation and the
properties you can provide during the import to identify the target resources. For example,
BucketName
is a possible identifier property for an AWS::S3::Bucket
resource.public GetTemplateSummaryResult withResourceIdentifierSummaries(Collection<ResourceIdentifierSummary> resourceIdentifierSummaries)
A list of resource identifier summaries that describe the target resources of an import operation and the
properties you can provide during the import to identify the target resources. For example,
BucketName
is a possible identifier property for an AWS::S3::Bucket
resource.
resourceIdentifierSummaries
- A list of resource identifier summaries that describe the target resources of an import operation and the
properties you can provide during the import to identify the target resources. For example,
BucketName
is a possible identifier property for an AWS::S3::Bucket
resource.public void setWarnings(Warnings warnings)
An object containing any warnings returned.
warnings
- An object containing any warnings returned.public Warnings getWarnings()
An object containing any warnings returned.
public GetTemplateSummaryResult withWarnings(Warnings warnings)
An object containing any warnings returned.
warnings
- An object containing any warnings returned.public String toString()
toString
in class Object
Object.toString()
public GetTemplateSummaryResult clone()