public VolumeSpecification withSizeInGB(Integer sizeInGB) {
        setSizeInGB(sizeInGB);
        return this;
    }
<p>
The volume size, in gibibytes (GiB). This can be a number from 1 - 1024. If the volume type is EBS-optimized, the
minimum value is 10.
</p>

@param sizeInGB
       The volume size, in gibibytes (GiB). This can be a number from 1 - 1024. If the volume type is
       EBS-optimized, the minimum value is 10.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-emr/src/main/java/com/amazonaws/services/elasticmapreduce/model/VolumeSpecification.java