Interface GetAccountPoolResponse.Builder

  • Method Details

    • accountSource

      GetAccountPoolResponse.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 GetAccountPoolResponse.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

      GetAccountPoolResponse.Builder createdBy(String 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

      GetAccountPoolResponse.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 in which the account pool lives whose details are to be displayed.

      Parameters:
      domainId - The ID of the domain in which the account pool lives whose details are to be displayed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • domainUnitId

      GetAccountPoolResponse.Builder domainUnitId(String domainUnitId)

      The domain unit ID of the account pool.

      Parameters:
      domainUnitId - The domain unit ID of the account pool.
      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

      GetAccountPoolResponse.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

      GetAccountPoolResponse.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

      GetAccountPoolResponse.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

      GetAccountPoolResponse.Builder updatedBy(String 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.