Class ComponentTemplateNodeWithRollover.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ComponentTemplateNodeWithRollover.Builder>
co.elastic.clients.elasticsearch.cluster.ComponentTemplateNodeWithRollover.Builder
- All Implemented Interfaces:
WithJson<ComponentTemplateNodeWithRollover.Builder>,ObjectBuilder<ComponentTemplateNodeWithRollover>
- Enclosing class:
- ComponentTemplateNodeWithRollover
public static class ComponentTemplateNodeWithRollover.Builder
extends WithJsonObjectBuilderBase<ComponentTemplateNodeWithRollover.Builder>
implements ObjectBuilder<ComponentTemplateNodeWithRollover>
Builder for
ComponentTemplateNodeWithRollover.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aComponentTemplateNodeWithRollover.createdDate(DateTime value) Date and time when the component template was created.createdDateMillis(Long value) Date and time when the component template was created, in milliseconds since the epoch.deprecated(Boolean value) API name:deprecatedAPI name:_metaAPI name:_metamodifiedDate(DateTime value) Date and time when the component template was last modified.modifiedDateMillis(Long value) Date and time when the component template was last modified, in milliseconds since the epoch.self()Required - API name:templatetemplate(Function<ComponentTemplateSummaryRes.Builder, ObjectBuilder<ComponentTemplateSummaryRes>> fn) Required - API name:templateAPI name:versionMethods 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
-
template
Required - API name:template -
template
public final ComponentTemplateNodeWithRollover.Builder template(Function<ComponentTemplateSummaryRes.Builder, ObjectBuilder<ComponentTemplateSummaryRes>> fn) Required - API name:template -
version
API name:version -
meta
API name:_metaAdds all entries of
maptometa. -
meta
API name:_metaAdds an entry to
meta. -
deprecated
API name:deprecated -
createdDate
Date and time when the component template was created. Only returned if thehumanquery parameter istrue.API name:
created_date -
createdDateMillis
Date and time when the component template was created, in milliseconds since the epoch.API name:
created_date_millis -
modifiedDate
Date and time when the component template was last modified. Only returned if thehumanquery parameter istrue.API name:
modified_date -
modifiedDateMillis
Date and time when the component template was last modified, in milliseconds since the epoch.API name:
modified_date_millis -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<ComponentTemplateNodeWithRollover.Builder>
-
build
Builds aComponentTemplateNodeWithRollover.- Specified by:
buildin interfaceObjectBuilder<ComponentTemplateNodeWithRollover>- Throws:
NullPointerException- if some of the required fields are null.
-