Interface GetBillingGroupCostReportRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BillingconductorRequest.Builder
,Buildable
,CopyableBuilder<GetBillingGroupCostReportRequest.Builder,
,GetBillingGroupCostReportRequest> SdkBuilder<GetBillingGroupCostReportRequest.Builder,
,GetBillingGroupCostReportRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetBillingGroupCostReportRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Number (ARN) that uniquely identifies the billing group.billingPeriodRange
(Consumer<BillingPeriodRange.Builder> billingPeriodRange) A time range for which the margin summary is effective.billingPeriodRange
(BillingPeriodRange billingPeriodRange) A time range for which the margin summary is effective.groupBy
(Collection<GroupByAttributeName> groupBy) A list of strings that specify the attributes that are used to break down costs in the margin summary reports for the billing group.groupBy
(GroupByAttributeName... groupBy) A list of strings that specify the attributes that are used to break down costs in the margin summary reports for the billing group.groupByWithStrings
(String... groupBy) A list of strings that specify the attributes that are used to break down costs in the margin summary reports for the billing group.groupByWithStrings
(Collection<String> groupBy) A list of strings that specify the attributes that are used to break down costs in the margin summary reports for the billing group.maxResults
(Integer maxResults) The maximum number of margin summary reports to retrieve.The pagination token used on subsequent calls to get reports.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.billingconductor.model.BillingconductorRequest.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 Details
-
arn
The Amazon Resource Number (ARN) that uniquely identifies the billing group.
- Parameters:
arn
- The Amazon Resource Number (ARN) that uniquely identifies the billing group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingPeriodRange
A time range for which the margin summary is effective. You can specify up to 12 months.
- Parameters:
billingPeriodRange
- A time range for which the margin summary is effective. You can specify up to 12 months.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingPeriodRange
default GetBillingGroupCostReportRequest.Builder billingPeriodRange(Consumer<BillingPeriodRange.Builder> billingPeriodRange) A time range for which the margin summary is effective. You can specify up to 12 months.
This is a convenience method that creates an instance of theBillingPeriodRange.Builder
avoiding the need to create one manually viaBillingPeriodRange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobillingPeriodRange(BillingPeriodRange)
.- Parameters:
billingPeriodRange
- a consumer that will call methods onBillingPeriodRange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
groupByWithStrings
A list of strings that specify the attributes that are used to break down costs in the margin summary reports for the billing group. For example, you can view your costs by the Amazon Web Service name or the billing period.
- Parameters:
groupBy
- A list of strings that specify the attributes that are used to break down costs in the margin summary reports for the billing group. For example, you can view your costs by the Amazon Web Service name or the billing period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupByWithStrings
A list of strings that specify the attributes that are used to break down costs in the margin summary reports for the billing group. For example, you can view your costs by the Amazon Web Service name or the billing period.
- Parameters:
groupBy
- A list of strings that specify the attributes that are used to break down costs in the margin summary reports for the billing group. For example, you can view your costs by the Amazon Web Service name or the billing period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupBy
A list of strings that specify the attributes that are used to break down costs in the margin summary reports for the billing group. For example, you can view your costs by the Amazon Web Service name or the billing period.
- Parameters:
groupBy
- A list of strings that specify the attributes that are used to break down costs in the margin summary reports for the billing group. For example, you can view your costs by the Amazon Web Service name or the billing period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupBy
A list of strings that specify the attributes that are used to break down costs in the margin summary reports for the billing group. For example, you can view your costs by the Amazon Web Service name or the billing period.
- Parameters:
groupBy
- A list of strings that specify the attributes that are used to break down costs in the margin summary reports for the billing group. For example, you can view your costs by the Amazon Web Service name or the billing period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of margin summary reports to retrieve.
- Parameters:
maxResults
- The maximum number of margin summary reports to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The pagination token used on subsequent calls to get reports.
- Parameters:
nextToken
- The pagination token used on subsequent calls to get reports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetBillingGroupCostReportRequest.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
GetBillingGroupCostReportRequest.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.
-