@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:25.431Z") @Stability(value=Stable) public class CfnCustomLineItem 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.*;
CfnCustomLineItem cfnCustomLineItem = CfnCustomLineItem.Builder.create(this, "MyCfnCustomLineItem")
.billingGroupArn("billingGroupArn")
.name("name")
// the properties below are optional
.billingPeriodRange(BillingPeriodRangeProperty.builder()
.exclusiveEndBillingPeriod("exclusiveEndBillingPeriod")
.inclusiveStartBillingPeriod("inclusiveStartBillingPeriod")
.build())
.customLineItemChargeDetails(CustomLineItemChargeDetailsProperty.builder()
.type("type")
// the properties below are optional
.flat(CustomLineItemFlatChargeDetailsProperty.builder()
.chargeValue(123)
.build())
.percentage(CustomLineItemPercentageChargeDetailsProperty.builder()
.percentageValue(123)
// the properties below are optional
.childAssociatedResources(List.of("childAssociatedResources"))
.build())
.build())
.description("description")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static interface |
CfnCustomLineItem.BillingPeriodRangeProperty
Example:
|
static class |
CfnCustomLineItem.Builder
A fluent builder for
CfnCustomLineItem. |
static interface |
CfnCustomLineItem.CustomLineItemChargeDetailsProperty
Example:
|
static interface |
CfnCustomLineItem.CustomLineItemFlatChargeDetailsProperty
Example:
|
static interface |
CfnCustomLineItem.CustomLineItemPercentageChargeDetailsProperty
Example:
|
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 |
|---|---|
|
CfnCustomLineItem(Construct scope,
String id,
CfnCustomLineItemProps props)
Create a new `AWS::BillingConductor::CustomLineItem`.
|
protected |
CfnCustomLineItem(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnCustomLineItem(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn() |
Number |
getAttrAssociationSize() |
Number |
getAttrCreationTime() |
String |
getAttrCurrencyCode() |
Number |
getAttrLastModifiedTime() |
String |
getAttrProductCode() |
String |
getBillingGroupArn()
`AWS::BillingConductor::CustomLineItem.BillingGroupArn`.
|
Object |
getBillingPeriodRange()
`AWS::BillingConductor::CustomLineItem.BillingPeriodRange`.
|
protected Map<String,Object> |
getCfnProperties() |
Object |
getCustomLineItemChargeDetails()
`AWS::BillingConductor::CustomLineItem.CustomLineItemChargeDetails`.
|
String |
getDescription()
`AWS::BillingConductor::CustomLineItem.Description`.
|
String |
getName()
`AWS::BillingConductor::CustomLineItem.Name`.
|
TagManager |
getTags()
`AWS::BillingConductor::CustomLineItem.Tags`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setBillingGroupArn(String value)
`AWS::BillingConductor::CustomLineItem.BillingGroupArn`.
|
void |
setBillingPeriodRange(CfnCustomLineItem.BillingPeriodRangeProperty value)
`AWS::BillingConductor::CustomLineItem.BillingPeriodRange`.
|
void |
setBillingPeriodRange(IResolvable value)
`AWS::BillingConductor::CustomLineItem.BillingPeriodRange`.
|
void |
setCustomLineItemChargeDetails(CfnCustomLineItem.CustomLineItemChargeDetailsProperty value)
`AWS::BillingConductor::CustomLineItem.CustomLineItemChargeDetails`.
|
void |
setCustomLineItemChargeDetails(IResolvable value)
`AWS::BillingConductor::CustomLineItem.CustomLineItemChargeDetails`.
|
void |
setDescription(String value)
`AWS::BillingConductor::CustomLineItem.Description`.
|
void |
setName(String value)
`AWS::BillingConductor::CustomLineItem.Name`.
|
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 CfnCustomLineItem(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnCustomLineItem(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnCustomLineItem(@NotNull
Construct scope,
@NotNull
String id,
@NotNull
CfnCustomLineItemProps 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 getAttrAssociationSize()
@Stability(value=Stable) @NotNull public Number getAttrCreationTime()
@Stability(value=Stable) @NotNull public String getAttrCurrencyCode()
@Stability(value=Stable) @NotNull public Number getAttrLastModifiedTime()
@Stability(value=Stable) @NotNull public String getAttrProductCode()
@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 String getBillingGroupArn()
@Stability(value=Stable)
public void setBillingGroupArn(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getName()
@Stability(value=Stable)
public void setName(@NotNull
String value)
@Stability(value=Stable) @Nullable public Object getBillingPeriodRange()
@Stability(value=Stable)
public void setBillingPeriodRange(@Nullable
CfnCustomLineItem.BillingPeriodRangeProperty value)
@Stability(value=Stable)
public void setBillingPeriodRange(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public Object getCustomLineItemChargeDetails()
@Stability(value=Stable)
public void setCustomLineItemChargeDetails(@Nullable
CfnCustomLineItem.CustomLineItemChargeDetailsProperty value)
@Stability(value=Stable)
public void setCustomLineItemChargeDetails(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
Copyright © 2022. All rights reserved.