code: public DescribeTrustedAdvisorCheckRefreshStatusesResult withStatuses(TrustedAdvisorCheckRefreshStatus... statuses) {
          if (this.statuses == null) {
              setStatuses(new com.amazonaws.internal.SdkInternalList<TrustedAdvisorCheckRefreshStatus>(statuses.length));
          }
          for (TrustedAdvisorCheckRefreshStatus ele : statuses) {
              this.statuses.add(ele);
          }
          return this;
      }
docs: <p>
  The refresh status of the specified Trusted Advisor checks.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setStatuses(java.util.Collection)} or {@link #withStatuses(java.util.Collection)} if you want to override
  the existing values.
  </p>
  
  @param statuses
  The refresh status of the specified Trusted Advisor checks.
  @return Returns a reference to this object so that method calls can be chained together.