public ListIdentitiesResult withIdentities(String... identities) {
        if (this.identities == null) {
            setIdentities(new com.amazonaws.internal.SdkInternalList<String>(identities.length));
        }
        for (String ele : identities) {
            this.identities.add(ele);
        }
        return this;
    }
<p>
A list of identities.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setIdentities(java.util.Collection)} or {@link #withIdentities(java.util.Collection)} if you want to
override the existing values.
</p>

@param identities
       A list of identities.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ses/src/main/java/com/amazonaws/services/simpleemail/model/ListIdentitiesResult.java