Interface BusinessSupportAccountCharge.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BusinessSupportAccountCharge.Builder,,BusinessSupportAccountCharge> SdkBuilder<BusinessSupportAccountCharge.Builder,,BusinessSupportAccountCharge> SdkPojo
- Enclosing class:
BusinessSupportAccountCharge
-
Method Summary
Modifier and TypeMethodDescriptionThe linked account ID.supportDiscount(Consumer<BusinessSupportDiscount.Builder> supportDiscount) The discount applied to the Business Support charge for this account, if any.supportDiscount(BusinessSupportDiscount supportDiscount) The discount applied to the Business Support charge for this account, if any.supportEligibleSpendByService(Collection<BusinessSupportServiceSpend> supportEligibleSpendByService) The Support-eligible spend broken down by contributing service for this account.supportEligibleSpendByService(Consumer<BusinessSupportServiceSpend.Builder>... supportEligibleSpendByService) The Support-eligible spend broken down by contributing service for this account.supportEligibleSpendByService(BusinessSupportServiceSpend... supportEligibleSpendByService) The Support-eligible spend broken down by contributing service for this account.supportPlanName(String supportPlanName) The Support plan name for this account.tierCharges(Collection<BusinessSupportTierCharge> tierCharges) The tier-level charges that make up the total Business Support charge for this account.tierCharges(Consumer<BusinessSupportTierCharge.Builder>... tierCharges) The tier-level charges that make up the total Business Support charge for this account.tierCharges(BusinessSupportTierCharge... tierCharges) The tier-level charges that make up the total Business Support charge for this account.totalCharge(String totalCharge) The total Business Support charge amount for this account in the billing month.totalUsageBasis(String totalUsageBasis) The total Support-eligible spend used as the basis for calculating the Business Support charge for this account.Methods 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, sdkFields
-
Method Details
-
accountId
The linked account ID.
- Parameters:
accountId- The linked account ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportPlanName
The Support plan name for this account. Valid values:
AWSSupportBusiness(Business Support plan),AWSSupportDeveloper(Developer Support plan),AWSSupportEssential(Basic Support plan).- Parameters:
supportPlanName- The Support plan name for this account. Valid values:AWSSupportBusiness(Business Support plan),AWSSupportDeveloper(Developer Support plan),AWSSupportEssential(Basic Support plan).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalCharge
The total Business Support charge amount for this account in the billing month.
- Parameters:
totalCharge- The total Business Support charge amount for this account in the billing month.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalUsageBasis
The total Support-eligible spend used as the basis for calculating the Business Support charge for this account.
- Parameters:
totalUsageBasis- The total Support-eligible spend used as the basis for calculating the Business Support charge for this account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tierCharges
The tier-level charges that make up the total Business Support charge for this account. Each tier represents a spend range with its own rate.
- Parameters:
tierCharges- The tier-level charges that make up the total Business Support charge for this account. Each tier represents a spend range with its own rate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tierCharges
The tier-level charges that make up the total Business Support charge for this account. Each tier represents a spend range with its own rate.
- Parameters:
tierCharges- The tier-level charges that make up the total Business Support charge for this account. Each tier represents a spend range with its own rate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tierCharges
BusinessSupportAccountCharge.Builder tierCharges(Consumer<BusinessSupportTierCharge.Builder>... tierCharges) The tier-level charges that make up the total Business Support charge for this account. Each tier represents a spend range with its own rate.
This is a convenience method that creates an instance of theBusinessSupportTierCharge.Builderavoiding the need to create one manually viaBusinessSupportTierCharge.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totierCharges(List<BusinessSupportTierCharge>).- Parameters:
tierCharges- a consumer that will call methods onBusinessSupportTierCharge.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
supportDiscount
The discount applied to the Business Support charge for this account, if any. This field is absent when no discount applies.
- Parameters:
supportDiscount- The discount applied to the Business Support charge for this account, if any. This field is absent when no discount applies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportDiscount
default BusinessSupportAccountCharge.Builder supportDiscount(Consumer<BusinessSupportDiscount.Builder> supportDiscount) The discount applied to the Business Support charge for this account, if any. This field is absent when no discount applies.
This is a convenience method that creates an instance of theBusinessSupportDiscount.Builderavoiding the need to create one manually viaBusinessSupportDiscount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosupportDiscount(BusinessSupportDiscount).- Parameters:
supportDiscount- a consumer that will call methods onBusinessSupportDiscount.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
supportEligibleSpendByService
BusinessSupportAccountCharge.Builder supportEligibleSpendByService(Collection<BusinessSupportServiceSpend> supportEligibleSpendByService) The Support-eligible spend broken down by contributing service for this account.
- Parameters:
supportEligibleSpendByService- The Support-eligible spend broken down by contributing service for this account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportEligibleSpendByService
BusinessSupportAccountCharge.Builder supportEligibleSpendByService(BusinessSupportServiceSpend... supportEligibleSpendByService) The Support-eligible spend broken down by contributing service for this account.
- Parameters:
supportEligibleSpendByService- The Support-eligible spend broken down by contributing service for this account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportEligibleSpendByService
BusinessSupportAccountCharge.Builder supportEligibleSpendByService(Consumer<BusinessSupportServiceSpend.Builder>... supportEligibleSpendByService) The Support-eligible spend broken down by contributing service for this account.
This is a convenience method that creates an instance of theBusinessSupportServiceSpend.Builderavoiding the need to create one manually viaBusinessSupportServiceSpend.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosupportEligibleSpendByService(List<BusinessSupportServiceSpend>).- Parameters:
supportEligibleSpendByService- a consumer that will call methods onBusinessSupportServiceSpend.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-