Class DataStreamFailureStore
java.lang.Object
co.elastic.clients.elasticsearch.indices.DataStreamFailureStore
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class DataStreamFailureStore
extends Object
implements JsonpSerializable
Data stream failure store contains the configuration of the failure store for
a given data stream.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<DataStreamFailureStore>
Json deserializer forDataStreamFailureStore
-
Method Summary
Modifier and TypeMethodDescriptionfinal Boolean
enabled()
If defined, it turns the failure store on/off (true
/false
) for this data stream.final FailureStoreLifecycle
If defined, it specifies the lifecycle configuration for the failure store of this data stream.static DataStreamFailureStore
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
toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forDataStreamFailureStore
-
-
Method Details
-
of
public static DataStreamFailureStore of(Function<DataStreamFailureStore.Builder, ObjectBuilder<DataStreamFailureStore>> fn) -
enabled
If defined, it turns the failure store on/off (true
/false
) for this data stream. A data stream failure store that's disabled (enabled:false
) will redirect no new failed indices to the failure store; however, it will not remove any existing data from the failure store.API name:
enabled
-
lifecycle
If defined, it specifies the lifecycle configuration for the failure store of this data stream.API name:
lifecycle
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupDataStreamFailureStoreDeserializer
protected static void setupDataStreamFailureStoreDeserializer(ObjectDeserializer<DataStreamFailureStore.Builder> op)
-