Interface GetEnterpriseSupportChargeSummaryResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BillingResponse.Builder,Buildable,CopyableBuilder<GetEnterpriseSupportChargeSummaryResponse.Builder,,GetEnterpriseSupportChargeSummaryResponse> SdkBuilder<GetEnterpriseSupportChargeSummaryResponse.Builder,,GetEnterpriseSupportChargeSummaryResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetEnterpriseSupportChargeSummaryResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe date the bill was generated.billingMonth(String billingMonth) The billing month in YYYY-MM format.billingPeriodEndDate(Instant billingPeriodEndDate) The end date of the billing period.billingPeriodStartDate(Instant billingPeriodStartDate) The start date of the billing period.isEstimated(Boolean isEstimated) When true, the Support charge amount is estimated.payerAccountId(String payerAccountId) The payer account ID that is authorized to view Enterprise Support data for all accounts in its Support profile.supportCharge(String supportCharge) The Support charge amount for the account.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.supportDiscount(String supportDiscount) The support discount amount.supportEffectivePricingPlan(Consumer<PricingPlan.Builder> supportEffectivePricingPlan) The effective pricing plan used for the support charge calculation.supportEffectivePricingPlan(PricingPlan supportEffectivePricingPlan) The effective pricing plan used for the support charge calculation.totalSupportCharge(String totalSupportCharge) The total Support charge amount for all accounts in the Support profile.totalSupportEligibleReservedInstanceSpend(String totalSupportEligibleReservedInstanceSpend) The total Support-eligible Reserved Instance spend from all accounts in the Support profile.totalSupportEligibleSavingsPlanSpend(String totalSupportEligibleSavingsPlanSpend) The total Support-eligible Savings Plan spend from all accounts in the Support profile.totalSupportEligibleSpend(String totalSupportEligibleSpend) The total Support-eligible Spend from all accounts in the Support profile.totalSupportEligibleUsageSpend(String totalSupportEligibleUsageSpend) The total Support-eligible spend from usage of Amazon Web Services from all accounts in the Support profile.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
-
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
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 thePricingPlan.Builderavoiding the need to create one manually viaPricingPlan.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosupportEffectivePricingPlan(PricingPlan).- Parameters:
supportEffectivePricingPlan- 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:
-