Class ActionReplicaCount
java.lang.Object
org.opensearch.client.opensearch.ism.ActionReplicaCount
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<ActionReplicaCount.Builder,ActionReplicaCount>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class ActionReplicaCount
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<ActionReplicaCount.Builder,ActionReplicaCount>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ActionReplicaCount> Json deserializer forActionReplicaCount -
Method Summary
Modifier and TypeMethodDescriptionstatic ActionReplicaCount.Builderbuilder()booleaninthashCode()final NumberThe number of replicas to set.static ActionReplicaCountvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forActionReplicaCount
-
-
Method Details
-
of
public static ActionReplicaCount of(Function<ActionReplicaCount.Builder, ObjectBuilder<ActionReplicaCount>> fn) -
numberOfReplicas
The number of replicas to set.API name:
number_of_replicas -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ActionReplicaCount.Builder,ActionReplicaCount> - Returns:
- a new builder instance.
-
builder
-
setupActionReplicaCountDeserializer
protected static void setupActionReplicaCountDeserializer(ObjectDeserializer<ActionReplicaCount.Builder> op) -
hashCode
public int hashCode() -
equals
-