Interface CfnCustomLineItemPropsMixin.CustomLineItemChargeDetailsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCustomLineItemPropsMixin.CustomLineItemChargeDetailsProperty.Jsii$Proxy
- Enclosing class:
CfnCustomLineItemPropsMixin
@Stability(Stable)
public static interface CfnCustomLineItemPropsMixin.CustomLineItemChargeDetailsProperty
extends software.amazon.jsii.JsiiSerializable
The charge details of a custom line item.
It should contain only one of Flat or Percentage .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.billingconductor.*;
CustomLineItemChargeDetailsProperty customLineItemChargeDetailsProperty = CustomLineItemChargeDetailsProperty.builder()
.flat(CustomLineItemFlatChargeDetailsProperty.builder()
.chargeValue(123)
.build())
.lineItemFilters(List.of(LineItemFilterProperty.builder()
.attribute("attribute")
.attributeValues(List.of("attributeValues"))
.matchOption("matchOption")
.values(List.of("values"))
.build()))
.percentage(CustomLineItemPercentageChargeDetailsProperty.builder()
.childAssociatedResources(List.of("childAssociatedResources"))
.percentageValue(123)
.build())
.type("type")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnCustomLineItemPropsMixin.CustomLineItemChargeDetailsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectgetFlat()ACustomLineItemFlatChargeDetailsthat describes the charge details of a flat custom line item.default ObjectA representation of the line item filter.default ObjectACustomLineItemPercentageChargeDetailsthat describes the charge details of a percentage custom line item.default StringgetType()The type of the custom line item that indicates whether the charge is a fee or credit.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFlat
ACustomLineItemFlatChargeDetailsthat describes the charge details of a flat custom line item.Returns union: either
IResolvableorCfnCustomLineItemPropsMixin.CustomLineItemFlatChargeDetailsProperty- See Also:
-
getLineItemFilters
A representation of the line item filter.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnCustomLineItemPropsMixin.LineItemFilterProperty>- See Also:
-
getPercentage
ACustomLineItemPercentageChargeDetailsthat describes the charge details of a percentage custom line item.Returns union: either
IResolvableorCfnCustomLineItemPropsMixin.CustomLineItemPercentageChargeDetailsProperty- See Also:
-
getType
The type of the custom line item that indicates whether the charge is a fee or credit.- See Also:
-
builder
@Stability(Stable) static CfnCustomLineItemPropsMixin.CustomLineItemChargeDetailsProperty.Builder builder()
-