public BatchArrayProperties withSize(Integer size) {
        setSize(size);
        return this;
    }
<p>
The size of the array, if this is an array batch job.
</p>

@param size
       The size of the array, if this is an array batch job.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-pipes/src/main/java/com/amazonaws/services/pipes/model/BatchArrayProperties.java