public ResourceToImport withLogicalResourceId(String logicalResourceId) {
        setLogicalResourceId(logicalResourceId);
        return this;
    }
<p>
The logical ID of the target resource as specified in the template.
</p>

@param logicalResourceId
       The logical ID of the target resource as specified in the template.
@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/ResourceToImport.java