Class CreateDataStreamRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.indices.CreateDataStreamRequest
Creates a data stream. You must have a matching index template with data
stream enabled.
- 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 Endpoint<CreateDataStreamRequest,CreateDataStreamResponse, ErrorResponse> Endpoint "indices.create_data_stream". -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringname()Required - Name of the data stream, which must meet the following criteria: Lowercase only; Cannot include\,/,*,?,",<,>,|,,,#,:, or a space character; Cannot start with-,_,+, or.ds-; Cannot be.or..; Cannot be longer than 255 bytes.static CreateDataStreamRequestMethods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
public static final Endpoint<CreateDataStreamRequest,CreateDataStreamResponse, _ENDPOINTErrorResponse> Endpoint "indices.create_data_stream".
-
-
Method Details
-
of
public static CreateDataStreamRequest of(Function<CreateDataStreamRequest.Builder, ObjectBuilder<CreateDataStreamRequest>> fn) -
name
Required - Name of the data stream, which must meet the following criteria: Lowercase only; Cannot include\,/,*,?,",<,>,|,,,#,:, or a space character; Cannot start with-,_,+, or.ds-; Cannot be.or..; Cannot be longer than 255 bytes. Multi-byte characters count towards this limit faster.API name:
name
-