Package org.elasticsearch.client.ccr
Class PutAutoFollowPatternRequest
java.lang.Object
org.elasticsearch.client.ccr.FollowConfig
org.elasticsearch.client.ccr.PutAutoFollowPatternRequest
- All Implemented Interfaces:
Validatable
,ToXContent
,ToXContentObject
public final class PutAutoFollowPatternRequest extends FollowConfig implements Validatable, ToXContentObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
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)
XContentBuilder
toXContent(XContentBuilder builder, ToXContent.Params params)
Methods inherited from class org.elasticsearch.client.ccr.FollowConfig
getMaxOutstandingReadRequests, getMaxOutstandingWriteRequests, getMaxReadRequestOperationCount, getMaxReadRequestSize, getMaxRetryDelay, getMaxWriteBufferCount, getMaxWriteBufferSize, getMaxWriteRequestOperationCount, getMaxWriteRequestSize, getReadPollTimeout, setMaxOutstandingReadRequests, setMaxOutstandingWriteRequests, setMaxReadRequestOperationCount, setMaxReadRequestSize, setMaxRetryDelay, setMaxWriteBufferCount, setMaxWriteBufferSize, setMaxWriteRequestOperationCount, setMaxWriteRequestSize, setReadPollTimeout
-
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 XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException- Specified by:
toXContent
in interfaceToXContent
- Throws:
java.io.IOException
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classFollowConfig
-
hashCode
public int hashCode()- Overrides:
hashCode
in classFollowConfig
-