Class HasPrivilegesUserProfileErrors.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<HasPrivilegesUserProfileErrors.Builder>
co.elastic.clients.elasticsearch.security.has_privileges_user_profile.HasPrivilegesUserProfileErrors.Builder
- All Implemented Interfaces:
WithJson<HasPrivilegesUserProfileErrors.Builder>,ObjectBuilder<HasPrivilegesUserProfileErrors>
- Enclosing class:
- HasPrivilegesUserProfileErrors
public static class HasPrivilegesUserProfileErrors.Builder
extends WithJsonObjectBuilderBase<HasPrivilegesUserProfileErrors.Builder>
implements ObjectBuilder<HasPrivilegesUserProfileErrors>
Builder for
HasPrivilegesUserProfileErrors.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aHasPrivilegesUserProfileErrors.count(long value) Required - API name:countdetails(String key, ErrorCause value) Required - API name:detailsdetails(String key, Function<ErrorCause.Builder, ObjectBuilder<ErrorCause>> fn) Required - API name:detailsdetails(Map<String, ErrorCause> map) Required - API name:detailsprotected HasPrivilegesUserProfileErrors.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
-
count
Required - API name:count -
details
Required - API name:detailsAdds all entries of
maptodetails. -
details
Required - API name:detailsAdds an entry to
details. -
details
public final HasPrivilegesUserProfileErrors.Builder details(String key, Function<ErrorCause.Builder, ObjectBuilder<ErrorCause>> fn) Required - API name:detailsAdds an entry to
detailsusing a builder lambda. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<HasPrivilegesUserProfileErrors.Builder>
-
build
Builds aHasPrivilegesUserProfileErrors.- Specified by:
buildin interfaceObjectBuilder<HasPrivilegesUserProfileErrors>- Throws:
NullPointerException- if some of the required fields are null.
-