@Stability(value=Stable) public static final class CfnPricingRuleProps.Builder extends Object implements software.amazon.jsii.Builder<CfnPricingRuleProps>
CfnPricingRuleProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnPricingRuleProps |
build()
Builds the configured instance.
|
CfnPricingRuleProps.Builder |
description(String description)
Sets the value of
CfnPricingRuleProps.getDescription() |
CfnPricingRuleProps.Builder |
modifierPercentage(Number modifierPercentage)
Sets the value of
CfnPricingRuleProps.getModifierPercentage() |
CfnPricingRuleProps.Builder |
name(String name)
Sets the value of
CfnPricingRuleProps.getName() |
CfnPricingRuleProps.Builder |
scope(String scope)
Sets the value of
CfnPricingRuleProps.getScope() |
CfnPricingRuleProps.Builder |
service(String service)
Sets the value of
CfnPricingRuleProps.getService() |
CfnPricingRuleProps.Builder |
tags(List<? extends CfnTag> tags)
Sets the value of
CfnPricingRuleProps.getTags() |
CfnPricingRuleProps.Builder |
type(String type)
Sets the value of
CfnPricingRuleProps.getType() |
@Stability(value=Stable) public CfnPricingRuleProps.Builder modifierPercentage(Number modifierPercentage)
CfnPricingRuleProps.getModifierPercentage()modifierPercentage - A percentage modifier applied on the public pricing rates. This parameter is required.this@Stability(value=Stable) public CfnPricingRuleProps.Builder name(String name)
CfnPricingRuleProps.getName()name - The name of a pricing rule. This parameter is required.this@Stability(value=Stable) public CfnPricingRuleProps.Builder scope(String scope)
CfnPricingRuleProps.getScope()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 CfnPricingRuleProps.Builder type(String type)
CfnPricingRuleProps.getType()type - The type of pricing rule. This parameter is required.this@Stability(value=Stable) public CfnPricingRuleProps.Builder description(String description)
CfnPricingRuleProps.getDescription()description - The pricing rule description.this@Stability(value=Stable) public CfnPricingRuleProps.Builder service(String service)
CfnPricingRuleProps.getService()service - If the `Scope` attribute is `SERVICE` , this attribute indicates which service the `PricingRule` is applicable for.this@Stability(value=Stable) public CfnPricingRuleProps.Builder tags(List<? extends CfnTag> tags)
CfnPricingRuleProps.getTags()tags - `AWS::BillingConductor::PricingRule.Tags`.this@Stability(value=Stable) public CfnPricingRuleProps build()
build in interface software.amazon.jsii.Builder<CfnPricingRuleProps>CfnPricingRulePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.