Interface GetEnterpriseSupportContractDetailsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BillingResponse.Builder,Buildable,CopyableBuilder<GetEnterpriseSupportContractDetailsResponse.Builder,,GetEnterpriseSupportContractDetailsResponse> SdkBuilder<GetEnterpriseSupportContractDetailsResponse.Builder,,GetEnterpriseSupportContractDetailsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetEnterpriseSupportContractDetailsResponse
-
Method Summary
Modifier and TypeMethodDescriptionadditionalSupportCharge(Collection<AdditionalCharge> additionalSupportCharge) Any Additional support charges applied to the contract.additionalSupportCharge(Consumer<AdditionalCharge.Builder>... additionalSupportCharge) Any Additional support charges applied to the contract.additionalSupportCharge(AdditionalCharge... additionalSupportCharge) Any Additional support charges applied to the contract.additionalSupportEligibleUsageSpend(Collection<AdditionalCharge> additionalSupportEligibleUsageSpend) Any Additional support-eligible usage spend charges.additionalSupportEligibleUsageSpend(Consumer<AdditionalCharge.Builder>... additionalSupportEligibleUsageSpend) Any Additional support-eligible usage spend charges.additionalSupportEligibleUsageSpend(AdditionalCharge... additionalSupportEligibleUsageSpend) Any Additional support-eligible usage spend charges.chargedPayerAccountIds(Collection<ChargeAccount> chargedPayerAccountIds) The list of payer accounts and their charge allocation percentages.chargedPayerAccountIds(Consumer<ChargeAccount.Builder>... chargedPayerAccountIds) The list of payer accounts and their charge allocation percentages.chargedPayerAccountIds(ChargeAccount... chargedPayerAccountIds) The list of payer accounts and their charge allocation percentages.contractPayerAccountIds(Collection<ContractAccount> contractPayerAccountIds) The list of accounts covered by the Enterprise Support contract.contractPayerAccountIds(Consumer<ContractAccount.Builder>... contractPayerAccountIds) The list of accounts covered by the Enterprise Support contract.contractPayerAccountIds(ContractAccount... contractPayerAccountIds) The list of accounts covered by the Enterprise Support contract.isContractActive(Boolean isContractActive) When true, the Enterprise Support contract is active.pricingPlans(Collection<PricingPlan> pricingPlans) The pricing plans associated with this Enterprise Support contract.pricingPlans(Consumer<PricingPlan.Builder>... pricingPlans) The pricing plans associated with this Enterprise Support contract.pricingPlans(PricingPlan... pricingPlans) The pricing plans associated with this Enterprise Support contract.supportAllocationMethod(String supportAllocationMethod) The method used to distribute the total Support charge amount across each account in the Support profile.supportProrateStartDate(Instant supportProrateStartDate) The start date for accounts subscribed or unsubscribed to Support billing during the billing month.supportReservedInstanceAmortizationStartDate(Instant supportReservedInstanceAmortizationStartDate) When supportReservedInstanceTreatmentMethod = AmortizedCustom, only amortized fees for Reserved Instances purchased on or after this date are included in the calculation.supportReservedInstanceTreatmentMethod(String supportReservedInstanceTreatmentMethod) The method used to include Reserved Instance (RI) fees in the Enterprise Support charge calculation.supportSavingsPlansAmortizationStartDate(Instant supportSavingsPlansAmortizationStartDate) This is applicable when supportSavingsPlansTreatmentMethod = Amortized and is Null for all other methods.supportSavingsPlansTreatmentMethod(String supportSavingsPlansTreatmentMethod) The method used to include Savings Plans fees in Enterprise Support charge calculations.Methods inherited from interface software.amazon.awssdk.services.billing.model.BillingResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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 theContractAccount.Builderavoiding the need to create one manually viaContractAccount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontractPayerAccountIds(List<ContractAccount>).- Parameters:
contractPayerAccountIds- a consumer that will call methods onContractAccount.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 theChargeAccount.Builderavoiding the need to create one manually viaChargeAccount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tochargedPayerAccountIds(List<ChargeAccount>).- Parameters:
chargedPayerAccountIds- a consumer that will call methods onChargeAccount.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 theAdditionalCharge.Builderavoiding the need to create one manually viaAdditionalCharge.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toadditionalSupportCharge(List<AdditionalCharge>).- Parameters:
additionalSupportCharge- a consumer that will call methods onAdditionalCharge.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 theAdditionalCharge.Builderavoiding the need to create one manually viaAdditionalCharge.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toadditionalSupportEligibleUsageSpend(List<AdditionalCharge>).- Parameters:
additionalSupportEligibleUsageSpend- a consumer that will call methods onAdditionalCharge.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
pricingPlans
GetEnterpriseSupportContractDetailsResponse.Builder pricingPlans(Collection<PricingPlan> 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
GetEnterpriseSupportContractDetailsResponse.Builder pricingPlans(Consumer<PricingPlan.Builder>... pricingPlans) The pricing plans associated with this Enterprise Support contract.
This is a convenience method that creates an instance of thePricingPlan.Builderavoiding the need to create one manually viaPricingPlan.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topricingPlans(List<PricingPlan>).- Parameters:
pricingPlans- a consumer that will call methods onPricingPlan.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-