Interface CreateInvoiceUnitRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateInvoiceUnitRequest.Builder,
,CreateInvoiceUnitRequest> InvoicingRequest.Builder
,SdkBuilder<CreateInvoiceUnitRequest.Builder,
,CreateInvoiceUnitRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateInvoiceUnitRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) The invoice unit's description.invoiceReceiver
(String invoiceReceiver) The Amazon Web Services account ID chosen to be the receiver of an invoice unit.The unique name of the invoice unit that is shown on the generated invoice.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceTags
(Collection<ResourceTag> resourceTags) The tag structure that contains a tag key and value.resourceTags
(Consumer<ResourceTag.Builder>... resourceTags) The tag structure that contains a tag key and value.resourceTags
(ResourceTag... resourceTags) The tag structure that contains a tag key and value.default CreateInvoiceUnitRequest.Builder
rule
(Consumer<InvoiceUnitRule.Builder> rule) TheInvoiceUnitRule
object used to create invoice units.rule
(InvoiceUnitRule rule) TheInvoiceUnitRule
object used to create 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
-
name
The unique name of the invoice unit that is shown on the generated invoice. This can't be changed once it is set. To change this name, you must delete the invoice unit recreate.
- Parameters:
name
- The unique name of the invoice unit that is shown on the generated invoice. This can't be changed once it is set. To change this name, you must delete the invoice unit recreate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
description
The invoice unit's description. This can be changed at a later time.
- Parameters:
description
- The invoice unit's description. This can be changed at a later time.- 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 create invoice units.- Parameters:
rule
- TheInvoiceUnitRule
object used to create 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 create 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:
-
resourceTags
The tag structure that contains a tag key and value.
- Parameters:
resourceTags
- The tag structure that contains a tag key and value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTags
The tag structure that contains a tag key and value.
- Parameters:
resourceTags
- The tag structure that contains a tag key and value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTags
The tag structure that contains a tag key and value.
This is a convenience method that creates an instance of theResourceTag.Builder
avoiding the need to create one manually viaResourceTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourceTags(List<ResourceTag>)
.- Parameters:
resourceTags
- a consumer that will call methods onResourceTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateInvoiceUnitRequest.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
CreateInvoiceUnitRequest.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.
-