Class CfnBillingGroup.Builder

java.lang.Object
software.amazon.awscdk.services.billingconductor.CfnBillingGroup.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBillingGroup>
Enclosing class:
CfnBillingGroup

@Stability(Stable) public static final class CfnBillingGroup.Builder extends Object implements software.amazon.jsii.Builder<CfnBillingGroup>
A fluent builder for CfnBillingGroup.
  • Method Details

    • create

      @Stability(Stable) public static CfnBillingGroup.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnBillingGroup.Builder.
    • accountGrouping

      @Stability(Stable) public CfnBillingGroup.Builder accountGrouping(CfnBillingGroup.AccountGroupingProperty accountGrouping)
      The set of accounts that will be under the billing group.

      The set of accounts resemble the linked accounts in a consolidated family.

      Parameters:
      accountGrouping - The set of accounts that will be under the billing group. This parameter is required.
      Returns:
      this
    • accountGrouping

      @Stability(Stable) public CfnBillingGroup.Builder accountGrouping(IResolvable accountGrouping)
      The set of accounts that will be under the billing group.

      The set of accounts resemble the linked accounts in a consolidated family.

      Parameters:
      accountGrouping - The set of accounts that will be under the billing group. This parameter is required.
      Returns:
      this
    • computationPreference

      @Stability(Stable) public CfnBillingGroup.Builder computationPreference(IResolvable computationPreference)
      The preferences and settings that will be used to compute the AWS charges for a billing group.

      Parameters:
      computationPreference - The preferences and settings that will be used to compute the AWS charges for a billing group. This parameter is required.
      Returns:
      this
    • computationPreference

      @Stability(Stable) public CfnBillingGroup.Builder computationPreference(CfnBillingGroup.ComputationPreferenceProperty computationPreference)
      The preferences and settings that will be used to compute the AWS charges for a billing group.

      Parameters:
      computationPreference - The preferences and settings that will be used to compute the AWS charges for a billing group. This parameter is required.
      Returns:
      this
    • name

      @Stability(Stable) public CfnBillingGroup.Builder name(String name)
      The billing group's name.

      Parameters:
      name - The billing group's name. This parameter is required.
      Returns:
      this
    • primaryAccountId

      @Stability(Stable) public CfnBillingGroup.Builder primaryAccountId(String primaryAccountId)
      The account ID that serves as the main account in a billing group.

      Parameters:
      primaryAccountId - The account ID that serves as the main account in a billing group. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public CfnBillingGroup.Builder description(String description)
      The description of the billing group.

      Parameters:
      description - The description of the billing group. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnBillingGroup.Builder tags(List<? extends CfnTag> tags)
      AWS::BillingConductor::BillingGroup.Tags.

      Parameters:
      tags - AWS::BillingConductor::BillingGroup.Tags. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnBillingGroup build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnBillingGroup>
      Returns:
      a newly built instance of CfnBillingGroup.