Class CreatePartnershipResponse

    • Method Detail

      • profileId

        public final String profileId()

        Returns the unique, system-generated identifier for the profile connected to this partnership.

        Returns:
        Returns the unique, system-generated identifier for the profile connected to this partnership.
      • partnershipId

        public final String partnershipId()

        Returns the unique, system-generated identifier for a partnership.

        Returns:
        Returns the unique, system-generated identifier for a partnership.
      • partnershipArn

        public final String partnershipArn()

        Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer.

        Returns:
        Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer.
      • name

        public final String name()

        Returns a descriptive name for the partnership.

        Returns:
        Returns a descriptive name for the partnership.
      • email

        public final String email()

        Returns the email address associated with this trading partner.

        Returns:
        Returns the email address associated with this trading partner.
      • phone

        public final String phone()

        Returns the phone number associated with the partnership.

        Returns:
        Returns the phone number associated with the partnership.
      • hasCapabilities

        public final boolean hasCapabilities()
        For responses, this returns true if the service returned a value for the Capabilities property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() 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.
      • capabilities

        public final List<String> capabilities()

        Returns one or more capabilities associated with this partnership.

        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 hasCapabilities() method.

        Returns:
        Returns one or more capabilities associated with this partnership.
      • tradingPartnerId

        public final String tradingPartnerId()

        Returns the unique, system-generated identifier for a trading partner.

        Returns:
        Returns the unique, system-generated identifier for a trading partner.
      • createdAt

        public final Instant createdAt()

        Returns a timestamp for creation date and time of the partnership.

        Returns:
        Returns a timestamp for creation date and time of the partnership.
      • 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