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