Class RecoveryOrigin.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.indices.recovery.RecoveryOrigin.Builder
- All Implemented Interfaces:
CopyableBuilder<RecoveryOrigin.Builder,,RecoveryOrigin> MutableBuilder<RecoveryOrigin.Builder,,RecoveryOrigin> ObjectBuilder<RecoveryOrigin>
- Enclosing class:
RecoveryOrigin
public static class RecoveryOrigin.Builder
extends ObjectBuilderBase
implements CopyableBuilder<RecoveryOrigin.Builder,RecoveryOrigin>
Builder for
RecoveryOrigin.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal RecoveryOrigin.BuilderbootstrapNewHistoryUuid(Boolean value) Whether a new history UUID was bootstrapped.build()Builds aRecoveryOrigin.copy()Create a new builderCopyableBuilderthat is a copy of this one.final RecoveryOrigin.BuilderAPI name:hostfinal RecoveryOrigin.BuilderThe hostname of the node.final RecoveryOrigin.BuilderAPI name:idfinal RecoveryOrigin.BuilderAPI name:indexfinal RecoveryOrigin.BuilderAPI name:ipfinal RecoveryOrigin.BuilderisSearchableSnapshot(Boolean value) Whether this is a searchable snapshot.final RecoveryOrigin.BuilderAPI name:namefinal RecoveryOrigin.BuilderWhether this is a shallow copy from a remote store.final RecoveryOrigin.Builderrepository(String value) API name:repositoryfinal RecoveryOrigin.BuilderrestoreUuid(String value) API name:restoreUUIDfinal RecoveryOrigin.BuilderAPI name:snapshotfinal RecoveryOrigin.BuilderThe source remote store repository.final RecoveryOrigin.BuilderThe source remote translog repository.final RecoveryOrigin.BuildertransportAddress(String value) API name:transport_addressfinal RecoveryOrigin.BuilderAPI name:versionMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<RecoveryOrigin.Builder,RecoveryOrigin> - Returns:
- a new builder instance.
-
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 -
build
Builds aRecoveryOrigin.- Specified by:
buildin interfaceObjectBuilder<RecoveryOrigin>- Throws:
NullPointerException- if some of the required fields are null.
-