Interface FeesBreakdown.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FeesBreakdown.Builder,
,FeesBreakdown> SdkBuilder<FeesBreakdown.Builder,
,FeesBreakdown> SdkPojo
- Enclosing class:
FeesBreakdown
@Mutable
@NotThreadSafe
public static interface FeesBreakdown.Builder
extends SdkPojo, CopyableBuilder<FeesBreakdown.Builder,FeesBreakdown>
-
Method Summary
Modifier and TypeMethodDescriptionbreakdown
(Collection<FeesBreakdownAmount> breakdown) The list of fees information.breakdown
(Consumer<FeesBreakdownAmount.Builder>... breakdown) The list of fees information.breakdown
(FeesBreakdownAmount... breakdown) The list of fees information.totalAmount
(String totalAmount) The total amount of fees.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
breakdown
The list of fees information.
- Parameters:
breakdown
- The list of fees information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
breakdown
The list of fees information.
- Parameters:
breakdown
- The list of fees information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
breakdown
The list of fees information.
This is a convenience method that creates an instance of theFeesBreakdownAmount.Builder
avoiding the need to create one manually viaFeesBreakdownAmount.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobreakdown(List<FeesBreakdownAmount>)
.- Parameters:
breakdown
- a consumer that will call methods onFeesBreakdownAmount.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
totalAmount
The total amount of fees.
- Parameters:
totalAmount
- The total amount of fees.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-