Class CfnCustomLineItem.CustomLineItemPercentageChargeDetailsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.billingconductor.CfnCustomLineItem.CustomLineItemPercentageChargeDetailsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCustomLineItem.CustomLineItemPercentageChargeDetailsProperty>
- Enclosing interface:
CfnCustomLineItem.CustomLineItemPercentageChargeDetailsProperty
@Stability(Stable)
public static final class CfnCustomLineItem.CustomLineItemPercentageChargeDetailsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCustomLineItem.CustomLineItemPercentageChargeDetailsProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.childAssociatedResources
(List<String> childAssociatedResources) percentageValue
(Number percentageValue)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
percentageValue
@Stability(Stable) public CfnCustomLineItem.CustomLineItemPercentageChargeDetailsProperty.Builder percentageValue(Number percentageValue) Sets the value ofCfnCustomLineItem.CustomLineItemPercentageChargeDetailsProperty.getPercentageValue()
- Parameters:
percentageValue
- The custom line item's percentage value. This parameter is required. This will be multiplied against the combined value of its associated resources to determine its charge value.- Returns:
this
-
childAssociatedResources
@Stability(Stable) public CfnCustomLineItem.CustomLineItemPercentageChargeDetailsProperty.Builder childAssociatedResources(List<String> childAssociatedResources) Sets the value ofCfnCustomLineItem.CustomLineItemPercentageChargeDetailsProperty.getChildAssociatedResources()
- Parameters:
childAssociatedResources
- A list of resource ARNs to associate to the percentage custom line item.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCustomLineItem.CustomLineItemPercentageChargeDetailsProperty>
- Returns:
- a new instance of
CfnCustomLineItem.CustomLineItemPercentageChargeDetailsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-