Class ExpandedTypeaheadV1Request.Builder
- java.lang.Object
-
- com.chrt.api.resources.shipping.taskgroups.expanded.requests.ExpandedTypeaheadV1Request.Builder
-
- All Implemented Interfaces:
ExpandedTypeaheadV1Request._FinalStage,ExpandedTypeaheadV1Request.QueryStage
- Enclosing class:
- ExpandedTypeaheadV1Request
public static final class ExpandedTypeaheadV1Request.Builder extends java.lang.Object implements ExpandedTypeaheadV1Request.QueryStage, ExpandedTypeaheadV1Request._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExpandedTypeaheadV1Requestbuild()ExpandedTypeaheadV1Request.Builderfrom(ExpandedTypeaheadV1Request other)ExpandedTypeaheadV1Request._FinalStagelimit(Nullable<java.lang.Integer> limit)Max resultsExpandedTypeaheadV1Request._FinalStagelimit(java.lang.Integer limit)Max resultsExpandedTypeaheadV1Request._FinalStagelimit(java.util.Optional<java.lang.Integer> limit)Max resultsExpandedTypeaheadV1Request._FinalStagequery(java.lang.String query)Typeahead search query
-
-
-
Method Detail
-
from
public ExpandedTypeaheadV1Request.Builder from(ExpandedTypeaheadV1Request other)
- Specified by:
fromin interfaceExpandedTypeaheadV1Request.QueryStage
-
query
public ExpandedTypeaheadV1Request._FinalStage query(@NotNull java.lang.String query)
Typeahead search query
Typeahead search query
- Specified by:
queryin interfaceExpandedTypeaheadV1Request.QueryStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
limit
public ExpandedTypeaheadV1Request._FinalStage limit(Nullable<java.lang.Integer> limit)
Max results
- Specified by:
limitin interfaceExpandedTypeaheadV1Request._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
limit
public ExpandedTypeaheadV1Request._FinalStage limit(java.lang.Integer limit)
Max results
- Specified by:
limitin interfaceExpandedTypeaheadV1Request._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
limit
public ExpandedTypeaheadV1Request._FinalStage limit(java.util.Optional<java.lang.Integer> limit)
Max results
- Specified by:
limitin interfaceExpandedTypeaheadV1Request._FinalStage
-
build
public ExpandedTypeaheadV1Request build()
- Specified by:
buildin interfaceExpandedTypeaheadV1Request._FinalStage
-
-