code: 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;
      }
docs: <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setDashboardValidationMessages(java.util.Collection)} or
  {@link #withDashboardValidationMessages(java.util.Collection)} if you want to override the existing values.
  </p>
  
  @param dashboardValidationMessages
  @return Returns a reference to this object so that method calls can be chained together.