Interface UpdateCustomLineItemChargeDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<UpdateCustomLineItemChargeDetails.Builder,UpdateCustomLineItemChargeDetails>,SdkBuilder<UpdateCustomLineItemChargeDetails.Builder,UpdateCustomLineItemChargeDetails>,SdkPojo
- Enclosing class:
- UpdateCustomLineItemChargeDetails
public static interface UpdateCustomLineItemChargeDetails.Builder extends SdkPojo, CopyableBuilder<UpdateCustomLineItemChargeDetails.Builder,UpdateCustomLineItemChargeDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UpdateCustomLineItemChargeDetails.Builderflat(Consumer<UpdateCustomLineItemFlatChargeDetails.Builder> flat)AnUpdateCustomLineItemFlatChargeDetailsthat describes the new charge details of a flat custom line item.UpdateCustomLineItemChargeDetails.Builderflat(UpdateCustomLineItemFlatChargeDetails flat)AnUpdateCustomLineItemFlatChargeDetailsthat describes the new charge details of a flat custom line item.UpdateCustomLineItemChargeDetails.BuilderlineItemFilters(Collection<LineItemFilter> lineItemFilters)A representation of the line item filter.UpdateCustomLineItemChargeDetails.BuilderlineItemFilters(Consumer<LineItemFilter.Builder>... lineItemFilters)A representation of the line item filter.UpdateCustomLineItemChargeDetails.BuilderlineItemFilters(LineItemFilter... lineItemFilters)A representation of the line item filter.default UpdateCustomLineItemChargeDetails.Builderpercentage(Consumer<UpdateCustomLineItemPercentageChargeDetails.Builder> percentage)AnUpdateCustomLineItemPercentageChargeDetailsthat describes the new charge details of a percentage custom line item.UpdateCustomLineItemChargeDetails.Builderpercentage(UpdateCustomLineItemPercentageChargeDetails percentage)AnUpdateCustomLineItemPercentageChargeDetailsthat describes the new charge details of a percentage custom line item.-
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
UpdateCustomLineItemChargeDetails.Builder flat(UpdateCustomLineItemFlatChargeDetails flat)
An
UpdateCustomLineItemFlatChargeDetailsthat describes the new charge details of a flat custom line item.- Parameters:
flat- AnUpdateCustomLineItemFlatChargeDetailsthat describes the new 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 UpdateCustomLineItemChargeDetails.Builder flat(Consumer<UpdateCustomLineItemFlatChargeDetails.Builder> flat)
An
This is a convenience method that creates an instance of theUpdateCustomLineItemFlatChargeDetailsthat describes the new charge details of a flat custom line item.UpdateCustomLineItemFlatChargeDetails.Builderavoiding the need to create one manually viaUpdateCustomLineItemFlatChargeDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toflat(UpdateCustomLineItemFlatChargeDetails).- Parameters:
flat- a consumer that will call methods onUpdateCustomLineItemFlatChargeDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
flat(UpdateCustomLineItemFlatChargeDetails)
-
percentage
UpdateCustomLineItemChargeDetails.Builder percentage(UpdateCustomLineItemPercentageChargeDetails percentage)
An
UpdateCustomLineItemPercentageChargeDetailsthat describes the new charge details of a percentage custom line item.- Parameters:
percentage- AnUpdateCustomLineItemPercentageChargeDetailsthat describes the new 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 UpdateCustomLineItemChargeDetails.Builder percentage(Consumer<UpdateCustomLineItemPercentageChargeDetails.Builder> percentage)
An
This is a convenience method that creates an instance of theUpdateCustomLineItemPercentageChargeDetailsthat describes the new charge details of a percentage custom line item.UpdateCustomLineItemPercentageChargeDetails.Builderavoiding the need to create one manually viaUpdateCustomLineItemPercentageChargeDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topercentage(UpdateCustomLineItemPercentageChargeDetails).- Parameters:
percentage- a consumer that will call methods onUpdateCustomLineItemPercentageChargeDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
percentage(UpdateCustomLineItemPercentageChargeDetails)
-
lineItemFilters
UpdateCustomLineItemChargeDetails.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
UpdateCustomLineItemChargeDetails.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
UpdateCustomLineItemChargeDetails.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)
-
-