Interface InvoiceUnit.Builder

  • Method Details

    • invoiceUnitArn

      InvoiceUnit.Builder invoiceUnitArn(String 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

      InvoiceUnit.Builder invoiceReceiver(String 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

      InvoiceUnit.Builder description(String 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

      InvoiceUnit.Builder taxInheritanceDisabled(Boolean 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 - An InvoiceUnitRule object used the categorize invoice units.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rule

      An InvoiceUnitRule object used the categorize invoice units.

      This is a convenience method that creates an instance of the InvoiceUnitRule.Builder avoiding the need to create one manually via InvoiceUnitRule.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to rule(InvoiceUnitRule).

      Parameters:
      rule - a consumer that will call methods on InvoiceUnitRule.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lastModified

      InvoiceUnit.Builder lastModified(Instant 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.