Class RerouteParameters
java.lang.Object
co.elastic.clients.elasticsearch.cluster.reroute.RerouteParameters
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<RerouteParameters>
Json deserializer forRerouteParameters
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Required - API name:allow_primary
final String
fromNode()
API name:from_node
final String
index()
Required - API name:index
final String
node()
Required - API name:node
static RerouteParameters
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 int
shard()
Required - API name:shard
final String
toNode()
API name:to_node
toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forRerouteParameters
-
-
Method Details
-
of
public static RerouteParameters of(Function<RerouteParameters.Builder, ObjectBuilder<RerouteParameters>> fn) -
allowPrimary
public final boolean allowPrimary()Required - API name:allow_primary
-
index
Required - API name:index
-
node
Required - API name:node
-
shard
public final int shard()Required - API name:shard
-
fromNode
API name:from_node
-
toNode
API name:to_node
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupRerouteParametersDeserializer
protected static void setupRerouteParametersDeserializer(ObjectDeserializer<RerouteParameters.Builder> op)
-