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 SamlCompleteLogoutRequestbuild()Builds aSamlCompleteLogoutRequest.SamlCompleteLogoutRequest.Buildercontent(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.Builderids(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.Builderids(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.BuilderqueryString(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.Builderrealm(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.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods 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
-
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:
idsAdds all elements of
listtoids. -
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:
idsAdds 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:
selfin classRequestBase.AbstractBuilder<SamlCompleteLogoutRequest.Builder>
-
build
Builds aSamlCompleteLogoutRequest.- Specified by:
buildin interfaceObjectBuilder<SamlCompleteLogoutRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-