Class MountSnapshotRequest
java.lang.Object
org.elasticsearch.client.searchable_snapshots.MountSnapshotRequest
- All Implemented Interfaces:
Validatable
,org.elasticsearch.common.xcontent.ToXContent
,org.elasticsearch.common.xcontent.ToXContentObject
public class MountSnapshotRequest extends java.lang.Object implements org.elasticsearch.common.xcontent.ToXContentObject, Validatable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MountSnapshotRequest.Storage
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params
-
Field Summary
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
Fields inherited from interface org.elasticsearch.client.Validatable
EMPTY
-
Constructor Summary
Constructors Constructor Description MountSnapshotRequest(java.lang.String repository, java.lang.String snapshot, java.lang.String index)
-
Method Summary
Modifier and Type Method Description java.lang.String[]
getIgnoredIndexSettings()
java.lang.String
getIndex()
org.elasticsearch.common.settings.Settings
getIndexSettings()
org.elasticsearch.common.unit.TimeValue
getMasterTimeout()
java.lang.String
getRenamedIndex()
java.lang.String
getRepository()
java.lang.String
getSnapshot()
MountSnapshotRequest.Storage
getStorage()
java.lang.Boolean
getWaitForCompletion()
MountSnapshotRequest
ignoredIndexSettings(java.lang.String[] ignoredIndexSettings)
MountSnapshotRequest
indexSettings(org.elasticsearch.common.settings.Settings indexSettings)
MountSnapshotRequest
masterTimeout(org.elasticsearch.common.unit.TimeValue masterTimeout)
MountSnapshotRequest
renamedIndex(java.lang.String renamedIndex)
MountSnapshotRequest
storage(MountSnapshotRequest.Storage storage)
org.elasticsearch.common.xcontent.XContentBuilder
toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)
MountSnapshotRequest
waitForCompletion(boolean waitForCompletion)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject
isFragment
Methods inherited from interface org.elasticsearch.client.Validatable
validate
-
Constructor Details
-
MountSnapshotRequest
public MountSnapshotRequest(java.lang.String repository, java.lang.String snapshot, java.lang.String index)
-
-
Method Details
-
getRepository
public java.lang.String getRepository() -
getSnapshot
public java.lang.String getSnapshot() -
getIndex
public java.lang.String getIndex() -
getMasterTimeout
public org.elasticsearch.common.unit.TimeValue getMasterTimeout() -
masterTimeout
-
getWaitForCompletion
public java.lang.Boolean getWaitForCompletion() -
waitForCompletion
-
getStorage
-
storage
-
getRenamedIndex
public java.lang.String getRenamedIndex() -
renamedIndex
-
getIndexSettings
public org.elasticsearch.common.settings.Settings getIndexSettings() -
indexSettings
public MountSnapshotRequest indexSettings(org.elasticsearch.common.settings.Settings indexSettings) -
getIgnoredIndexSettings
public java.lang.String[] getIgnoredIndexSettings() -
ignoredIndexSettings
-
toXContent
public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws java.io.IOException- Specified by:
toXContent
in interfaceorg.elasticsearch.common.xcontent.ToXContent
- Throws:
java.io.IOException
-