Interface LinkedAccountCharge.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LinkedAccountCharge.Builder,,LinkedAccountCharge> SdkBuilder<LinkedAccountCharge.Builder,,LinkedAccountCharge> SdkPojo
- Enclosing class:
LinkedAccountCharge
-
Method Summary
Modifier and TypeMethodDescriptionThe linked account ID.accountType(String accountType) The type of account.billableSeconds(Long billableSeconds) The number of billable seconds in the billing period based on when the account was subscribed to Enterprise Support.linkedTimePeriods(Collection<EnterpriseSupportTimePeriod> linkedTimePeriods) The time periods during which this account was linked.linkedTimePeriods(Consumer<EnterpriseSupportTimePeriod.Builder>... linkedTimePeriods) The time periods during which this account was linked.linkedTimePeriods(EnterpriseSupportTimePeriod... linkedTimePeriods) The time periods during which this account was linked.payerAccountId(String payerAccountId) The payer account ID that is authorized to view Enterprise Support data for all accounts in its Support profile.proratedTotalSupportEligibleSpend(String proratedTotalSupportEligibleSpend) The prorated total support-eligible spend based on when the account was subscribed to Enterprise Support.subscriptionTimePeriods(Collection<EnterpriseSupportTimePeriod> subscriptionTimePeriods) The subscription time periods for this account.subscriptionTimePeriods(Consumer<EnterpriseSupportTimePeriod.Builder>... subscriptionTimePeriods) The subscription time periods for this account.subscriptionTimePeriods(EnterpriseSupportTimePeriod... subscriptionTimePeriods) The subscription time periods for this account.supportEligibleSpendByService(Collection<ServiceLevelAccountUsage> supportEligibleSpendByService) The support-eligible spend broken down by service.supportEligibleSpendByService(Consumer<ServiceLevelAccountUsage.Builder>... supportEligibleSpendByService) The support-eligible spend broken down by service.supportEligibleSpendByService(ServiceLevelAccountUsage... supportEligibleSpendByService) The support-eligible spend broken down by service.totalSeconds(Long totalSeconds) The total number of seconds in the billing period.totalSupportEligibleReservedInstanceSpend(String totalSupportEligibleReservedInstanceSpend) The total support-eligible Reserved Instance spend for this account.totalSupportEligibleSavingsPlanSpend(String totalSupportEligibleSavingsPlanSpend) The total support-eligible Savings Plan spend for this account.totalSupportEligibleSpend(String totalSupportEligibleSpend) The total support-eligible spend 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.
-
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.
-
accountType
The type of account.
- Parameters:
accountType- The type of account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billableSeconds
The number of billable seconds in the billing period based on when the account was subscribed to Enterprise Support.
- Parameters:
billableSeconds- The number of billable seconds in the billing period based on when the account was subscribed to Enterprise Support.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalSeconds
The total number of seconds in the billing period.
- Parameters:
totalSeconds- The total number of seconds in the billing period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalSupportEligibleSpend
The total support-eligible spend for this account.
- Parameters:
totalSupportEligibleSpend- The total support-eligible spend for this account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
proratedTotalSupportEligibleSpend
LinkedAccountCharge.Builder proratedTotalSupportEligibleSpend(String proratedTotalSupportEligibleSpend) The prorated total support-eligible spend based on when the account was subscribed to Enterprise Support.
- Parameters:
proratedTotalSupportEligibleSpend- The prorated total support-eligible spend based on when the account was subscribed to Enterprise Support.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
linkedTimePeriods
LinkedAccountCharge.Builder linkedTimePeriods(Collection<EnterpriseSupportTimePeriod> linkedTimePeriods) The time periods during which this account was linked.
- Parameters:
linkedTimePeriods- The time periods during which this account was linked.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
linkedTimePeriods
The time periods during which this account was linked.
- Parameters:
linkedTimePeriods- The time periods during which this account was linked.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
linkedTimePeriods
LinkedAccountCharge.Builder linkedTimePeriods(Consumer<EnterpriseSupportTimePeriod.Builder>... linkedTimePeriods) The time periods during which this account was linked.
This is a convenience method that creates an instance of theEnterpriseSupportTimePeriod.Builderavoiding the need to create one manually viaEnterpriseSupportTimePeriod.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolinkedTimePeriods(List<EnterpriseSupportTimePeriod>).- Parameters:
linkedTimePeriods- a consumer that will call methods onEnterpriseSupportTimePeriod.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
subscriptionTimePeriods
LinkedAccountCharge.Builder subscriptionTimePeriods(Collection<EnterpriseSupportTimePeriod> subscriptionTimePeriods) The subscription time periods for this account.
- Parameters:
subscriptionTimePeriods- The subscription time periods for this account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscriptionTimePeriods
LinkedAccountCharge.Builder subscriptionTimePeriods(EnterpriseSupportTimePeriod... subscriptionTimePeriods) The subscription time periods for this account.
- Parameters:
subscriptionTimePeriods- The subscription time periods for this account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscriptionTimePeriods
LinkedAccountCharge.Builder subscriptionTimePeriods(Consumer<EnterpriseSupportTimePeriod.Builder>... subscriptionTimePeriods) The subscription time periods for this account.
This is a convenience method that creates an instance of theEnterpriseSupportTimePeriod.Builderavoiding the need to create one manually viaEnterpriseSupportTimePeriod.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosubscriptionTimePeriods(List<EnterpriseSupportTimePeriod>).- Parameters:
subscriptionTimePeriods- a consumer that will call methods onEnterpriseSupportTimePeriod.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
totalSupportEligibleReservedInstanceSpend
LinkedAccountCharge.Builder totalSupportEligibleReservedInstanceSpend(String totalSupportEligibleReservedInstanceSpend) The total support-eligible Reserved Instance spend for this account.
- Parameters:
totalSupportEligibleReservedInstanceSpend- The total support-eligible Reserved Instance spend for this account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalSupportEligibleSavingsPlanSpend
LinkedAccountCharge.Builder totalSupportEligibleSavingsPlanSpend(String totalSupportEligibleSavingsPlanSpend) The total support-eligible Savings Plan spend for this account.
- Parameters:
totalSupportEligibleSavingsPlanSpend- The total support-eligible Savings Plan spend for this account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportEligibleSpendByService
LinkedAccountCharge.Builder supportEligibleSpendByService(Collection<ServiceLevelAccountUsage> supportEligibleSpendByService) The support-eligible spend broken down by service.
- Parameters:
supportEligibleSpendByService- The support-eligible spend broken down by service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportEligibleSpendByService
LinkedAccountCharge.Builder supportEligibleSpendByService(ServiceLevelAccountUsage... supportEligibleSpendByService) The support-eligible spend broken down by service.
- Parameters:
supportEligibleSpendByService- The support-eligible spend broken down by service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportEligibleSpendByService
LinkedAccountCharge.Builder supportEligibleSpendByService(Consumer<ServiceLevelAccountUsage.Builder>... supportEligibleSpendByService) The support-eligible spend broken down by service.
This is a convenience method that creates an instance of theServiceLevelAccountUsage.Builderavoiding the need to create one manually viaServiceLevelAccountUsage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosupportEligibleSpendByService(List<ServiceLevelAccountUsage>).- Parameters:
supportEligibleSpendByService- a consumer that will call methods onServiceLevelAccountUsage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-