public DescribePhoneNumbersResult withPhoneNumbers(PhoneNumberInformation... phoneNumbers) {
        if (this.phoneNumbers == null) {
            setPhoneNumbers(new java.util.ArrayList<PhoneNumberInformation>(phoneNumbers.length));
        }
        for (PhoneNumberInformation ele : phoneNumbers) {
            this.phoneNumbers.add(ele);
        }
        return this;
    }
<p>
An array of PhoneNumberInformation objects that contain the details for the requested phone numbers.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setPhoneNumbers(java.util.Collection)} or {@link #withPhoneNumbers(java.util.Collection)} if you want to
override the existing values.
</p>

@param phoneNumbers
       An array of PhoneNumberInformation objects that contain the details for the requested phone numbers.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-pinpointsmsvoicev2/src/main/java/com/amazonaws/services/pinpointsmsvoicev2/model/DescribePhoneNumbersResult.java