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 classMountSnapshotRequest.StorageNested 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_PARAMSFields 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.StringgetIndex()org.elasticsearch.common.settings.SettingsgetIndexSettings()org.elasticsearch.common.unit.TimeValuegetMasterTimeout()java.lang.StringgetRenamedIndex()java.lang.StringgetRepository()java.lang.StringgetSnapshot()MountSnapshotRequest.StoragegetStorage()java.lang.BooleangetWaitForCompletion()MountSnapshotRequestignoredIndexSettings(java.lang.String[] ignoredIndexSettings)MountSnapshotRequestindexSettings(org.elasticsearch.common.settings.Settings indexSettings)MountSnapshotRequestmasterTimeout(org.elasticsearch.common.unit.TimeValue masterTimeout)MountSnapshotRequestrenamedIndex(java.lang.String renamedIndex)MountSnapshotRequeststorage(MountSnapshotRequest.Storage storage)org.elasticsearch.common.xcontent.XContentBuildertoXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)MountSnapshotRequestwaitForCompletion(boolean waitForCompletion)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject
isFragmentMethods 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:
toXContentin interfaceorg.elasticsearch.common.xcontent.ToXContent- Throws:
java.io.IOException
-