Class IdentityInfo

    • Method Detail

      • identityType

        public final IdentityType identityType()

        The email identity type. The identity type can be one of the following:

        • EMAIL_ADDRESS – The identity is an email address.

        • DOMAIN – The identity is a domain.

        • MANAGED_DOMAIN – The identity is a domain that is managed by AWS.

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

        Returns:
        The email identity type. The identity type can be one of the following:

        • EMAIL_ADDRESS – The identity is an email address.

        • DOMAIN – The identity is a domain.

        • MANAGED_DOMAIN – The identity is a domain that is managed by AWS.

        See Also:
        IdentityType
      • identityTypeAsString

        public final String identityTypeAsString()

        The email identity type. The identity type can be one of the following:

        • EMAIL_ADDRESS – The identity is an email address.

        • DOMAIN – The identity is a domain.

        • MANAGED_DOMAIN – The identity is a domain that is managed by AWS.

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

        Returns:
        The email identity type. The identity type can be one of the following:

        • EMAIL_ADDRESS – The identity is an email address.

        • DOMAIN – The identity is a domain.

        • MANAGED_DOMAIN – The identity is a domain that is managed by AWS.

        See Also:
        IdentityType
      • identityName

        public final String identityName()

        The address or domain of the identity.

        Returns:
        The address or domain of the identity.
      • sendingEnabled

        public final Boolean sendingEnabled()

        Indicates whether or not you can send email from the identity.

        In Amazon Pinpoint, an identity is an email address or domain that you send email from. Before you can send email from an identity, you have to demostrate that you own the identity, and that you authorize Amazon Pinpoint to send email from that identity.

        Returns:
        Indicates whether or not you can send email from the identity.

        In Amazon Pinpoint, an identity is an email address or domain that you send email from. Before you can send email from an identity, you have to demostrate that you own the identity, and that you authorize Amazon Pinpoint to send email from that identity.

      • hashCode

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

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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)