Class ExistsComponentTemplateRequest.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder<ExistsComponentTemplateRequest.Builder>
org.opensearch.client.opensearch.cluster.ExistsComponentTemplateRequest.Builder
- All Implemented Interfaces:
CopyableBuilder<ExistsComponentTemplateRequest.Builder,,ExistsComponentTemplateRequest> MutableBuilder<ExistsComponentTemplateRequest.Builder,,ExistsComponentTemplateRequest> ObjectBuilder<ExistsComponentTemplateRequest>
- Enclosing class:
ExistsComponentTemplateRequest
public static class ExistsComponentTemplateRequest.Builder
extends RequestBase.AbstractBuilder<ExistsComponentTemplateRequest.Builder>
implements CopyableBuilder<ExistsComponentTemplateRequest.Builder,ExistsComponentTemplateRequest>
Builder for
ExistsComponentTemplateRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aExistsComponentTemplateRequest.The amount of time to wait for a response from the cluster manager node.clusterManagerTimeout(Time value) The amount of time to wait for a response from the cluster manager node.copy()Create a new builderCopyableBuilderthat is a copy of this one.Whentrue, the request retrieves information from the local node only.Deprecated.masterTimeout(Time value) Deprecated.Required - The name of the component template.protected ExistsComponentTemplateRequest.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<ExistsComponentTemplateRequest.Builder,ExistsComponentTemplateRequest> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classRequestBase.AbstractBuilder<ExistsComponentTemplateRequest.Builder>
-
clusterManagerTimeout
@Nonnull public final ExistsComponentTemplateRequest.Builder clusterManagerTimeout(@Nullable Time value) The amount of time to wait for a response from the cluster manager node. For more information about supported time units, see Common parameters.API name:
cluster_manager_timeout -
clusterManagerTimeout
@Nonnull public final ExistsComponentTemplateRequest.Builder clusterManagerTimeout(Function<Time.Builder, ObjectBuilder<Time>> fn) The amount of time to wait for a response from the cluster manager node. For more information about supported time units, see Common parameters.API name:
cluster_manager_timeout -
local
Whentrue, the request retrieves information from the local node only. Whenfalse, information is retrieved from the cluster manager node.API name:
local -
masterTimeout
@Deprecated @Nonnull public final ExistsComponentTemplateRequest.Builder masterTimeout(@Nullable Time value) Deprecated.A duration. Units can benanos,micros,ms(milliseconds),s(seconds),m(minutes),h(hours) andd(days). Also accepts0without a unit and-1to indicate an unspecified value.API name:
master_timeout -
masterTimeout
@Deprecated @Nonnull public final ExistsComponentTemplateRequest.Builder masterTimeout(Function<Time.Builder, ObjectBuilder<Time>> fn) Deprecated.A duration. Units can benanos,micros,ms(milliseconds),s(seconds),m(minutes),h(hours) andd(days). Also accepts0without a unit and-1to indicate an unspecified value.API name:
master_timeout -
name
Required - The name of the component template. Wildcard (*) expressions are supported.API name:
name -
build
Builds aExistsComponentTemplateRequest.- Specified by:
buildin interfaceObjectBuilder<ExistsComponentTemplateRequest>- Throws:
NullPointerException- if some of the required fields are null.
-