Class SamlInvalidateResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<SamlInvalidateResponse.Builder>
co.elastic.clients.elasticsearch.security.SamlInvalidateResponse.Builder
- All Implemented Interfaces:
WithJson<SamlInvalidateResponse.Builder>
,ObjectBuilder<SamlInvalidateResponse>
- Enclosing class:
- SamlInvalidateResponse
public static class SamlInvalidateResponse.Builder
extends WithJsonObjectBuilderBase<SamlInvalidateResponse.Builder>
implements ObjectBuilder<SamlInvalidateResponse>
Builder for
SamlInvalidateResponse
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aSamlInvalidateResponse
.invalidated
(int value) Required - The number of tokens that were invalidated as part of this logout.Required - The realm name of the SAML realm in Elasticsearch that authenticated the user.Required - A SAML logout response as a parameter so that the user can be redirected back to the SAML IdP.protected SamlInvalidateResponse.Builder
self()
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
-
invalidated
Required - The number of tokens that were invalidated as part of this logout.API name:
invalidated
-
realm
Required - The realm name of the SAML realm in Elasticsearch that authenticated the user.API name:
realm
-
redirect
Required - A SAML logout response as a parameter so that the user can be redirected back to the SAML IdP.API name:
redirect
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<SamlInvalidateResponse.Builder>
-
build
Builds aSamlInvalidateResponse
.- Specified by:
build
in interfaceObjectBuilder<SamlInvalidateResponse>
- Throws:
NullPointerException
- if some of the required fields are null.
-