Class RegistrationAssociationMetadata

    • Method Detail

      • resourceArn

        public final String resourceArn()

        The Amazon Resource Name (ARN) of the origination identity that is associated with the registration.

        Returns:
        The Amazon Resource Name (ARN) of the origination identity that is associated with the registration.
      • resourceId

        public final String resourceId()

        The unique identifier for the origination identity. For example this could be a PhoneNumberId or SenderId.

        Returns:
        The unique identifier for the origination identity. For example this could be a PhoneNumberId or SenderId.
      • resourceType

        public final String resourceType()

        The origination identity type.

        Returns:
        The origination identity type.
      • isoCountryCode

        public final String isoCountryCode()

        The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

        Returns:
        The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
      • phoneNumber

        public final String phoneNumber()

        The phone number associated with the registration in E.164 format.

        Returns:
        The phone number associated with the registration in E.164 format.
      • 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)