Interface CreateBudgetRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BudgetsRequest.Builder,Buildable,CopyableBuilder<CreateBudgetRequest.Builder,CreateBudgetRequest>,SdkBuilder<CreateBudgetRequest.Builder,CreateBudgetRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateBudgetRequest
public static interface CreateBudgetRequest.Builder extends BudgetsRequest.Builder, SdkPojo, CopyableBuilder<CreateBudgetRequest.Builder,CreateBudgetRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateBudgetRequest.BuilderaccountId(String accountId)TheaccountIdthat is associated with the budget.default CreateBudgetRequest.Builderbudget(Consumer<Budget.Builder> budget)The budget object that you want to create.CreateBudgetRequest.Builderbudget(Budget budget)The budget object that you want to create.CreateBudgetRequest.BuildernotificationsWithSubscribers(Collection<NotificationWithSubscribers> notificationsWithSubscribers)A notification that you want to associate with a budget.CreateBudgetRequest.BuildernotificationsWithSubscribers(Consumer<NotificationWithSubscribers.Builder>... notificationsWithSubscribers)A notification that you want to associate with a budget.CreateBudgetRequest.BuildernotificationsWithSubscribers(NotificationWithSubscribers... notificationsWithSubscribers)A notification that you want to associate with a budget.CreateBudgetRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateBudgetRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateBudgetRequest.BuilderresourceTags(Collection<ResourceTag> resourceTags)An optional list of tags to associate with the specified budget.CreateBudgetRequest.BuilderresourceTags(Consumer<ResourceTag.Builder>... resourceTags)An optional list of tags to associate with the specified budget.CreateBudgetRequest.BuilderresourceTags(ResourceTag... resourceTags)An optional list of tags to associate with the specified budget.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.budgets.model.BudgetsRequest.Builder
build
-
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 Detail
-
accountId
CreateBudgetRequest.Builder accountId(String accountId)
The
accountIdthat is associated with the budget.- Parameters:
accountId- TheaccountIdthat is associated with the budget.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
budget
CreateBudgetRequest.Builder budget(Budget budget)
The budget object that you want to create.
- Parameters:
budget- The budget object that you want to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
budget
default CreateBudgetRequest.Builder budget(Consumer<Budget.Builder> budget)
The budget object that you want to create.
This is a convenience method that creates an instance of theBudget.Builderavoiding the need to create one manually viaBudget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobudget(Budget).- Parameters:
budget- a consumer that will call methods onBudget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
budget(Budget)
-
notificationsWithSubscribers
CreateBudgetRequest.Builder notificationsWithSubscribers(Collection<NotificationWithSubscribers> notificationsWithSubscribers)
A notification that you want to associate with a budget. A budget can have up to five notifications, and each notification can have one SNS subscriber and up to 10 email subscribers. If you include notifications and subscribers in your
CreateBudgetcall, Amazon Web Services creates the notifications and subscribers for you.- Parameters:
notificationsWithSubscribers- A notification that you want to associate with a budget. A budget can have up to five notifications, and each notification can have one SNS subscriber and up to 10 email subscribers. If you include notifications and subscribers in yourCreateBudgetcall, Amazon Web Services creates the notifications and subscribers for you.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationsWithSubscribers
CreateBudgetRequest.Builder notificationsWithSubscribers(NotificationWithSubscribers... notificationsWithSubscribers)
A notification that you want to associate with a budget. A budget can have up to five notifications, and each notification can have one SNS subscriber and up to 10 email subscribers. If you include notifications and subscribers in your
CreateBudgetcall, Amazon Web Services creates the notifications and subscribers for you.- Parameters:
notificationsWithSubscribers- A notification that you want to associate with a budget. A budget can have up to five notifications, and each notification can have one SNS subscriber and up to 10 email subscribers. If you include notifications and subscribers in yourCreateBudgetcall, Amazon Web Services creates the notifications and subscribers for you.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationsWithSubscribers
CreateBudgetRequest.Builder notificationsWithSubscribers(Consumer<NotificationWithSubscribers.Builder>... notificationsWithSubscribers)
A notification that you want to associate with a budget. A budget can have up to five notifications, and each notification can have one SNS subscriber and up to 10 email subscribers. If you include notifications and subscribers in your
This is a convenience method that creates an instance of theCreateBudgetcall, Amazon Web Services creates the notifications and subscribers for you.NotificationWithSubscribers.Builderavoiding the need to create one manually viaNotificationWithSubscribers.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#notificationsWithSubscribers(List.) - Parameters:
notificationsWithSubscribers- a consumer that will call methods onNotificationWithSubscribers.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#notificationsWithSubscribers(java.util.Collection)
-
resourceTags
CreateBudgetRequest.Builder resourceTags(Collection<ResourceTag> resourceTags)
An optional list of tags to associate with the specified budget. Each tag consists of a key and a value, and each key must be unique for the resource.
- Parameters:
resourceTags- An optional list of tags to associate with the specified budget. Each tag consists of a key and a value, and each key must be unique for the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTags
CreateBudgetRequest.Builder resourceTags(ResourceTag... resourceTags)
An optional list of tags to associate with the specified budget. Each tag consists of a key and a value, and each key must be unique for the resource.
- Parameters:
resourceTags- An optional list of tags to associate with the specified budget. Each tag consists of a key and a value, and each key must be unique for the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTags
CreateBudgetRequest.Builder resourceTags(Consumer<ResourceTag.Builder>... resourceTags)
An optional list of tags to associate with the specified budget. Each tag consists of a key and a value, and each key must be unique for the resource.
This is a convenience method that creates an instance of theResourceTag.Builderavoiding the need to create one manually viaResourceTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#resourceTags(List.) - Parameters:
resourceTags- a consumer that will call methods onResourceTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#resourceTags(java.util.Collection)
-
overrideConfiguration
CreateBudgetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateBudgetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-