Class SamlAuthenticateResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<SamlAuthenticateResponse.Builder>
co.elastic.clients.elasticsearch.security.SamlAuthenticateResponse.Builder
- All Implemented Interfaces:
WithJson<SamlAuthenticateResponse.Builder>,ObjectBuilder<SamlAuthenticateResponse>
- Enclosing class:
- SamlAuthenticateResponse
public static class SamlAuthenticateResponse.Builder extends WithJsonObjectBuilderBase<SamlAuthenticateResponse.Builder> implements ObjectBuilder<SamlAuthenticateResponse>
Builder for
SamlAuthenticateResponse.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description SamlAuthenticateResponse.BuilderaccessToken(java.lang.String value)Required - API name:access_tokenSamlAuthenticateResponsebuild()Builds aSamlAuthenticateResponse.SamlAuthenticateResponse.BuilderexpiresIn(int value)Required - API name:expires_inSamlAuthenticateResponse.Builderrealm(java.lang.String value)Required - API name:realmSamlAuthenticateResponse.BuilderrefreshToken(java.lang.String value)Required - API name:refresh_tokenprotected SamlAuthenticateResponse.Builderself()SamlAuthenticateResponse.Builderusername(java.lang.String value)Required - 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
Required - API name:access_token -
username
Required - API name:username -
expiresIn
Required - API name:expires_in -
refreshToken
Required - API name:refresh_token -
realm
Required - API name:realm -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<SamlAuthenticateResponse.Builder>
-
build
Builds aSamlAuthenticateResponse.- Specified by:
buildin interfaceObjectBuilder<SamlAuthenticateResponse>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-