Interface AgreementInvoiceLineItemGroupSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AgreementInvoiceLineItemGroupSummary.Builder,,AgreementInvoiceLineItemGroupSummary> SdkBuilder<AgreementInvoiceLineItemGroupSummary.Builder,,AgreementInvoiceLineItemGroupSummary> SdkPojo
- Enclosing class:
AgreementInvoiceLineItemGroupSummary
-
Method Summary
Modifier and TypeMethodDescriptionagreementId(String agreementId) The unique identifier of the agreement.invoiceBillingPeriod(Consumer<InvoiceBillingPeriod.Builder> invoiceBillingPeriod) The billing period associated with this group.invoiceBillingPeriod(InvoiceBillingPeriod invoiceBillingPeriod) The billing period associated with this group.The identifier of the invoice for this group.invoiceType(String invoiceType) The type of invoice.invoiceType(InvoiceType invoiceType) The type of invoice.invoicingEntity(Consumer<InvoicingEntity.Builder> invoicingEntity) The entity that issues the invoice.invoicingEntity(InvoicingEntity invoicingEntity) The entity that issues the invoice.issuedTime(Instant issuedTime) The timestamp when the invoice containing this group was created.pricingCurrencyAmount(Consumer<PricingCurrencyAmount.Builder> pricingCurrencyAmount) Monetary amounts for this invoice group.pricingCurrencyAmount(PricingCurrencyAmount pricingCurrencyAmount) Monetary amounts for this invoice group.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
-
agreementId
The unique identifier of the agreement.
- Parameters:
agreementId- The unique identifier of the agreement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invoiceId
The identifier of the invoice for this group.
- Parameters:
invoiceId- The identifier of the invoice for this group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pricingCurrencyAmount
AgreementInvoiceLineItemGroupSummary.Builder pricingCurrencyAmount(PricingCurrencyAmount pricingCurrencyAmount) Monetary amounts for this invoice group.
- Parameters:
pricingCurrencyAmount- Monetary amounts for this invoice group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pricingCurrencyAmount
default AgreementInvoiceLineItemGroupSummary.Builder pricingCurrencyAmount(Consumer<PricingCurrencyAmount.Builder> pricingCurrencyAmount) Monetary amounts for this invoice group.
This is a convenience method that creates an instance of thePricingCurrencyAmount.Builderavoiding the need to create one manually viaPricingCurrencyAmount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topricingCurrencyAmount(PricingCurrencyAmount).- Parameters:
pricingCurrencyAmount- a consumer that will call methods onPricingCurrencyAmount.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
invoiceBillingPeriod
AgreementInvoiceLineItemGroupSummary.Builder invoiceBillingPeriod(InvoiceBillingPeriod invoiceBillingPeriod) The billing period associated with this group.
- Parameters:
invoiceBillingPeriod- The billing period associated with this group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invoiceBillingPeriod
default AgreementInvoiceLineItemGroupSummary.Builder invoiceBillingPeriod(Consumer<InvoiceBillingPeriod.Builder> invoiceBillingPeriod) The billing period associated with this group.
This is a convenience method that creates an instance of theInvoiceBillingPeriod.Builderavoiding the need to create one manually viaInvoiceBillingPeriod.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinvoiceBillingPeriod(InvoiceBillingPeriod).- Parameters:
invoiceBillingPeriod- a consumer that will call methods onInvoiceBillingPeriod.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
issuedTime
The timestamp when the invoice containing this group was created.
- Parameters:
issuedTime- The timestamp when the invoice containing this group was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invoiceType
The type of invoice. Valid values are
INVOICEandCREDIT_MEMO.- Parameters:
invoiceType- The type of invoice. Valid values areINVOICEandCREDIT_MEMO.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
invoiceType
The type of invoice. Valid values are
INVOICEandCREDIT_MEMO.- Parameters:
invoiceType- The type of invoice. Valid values areINVOICEandCREDIT_MEMO.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
invoicingEntity
The entity that issues the invoice.
- Parameters:
invoicingEntity- The entity that issues the invoice.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invoicingEntity
default AgreementInvoiceLineItemGroupSummary.Builder invoicingEntity(Consumer<InvoicingEntity.Builder> invoicingEntity) The entity that issues the invoice.
This is a convenience method that creates an instance of theInvoicingEntity.Builderavoiding the need to create one manually viaInvoicingEntity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinvoicingEntity(InvoicingEntity).- Parameters:
invoicingEntity- a consumer that will call methods onInvoicingEntity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-