Class SnapshotShardsStatus
java.lang.Object
org.opensearch.client.opensearch.snapshot.SnapshotShardsStatus
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<SnapshotShardsStatus.Builder,SnapshotShardsStatus>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class SnapshotShardsStatus
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<SnapshotShardsStatus.Builder,SnapshotShardsStatus>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<SnapshotShardsStatus> Json deserializer forSnapshotShardsStatus -
Method Summary
Modifier and TypeMethodDescriptionstatic SnapshotShardsStatus.Builderbuilder()booleaninthashCode()final Stringnode()The ID of the node containing the shard.static SnapshotShardsStatusfinal Stringreason()The reason for the current shard status.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal SnapshotShardsStatsStagestage()Required - The current stage of the shard snapshot.stats()Required - The statistical summary of the shard snapshot.Create 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 forSnapshotShardsStatus
-
-
Method Details
-
of
public static SnapshotShardsStatus of(Function<SnapshotShardsStatus.Builder, ObjectBuilder<SnapshotShardsStatus>> fn) -
node
The ID of the node containing the shard.API name:
node -
reason
The reason for the current shard status.API name:
reason -
stage
Required - The current stage of the shard snapshot.API name:
stage -
stats
Required - The statistical summary of the shard snapshot.API name:
stats -
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<SnapshotShardsStatus.Builder,SnapshotShardsStatus> - Returns:
- a new builder instance.
-
builder
-
setupSnapshotShardsStatusDeserializer
protected static void setupSnapshotShardsStatusDeserializer(ObjectDeserializer<SnapshotShardsStatus.Builder> op) -
hashCode
public int hashCode() -
equals
-