Interface GetInvoiceUnitResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetInvoiceUnitResponse.Builder,GetInvoiceUnitResponse>,InvoicingResponse.Builder,SdkBuilder<GetInvoiceUnitResponse.Builder,GetInvoiceUnitResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetInvoiceUnitResponse
public static interface GetInvoiceUnitResponse.Builder extends InvoicingResponse.Builder, SdkPojo, CopyableBuilder<GetInvoiceUnitResponse.Builder,GetInvoiceUnitResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetInvoiceUnitResponse.Builderdescription(String description)The assigned description for an invoice unit.GetInvoiceUnitResponse.BuilderinvoiceReceiver(String invoiceReceiver)The Amazon Web Services account ID chosen to be the receiver of an invoice unit.GetInvoiceUnitResponse.BuilderinvoiceUnitArn(String invoiceUnitArn)The ARN to identify an invoice unit.GetInvoiceUnitResponse.BuilderlastModified(Instant lastModified)The most recent date the invoice unit response was updated.GetInvoiceUnitResponse.Buildername(String name)The unique name of the invoice unit that is shown on the generated invoice.default GetInvoiceUnitResponse.Builderrule(Consumer<InvoiceUnitRule.Builder> rule)Sets the value of the Rule property for this object.GetInvoiceUnitResponse.Builderrule(InvoiceUnitRule rule)Sets the value of the Rule property for this object.GetInvoiceUnitResponse.BuildertaxInheritanceDisabled(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.services.invoicing.model.InvoicingResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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
GetInvoiceUnitResponse.Builder name(String 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
GetInvoiceUnitResponse.Builder rule(InvoiceUnitRule 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
default GetInvoiceUnitResponse.Builder rule(Consumer<InvoiceUnitRule.Builder> rule)
Sets the value of the Rule property for this object. This is a convenience method that creates an instance of theInvoiceUnitRule.Builderavoiding the need to create one manually viaInvoiceUnitRule.builder().When the
Consumercompletes,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:
rule(InvoiceUnitRule)
-
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.
-
-