Class CreateIndexResponse
java.lang.Object
co.elastic.clients.elasticsearch.indices.CreateIndexResponse
- All Implemented Interfaces:
AcknowledgedResponse
,JsonpSerializable
@JsonpDeserializable
public class CreateIndexResponse
extends Object
implements AcknowledgedResponse, JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<CreateIndexResponse>
Json deserializer forCreateIndexResponse
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Required - API name:acknowledged
final String
index()
Required - API name:index
static CreateIndexResponse
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
final boolean
Required - API name:shards_acknowledged
toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forCreateIndexResponse
-
-
Method Details
-
of
public static CreateIndexResponse of(Function<CreateIndexResponse.Builder, ObjectBuilder<CreateIndexResponse>> fn) -
index
Required - API name:index
-
shardsAcknowledged
public final boolean shardsAcknowledged()Required - API name:shards_acknowledged
-
acknowledged
public final boolean acknowledged()Required - API name:acknowledged
- Specified by:
acknowledged
in interfaceAcknowledgedResponse
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupCreateIndexResponseDeserializer
protected static void setupCreateIndexResponseDeserializer(ObjectDeserializer<CreateIndexResponse.Builder> op)
-