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 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

      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

      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 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".
      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 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".
      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".

      This is a convenience method that creates an instance of the Attribute.Builder avoiding the need to create one manually via Attribute.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to attributes(List<Attribute>).

      Parameters:
      attributes - a consumer that will call methods on Attribute.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: