Class ProcurementPortalPreferenceSummary

java.lang.Object
software.amazon.awssdk.services.invoicing.model.ProcurementPortalPreferenceSummary
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<ProcurementPortalPreferenceSummary.Builder,ProcurementPortalPreferenceSummary>

@Generated("software.amazon.awssdk:codegen") public final class ProcurementPortalPreferenceSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ProcurementPortalPreferenceSummary.Builder,ProcurementPortalPreferenceSummary>

Provides a summary of a procurement portal preference, including key identifiers and status information.

See Also:
  • Method Details

    • awsAccountId

      public final String awsAccountId()

      The Amazon Web Services account ID associated with this procurement portal preference summary.

      Returns:
      The Amazon Web Services account ID associated with this procurement portal preference summary.
    • procurementPortalPreferenceArn

      public final String procurementPortalPreferenceArn()

      The Amazon Resource Name (ARN) of the procurement portal preference.

      Returns:
      The Amazon Resource Name (ARN) of the procurement portal preference.
    • procurementPortalName

      public final ProcurementPortalName procurementPortalName()

      The name of the procurement portal.

      If the service returns an enum value that is not available in the current SDK version, procurementPortalName will return ProcurementPortalName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from procurementPortalNameAsString().

      Returns:
      The name of the procurement portal.
      See Also:
    • procurementPortalNameAsString

      public final String procurementPortalNameAsString()

      The name of the procurement portal.

      If the service returns an enum value that is not available in the current SDK version, procurementPortalName will return ProcurementPortalName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from procurementPortalNameAsString().

      Returns:
      The name of the procurement portal.
      See Also:
    • buyerDomain

      public final BuyerDomain 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, buyerDomain will return BuyerDomain.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from buyerDomainAsString().

      Returns:
      The domain identifier for the buyer in the procurement portal.
      See Also:
    • buyerDomainAsString

      public final String 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, buyerDomain will return BuyerDomain.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from buyerDomainAsString().

      Returns:
      The domain identifier for the buyer in the procurement portal.
      See Also:
    • buyerIdentifier

      public final String buyerIdentifier()

      The unique identifier for the buyer in the procurement portal.

      Returns:
      The unique identifier for the buyer in the procurement portal.
    • supplierDomain

      public final SupplierDomain 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, supplierDomain will return SupplierDomain.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from supplierDomainAsString().

      Returns:
      The domain identifier for the supplier in the procurement portal.
      See Also:
    • supplierDomainAsString

      public final String 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, supplierDomain will return SupplierDomain.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from supplierDomainAsString().

      Returns:
      The domain identifier for the supplier in the procurement portal.
      See Also:
    • supplierIdentifier

      public final String supplierIdentifier()

      The unique identifier for the supplier in the procurement portal.

      Returns:
      The unique identifier for the supplier in the procurement portal.
    • selector

      public final ProcurementPortalPreferenceSelector selector()
      Returns the value of the Selector property for this object.
      Returns:
      The value of the Selector property for this object.
    • einvoiceDeliveryEnabled

      public final Boolean 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.
    • purchaseOrderRetrievalEnabled

      public final Boolean 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.
    • einvoiceDeliveryPreferenceStatus

      public final ProcurementPortalPreferenceStatus einvoiceDeliveryPreferenceStatus()

      The current status of the e-invoice delivery preference in this summary.

      If the service returns an enum value that is not available in the current SDK version, einvoiceDeliveryPreferenceStatus will return ProcurementPortalPreferenceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from einvoiceDeliveryPreferenceStatusAsString().

      Returns:
      The current status of the e-invoice delivery preference in this summary.
      See Also:
    • einvoiceDeliveryPreferenceStatusAsString

      public final String einvoiceDeliveryPreferenceStatusAsString()

      The current status of the e-invoice delivery preference in this summary.

      If the service returns an enum value that is not available in the current SDK version, einvoiceDeliveryPreferenceStatus will return ProcurementPortalPreferenceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from einvoiceDeliveryPreferenceStatusAsString().

      Returns:
      The current status of the e-invoice delivery preference in this summary.
      See Also:
    • einvoiceDeliveryPreferenceStatusReason

      public final String einvoiceDeliveryPreferenceStatusReason()

      The reason for the current e-invoice delivery preference status in this summary.

      Returns:
      The reason for the current e-invoice delivery preference status in this summary.
    • purchaseOrderRetrievalPreferenceStatus

      public final ProcurementPortalPreferenceStatus purchaseOrderRetrievalPreferenceStatus()

      The current status of the purchase order retrieval preference in this summary.

      If the service returns an enum value that is not available in the current SDK version, purchaseOrderRetrievalPreferenceStatus will return ProcurementPortalPreferenceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from purchaseOrderRetrievalPreferenceStatusAsString().

      Returns:
      The current status of the purchase order retrieval preference in this summary.
      See Also:
    • purchaseOrderRetrievalPreferenceStatusAsString

      public final String purchaseOrderRetrievalPreferenceStatusAsString()

      The current status of the purchase order retrieval preference in this summary.

      If the service returns an enum value that is not available in the current SDK version, purchaseOrderRetrievalPreferenceStatus will return ProcurementPortalPreferenceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from purchaseOrderRetrievalPreferenceStatusAsString().

      Returns:
      The current status of the purchase order retrieval preference in this summary.
      See Also:
    • purchaseOrderRetrievalPreferenceStatusReason

      public final String purchaseOrderRetrievalPreferenceStatusReason()

      The reason for the current purchase order retrieval preference status in this summary.

      Returns:
      The reason for the current purchase order retrieval preference status in this summary.
    • version

      public final Long version()

      The version number of the procurement portal preference configuration in this summary.

      Returns:
      The version number of the procurement portal preference configuration in this summary.
    • createDate

      public final Instant 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

      public final Instant 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: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<ProcurementPortalPreferenceSummary.Builder,ProcurementPortalPreferenceSummary>
      Returns:
      a builder for type T
    • builder

    • serializableBuilderClass

      public static Class<? extends ProcurementPortalPreferenceSummary.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • toString

      public final String toString()
      Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo
      Returns:
      The mapping between the field name and its corresponding field.