primary
public final boolean primary()
Required - API name:
primary
JsonpSerializable
@JsonpDeserializable public class ShardSegmentRouting extends java.lang.Object implements JsonpSerializable
Modifier and Type | Class | Description |
---|---|---|
static class |
ShardSegmentRouting.Builder |
Builder for
ShardSegmentRouting . |
Modifier and Type | Field | Description |
---|---|---|
static JsonpDeserializer<ShardSegmentRouting> |
_DESERIALIZER |
Json deserializer for
ShardSegmentRouting |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
node() |
Required - API name:
node |
static ShardSegmentRouting |
of(java.util.function.Function<ShardSegmentRouting.Builder,ObjectBuilder<ShardSegmentRouting>> fn) |
|
boolean |
primary() |
Required - API name:
primary |
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 |
setupShardSegmentRoutingDeserializer(ObjectDeserializer<ShardSegmentRouting.Builder> op) |
|
java.lang.String |
state() |
Required - API name:
state |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
ShardSegmentRouting
node
primary
state
serialize
in interface JsonpSerializable
toString
in class java.lang.Object