@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:25.440Z") @Stability(value=Stable) public class CfnPricingRule extends CfnResource implements IInspectable
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.*;
CfnPricingRule cfnPricingRule = CfnPricingRule.Builder.create(this, "MyCfnPricingRule")
.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 | Class and Description |
|---|---|
static class |
CfnPricingRule.Builder
A fluent builder for
CfnPricingRule. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$ProxyIConstruct.Jsii$Default| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnPricingRule(Construct scope,
String id,
CfnPricingRuleProps props)
Create a new `AWS::BillingConductor::PricingRule`.
|
protected |
CfnPricingRule(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnPricingRule(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn() |
Number |
getAttrAssociatedPricingPlanCount() |
Number |
getAttrCreationTime() |
Number |
getAttrLastModifiedTime() |
protected Map<String,Object> |
getCfnProperties() |
String |
getDescription()
`AWS::BillingConductor::PricingRule.Description`.
|
Number |
getModifierPercentage()
`AWS::BillingConductor::PricingRule.ModifierPercentage`.
|
String |
getName()
`AWS::BillingConductor::PricingRule.Name`.
|
String |
getScope()
`AWS::BillingConductor::PricingRule.Scope`.
|
String |
getService()
`AWS::BillingConductor::PricingRule.Service`.
|
TagManager |
getTags()
`AWS::BillingConductor::PricingRule.Tags`.
|
String |
getType()
`AWS::BillingConductor::PricingRule.Type`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setDescription(String value)
`AWS::BillingConductor::PricingRule.Description`.
|
void |
setModifierPercentage(Number value)
`AWS::BillingConductor::PricingRule.ModifierPercentage`.
|
void |
setName(String value)
`AWS::BillingConductor::PricingRule.Name`.
|
void |
setScope(String value)
`AWS::BillingConductor::PricingRule.Scope`.
|
void |
setService(String value)
`AWS::BillingConductor::PricingRule.Service`.
|
void |
setType(String value)
`AWS::BillingConductor::PricingRule.Type`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnPricingRule(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnPricingRule(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnPricingRule(@NotNull
Construct scope,
@NotNull
String id,
@NotNull
CfnPricingRuleProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull public Number getAttrAssociatedPricingPlanCount()
@Stability(value=Stable) @NotNull public Number getAttrCreationTime()
@Stability(value=Stable) @NotNull public Number getAttrLastModifiedTime()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public Number getModifierPercentage()
@Stability(value=Stable)
public void setModifierPercentage(@NotNull
Number value)
@Stability(value=Stable) @NotNull public String getName()
@Stability(value=Stable)
public void setName(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getScope()
@Stability(value=Stable)
public void setScope(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getType()
@Stability(value=Stable)
public void setType(@NotNull
String value)
@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getService()
@Stability(value=Stable)
public void setService(@Nullable
String value)
Copyright © 2022. All rights reserved.