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

        this.associatedRoles = new com.amazonaws.internal.SdkInternalList<DBInstanceRole>(associatedRoles);
    }
<p>
The Amazon Web Services Identity and Access Management (IAM) roles associated with the DB instance.
</p>

@param associatedRoles
       The Amazon Web Services Identity and Access Management (IAM) roles associated with the DB instance.
aws-java-sdk-rds/src/main/java/com/amazonaws/services/rds/model/DBInstance.java