| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
UnitQuery |
build()
Returns the configured query
|
UnitQuery.Builder |
size(int size)
Sets the size for the query.
|
UnitQuery.Builder |
unit(Unit unit)
Sets the unit for the query.
|
UnitQuery.Builder |
unitReference(String unitReference)
Sets the unit reference for the query.
|
UnitQuery.Builder |
units(int units)
Sets the units for the query.
|
public UnitQuery.Builder unit(Unit unit)
unit - The unit for the querypublic UnitQuery.Builder units(int units)
units - The units for the querypublic UnitQuery.Builder unitReference(String unitReference)
unitReference - The unit reference for the querypublic UnitQuery.Builder size(int size)
size - The size for the querypublic UnitQuery build()
Copyright © 2020. All rights reserved.