Class ExistsComponentTemplateRequest.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.cluster.ExistsComponentTemplateRequest.Builder
-
- All Implemented Interfaces:
ObjectBuilder<ExistsComponentTemplateRequest>
- Enclosing class:
- ExistsComponentTemplateRequest
public static class ExistsComponentTemplateRequest.Builder extends ObjectBuilderBase implements ObjectBuilder<ExistsComponentTemplateRequest>
Builder forExistsComponentTemplateRequest.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ExistsComponentTemplateRequestbuild()Builds aExistsComponentTemplateRequest.ExistsComponentTemplateRequest.BuilderclusterManagerTimeout(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)Period to wait for a connection to the cluster-manager node.ExistsComponentTemplateRequest.BuilderclusterManagerTimeout(Time value)Period to wait for a connection to the cluster-manager node.ExistsComponentTemplateRequest.Builderlocal(java.lang.Boolean value)If true, the request retrieves information from the local node only.ExistsComponentTemplateRequest.BuildermasterTimeout(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)Deprecated.ExistsComponentTemplateRequest.BuildermasterTimeout(Time value)Deprecated.ExistsComponentTemplateRequest.Buildername(java.lang.String value, java.lang.String... values)Required - Comma-separated list of component template names used to limit the request.ExistsComponentTemplateRequest.Buildername(java.util.List<java.lang.String> list)Required - Comma-separated list of component template names used to limit the request.-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
local
public final ExistsComponentTemplateRequest.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 ExistsComponentTemplateRequest.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 ExistsComponentTemplateRequest.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 ExistsComponentTemplateRequest.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 ExistsComponentTemplateRequest.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 ExistsComponentTemplateRequest.Builder name(java.util.List<java.lang.String> list)
Required - Comma-separated list of component template names used to limit the request. Wildcard (*) expressions are supported.API name:
nameAdds all elements of
listtoname.
-
name
public final ExistsComponentTemplateRequest.Builder name(java.lang.String value, java.lang.String... values)
Required - Comma-separated list of component template names used to limit the request. Wildcard (*) expressions are supported.API name:
nameAdds one or more values to
name.
-
build
public ExistsComponentTemplateRequest build()
Builds aExistsComponentTemplateRequest.- Specified by:
buildin interfaceObjectBuilder<ExistsComponentTemplateRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-