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 Summary
Constructors -
Method Summary
Modifier 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.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
created
Array of created rolesAPI name:
createdAdds all elements of
listtocreated. -
created
Array of created rolesAPI name:
createdAdds one or more values to
created. -
updated
Array of updated rolesAPI name:
updatedAdds all elements of
listtoupdated. -
updated
Array of updated rolesAPI name:
updatedAdds one or more values to
updated. -
noop
Array of role names without any changesAPI name:
noopAdds all elements of
listtonoop. -
noop
Array of role names without any changesAPI name:
noopAdds one or more values to
noop. -
errors
Present if any updates resulted in errorsAPI name:
errors -
errors
public final BulkPutRoleResponse.Builder errors(Function<BulkError.Builder, ObjectBuilder<BulkError>> fn) Present if any updates resulted in errorsAPI name:
errors -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<BulkPutRoleResponse.Builder>
-
build
Builds aBulkPutRoleResponse.- Specified by:
buildin interfaceObjectBuilder<BulkPutRoleResponse>- Throws:
NullPointerException- if some of the required fields are null.
-