Interface DescribeBudgetPerformanceHistoryRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BudgetsRequest.Builder,Buildable,CopyableBuilder<DescribeBudgetPerformanceHistoryRequest.Builder,,DescribeBudgetPerformanceHistoryRequest> SdkBuilder<DescribeBudgetPerformanceHistoryRequest.Builder,,DescribeBudgetPerformanceHistoryRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DescribeBudgetPerformanceHistoryRequest
@Mutable
@NotThreadSafe
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 anALARMstate for the specified time period.timePeriod(TimePeriod timePeriod) Retrieves how often the budget went into anALARMstate for the specified time period.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.budgets.model.BudgetsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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
ALARMstate for the specified time period.- Parameters:
timePeriod- Retrieves how often the budget went into anALARMstate 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 theALARMstate for the specified time period.TimePeriod.Builderavoiding the need to create one manually viaTimePeriod.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-