docs: public void marshall(VolumeInfo volumeInfo, ProtocolMarshaller protocolMarshaller) {
  
          if (volumeInfo == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(volumeInfo.getVolumeARN(), VOLUMEARN_BINDING);
              protocolMarshaller.marshall(volumeInfo.getVolumeId(), VOLUMEID_BINDING);
              protocolMarshaller.marshall(volumeInfo.getGatewayARN(), GATEWAYARN_BINDING);
              protocolMarshaller.marshall(volumeInfo.getGatewayId(), GATEWAYID_BINDING);
              protocolMarshaller.marshall(volumeInfo.getVolumeType(), VOLUMETYPE_BINDING);
              protocolMarshaller.marshall(volumeInfo.getVolumeSizeInBytes(), VOLUMESIZEINBYTES_BINDING);
              protocolMarshaller.marshall(volumeInfo.getVolumeAttachmentStatus(), VOLUMEATTACHMENTSTATUS_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }