@Stability(value=Stable) public static final class CfnPricingRule.Builder extends Object implements software.amazon.jsii.Builder<CfnPricingRule>
CfnPricingRule.| Modifier and Type | Method and Description |
|---|---|
CfnPricingRule |
build() |
static CfnPricingRule.Builder |
create(software.constructs.Construct scope,
String id) |
CfnPricingRule.Builder |
description(String description)
The pricing rule description.
|
CfnPricingRule.Builder |
modifierPercentage(Number modifierPercentage)
A percentage modifier applied on the public pricing rates.
|
CfnPricingRule.Builder |
name(String name)
The name of a pricing rule.
|
CfnPricingRule.Builder |
scope(String scope)
The scope of pricing rule that indicates if it is globally applicable, or if it is service-specific.
|
CfnPricingRule.Builder |
service(String service)
If the `Scope` attribute is `SERVICE` , this attribute indicates which service the `PricingRule` is applicable for.
|
CfnPricingRule.Builder |
tags(List<? extends CfnTag> tags)
`AWS::BillingConductor::PricingRule.Tags`.
|
CfnPricingRule.Builder |
type(String type)
The type of pricing rule.
|
@Stability(value=Stable) public static CfnPricingRule.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnPricingRule.Builder.@Stability(value=Stable) public CfnPricingRule.Builder modifierPercentage(Number modifierPercentage)
modifierPercentage - A percentage modifier applied on the public pricing rates. This parameter is required.this@Stability(value=Stable) public CfnPricingRule.Builder name(String name)
name - The name of a pricing rule. This parameter is required.this@Stability(value=Stable) public CfnPricingRule.Builder scope(String scope)
scope - The scope of pricing rule that indicates if it is globally applicable, or if it is service-specific. This parameter is required.this@Stability(value=Stable) public CfnPricingRule.Builder type(String type)
type - The type of pricing rule. This parameter is required.this@Stability(value=Stable) public CfnPricingRule.Builder description(String description)
description - The pricing rule description. This parameter is required.this@Stability(value=Stable) public CfnPricingRule.Builder service(String service)
service - If the `Scope` attribute is `SERVICE` , this attribute indicates which service the `PricingRule` is applicable for. This parameter is required.this@Stability(value=Stable) public CfnPricingRule.Builder tags(List<? extends CfnTag> tags)
tags - `AWS::BillingConductor::PricingRule.Tags`. This parameter is required.this@Stability(value=Stable) public CfnPricingRule build()
build in interface software.amazon.jsii.Builder<CfnPricingRule>Copyright © 2022. All rights reserved.