Class ThreatIntelligenceExternalReference
java.lang.Object
com.azure.resourcemanager.securityinsights.models.ThreatIntelligenceExternalReference
Describes external reference.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the description property: External reference description.Get the externalId property: External reference ID.hashes()
Get the hashes property: External reference hashes.Get the sourceName property: External reference source name.url()
Get the url property: External reference URL.void
validate()
Validates the instance.withDescription
(String description) Set the description property: External reference description.withExternalId
(String externalId) Set the externalId property: External reference ID.withHashes
(Map<String, String> hashes) Set the hashes property: External reference hashes.withSourceName
(String sourceName) Set the sourceName property: External reference source name.Set the url property: External reference URL.
-
Constructor Details
-
ThreatIntelligenceExternalReference
public ThreatIntelligenceExternalReference()
-
-
Method Details
-
description
Get the description property: External reference description.- Returns:
- the description value.
-
withDescription
Set the description property: External reference description.- Parameters:
description
- the description value to set.- Returns:
- the ThreatIntelligenceExternalReference object itself.
-
externalId
Get the externalId property: External reference ID.- Returns:
- the externalId value.
-
withExternalId
Set the externalId property: External reference ID.- Parameters:
externalId
- the externalId value to set.- Returns:
- the ThreatIntelligenceExternalReference object itself.
-
sourceName
Get the sourceName property: External reference source name.- Returns:
- the sourceName value.
-
withSourceName
Set the sourceName property: External reference source name.- Parameters:
sourceName
- the sourceName value to set.- Returns:
- the ThreatIntelligenceExternalReference object itself.
-
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
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.
-