docs: public DashboardInvalidInputErrorException withDashboardValidationMessages(DashboardValidationMessage... dashboardValidationMessages) {
          if (this.dashboardValidationMessages == null) {
              setDashboardValidationMessages(new com.amazonaws.internal.SdkInternalList<DashboardValidationMessage>(dashboardValidationMessages.length));
          }
          for (DashboardValidationMessage ele : dashboardValidationMessages) {
              this.dashboardValidationMessages.add(ele);
          }
          return this;
      }