Class BulkPutRoleResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BulkPutRoleResponse.Builder>
co.elastic.clients.elasticsearch.security.BulkPutRoleResponse.Builder
- All Implemented Interfaces:
- WithJson<BulkPutRoleResponse.Builder>,- ObjectBuilder<BulkPutRoleResponse>
- Enclosing class:
- BulkPutRoleResponse
public static class BulkPutRoleResponse.Builder
extends WithJsonObjectBuilderBase<BulkPutRoleResponse.Builder>
implements ObjectBuilder<BulkPutRoleResponse>
Builder for 
BulkPutRoleResponse.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds aBulkPutRoleResponse.Array of created rolesArray of created rolesPresent if any updates resulted in errorsPresent if any updates resulted in errorsArray of role names without any changesArray of role names without any changesprotected BulkPutRoleResponse.Builderself()Array of updated rolesArray of updated rolesMethods 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- 
createdArray of created rolesAPI name: createdAdds all elements of listtocreated.
- 
createdArray of created rolesAPI name: createdAdds one or more values to created.
- 
updatedArray of updated rolesAPI name: updatedAdds all elements of listtoupdated.
- 
updatedArray of updated rolesAPI name: updatedAdds one or more values to updated.
- 
noopArray of role names without any changesAPI name: noopAdds all elements of listtonoop.
- 
noopArray of role names without any changesAPI name: noopAdds one or more values to noop.
- 
errorsPresent if any updates resulted in errorsAPI name: errors
- 
errorspublic final BulkPutRoleResponse.Builder errors(Function<BulkError.Builder, ObjectBuilder<BulkError>> fn) Present if any updates resulted in errorsAPI name: errors
- 
self- Specified by:
- selfin class- WithJsonObjectBuilderBase<BulkPutRoleResponse.Builder>
 
- 
buildBuilds aBulkPutRoleResponse.- Specified by:
- buildin interface- ObjectBuilder<BulkPutRoleResponse>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-