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 SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<DataStreamFailureStore>Json deserializer forDataStreamFailureStore
- 
Method SummaryModifier and TypeMethodDescriptionfinal Booleanenabled()If defined, it turns the failure store on/off (true/false) for this data stream.final FailureStoreLifecycleIf defined, it specifies the lifecycle configuration for the failure store of this data stream.static DataStreamFailureStorevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
- 
Field Details- 
_DESERIALIZERJson deserializer forDataStreamFailureStore
 
- 
- 
Method Details- 
ofpublic static DataStreamFailureStore of(Function<DataStreamFailureStore.Builder, ObjectBuilder<DataStreamFailureStore>> fn) 
- 
enabledIf 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
- 
lifecycleIf defined, it specifies the lifecycle configuration for the failure store of this data stream.API name: lifecycle
- 
serializeSerialize this object to JSON.- Specified by:
- serializein interface- JsonpSerializable
 
- 
serializeInternal
- 
toString
- 
setupDataStreamFailureStoreDeserializerprotected static void setupDataStreamFailureStoreDeserializer(ObjectDeserializer<DataStreamFailureStore.Builder> op) 
 
-