Class CfnBillScenario.Builder
java.lang.Object
software.amazon.awscdk.services.bcmpricingcalculator.CfnBillScenario.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBillScenario>
- Enclosing class:
CfnBillScenario
@Stability(Stable)
public static final class CfnBillScenario.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBillScenario>
A fluent builder for
CfnBillScenario.-
Method Summary
Modifier and TypeMethodDescriptionbuild()costCategoryGroupSharingPreferenceArn(String costCategoryGroupSharingPreferenceArn) The ARN of the cost category group sharing preference.static CfnBillScenario.BuilderThe timestamp when the bill scenario expires.groupSharingPreference(String groupSharingPreference) The name of the bill scenario.An array of key-value pairs to apply to this resource.
-
Method Details
-
create
@Stability(Stable) public static CfnBillScenario.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnBillScenario.Builder.
-
costCategoryGroupSharingPreferenceArn
@Stability(Stable) public CfnBillScenario.Builder costCategoryGroupSharingPreferenceArn(String costCategoryGroupSharingPreferenceArn) The ARN of the cost category group sharing preference.- Parameters:
costCategoryGroupSharingPreferenceArn- The ARN of the cost category group sharing preference. This parameter is required.- Returns:
this- See Also:
-
expiresAt
The timestamp when the bill scenario expires.- Parameters:
expiresAt- The timestamp when the bill scenario expires. This parameter is required.- Returns:
this- See Also:
-
groupSharingPreference
@Stability(Stable) public CfnBillScenario.Builder groupSharingPreference(String groupSharingPreference) - Parameters:
groupSharingPreference- This parameter is required.- Returns:
this- See Also:
-
name
The name of the bill scenario.- Parameters:
name- The name of the bill scenario. This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs to apply to this resource.- Parameters:
tags- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBillScenario>- Returns:
- a newly built instance of
CfnBillScenario.
-