public Endpoint setParameter(String name, Object value) {
        Endpoint configured = new Endpoint(this);
        if (StringUtils.isNotBlank(name) && value != null) {
            configured.parameters.put(name, value.toString());
        }
        return configured;
    }
public Endpoint setParameter ( String name , Object value ) { Endpoint configured = new Endpoint ( this ) ; if ( StringUtils . isNotBlank ( name ) && value != null ) { configured . parameters . put ( name , value . toString ( ) ) ; } return configured ; }
Creates a new {@link Endpoint} instance with an additional GET parameter.

Typical usage is to add a request-specific parameter to an endpoint, which is why this method returns a new instance, rather than modifying the existing one.
This allows you add different parameters/values at different times without affecting the original instance.

@param name The parameter name.
@param value The parameter value.
@return A new {@link Endpoint} instance with the specified parameter added.