Class CfnCustomLineItemPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.billingconductor.CfnCustomLineItemPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCustomLineItemPropsMixin>
- Enclosing class:
CfnCustomLineItemPropsMixin
@Stability(Stable)
public static final class CfnCustomLineItemPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCustomLineItemPropsMixin>
A fluent builder for
CfnCustomLineItemPropsMixin.-
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(CfnCustomLineItemPropsMixin.BillingPeriodRangeProperty billingPeriodRange) A time range for which the custom line item is effective.billingPeriodRange(IResolvable 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.create()create(CfnPropertyMixinOptions options) customLineItemChargeDetails(CfnCustomLineItemPropsMixin.CustomLineItemChargeDetailsProperty customLineItemChargeDetails) The charge details of a custom line item.customLineItemChargeDetails(IResolvable 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(CfnCustomLineItemPropsMixin.PresentationDetailsProperty presentationDetails) Configuration details specifying how the custom line item charges are presented, including which service the charges are shown under.presentationDetails(IResolvable 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 CfnCustomLineItemPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnCustomLineItemPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnCustomLineItemPropsMixin.Builder.
-
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:
-
billingGroupArn
@Stability(Stable) public CfnCustomLineItemPropsMixin.Builder billingGroupArn(String 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:
-
billingPeriodRange
@Stability(Stable) public CfnCustomLineItemPropsMixin.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 CfnCustomLineItemPropsMixin.Builder billingPeriodRange(CfnCustomLineItemPropsMixin.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
@Stability(Stable) public CfnCustomLineItemPropsMixin.Builder computationRule(String 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 CfnCustomLineItemPropsMixin.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 CfnCustomLineItemPropsMixin.Builder customLineItemChargeDetails(CfnCustomLineItemPropsMixin.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:
-
name
The custom line item's name.- Parameters:
name- The custom line item's name. This parameter is required.- Returns:
this- See Also:
-
presentationDetails
@Stability(Stable) public CfnCustomLineItemPropsMixin.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 CfnCustomLineItemPropsMixin.Builder presentationDetails(CfnCustomLineItemPropsMixin.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<CfnCustomLineItemPropsMixin>- Returns:
- a newly built instance of
CfnCustomLineItemPropsMixin.
-