code: public UpdateDeploymentGroupRequest withTriggerConfigurations(TriggerConfig... triggerConfigurations) {
          if (this.triggerConfigurations == null) {
              setTriggerConfigurations(new com.amazonaws.internal.SdkInternalList<TriggerConfig>(triggerConfigurations.length));
          }
          for (TriggerConfig ele : triggerConfigurations) {
              this.triggerConfigurations.add(ele);
          }
          return this;
      }
docs: <p>
  Information about triggers to change when the deployment group is updated. For examples, see <a
  href="https://docs.aws.amazon.com/codedeploy/latest/userguide/how-to-notify-edit.html">Modify Triggers in an AWS
  CodeDeploy Deployment Group</a> in the AWS CodeDeploy User Guide.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setTriggerConfigurations(java.util.Collection)} or
  {@link #withTriggerConfigurations(java.util.Collection)} if you want to override the existing values.
  </p>
  
  @param triggerConfigurations
  Information about triggers to change when the deployment group is updated. For examples, see <a
  href="https://docs.aws.amazon.com/codedeploy/latest/userguide/how-to-notify-edit.html">Modify Triggers in
  an AWS CodeDeploy Deployment Group</a> in the AWS CodeDeploy User Guide.
  @return Returns a reference to this object so that method calls can be chained together.