Class RolloverRequest

    • Method Detail

      • alias

        public final java.lang.String alias()
        Required - The name of the alias to rollover

        API name: alias

      • aliases

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

        @Nullable
        public final RolloverConditions conditions()
        API name: conditions
      • dryRun

        @Nullable
        public final java.lang.Boolean dryRun()
        If set to true the rollover action will only be validated but not actually performed even if a condition matches. The default is false

        API name: dry_run

      • masterTimeout

        @Deprecated
        @Nullable
        public final Time masterTimeout()
        Deprecated.
        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

      • newIndex

        @Nullable
        public final java.lang.String newIndex()
        The name of the rollover index

        API name: new_index

      • settings

        public final java.util.Map<java.lang.String,​JsonData> settings()
        API name: settings
      • 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 newly created rollover 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)