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 Constructor Description Builder() -
Method Summary
Modifier and Type Method Description GetUserProfileErrorsbuild()Builds aGetUserProfileErrors.GetUserProfileErrors.Buildercount(long value)Required - API name:countGetUserProfileErrors.Builderdetails(java.lang.String key, ErrorCause value)Required - API name:detailsGetUserProfileErrors.Builderdetails(java.lang.String key, java.util.function.Function<ErrorCause.Builder,ObjectBuilder<ErrorCause>> fn)Required - API name:detailsGetUserProfileErrors.Builderdetails(java.util.Map<java.lang.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, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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(java.lang.String key, java.util.function.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:
java.lang.NullPointerException- if some of the required fields are null.
-