Interface CreateInvoiceUnitRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateInvoiceUnitRequest.Builder,CreateInvoiceUnitRequest>,InvoicingRequest.Builder,SdkBuilder<CreateInvoiceUnitRequest.Builder,CreateInvoiceUnitRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateInvoiceUnitRequest
public static interface CreateInvoiceUnitRequest.Builder extends InvoicingRequest.Builder, SdkPojo, CopyableBuilder<CreateInvoiceUnitRequest.Builder,CreateInvoiceUnitRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateInvoiceUnitRequest.Builderdescription(String description)The invoice unit's description.CreateInvoiceUnitRequest.BuilderinvoiceReceiver(String invoiceReceiver)The Amazon Web Services account ID chosen to be the receiver of an invoice unit.CreateInvoiceUnitRequest.Buildername(String name)The unique name of the invoice unit that is shown on the generated invoice.CreateInvoiceUnitRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateInvoiceUnitRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateInvoiceUnitRequest.BuilderresourceTags(Collection<ResourceTag> resourceTags)The tag structure that contains a tag key and value.CreateInvoiceUnitRequest.BuilderresourceTags(Consumer<ResourceTag.Builder>... resourceTags)The tag structure that contains a tag key and value.CreateInvoiceUnitRequest.BuilderresourceTags(ResourceTag... resourceTags)The tag structure that contains a tag key and value.default CreateInvoiceUnitRequest.Builderrule(Consumer<InvoiceUnitRule.Builder> rule)TheInvoiceUnitRuleobject used to create invoice units.CreateInvoiceUnitRequest.Builderrule(InvoiceUnitRule rule)TheInvoiceUnitRuleobject used to create invoice units.CreateInvoiceUnitRequest.BuildertaxInheritanceDisabled(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 Detail
-
name
CreateInvoiceUnitRequest.Builder name(String 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
CreateInvoiceUnitRequest.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.
-
description
CreateInvoiceUnitRequest.Builder description(String 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
CreateInvoiceUnitRequest.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
CreateInvoiceUnitRequest.Builder rule(InvoiceUnitRule rule)
The
InvoiceUnitRuleobject used to create invoice units.- Parameters:
rule- TheInvoiceUnitRuleobject used to create invoice units.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rule
default CreateInvoiceUnitRequest.Builder rule(Consumer<InvoiceUnitRule.Builder> rule)
The
This is a convenience method that creates an instance of theInvoiceUnitRuleobject used to create 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:
rule(InvoiceUnitRule)
-
resourceTags
CreateInvoiceUnitRequest.Builder resourceTags(Collection<ResourceTag> 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
CreateInvoiceUnitRequest.Builder resourceTags(ResourceTag... 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
CreateInvoiceUnitRequest.Builder resourceTags(Consumer<ResourceTag.Builder>... resourceTags)
The tag structure that contains a tag key and value.
This is a convenience method that creates an instance of theResourceTag.Builderavoiding the need to create one manually viaResourceTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#resourceTags(List.) - 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:
#resourceTags(java.util.Collection)
-
overrideConfiguration
CreateInvoiceUnitRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateInvoiceUnitRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-