Interface GetCreditAllocationHistoryRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BillingRequest.Builder,Buildable,CopyableBuilder<GetCreditAllocationHistoryRequest.Builder,,GetCreditAllocationHistoryRequest> SdkBuilder<GetCreditAllocationHistoryRequest.Builder,,GetCreditAllocationHistoryRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GetCreditAllocationHistoryRequest
@Mutable
@NotThreadSafe
public static interface GetCreditAllocationHistoryRequest.Builder
extends BillingRequest.Builder, SdkPojo, CopyableBuilder<GetCreditAllocationHistoryRequest.Builder,GetCreditAllocationHistoryRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Web Services account ID whose allocation history to retrieve.Filters the result to a single credit.Inclusive end date as Unix epoch seconds.maxResults(Integer maxResults) The maximum number of records to return per page.Pagination token from a previous response.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Inclusive start date as Unix epoch seconds.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.billing.model.BillingRequest.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
The Amazon Web Services account ID whose allocation history to retrieve. Must be a 12-digit numeric string.
- Parameters:
accountId- The Amazon Web Services account ID whose allocation history to retrieve. Must be a 12-digit numeric string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creditId
Filters the result to a single credit. When omitted, returns allocation entries for all credits.
- Parameters:
creditId- Filters the result to a single credit. When omitted, returns allocation entries for all credits.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startDate
Inclusive start date as Unix epoch seconds. Must be on or before
endDate. The range fromstartDatetoendDatecannot exceed 24 billing months.- Parameters:
startDate- Inclusive start date as Unix epoch seconds. Must be on or beforeendDate. The range fromstartDatetoendDatecannot exceed 24 billing months.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endDate
Inclusive end date as Unix epoch seconds.
- Parameters:
endDate- Inclusive end date as Unix epoch seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
Pagination token from a previous response. Pass the value returned in
nextTokento retrieve the next page of results.- Parameters:
nextToken- Pagination token from a previous response. Pass the value returned innextTokento retrieve the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of records to return per page. Range: 1 to 1000. Default: 100.
- Parameters:
maxResults- The maximum number of records to return per page. Range: 1 to 1000. Default: 100.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetCreditAllocationHistoryRequest.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
GetCreditAllocationHistoryRequest.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.
-