Class CloneIndexRequest

    • Method Detail

      • aliases

        public final java.util.Map<java.lang.String,​Alias> aliases()
        API name: aliases
      • index

        public final java.lang.String index()
        Required - The name of the source index to clone

        API name: index

      • masterTimeout

        @Nullable
        public final Time masterTimeout()
        Specify timeout for connection to master

        API name: master_timeout

      • clusterManagerTimeout

        @Nullable
        public final Time clusterManagerTimeout()
        Specify timeout for connection to cluster-manager

        API name: cluster_manager_timeout

      • settings

        public final java.util.Map<java.lang.String,​JsonData> settings()
        API name: settings
      • target

        public final java.lang.String target()
        Required - The name of the target index to clone into

        API name: target

      • timeout

        @Nullable
        public final Time timeout()
        Explicit operation timeout

        API name: timeout

      • waitForActiveShards

        @Nullable
        public final WaitForActiveShards waitForActiveShards()
        Set the number of active shards to wait for on the cloned index before the operation returns.

        API name: wait_for_active_shards

      • serialize

        public void serialize​(jakarta.json.stream.JsonGenerator generator,
                              JsonpMapper mapper)
        Serialize this object to JSON.
        Specified by:
        serialize in interface JsonpSerializable
      • serializeInternal

        protected void serializeInternal​(jakarta.json.stream.JsonGenerator generator,
                                         JsonpMapper mapper)