@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceDetail extends Object implements Serializable, Cloneable
Details about a resource in a generated template
Constructor and Description |
---|
ResourceDetail() |
Modifier and Type | Method and Description |
---|---|
ResourceDetail |
addResourceIdentifierEntry(String key,
String value)
Add a single ResourceIdentifier entry
|
ResourceDetail |
clearResourceIdentifierEntries()
Removes all the entries added into ResourceIdentifier.
|
ResourceDetail |
clone() |
boolean |
equals(Object obj) |
String |
getLogicalResourceId()
The logical id for this resource in the final generated template.
|
Map<String,String> |
getResourceIdentifier()
A list of up to 256 key-value pairs that identifies the resource in the generated template.
|
String |
getResourceStatus()
Status of the processing of a resource in a generated template.
|
String |
getResourceStatusReason()
The reason for the resource detail, providing more information if a failure happened.
|
String |
getResourceType()
The type of the resource, such as
AWS::DynamoDB::Table . |
List<WarningDetail> |
getWarnings()
The warnings generated for this resource.
|
int |
hashCode() |
void |
setLogicalResourceId(String logicalResourceId)
The logical id for this resource in the final generated template.
|
void |
setResourceIdentifier(Map<String,String> resourceIdentifier)
A list of up to 256 key-value pairs that identifies the resource in the generated template.
|
void |
setResourceStatus(String resourceStatus)
Status of the processing of a resource in a generated template.
|
void |
setResourceStatusReason(String resourceStatusReason)
The reason for the resource detail, providing more information if a failure happened.
|
void |
setResourceType(String resourceType)
The type of the resource, such as
AWS::DynamoDB::Table . |
void |
setWarnings(Collection<WarningDetail> warnings)
The warnings generated for this resource.
|
String |
toString()
Returns a string representation of this object.
|
ResourceDetail |
withLogicalResourceId(String logicalResourceId)
The logical id for this resource in the final generated template.
|
ResourceDetail |
withResourceIdentifier(Map<String,String> resourceIdentifier)
A list of up to 256 key-value pairs that identifies the resource in the generated template.
|
ResourceDetail |
withResourceStatus(GeneratedTemplateResourceStatus resourceStatus)
Status of the processing of a resource in a generated template.
|
ResourceDetail |
withResourceStatus(String resourceStatus)
Status of the processing of a resource in a generated template.
|
ResourceDetail |
withResourceStatusReason(String resourceStatusReason)
The reason for the resource detail, providing more information if a failure happened.
|
ResourceDetail |
withResourceType(String resourceType)
The type of the resource, such as
AWS::DynamoDB::Table . |
ResourceDetail |
withWarnings(Collection<WarningDetail> warnings)
The warnings generated for this resource.
|
ResourceDetail |
withWarnings(WarningDetail... warnings)
The warnings generated for this resource.
|
public void setResourceType(String resourceType)
The type of the resource, such as AWS::DynamoDB::Table
. For the list of supported resources, see IaC
generator supported resource types In the CloudFormation User Guide
resourceType
- The type of the resource, such as AWS::DynamoDB::Table
. For the list of supported resources,
see IaC generator supported resource types In the CloudFormation User Guidepublic String getResourceType()
The type of the resource, such as AWS::DynamoDB::Table
. For the list of supported resources, see IaC
generator supported resource types In the CloudFormation User Guide
AWS::DynamoDB::Table
. For the list of supported resources,
see IaC generator supported resource types In the CloudFormation User Guidepublic ResourceDetail withResourceType(String resourceType)
The type of the resource, such as AWS::DynamoDB::Table
. For the list of supported resources, see IaC
generator supported resource types In the CloudFormation User Guide
resourceType
- The type of the resource, such as AWS::DynamoDB::Table
. For the list of supported resources,
see IaC generator supported resource types In the CloudFormation User Guidepublic void setLogicalResourceId(String logicalResourceId)
The logical id for this resource in the final generated template.
logicalResourceId
- The logical id for this resource in the final generated template.public String getLogicalResourceId()
The logical id for this resource in the final generated template.
public ResourceDetail withLogicalResourceId(String logicalResourceId)
The logical id for this resource in the final generated template.
logicalResourceId
- The logical id for this resource in the final generated template.public Map<String,String> getResourceIdentifier()
A list of up to 256 key-value pairs that identifies the resource in the generated template. The key is the name
of one of the primary identifiers for the resource. (Primary identifiers are specified in the
primaryIdentifier
list in the resource schema.) The value is the value of that primary identifier.
For example, for a AWS::DynamoDB::Table
resource, the primary identifiers is TableName
so the key-value pair could be "TableName": "MyDDBTable"
. For more information, see primaryIdentifier in the CloudFormation Command Line Interface User guide for extension development.
primaryIdentifier
list in the resource schema.) The value is the value of that primary
identifier. For example, for a AWS::DynamoDB::Table
resource, the primary identifiers is
TableName
so the key-value pair could be "TableName": "MyDDBTable"
. For more
information, see primaryIdentifier in the CloudFormation Command Line Interface User guide for extension
development.public void setResourceIdentifier(Map<String,String> resourceIdentifier)
A list of up to 256 key-value pairs that identifies the resource in the generated template. The key is the name
of one of the primary identifiers for the resource. (Primary identifiers are specified in the
primaryIdentifier
list in the resource schema.) The value is the value of that primary identifier.
For example, for a AWS::DynamoDB::Table
resource, the primary identifiers is TableName
so the key-value pair could be "TableName": "MyDDBTable"
. For more information, see primaryIdentifier in the CloudFormation Command Line Interface User guide for extension development.
resourceIdentifier
- A list of up to 256 key-value pairs that identifies the resource in the generated template. The key is the
name of one of the primary identifiers for the resource. (Primary identifiers are specified in the
primaryIdentifier
list in the resource schema.) The value is the value of that primary
identifier. For example, for a AWS::DynamoDB::Table
resource, the primary identifiers is
TableName
so the key-value pair could be "TableName": "MyDDBTable"
. For more
information, see primaryIdentifier in the CloudFormation Command Line Interface User guide for extension
development.public ResourceDetail withResourceIdentifier(Map<String,String> resourceIdentifier)
A list of up to 256 key-value pairs that identifies the resource in the generated template. The key is the name
of one of the primary identifiers for the resource. (Primary identifiers are specified in the
primaryIdentifier
list in the resource schema.) The value is the value of that primary identifier.
For example, for a AWS::DynamoDB::Table
resource, the primary identifiers is TableName
so the key-value pair could be "TableName": "MyDDBTable"
. For more information, see primaryIdentifier in the CloudFormation Command Line Interface User guide for extension development.
resourceIdentifier
- A list of up to 256 key-value pairs that identifies the resource in the generated template. The key is the
name of one of the primary identifiers for the resource. (Primary identifiers are specified in the
primaryIdentifier
list in the resource schema.) The value is the value of that primary
identifier. For example, for a AWS::DynamoDB::Table
resource, the primary identifiers is
TableName
so the key-value pair could be "TableName": "MyDDBTable"
. For more
information, see primaryIdentifier in the CloudFormation Command Line Interface User guide for extension
development.public ResourceDetail addResourceIdentifierEntry(String key, String value)
public ResourceDetail clearResourceIdentifierEntries()
public void setResourceStatus(String resourceStatus)
Status of the processing of a resource in a generated template.
The resource processing is still in progress.
The resource processing is complete.
The resource processing is pending.
The resource processing has failed.
resourceStatus
- Status of the processing of a resource in a generated template.
The resource processing is still in progress.
The resource processing is complete.
The resource processing is pending.
The resource processing has failed.
GeneratedTemplateResourceStatus
public String getResourceStatus()
Status of the processing of a resource in a generated template.
The resource processing is still in progress.
The resource processing is complete.
The resource processing is pending.
The resource processing has failed.
The resource processing is still in progress.
The resource processing is complete.
The resource processing is pending.
The resource processing has failed.
GeneratedTemplateResourceStatus
public ResourceDetail withResourceStatus(String resourceStatus)
Status of the processing of a resource in a generated template.
The resource processing is still in progress.
The resource processing is complete.
The resource processing is pending.
The resource processing has failed.
resourceStatus
- Status of the processing of a resource in a generated template.
The resource processing is still in progress.
The resource processing is complete.
The resource processing is pending.
The resource processing has failed.
GeneratedTemplateResourceStatus
public ResourceDetail withResourceStatus(GeneratedTemplateResourceStatus resourceStatus)
Status of the processing of a resource in a generated template.
The resource processing is still in progress.
The resource processing is complete.
The resource processing is pending.
The resource processing has failed.
resourceStatus
- Status of the processing of a resource in a generated template.
The resource processing is still in progress.
The resource processing is complete.
The resource processing is pending.
The resource processing has failed.
GeneratedTemplateResourceStatus
public void setResourceStatusReason(String resourceStatusReason)
The reason for the resource detail, providing more information if a failure happened.
resourceStatusReason
- The reason for the resource detail, providing more information if a failure happened.public String getResourceStatusReason()
The reason for the resource detail, providing more information if a failure happened.
public ResourceDetail withResourceStatusReason(String resourceStatusReason)
The reason for the resource detail, providing more information if a failure happened.
resourceStatusReason
- The reason for the resource detail, providing more information if a failure happened.public List<WarningDetail> getWarnings()
The warnings generated for this resource.
public void setWarnings(Collection<WarningDetail> warnings)
The warnings generated for this resource.
warnings
- The warnings generated for this resource.public ResourceDetail withWarnings(WarningDetail... warnings)
The warnings generated for this resource.
NOTE: This method appends the values to the existing list (if any). Use
setWarnings(java.util.Collection)
or withWarnings(java.util.Collection)
if you want to override
the existing values.
warnings
- The warnings generated for this resource.public ResourceDetail withWarnings(Collection<WarningDetail> warnings)
The warnings generated for this resource.
warnings
- The warnings generated for this resource.public String toString()
toString
in class Object
Object.toString()
public ResourceDetail clone()