Class CfnBillingGroupPropsMixin.AccountGroupingProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.billingconductor.CfnBillingGroupPropsMixin.AccountGroupingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBillingGroupPropsMixin.AccountGroupingProperty>
- Enclosing interface:
CfnBillingGroupPropsMixin.AccountGroupingProperty
@Stability(Stable)
public static final class CfnBillingGroupPropsMixin.AccountGroupingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBillingGroupPropsMixin.AccountGroupingProperty>
A builder for
CfnBillingGroupPropsMixin.AccountGroupingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionautoAssociate(Boolean autoAssociate) Sets the value ofCfnBillingGroupPropsMixin.AccountGroupingProperty.getAutoAssociate()autoAssociate(IResolvable autoAssociate) Sets the value ofCfnBillingGroupPropsMixin.AccountGroupingProperty.getAutoAssociate()build()Builds the configured instance.linkedAccountIds(List<String> linkedAccountIds) Sets the value ofCfnBillingGroupPropsMixin.AccountGroupingProperty.getLinkedAccountIds()responsibilityTransferArn(String responsibilityTransferArn)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
autoAssociate
@Stability(Stable) public CfnBillingGroupPropsMixin.AccountGroupingProperty.Builder autoAssociate(Boolean autoAssociate) Sets the value ofCfnBillingGroupPropsMixin.AccountGroupingProperty.getAutoAssociate()- Parameters:
autoAssociate- Specifies if this billing group will automatically associate newly added AWS accounts that join your consolidated billing family.- Returns:
this
-
autoAssociate
@Stability(Stable) public CfnBillingGroupPropsMixin.AccountGroupingProperty.Builder autoAssociate(IResolvable autoAssociate) Sets the value ofCfnBillingGroupPropsMixin.AccountGroupingProperty.getAutoAssociate()- Parameters:
autoAssociate- Specifies if this billing group will automatically associate newly added AWS accounts that join your consolidated billing family.- Returns:
this
-
linkedAccountIds
@Stability(Stable) public CfnBillingGroupPropsMixin.AccountGroupingProperty.Builder linkedAccountIds(List<String> linkedAccountIds) Sets the value ofCfnBillingGroupPropsMixin.AccountGroupingProperty.getLinkedAccountIds()- Parameters:
linkedAccountIds- The account IDs that make up the billing group. Account IDs must be a part of the consolidated billing family, and not associated with another billing group.- Returns:
this
-
responsibilityTransferArn
@Stability(Stable) public CfnBillingGroupPropsMixin.AccountGroupingProperty.Builder responsibilityTransferArn(String responsibilityTransferArn) - Parameters:
responsibilityTransferArn- The Amazon Resource Name (ARN) that identifies the transfer relationship owned by the Bill Transfer account (caller account). When specified, the PrimaryAccountId is no longer required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBillingGroupPropsMixin.AccountGroupingProperty>- Returns:
- a new instance of
CfnBillingGroupPropsMixin.AccountGroupingProperty - Throws:
NullPointerException- if any required attribute was not provided
-