Interface InvoiceProfile.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InvoiceProfile.Builder,InvoiceProfile>,SdkBuilder<InvoiceProfile.Builder,InvoiceProfile>,SdkPojo
- Enclosing class:
- InvoiceProfile
public static interface InvoiceProfile.Builder extends SdkPojo, CopyableBuilder<InvoiceProfile.Builder,InvoiceProfile>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description InvoiceProfile.BuilderaccountId(String accountId)The account ID the invoice profile is generated for.InvoiceProfile.Builderissuer(String issuer)This specifies the issuing entity of the invoice.default InvoiceProfile.BuilderreceiverAddress(Consumer<ReceiverAddress.Builder> receiverAddress)The address of the receiver that will be printed on the invoice.InvoiceProfile.BuilderreceiverAddress(ReceiverAddress receiverAddress)The address of the receiver that will be printed on the invoice.InvoiceProfile.BuilderreceiverEmail(String receiverEmail)The email address for the invoice profile receiver.InvoiceProfile.BuilderreceiverName(String receiverName)The name of the person receiving the invoice profile.InvoiceProfile.BuildertaxRegistrationNumber(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 Detail
-
accountId
InvoiceProfile.Builder accountId(String 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
InvoiceProfile.Builder receiverName(String 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
InvoiceProfile.Builder receiverAddress(ReceiverAddress 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
default InvoiceProfile.Builder receiverAddress(Consumer<ReceiverAddress.Builder> receiverAddress)
The address of the receiver that will be printed on the invoice.
This is a convenience method that creates an instance of theReceiverAddress.Builderavoiding the need to create one manually viaReceiverAddress.builder().When the
Consumercompletes,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:
receiverAddress(ReceiverAddress)
-
receiverEmail
InvoiceProfile.Builder receiverEmail(String 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
InvoiceProfile.Builder issuer(String 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
InvoiceProfile.Builder taxRegistrationNumber(String 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.
-
-