Interface BillingGroupCostReportResultElement.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BillingGroupCostReportResultElement.Builder,BillingGroupCostReportResultElement>,SdkBuilder<BillingGroupCostReportResultElement.Builder,BillingGroupCostReportResultElement>,SdkPojo
- Enclosing class:
- BillingGroupCostReportResultElement
public static interface BillingGroupCostReportResultElement.Builder extends SdkPojo, CopyableBuilder<BillingGroupCostReportResultElement.Builder,BillingGroupCostReportResultElement>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BillingGroupCostReportResultElement.Builderarn(String arn)The Amazon Resource Number (ARN) that uniquely identifies the billing group.BillingGroupCostReportResultElement.Builderattributes(Collection<Attribute> attributes)The list of key-value pairs that represent the attributes by which theBillingGroupCostReportResultsare grouped.BillingGroupCostReportResultElement.Builderattributes(Consumer<Attribute.Builder>... attributes)The list of key-value pairs that represent the attributes by which theBillingGroupCostReportResultsare grouped.BillingGroupCostReportResultElement.Builderattributes(Attribute... attributes)The list of key-value pairs that represent the attributes by which theBillingGroupCostReportResultsare grouped.BillingGroupCostReportResultElement.BuilderawsCost(String awsCost)The actual Amazon Web Services charges for the billing group.BillingGroupCostReportResultElement.Buildercurrency(String currency)The displayed currency.BillingGroupCostReportResultElement.Buildermargin(String margin)The billing group margin.BillingGroupCostReportResultElement.BuildermarginPercentage(String marginPercentage)The percentage of the billing group margin.BillingGroupCostReportResultElement.BuilderproformaCost(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 Detail
-
arn
BillingGroupCostReportResultElement.Builder arn(String 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
BillingGroupCostReportResultElement.Builder awsCost(String 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
BillingGroupCostReportResultElement.Builder proformaCost(String 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
BillingGroupCostReportResultElement.Builder margin(String 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
BillingGroupCostReportResultElement.Builder marginPercentage(String 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
BillingGroupCostReportResultElement.Builder currency(String 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
BillingGroupCostReportResultElement.Builder attributes(Collection<Attribute> 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
BillingGroupCostReportResultElement.Builder attributes(Attribute... 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
BillingGroupCostReportResultElement.Builder attributes(Consumer<Attribute.Builder>... 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 to#attributes(List.) - 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:
#attributes(java.util.Collection)
-
-