public AdminCreateUserRequest withDesiredDeliveryMediums(String... desiredDeliveryMediums) {
        if (this.desiredDeliveryMediums == null) {
            setDesiredDeliveryMediums(new java.util.ArrayList<String>(desiredDeliveryMediums.length));
        }
        for (String ele : desiredDeliveryMediums) {
            this.desiredDeliveryMediums.add(ele);
        }
        return this;
    }
public AdminCreateUserRequest withDesiredDeliveryMediums ( String ... desiredDeliveryMediums ) { if ( this . desiredDeliveryMediums == null ) { setDesiredDeliveryMediums ( new java . util . ArrayList < String > ( desiredDeliveryMediums . length ) ) ; } for ( String ele : desiredDeliveryMediums ) { this . desiredDeliveryMediums . add ( ele ) ; } return this ; }
<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>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setDesiredDeliveryMediums(java.util.Collection)} or
{@link #withDesiredDeliveryMediums(java.util.Collection)} if you want to override the existing values.
</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