Class DeleteComponentTemplateRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<DeleteComponentTemplateRequest.Builder>
co.elastic.clients.elasticsearch.cluster.DeleteComponentTemplateRequest.Builder
- All Implemented Interfaces:
WithJson<DeleteComponentTemplateRequest.Builder>
,ObjectBuilder<DeleteComponentTemplateRequest>
- Enclosing class:
- DeleteComponentTemplateRequest
public static class DeleteComponentTemplateRequest.Builder
extends RequestBase.AbstractBuilder<DeleteComponentTemplateRequest.Builder>
implements ObjectBuilder<DeleteComponentTemplateRequest>
Builder for
DeleteComponentTemplateRequest
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aDeleteComponentTemplateRequest
.masterTimeout
(Time value) Period to wait for a connection to the master node.Period to wait for a connection to the master node.Required - Comma-separated list or wildcard expression of component template names used to limit the request.Required - Comma-separated list or wildcard expression of component template names used to limit the request.protected DeleteComponentTemplateRequest.Builder
self()
Period to wait for a response.Period to wait for a response.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
masterTimeout
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
public final DeleteComponentTemplateRequest.Builder masterTimeout(Function<Time.Builder, ObjectBuilder<Time>> fn) 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
-
name
Required - Comma-separated list or wildcard expression of component template names used to limit the request.API name:
name
Adds all elements of
list
toname
. -
name
Required - Comma-separated list or wildcard expression of component template names used to limit the request.API name:
name
Adds one or more values to
name
. -
timeout
Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.API name:
timeout
-
timeout
public final DeleteComponentTemplateRequest.Builder timeout(Function<Time.Builder, ObjectBuilder<Time>> fn) Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.API name:
timeout
-
self
- Specified by:
self
in classRequestBase.AbstractBuilder<DeleteComponentTemplateRequest.Builder>
-
build
Builds aDeleteComponentTemplateRequest
.- Specified by:
build
in interfaceObjectBuilder<DeleteComponentTemplateRequest>
- Throws:
NullPointerException
- if some of the required fields are null.
-