Class PutFollowRequest

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

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

    • PutFollowRequest

      public PutFollowRequest(String remoteCluster, String leaderIndex, String followerIndex)
    • PutFollowRequest

      public PutFollowRequest(String remoteCluster, String leaderIndex, String followerIndex, org.elasticsearch.action.support.ActiveShardCount waitForActiveShards)
  • Method Details

    • 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
    • getRemoteCluster

      public String getRemoteCluster()
    • getLeaderIndex

      public String getLeaderIndex()
    • getFollowerIndex

      public String getFollowerIndex()
    • waitForActiveShards

      public org.elasticsearch.action.support.ActiveShardCount waitForActiveShards()
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class FollowConfig