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

        this.policyNames = new com.amazonaws.internal.SdkInternalList<String>(policyNames);
    }
<p>
A list of the names of policies to be retrieved. You can retrieve a maximum of 20 policies at a time. If you do
not know the names of the policies that are attached to the identity, you can use
<code>ListIdentityPolicies</code>.
</p>

@param policyNames
       A list of the names of policies to be retrieved. You can retrieve a maximum of 20 policies at a time. If
       you do not know the names of the policies that are attached to the identity, you can use
       <code>ListIdentityPolicies</code>.
aws-java-sdk-ses/src/main/java/com/amazonaws/services/simpleemail/model/GetIdentityPoliciesRequest.java