public BatchGetConfigurationPolicyAssociationsResult withConfigurationPolicyAssociations(
            ConfigurationPolicyAssociationSummary... configurationPolicyAssociations) {
        if (this.configurationPolicyAssociations == null) {
            setConfigurationPolicyAssociations(new java.util.ArrayList<ConfigurationPolicyAssociationSummary>(configurationPolicyAssociations.length));
        }
        for (ConfigurationPolicyAssociationSummary ele : configurationPolicyAssociations) {
            this.configurationPolicyAssociations.add(ele);
        }
        return this;
    }
<p>
Describes associations for the target accounts, OUs, or the root.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setConfigurationPolicyAssociations(java.util.Collection)} or
{@link #withConfigurationPolicyAssociations(java.util.Collection)} if you want to override the existing values.
</p>

@param configurationPolicyAssociations
       Describes associations for the target accounts, OUs, or the root.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/BatchGetConfigurationPolicyAssociationsResult.java