Interface AccessBudget.Builder

  • Method Details

    • resourceArn

      AccessBudget.Builder resourceArn(String resourceArn)

      The Amazon Resource Name (ARN) of the resource that this access budget applies to.

      Parameters:
      resourceArn - The Amazon Resource Name (ARN) of the resource that this access budget applies to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • details

      A list of budget details for this resource. Contains active budget periods that apply to the resource.

      Parameters:
      details - A list of budget details for this resource. Contains active budget periods that apply to the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • details

      A list of budget details for this resource. Contains active budget periods that apply to the resource.

      Parameters:
      details - A list of budget details for this resource. Contains active budget periods that apply to the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • details

      A list of budget details for this resource. Contains active budget periods that apply to the resource.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to details(List<AccessBudgetDetails>).

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

      AccessBudget.Builder aggregateRemainingBudget(Integer aggregateRemainingBudget)

      The total remaining budget across all active budget periods for this resource.

      Parameters:
      aggregateRemainingBudget - The total remaining budget across all active budget periods for this resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.