Interface UpdateCustomLineItemChargeDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<UpdateCustomLineItemChargeDetails.Builder,
,UpdateCustomLineItemChargeDetails> SdkBuilder<UpdateCustomLineItemChargeDetails.Builder,
,UpdateCustomLineItemChargeDetails> SdkPojo
- Enclosing class:
UpdateCustomLineItemChargeDetails
-
Method Summary
Modifier and TypeMethodDescriptionAnUpdateCustomLineItemFlatChargeDetails
that describes the new charge details of a flat custom line item.AnUpdateCustomLineItemFlatChargeDetails
that describes the new 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.AnUpdateCustomLineItemPercentageChargeDetails
that describes the new charge details of a percentage custom line item.AnUpdateCustomLineItemPercentageChargeDetails
that 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, sdkFieldNameToField, sdkFields
-
Method Details
-
flat
An
UpdateCustomLineItemFlatChargeDetails
that describes the new charge details of a flat custom line item.- Parameters:
flat
- AnUpdateCustomLineItemFlatChargeDetails
that 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 theUpdateCustomLineItemFlatChargeDetails
that describes the new charge details of a flat custom line item.UpdateCustomLineItemFlatChargeDetails.Builder
avoiding the need to create one manually viaUpdateCustomLineItemFlatChargeDetails.builder()
.When the
Consumer
completes,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:
-
percentage
UpdateCustomLineItemChargeDetails.Builder percentage(UpdateCustomLineItemPercentageChargeDetails percentage) An
UpdateCustomLineItemPercentageChargeDetails
that describes the new charge details of a percentage custom line item.- Parameters:
percentage
- AnUpdateCustomLineItemPercentageChargeDetails
that 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 theUpdateCustomLineItemPercentageChargeDetails
that describes the new charge details of a percentage custom line item.UpdateCustomLineItemPercentageChargeDetails.Builder
avoiding the need to create one manually viaUpdateCustomLineItemPercentageChargeDetails.builder()
.When the
Consumer
completes,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:
-
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
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.Builder
avoiding the need to create one manually viaLineItemFilter.builder()
.When the
Consumer
completes,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:
-