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
  • 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 interface org.elasticsearch.common.xcontent.ToXContent
      Throws:
      java.io.IOException
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class FollowConfig
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class FollowConfig