Interface InvoiceUnit.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InvoiceUnit.Builder,
,InvoiceUnit> SdkBuilder<InvoiceUnit.Builder,
,InvoiceUnit> SdkPojo
- Enclosing class:
InvoiceUnit
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) The assigned description for an invoice unit.invoiceReceiver
(String invoiceReceiver) The account that receives invoices related to the invoice unit.invoiceUnitArn
(String invoiceUnitArn) ARN to identify an invoice unit.lastModified
(Instant lastModified) The last time the invoice unit was updated.A unique name that is distinctive within your Amazon Web Services.default InvoiceUnit.Builder
rule
(Consumer<InvoiceUnitRule.Builder> rule) AnInvoiceUnitRule
object used the categorize invoice units.rule
(InvoiceUnitRule rule) AnInvoiceUnitRule
object used the categorize invoice units.taxInheritanceDisabled
(Boolean taxInheritanceDisabled) Whether the invoice unit based tax inheritance is/ should be enabled or disabled.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
invoiceUnitArn
ARN to identify an invoice unit. This information can't be modified or deleted.
- Parameters:
invoiceUnitArn
- ARN to identify an invoice unit. This information can't be modified or deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invoiceReceiver
The account that receives invoices related to the invoice unit.
- Parameters:
invoiceReceiver
- The account that receives invoices related to the invoice unit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A unique name that is distinctive within your Amazon Web Services.
- Parameters:
name
- A unique name that is distinctive within your Amazon Web Services.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The assigned description for an invoice unit. This information can't be modified or deleted.
- Parameters:
description
- The assigned description for an invoice unit. This information can't be modified or deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taxInheritanceDisabled
Whether the invoice unit based tax inheritance is/ should be enabled or disabled.
- Parameters:
taxInheritanceDisabled
- Whether the invoice unit based tax inheritance is/ should be enabled or disabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rule
An
InvoiceUnitRule
object used the categorize invoice units.- Parameters:
rule
- AnInvoiceUnitRule
object used the categorize invoice units.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rule
An
This is a convenience method that creates an instance of theInvoiceUnitRule
object used the categorize invoice units.InvoiceUnitRule.Builder
avoiding the need to create one manually viaInvoiceUnitRule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torule(InvoiceUnitRule)
.- Parameters:
rule
- a consumer that will call methods onInvoiceUnitRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastModified
The last time the invoice unit was updated. This is important to determine the version of invoice unit configuration used to create the invoices. Any invoice created after this modified time will use this invoice unit configuration.
- Parameters:
lastModified
- The last time the invoice unit was updated. This is important to determine the version of invoice unit configuration used to create the invoices. Any invoice created after this modified time will use this invoice unit configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-