Class SyncJobCancelResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<SyncJobCancelResponse.Builder>
co.elastic.clients.elasticsearch.connector.SyncJobCancelResponse.Builder
- All Implemented Interfaces:
WithJson<SyncJobCancelResponse.Builder>
,ObjectBuilder<SyncJobCancelResponse>
- Enclosing class:
- SyncJobCancelResponse
public static class SyncJobCancelResponse.Builder
extends WithJsonObjectBuilderBase<SyncJobCancelResponse.Builder>
implements ObjectBuilder<SyncJobCancelResponse>
Builder for
SyncJobCancelResponse
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aSyncJobCancelResponse
.Required - API name:result
protected SyncJobCancelResponse.Builder
self()
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
-
result
Required - API name:result
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<SyncJobCancelResponse.Builder>
-
build
Builds aSyncJobCancelResponse
.- Specified by:
build
in interfaceObjectBuilder<SyncJobCancelResponse>
- Throws:
NullPointerException
- if some of the required fields are null.
-