Class RecoveryOrigin
java.lang.Object
org.opensearch.client.opensearch.indices.recovery.RecoveryOrigin
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<RecoveryOrigin.Builder,RecoveryOrigin>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class RecoveryOrigin
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<RecoveryOrigin.Builder,RecoveryOrigin>
The source or target of a recovery operation.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<RecoveryOrigin> Json deserializer forRecoveryOrigin -
Method Summary
Modifier and TypeMethodDescriptionfinal BooleanWhether a new history UUID was bootstrapped.static RecoveryOrigin.Builderbuilder()booleaninthashCode()final Stringhost()API name:hostfinal Stringhostname()The hostname of the node.final Stringid()API name:idfinal Stringindex()API name:indexfinal Stringip()API name:ipfinal BooleanWhether this is a searchable snapshot.final Stringname()API name:namestatic RecoveryOriginfinal BooleanWhether this is a shallow copy from a remote store.final StringAPI name:repositoryfinal StringAPI name:restoreUUIDvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Stringsnapshot()API name:snapshotfinal StringThe source remote store repository.final StringThe source remote translog repository.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.final StringAPI name:transport_addressfinal Stringversion()API name:versionMethods 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 forRecoveryOrigin
-
-
Method Details
-
of
-
bootstrapNewHistoryUuid
Whether a new history UUID was bootstrapped.API name:
bootstrap_new_history_uuid -
host
API name:host -
hostname
The hostname of the node.API name:
hostname -
id
API name:id -
index
API name:index -
ip
API name:ip -
isSearchableSnapshot
Whether this is a searchable snapshot.API name:
isSearchableSnapshot -
name
API name:name -
remoteStoreIndexShallowCopy
Whether this is a shallow copy from a remote store.API name:
remoteStoreIndexShallowCopy -
repository
API name:repository -
restoreUuid
API name:restoreUUID -
snapshot
API name:snapshot -
sourceRemoteStoreRepository
The source remote store repository.API name:
sourceRemoteStoreRepository -
sourceRemoteTranslogRepository
The source remote translog repository.API name:
sourceRemoteTranslogRepository -
transportAddress
API name:transport_address -
version
API name:version -
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<RecoveryOrigin.Builder,RecoveryOrigin> - Returns:
- a new builder instance.
-
builder
-
setupRecoveryOriginDeserializer
protected static void setupRecoveryOriginDeserializer(ObjectDeserializer<RecoveryOrigin.Builder> op) -
hashCode
public int hashCode() -
equals
-