Interface CreateAccountPoolResponse.Builder

  • Method Details

    • accountSource

      CreateAccountPoolResponse.Builder accountSource(AccountSource accountSource)

      The source of accounts for the account pool. In the current release, it's either a static list of accounts provided by the customer or a custom Amazon Web Services Lambda handler.

      Parameters:
      accountSource - The source of accounts for the account pool. In the current release, it's either a static list of accounts provided by the customer or a custom Amazon Web Services Lambda handler.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accountSource

      default CreateAccountPoolResponse.Builder accountSource(Consumer<AccountSource.Builder> accountSource)

      The source of accounts for the account pool. In the current release, it's either a static list of accounts provided by the customer or a custom Amazon Web Services Lambda handler.

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

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

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

      The timestamp at which the account pool was created.

      Parameters:
      createdAt - The timestamp at which the account pool was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdBy

      The user who created the account pool.

      Parameters:
      createdBy - The user who created the account pool.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      CreateAccountPoolResponse.Builder description(String description)

      The description of the account pool.

      Parameters:
      description - The description of the account pool.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • domainId

      The ID of the domain where the account pool is created.

      Parameters:
      domainId - The ID of the domain where the account pool is created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • domainUnitId

      CreateAccountPoolResponse.Builder domainUnitId(String domainUnitId)

      The ID of the domain where the account pool is created.

      Parameters:
      domainUnitId - The ID of the domain where the account pool is created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • id

      The ID of the account pool.

      Parameters:
      id - The ID of the account pool.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedAt

      CreateAccountPoolResponse.Builder lastUpdatedAt(Instant lastUpdatedAt)

      The timestamp at which the account pool was last updated.

      Parameters:
      lastUpdatedAt - The timestamp at which the account pool was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the account pool.

      Parameters:
      name - The name of the account pool.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resolutionStrategy

      CreateAccountPoolResponse.Builder resolutionStrategy(String resolutionStrategy)

      The mechanism used to resolve the account selection from the account pool.

      Parameters:
      resolutionStrategy - The mechanism used to resolve the account selection from the account pool.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resolutionStrategy

      CreateAccountPoolResponse.Builder resolutionStrategy(ResolutionStrategy resolutionStrategy)

      The mechanism used to resolve the account selection from the account pool.

      Parameters:
      resolutionStrategy - The mechanism used to resolve the account selection from the account pool.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • updatedBy

      The user who last updated the account pool.

      Parameters:
      updatedBy - The user who last updated the account pool.
      Returns:
      Returns a reference to this object so that method calls can be chained together.