public ListIdentityPoliciesResult withPolicyNames(String... policyNames) {
        if (this.policyNames == null) {
            setPolicyNames(new com.amazonaws.internal.SdkInternalList<String>(policyNames.length));
        }
        for (String ele : policyNames) {
            this.policyNames.add(ele);
        }
        return this;
    }
<p>
A list of names of policies that apply to the specified identity.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setPolicyNames(java.util.Collection)} or {@link #withPolicyNames(java.util.Collection)} if you want to
override the existing values.
</p>

@param policyNames
       A list of names of policies that apply to the specified identity.
@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/ListIdentityPoliciesResult.java