code: public void setRoleDetailList(java.util.Collection<RoleDetail> roleDetailList) {
          if (roleDetailList == null) {
              this.roleDetailList = null;
              return;
          }
  
          this.roleDetailList = new com.amazonaws.internal.SdkInternalList<RoleDetail>(roleDetailList);
      }
docs: <p>
  A list containing information about IAM roles.
  </p>
  
  @param roleDetailList
  A list containing information about IAM roles.