Class SamlPrepareAuthenticationRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<SamlPrepareAuthenticationRequest.Builder>
co.elastic.clients.elasticsearch.security.SamlPrepareAuthenticationRequest.Builder
- All Implemented Interfaces:
WithJson<SamlPrepareAuthenticationRequest.Builder>,ObjectBuilder<SamlPrepareAuthenticationRequest>
- Enclosing class:
- SamlPrepareAuthenticationRequest
public static class SamlPrepareAuthenticationRequest.Builder
extends RequestBase.AbstractBuilder<SamlPrepareAuthenticationRequest.Builder>
implements ObjectBuilder<SamlPrepareAuthenticationRequest>
Builder for
SamlPrepareAuthenticationRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe Assertion Consumer Service URL that matches the one of the SAML realms in Elasticsearch.build()Builds aSamlPrepareAuthenticationRequest.The name of the SAML realm in Elasticsearch for which the configuration is used to generate the authentication request.relayState(String value) A string that will be included in the redirect URL that this API returns as theRelayStatequery parameter.protected SamlPrepareAuthenticationRequest.Builderself()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
-
acs
The Assertion Consumer Service URL that matches the one of the SAML realms in Elasticsearch. The realm is used to generate the authentication request. You must specify either this parameter or therealmparameter.API name:
acs -
realm
The name of the SAML realm in Elasticsearch for which the configuration is used to generate the authentication request. You must specify either this parameter or theacsparameter.API name:
realm -
relayState
A string that will be included in the redirect URL that this API returns as theRelayStatequery parameter. If the Authentication Request is signed, this value is used as part of the signature computation.API name:
relay_state -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<SamlPrepareAuthenticationRequest.Builder>
-
build
Builds aSamlPrepareAuthenticationRequest.- Specified by:
buildin interfaceObjectBuilder<SamlPrepareAuthenticationRequest>- Throws:
NullPointerException- if some of the required fields are null.
-