code: public void setVolumeInfos(java.util.Collection<VolumeInfo> volumeInfos) {
          if (volumeInfos == null) {
              this.volumeInfos = null;
              return;
          }
  
          this.volumeInfos = new com.amazonaws.internal.SdkInternalList<VolumeInfo>(volumeInfos);
      }
docs: <p>
  An array of <a>VolumeInfo</a> objects, where each object describes an iSCSI volume. If no volumes are defined for
  the gateway, then <code>VolumeInfos</code> is an empty array "[]".
  </p>
  
  @param volumeInfos
  An array of <a>VolumeInfo</a> objects, where each object describes an iSCSI volume. If no volumes are
  defined for the gateway, then <code>VolumeInfos</code> is an empty array "[]".