Interface IdentitySourceItem.Builder

  • Method Details

    • createdDate

      IdentitySourceItem.Builder createdDate(Instant createdDate)

      The date and time the identity source was originally created.

      Parameters:
      createdDate - The date and time the identity source was originally created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • details

      Deprecated.
      This attribute has been replaced by configuration.cognitoUserPoolConfiguration

      A structure that contains the details of the associated identity provider (IdP).

      Parameters:
      details - A structure that contains the details of the associated identity provider (IdP).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • details

      Deprecated.
      This attribute has been replaced by configuration.cognitoUserPoolConfiguration

      A structure that contains the details of the associated identity provider (IdP).

      This is a convenience method that creates an instance of the IdentitySourceItemDetails.Builder avoiding the need to create one manually via IdentitySourceItemDetails.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to details(IdentitySourceItemDetails).

      Parameters:
      details - a consumer that will call methods on IdentitySourceItemDetails.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • identitySourceId

      IdentitySourceItem.Builder identitySourceId(String identitySourceId)

      The unique identifier of the identity source.

      Parameters:
      identitySourceId - The unique identifier of the identity source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedDate

      IdentitySourceItem.Builder lastUpdatedDate(Instant lastUpdatedDate)

      The date and time the identity source was most recently updated.

      Parameters:
      lastUpdatedDate - The date and time the identity source was most recently updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policyStoreId

      IdentitySourceItem.Builder policyStoreId(String policyStoreId)

      The identifier of the policy store that contains the identity source.

      Parameters:
      policyStoreId - The identifier of the policy store that contains the identity source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • principalEntityType

      IdentitySourceItem.Builder principalEntityType(String principalEntityType)

      The Cedar entity type of the principals returned from the IdP associated with this identity source.

      Parameters:
      principalEntityType - The Cedar entity type of the principals returned from the IdP associated with this identity source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • configuration

      IdentitySourceItem.Builder configuration(ConfigurationItem configuration)

      Contains configuration information about an identity source.

      Parameters:
      configuration - Contains configuration information about an identity source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • configuration

      default IdentitySourceItem.Builder configuration(Consumer<ConfigurationItem.Builder> configuration)

      Contains configuration information about an identity source.

      This is a convenience method that creates an instance of the ConfigurationItem.Builder avoiding the need to create one manually via ConfigurationItem.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to configuration(ConfigurationItem).

      Parameters:
      configuration - a consumer that will call methods on ConfigurationItem.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: