public AssignVolumeRequest withInstanceId(String instanceId) {
        setInstanceId(instanceId);
        return this;
    }
<p>
The instance ID.
</p>

@param instanceId
       The instance ID.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/AssignVolumeRequest.java