Interface AccessBudget.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AccessBudget.Builder,
,AccessBudget> SdkBuilder<AccessBudget.Builder,
,AccessBudget> SdkPojo
- Enclosing class:
AccessBudget
@Mutable
@NotThreadSafe
public static interface AccessBudget.Builder
extends SdkPojo, CopyableBuilder<AccessBudget.Builder,AccessBudget>
-
Method Summary
Modifier and TypeMethodDescriptionaggregateRemainingBudget
(Integer aggregateRemainingBudget) The total remaining budget across all active budget periods for this resource.details
(Collection<AccessBudgetDetails> details) A list of budget details for this resource.details
(Consumer<AccessBudgetDetails.Builder>... details) A list of budget details for this resource.details
(AccessBudgetDetails... details) A list of budget details for this resource.resourceArn
(String resourceArn) The Amazon Resource Name (ARN) of the resource that this access budget applies to.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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 theAccessBudgetDetails.Builder
avoiding the need to create one manually viaAccessBudgetDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todetails(List<AccessBudgetDetails>)
.- Parameters:
details
- a consumer that will call methods onAccessBudgetDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-