Class AllocateAction

java.lang.Object
org.elasticsearch.client.indexlifecycle.AllocateAction
All Implemented Interfaces:
LifecycleAction, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentObject

public class AllocateAction extends Object implements LifecycleAction, org.elasticsearch.common.xcontent.ToXContentObject
  • Field Details

  • Constructor Details

  • Method Details

    • parse

      public static AllocateAction parse(org.elasticsearch.common.xcontent.XContentParser parser)
    • getNumberOfReplicas

      public Integer getNumberOfReplicas()
    • getInclude

      public Map<String,​String> getInclude()
    • getExclude

      public Map<String,​String> getExclude()
    • getRequire

      public Map<String,​String> getRequire()
    • getName

      public String getName()
      Specified by:
      getName in interface LifecycleAction
      Returns:
      the name of this action
    • toXContent

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object