Class SamlPrepareAuthenticationResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<SamlPrepareAuthenticationResponse.Builder>
co.elastic.clients.elasticsearch.security.SamlPrepareAuthenticationResponse.Builder
- All Implemented Interfaces:
WithJson<SamlPrepareAuthenticationResponse.Builder>,ObjectBuilder<SamlPrepareAuthenticationResponse>
- Enclosing class:
- SamlPrepareAuthenticationResponse
public static class SamlPrepareAuthenticationResponse.Builder
extends WithJsonObjectBuilderBase<SamlPrepareAuthenticationResponse.Builder>
implements ObjectBuilder<SamlPrepareAuthenticationResponse>
Builder for
SamlPrepareAuthenticationResponse.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aSamlPrepareAuthenticationResponse.Required - A unique identifier for the SAML Request to be stored by the caller of the API.Required - The name of the Elasticsearch realm that was used to construct the authentication request.Required - The URL to redirect the user to.self()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
-
id
Required - A unique identifier for the SAML Request to be stored by the caller of the API.API name:
id -
realm
Required - The name of the Elasticsearch realm that was used to construct the authentication request.API name:
realm -
redirect
Required - The URL to redirect the user to.API name:
redirect -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<SamlPrepareAuthenticationResponse.Builder>
-
build
Builds aSamlPrepareAuthenticationResponse.- Specified by:
buildin interfaceObjectBuilder<SamlPrepareAuthenticationResponse>- Throws:
NullPointerException- if some of the required fields are null.
-