Class Page.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<Page.Builder>
co.elastic.clients.elasticsearch.ml.Page.Builder
- All Implemented Interfaces:
WithJson<Page.Builder>,ObjectBuilder<Page>
- Enclosing class:
- Page
public static class Page.Builder
extends WithJsonObjectBuilderBase<Page.Builder>
implements ObjectBuilder<Page>
Builder for
Page.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aPage.final Page.BuilderSkips the specified number of items.protected Page.Builderself()final Page.BuilderSpecifies the maximum number of items to obtain.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
-
from
Skips the specified number of items.API name:
from -
size
Specifies the maximum number of items to obtain.API name:
size -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<Page.Builder>
-
build
Builds aPage.- Specified by:
buildin interfaceObjectBuilder<Page>- Throws:
NullPointerException- if some of the required fields are null.
-