code: public AdminCreateUserRequest withDesiredDeliveryMediums(DeliveryMediumType... desiredDeliveryMediums) {
          java.util.ArrayList<String> desiredDeliveryMediumsCopy = new java.util.ArrayList<String>(desiredDeliveryMediums.length);
          for (DeliveryMediumType value : desiredDeliveryMediums) {
              desiredDeliveryMediumsCopy.add(value.toString());
          }
          if (getDesiredDeliveryMediums() == null) {
              setDesiredDeliveryMediums(desiredDeliveryMediumsCopy);
          } else {
              getDesiredDeliveryMediums().addAll(desiredDeliveryMediumsCopy);
          }
          return this;
      }
docs: <p>
  Specify <code>"EMAIL"</code> if email will be used to send the welcome message. Specify <code>"SMS"</code> if the
  phone number will be used. The default value is <code>"SMS"</code>. More than one value can be specified.
  </p>
  
  @param desiredDeliveryMediums
  Specify <code>"EMAIL"</code> if email will be used to send the welcome message. Specify <code>"SMS"</code>
  if the phone number will be used. The default value is <code>"SMS"</code>. More than one value can be
  specified.
  @return Returns a reference to this object so that method calls can be chained together.
  @see DeliveryMediumType