code: public DescribeTrainingJobResult withSecondaryStatusTransitions(SecondaryStatusTransition... secondaryStatusTransitions) {
          if (this.secondaryStatusTransitions == null) {
              setSecondaryStatusTransitions(new java.util.ArrayList<SecondaryStatusTransition>(secondaryStatusTransitions.length));
          }
          for (SecondaryStatusTransition ele : secondaryStatusTransitions) {
              this.secondaryStatusTransitions.add(ele);
          }
          return this;
      }
docs: <p>
  A history of all of the secondary statuses that the training job has transitioned through.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setSecondaryStatusTransitions(java.util.Collection)} or
  {@link #withSecondaryStatusTransitions(java.util.Collection)} if you want to override the existing values.
  </p>
  
  @param secondaryStatusTransitions
  A history of all of the secondary statuses that the training job has transitioned through.
  @return Returns a reference to this object so that method calls can be chained together.