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
-
Method Summary
Modifier and TypeMethodDescriptionaccessToken
(String value) Required - API name:access_token
build()
Builds aSamlAuthenticateResponse
.expiresIn
(int value) Required - API name:expires_in
Required - API name:realm
refreshToken
(String value) Required - API name:refresh_token
protected SamlAuthenticateResponse.Builder
self()
Required - API name:username
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
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:
self
in classWithJsonObjectBuilderBase<SamlAuthenticateResponse.Builder>
-
build
Builds aSamlAuthenticateResponse
.- Specified by:
build
in interfaceObjectBuilder<SamlAuthenticateResponse>
- Throws:
NullPointerException
- if some of the required fields are null.
-