Class SamlLogoutRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<SamlLogoutRequest.Builder>
co.elastic.clients.elasticsearch.security.SamlLogoutRequest.Builder
- All Implemented Interfaces:
WithJson<SamlLogoutRequest.Builder>,ObjectBuilder<SamlLogoutRequest>
- Enclosing class:
- SamlLogoutRequest
public static class SamlLogoutRequest.Builder
extends RequestBase.AbstractBuilder<SamlLogoutRequest.Builder>
implements ObjectBuilder<SamlLogoutRequest>
Builder for
SamlLogoutRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aSamlLogoutRequest.refreshToken(String value) The refresh token that was returned as a response to calling the SAML authenticate API.protected SamlLogoutRequest.Builderself()Required - The access token that was returned as a response to calling the SAML authenticate API.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
refreshToken
The refresh token that was returned as a response to calling the SAML authenticate API. Alternatively, the most recent refresh token that was received after refreshing the original access token.API name:
refresh_token -
token
Required - The access token that was returned as a response to calling the SAML authenticate API. Alternatively, the most recent token that was received after refreshing the original one by using arefresh_token.API name:
token -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<SamlLogoutRequest.Builder>
-
build
Builds aSamlLogoutRequest.- Specified by:
buildin interfaceObjectBuilder<SamlLogoutRequest>- Throws:
NullPointerException- if some of the required fields are null.
-