Interface InvoicePDF.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InvoicePDF.Builder,,InvoicePDF> SdkBuilder<InvoicePDF.Builder,,InvoicePDF> SdkPojo
- Enclosing class:
InvoicePDF
@Mutable
@NotThreadSafe
public static interface InvoicePDF.Builder
extends SdkPojo, CopyableBuilder<InvoicePDF.Builder,InvoicePDF>
-
Method Summary
Modifier and TypeMethodDescriptiondocumentUrl(String documentUrl) The pre-signed URL to download the invoice document.documentUrlExpirationDate(Instant documentUrlExpirationDate) The pre-signed URL expiration date of the invoice document.Your unique invoice ID.supplementalDocuments(Collection<SupplementalDocument> supplementalDocuments) List of supplemental documents associated with the invoice.supplementalDocuments(Consumer<SupplementalDocument.Builder>... supplementalDocuments) List of supplemental documents associated with the invoice.supplementalDocuments(SupplementalDocument... supplementalDocuments) List of supplemental documents associated with the invoice.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
invoiceId
Your unique invoice ID.
- Parameters:
invoiceId- Your unique invoice ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentUrl
The pre-signed URL to download the invoice document.
- Parameters:
documentUrl- The pre-signed URL to download the invoice document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentUrlExpirationDate
The pre-signed URL expiration date of the invoice document.
- Parameters:
documentUrlExpirationDate- The pre-signed URL expiration date of the invoice document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supplementalDocuments
List of supplemental documents associated with the invoice.
- Parameters:
supplementalDocuments- List of supplemental documents associated with the invoice.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supplementalDocuments
List of supplemental documents associated with the invoice.
- Parameters:
supplementalDocuments- List of supplemental documents associated with the invoice.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supplementalDocuments
InvoicePDF.Builder supplementalDocuments(Consumer<SupplementalDocument.Builder>... supplementalDocuments) List of supplemental documents associated with the invoice.
This is a convenience method that creates an instance of theSupplementalDocument.Builderavoiding the need to create one manually viaSupplementalDocument.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosupplementalDocuments(List<SupplementalDocument>).- Parameters:
supplementalDocuments- a consumer that will call methods onSupplementalDocument.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-