Class TransformSummary.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<TransformSummary.Builder>
co.elastic.clients.elasticsearch.transform.get_transform.TransformSummary.Builder
- All Implemented Interfaces:
WithJson<TransformSummary.Builder>
,ObjectBuilder<TransformSummary>
- Enclosing class:
- TransformSummary
public static class TransformSummary.Builder extends WithJsonObjectBuilderBase<TransformSummary.Builder> implements ObjectBuilder<TransformSummary>
Builder for
TransformSummary
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description TransformSummary.Builder
authorization(TransformAuthorization value)
The security privileges that the transform uses to run its queries.TransformSummary.Builder
authorization(java.util.function.Function<TransformAuthorization.Builder,ObjectBuilder<TransformAuthorization>> fn)
The security privileges that the transform uses to run its queries.TransformSummary
build()
Builds aTransformSummary
.TransformSummary.Builder
createTime(java.lang.Long value)
The time the transform was created.TransformSummary.Builder
description(java.lang.String value)
Free text description of the transform.TransformSummary.Builder
dest(Destination value)
Required - The destination for the transform.TransformSummary.Builder
dest(java.util.function.Function<Destination.Builder,ObjectBuilder<Destination>> fn)
Required - The destination for the transform.TransformSummary.Builder
frequency(Time value)
API name:frequency
TransformSummary.Builder
frequency(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)
API name:frequency
TransformSummary.Builder
id(java.lang.String value)
Required - API name:id
TransformSummary.Builder
latest(Latest value)
API name:latest
TransformSummary.Builder
latest(java.util.function.Function<Latest.Builder,ObjectBuilder<Latest>> fn)
API name:latest
TransformSummary.Builder
meta(java.lang.String key, JsonData value)
API name:_meta
TransformSummary.Builder
meta(java.util.Map<java.lang.String,JsonData> map)
API name:_meta
TransformSummary.Builder
pivot(Pivot value)
The pivot method transforms the data by aggregating and grouping it.TransformSummary.Builder
pivot(java.util.function.Function<Pivot.Builder,ObjectBuilder<Pivot>> fn)
The pivot method transforms the data by aggregating and grouping it.TransformSummary.Builder
retentionPolicy(RetentionPolicy value)
API name:retention_policy
TransformSummary.Builder
retentionPolicy(java.util.function.Function<RetentionPolicy.Builder,ObjectBuilder<RetentionPolicy>> fn)
API name:retention_policy
protected TransformSummary.Builder
self()
TransformSummary.Builder
settings(Settings value)
Defines optional transform settings.TransformSummary.Builder
settings(java.util.function.Function<Settings.Builder,ObjectBuilder<Settings>> fn)
Defines optional transform settings.TransformSummary.Builder
source(Source value)
Required - The source of the data for the transform.TransformSummary.Builder
source(java.util.function.Function<Source.Builder,ObjectBuilder<Source>> fn)
Required - The source of the data for the transform.TransformSummary.Builder
sync(Sync value)
Defines the properties transforms require to run continuously.TransformSummary.Builder
sync(java.util.function.Function<Sync.Builder,ObjectBuilder<Sync>> fn)
Defines the properties transforms require to run continuously.TransformSummary.Builder
version(java.lang.String value)
The version of Elasticsearch that existed on the node when the transform was created.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authorization
The security privileges that the transform uses to run its queries. If Elastic Stack security features were disabled at the time of the most recent update to the transform, this property is omitted.API name:
authorization
-
authorization
public final TransformSummary.Builder authorization(java.util.function.Function<TransformAuthorization.Builder,ObjectBuilder<TransformAuthorization>> fn)The security privileges that the transform uses to run its queries. If Elastic Stack security features were disabled at the time of the most recent update to the transform, this property is omitted.API name:
authorization
-
createTime
The time the transform was created.API name:
create_time
-
description
Free text description of the transform.API name:
description
-
dest
Required - The destination for the transform.API name:
dest
-
dest
public final TransformSummary.Builder dest(java.util.function.Function<Destination.Builder,ObjectBuilder<Destination>> fn)Required - The destination for the transform.API name:
dest
-
frequency
API name:frequency
-
frequency
public final TransformSummary.Builder frequency(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)API name:frequency
-
id
Required - API name:id
-
latest
API name:latest
-
latest
public final TransformSummary.Builder latest(java.util.function.Function<Latest.Builder,ObjectBuilder<Latest>> fn)API name:latest
-
pivot
The pivot method transforms the data by aggregating and grouping it.API name:
pivot
-
pivot
public final TransformSummary.Builder pivot(java.util.function.Function<Pivot.Builder,ObjectBuilder<Pivot>> fn)The pivot method transforms the data by aggregating and grouping it.API name:
pivot
-
retentionPolicy
API name:retention_policy
-
retentionPolicy
public final TransformSummary.Builder retentionPolicy(java.util.function.Function<RetentionPolicy.Builder,ObjectBuilder<RetentionPolicy>> fn)API name:retention_policy
-
settings
Defines optional transform settings.API name:
settings
-
settings
public final TransformSummary.Builder settings(java.util.function.Function<Settings.Builder,ObjectBuilder<Settings>> fn)Defines optional transform settings.API name:
settings
-
source
Required - The source of the data for the transform.API name:
source
-
source
public final TransformSummary.Builder source(java.util.function.Function<Source.Builder,ObjectBuilder<Source>> fn)Required - The source of the data for the transform.API name:
source
-
sync
Defines the properties transforms require to run continuously.API name:
sync
-
sync
public final TransformSummary.Builder sync(java.util.function.Function<Sync.Builder,ObjectBuilder<Sync>> fn)Defines the properties transforms require to run continuously.API name:
sync
-
version
The version of Elasticsearch that existed on the node when the transform was created.API name:
version
-
meta
API name:_meta
Adds all entries of
map
tometa
. -
meta
API name:_meta
Adds an entry to
meta
. -
self
- Specified by:
self
in classWithJsonObjectBuilderBase<TransformSummary.Builder>
-
build
Builds aTransformSummary
.- Specified by:
build
in interfaceObjectBuilder<TransformSummary>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-