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 budget parameters, showing the lower value between the per-period budget and lifetime budget for this access budget.details
(Collection<AccessBudgetDetails> details) Detailed budget information including time bounds, remaining budget, and refresh settings.details
(Consumer<AccessBudgetDetails.Builder>... details) Detailed budget information including time bounds, remaining budget, and refresh settings.details
(AccessBudgetDetails... details) Detailed budget information including time bounds, remaining budget, and refresh settings.resourceArn
(String resourceArn) The Amazon Resource Name (ARN) of the access budget resource.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 access budget resource.
- Parameters:
resourceArn
- The Amazon Resource Name (ARN) of the access budget resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
details
Detailed budget information including time bounds, remaining budget, and refresh settings.
- Parameters:
details
- Detailed budget information including time bounds, remaining budget, and refresh settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
details
Detailed budget information including time bounds, remaining budget, and refresh settings.
- Parameters:
details
- Detailed budget information including time bounds, remaining budget, and refresh settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
details
Detailed budget information including time bounds, remaining budget, and refresh settings.
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 budget parameters, showing the lower value between the per-period budget and lifetime budget for this access budget. For individual parameter budgets, see
remainingBudget
.- Parameters:
aggregateRemainingBudget
- The total remaining budget across all budget parameters, showing the lower value between the per-period budget and lifetime budget for this access budget. For individual parameter budgets, seeremainingBudget
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-