public Sample withSize(Integer size) {
        setSize(size);
        return this;
    }
<p>
The number of rows in the sample.
</p>

@param size
       The number of rows in the sample.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-gluedatabrew/src/main/java/com/amazonaws/services/gluedatabrew/model/Sample.java