Interface CustomLineItemChargeDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CustomLineItemChargeDetails.Builder,CustomLineItemChargeDetails>,SdkBuilder<CustomLineItemChargeDetails.Builder,CustomLineItemChargeDetails>,SdkPojo
- Enclosing class:
- CustomLineItemChargeDetails
public static interface CustomLineItemChargeDetails.Builder extends SdkPojo, CopyableBuilder<CustomLineItemChargeDetails.Builder,CustomLineItemChargeDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CustomLineItemChargeDetails.Builderflat(Consumer<CustomLineItemFlatChargeDetails.Builder> flat)ACustomLineItemFlatChargeDetailsthat describes the charge details of a flat custom line item.CustomLineItemChargeDetails.Builderflat(CustomLineItemFlatChargeDetails flat)ACustomLineItemFlatChargeDetailsthat describes the charge details of a flat custom line item.CustomLineItemChargeDetails.BuilderlineItemFilters(Collection<LineItemFilter> lineItemFilters)A representation of the line item filter.CustomLineItemChargeDetails.BuilderlineItemFilters(Consumer<LineItemFilter.Builder>... lineItemFilters)A representation of the line item filter.CustomLineItemChargeDetails.BuilderlineItemFilters(LineItemFilter... lineItemFilters)A representation of the line item filter.default CustomLineItemChargeDetails.Builderpercentage(Consumer<CustomLineItemPercentageChargeDetails.Builder> percentage)ACustomLineItemPercentageChargeDetailsthat describes the charge details of a percentage custom line item.CustomLineItemChargeDetails.Builderpercentage(CustomLineItemPercentageChargeDetails percentage)ACustomLineItemPercentageChargeDetailsthat describes the charge details of a percentage custom line item.CustomLineItemChargeDetails.Buildertype(String type)The type of the custom line item that indicates whether the charge is a fee or credit.CustomLineItemChargeDetails.Buildertype(CustomLineItemType type)The type of the custom line item that indicates whether the charge is a fee or credit.-
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
CustomLineItemChargeDetails.Builder flat(CustomLineItemFlatChargeDetails flat)
A
CustomLineItemFlatChargeDetailsthat describes the charge details of a flat custom line item.- Parameters:
flat- ACustomLineItemFlatChargeDetailsthat 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 CustomLineItemChargeDetails.Builder flat(Consumer<CustomLineItemFlatChargeDetails.Builder> flat)
A
This is a convenience method that creates an instance of theCustomLineItemFlatChargeDetailsthat describes the charge details of a flat custom line item.CustomLineItemFlatChargeDetails.Builderavoiding the need to create one manually viaCustomLineItemFlatChargeDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toflat(CustomLineItemFlatChargeDetails).- Parameters:
flat- a consumer that will call methods onCustomLineItemFlatChargeDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
flat(CustomLineItemFlatChargeDetails)
-
percentage
CustomLineItemChargeDetails.Builder percentage(CustomLineItemPercentageChargeDetails percentage)
A
CustomLineItemPercentageChargeDetailsthat describes the charge details of a percentage custom line item.- Parameters:
percentage- ACustomLineItemPercentageChargeDetailsthat 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 CustomLineItemChargeDetails.Builder percentage(Consumer<CustomLineItemPercentageChargeDetails.Builder> percentage)
A
This is a convenience method that creates an instance of theCustomLineItemPercentageChargeDetailsthat describes the charge details of a percentage custom line item.CustomLineItemPercentageChargeDetails.Builderavoiding the need to create one manually viaCustomLineItemPercentageChargeDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topercentage(CustomLineItemPercentageChargeDetails).- Parameters:
percentage- a consumer that will call methods onCustomLineItemPercentageChargeDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
percentage(CustomLineItemPercentageChargeDetails)
-
type
CustomLineItemChargeDetails.Builder type(String type)
The type of the custom line item that indicates whether the charge is a fee or credit.
- Parameters:
type- The type of the custom line item that indicates whether the charge is a fee or credit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CustomLineItemType,CustomLineItemType
-
type
CustomLineItemChargeDetails.Builder type(CustomLineItemType type)
The type of the custom line item that indicates whether the charge is a fee or credit.
- Parameters:
type- The type of the custom line item that indicates whether the charge is a fee or credit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CustomLineItemType,CustomLineItemType
-
lineItemFilters
CustomLineItemChargeDetails.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
CustomLineItemChargeDetails.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
CustomLineItemChargeDetails.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)
-
-