Interface ListCustomLineItemChargeDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ListCustomLineItemChargeDetails.Builder,ListCustomLineItemChargeDetails>,SdkBuilder<ListCustomLineItemChargeDetails.Builder,ListCustomLineItemChargeDetails>,SdkPojo
- Enclosing class:
- ListCustomLineItemChargeDetails
public static interface ListCustomLineItemChargeDetails.Builder extends SdkPojo, CopyableBuilder<ListCustomLineItemChargeDetails.Builder,ListCustomLineItemChargeDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ListCustomLineItemChargeDetails.Builderflat(Consumer<ListCustomLineItemFlatChargeDetails.Builder> flat)AListCustomLineItemFlatChargeDetailsthat describes the charge details of a flat custom line item.ListCustomLineItemChargeDetails.Builderflat(ListCustomLineItemFlatChargeDetails flat)AListCustomLineItemFlatChargeDetailsthat describes the charge details of a flat custom line item.ListCustomLineItemChargeDetails.BuilderlineItemFilters(Collection<LineItemFilter> lineItemFilters)A representation of the line item filter.ListCustomLineItemChargeDetails.BuilderlineItemFilters(Consumer<LineItemFilter.Builder>... lineItemFilters)A representation of the line item filter.ListCustomLineItemChargeDetails.BuilderlineItemFilters(LineItemFilter... lineItemFilters)A representation of the line item filter.default ListCustomLineItemChargeDetails.Builderpercentage(Consumer<ListCustomLineItemPercentageChargeDetails.Builder> percentage)AListCustomLineItemPercentageChargeDetailsthat describes the charge details of a percentage custom line item.ListCustomLineItemChargeDetails.Builderpercentage(ListCustomLineItemPercentageChargeDetails percentage)AListCustomLineItemPercentageChargeDetailsthat describes the charge details of a percentage custom line item.ListCustomLineItemChargeDetails.Buildertype(String type)The type of the custom line item that indicates whether the charge is afeeorcredit.ListCustomLineItemChargeDetails.Buildertype(CustomLineItemType type)The type of the custom line item that indicates whether the charge is afeeorcredit.-
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 Detail
-
flat
ListCustomLineItemChargeDetails.Builder flat(ListCustomLineItemFlatChargeDetails flat)
A
ListCustomLineItemFlatChargeDetailsthat describes the charge details of a flat custom line item.- Parameters:
flat- AListCustomLineItemFlatChargeDetailsthat describes the charge details of a flat custom line item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flat
default ListCustomLineItemChargeDetails.Builder flat(Consumer<ListCustomLineItemFlatChargeDetails.Builder> flat)
A
This is a convenience method that creates an instance of theListCustomLineItemFlatChargeDetailsthat describes the charge details of a flat custom line item.ListCustomLineItemFlatChargeDetails.Builderavoiding the need to create one manually viaListCustomLineItemFlatChargeDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toflat(ListCustomLineItemFlatChargeDetails).- Parameters:
flat- a consumer that will call methods onListCustomLineItemFlatChargeDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
flat(ListCustomLineItemFlatChargeDetails)
-
percentage
ListCustomLineItemChargeDetails.Builder percentage(ListCustomLineItemPercentageChargeDetails percentage)
A
ListCustomLineItemPercentageChargeDetailsthat describes the charge details of a percentage custom line item.- Parameters:
percentage- AListCustomLineItemPercentageChargeDetailsthat describes the charge details of a percentage custom line item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
percentage
default ListCustomLineItemChargeDetails.Builder percentage(Consumer<ListCustomLineItemPercentageChargeDetails.Builder> percentage)
A
This is a convenience method that creates an instance of theListCustomLineItemPercentageChargeDetailsthat describes the charge details of a percentage custom line item.ListCustomLineItemPercentageChargeDetails.Builderavoiding the need to create one manually viaListCustomLineItemPercentageChargeDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topercentage(ListCustomLineItemPercentageChargeDetails).- Parameters:
percentage- a consumer that will call methods onListCustomLineItemPercentageChargeDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
percentage(ListCustomLineItemPercentageChargeDetails)
-
type
ListCustomLineItemChargeDetails.Builder type(String type)
The type of the custom line item that indicates whether the charge is a
feeorcredit.- Parameters:
type- The type of the custom line item that indicates whether the charge is afeeorcredit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CustomLineItemType,CustomLineItemType
-
type
ListCustomLineItemChargeDetails.Builder type(CustomLineItemType type)
The type of the custom line item that indicates whether the charge is a
feeorcredit.- Parameters:
type- The type of the custom line item that indicates whether the charge is afeeorcredit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CustomLineItemType,CustomLineItemType
-
lineItemFilters
ListCustomLineItemChargeDetails.Builder lineItemFilters(Collection<LineItemFilter> lineItemFilters)
A representation of the line item filter.
- Parameters:
lineItemFilters- A representation of the line item filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lineItemFilters
ListCustomLineItemChargeDetails.Builder lineItemFilters(LineItemFilter... lineItemFilters)
A representation of the line item filter.
- Parameters:
lineItemFilters- A representation of the line item filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lineItemFilters
ListCustomLineItemChargeDetails.Builder lineItemFilters(Consumer<LineItemFilter.Builder>... lineItemFilters)
A representation of the line item filter.
This is a convenience method that creates an instance of theLineItemFilter.Builderavoiding the need to create one manually viaLineItemFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#lineItemFilters(List.) - Parameters:
lineItemFilters- a consumer that will call methods onLineItemFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#lineItemFilters(java.util.Collection)
-
-