Interface GetInvoiceUnitResponse.Builder

  • Method Details

    • invoiceUnitArn

      GetInvoiceUnitResponse.Builder invoiceUnitArn(String invoiceUnitArn)

      The ARN to identify an invoice unit. This information can't be modified or deleted.

      Parameters:
      invoiceUnitArn - The 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

      GetInvoiceUnitResponse.Builder invoiceReceiver(String invoiceReceiver)

      The Amazon Web Services account ID chosen to be the receiver of an invoice unit. All invoices generated for that invoice unit will be sent to this account ID.

      Parameters:
      invoiceReceiver - The Amazon Web Services account ID chosen to be the receiver of an invoice unit. All invoices generated for that invoice unit will be sent to this account ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The unique name of the invoice unit that is shown on the generated invoice.

      Parameters:
      name - The unique name of the invoice unit that is shown on the generated invoice.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      GetInvoiceUnitResponse.Builder description(String description)

      The assigned description for an invoice unit.

      Parameters:
      description - The assigned description for an invoice unit.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • taxInheritanceDisabled

      GetInvoiceUnitResponse.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

      Sets the value of the Rule property for this object.
      Parameters:
      rule - The new value for the Rule property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rule

      Sets the value of the Rule property for this object. 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

      GetInvoiceUnitResponse.Builder lastModified(Instant lastModified)

      The most recent date the invoice unit response was updated.

      Parameters:
      lastModified - The most recent date the invoice unit response was updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.