Class PutIndicesSettingsRequest

    • Method Detail

      • allowNoIndices

        @Nullable
        public final java.lang.Boolean allowNoIndices()
        Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes _all string or when no indices have been specified)

        API name: allow_no_indices

      • expandWildcards

        public final java.util.List<ExpandWildcard> expandWildcards()
        Whether to expand wildcard expression to concrete indices that are open, closed or both.

        API name: expand_wildcards

      • flatSettings

        @Nullable
        public final java.lang.Boolean flatSettings()
        Return settings in flat format (default: false)

        API name: flat_settings

      • ignoreUnavailable

        @Nullable
        public final java.lang.Boolean ignoreUnavailable()
        Whether specified concrete indices should be ignored when unavailable (missing or closed)

        API name: ignore_unavailable

      • index

        public final java.util.List<java.lang.String> index()
        A comma-separated list of index names; use _all or empty string to perform the operation on all indices

        API name: index

      • 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

      • preserveExisting

        @Nullable
        public final java.lang.Boolean preserveExisting()
        Whether to update existing settings. If set to true existing settings on an index remain unchanged, the default is false

        API name: preserve_existing

      • timeout

        @Nullable
        public final Time timeout()
        Explicit operation timeout

        API name: timeout

      • settings

        public final IndexSettings settings()
        Required - Request body.

        API name: _value_body

      • serialize

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