Class ActivateUserProfileRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ActivateUserProfileRequest.Builder>
co.elastic.clients.elasticsearch.security.ActivateUserProfileRequest.Builder
- All Implemented Interfaces:
WithJson<ActivateUserProfileRequest.Builder>,ObjectBuilder<ActivateUserProfileRequest>
- Enclosing class:
- ActivateUserProfileRequest
public static class ActivateUserProfileRequest.Builder extends WithJsonObjectBuilderBase<ActivateUserProfileRequest.Builder> implements ObjectBuilder<ActivateUserProfileRequest>
Builder for
ActivateUserProfileRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ActivateUserProfileRequest.BuilderaccessToken(java.lang.String value)API name:access_tokenActivateUserProfileRequestbuild()Builds aActivateUserProfileRequest.ActivateUserProfileRequest.BuildergrantType(GrantType value)Required - API name:grant_typeActivateUserProfileRequest.Builderpassword(java.lang.String value)API name:passwordprotected ActivateUserProfileRequest.Builderself()ActivateUserProfileRequest.Builderusername(java.lang.String value)API name:usernameMethods 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
-
accessToken
API name:access_token -
grantType
Required - API name:grant_type -
password
API name:password -
username
API name:username -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<ActivateUserProfileRequest.Builder>
-
build
Builds aActivateUserProfileRequest.- Specified by:
buildin interfaceObjectBuilder<ActivateUserProfileRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-