Interface DescribeBudgetPerformanceHistoryRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BudgetsRequest.Builder
,Buildable
,CopyableBuilder<DescribeBudgetPerformanceHistoryRequest.Builder,
,DescribeBudgetPerformanceHistoryRequest> SdkBuilder<DescribeBudgetPerformanceHistoryRequest.Builder,
,DescribeBudgetPerformanceHistoryRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DescribeBudgetPerformanceHistoryRequest
public static interface DescribeBudgetPerformanceHistoryRequest.Builder
extends BudgetsRequest.Builder, SdkPojo, CopyableBuilder<DescribeBudgetPerformanceHistoryRequest.Builder,DescribeBudgetPerformanceHistoryRequest>
-
Method Summary
Modifier and TypeMethodDescriptionSets the value of the AccountId property for this object.budgetName
(String budgetName) Sets the value of the BudgetName property for this object.maxResults
(Integer maxResults) Sets the value of the MaxResults property for this object.Sets the value of the NextToken property for this object.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.timePeriod
(Consumer<TimePeriod.Builder> timePeriod) Retrieves how often the budget went into anALARM
state for the specified time period.timePeriod
(TimePeriod timePeriod) Retrieves how often the budget went into anALARM
state for the specified time period.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, sdkFields
-
Method Details
-
accountId
Sets the value of the AccountId property for this object.- Parameters:
accountId
- The new value for the AccountId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
budgetName
Sets the value of the BudgetName property for this object.- Parameters:
budgetName
- The new value for the BudgetName property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timePeriod
Retrieves how often the budget went into an
ALARM
state for the specified time period.- Parameters:
timePeriod
- Retrieves how often the budget went into anALARM
state for the specified time period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timePeriod
default DescribeBudgetPerformanceHistoryRequest.Builder timePeriod(Consumer<TimePeriod.Builder> timePeriod) Retrieves how often the budget went into an
This is a convenience method that creates an instance of theALARM
state for the specified time period.TimePeriod.Builder
avoiding the need to create one manually viaTimePeriod.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totimePeriod(TimePeriod)
.- Parameters:
timePeriod
- a consumer that will call methods onTimePeriod.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
Sets the value of the MaxResults property for this object.- Parameters:
maxResults
- The new value for the MaxResults property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
Sets the value of the NextToken property for this object.- Parameters:
nextToken
- The new value for the NextToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeBudgetPerformanceHistoryRequest.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
DescribeBudgetPerformanceHistoryRequest.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.
-