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 theBillingGroupCostReportResultsare grouped.attributes(Consumer<Attribute.Builder>... attributes) The list of key-value pairs that represent the attributes by which theBillingGroupCostReportResultsare grouped.attributes(Attribute... attributes) The list of key-value pairs that represent the attributes by which theBillingGroupCostReportResultsare 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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
BillingGroupCostReportResultsare 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 theBillingGroupCostReportResultsare 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
BillingGroupCostReportResultsare 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 theBillingGroupCostReportResultsare 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 theBillingGroupCostReportResultsare 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.Builderavoiding the need to create one manually viaAttribute.builder().When the
Consumercompletes,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:
-