Class InvoiceUnitReference.Builder
java.lang.Object
software.amazon.awscdk.services.invoicing.InvoiceUnitReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<InvoiceUnitReference>
- Enclosing interface:
InvoiceUnitReference
@Stability(Stable)
public static final class InvoiceUnitReference.Builder
extends Object
implements software.amazon.jsii.Builder<InvoiceUnitReference>
A builder for
InvoiceUnitReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.invoiceUnitArn
(String invoiceUnitArn) Sets the value ofInvoiceUnitReference.getInvoiceUnitArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
invoiceUnitArn
Sets the value ofInvoiceUnitReference.getInvoiceUnitArn()
- Parameters:
invoiceUnitArn
- The InvoiceUnitArn of the InvoiceUnit resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<InvoiceUnitReference>
- Returns:
- a new instance of
InvoiceUnitReference
- Throws:
NullPointerException
- if any required attribute was not provided
-