code: public DescribeVolumesModificationsResult withVolumesModifications(VolumeModification... volumesModifications) {
          if (this.volumesModifications == null) {
              setVolumesModifications(new com.amazonaws.internal.SdkInternalList<VolumeModification>(volumesModifications.length));
          }
          for (VolumeModification ele : volumesModifications) {
              this.volumesModifications.add(ele);
          }
          return this;
      }
docs: <p>
  Information about the volume modifications.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setVolumesModifications(java.util.Collection)} or {@link #withVolumesModifications(java.util.Collection)}
  if you want to override the existing values.
  </p>
  
  @param volumesModifications
  Information about the volume modifications.
  @return Returns a reference to this object so that method calls can be chained together.