public void setResourceIdentifier(String resourceIdentifier) {
        this.resourceIdentifier = resourceIdentifier;
    }
<p>
A friendly name for the resource identifier at the end of the <code>EndpointArn</code> response parameter that is
returned in the created <code>Endpoint</code> object. The value for this parameter can have up to 31 characters.
It can contain only ASCII letters, digits, and hyphen ('-'). Also, it can't end with a hyphen or contain two
consecutive hyphens, and can only begin with a letter, such as <code>Example-App-ARN1</code>. For example, this
value might result in the <code>EndpointArn</code> value
<code>arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1</code>. If you don't specify a
<code>ResourceIdentifier</code> value, DMS generates a default identifier value for the end of
<code>EndpointArn</code>.
</p>

@param resourceIdentifier
       A friendly name for the resource identifier at the end of the <code>EndpointArn</code> response parameter
       that is returned in the created <code>Endpoint</code> object. The value for this parameter can have up to
       31 characters. It can contain only ASCII letters, digits, and hyphen ('-'). Also, it can't end with a
       hyphen or contain two consecutive hyphens, and can only begin with a letter, such as
       <code>Example-App-ARN1</code>. For example, this value might result in the <code>EndpointArn</code> value
       <code>arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1</code>. If you don't specify a
       <code>ResourceIdentifier</code> value, DMS generates a default identifier value for the end of
       <code>EndpointArn</code>.
aws-java-sdk-dms/src/main/java/com/amazonaws/services/databasemigrationservice/model/CreateEndpointRequest.java