Class Parameter.Builder (2.33.2)

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
TypeDescription
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
NameDescription
nameString

name or null for none

Returns
TypeDescription
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
NameDescription
parameterQueryParameterValue

parameter or null for none

Returns
TypeDescription
Parameter.Builder