Class PutFollowRequest

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

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

    • PutFollowRequest

      public PutFollowRequest​(java.lang.String remoteCluster, java.lang.String leaderIndex, java.lang.String followerIndex)
    • PutFollowRequest

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

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

      public java.lang.String getRemoteCluster()
    • getLeaderIndex

      public java.lang.String getLeaderIndex()
    • getFollowerIndex

      public java.lang.String getFollowerIndex()
    • waitForActiveShards

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

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

      public int hashCode()
      Overrides:
      hashCode in class FollowConfig