docs: public PrincipalIdFormat withStatuses(IdFormat... statuses) {
          if (this.statuses == null) {
              setStatuses(new com.amazonaws.internal.SdkInternalList<IdFormat>(statuses.length));
          }
          for (IdFormat ele : statuses) {
              this.statuses.add(ele);
          }
          return this;
      }