Class IndexSegmentSort.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<IndexSegmentSort.Builder>
co.elastic.clients.elasticsearch.indices.IndexSegmentSort.Builder
- All Implemented Interfaces:
WithJson<IndexSegmentSort.Builder>,ObjectBuilder<IndexSegmentSort>
- Enclosing class:
- IndexSegmentSort
public static class IndexSegmentSort.Builder
extends WithJsonObjectBuilderBase<IndexSegmentSort.Builder>
implements ObjectBuilder<IndexSegmentSort>
Builder for
IndexSegmentSort.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aIndexSegmentSort.final IndexSegmentSort.BuilderAPI name:fieldfinal IndexSegmentSort.BuilderAPI name:fieldfinal IndexSegmentSort.Buildermissing(SegmentSortMissing value, SegmentSortMissing... values) API name:missingfinal IndexSegmentSort.Buildermissing(List<SegmentSortMissing> list) API name:missingfinal IndexSegmentSort.Buildermode(SegmentSortMode value, SegmentSortMode... values) API name:modefinal IndexSegmentSort.Buildermode(List<SegmentSortMode> list) API name:modefinal IndexSegmentSort.Builderorder(SegmentSortOrder value, SegmentSortOrder... values) API name:orderfinal IndexSegmentSort.Builderorder(List<SegmentSortOrder> list) API name:orderprotected IndexSegmentSort.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
field
API name:fieldAdds all elements of
listtofield. -
field
API name:fieldAdds one or more values to
field. -
order
API name:orderAdds all elements of
listtoorder. -
order
API name:orderAdds one or more values to
order. -
mode
API name:modeAdds all elements of
listtomode. -
mode
API name:modeAdds one or more values to
mode. -
missing
API name:missingAdds all elements of
listtomissing. -
missing
public final IndexSegmentSort.Builder missing(SegmentSortMissing value, SegmentSortMissing... values) API name:missingAdds one or more values to
missing. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<IndexSegmentSort.Builder>
-
build
Builds aIndexSegmentSort.- Specified by:
buildin interfaceObjectBuilder<IndexSegmentSort>- Throws:
NullPointerException- if some of the required fields are null.
-