Class GetCalendarsRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<GetCalendarsRequest.Builder>
co.elastic.clients.elasticsearch.ml.GetCalendarsRequest.Builder
- All Implemented Interfaces:
WithJson<GetCalendarsRequest.Builder>,ObjectBuilder<GetCalendarsRequest>
- Enclosing class:
- GetCalendarsRequest
public static class GetCalendarsRequest.Builder
extends RequestBase.AbstractBuilder<GetCalendarsRequest.Builder>
implements ObjectBuilder<GetCalendarsRequest>
Builder for
GetCalendarsRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aGetCalendarsRequest.calendarId(String value) A string that uniquely identifies a calendar.Skips the specified number of calendars.This object is supported only when you omit the calendar identifier.This object is supported only when you omit the calendar identifier.protected GetCalendarsRequest.Builderself()Specifies the maximum number of calendars 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
-
calendarId
A string that uniquely identifies a calendar. You can get information for multiple calendars by using a comma-separated list of ids or a wildcard expression. You can get information for all calendars by using_allor*or by omitting the calendar identifier.API name:
calendar_id -
from
Skips the specified number of calendars. This parameter is supported only when you omit the calendar identifier.API name:
from -
page
This object is supported only when you omit the calendar identifier.API name:
page -
page
This object is supported only when you omit the calendar identifier.API name:
page -
size
Specifies the maximum number of calendars to obtain. This parameter is supported only when you omit the calendar identifier.API name:
size -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<GetCalendarsRequest.Builder>
-
build
Builds aGetCalendarsRequest.- Specified by:
buildin interfaceObjectBuilder<GetCalendarsRequest>- Throws:
NullPointerException- if some of the required fields are null.
-