Class SamlCompleteLogoutRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<SamlCompleteLogoutRequest.Builder>
co.elastic.clients.elasticsearch.security.SamlCompleteLogoutRequest.Builder
- All Implemented Interfaces:
WithJson<SamlCompleteLogoutRequest.Builder>
,ObjectBuilder<SamlCompleteLogoutRequest>
- Enclosing class:
- SamlCompleteLogoutRequest
public static class SamlCompleteLogoutRequest.Builder extends RequestBase.AbstractBuilder<SamlCompleteLogoutRequest.Builder> implements ObjectBuilder<SamlCompleteLogoutRequest>
Builder for
SamlCompleteLogoutRequest
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description SamlCompleteLogoutRequest
build()
Builds aSamlCompleteLogoutRequest
.SamlCompleteLogoutRequest.Builder
content(java.lang.String value)
If the SAML IdP sends the logout response with the HTTP-Post binding, this field must be set to the value of the SAMLResponse form parameter from the logout response.SamlCompleteLogoutRequest.Builder
ids(java.lang.String value, java.lang.String... values)
Required - A json array with all the valid SAML Request Ids that the caller of the API has for the current user.SamlCompleteLogoutRequest.Builder
ids(java.util.List<java.lang.String> list)
Required - A json array with all the valid SAML Request Ids that the caller of the API has for the current user.SamlCompleteLogoutRequest.Builder
queryString(java.lang.String value)
If the SAML IdP sends the logout response with the HTTP-Redirect binding, this field must be set to the query string of the redirect URI.SamlCompleteLogoutRequest.Builder
realm(java.lang.String value)
Required - The name of the SAML realm in Elasticsearch for which the configuration is used to verify the logout response.protected SamlCompleteLogoutRequest.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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
content
If the SAML IdP sends the logout response with the HTTP-Post binding, this field must be set to the value of the SAMLResponse form parameter from the logout response.API name:
content
-
ids
Required - A json array with all the valid SAML Request Ids that the caller of the API has for the current user.API name:
ids
Adds all elements of
list
toids
. -
ids
public final SamlCompleteLogoutRequest.Builder ids(java.lang.String value, java.lang.String... values)Required - A json array with all the valid SAML Request Ids that the caller of the API has for the current user.API name:
ids
Adds one or more values to
ids
. -
queryString
If the SAML IdP sends the logout response with the HTTP-Redirect binding, this field must be set to the query string of the redirect URI.API name:
query_string
-
realm
Required - The name of the SAML realm in Elasticsearch for which the configuration is used to verify the logout response.API name:
realm
-
self
- Specified by:
self
in classRequestBase.AbstractBuilder<SamlCompleteLogoutRequest.Builder>
-
build
Builds aSamlCompleteLogoutRequest
.- Specified by:
build
in interfaceObjectBuilder<SamlCompleteLogoutRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-