Class PutDataLifecycleRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.indices.PutDataLifecycleRequest
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class PutDataLifecycleRequest
extends RequestBase
implements JsonpSerializable
Update the data lifecycle of the specified data streams.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<PutDataLifecycleRequest>Json deserializer forPutDataLifecycleRequeststatic final Endpoint<PutDataLifecycleRequest,PutDataLifecycleResponse, ErrorResponse> Endpoint "indices.put_data_lifecycle". -
Method Summary
Modifier and TypeMethodDescriptionfinal TimeAPI name:data_retentionfinal List<ExpandWildcard>Whether wildcard expressions should get expanded to open or closed indices (default: open)final TimeSpecify timeout for connection to mastername()Required - A comma-separated list of data streams whose lifecycle will be updated; use*to set the lifecycle to all data streamsstatic PutDataLifecycleRequestvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Timetimeout()Explicit timestamp for the documentMethods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_DESERIALIZER
Json deserializer forPutDataLifecycleRequest -
_ENDPOINT
public static final Endpoint<PutDataLifecycleRequest,PutDataLifecycleResponse, _ENDPOINTErrorResponse> Endpoint "indices.put_data_lifecycle".
-
-
Method Details
-
of
public static PutDataLifecycleRequest of(Function<PutDataLifecycleRequest.Builder, ObjectBuilder<PutDataLifecycleRequest>> fn) -
dataRetention
API name:data_retention -
expandWildcards
Whether wildcard expressions should get expanded to open or closed indices (default: open)API name:
expand_wildcards -
masterTimeout
Specify timeout for connection to masterAPI name:
master_timeout -
name
Required - A comma-separated list of data streams whose lifecycle will be updated; use*to set the lifecycle to all data streamsAPI name:
name -
timeout
Explicit timestamp for the documentAPI name:
timeout -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupPutDataLifecycleRequestDeserializer
protected static void setupPutDataLifecycleRequestDeserializer(ObjectDeserializer<PutDataLifecycleRequest.Builder> op)
-