Interface GetBudgetResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetBudgetResponse.Builder,GetBudgetResponse>,DeadlineResponse.Builder,SdkBuilder<GetBudgetResponse.Builder,GetBudgetResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetBudgetResponse
public static interface GetBudgetResponse.Builder extends DeadlineResponse.Builder, SdkPojo, CopyableBuilder<GetBudgetResponse.Builder,GetBudgetResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetBudgetResponse.Builderactions(Collection<ResponseBudgetAction> actions)The budget actions for the budget.GetBudgetResponse.Builderactions(Consumer<ResponseBudgetAction.Builder>... actions)The budget actions for the budget.GetBudgetResponse.Builderactions(ResponseBudgetAction... actions)The budget actions for the budget.GetBudgetResponse.BuilderapproximateDollarLimit(Float approximateDollarLimit)The consumed usage limit for the budget.GetBudgetResponse.BuilderbudgetId(String budgetId)The budget ID.GetBudgetResponse.BuildercreatedAt(Instant createdAt)The date and time the resource was created.GetBudgetResponse.BuildercreatedBy(String createdBy)The user or system that created this resource.GetBudgetResponse.Builderdescription(String description)The description of the budget.GetBudgetResponse.BuilderdisplayName(String displayName)The display name of the budget.GetBudgetResponse.BuilderqueueStoppedAt(Instant queueStoppedAt)The date and time the queue stopped.default GetBudgetResponse.Builderschedule(Consumer<BudgetSchedule.Builder> schedule)The budget schedule.GetBudgetResponse.Builderschedule(BudgetSchedule schedule)The budget schedule.GetBudgetResponse.Builderstatus(String status)The status of the budget.GetBudgetResponse.Builderstatus(BudgetStatus status)The status of the budget.GetBudgetResponse.BuilderupdatedAt(Instant updatedAt)The date and time the resource was updated.GetBudgetResponse.BuilderupdatedBy(String updatedBy)The user or system that updated this resource.default GetBudgetResponse.Builderusages(Consumer<ConsumedUsages.Builder> usages)The usages of the budget.GetBudgetResponse.Builderusages(ConsumedUsages usages)The usages of the budget.default GetBudgetResponse.BuilderusageTrackingResource(Consumer<UsageTrackingResource.Builder> usageTrackingResource)The resource that the budget is tracking usage for.GetBudgetResponse.BuilderusageTrackingResource(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 Detail
-
actions
GetBudgetResponse.Builder actions(Collection<ResponseBudgetAction> 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
GetBudgetResponse.Builder actions(ResponseBudgetAction... 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
GetBudgetResponse.Builder actions(Consumer<ResponseBudgetAction.Builder>... actions)
The budget actions for the budget.
This is a convenience method that creates an instance of theResponseBudgetAction.Builderavoiding the need to create one manually viaResponseBudgetAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#actions(List.) - 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:
#actions(java.util.Collection)
-
approximateDollarLimit
GetBudgetResponse.Builder approximateDollarLimit(Float 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
GetBudgetResponse.Builder budgetId(String 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
GetBudgetResponse.Builder createdAt(Instant 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
GetBudgetResponse.Builder createdBy(String 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
GetBudgetResponse.Builder description(String 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
GetBudgetResponse.Builder displayName(String 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
GetBudgetResponse.Builder queueStoppedAt(Instant 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
GetBudgetResponse.Builder schedule(BudgetSchedule 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
default GetBudgetResponse.Builder schedule(Consumer<BudgetSchedule.Builder> schedule)
The budget schedule.
This is a convenience method that creates an instance of theBudgetSchedule.Builderavoiding the need to create one manually viaBudgetSchedule.builder().When the
Consumercompletes,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:
schedule(BudgetSchedule)
-
status
GetBudgetResponse.Builder status(String 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:
BudgetStatus,BudgetStatus
-
-
status
GetBudgetResponse.Builder status(BudgetStatus 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:
BudgetStatus,BudgetStatus
-
-
updatedAt
GetBudgetResponse.Builder updatedAt(Instant 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
GetBudgetResponse.Builder updatedBy(String 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
GetBudgetResponse.Builder usageTrackingResource(UsageTrackingResource 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.Builderavoiding the need to create one manually viaUsageTrackingResource.builder().When the
Consumercompletes,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:
usageTrackingResource(UsageTrackingResource)
-
usages
GetBudgetResponse.Builder usages(ConsumedUsages 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
default GetBudgetResponse.Builder usages(Consumer<ConsumedUsages.Builder> usages)
The usages of the budget.
This is a convenience method that creates an instance of theConsumedUsages.Builderavoiding the need to create one manually viaConsumedUsages.builder().When the
Consumercompletes,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:
usages(ConsumedUsages)
-
-