Class ShrinkResponse
java.lang.Object
co.elastic.clients.elasticsearch._types.AcknowledgedResponseBase
co.elastic.clients.elasticsearch.indices.ShrinkResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class ShrinkResponse extends AcknowledgedResponseBase
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ShrinkResponse.Builder
Builder forShrinkResponse
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.AcknowledgedResponseBase
AcknowledgedResponseBase.AbstractBuilder<BuilderT extends AcknowledgedResponseBase.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ShrinkResponse>
_DESERIALIZER
Json deserializer forShrinkResponse
-
Method Summary
Modifier and Type Method Description java.lang.String
index()
Required - API name:index
static ShrinkResponse
of(java.util.function.Function<ShrinkResponse.Builder,ObjectBuilder<ShrinkResponse>> fn)
protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupShrinkResponseDeserializer(ObjectDeserializer<ShrinkResponse.Builder> op)
boolean
shardsAcknowledged()
Required - API name:shards_acknowledged
Methods inherited from class co.elastic.clients.elasticsearch._types.AcknowledgedResponseBase
acknowledged, serialize, setupAcknowledgedResponseBaseDeserializer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forShrinkResponse
-
-
Method Details
-
of
public static ShrinkResponse of(java.util.function.Function<ShrinkResponse.Builder,ObjectBuilder<ShrinkResponse>> fn) -
shardsAcknowledged
public final boolean shardsAcknowledged()Required - API name:shards_acknowledged
-
index
public final java.lang.String index()Required - API name:index
-
serializeInternal
- Overrides:
serializeInternal
in classAcknowledgedResponseBase
-
setupShrinkResponseDeserializer
protected static void setupShrinkResponseDeserializer(ObjectDeserializer<ShrinkResponse.Builder> op)
-