Interface GetBudgetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetBudgetResponse.Builder,
,GetBudgetResponse> DeadlineResponse.Builder
,SdkBuilder<GetBudgetResponse.Builder,
,GetBudgetResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetBudgetResponse
-
Method Summary
Modifier and TypeMethodDescriptionactions
(Collection<ResponseBudgetAction> actions) The budget actions for the budget.actions
(Consumer<ResponseBudgetAction.Builder>... actions) The budget actions for the budget.actions
(ResponseBudgetAction... actions) The budget actions for the budget.approximateDollarLimit
(Float approximateDollarLimit) The consumed usage limit for the budget.The budget ID.The date and time the resource was created.The user or system that created this resource.description
(String description) The description of the budget.displayName
(String displayName) The display name of the budget.queueStoppedAt
(Instant queueStoppedAt) The date and time the queue stopped.default GetBudgetResponse.Builder
schedule
(Consumer<BudgetSchedule.Builder> schedule) The budget schedule.schedule
(BudgetSchedule schedule) The budget schedule.The status of the budget.status
(BudgetStatus status) The status of the budget.The date and time the resource was updated.The user or system that updated this resource.default GetBudgetResponse.Builder
usages
(Consumer<ConsumedUsages.Builder> usages) The usages of the budget.usages
(ConsumedUsages usages) The usages of the budget.default GetBudgetResponse.Builder
usageTrackingResource
(Consumer<UsageTrackingResource.Builder> usageTrackingResource) The resource that the budget is tracking usage for.usageTrackingResource
(UsageTrackingResource usageTrackingResource) The resource that the budget is tracking usage for.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.deadline.model.DeadlineResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
actions
The budget actions for the budget.
- Parameters:
actions
- The budget actions for the budget.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The budget actions for the budget.
- Parameters:
actions
- The budget actions for the budget.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The budget actions for the budget.
This is a convenience method that creates an instance of theResponseBudgetAction.Builder
avoiding the need to create one manually viaResponseBudgetAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toactions(List<ResponseBudgetAction>)
.- Parameters:
actions
- a consumer that will call methods onResponseBudgetAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
approximateDollarLimit
The consumed usage limit for the budget.
- Parameters:
approximateDollarLimit
- The consumed usage limit for the budget.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
budgetId
The budget ID.
- Parameters:
budgetId
- The budget ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The date and time the resource was created.
- Parameters:
createdAt
- The date and time the resource was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
The user or system that created this resource.
- Parameters:
createdBy
- The user or system that created this resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the budget.
- Parameters:
description
- The description of the budget.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
The display name of the budget.
- Parameters:
displayName
- The display name of the budget.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queueStoppedAt
The date and time the queue stopped.
- Parameters:
queueStoppedAt
- The date and time the queue stopped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
The budget schedule.
- Parameters:
schedule
- The budget schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
The budget schedule.
This is a convenience method that creates an instance of theBudgetSchedule.Builder
avoiding the need to create one manually viaBudgetSchedule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toschedule(BudgetSchedule)
.- Parameters:
schedule
- a consumer that will call methods onBudgetSchedule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the budget.
-
ACTIVE
–Get a budget being evaluated. -
INACTIVE
–Get an inactive budget. This can include expired, canceled, or deleted statuses.
- Parameters:
status
- The status of the budget.-
ACTIVE
–Get a budget being evaluated. -
INACTIVE
–Get an inactive budget. This can include expired, canceled, or deleted statuses.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
status
The status of the budget.
-
ACTIVE
–Get a budget being evaluated. -
INACTIVE
–Get an inactive budget. This can include expired, canceled, or deleted statuses.
- Parameters:
status
- The status of the budget.-
ACTIVE
–Get a budget being evaluated. -
INACTIVE
–Get an inactive budget. This can include expired, canceled, or deleted statuses.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
updatedAt
The date and time the resource was updated.
- Parameters:
updatedAt
- The date and time the resource was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedBy
The user or system that updated this resource.
- Parameters:
updatedBy
- The user or system that updated this resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageTrackingResource
The resource that the budget is tracking usage for.
- Parameters:
usageTrackingResource
- The resource that the budget is tracking usage for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageTrackingResource
default GetBudgetResponse.Builder usageTrackingResource(Consumer<UsageTrackingResource.Builder> usageTrackingResource) The resource that the budget is tracking usage for.
This is a convenience method that creates an instance of theUsageTrackingResource.Builder
avoiding the need to create one manually viaUsageTrackingResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tousageTrackingResource(UsageTrackingResource)
.- Parameters:
usageTrackingResource
- a consumer that will call methods onUsageTrackingResource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
usages
The usages of the budget.
- Parameters:
usages
- The usages of the budget.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usages
The usages of the budget.
This is a convenience method that creates an instance of theConsumedUsages.Builder
avoiding the need to create one manually viaConsumedUsages.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tousages(ConsumedUsages)
.- Parameters:
usages
- a consumer that will call methods onConsumedUsages.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-