@Stability(value=Stable)
public static interface CfnCustomLineItem.CustomLineItemChargeDetailsProperty
extends software.amazon.jsii.JsiiSerializable
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.services.billingconductor.*;
CustomLineItemChargeDetailsProperty customLineItemChargeDetailsProperty = CustomLineItemChargeDetailsProperty.builder()
.type("type")
// the properties below are optional
.flat(CustomLineItemFlatChargeDetailsProperty.builder()
.chargeValue(123)
.build())
.percentage(CustomLineItemPercentageChargeDetailsProperty.builder()
.percentageValue(123)
// the properties below are optional
.childAssociatedResources(List.of("childAssociatedResources"))
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnCustomLineItem.CustomLineItemChargeDetailsProperty.Builder
A builder for
CfnCustomLineItem.CustomLineItemChargeDetailsProperty |
static class |
CfnCustomLineItem.CustomLineItemChargeDetailsProperty.Jsii$Proxy
An implementation for
CfnCustomLineItem.CustomLineItemChargeDetailsProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnCustomLineItem.CustomLineItemChargeDetailsProperty.Builder |
builder() |
default Object |
getFlat()
A `CustomLineItemFlatChargeDetails` that describes the charge details of a flat custom line item.
|
default Object |
getPercentage()
A `CustomLineItemPercentageChargeDetails` that describes the charge details of a percentage custom line item.
|
String |
getType()
The type of the custom line item that indicates whether the charge is a fee or credit.
|
@Stability(value=Stable) @NotNull String getType()
@Stability(value=Stable) @Nullable default Object getFlat()
@Stability(value=Stable) @Nullable default Object getPercentage()
@Stability(value=Stable) static CfnCustomLineItem.CustomLineItemChargeDetailsProperty.Builder builder()
Copyright © 2022. All rights reserved.