Interface LineItemGroup.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LineItemGroup.Builder,
,LineItemGroup> SdkBuilder<LineItemGroup.Builder,
,LineItemGroup> SdkPojo
- Enclosing class:
LineItemGroup
public static interface LineItemGroup.Builder
extends SdkPojo, CopyableBuilder<LineItemGroup.Builder,LineItemGroup>
-
Method Summary
Modifier and TypeMethodDescriptionlineItemGroupIndex
(Integer lineItemGroupIndex) The number used to identify a specific table in a document.lineItems
(Collection<LineItemFields> lineItems) The breakdown of information on a particular line of a table.lineItems
(Consumer<LineItemFields.Builder>... lineItems) The breakdown of information on a particular line of a table.lineItems
(LineItemFields... lineItems) The breakdown of information on a particular line of a table.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, sdkFields
-
Method Details
-
lineItemGroupIndex
The number used to identify a specific table in a document. The first table encountered will have a LineItemGroupIndex of 1, the second 2, etc.
- Parameters:
lineItemGroupIndex
- The number used to identify a specific table in a document. The first table encountered will have a LineItemGroupIndex of 1, the second 2, etc.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lineItems
The breakdown of information on a particular line of a table.
- Parameters:
lineItems
- The breakdown of information on a particular line of a table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lineItems
The breakdown of information on a particular line of a table.
- Parameters:
lineItems
- The breakdown of information on a particular line of a table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lineItems
The breakdown of information on a particular line of a table.
This is a convenience method that creates an instance of theLineItemFields.Builder
avoiding the need to create one manually viaLineItemFields.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolineItems(List<LineItemFields>)
.- Parameters:
lineItems
- a consumer that will call methods onLineItemFields.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-