Interface GetBillingGroupCostReportResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BillingconductorResponse.Builder
,Buildable
,CopyableBuilder<GetBillingGroupCostReportResponse.Builder,
,GetBillingGroupCostReportResponse> SdkBuilder<GetBillingGroupCostReportResponse.Builder,
,GetBillingGroupCostReportResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetBillingGroupCostReportResponse
public static interface GetBillingGroupCostReportResponse.Builder
extends BillingconductorResponse.Builder, SdkPojo, CopyableBuilder<GetBillingGroupCostReportResponse.Builder,GetBillingGroupCostReportResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbillingGroupCostReportResults
(Collection<BillingGroupCostReportResultElement> billingGroupCostReportResults) The list of margin summary reports.billingGroupCostReportResults
(Consumer<BillingGroupCostReportResultElement.Builder>... billingGroupCostReportResults) The list of margin summary reports.billingGroupCostReportResults
(BillingGroupCostReportResultElement... billingGroupCostReportResults) The list of margin summary reports.The pagination token used on subsequent calls to get reports.Methods inherited from interface software.amazon.awssdk.services.billingconductor.model.BillingconductorResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
billingGroupCostReportResults
GetBillingGroupCostReportResponse.Builder billingGroupCostReportResults(Collection<BillingGroupCostReportResultElement> billingGroupCostReportResults) The list of margin summary reports.
- Parameters:
billingGroupCostReportResults
- The list of margin summary reports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingGroupCostReportResults
GetBillingGroupCostReportResponse.Builder billingGroupCostReportResults(BillingGroupCostReportResultElement... billingGroupCostReportResults) The list of margin summary reports.
- Parameters:
billingGroupCostReportResults
- The list of margin summary reports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingGroupCostReportResults
GetBillingGroupCostReportResponse.Builder billingGroupCostReportResults(Consumer<BillingGroupCostReportResultElement.Builder>... billingGroupCostReportResults) The list of margin summary reports.
This is a convenience method that creates an instance of theBillingGroupCostReportResultElement.Builder
avoiding the need to create one manually viaBillingGroupCostReportResultElement.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobillingGroupCostReportResults(List<BillingGroupCostReportResultElement>)
.- Parameters:
billingGroupCostReportResults
- a consumer that will call methods onBillingGroupCostReportResultElement.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-