Class PricingRuleReference.Builder
java.lang.Object
software.amazon.awscdk.services.billingconductor.PricingRuleReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<PricingRuleReference>
- Enclosing interface:
PricingRuleReference
@Stability(Stable)
public static final class PricingRuleReference.Builder
extends Object
implements software.amazon.jsii.Builder<PricingRuleReference>
A builder for
PricingRuleReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.pricingRuleArn
(String pricingRuleArn) Sets the value ofPricingRuleReference.getPricingRuleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
pricingRuleArn
Sets the value ofPricingRuleReference.getPricingRuleArn()
- Parameters:
pricingRuleArn
- The Arn of the PricingRule resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<PricingRuleReference>
- Returns:
- a new instance of
PricingRuleReference
- Throws:
NullPointerException
- if any required attribute was not provided
-