Class ExistsIndexTemplateRequest.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.indices.ExistsIndexTemplateRequest.Builder
-
- All Implemented Interfaces:
ObjectBuilder<ExistsIndexTemplateRequest>
- Enclosing class:
- ExistsIndexTemplateRequest
public static class ExistsIndexTemplateRequest.Builder extends ObjectBuilderBase implements ObjectBuilder<ExistsIndexTemplateRequest>
Builder forExistsIndexTemplateRequest
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ExistsIndexTemplateRequest
build()
Builds aExistsIndexTemplateRequest
.ExistsIndexTemplateRequest.Builder
clusterManagerTimeout(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)
Period to wait for a connection to the cluster-manager node.ExistsIndexTemplateRequest.Builder
clusterManagerTimeout(Time value)
Period to wait for a connection to the cluster-manager node.ExistsIndexTemplateRequest.Builder
masterTimeout(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)
Deprecated.ExistsIndexTemplateRequest.Builder
masterTimeout(Time value)
Deprecated.ExistsIndexTemplateRequest.Builder
name(java.lang.String value)
Required - Comma-separated list of index template names used to limit the request.-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
masterTimeout
@Deprecated public final ExistsIndexTemplateRequest.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 ExistsIndexTemplateRequest.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 ExistsIndexTemplateRequest.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 ExistsIndexTemplateRequest.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 ExistsIndexTemplateRequest.Builder name(java.lang.String value)
Required - Comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported.API name:
name
-
build
public ExistsIndexTemplateRequest build()
Builds aExistsIndexTemplateRequest
.- Specified by:
build
in interfaceObjectBuilder<ExistsIndexTemplateRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-
-