Class PutUserResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<PutUserResponse.Builder>
co.elastic.clients.elasticsearch.security.PutUserResponse.Builder
- All Implemented Interfaces:
WithJson<PutUserResponse.Builder>,ObjectBuilder<PutUserResponse>
- Enclosing class:
- PutUserResponse
public static class PutUserResponse.Builder
extends WithJsonObjectBuilderBase<PutUserResponse.Builder>
implements ObjectBuilder<PutUserResponse>
Builder for
PutUserResponse.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aPutUserResponse.final PutUserResponse.Buildercreated(boolean value) Required - A successful call returns a JSON structure that shows whether the user has been created or updated.protected PutUserResponse.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
created
Required - A successful call returns a JSON structure that shows whether the user has been created or updated. When an existing user is updated,createdis set tofalse.API name:
created -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<PutUserResponse.Builder>
-
build
Builds aPutUserResponse.- Specified by:
buildin interfaceObjectBuilder<PutUserResponse>- Throws:
NullPointerException- if some of the required fields are null.
-