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 Constructor Description Builder() -
Method Summary
Modifier and Type Method Description Pagebuild()Builds aPage.Page.Builderfrom(java.lang.Integer value)Skips the specified number of items.protected Page.Builderself()Page.Buildersize(java.lang.Integer value)Specifies 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, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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:
java.lang.NullPointerException- if some of the required fields are null.
-