code: public ListQueryLoggingConfigsResult withQueryLoggingConfigs(QueryLoggingConfig... queryLoggingConfigs) {
          if (this.queryLoggingConfigs == null) {
              setQueryLoggingConfigs(new com.amazonaws.internal.SdkInternalList<QueryLoggingConfig>(queryLoggingConfigs.length));
          }
          for (QueryLoggingConfig ele : queryLoggingConfigs) {
              this.queryLoggingConfigs.add(ele);
          }
          return this;
      }
docs: <p>
  An array that contains one <a
  href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_QueryLoggingConfig.html">QueryLoggingConfig</a>
  element for each configuration for DNS query logging that is associated with the current AWS account.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setQueryLoggingConfigs(java.util.Collection)} or {@link #withQueryLoggingConfigs(java.util.Collection)}
  if you want to override the existing values.
  </p>
  
  @param queryLoggingConfigs
  An array that contains one <a
  href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_QueryLoggingConfig.html"
  >QueryLoggingConfig</a> element for each configuration for DNS query logging that is associated with the
  current AWS account.
  @return Returns a reference to this object so that method calls can be chained together.