Interface GetBillingGroupCostReportRequest.Builder

  • 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.
    • billingPeriodRange

      GetBillingGroupCostReportRequest.Builder billingPeriodRange(BillingPeriodRange billingPeriodRange)

      A time range for which the margin summary is effective. You can specify up to 12 months.

      Parameters:
      billingPeriodRange - A time range for which the margin summary is effective. You can specify up to 12 months.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • billingPeriodRange

      default GetBillingGroupCostReportRequest.Builder billingPeriodRange(Consumer<BillingPeriodRange.Builder> billingPeriodRange)

      A time range for which the margin summary is effective. You can specify up to 12 months.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to billingPeriodRange(BillingPeriodRange).

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

      A list of strings that specify the attributes that are used to break down costs in the margin summary reports for the billing group. For example, you can view your costs by the Amazon Web Service name or the billing period.

      Parameters:
      groupBy - A list of strings that specify the attributes that are used to break down costs in the margin summary reports for the billing group. For example, you can view your costs by the Amazon Web Service name or the billing period.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • groupByWithStrings

      GetBillingGroupCostReportRequest.Builder groupByWithStrings(String... groupBy)

      A list of strings that specify the attributes that are used to break down costs in the margin summary reports for the billing group. For example, you can view your costs by the Amazon Web Service name or the billing period.

      Parameters:
      groupBy - A list of strings that specify the attributes that are used to break down costs in the margin summary reports for the billing group. For example, you can view your costs by the Amazon Web Service name or the billing period.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • groupBy

      A list of strings that specify the attributes that are used to break down costs in the margin summary reports for the billing group. For example, you can view your costs by the Amazon Web Service name or the billing period.

      Parameters:
      groupBy - A list of strings that specify the attributes that are used to break down costs in the margin summary reports for the billing group. For example, you can view your costs by the Amazon Web Service name or the billing period.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • groupBy

      A list of strings that specify the attributes that are used to break down costs in the margin summary reports for the billing group. For example, you can view your costs by the Amazon Web Service name or the billing period.

      Parameters:
      groupBy - A list of strings that specify the attributes that are used to break down costs in the margin summary reports for the billing group. For example, you can view your costs by the Amazon Web Service name or the billing period.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxResults

      The maximum number of margin summary reports to retrieve.

      Parameters:
      maxResults - The maximum number of margin summary reports to retrieve.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.
    • overrideConfiguration

      GetBillingGroupCostReportRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.