Interface CreateCredentialProviderPoolResponse.Builder

  • Method Details

    • credentialProviderPoolArn

      CreateCredentialProviderPoolResponse.Builder credentialProviderPoolArn(String credentialProviderPoolArn)

      Amazon Resource Name of a credential provider pool. Service-generated and stable for the life of the pool. Use it in IAM policies and anywhere an operation accepts a pool identifier.

      Parameters:
      credentialProviderPoolArn - Amazon Resource Name of a credential provider pool. Service-generated and stable for the life of the pool. Use it in IAM policies and anywhere an operation accepts a pool identifier.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • credentialProviderPoolId

      CreateCredentialProviderPoolResponse.Builder credentialProviderPoolId(String credentialProviderPoolId)

      Service-generated identifier of a credential provider pool. Opaque and stable for the life of the pool.

      Parameters:
      credentialProviderPoolId - Service-generated identifier of a credential provider pool. Opaque and stable for the life of the pool.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of a credential provider pool. Must be unique among the pools that currently exist in your account, and can be changed after creation with UpdateCredentialProviderPool. A deleted pool's name becomes available for reuse.

      Parameters:
      name - The name of a credential provider pool. Must be unique among the pools that currently exist in your account, and can be changed after creation with UpdateCredentialProviderPool. A deleted pool's name becomes available for reuse.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      Lifecycle status of a resource. Create, update, and delete are asynchronous: the operation returns immediately with a transitional status, and the resource reaches READY or FAILED on its own. Poll with the matching Get operation to observe the transition. New values may be added over time, so treat an unrecognized value as "still settling" rather than an error.

      Parameters:
      status - Lifecycle status of a resource. Create, update, and delete are asynchronous: the operation returns immediately with a transitional status, and the resource reaches READY or FAILED on its own. Poll with the matching Get operation to observe the transition. New values may be added over time, so treat an unrecognized value as "still settling" rather than an error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      Lifecycle status of a resource. Create, update, and delete are asynchronous: the operation returns immediately with a transitional status, and the resource reaches READY or FAILED on its own. Poll with the matching Get operation to observe the transition. New values may be added over time, so treat an unrecognized value as "still settling" rather than an error.

      Parameters:
      status - Lifecycle status of a resource. Create, update, and delete are asynchronous: the operation returns immediately with a transitional status, and the resource reaches READY or FAILED on its own. Poll with the matching Get operation to observe the transition. New values may be added over time, so treat an unrecognized value as "still settling" rather than an error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • encryptionConfiguration

      CreateCredentialProviderPoolResponse.Builder encryptionConfiguration(EncryptionConfiguration encryptionConfiguration)

      How cached tokens are encrypted at rest for the providers in this pool. Omit to encrypt with a service-owned key. Each provider in the pool uses this configuration unless it overrides it with a customer managed key of its own.

      Parameters:
      encryptionConfiguration - How cached tokens are encrypted at rest for the providers in this pool. Omit to encrypt with a service-owned key. Each provider in the pool uses this configuration unless it overrides it with a customer managed key of its own.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • encryptionConfiguration

      default CreateCredentialProviderPoolResponse.Builder encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration)

      How cached tokens are encrypted at rest for the providers in this pool. Omit to encrypt with a service-owned key. Each provider in the pool uses this configuration unless it overrides it with a customer managed key of its own.

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

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

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

      CreateCredentialProviderPoolResponse.Builder identityCenterConfiguration(IdentityCenterConfiguration identityCenterConfiguration)

      Links a credential provider pool to an IAM Identity Center instance, so that providers in the pool can issue credentials for the identity in the caller's Identity Center session. A pool can be associated with at most one instance. Associating an instance creates an Identity Center application that the pool owns; every provider in the pool reports that same application.

      Parameters:
      identityCenterConfiguration - Links a credential provider pool to an IAM Identity Center instance, so that providers in the pool can issue credentials for the identity in the caller's Identity Center session. A pool can be associated with at most one instance. Associating an instance creates an Identity Center application that the pool owns; every provider in the pool reports that same application.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • identityCenterConfiguration

      default CreateCredentialProviderPoolResponse.Builder identityCenterConfiguration(Consumer<IdentityCenterConfiguration.Builder> identityCenterConfiguration)

      Links a credential provider pool to an IAM Identity Center instance, so that providers in the pool can issue credentials for the identity in the caller's Identity Center session. A pool can be associated with at most one instance. Associating an instance creates an Identity Center application that the pool owns; every provider in the pool reports that same application.

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

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

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

      CreateCredentialProviderPoolResponse.Builder identityCenterApplicationArn(String identityCenterApplicationArn)

      Amazon Resource Name of the IAM Identity Center application created for a pool. Service-generated and read-only. It is created when an Identity Center instance is associated with the pool and deleted when the association is removed. Because the application belongs to the pool, every credential provider in that pool reports the same value.

      Parameters:
      identityCenterApplicationArn - Amazon Resource Name of the IAM Identity Center application created for a pool. Service-generated and read-only. It is created when an Identity Center instance is associated with the pool and deleted when the association is removed. Because the application belongs to the pool, every credential provider in that pool reports the same value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      When the pool was created.

      Parameters:
      createdAt - When the pool was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      When the pool was last modified. Equal to createdAt until the first successful update.

      Parameters:
      updatedAt - When the pool was last modified. Equal to createdAt until the first successful update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.