public OpenIdConnectAccessTokenConfiguration withAudiences(String... audiences) {
        if (this.audiences == null) {
            setAudiences(new java.util.ArrayList<String>(audiences.length));
        }
        for (String ele : audiences) {
            this.audiences.add(ele);
        }
        return this;
    }
<p>
The access token <code>aud</code> claim values that you want to accept in your policy store. For example,
<code>https://myapp.example.com, https://myapp2.example.com</code>.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAudiences(java.util.Collection)} or {@link #withAudiences(java.util.Collection)} if you want to
override the existing values.
</p>

@param audiences
       The access token <code>aud</code> claim values that you want to accept in your policy store. For example,
       <code>https://myapp.example.com, https://myapp2.example.com</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-verifiedpermissions/src/main/java/com/amazonaws/services/verifiedpermissions/model/OpenIdConnectAccessTokenConfiguration.java