Class DataStream
java.lang.Object
co.elastic.clients.elasticsearch.indices.DataStream
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class DataStream extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DataStream.Builder
Builder forDataStream
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<DataStream>
_DESERIALIZER
Json deserializer forDataStream
-
Method Summary
Modifier and Type Method Description java.lang.Boolean
allowCustomRouting()
API name:allow_custom_routing
int
generation()
Required - API name:generation
boolean
hidden()
Required - API name:hidden
java.lang.String
ilmPolicy()
API name:ilm_policy
java.util.List<DataStreamIndex>
indices()
Required - API name:indices
java.util.Map<java.lang.String,JsonData>
meta()
API name:_meta
java.lang.String
name()
Required - API name:name
static DataStream
of(java.util.function.Function<DataStream.Builder,ObjectBuilder<DataStream>> fn)
java.lang.Boolean
replicated()
API name:replicated
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupDataStreamDeserializer(ObjectDeserializer<DataStream.Builder> op)
HealthStatus
status()
Required - API name:status
java.lang.Boolean
system()
API name:system
java.lang.String
template()
Required - API name:template
DataStreamTimestampField
timestampField()
Required - API name:timestamp_field
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forDataStream
-
-
Method Details
-
of
public static DataStream of(java.util.function.Function<DataStream.Builder,ObjectBuilder<DataStream>> fn) -
name
public final java.lang.String name()Required - API name:name
-
timestampField
Required - API name:timestamp_field
-
indices
Required - API name:indices
-
generation
public final int generation()Required - API name:generation
-
template
public final java.lang.String template()Required - API name:template
-
replicated
@Nullable public final java.lang.Boolean replicated()API name:replicated
-
system
@Nullable public final java.lang.Boolean system()API name:system
-
status
Required - API name:status
-
ilmPolicy
@Nullable public final java.lang.String ilmPolicy()API name:ilm_policy
-
meta
API name:_meta
-
allowCustomRouting
@Nullable public final java.lang.Boolean allowCustomRouting()API name:allow_custom_routing
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupDataStreamDeserializer
-