Interface GetEnterpriseSupportChargeSummaryResponse.Builder

  • Method Details

    • payerAccountId

      The payer account ID that is authorized to view Enterprise Support data for all accounts in its Support profile.

      Parameters:
      payerAccountId - The payer account ID that is authorized to view Enterprise Support data for all accounts in its Support profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • billingMonth

      The billing month in YYYY-MM format. This must be a month in the past.

      Parameters:
      billingMonth - The billing month in YYYY-MM format. This must be a month in the past.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • billingPeriodStartDate

      GetEnterpriseSupportChargeSummaryResponse.Builder billingPeriodStartDate(Instant billingPeriodStartDate)

      The start date of the billing period.

      Parameters:
      billingPeriodStartDate - The start date of the billing period.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • billingPeriodEndDate

      GetEnterpriseSupportChargeSummaryResponse.Builder billingPeriodEndDate(Instant billingPeriodEndDate)

      The end date of the billing period.

      Parameters:
      billingPeriodEndDate - The end date of the billing period.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isEstimated

      When true, the Support charge amount is estimated. When false, the Support charge amount is finalized.

      Parameters:
      isEstimated - When true, the Support charge amount is estimated. When false, the Support charge amount is finalized.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • billDate

      The date the bill was generated.

      Parameters:
      billDate - The date the bill was generated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • supportCharge

      The Support charge amount for the account.

      Parameters:
      supportCharge - The Support charge amount for the account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • totalSupportCharge

      GetEnterpriseSupportChargeSummaryResponse.Builder totalSupportCharge(String totalSupportCharge)

      The total Support charge amount for all accounts in the Support profile.

      Parameters:
      totalSupportCharge - The total Support charge amount for all accounts in the Support profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • supportDiscount

      The support discount amount.

      Parameters:
      supportDiscount - The support discount amount.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • totalSupportEligibleSpend

      GetEnterpriseSupportChargeSummaryResponse.Builder totalSupportEligibleSpend(String totalSupportEligibleSpend)

      The total Support-eligible Spend from all accounts in the Support profile. This includes eligible spend from usage of Amazon Web Services, Reserved Instances, and Savings Plans.

      Parameters:
      totalSupportEligibleSpend - The total Support-eligible Spend from all accounts in the Support profile. This includes eligible spend from usage of Amazon Web Services, Reserved Instances, and Savings Plans.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • totalSupportEligibleUsageSpend

      GetEnterpriseSupportChargeSummaryResponse.Builder totalSupportEligibleUsageSpend(String totalSupportEligibleUsageSpend)

      The total Support-eligible spend from usage of Amazon Web Services from all accounts in the Support profile.

      Parameters:
      totalSupportEligibleUsageSpend - The total Support-eligible spend from usage of Amazon Web Services from all accounts in the Support profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • totalSupportEligibleReservedInstanceSpend

      GetEnterpriseSupportChargeSummaryResponse.Builder totalSupportEligibleReservedInstanceSpend(String totalSupportEligibleReservedInstanceSpend)

      The total Support-eligible Reserved Instance spend from all accounts in the Support profile.

      Parameters:
      totalSupportEligibleReservedInstanceSpend - The total Support-eligible Reserved Instance spend from all accounts in the Support profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • totalSupportEligibleSavingsPlanSpend

      GetEnterpriseSupportChargeSummaryResponse.Builder totalSupportEligibleSavingsPlanSpend(String totalSupportEligibleSavingsPlanSpend)

      The total Support-eligible Savings Plan spend from all accounts in the Support profile.

      Parameters:
      totalSupportEligibleSavingsPlanSpend - The total Support-eligible Savings Plan spend from all accounts in the Support profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • supportChargePercentage

      GetEnterpriseSupportChargeSummaryResponse.Builder supportChargePercentage(String supportChargePercentage)

      The percentage applied to the total Support-eligible spend to calculate the total Support charge across all accounts in the Support profile.

      Parameters:
      supportChargePercentage - The percentage applied to the total Support-eligible spend to calculate the total Support charge across all accounts in the Support profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • supportEffectivePricingPlan

      GetEnterpriseSupportChargeSummaryResponse.Builder supportEffectivePricingPlan(PricingPlan supportEffectivePricingPlan)

      The effective pricing plan used for the support charge calculation.

      Parameters:
      supportEffectivePricingPlan - The effective pricing plan used for the support charge calculation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • supportEffectivePricingPlan

      default GetEnterpriseSupportChargeSummaryResponse.Builder supportEffectivePricingPlan(Consumer<PricingPlan.Builder> supportEffectivePricingPlan)

      The effective pricing plan used for the support charge calculation.

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

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

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