Class GetUserProfileErrors.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<GetUserProfileErrors.Builder>
co.elastic.clients.elasticsearch.security.get_user_profile.GetUserProfileErrors.Builder
- All Implemented Interfaces:
WithJson<GetUserProfileErrors.Builder>,ObjectBuilder<GetUserProfileErrors>
- Enclosing class:
- GetUserProfileErrors
public static class GetUserProfileErrors.Builder
extends WithJsonObjectBuilderBase<GetUserProfileErrors.Builder>
implements ObjectBuilder<GetUserProfileErrors>
Builder for
GetUserProfileErrors.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aGetUserProfileErrors.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 GetUserProfileErrors.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 GetUserProfileErrors.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<GetUserProfileErrors.Builder>
-
build
Builds aGetUserProfileErrors.- Specified by:
buildin interfaceObjectBuilder<GetUserProfileErrors>- Throws:
NullPointerException- if some of the required fields are null.
-