public void setAssociatedRoles(java.util.Collection<DBClusterRole> associatedRoles) {
        if (associatedRoles == null) {
            this.associatedRoles = null;
            return;
        }

        this.associatedRoles = new java.util.ArrayList<DBClusterRole>(associatedRoles);
    }
<p>
Provides a list of the Identity and Access Management (IAM) roles that are associated with the cluster. (IAM)
roles that are associated with a cluster grant permission for the cluster to access other Amazon Web Services
services on your behalf.
</p>

@param associatedRoles
       Provides a list of the Identity and Access Management (IAM) roles that are associated with the cluster.
       (IAM) roles that are associated with a cluster grant permission for the cluster to access other Amazon Web
       Services services on your behalf.
aws-java-sdk-docdb/src/main/java/com/amazonaws/services/docdb/model/DBCluster.java