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

        this.numberCapabilities = new java.util.ArrayList<String>(numberCapabilities);
    }
<p>
Indicates if the phone number will be used for text messages, voice messages, or both.
</p>

@param numberCapabilities
       Indicates if the phone number will be used for text messages, voice messages, or both.
@see NumberCapability
aws-java-sdk-pinpointsmsvoicev2/src/main/java/com/amazonaws/services/pinpointsmsvoicev2/model/RequestPhoneNumberRequest.java