Class SamlAuthenticateRequest.Builder

java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.security.SamlAuthenticateRequest.Builder
All Implemented Interfaces:
ObjectBuilder<SamlAuthenticateRequest>
Enclosing class:
SamlAuthenticateRequest

public static class SamlAuthenticateRequest.Builder
extends ObjectBuilderBase
implements ObjectBuilder<SamlAuthenticateRequest>
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • content

      public final SamlAuthenticateRequest.Builder content​(java.lang.String value)
      Required - The SAML response as it was sent by the user’s browser, usually a Base64 encoded XML document.

      API name: content

    • ids

      public final SamlAuthenticateRequest.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.

      API name: ids

      Adds all elements of list to ids.

    • ids

      public final SamlAuthenticateRequest.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.

    • realm

      public final SamlAuthenticateRequest.Builder realm​(@Nullable java.lang.String value)
      The name of the realm that should authenticate the SAML response. Useful in cases where many SAML realms are defined.

      API name: realm

    • build

      public SamlAuthenticateRequest build()
      Specified by:
      build in interface ObjectBuilder<SamlAuthenticateRequest>
      Throws:
      java.lang.NullPointerException - if some of the required fields are null.