Class ThreatIntelligenceExternalReference

java.lang.Object
com.azure.resourcemanager.securityinsights.models.ThreatIntelligenceExternalReference

public final class ThreatIntelligenceExternalReference extends Object
Describes external reference.
  • Constructor Details

    • ThreatIntelligenceExternalReference

      public ThreatIntelligenceExternalReference()
  • Method Details

    • description

      public String description()
      Get the description property: External reference description.
      Returns:
      the description value.
    • withDescription

      public ThreatIntelligenceExternalReference withDescription(String description)
      Set the description property: External reference description.
      Parameters:
      description - the description value to set.
      Returns:
      the ThreatIntelligenceExternalReference object itself.
    • externalId

      public String externalId()
      Get the externalId property: External reference ID.
      Returns:
      the externalId value.
    • withExternalId

      public ThreatIntelligenceExternalReference withExternalId(String externalId)
      Set the externalId property: External reference ID.
      Parameters:
      externalId - the externalId value to set.
      Returns:
      the ThreatIntelligenceExternalReference object itself.
    • sourceName

      public String sourceName()
      Get the sourceName property: External reference source name.
      Returns:
      the sourceName value.
    • withSourceName

      public ThreatIntelligenceExternalReference withSourceName(String sourceName)
      Set the sourceName property: External reference source name.
      Parameters:
      sourceName - the sourceName value to set.
      Returns:
      the ThreatIntelligenceExternalReference object itself.
    • url

      public String url()
      Get the url property: External reference URL.
      Returns:
      the url value.
    • withUrl

      Set the url property: External reference URL.
      Parameters:
      url - the url value to set.
      Returns:
      the ThreatIntelligenceExternalReference object itself.
    • hashes

      public Map<String,String> hashes()
      Get the hashes property: External reference hashes.
      Returns:
      the hashes value.
    • withHashes

      Set the hashes property: External reference hashes.
      Parameters:
      hashes - the hashes value to set.
      Returns:
      the ThreatIntelligenceExternalReference object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.