Class AbstractAllocateAllocationCommand.Builder<T extends AbstractAllocateAllocationCommand>

    • Field Summary

      Modifier and Type Field Description
      protected java.lang.String index  
      protected java.lang.String node  
      protected int shard  
    • Constructor Summary

      Modifier Constructor Description
      protected Builder()  
    • Method Summary

      Modifier and Type Method Description
      abstract T build()  
      abstract AbstractAllocateAllocationCommand.Builder<T> parse​(XContentParser parser)  
      void setIndex​(java.lang.String index)  
      void setNode​(java.lang.String node)  
      void setShard​(int shard)  
      protected void validate()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • index

        protected java.lang.String index
      • shard

        protected int shard
      • node

        protected java.lang.String node
    • Constructor Detail

      • Builder

        protected Builder()
    • Method Detail

      • setIndex

        public void setIndex​(java.lang.String index)
      • setShard

        public void setShard​(int shard)
      • setNode

        public void setNode​(java.lang.String node)
      • build

        public abstract T build()
      • validate

        protected void validate()