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 SummaryConstructors
- 
Method SummaryModifier 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.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
createdRequired - 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 class- WithJsonObjectBuilderBase<PutUserResponse.Builder>
 
- 
buildBuilds aPutUserResponse.- Specified by:
- buildin interface- ObjectBuilder<PutUserResponse>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-