public AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails withVolumeSize(Integer volumeSize) {
        setVolumeSize(volumeSize);
        return this;
    }
<p>
The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size.
</p>

@param volumeSize
       The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails.java