Class DataDescription.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<DataDescription.Builder>
co.elastic.clients.elasticsearch.ml.DataDescription.Builder
- All Implemented Interfaces:
- WithJson<DataDescription.Builder>,- ObjectBuilder<DataDescription>
- Enclosing class:
- DataDescription
public static class DataDescription.Builder
extends WithJsonObjectBuilderBase<DataDescription.Builder>
implements ObjectBuilder<DataDescription>
Builder for 
DataDescription.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds aDataDescription.final DataDescription.BuilderfieldDelimiter(String value) API name:field_delimiterfinal DataDescription.BuilderOnly JSON format is supported at this time.protected DataDescription.Builderself()final DataDescription.BuilderThe name of the field that contains the timestamp.final DataDescription.BuildertimeFormat(String value) The time format, which can beepoch,epoch_ms, or a custom pattern.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- 
formatOnly JSON format is supported at this time.API name: format
- 
timeFieldThe name of the field that contains the timestamp.API name: time_field
- 
timeFormatThe time format, which can beepoch,epoch_ms, or a custom pattern. The valueepochrefers to UNIX or Epoch time (the number of seconds since 1 Jan 1970). The valueepoch_msindicates that time is measured in milliseconds since the epoch. Theepochandepoch_mstime formats accept either integer or real values. Custom patterns must conform to the Java DateTimeFormatter class. When you use date-time formatting patterns, it is recommended that you provide the full date, time and time zone. For example:yyyy-MM-dd'T'HH:mm:ssX. If the pattern that you specify is not sufficient to produce a complete timestamp, job creation fails.API name: time_format
- 
fieldDelimiterAPI name:field_delimiter
- 
self- Specified by:
- selfin class- WithJsonObjectBuilderBase<DataDescription.Builder>
 
- 
buildBuilds aDataDescription.- Specified by:
- buildin interface- ObjectBuilder<DataDescription>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-