Interface UpdateCustomLineItemChargeDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UpdateCustomLineItemChargeDetails.Builder,,UpdateCustomLineItemChargeDetails> SdkBuilder<UpdateCustomLineItemChargeDetails.Builder,,UpdateCustomLineItemChargeDetails> SdkPojo
- Enclosing class:
UpdateCustomLineItemChargeDetails
-
Method Summary
Modifier and TypeMethodDescriptionAnUpdateCustomLineItemFlatChargeDetailsthat describes the new charge details of a flat custom line item.AnUpdateCustomLineItemFlatChargeDetailsthat 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.AnUpdateCustomLineItemPercentageChargeDetailsthat describes the new charge details of a percentage custom line item.AnUpdateCustomLineItemPercentageChargeDetailsthat describes the new charge details of a percentage custom line item.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
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:
-
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:
-
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.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:
-