Class ProcurementPortalPreference
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ProcurementPortalPreference.Builder,ProcurementPortalPreference>
Represents the full configuration of a procurement portal preference, including settings for e-invoice delivery and purchase order retrieval.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe Amazon Web Services account ID associated with this procurement portal preference.builder()final BuyerDomainThe domain identifier for the buyer in the procurement portal.final StringThe domain identifier for the buyer in the procurement portal.final StringThe unique identifier for the buyer in the procurement portal.contacts()List of contact information for portal administrators and technical contacts.final InstantThe date and time when the procurement portal preference was created.final BooleanIndicates whether e-invoice delivery is enabled for this procurement portal preference.The configuration settings that specify how e-invoices are delivered to the procurement portal.The current status of the e-invoice delivery preference.final StringThe current status of the e-invoice delivery preference.final StringThe reason for the current e-invoice delivery preference status.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final booleanFor responses, this returns true if the service returned a value for the Contacts property.final inthashCode()final InstantThe date and time when the procurement portal preference was last updated.final StringThe endpoint URL where e-invoices are delivered to the procurement portal.final ProcurementPortalNameThe name of the procurement portal.final StringThe name of the procurement portal.final StringThe Amazon Resource Name (ARN) of the procurement portal preference.final StringThe shared secret or authentication credential used for secure communication with the procurement portal.final BooleanIndicates whether purchase order retrieval is enabled for this procurement portal preference.final StringThe endpoint URL used for retrieving purchase orders from the procurement portal.The current status of the purchase order retrieval preference.final StringThe current status of the purchase order retrieval preference.final StringThe reason for the current purchase order retrieval preference status.selector()Returns the value of the Selector property for this object.static Class<? extends ProcurementPortalPreference.Builder> final SupplierDomainThe domain identifier for the supplier in the procurement portal.final StringThe domain identifier for the supplier in the procurement portal.final StringThe unique identifier for the supplier in the procurement portal.final TestEnvPreferenceConfiguration on settings for the test environment of the procurement portal.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final Longversion()The version number of the procurement portal preference configuration.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
awsAccountId
The Amazon Web Services account ID associated with this procurement portal preference.
- Returns:
- The Amazon Web Services account ID associated with this procurement portal preference.
-
procurementPortalPreferenceArn
The Amazon Resource Name (ARN) of the procurement portal preference.
- Returns:
- The Amazon Resource Name (ARN) of the procurement portal preference.
-
procurementPortalName
The name of the procurement portal.
If the service returns an enum value that is not available in the current SDK version,
procurementPortalNamewill returnProcurementPortalName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromprocurementPortalNameAsString().- Returns:
- The name of the procurement portal.
- See Also:
-
procurementPortalNameAsString
The name of the procurement portal.
If the service returns an enum value that is not available in the current SDK version,
procurementPortalNamewill returnProcurementPortalName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromprocurementPortalNameAsString().- Returns:
- The name of the procurement portal.
- See Also:
-
buyerDomain
The domain identifier for the buyer in the procurement portal.
If the service returns an enum value that is not available in the current SDK version,
buyerDomainwill returnBuyerDomain.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombuyerDomainAsString().- Returns:
- The domain identifier for the buyer in the procurement portal.
- See Also:
-
buyerDomainAsString
The domain identifier for the buyer in the procurement portal.
If the service returns an enum value that is not available in the current SDK version,
buyerDomainwill returnBuyerDomain.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombuyerDomainAsString().- Returns:
- The domain identifier for the buyer in the procurement portal.
- See Also:
-
buyerIdentifier
The unique identifier for the buyer in the procurement portal.
- Returns:
- The unique identifier for the buyer in the procurement portal.
-
supplierDomain
The domain identifier for the supplier in the procurement portal.
If the service returns an enum value that is not available in the current SDK version,
supplierDomainwill returnSupplierDomain.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsupplierDomainAsString().- Returns:
- The domain identifier for the supplier in the procurement portal.
- See Also:
-
supplierDomainAsString
The domain identifier for the supplier in the procurement portal.
If the service returns an enum value that is not available in the current SDK version,
supplierDomainwill returnSupplierDomain.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsupplierDomainAsString().- Returns:
- The domain identifier for the supplier in the procurement portal.
- See Also:
-
supplierIdentifier
The unique identifier for the supplier in the procurement portal.
- Returns:
- The unique identifier for the supplier in the procurement portal.
-
selector
Returns the value of the Selector property for this object.- Returns:
- The value of the Selector property for this object.
-
procurementPortalInstanceEndpoint
The endpoint URL where e-invoices are delivered to the procurement portal.
- Returns:
- The endpoint URL where e-invoices are delivered to the procurement portal.
-
purchaseOrderRetrievalEndpoint
The endpoint URL used for retrieving purchase orders from the procurement portal.
- Returns:
- The endpoint URL used for retrieving purchase orders from the procurement portal.
-
testEnvPreference
Configuration on settings for the test environment of the procurement portal.
- Returns:
- Configuration on settings for the test environment of the procurement portal.
-
einvoiceDeliveryEnabled
Indicates whether e-invoice delivery is enabled for this procurement portal preference.
- Returns:
- Indicates whether e-invoice delivery is enabled for this procurement portal preference.
-
einvoiceDeliveryPreference
The configuration settings that specify how e-invoices are delivered to the procurement portal.
- Returns:
- The configuration settings that specify how e-invoices are delivered to the procurement portal.
-
purchaseOrderRetrievalEnabled
Indicates whether purchase order retrieval is enabled for this procurement portal preference.
- Returns:
- Indicates whether purchase order retrieval is enabled for this procurement portal preference.
-
hasContacts
public final boolean hasContacts()For responses, this returns true if the service returned a value for the Contacts property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
contacts
List of contact information for portal administrators and technical contacts.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasContacts()method.- Returns:
- List of contact information for portal administrators and technical contacts.
-
einvoiceDeliveryPreferenceStatus
The current status of the e-invoice delivery preference.
If the service returns an enum value that is not available in the current SDK version,
einvoiceDeliveryPreferenceStatuswill returnProcurementPortalPreferenceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromeinvoiceDeliveryPreferenceStatusAsString().- Returns:
- The current status of the e-invoice delivery preference.
- See Also:
-
einvoiceDeliveryPreferenceStatusAsString
The current status of the e-invoice delivery preference.
If the service returns an enum value that is not available in the current SDK version,
einvoiceDeliveryPreferenceStatuswill returnProcurementPortalPreferenceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromeinvoiceDeliveryPreferenceStatusAsString().- Returns:
- The current status of the e-invoice delivery preference.
- See Also:
-
einvoiceDeliveryPreferenceStatusReason
The reason for the current e-invoice delivery preference status.
- Returns:
- The reason for the current e-invoice delivery preference status.
-
purchaseOrderRetrievalPreferenceStatus
The current status of the purchase order retrieval preference.
If the service returns an enum value that is not available in the current SDK version,
purchaseOrderRetrievalPreferenceStatuswill returnProcurementPortalPreferenceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompurchaseOrderRetrievalPreferenceStatusAsString().- Returns:
- The current status of the purchase order retrieval preference.
- See Also:
-
purchaseOrderRetrievalPreferenceStatusAsString
The current status of the purchase order retrieval preference.
If the service returns an enum value that is not available in the current SDK version,
purchaseOrderRetrievalPreferenceStatuswill returnProcurementPortalPreferenceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompurchaseOrderRetrievalPreferenceStatusAsString().- Returns:
- The current status of the purchase order retrieval preference.
- See Also:
-
purchaseOrderRetrievalPreferenceStatusReason
The reason for the current purchase order retrieval preference status.
- Returns:
- The reason for the current purchase order retrieval preference status.
-
version
The version number of the procurement portal preference configuration.
- Returns:
- The version number of the procurement portal preference configuration.
-
createDate
The date and time when the procurement portal preference was created.
- Returns:
- The date and time when the procurement portal preference was created.
-
lastUpdateDate
The date and time when the procurement portal preference was last updated.
- Returns:
- The date and time when the procurement portal preference was last updated.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ProcurementPortalPreference.Builder,ProcurementPortalPreference> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-