Interface CreateIdentityProviderRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CognitoIdentityProviderRequest.Builder, CopyableBuilder<CreateIdentityProviderRequest.Builder,CreateIdentityProviderRequest>, SdkBuilder<CreateIdentityProviderRequest.Builder,CreateIdentityProviderRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreateIdentityProviderRequest

  • Method Details

    • userPoolId

      The user pool ID.

      Parameters:
      userPoolId - The user pool ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • providerName

      CreateIdentityProviderRequest.Builder providerName(String providerName)

      The IdP name.

      Parameters:
      providerName - The IdP name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • providerType

      CreateIdentityProviderRequest.Builder providerType(String providerType)

      The IdP type.

      Parameters:
      providerType - The IdP type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • providerType

      The IdP type.

      Parameters:
      providerType - The IdP type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • providerDetails

      CreateIdentityProviderRequest.Builder providerDetails(Map<String,String> providerDetails)

      The IdP details. The following list describes the provider detail keys for each IdP type.

      • For Google and Login with Amazon:

        • client_id

        • client_secret

        • authorize_scopes

      • For Facebook:

        • client_id

        • client_secret

        • authorize_scopes

        • api_version

      • For Sign in with Apple:

        • client_id

        • team_id

        • key_id

        • private_key

        • authorize_scopes

      • For OpenID Connect (OIDC) providers:

        • client_id

        • client_secret

        • attributes_request_method

        • oidc_issuer

        • authorize_scopes

        • The following keys are only present if Amazon Cognito didn't discover them at the oidc_issuer URL.

          • authorize_url

          • token_url

          • attributes_url

          • jwks_uri

        • Amazon Cognito sets the value of the following keys automatically. They are read-only.

          • attributes_url_add_attributes

      • For SAML providers:

        • MetadataFile or MetadataURL

        • IDPSignout optional

      Parameters:
      providerDetails - The IdP details. The following list describes the provider detail keys for each IdP type.

      • For Google and Login with Amazon:

        • client_id

        • client_secret

        • authorize_scopes

      • For Facebook:

        • client_id

        • client_secret

        • authorize_scopes

        • api_version

      • For Sign in with Apple:

        • client_id

        • team_id

        • key_id

        • private_key

        • authorize_scopes

      • For OpenID Connect (OIDC) providers:

        • client_id

        • client_secret

        • attributes_request_method

        • oidc_issuer

        • authorize_scopes

        • The following keys are only present if Amazon Cognito didn't discover them at the oidc_issuer URL.

          • authorize_url

          • token_url

          • attributes_url

          • jwks_uri

        • Amazon Cognito sets the value of the following keys automatically. They are read-only.

          • attributes_url_add_attributes

      • For SAML providers:

        • MetadataFile or MetadataURL

        • IDPSignout optional

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attributeMapping

      CreateIdentityProviderRequest.Builder attributeMapping(Map<String,String> attributeMapping)

      A mapping of IdP attributes to standard and custom user pool attributes.

      Parameters:
      attributeMapping - A mapping of IdP attributes to standard and custom user pool attributes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • idpIdentifiers

      CreateIdentityProviderRequest.Builder idpIdentifiers(Collection<String> idpIdentifiers)

      A list of IdP identifiers.

      Parameters:
      idpIdentifiers - A list of IdP identifiers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • idpIdentifiers

      CreateIdentityProviderRequest.Builder idpIdentifiers(String... idpIdentifiers)

      A list of IdP identifiers.

      Parameters:
      idpIdentifiers - A list of IdP identifiers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateIdentityProviderRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.