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 booleanequals(java.lang.Object o)java.lang.StringgetFollowIndexNamePattern()java.util.List<java.lang.String>getLeaderIndexPatterns()java.lang.StringgetName()java.lang.StringgetRemoteCluster()inthashCode()voidsetFollowIndexNamePattern(java.lang.String followIndexNamePattern)XContentBuildertoXContent(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:
toXContentin interfaceToXContent- Throws:
java.io.IOException
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classFollowConfig
-
hashCode
public int hashCode()- Overrides:
hashCodein classFollowConfig
-