public AttributeTypesSelector withPhoneNumber(String... phoneNumber) {
        if (this.phoneNumber == null) {
            setPhoneNumber(new java.util.ArrayList<String>(phoneNumber.length));
        }
        for (String ele : phoneNumber) {
            this.phoneNumber.add(ele);
        }
        return this;
    }
<p>
The <code>PhoneNumber</code> type. You can choose from <code>PhoneNumber</code>, <code>HomePhoneNumber</code>,
and <code>MobilePhoneNumber</code>.
</p>
<p>
You only can use the <code>PhoneNumber</code> type in the <code>MatchingRule</code>. For example, if you want to
match a profile based on <code>Phone</code> or <code>HomePhone</code>, you need to choose the <code>Phone</code>
and the <code>HomePhone</code> to represent the <code>PhoneNumber</code> type and only specify the
<code>PhoneNumber</code> on the matching rule.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setPhoneNumber(java.util.Collection)} or {@link #withPhoneNumber(java.util.Collection)} if you want to
override the existing values.
</p>

@param phoneNumber
       The <code>PhoneNumber</code> type. You can choose from <code>PhoneNumber</code>,
       <code>HomePhoneNumber</code>, and <code>MobilePhoneNumber</code>.</p>
       <p>
       You only can use the <code>PhoneNumber</code> type in the <code>MatchingRule</code>. For example, if you
       want to match a profile based on <code>Phone</code> or <code>HomePhone</code>, you need to choose the
       <code>Phone</code> and the <code>HomePhone</code> to represent the <code>PhoneNumber</code> type and only
       specify the <code>PhoneNumber</code> on the matching rule.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-customerprofiles/src/main/java/com/amazonaws/services/customerprofiles/model/AttributeTypesSelector.java