Class CfnInvoiceUnitMixinProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.invoicing.mixins.CfnInvoiceUnitMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInvoiceUnitMixinProps>
- Enclosing interface:
CfnInvoiceUnitMixinProps
@Stability(Stable)
public static final class CfnInvoiceUnitMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInvoiceUnitMixinProps>
A builder for
CfnInvoiceUnitMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnInvoiceUnitMixinProps.getDescription()invoiceReceiver(String invoiceReceiver) Sets the value ofCfnInvoiceUnitMixinProps.getInvoiceReceiver()Sets the value ofCfnInvoiceUnitMixinProps.getName()resourceTags(List<? extends CfnInvoiceUnitPropsMixin.ResourceTagProperty> resourceTags) Sets the value ofCfnInvoiceUnitMixinProps.getResourceTags()rule(IResolvable rule) Sets the value ofCfnInvoiceUnitMixinProps.getRule()Sets the value ofCfnInvoiceUnitMixinProps.getRule()taxInheritanceDisabled(Boolean taxInheritanceDisabled) Sets the value ofCfnInvoiceUnitMixinProps.getTaxInheritanceDisabled()taxInheritanceDisabled(IResolvable taxInheritanceDisabled) Sets the value ofCfnInvoiceUnitMixinProps.getTaxInheritanceDisabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnInvoiceUnitMixinProps.getDescription()- Parameters:
description- The assigned description for an invoice unit. This information can't be modified or deleted.- Returns:
this
-
invoiceReceiver
Sets the value ofCfnInvoiceUnitMixinProps.getInvoiceReceiver()- Parameters:
invoiceReceiver- The account that receives invoices related to the invoice unit.- Returns:
this
-
name
Sets the value ofCfnInvoiceUnitMixinProps.getName()- Parameters:
name- A unique name that is distinctive within your AWS .- Returns:
this
-
resourceTags
@Stability(Stable) public CfnInvoiceUnitMixinProps.Builder resourceTags(List<? extends CfnInvoiceUnitPropsMixin.ResourceTagProperty> resourceTags) Sets the value ofCfnInvoiceUnitMixinProps.getResourceTags()- Parameters:
resourceTags- The tag structure that contains a tag key and value.- Returns:
this
-
rule
Sets the value ofCfnInvoiceUnitMixinProps.getRule()- Parameters:
rule- AnInvoiceUnitRuleobject used the categorize invoice units.- Returns:
this
-
rule
@Stability(Stable) public CfnInvoiceUnitMixinProps.Builder rule(CfnInvoiceUnitPropsMixin.RuleProperty rule) Sets the value ofCfnInvoiceUnitMixinProps.getRule()- Parameters:
rule- AnInvoiceUnitRuleobject used the categorize invoice units.- Returns:
this
-
taxInheritanceDisabled
@Stability(Stable) public CfnInvoiceUnitMixinProps.Builder taxInheritanceDisabled(Boolean taxInheritanceDisabled) Sets the value ofCfnInvoiceUnitMixinProps.getTaxInheritanceDisabled()- Parameters:
taxInheritanceDisabled- Whether the invoice unit based tax inheritance is/ should be enabled or disabled.- Returns:
this
-
taxInheritanceDisabled
@Stability(Stable) public CfnInvoiceUnitMixinProps.Builder taxInheritanceDisabled(IResolvable taxInheritanceDisabled) Sets the value ofCfnInvoiceUnitMixinProps.getTaxInheritanceDisabled()- Parameters:
taxInheritanceDisabled- Whether the invoice unit based tax inheritance is/ should be enabled or disabled.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnInvoiceUnitMixinProps>- Returns:
- a new instance of
CfnInvoiceUnitMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-