Class Page.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.ml.Page.Builder
- All Implemented Interfaces:
ObjectBuilder<Page>
- Enclosing class:
- Page
public static class Page.Builder extends ObjectBuilderBase implements ObjectBuilder<Page>
Builder for
Page
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description Page
build()
Builds aPage
.Page.Builder
from(java.lang.Integer value)
Skips the specified number of items.Page.Builder
size(java.lang.Integer value)
Specifies the maximum number of items to obtain.Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods 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
-
build
Builds aPage
.- Specified by:
build
in interfaceObjectBuilder<Page>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-