Class CfnProcurementPortalPreferenceProps.Builder
java.lang.Object
software.amazon.awscdk.services.invoicing.CfnProcurementPortalPreferenceProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProcurementPortalPreferenceProps>
- Enclosing interface:
CfnProcurementPortalPreferenceProps
@Stability(Stable)
public static final class CfnProcurementPortalPreferenceProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProcurementPortalPreferenceProps>
A builder for
CfnProcurementPortalPreferenceProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.buyerDomain(String buyerDomain) Sets the value ofCfnProcurementPortalPreferenceProps.getBuyerDomain()buyerIdentifier(String buyerIdentifier) Sets the value ofCfnProcurementPortalPreferenceProps.getBuyerIdentifier()Sets the value ofCfnProcurementPortalPreferenceProps.getContacts()contacts(IResolvable contacts) Sets the value ofCfnProcurementPortalPreferenceProps.getContacts()einvoiceDeliveryEnabled(Boolean einvoiceDeliveryEnabled) Sets the value ofCfnProcurementPortalPreferenceProps.getEinvoiceDeliveryEnabled()einvoiceDeliveryEnabled(IResolvable einvoiceDeliveryEnabled) Sets the value ofCfnProcurementPortalPreferenceProps.getEinvoiceDeliveryEnabled()einvoiceDeliveryPreference(IResolvable einvoiceDeliveryPreference) Sets the value ofCfnProcurementPortalPreferenceProps.getEinvoiceDeliveryPreference()einvoiceDeliveryPreference(CfnProcurementPortalPreference.EinvoiceDeliveryPreferenceProperty einvoiceDeliveryPreference) Sets the value ofCfnProcurementPortalPreferenceProps.getEinvoiceDeliveryPreference()procurementPortalInstanceEndpoint(String procurementPortalInstanceEndpoint) procurementPortalName(String procurementPortalName) Sets the value ofCfnProcurementPortalPreferenceProps.getProcurementPortalName()procurementPortalSharedSecret(String procurementPortalSharedSecret) Sets the value ofCfnProcurementPortalPreferenceProps.getProcurementPortalSharedSecret()purchaseOrderRetrievalEnabled(Boolean purchaseOrderRetrievalEnabled) Sets the value ofCfnProcurementPortalPreferenceProps.getPurchaseOrderRetrievalEnabled()purchaseOrderRetrievalEnabled(IResolvable purchaseOrderRetrievalEnabled) Sets the value ofCfnProcurementPortalPreferenceProps.getPurchaseOrderRetrievalEnabled()selector(IResolvable selector) Sets the value ofCfnProcurementPortalPreferenceProps.getSelector()Sets the value ofCfnProcurementPortalPreferenceProps.getSelector()supplierDomain(String supplierDomain) Sets the value ofCfnProcurementPortalPreferenceProps.getSupplierDomain()supplierIdentifier(String supplierIdentifier) Sets the value ofCfnProcurementPortalPreferenceProps.getSupplierIdentifier()Sets the value ofCfnProcurementPortalPreferenceProps.getTags()testEnvPreference(IResolvable testEnvPreference) Sets the value ofCfnProcurementPortalPreferenceProps.getTestEnvPreference()testEnvPreference(CfnProcurementPortalPreference.TestEnvPreferenceProperty testEnvPreference) Sets the value ofCfnProcurementPortalPreferenceProps.getTestEnvPreference()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
buyerDomain
@Stability(Stable) public CfnProcurementPortalPreferenceProps.Builder buyerDomain(String buyerDomain) Sets the value ofCfnProcurementPortalPreferenceProps.getBuyerDomain()- Parameters:
buyerDomain- The domain identifier for the buyer in the procurement portal. This parameter is required.- Returns:
this
-
buyerIdentifier
@Stability(Stable) public CfnProcurementPortalPreferenceProps.Builder buyerIdentifier(String buyerIdentifier) Sets the value ofCfnProcurementPortalPreferenceProps.getBuyerIdentifier()- Parameters:
buyerIdentifier- The unique identifier for the buyer in the procurement portal. This parameter is required.- Returns:
this
-
contacts
@Stability(Stable) public CfnProcurementPortalPreferenceProps.Builder contacts(IResolvable contacts) Sets the value ofCfnProcurementPortalPreferenceProps.getContacts()- Parameters:
contacts- List of contact information for portal administrators and technical contacts. This parameter is required.- Returns:
this
-
contacts
@Stability(Stable) public CfnProcurementPortalPreferenceProps.Builder contacts(List<? extends Object> contacts) Sets the value ofCfnProcurementPortalPreferenceProps.getContacts()- Parameters:
contacts- List of contact information for portal administrators and technical contacts. This parameter is required.- Returns:
this
-
einvoiceDeliveryEnabled
@Stability(Stable) public CfnProcurementPortalPreferenceProps.Builder einvoiceDeliveryEnabled(Boolean einvoiceDeliveryEnabled) Sets the value ofCfnProcurementPortalPreferenceProps.getEinvoiceDeliveryEnabled()- Parameters:
einvoiceDeliveryEnabled- Indicates whether e-invoice delivery is enabled for this procurement portal preference. This parameter is required.- Returns:
this
-
einvoiceDeliveryEnabled
@Stability(Stable) public CfnProcurementPortalPreferenceProps.Builder einvoiceDeliveryEnabled(IResolvable einvoiceDeliveryEnabled) Sets the value ofCfnProcurementPortalPreferenceProps.getEinvoiceDeliveryEnabled()- Parameters:
einvoiceDeliveryEnabled- Indicates whether e-invoice delivery is enabled for this procurement portal preference. This parameter is required.- Returns:
this
-
procurementPortalName
@Stability(Stable) public CfnProcurementPortalPreferenceProps.Builder procurementPortalName(String procurementPortalName) Sets the value ofCfnProcurementPortalPreferenceProps.getProcurementPortalName()- Parameters:
procurementPortalName- The name of the procurement portal. This parameter is required.- Returns:
this
-
purchaseOrderRetrievalEnabled
@Stability(Stable) public CfnProcurementPortalPreferenceProps.Builder purchaseOrderRetrievalEnabled(Boolean purchaseOrderRetrievalEnabled) Sets the value ofCfnProcurementPortalPreferenceProps.getPurchaseOrderRetrievalEnabled()- Parameters:
purchaseOrderRetrievalEnabled- Indicates whether purchase order retrieval is enabled for this procurement portal preference. This parameter is required.- Returns:
this
-
purchaseOrderRetrievalEnabled
@Stability(Stable) public CfnProcurementPortalPreferenceProps.Builder purchaseOrderRetrievalEnabled(IResolvable purchaseOrderRetrievalEnabled) Sets the value ofCfnProcurementPortalPreferenceProps.getPurchaseOrderRetrievalEnabled()- Parameters:
purchaseOrderRetrievalEnabled- Indicates whether purchase order retrieval is enabled for this procurement portal preference. This parameter is required.- Returns:
this
-
supplierDomain
@Stability(Stable) public CfnProcurementPortalPreferenceProps.Builder supplierDomain(String supplierDomain) Sets the value ofCfnProcurementPortalPreferenceProps.getSupplierDomain()- Parameters:
supplierDomain- The domain identifier for the supplier in the procurement portal. This parameter is required.- Returns:
this
-
supplierIdentifier
@Stability(Stable) public CfnProcurementPortalPreferenceProps.Builder supplierIdentifier(String supplierIdentifier) Sets the value ofCfnProcurementPortalPreferenceProps.getSupplierIdentifier()- Parameters:
supplierIdentifier- The unique identifier for the supplier in the procurement portal. This parameter is required.- Returns:
this
-
einvoiceDeliveryPreference
@Stability(Stable) public CfnProcurementPortalPreferenceProps.Builder einvoiceDeliveryPreference(IResolvable einvoiceDeliveryPreference) Sets the value ofCfnProcurementPortalPreferenceProps.getEinvoiceDeliveryPreference()- Parameters:
einvoiceDeliveryPreference- Specifies the preferences for e-invoice delivery.- Returns:
this
-
einvoiceDeliveryPreference
@Stability(Stable) public CfnProcurementPortalPreferenceProps.Builder einvoiceDeliveryPreference(CfnProcurementPortalPreference.EinvoiceDeliveryPreferenceProperty einvoiceDeliveryPreference) Sets the value ofCfnProcurementPortalPreferenceProps.getEinvoiceDeliveryPreference()- Parameters:
einvoiceDeliveryPreference- Specifies the preferences for e-invoice delivery.- Returns:
this
-
procurementPortalInstanceEndpoint
@Stability(Stable) public CfnProcurementPortalPreferenceProps.Builder procurementPortalInstanceEndpoint(String procurementPortalInstanceEndpoint) - Parameters:
procurementPortalInstanceEndpoint- The endpoint URL where e-invoices are delivered to the procurement portal.- Returns:
this
-
selector
@Stability(Stable) public CfnProcurementPortalPreferenceProps.Builder selector(IResolvable selector) Sets the value ofCfnProcurementPortalPreferenceProps.getSelector()- Parameters:
selector- Specifies criteria for selecting which invoices should be processed.- Returns:
this
-
selector
@Stability(Stable) public CfnProcurementPortalPreferenceProps.Builder selector(CfnProcurementPortalPreference.ProcurementPortalPreferenceSelectorProperty selector) Sets the value ofCfnProcurementPortalPreferenceProps.getSelector()- Parameters:
selector- Specifies criteria for selecting which invoices should be processed.- Returns:
this
-
tags
@Stability(Stable) public CfnProcurementPortalPreferenceProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnProcurementPortalPreferenceProps.getTags()- Parameters:
tags- The tags associated with this procurement portal preference.- Returns:
this
-
testEnvPreference
@Stability(Stable) public CfnProcurementPortalPreferenceProps.Builder testEnvPreference(IResolvable testEnvPreference) Sets the value ofCfnProcurementPortalPreferenceProps.getTestEnvPreference()- Parameters:
testEnvPreference- Configuration settings for the test environment of the procurement portal.- Returns:
this
-
testEnvPreference
@Stability(Stable) public CfnProcurementPortalPreferenceProps.Builder testEnvPreference(CfnProcurementPortalPreference.TestEnvPreferenceProperty testEnvPreference) Sets the value ofCfnProcurementPortalPreferenceProps.getTestEnvPreference()- Parameters:
testEnvPreference- Configuration settings for the test environment of the procurement portal.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnProcurementPortalPreferenceProps>- Returns:
- a new instance of
CfnProcurementPortalPreferenceProps - Throws:
NullPointerException- if any required attribute was not provided
-