Interface UpdateInvoiceUnitRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateInvoiceUnitRequest.Builder,
,UpdateInvoiceUnitRequest> InvoicingRequest.Builder
,SdkBuilder<UpdateInvoiceUnitRequest.Builder,
,UpdateInvoiceUnitRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateInvoiceUnitRequest
@Mutable
@NotThreadSafe
public static interface UpdateInvoiceUnitRequest.Builder
extends InvoicingRequest.Builder, SdkPojo, CopyableBuilder<UpdateInvoiceUnitRequest.Builder,UpdateInvoiceUnitRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) The assigned description for an invoice unit.invoiceUnitArn
(String invoiceUnitArn) The ARN to identify an invoice unit.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateInvoiceUnitRequest.Builder
rule
(Consumer<InvoiceUnitRule.Builder> rule) TheInvoiceUnitRule
object used to update invoice units.rule
(InvoiceUnitRule rule) TheInvoiceUnitRule
object used to update 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.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.invoicing.model.InvoicingRequest.Builder
build
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
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.
-
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
The
InvoiceUnitRule
object used to update invoice units.- Parameters:
rule
- TheInvoiceUnitRule
object used to update invoice units.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rule
The
This is a convenience method that creates an instance of theInvoiceUnitRule
object used to update 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:
-
overrideConfiguration
UpdateInvoiceUnitRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateInvoiceUnitRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-