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.Builderrule(Consumer<InvoiceUnitRule.Builder> rule) TheInvoiceUnitRuleobject used to update invoice units.rule(InvoiceUnitRule rule) TheInvoiceUnitRuleobject 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.invoicing.model.InvoicingRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
InvoiceUnitRuleobject used to update invoice units.- Parameters:
rule- TheInvoiceUnitRuleobject 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 theInvoiceUnitRuleobject used to update invoice units.InvoiceUnitRule.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:
-
overrideConfiguration
UpdateInvoiceUnitRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-