code: public DescribeSnapshotAttributeResult withCreateVolumePermissions(CreateVolumePermission... createVolumePermissions) {
          if (this.createVolumePermissions == null) {
              setCreateVolumePermissions(new com.amazonaws.internal.SdkInternalList<CreateVolumePermission>(createVolumePermissions.length));
          }
          for (CreateVolumePermission ele : createVolumePermissions) {
              this.createVolumePermissions.add(ele);
          }
          return this;
      }
docs: <p>
  The users and groups that have the permissions for creating volumes from the snapshot.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setCreateVolumePermissions(java.util.Collection)} or
  {@link #withCreateVolumePermissions(java.util.Collection)} if you want to override the existing values.
  </p>
  
  @param createVolumePermissions
  The users and groups that have the permissions for creating volumes from the snapshot.
  @return Returns a reference to this object so that method calls can be chained together.