Class SamlLogoutRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.security.SamlLogoutRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<SamlLogoutRequest>
- Enclosing class:
- SamlLogoutRequest
public static class SamlLogoutRequest.Builder extends ObjectBuilderBase implements ObjectBuilder<SamlLogoutRequest>
Builder for
SamlLogoutRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description SamlLogoutRequestbuild()Builds aSamlLogoutRequest.SamlLogoutRequest.BuilderrefreshToken(java.lang.String value)The refresh token that was returned as a response to calling the SAML authenticate API.SamlLogoutRequest.Buildertoken(java.lang.String value)Required - The access token that was returned as a response to calling the SAML authenticate API.Methods 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
-
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 a refresh_token.API name:
token -
build
Builds aSamlLogoutRequest.- Specified by:
buildin interfaceObjectBuilder<SamlLogoutRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-