public ResourceDetail withResourceIdentifier(java.util.Map<String, String> resourceIdentifier) {
        setResourceIdentifier(resourceIdentifier);
        return this;
    }
<p>
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
<code>primaryIdentifier</code> list in the resource schema.) The value is the value of that primary identifier.
For example, for a <code>AWS::DynamoDB::Table</code> resource, the primary identifiers is <code>TableName</code>
so the key-value pair could be <code>"TableName": "MyDDBTable"</code>. For more information, see <a href=
"https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html#schema-properties-primaryidentifier"
>primaryIdentifier</a> in the <i>CloudFormation Command Line Interface User guide for extension development</i>.
</p>

@param 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
       <code>primaryIdentifier</code> list in the resource schema.) The value is the value of that primary
       identifier. For example, for a <code>AWS::DynamoDB::Table</code> resource, the primary identifiers is
       <code>TableName</code> so the key-value pair could be <code>"TableName": "MyDDBTable"</code>. For more
       information, see <a href=
       "https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html#schema-properties-primaryidentifier"
       >primaryIdentifier</a> in the <i>CloudFormation Command Line Interface User guide for extension
       development</i>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudformation/src/main/java/com/amazonaws/services/cloudformation/model/ResourceDetail.java