Package com.oracle.bmc.cloudguard.model
Class Sighting
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.cloudguard.model.Sighting
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200131") public final class Sighting extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Sighting details.
Note: Objects should always be created or deserialized using theSighting.Builder
. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theSighting.Builder
, which maintain a set of all explicitly set fields calledSighting.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Sighting.Builder
-
Constructor Summary
Constructors Constructor Description Sighting(String id, String description, String problemId, String compartmentId, String actorPrincipalId, String actorPrincipalName, String actorPrincipalType, ClassificationStatus classificationStatus, String sightingType, String sightingTypeDisplayName, String tacticName, String techniqueName, Integer sightingScore, Severity severity, Confidence confidence, Date timeFirstDetected, Date timeLastDetected, Date timeFirstOccurred, Date timeLastOccurred, List<String> regions, Map<String,String> additionalDetails, List<ResourceLock> locks)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Sighting.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getActorPrincipalId()
Unique identifier for principal actorString
getActorPrincipalName()
Name of the principal actorString
getActorPrincipalType()
Type of the principal actorMap<String,String>
getAdditionalDetails()
The additional details for the sightingClassificationStatus
getClassificationStatus()
Classification status of the sightingString
getCompartmentId()
Compartment OCID where the resource is createdConfidence
getConfidence()
Level of confidence that the sighting is not a false positiveString
getDescription()
Description of the sightingString
getId()
Unique identifier for the sightingList<ResourceLock>
getLocks()
Locks associated with this resource.String
getProblemId()
Problem ID associated the sightingList<String>
getRegions()
List of regions involved in the sightingSeverity
getSeverity()
Severity of the sightingInteger
getSightingScore()
Score for the sightingString
getSightingType()
Type of sightingString
getSightingTypeDisplayName()
Display name of the sighting typeString
getTacticName()
Name of the MITRE ATT@CK framework tacticString
getTechniqueName()
Name of the MITRE ATT@CK framework techniqueDate
getTimeFirstDetected()
Time the activities were first detected.Date
getTimeFirstOccurred()
Time the activities were first performed.Date
getTimeLastDetected()
Time the activities were last detected.Date
getTimeLastOccurred()
Time the activities were last performed.int
hashCode()
Sighting.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
Sighting
@Deprecated @ConstructorProperties({"id","description","problemId","compartmentId","actorPrincipalId","actorPrincipalName","actorPrincipalType","classificationStatus","sightingType","sightingTypeDisplayName","tacticName","techniqueName","sightingScore","severity","confidence","timeFirstDetected","timeLastDetected","timeFirstOccurred","timeLastOccurred","regions","additionalDetails","locks"}) public Sighting(String id, String description, String problemId, String compartmentId, String actorPrincipalId, String actorPrincipalName, String actorPrincipalType, ClassificationStatus classificationStatus, String sightingType, String sightingTypeDisplayName, String tacticName, String techniqueName, Integer sightingScore, Severity severity, Confidence confidence, Date timeFirstDetected, Date timeLastDetected, Date timeFirstOccurred, Date timeLastOccurred, List<String> regions, Map<String,String> additionalDetails, List<ResourceLock> locks)
Deprecated.
-
-
Method Detail
-
builder
public static Sighting.Builder builder()
Create a new builder.
-
toBuilder
public Sighting.Builder toBuilder()
-
getId
public String getId()
Unique identifier for the sighting- Returns:
- the value
-
getDescription
public String getDescription()
Description of the sighting- Returns:
- the value
-
getProblemId
public String getProblemId()
Problem ID associated the sighting- Returns:
- the value
-
getCompartmentId
public String getCompartmentId()
Compartment OCID where the resource is created- Returns:
- the value
-
getActorPrincipalId
public String getActorPrincipalId()
Unique identifier for principal actor- Returns:
- the value
-
getActorPrincipalName
public String getActorPrincipalName()
Name of the principal actor- Returns:
- the value
-
getActorPrincipalType
public String getActorPrincipalType()
Type of the principal actor- Returns:
- the value
-
getClassificationStatus
public ClassificationStatus getClassificationStatus()
Classification status of the sighting- Returns:
- the value
-
getSightingType
public String getSightingType()
Type of sighting- Returns:
- the value
-
getSightingTypeDisplayName
public String getSightingTypeDisplayName()
Display name of the sighting type- Returns:
- the value
-
getTacticName
public String getTacticName()
Name of the MITRE ATT@CK framework tactic- Returns:
- the value
-
getTechniqueName
public String getTechniqueName()
Name of the MITRE ATT@CK framework technique- Returns:
- the value
-
getSightingScore
public Integer getSightingScore()
Score for the sighting- Returns:
- the value
-
getSeverity
public Severity getSeverity()
Severity of the sighting- Returns:
- the value
-
getConfidence
public Confidence getConfidence()
Level of confidence that the sighting is not a false positive- Returns:
- the value
-
getTimeFirstDetected
public Date getTimeFirstDetected()
Time the activities were first detected.Format defined by RFC3339.
- Returns:
- the value
-
getTimeLastDetected
public Date getTimeLastDetected()
Time the activities were last detected.Format defined by RFC3339.
- Returns:
- the value
-
getTimeFirstOccurred
public Date getTimeFirstOccurred()
Time the activities were first performed.Format defined by RFC3339.
- Returns:
- the value
-
getTimeLastOccurred
public Date getTimeLastOccurred()
Time the activities were last performed.Format defined by RFC3339.
- Returns:
- the value
-
getRegions
public List<String> getRegions()
List of regions involved in the sighting- Returns:
- the value
-
getAdditionalDetails
public Map<String,String> getAdditionalDetails()
The additional details for the sighting- Returns:
- the value
-
getLocks
public List<ResourceLock> getLocks()
Locks associated with this resource.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-