code: public ListResolverEndpointsResult withResolverEndpoints(ResolverEndpoint... resolverEndpoints) {
          if (this.resolverEndpoints == null) {
              setResolverEndpoints(new java.util.ArrayList<ResolverEndpoint>(resolverEndpoints.length));
          }
          for (ResolverEndpoint ele : resolverEndpoints) {
              this.resolverEndpoints.add(ele);
          }
          return this;
      }
docs: <p>
  The resolver endpoints that were created by using the current AWS account, and that match the specified filters,
  if any.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setResolverEndpoints(java.util.Collection)} or {@link #withResolverEndpoints(java.util.Collection)} if
  you want to override the existing values.
  </p>
  
  @param resolverEndpoints
  The resolver endpoints that were created by using the current AWS account, and that match the specified
  filters, if any.
  @return Returns a reference to this object so that method calls can be chained together.