Interface EstimatedTaxes.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EstimatedTaxes.Builder,,EstimatedTaxes> SdkBuilder<EstimatedTaxes.Builder,,EstimatedTaxes> SdkPojo
- Enclosing class:
EstimatedTaxes
@Mutable
@NotThreadSafe
public static interface EstimatedTaxes.Builder
extends SdkPojo, CopyableBuilder<EstimatedTaxes.Builder,EstimatedTaxes>
-
Method Summary
Modifier and TypeMethodDescriptionbreakdown(Collection<TaxBreakdownItem> breakdown) A list of tax breakdown information.breakdown(Consumer<TaxBreakdownItem.Builder>... breakdown) A list of tax breakdown information.breakdown(TaxBreakdownItem... breakdown) A list of tax breakdown information.totalAmount(String totalAmount) The total amount of tax aggregated from the tax breakdown.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
-
breakdown
A list of tax breakdown information.
- Parameters:
breakdown- A list of tax breakdown information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
breakdown
A list of tax breakdown information.
- Parameters:
breakdown- A list of tax breakdown information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
breakdown
A list of tax breakdown information.
This is a convenience method that creates an instance of theTaxBreakdownItem.Builderavoiding the need to create one manually viaTaxBreakdownItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobreakdown(List<TaxBreakdownItem>).- Parameters:
breakdown- a consumer that will call methods onTaxBreakdownItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
totalAmount
The total amount of tax aggregated from the tax breakdown.
- Parameters:
totalAmount- The total amount of tax aggregated from the tax breakdown.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-