Class DeleteComponentTemplateRequest.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.cluster.DeleteComponentTemplateRequest.Builder
-
- All Implemented Interfaces:
ObjectBuilder<DeleteComponentTemplateRequest>
- Enclosing class:
- DeleteComponentTemplateRequest
public static class DeleteComponentTemplateRequest.Builder extends ObjectBuilderBase implements ObjectBuilder<DeleteComponentTemplateRequest>
Builder forDeleteComponentTemplateRequest
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
masterTimeout
@Deprecated public final DeleteComponentTemplateRequest.Builder masterTimeout(@Nullable Time value)
Deprecated.Specify timeout for connection to masterAPI name:
master_timeout
-
masterTimeout
@Deprecated public final DeleteComponentTemplateRequest.Builder masterTimeout(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)
Deprecated.Specify timeout for connection to masterAPI name:
master_timeout
-
clusterManagerTimeout
public final DeleteComponentTemplateRequest.Builder clusterManagerTimeout(@Nullable Time value)
Specify timeout for connection to cluster-managerAPI name:
cluster_manager_timeout
-
clusterManagerTimeout
public final DeleteComponentTemplateRequest.Builder clusterManagerTimeout(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)
Specify timeout for connection to cluster-managerAPI name:
cluster_manager_timeout
-
name
public final DeleteComponentTemplateRequest.Builder name(java.lang.String value)
Required - The name of the templateAPI name:
name
-
timeout
public final DeleteComponentTemplateRequest.Builder timeout(@Nullable Time value)
Explicit operation timeoutAPI name:
timeout
-
timeout
public final DeleteComponentTemplateRequest.Builder timeout(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)
Explicit operation timeoutAPI name:
timeout
-
build
public DeleteComponentTemplateRequest build()
Builds aDeleteComponentTemplateRequest
.- Specified by:
build
in interfaceObjectBuilder<DeleteComponentTemplateRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-
-