Interface LineItemGroup.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LineItemGroup.Builder,LineItemGroup>,SdkBuilder<LineItemGroup.Builder,LineItemGroup>,SdkPojo
- Enclosing class:
- LineItemGroup
@Mutable @NotThreadSafe public static interface LineItemGroup.Builder extends SdkPojo, CopyableBuilder<LineItemGroup.Builder,LineItemGroup>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LineItemGroup.BuilderlineItemGroupIndex(Integer lineItemGroupIndex)The number used to identify a specific table in a document.LineItemGroup.BuilderlineItems(Collection<LineItemFields> lineItems)The breakdown of information on a particular line of a table.LineItemGroup.BuilderlineItems(Consumer<LineItemFields.Builder>... lineItems)The breakdown of information on a particular line of a table.LineItemGroup.BuilderlineItems(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
lineItemGroupIndex
LineItemGroup.Builder lineItemGroupIndex(Integer 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
LineItemGroup.Builder lineItems(Collection<LineItemFields> 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
LineItemGroup.Builder lineItems(LineItemFields... 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
LineItemGroup.Builder lineItems(Consumer<LineItemFields.Builder>... lineItems)
The breakdown of information on a particular line of a table.
This is a convenience method that creates an instance of theLineItemFields.Builderavoiding the need to create one manually viaLineItemFields.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#lineItems(List.) - 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:
#lineItems(java.util.Collection)
-
-