public ComputeAttributes withHostId(String hostId) {
        setHostId(hostId);
        return this;
    }
<p>
The host ID of the Dedicated Host on the asset.
</p>

@param hostId
       The host ID of the Dedicated Host on the asset.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-outposts/src/main/java/com/amazonaws/services/outposts/model/ComputeAttributes.java