Class ExistsIndexTemplateRequest.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder<ExistsIndexTemplateRequest.Builder>
org.opensearch.client.opensearch.indices.ExistsIndexTemplateRequest.Builder
- All Implemented Interfaces:
CopyableBuilder<ExistsIndexTemplateRequest.Builder,,ExistsIndexTemplateRequest> MutableBuilder<ExistsIndexTemplateRequest.Builder,,ExistsIndexTemplateRequest> ObjectBuilder<ExistsIndexTemplateRequest>
- Enclosing class:
ExistsIndexTemplateRequest
public static class ExistsIndexTemplateRequest.Builder
extends RequestBase.AbstractBuilder<ExistsIndexTemplateRequest.Builder>
implements CopyableBuilder<ExistsIndexTemplateRequest.Builder,ExistsIndexTemplateRequest>
Builder for
ExistsIndexTemplateRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aExistsIndexTemplateRequest.Operation timeout for connection to cluster-manager node.clusterManagerTimeout(Time value) Operation timeout for connection to cluster-manager node.copy()Create a new builderCopyableBuilderthat is a copy of this one.flatSettings(Boolean value) Return settings in flat format.Return local information, do not retrieve the state from cluster-manager node.Deprecated.masterTimeout(Time value) Deprecated.Required - Name of the index template to check existence of.protected ExistsIndexTemplateRequest.Builderself()Methods inherited from class org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder
errorTrace, humanMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<ExistsIndexTemplateRequest.Builder,ExistsIndexTemplateRequest> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classRequestBase.AbstractBuilder<ExistsIndexTemplateRequest.Builder>
-
clusterManagerTimeout
@Nonnull public final ExistsIndexTemplateRequest.Builder clusterManagerTimeout(@Nullable Time value) Operation timeout for connection to cluster-manager node.API name:
cluster_manager_timeout -
clusterManagerTimeout
@Nonnull public final ExistsIndexTemplateRequest.Builder clusterManagerTimeout(Function<Time.Builder, ObjectBuilder<Time>> fn) Operation timeout for connection to cluster-manager node.API name:
cluster_manager_timeout -
flatSettings
Return settings in flat format.API name:
flat_settings -
local
Return local information, do not retrieve the state from cluster-manager node.API name:
local -
masterTimeout
@Deprecated @Nonnull public final ExistsIndexTemplateRequest.Builder masterTimeout(@Nullable Time value) Deprecated.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:
master_timeout -
masterTimeout
@Deprecated @Nonnull public final ExistsIndexTemplateRequest.Builder masterTimeout(Function<Time.Builder, ObjectBuilder<Time>> fn) Deprecated.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:
master_timeout -
name
Required - Name of the index template to check existence of. Wildcard (*) expressions are supported.API name:
name -
build
Builds aExistsIndexTemplateRequest.- Specified by:
buildin interfaceObjectBuilder<ExistsIndexTemplateRequest>- Throws:
NullPointerException- if some of the required fields are null.
-