Class GetIndexTemplateRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • flatSettings

        public final GetIndexTemplateRequest.Builder flatSettings​(@Nullable
                                                                  java.lang.Boolean value)
        If true, returns settings in flat format.

        API name: flat_settings

      • local

        public final GetIndexTemplateRequest.Builder local​(@Nullable
                                                           java.lang.Boolean value)
        If true, the request retrieves information from the local node only. Defaults to false, which means information is retrieved from the cluster-manager node.

        API name: local

      • masterTimeout

        @Deprecated
        public final GetIndexTemplateRequest.Builder masterTimeout​(@Nullable
                                                                   Time value)
        Deprecated.
        Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.

        API name: master_timeout

      • masterTimeout

        @Deprecated
        public final GetIndexTemplateRequest.Builder masterTimeout​(java.util.function.Function<Time.Builder,​ObjectBuilder<Time>> fn)
        Deprecated.
        Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.

        API name: master_timeout

      • clusterManagerTimeout

        public final GetIndexTemplateRequest.Builder clusterManagerTimeout​(@Nullable
                                                                           Time value)
        Period to wait for a connection to the cluster-manager node. If no response is received before the timeout expires, the request fails and returns an error.

        API name: cluster_manager_timeout

      • clusterManagerTimeout

        public final GetIndexTemplateRequest.Builder clusterManagerTimeout​(java.util.function.Function<Time.Builder,​ObjectBuilder<Time>> fn)
        Period to wait for a connection to the cluster-manager node. If no response is received before the timeout expires, the request fails and returns an error.

        API name: cluster_manager_timeout

      • name

        public final GetIndexTemplateRequest.Builder name​(@Nullable
                                                          java.lang.String value)
        Comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported.

        API name: name