public ScannedResource clearResourceIdentifierEntries() {
        this.resourceIdentifier = null;
        return this;
    }
Removes all the entries added into ResourceIdentifier.

@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/ScannedResource.java