public AddTagsToResourceRequest withResourceId(String resourceId) {
        setResourceId(resourceId);
        return this;
    }
<p>
Identifier (ID) for the directory to which to add the tag.
</p>

@param resourceId
       Identifier (ID) for the directory to which to add the tag.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-directory/src/main/java/com/amazonaws/services/directory/model/AddTagsToResourceRequest.java