Package org.elasticsearch.client.ccr
Class PutAutoFollowPatternRequest
java.lang.Object
org.elasticsearch.client.ccr.FollowConfig
org.elasticsearch.client.ccr.PutAutoFollowPatternRequest
- All Implemented Interfaces:
Validatable
,org.elasticsearch.common.xcontent.ToXContent
,org.elasticsearch.common.xcontent.ToXContentObject
public final class PutAutoFollowPatternRequest extends FollowConfig implements Validatable, org.elasticsearch.common.xcontent.ToXContentObject
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PutAutoFollowPatternRequest(java.lang.String name, java.lang.String remoteCluster, java.util.List<java.lang.String> leaderIndexPatterns)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getFollowIndexNamePattern()
java.util.List<java.lang.String>
getLeaderIndexPatterns()
java.lang.String
getName()
java.lang.String
getRemoteCluster()
int
hashCode()
void
setFollowIndexNamePattern(java.lang.String followIndexNamePattern)
org.elasticsearch.common.xcontent.XContentBuilder
toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)
Methods inherited from class org.elasticsearch.client.ccr.FollowConfig
getMaxOutstandingReadRequests, getMaxOutstandingWriteRequests, getMaxReadRequestOperationCount, getMaxReadRequestSize, getMaxRetryDelay, getMaxWriteBufferCount, getMaxWriteBufferSize, getMaxWriteRequestOperationCount, getMaxWriteRequestSize, getReadPollTimeout, getSettings, setMaxOutstandingReadRequests, setMaxOutstandingWriteRequests, setMaxReadRequestOperationCount, setMaxReadRequestSize, setMaxRetryDelay, setMaxWriteBufferCount, setMaxWriteBufferSize, setMaxWriteRequestOperationCount, setMaxWriteRequestSize, setReadPollTimeout, setSettings
-
Constructor Details
-
PutAutoFollowPatternRequest
public PutAutoFollowPatternRequest(java.lang.String name, java.lang.String remoteCluster, java.util.List<java.lang.String> leaderIndexPatterns)
-
-
Method Details
-
getName
public java.lang.String getName() -
getRemoteCluster
public java.lang.String getRemoteCluster() -
getLeaderIndexPatterns
public java.util.List<java.lang.String> getLeaderIndexPatterns() -
getFollowIndexNamePattern
public java.lang.String getFollowIndexNamePattern() -
setFollowIndexNamePattern
public void setFollowIndexNamePattern(java.lang.String followIndexNamePattern) -
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
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classFollowConfig
-
hashCode
public int hashCode()- Overrides:
hashCode
in classFollowConfig
-