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 TypeMethodDescriptionThe AWS account in which this custom line item will be applied to.billingGroupArn(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()computationRule(String computationRule) The computation rule that determines how the custom line item charges are computed and reflected in the bill.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.presentationDetails(IResolvable presentationDetails) Configuration details specifying how the custom line item charges are presented, including which service the charges are shown under.presentationDetails(CfnCustomLineItem.PresentationDetailsProperty presentationDetails) Configuration details specifying how the custom line item charges are presented, including which service the charges are shown under.A map that contains tag keys and tag values that are attached to a custom line item.
-
Method Details
-
create
@Stability(Stable) public static CfnCustomLineItem.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- 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- See Also:
-
name
The custom line item's name.- Parameters:
name- The custom line item's name. This parameter is required.- Returns:
this- See Also:
-
accountId
The AWS account in which this custom line item will be applied to.- Parameters:
accountId- The AWS account in which this custom line item will be applied to. This parameter is required.- Returns:
this- See Also:
-
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- See Also:
-
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- See Also:
-
computationRule
The computation rule that determines how the custom line item charges are computed and reflected in the bill.- Parameters:
computationRule- The computation rule that determines how the custom line item charges are computed and reflected in the bill. This parameter is required.- Returns:
this- See Also:
-
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- See Also:
-
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- See Also:
-
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- See Also:
-
presentationDetails
@Stability(Stable) public CfnCustomLineItem.Builder presentationDetails(IResolvable presentationDetails) Configuration details specifying how the custom line item charges are presented, including which service the charges are shown under.- Parameters:
presentationDetails- Configuration details specifying how the custom line item charges are presented, including which service the charges are shown under. This parameter is required.- Returns:
this- See Also:
-
presentationDetails
@Stability(Stable) public CfnCustomLineItem.Builder presentationDetails(CfnCustomLineItem.PresentationDetailsProperty presentationDetails) Configuration details specifying how the custom line item charges are presented, including which service the charges are shown under.- Parameters:
presentationDetails- Configuration details specifying how the custom line item charges are presented, including which service the charges are shown under. This parameter is required.- Returns:
this- See Also:
-
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- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCustomLineItem>- Returns:
- a newly built instance of
CfnCustomLineItem.
-