Interface InvoiceProfile.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InvoiceProfile.Builder,
,InvoiceProfile> SdkBuilder<InvoiceProfile.Builder,
,InvoiceProfile> SdkPojo
- Enclosing class:
InvoiceProfile
@Mutable
@NotThreadSafe
public static interface InvoiceProfile.Builder
extends SdkPojo, CopyableBuilder<InvoiceProfile.Builder,InvoiceProfile>
-
Method Summary
Modifier and TypeMethodDescriptionThe account ID the invoice profile is generated for.This specifies the issuing entity of the invoice.default InvoiceProfile.Builder
receiverAddress
(Consumer<ReceiverAddress.Builder> receiverAddress) The address of the receiver that will be printed on the invoice.receiverAddress
(ReceiverAddress receiverAddress) The address of the receiver that will be printed on the invoice.receiverEmail
(String receiverEmail) The email address for the invoice profile receiver.receiverName
(String receiverName) The name of the person receiving the invoice profile.taxRegistrationNumber
(String taxRegistrationNumber) Your Tax Registration Number (TRN) information.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
accountId
The account ID the invoice profile is generated for.
- Parameters:
accountId
- The account ID the invoice profile is generated for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
receiverName
The name of the person receiving the invoice profile.
- Parameters:
receiverName
- The name of the person receiving the invoice profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
receiverAddress
The address of the receiver that will be printed on the invoice.
- Parameters:
receiverAddress
- The address of the receiver that will be printed on the invoice.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
receiverAddress
The address of the receiver that will be printed on the invoice.
This is a convenience method that creates an instance of theReceiverAddress.Builder
avoiding the need to create one manually viaReceiverAddress.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreceiverAddress(ReceiverAddress)
.- Parameters:
receiverAddress
- a consumer that will call methods onReceiverAddress.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
receiverEmail
The email address for the invoice profile receiver.
- Parameters:
receiverEmail
- The email address for the invoice profile receiver.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
issuer
This specifies the issuing entity of the invoice.
- Parameters:
issuer
- This specifies the issuing entity of the invoice.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taxRegistrationNumber
Your Tax Registration Number (TRN) information.
- Parameters:
taxRegistrationNumber
- Your Tax Registration Number (TRN) information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-