Class Latest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<Latest.Builder>
co.elastic.clients.elasticsearch.transform.Latest.Builder
- All Implemented Interfaces:
- WithJson<Latest.Builder>,- ObjectBuilder<Latest>
- Enclosing class:
- Latest
public static class Latest.Builder
extends WithJsonObjectBuilderBase<Latest.Builder>
implements ObjectBuilder<Latest>
Builder for 
Latest.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds aLatest.protected Latest.Builderself()final Latest.BuilderRequired - Specifies the date field that is used to identify the latest documents.final Latest.BuilderRequired - Specifies an array of one or more fields that are used to group the data.final Latest.BuilderRequired - Specifies an array of one or more fields that are used to group the data.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
sortRequired - Specifies the date field that is used to identify the latest documents.API name: sort
- 
uniqueKeyRequired - Specifies an array of one or more fields that are used to group the data.API name: unique_keyAdds all elements of listtouniqueKey.
- 
uniqueKeyRequired - Specifies an array of one or more fields that are used to group the data.API name: unique_keyAdds one or more values to uniqueKey.
- 
self- Specified by:
- selfin class- WithJsonObjectBuilderBase<Latest.Builder>
 
- 
buildBuilds aLatest.- Specified by:
- buildin interface- ObjectBuilder<Latest>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-