Class ComponentTemplateNode.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ComponentTemplateNode.Builder>
co.elastic.clients.elasticsearch.cluster.ComponentTemplateNode.Builder
- All Implemented Interfaces:
WithJson<ComponentTemplateNode.Builder>,ObjectBuilder<ComponentTemplateNode>
- Enclosing class:
- ComponentTemplateNode
public static class ComponentTemplateNode.Builder
extends WithJsonObjectBuilderBase<ComponentTemplateNode.Builder>
implements ObjectBuilder<ComponentTemplateNode>
Builder for
ComponentTemplateNode.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aComponentTemplateNode.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.protected ComponentTemplateNode.Builderself()template(ComponentTemplateSummary value) Required - API name:templateRequired - 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 ComponentTemplateNode.Builder template(Function<ComponentTemplateSummary.Builder, ObjectBuilder<ComponentTemplateSummary>> 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<ComponentTemplateNode.Builder>
-
build
Builds aComponentTemplateNode.- Specified by:
buildin interfaceObjectBuilder<ComponentTemplateNode>- Throws:
NullPointerException- if some of the required fields are null.
-