Interface GetEnterpriseSupportContractDetailsResponse.Builder

  • Method Details

    • isContractActive

      When true, the Enterprise Support contract is active. When false, the Enterprise Support Contract is inactive.

      Parameters:
      isContractActive - When true, the Enterprise Support contract is active. When false, the Enterprise Support Contract is inactive.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • supportAllocationMethod

      GetEnterpriseSupportContractDetailsResponse.Builder supportAllocationMethod(String supportAllocationMethod)

      The method used to distribute the total Support charge amount across each account in the Support profile. Valid values: Proportional, Fixed_Percentage. Proportional means support charges are distributed to each account in proportion to its eligible Spend. Fixed_Percentage means support charges are distributed across accounts according to pre-configured percentages from the contract.

      Parameters:
      supportAllocationMethod - The method used to distribute the total Support charge amount across each account in the Support profile. Valid values: Proportional, Fixed_Percentage. Proportional means support charges are distributed to each account in proportion to its eligible Spend. Fixed_Percentage means support charges are distributed across accounts according to pre-configured percentages from the contract.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • supportReservedInstanceAmortizationStartDate

      GetEnterpriseSupportContractDetailsResponse.Builder supportReservedInstanceAmortizationStartDate(Instant supportReservedInstanceAmortizationStartDate)

      When supportReservedInstanceTreatmentMethod = AmortizedCustom, only amortized fees for Reserved Instances purchased on or after this date are included in the calculation. This field is Null for all other treatment methods.

      Parameters:
      supportReservedInstanceAmortizationStartDate - When supportReservedInstanceTreatmentMethod = AmortizedCustom, only amortized fees for Reserved Instances purchased on or after this date are included in the calculation. This field is Null for all other treatment methods.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • supportReservedInstanceTreatmentMethod

      GetEnterpriseSupportContractDetailsResponse.Builder supportReservedInstanceTreatmentMethod(String supportReservedInstanceTreatmentMethod)

      The method used to include Reserved Instance (RI) fees in the Enterprise Support charge calculation. Valid values: None (RI fees excluded from Support-eligible spend), Upfront (full upfront RI fees included in month of purchase), Amortized (RI fees spread over commitment term for RIs purchased on or after Support subscription start date), AmortizedCustom (same as Amortized but only for RIs purchased on or after a specified custom start date), AmortizedAll (RI fees amortized for all active RIs including those purchased before Support subscription started).

      Parameters:
      supportReservedInstanceTreatmentMethod - The method used to include Reserved Instance (RI) fees in the Enterprise Support charge calculation. Valid values: None (RI fees excluded from Support-eligible spend), Upfront (full upfront RI fees included in month of purchase), Amortized (RI fees spread over commitment term for RIs purchased on or after Support subscription start date), AmortizedCustom (same as Amortized but only for RIs purchased on or after a specified custom start date), AmortizedAll (RI fees amortized for all active RIs including those purchased before Support subscription started).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • supportSavingsPlansAmortizationStartDate

      GetEnterpriseSupportContractDetailsResponse.Builder supportSavingsPlansAmortizationStartDate(Instant supportSavingsPlansAmortizationStartDate)

      This is applicable when supportSavingsPlansTreatmentMethod = Amortized and is Null for all other methods. It shows the start date from which Savings Plan fees are included in Support Eligible Spend.

      Parameters:
      supportSavingsPlansAmortizationStartDate - This is applicable when supportSavingsPlansTreatmentMethod = Amortized and is Null for all other methods. It shows the start date from which Savings Plan fees are included in Support Eligible Spend.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • supportSavingsPlansTreatmentMethod

      GetEnterpriseSupportContractDetailsResponse.Builder supportSavingsPlansTreatmentMethod(String supportSavingsPlansTreatmentMethod)

      The method used to include Savings Plans fees in Enterprise Support charge calculations. Valid values: None (Savings Plan fees excluded from Support-eligible spend), Upfront (full upfront Savings Plan fees included in month of purchase), Amortized (Savings Plan fees spread over commitment term for Savings Plans purchased on or after Support subscription start date), AmortizedCustom (same as Amortized but only for Savings Plans purchased on or after a specified custom start date), AmortizedAll (Savings Plan fees amortized for all active Savings Plans including those purchased before Support subscription started).

      Parameters:
      supportSavingsPlansTreatmentMethod - The method used to include Savings Plans fees in Enterprise Support charge calculations. Valid values: None (Savings Plan fees excluded from Support-eligible spend), Upfront (full upfront Savings Plan fees included in month of purchase), Amortized (Savings Plan fees spread over commitment term for Savings Plans purchased on or after Support subscription start date), AmortizedCustom (same as Amortized but only for Savings Plans purchased on or after a specified custom start date), AmortizedAll (Savings Plan fees amortized for all active Savings Plans including those purchased before Support subscription started).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • supportProrateStartDate

      GetEnterpriseSupportContractDetailsResponse.Builder supportProrateStartDate(Instant supportProrateStartDate)

      The start date for accounts subscribed or unsubscribed to Support billing during the billing month.

      Parameters:
      supportProrateStartDate - The start date for accounts subscribed or unsubscribed to Support billing during the billing month.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contractPayerAccountIds

      GetEnterpriseSupportContractDetailsResponse.Builder contractPayerAccountIds(Collection<ContractAccount> contractPayerAccountIds)

      The list of accounts covered by the Enterprise Support contract.

      Parameters:
      contractPayerAccountIds - The list of accounts covered by the Enterprise Support contract.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contractPayerAccountIds

      GetEnterpriseSupportContractDetailsResponse.Builder contractPayerAccountIds(ContractAccount... contractPayerAccountIds)

      The list of accounts covered by the Enterprise Support contract.

      Parameters:
      contractPayerAccountIds - The list of accounts covered by the Enterprise Support contract.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contractPayerAccountIds

      GetEnterpriseSupportContractDetailsResponse.Builder contractPayerAccountIds(Consumer<ContractAccount.Builder>... contractPayerAccountIds)

      The list of accounts covered by the Enterprise Support contract.

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

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

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

      GetEnterpriseSupportContractDetailsResponse.Builder chargedPayerAccountIds(Collection<ChargeAccount> chargedPayerAccountIds)

      The list of payer accounts and their charge allocation percentages.

      Parameters:
      chargedPayerAccountIds - The list of payer accounts and their charge allocation percentages.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • chargedPayerAccountIds

      GetEnterpriseSupportContractDetailsResponse.Builder chargedPayerAccountIds(ChargeAccount... chargedPayerAccountIds)

      The list of payer accounts and their charge allocation percentages.

      Parameters:
      chargedPayerAccountIds - The list of payer accounts and their charge allocation percentages.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • chargedPayerAccountIds

      GetEnterpriseSupportContractDetailsResponse.Builder chargedPayerAccountIds(Consumer<ChargeAccount.Builder>... chargedPayerAccountIds)

      The list of payer accounts and their charge allocation percentages.

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

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

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

      GetEnterpriseSupportContractDetailsResponse.Builder additionalSupportCharge(Collection<AdditionalCharge> additionalSupportCharge)

      Any Additional support charges applied to the contract.

      Parameters:
      additionalSupportCharge - Any Additional support charges applied to the contract.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • additionalSupportCharge

      GetEnterpriseSupportContractDetailsResponse.Builder additionalSupportCharge(AdditionalCharge... additionalSupportCharge)

      Any Additional support charges applied to the contract.

      Parameters:
      additionalSupportCharge - Any Additional support charges applied to the contract.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • additionalSupportCharge

      GetEnterpriseSupportContractDetailsResponse.Builder additionalSupportCharge(Consumer<AdditionalCharge.Builder>... additionalSupportCharge)

      Any Additional support charges applied to the contract.

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

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

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

      GetEnterpriseSupportContractDetailsResponse.Builder additionalSupportEligibleUsageSpend(Collection<AdditionalCharge> additionalSupportEligibleUsageSpend)

      Any Additional support-eligible usage spend charges.

      Parameters:
      additionalSupportEligibleUsageSpend - Any Additional support-eligible usage spend charges.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • additionalSupportEligibleUsageSpend

      GetEnterpriseSupportContractDetailsResponse.Builder additionalSupportEligibleUsageSpend(AdditionalCharge... additionalSupportEligibleUsageSpend)

      Any Additional support-eligible usage spend charges.

      Parameters:
      additionalSupportEligibleUsageSpend - Any Additional support-eligible usage spend charges.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • additionalSupportEligibleUsageSpend

      GetEnterpriseSupportContractDetailsResponse.Builder additionalSupportEligibleUsageSpend(Consumer<AdditionalCharge.Builder>... additionalSupportEligibleUsageSpend)

      Any Additional support-eligible usage spend charges.

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

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

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

      The pricing plans associated with this Enterprise Support contract.

      Parameters:
      pricingPlans - The pricing plans associated with this Enterprise Support contract.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pricingPlans

      The pricing plans associated with this Enterprise Support contract.

      Parameters:
      pricingPlans - The pricing plans associated with this Enterprise Support contract.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pricingPlans

      The pricing plans associated with this Enterprise Support contract.

      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 pricingPlans(List<PricingPlan>).

      Parameters:
      pricingPlans - 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: