Interface ListCustomLineItemChargeDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ListCustomLineItemChargeDetails.Builder,,ListCustomLineItemChargeDetails> SdkBuilder<ListCustomLineItemChargeDetails.Builder,,ListCustomLineItemChargeDetails> SdkPojo
- Enclosing class:
ListCustomLineItemChargeDetails
-
Method Summary
Modifier and TypeMethodDescriptionAListCustomLineItemFlatChargeDetailsthat describes the charge details of a flat custom line item.AListCustomLineItemFlatChargeDetailsthat describes the charge details of a flat custom line item.lineItemFilters(Collection<LineItemFilter> lineItemFilters) A representation of the line item filter.lineItemFilters(Consumer<LineItemFilter.Builder>... lineItemFilters) A representation of the line item filter.lineItemFilters(LineItemFilter... lineItemFilters) A representation of the line item filter.AListCustomLineItemPercentageChargeDetailsthat describes the charge details of a percentage custom line item.percentage(ListCustomLineItemPercentageChargeDetails percentage) AListCustomLineItemPercentageChargeDetailsthat describes the charge details of a percentage custom line item.The type of the custom line item that indicates whether the charge is afeeorcredit.type(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
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
-
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:
-
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:
-
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:
-
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:
-
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
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 tolineItemFilters(List<LineItemFilter>).- 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:
-