@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.925Z") @Stability(value=Stable) public interface CfnCustomLineItemProps extends software.amazon.jsii.JsiiSerializable
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.*;
CfnCustomLineItemProps cfnCustomLineItemProps = CfnCustomLineItemProps.builder()
.billingGroupArn("billingGroupArn")
.name("name")
// the properties below are optional
.billingPeriodRange(BillingPeriodRangeProperty.builder()
.exclusiveEndBillingPeriod("exclusiveEndBillingPeriod")
.inclusiveStartBillingPeriod("inclusiveStartBillingPeriod")
.build())
.customLineItemChargeDetails(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())
.description("description")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnCustomLineItemProps.Builder
A builder for
CfnCustomLineItemProps |
static class |
CfnCustomLineItemProps.Jsii$Proxy
An implementation for
CfnCustomLineItemProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnCustomLineItemProps.Builder |
builder() |
String |
getBillingGroupArn()
The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.
|
default Object |
getBillingPeriodRange()
A time range for which the custom line item is effective.
|
default Object |
getCustomLineItemChargeDetails()
The charge details of a custom line item.
|
default String |
getDescription()
The custom line item's description.
|
String |
getName()
The custom line item's name.
|
default List<CfnTag> |
getTags()
`AWS::BillingConductor::CustomLineItem.Tags`.
|
@Stability(value=Stable) @NotNull String getBillingGroupArn()
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @Nullable default Object getBillingPeriodRange()
@Stability(value=Stable) @Nullable default Object getCustomLineItemChargeDetails()
It should contain only one of Flat or Percentage .
@Stability(value=Stable) @Nullable default String getDescription()
This is shown on the Bills page in association with the charge value.
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) static CfnCustomLineItemProps.Builder builder()
CfnCustomLineItemProps.Builder of CfnCustomLineItemPropsCopyright © 2022. All rights reserved.