Class CfnBillingGroup.ComputationPreferenceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.billingconductor.CfnBillingGroup.ComputationPreferenceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBillingGroup.ComputationPreferenceProperty>
- Enclosing interface:
CfnBillingGroup.ComputationPreferenceProperty
@Stability(Stable)
public static final class CfnBillingGroup.ComputationPreferenceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBillingGroup.ComputationPreferenceProperty>
A builder for
CfnBillingGroup.ComputationPreferenceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.pricingPlanArn(String pricingPlanArn) Sets the value ofCfnBillingGroup.ComputationPreferenceProperty.getPricingPlanArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
pricingPlanArn
@Stability(Stable) public CfnBillingGroup.ComputationPreferenceProperty.Builder pricingPlanArn(String pricingPlanArn) Sets the value ofCfnBillingGroup.ComputationPreferenceProperty.getPricingPlanArn()- Parameters:
pricingPlanArn- The Amazon Resource Name (ARN) of the pricing plan used to compute the AWS charges for a billing group. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBillingGroup.ComputationPreferenceProperty>- Returns:
- a new instance of
CfnBillingGroup.ComputationPreferenceProperty - Throws:
NullPointerException- if any required attribute was not provided
-