code: public void setAssociatedRoles(java.util.Collection<DBInstanceRole> associatedRoles) {
          if (associatedRoles == null) {
              this.associatedRoles = null;
              return;
          }
  
          this.associatedRoles = new com.amazonaws.internal.SdkInternalList<DBInstanceRole>(associatedRoles);
      }
docs: <p>
  The AWS Identity and Access Management (IAM) roles associated with the DB instance.
  </p>
  
  @param associatedRoles
  The AWS Identity and Access Management (IAM) roles associated with the DB instance.