Class HasPrivilegesUserProfileResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<HasPrivilegesUserProfileResponse.Builder>
co.elastic.clients.elasticsearch.security.HasPrivilegesUserProfileResponse.Builder
- All Implemented Interfaces:
WithJson<HasPrivilegesUserProfileResponse.Builder>,ObjectBuilder<HasPrivilegesUserProfileResponse>
- Enclosing class:
- HasPrivilegesUserProfileResponse
public static class HasPrivilegesUserProfileResponse.Builder extends WithJsonObjectBuilderBase<HasPrivilegesUserProfileResponse.Builder> implements ObjectBuilder<HasPrivilegesUserProfileResponse>
Builder for
HasPrivilegesUserProfileResponse.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description HasPrivilegesUserProfileResponsebuild()Builds aHasPrivilegesUserProfileResponse.HasPrivilegesUserProfileResponse.BuildererrorUids(java.lang.String value, java.lang.String... values)The subset of the requested profile IDs for which an error was encountered.HasPrivilegesUserProfileResponse.BuildererrorUids(java.util.List<java.lang.String> list)The subset of the requested profile IDs for which an error was encountered.HasPrivilegesUserProfileResponse.BuilderhasPrivilegeUids(java.lang.String value, java.lang.String... values)Required - The subset of the requested profile IDs of the users that have all the requested privileges.HasPrivilegesUserProfileResponse.BuilderhasPrivilegeUids(java.util.List<java.lang.String> list)Required - The subset of the requested profile IDs of the users that have all the requested privileges.protected HasPrivilegesUserProfileResponse.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
-
hasPrivilegeUids
public final HasPrivilegesUserProfileResponse.Builder hasPrivilegeUids(java.util.List<java.lang.String> list)Required - The subset of the requested profile IDs of the users that have all the requested privileges.API name:
has_privilege_uidsAdds all elements of
listtohasPrivilegeUids. -
hasPrivilegeUids
public final HasPrivilegesUserProfileResponse.Builder hasPrivilegeUids(java.lang.String value, java.lang.String... values)Required - The subset of the requested profile IDs of the users that have all the requested privileges.API name:
has_privilege_uidsAdds one or more values to
hasPrivilegeUids. -
errorUids
public final HasPrivilegesUserProfileResponse.Builder errorUids(java.util.List<java.lang.String> list)The subset of the requested profile IDs for which an error was encountered. It does not include the missing profile IDs or the profile IDs of the users that do not have all the requested privileges. This field is absent if empty.API name:
error_uidsAdds all elements of
listtoerrorUids. -
errorUids
public final HasPrivilegesUserProfileResponse.Builder errorUids(java.lang.String value, java.lang.String... values)The subset of the requested profile IDs for which an error was encountered. It does not include the missing profile IDs or the profile IDs of the users that do not have all the requested privileges. This field is absent if empty.API name:
error_uidsAdds one or more values to
errorUids. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<HasPrivilegesUserProfileResponse.Builder>
-
build
Builds aHasPrivilegesUserProfileResponse.- Specified by:
buildin interfaceObjectBuilder<HasPrivilegesUserProfileResponse>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-