Class CfnCustomLineItem.Builder
java.lang.Object
software.amazon.awscdk.services.billingconductor.CfnCustomLineItem.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCustomLineItem>
- Enclosing class:
- CfnCustomLineItem
@Stability(Stable)
public static final class CfnCustomLineItem.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCustomLineItem>
A fluent builder for
CfnCustomLineItem.-
Method Summary
Modifier and TypeMethodDescriptionbillingGroupArn(String billingGroupArn) The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.billingPeriodRange(IResolvable billingPeriodRange) A time range for which the custom line item is effective.billingPeriodRange(CfnCustomLineItem.BillingPeriodRangeProperty billingPeriodRange) A time range for which the custom line item is effective.build()static CfnCustomLineItem.BuildercustomLineItemChargeDetails(IResolvable customLineItemChargeDetails) The charge details of a custom line item.customLineItemChargeDetails(CfnCustomLineItem.CustomLineItemChargeDetailsProperty customLineItemChargeDetails) The charge details of a custom line item.description(String description) The custom line item's description.The custom line item's name.A map that contains tag keys and tag values that are attached to a custom line item.
-
Method Details
-
create
- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- Returns:
- a new instance of
CfnCustomLineItem.Builder.
-
billingGroupArn
The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.- Parameters:
billingGroupArn- The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to. This parameter is required.- Returns:
this
-
name
The custom line item's name.- Parameters:
name- The custom line item's name. This parameter is required.- Returns:
this
-
billingPeriodRange
@Stability(Stable) public CfnCustomLineItem.Builder billingPeriodRange(IResolvable billingPeriodRange) A time range for which the custom line item is effective.- Parameters:
billingPeriodRange- A time range for which the custom line item is effective. This parameter is required.- Returns:
this
-
billingPeriodRange
@Stability(Stable) public CfnCustomLineItem.Builder billingPeriodRange(CfnCustomLineItem.BillingPeriodRangeProperty billingPeriodRange) A time range for which the custom line item is effective.- Parameters:
billingPeriodRange- A time range for which the custom line item is effective. This parameter is required.- Returns:
this
-
customLineItemChargeDetails
@Stability(Stable) public CfnCustomLineItem.Builder customLineItemChargeDetails(IResolvable customLineItemChargeDetails) The charge details of a custom line item.It should contain only one of
FlatorPercentage.- Parameters:
customLineItemChargeDetails- The charge details of a custom line item. This parameter is required.- Returns:
this
-
customLineItemChargeDetails
@Stability(Stable) public CfnCustomLineItem.Builder customLineItemChargeDetails(CfnCustomLineItem.CustomLineItemChargeDetailsProperty customLineItemChargeDetails) The charge details of a custom line item.It should contain only one of
FlatorPercentage.- Parameters:
customLineItemChargeDetails- The charge details of a custom line item. This parameter is required.- Returns:
this
-
description
The custom line item's description.This is shown on the Bills page in association with the charge value.
- Parameters:
description- The custom line item's description. This parameter is required.- Returns:
this
-
tags
A map that contains tag keys and tag values that are attached to a custom line item.- Parameters:
tags- A map that contains tag keys and tag values that are attached to a custom line item. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCustomLineItem>- Returns:
- a newly built instance of
CfnCustomLineItem.
-