Interface CreateBudgetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateBudgetRequest.Builder,
,CreateBudgetRequest> DeadlineRequest.Builder
,SdkBuilder<CreateBudgetRequest.Builder,
,CreateBudgetRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateBudgetRequest
-
Method Summary
Modifier and TypeMethodDescriptionactions
(Collection<BudgetActionToAdd> actions) The budget actions to specify what happens when the budget runs out.actions
(Consumer<BudgetActionToAdd.Builder>... actions) The budget actions to specify what happens when the budget runs out.actions
(BudgetActionToAdd... actions) The budget actions to specify what happens when the budget runs out.approximateDollarLimit
(Float approximateDollarLimit) The dollar limit based on consumed usage.clientToken
(String clientToken) The unique token which the server uses to recognize retries of the same request.description
(String description) The description of the budget.displayName
(String displayName) The display name of the budget.The farm ID to include in this budget.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateBudgetRequest.Builder
schedule
(Consumer<BudgetSchedule.Builder> schedule) The schedule to associate with this budget.schedule
(BudgetSchedule schedule) The schedule to associate with this budget.default CreateBudgetRequest.Builder
usageTrackingResource
(Consumer<UsageTrackingResource.Builder> usageTrackingResource) The queue ID provided to this budget to track usage.usageTrackingResource
(UsageTrackingResource usageTrackingResource) The queue ID provided to this budget to track usage.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.deadline.model.DeadlineRequest.Builder
build
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
-
clientToken
The unique token which the server uses to recognize retries of the same request.
- Parameters:
clientToken
- The unique token which the server uses to recognize retries of the same request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
farmId
The farm ID to include in this budget.
- Parameters:
farmId
- The farm ID to include in this budget.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageTrackingResource
The queue ID provided to this budget to track usage.
- Parameters:
usageTrackingResource
- The queue ID provided to this budget to track usage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageTrackingResource
default CreateBudgetRequest.Builder usageTrackingResource(Consumer<UsageTrackingResource.Builder> usageTrackingResource) The queue ID provided to this budget to track usage.
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:
-
displayName
The display name of the budget.
This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
- Parameters:
displayName
- The display name of the budget.This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the budget.
This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
- Parameters:
description
- The description of the budget.This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
approximateDollarLimit
The dollar limit based on consumed usage.
- Parameters:
approximateDollarLimit
- The dollar limit based on consumed usage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The budget actions to specify what happens when the budget runs out.
- Parameters:
actions
- The budget actions to specify what happens when the budget runs out.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The budget actions to specify what happens when the budget runs out.
- Parameters:
actions
- The budget actions to specify what happens when the budget runs out.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The budget actions to specify what happens when the budget runs out.
This is a convenience method that creates an instance of theBudgetActionToAdd.Builder
avoiding the need to create one manually viaBudgetActionToAdd.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toactions(List<BudgetActionToAdd>)
.- Parameters:
actions
- a consumer that will call methods onBudgetActionToAdd.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
schedule
The schedule to associate with this budget.
- Parameters:
schedule
- The schedule to associate with this budget.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
The schedule to associate with this budget.
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:
-
overrideConfiguration
CreateBudgetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateBudgetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-