Interface EmailAddressCoo

All Superinterfaces:
BundleableObject, CyberObservableObject, CyberObservableObjectCommonProperties, GenericValidation, SdoDefaultValidator, Serializable, Stix, StixCustomProperties
All Known Implementing Classes:
EmailAddress

@Immutable @DefaultTypeValue(value="email-addr", groups=DefaultValuesProcessor.class) public interface EmailAddressCoo extends CyberObservableObject
email-addr

The Email Address Object represents a single email address.

  • Method Details

    • getValue

      @JsonPropertyDescription("Specifies a single email address. This MUST not include the display name.") @Pattern(regexp="(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$)") @NotNull @Pattern(regexp="(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$)") @NotNull String getValue()
    • getDisplayName

      @JsonPropertyDescription("Specifies a single email display name, i.e., the name that is displayed to the human user of a mail application.") Optional<String> getDisplayName()
    • getBelongsToRef

      @JsonPropertyDescription("Specifies the user account that the email address belongs to, as a reference to a User Account Object.") Optional<String> getBelongsToRef()
    • getId

      @Derived default String getId()
      Deterministically generates the ID for this email address based on its value.
      Specified by:
      getId in interface BundleableObject
      Specified by:
      getId in interface CyberObservableObjectCommonProperties