Class PutAutoFollowPatternRequest

java.lang.Object
org.elasticsearch.client.ccr.FollowConfig
org.elasticsearch.client.ccr.PutAutoFollowPatternRequest
All Implemented Interfaces:
Validatable, org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject

public final class PutAutoFollowPatternRequest extends FollowConfig implements Validatable, org.elasticsearch.xcontent.ToXContentObject
  • Constructor Details

    • PutAutoFollowPatternRequest

      public PutAutoFollowPatternRequest(String name, String remoteCluster, List<String> leaderIndexPatterns)
    • PutAutoFollowPatternRequest

      public PutAutoFollowPatternRequest(String name, String remoteCluster, List<String> leaderIndexPatterns, List<String> leaderIndexExclusionPatterns)
  • Method Details

    • getName

      public String getName()
    • getRemoteCluster

      public String getRemoteCluster()
    • getLeaderIndexPatterns

      public List<String> getLeaderIndexPatterns()
    • getLeaderIndexExclusionPatterns

      public List<String> getLeaderIndexExclusionPatterns()
    • getFollowIndexNamePattern

      public String getFollowIndexNamePattern()
    • setFollowIndexNamePattern

      public void setFollowIndexNamePattern(String followIndexNamePattern)
    • toXContent

      public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException
      Specified by:
      toXContent in interface org.elasticsearch.xcontent.ToXContent
      Throws:
      IOException
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class FollowConfig
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class FollowConfig