public static class RestoreService.RestoreRequest
extends java.lang.Object
Constructor and Description |
---|
RestoreRequest(java.lang.String repositoryName,
java.lang.String snapshotName,
java.lang.String[] indices,
IndicesOptions indicesOptions,
java.lang.String renamePattern,
java.lang.String renameReplacement,
Settings settings,
TimeValue masterNodeTimeout,
boolean includeGlobalState,
boolean partial,
boolean includeAliases,
Settings indexSettings,
java.lang.String[] ignoreIndexSettings,
java.lang.String cause)
Constructs new restore request
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
cause()
Returns restore operation cause
|
java.lang.String[] |
ignoreIndexSettings()
Returns index settings that that shouldn't be restored
|
boolean |
includeAliases()
Returns true if aliases should be restore during this restore operation
|
boolean |
includeGlobalState()
Returns true if global state should be restore during this restore operation
|
Settings |
indexSettings()
Returns index settings that should be changed on restore
|
java.lang.String[] |
indices()
Return the list of indices to be restored
|
IndicesOptions |
indicesOptions()
Returns indices option flags
|
TimeValue |
masterNodeTimeout()
Return master node timeout
|
boolean |
partial()
Returns true if incomplete indices will be restored
|
java.lang.String |
renamePattern()
Returns rename pattern
|
java.lang.String |
renameReplacement()
Returns replacement pattern
|
java.lang.String |
repositoryName()
Returns repository name
|
Settings |
settings()
Returns repository-specific restore settings
|
java.lang.String |
snapshotName()
Returns snapshot name
|
public RestoreRequest(java.lang.String repositoryName, java.lang.String snapshotName, java.lang.String[] indices, IndicesOptions indicesOptions, java.lang.String renamePattern, java.lang.String renameReplacement, Settings settings, TimeValue masterNodeTimeout, boolean includeGlobalState, boolean partial, boolean includeAliases, Settings indexSettings, java.lang.String[] ignoreIndexSettings, java.lang.String cause)
repositoryName
- repositoryNamesnapshotName
- snapshotNameindices
- list of indices to restoreindicesOptions
- indices optionsrenamePattern
- pattern to rename indicesrenameReplacement
- replacement for renamed indicessettings
- repository specific restore settingsmasterNodeTimeout
- master node timeoutincludeGlobalState
- include global state into restorepartial
- allow partial restoreindexSettings
- index settings that should be changed on restoreignoreIndexSettings
- index settings that shouldn't be restoredcause
- cause for restoring the snapshotpublic java.lang.String cause()
public java.lang.String repositoryName()
public java.lang.String snapshotName()
public java.lang.String[] indices()
public IndicesOptions indicesOptions()
public java.lang.String renamePattern()
public java.lang.String renameReplacement()
public Settings settings()
public boolean includeGlobalState()
public boolean partial()
public boolean includeAliases()
public Settings indexSettings()
public java.lang.String[] ignoreIndexSettings()
public TimeValue masterNodeTimeout()