Interface BillingGroupCostReportResultElement.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BillingGroupCostReportResultElement.Builder,
,BillingGroupCostReportResultElement> SdkBuilder<BillingGroupCostReportResultElement.Builder,
,BillingGroupCostReportResultElement> SdkPojo
- Enclosing class:
BillingGroupCostReportResultElement
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Number (ARN) that uniquely identifies the billing group.attributes
(Collection<Attribute> attributes) The list of key-value pairs that represent the attributes by which theBillingGroupCostReportResults
are grouped.attributes
(Consumer<Attribute.Builder>... attributes) The list of key-value pairs that represent the attributes by which theBillingGroupCostReportResults
are grouped.attributes
(Attribute... attributes) The list of key-value pairs that represent the attributes by which theBillingGroupCostReportResults
are grouped.The actual Amazon Web Services charges for the billing group.The displayed currency.The billing group margin.marginPercentage
(String marginPercentage) The percentage of the billing group margin.proformaCost
(String proformaCost) The hypothetical Amazon Web Services charges based on the associated pricing plan of a billing group.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
-
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.
-
awsCost
The actual Amazon Web Services charges for the billing group.
- Parameters:
awsCost
- The actual Amazon Web Services charges for the billing group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
proformaCost
The hypothetical Amazon Web Services charges based on the associated pricing plan of a billing group.
- Parameters:
proformaCost
- The hypothetical Amazon Web Services charges based on the associated pricing plan of a billing group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
margin
The billing group margin.
- Parameters:
margin
- The billing group margin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
marginPercentage
The percentage of the billing group margin.
- Parameters:
marginPercentage
- The percentage of the billing group margin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currency
The displayed currency.
- Parameters:
currency
- The displayed currency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
The list of key-value pairs that represent the attributes by which the
BillingGroupCostReportResults
are grouped. For example, if you want the Amazon S3 service-level breakdown of a billing group for November 2023, the attributes list will contain a key-value pair of"PRODUCT_NAME"
and"S3"
and a key-value pair of"BILLING_PERIOD"
and"Nov 2023"
.- Parameters:
attributes
- The list of key-value pairs that represent the attributes by which theBillingGroupCostReportResults
are grouped. For example, if you want the Amazon S3 service-level breakdown of a billing group for November 2023, the attributes list will contain a key-value pair of"PRODUCT_NAME"
and"S3"
and a key-value pair of"BILLING_PERIOD"
and"Nov 2023"
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
The list of key-value pairs that represent the attributes by which the
BillingGroupCostReportResults
are grouped. For example, if you want the Amazon S3 service-level breakdown of a billing group for November 2023, the attributes list will contain a key-value pair of"PRODUCT_NAME"
and"S3"
and a key-value pair of"BILLING_PERIOD"
and"Nov 2023"
.- Parameters:
attributes
- The list of key-value pairs that represent the attributes by which theBillingGroupCostReportResults
are grouped. For example, if you want the Amazon S3 service-level breakdown of a billing group for November 2023, the attributes list will contain a key-value pair of"PRODUCT_NAME"
and"S3"
and a key-value pair of"BILLING_PERIOD"
and"Nov 2023"
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
The list of key-value pairs that represent the attributes by which the
This is a convenience method that creates an instance of theBillingGroupCostReportResults
are grouped. For example, if you want the Amazon S3 service-level breakdown of a billing group for November 2023, the attributes list will contain a key-value pair of"PRODUCT_NAME"
and"S3"
and a key-value pair of"BILLING_PERIOD"
and"Nov 2023"
.Attribute.Builder
avoiding the need to create one manually viaAttribute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributes(List<Attribute>)
.- Parameters:
attributes
- a consumer that will call methods onAttribute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-