public PutInventoryRequest withInstanceId(String instanceId) {
        setInstanceId(instanceId);
        return this;
    }
<p>
An managed node ID where you want to add or update inventory items.
</p>

@param instanceId
       An managed node ID where you want to add or update inventory items.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/PutInventoryRequest.java