Class Parameter.Builder (2.42.1)

public abstract static class Parameter.Builder

Inheritance

java.lang.Object > Parameter.Builder

Constructors

Builder()

public Builder()

Methods

build()

public abstract Parameter build()

Creates a Parameter object.

Returns
Type Description
Parameter

setName(String name)

public abstract Parameter.Builder setName(String name)

[Optional] Sets the name of the query parameter. If unset, this is a positional parameter. Otherwise, should be unique within a query.

Parameter
Name Description
name String

name or null for none

Returns
Type Description
Parameter.Builder

setValue(QueryParameterValue parameter)

public abstract Parameter.Builder setValue(QueryParameterValue parameter)

Sets the the value for a query parameter along with its type.

Parameter
Name Description
parameter QueryParameterValue

parameter or null for none

Returns
Type Description
Parameter.Builder