public void setDesiredDeliveryMediums(java.util.Collection<String> desiredDeliveryMediums) {
        if (desiredDeliveryMediums == null) {
            this.desiredDeliveryMediums = null;
            return;
        }

        this.desiredDeliveryMediums = new java.util.ArrayList<String>(desiredDeliveryMediums);
    }
<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>. You can specify more than one value.
</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>. You can specify more than one
       value.
@see DeliveryMediumType
aws-java-sdk-cognitoidp/src/main/java/com/amazonaws/services/cognitoidp/model/AdminCreateUserRequest.java