public CurrentInstance withResourceDetails(ResourceDetails resourceDetails) {
        setResourceDetails(resourceDetails);
        return this;
    }
<p>
Details about the resource and utilization.
</p>

@param resourceDetails
       Details about the resource and utilization.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-costexplorer/src/main/java/com/amazonaws/services/costexplorer/model/CurrentInstance.java