@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.929Z") @Stability(value=Stable) public interface CfnPricingRuleProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.billingconductor.*;
CfnPricingRuleProps cfnPricingRuleProps = CfnPricingRuleProps.builder()
.modifierPercentage(123)
.name("name")
.scope("scope")
.type("type")
// the properties below are optional
.description("description")
.service("service")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnPricingRuleProps.Builder
A builder for
CfnPricingRuleProps |
static class |
CfnPricingRuleProps.Jsii$Proxy
An implementation for
CfnPricingRuleProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnPricingRuleProps.Builder |
builder() |
default String |
getDescription()
The pricing rule description.
|
Number |
getModifierPercentage()
A percentage modifier applied on the public pricing rates.
|
String |
getName()
The name of a pricing rule.
|
String |
getScope()
The scope of pricing rule that indicates if it is globally applicable, or if it is service-specific.
|
default String |
getService()
If the `Scope` attribute is `SERVICE` , this attribute indicates which service the `PricingRule` is applicable for.
|
default List<CfnTag> |
getTags()
`AWS::BillingConductor::PricingRule.Tags`.
|
String |
getType()
The type of pricing rule.
|
@Stability(value=Stable) @NotNull Number getModifierPercentage()
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @NotNull String getScope()
@Stability(value=Stable) @NotNull String getType()
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default String getService()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) static CfnPricingRuleProps.Builder builder()
CfnPricingRuleProps.Builder of CfnPricingRulePropsCopyright © 2022. All rights reserved.