Interface InvoiceUnit.Builder

    • Method Detail

      • 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

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

        InvoiceUnit.Builder rule​(InvoiceUnitRule 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.
      • 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.