Class PutDataStreamOptionsRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.indices.PutDataStreamOptionsRequest
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class PutDataStreamOptionsRequest
extends RequestBase
implements JsonpSerializable
Update data stream options. Update the data stream options 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<PutDataStreamOptionsRequest>Json deserializer forPutDataStreamOptionsRequestEndpoint "indices.put_data_stream_options". -
Method Summary
Modifier and TypeMethodDescriptionfinal List<ExpandWildcard>Type of data stream that wildcard patterns can match.final DataStreamFailureStoreIf defined, it will update the failure store configuration of every data stream resolved by the name expression.final TimePeriod to wait for a connection to the master node.name()Required - Comma-separated list of data streams used to limit the request.static PutDataStreamOptionsRequestvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupPutDataStreamOptionsRequestDeserializer(ObjectDeserializer<PutDataStreamOptionsRequest.Builder> op) final Timetimeout()Period to wait for a response.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_DESERIALIZER
Json deserializer forPutDataStreamOptionsRequest -
_ENDPOINT
public static final Endpoint<PutDataStreamOptionsRequest,PutDataStreamOptionsResponse, _ENDPOINTErrorResponse> Endpoint "indices.put_data_stream_options".
-
-
Method Details
-
of
-
expandWildcards
Type of data stream that wildcard patterns can match. Supports comma-separated values, such asopen,hidden.API name:
expand_wildcards -
failureStore
If defined, it will update the failure store configuration of every data stream resolved by the name expression.API name:
failure_store -
masterTimeout
Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.API name:
master_timeout -
name
Required - Comma-separated list of data streams used to limit the request. Supports wildcards (*). To target all data streams use*or_all.API name:
name -
timeout
Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.API name:
timeout -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupPutDataStreamOptionsRequestDeserializer
protected static void setupPutDataStreamOptionsRequestDeserializer(ObjectDeserializer<PutDataStreamOptionsRequest.Builder> op)
-