@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 the Sighting.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 the Sighting.Builder
, which maintain a
set of all explicitly set fields called Sighting.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
Sighting.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
static Sighting.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getActorPrincipalId()
Unique identifier for principal actor
|
String |
getActorPrincipalName()
Name of the principal actor
|
String |
getActorPrincipalType()
Type of the principal actor
|
Map<String,String> |
getAdditionalDetails()
The additional details for the sighting
|
ClassificationStatus |
getClassificationStatus()
Classification status of the sighting
|
String |
getCompartmentId()
Compartment OCID where the resource is created
|
Confidence |
getConfidence()
Level of confidence that the sighting is not a false positive
|
String |
getDescription()
Description of the sighting
|
String |
getId()
Unique identifier for the sighting
|
List<ResourceLock> |
getLocks()
Locks associated with this resource.
|
String |
getProblemId()
Problem ID associated the sighting
|
List<String> |
getRegions()
List of regions involved in the sighting
|
Severity |
getSeverity()
Severity of the sighting
|
Integer |
getSightingScore()
Score for the sighting
|
String |
getSightingType()
Type of sighting
|
String |
getSightingTypeDisplayName()
Display name of the sighting type
|
String |
getTacticName()
Name of the MITRE ATT@CK framework tactic
|
String |
getTechniqueName()
Name of the MITRE ATT@CK framework technique
|
Date |
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.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static Sighting.Builder builder()
Create a new builder.
public Sighting.Builder toBuilder()
public String getId()
Unique identifier for the sighting
public String getDescription()
Description of the sighting
public String getProblemId()
Problem ID associated the sighting
public String getCompartmentId()
Compartment OCID where the resource is created
public String getActorPrincipalId()
Unique identifier for principal actor
public String getActorPrincipalName()
Name of the principal actor
public String getActorPrincipalType()
Type of the principal actor
public ClassificationStatus getClassificationStatus()
Classification status of the sighting
public String getSightingType()
Type of sighting
public String getSightingTypeDisplayName()
Display name of the sighting type
public String getTacticName()
Name of the MITRE ATT@CK framework tactic
public String getTechniqueName()
Name of the MITRE ATT@CK framework technique
public Integer getSightingScore()
Score for the sighting
public Severity getSeverity()
Severity of the sighting
public Confidence getConfidence()
Level of confidence that the sighting is not a false positive
public Date getTimeFirstDetected()
Time the activities were first detected. Format defined by RFC3339.
public Date getTimeLastDetected()
Time the activities were last detected. Format defined by RFC3339.
public Date getTimeFirstOccurred()
Time the activities were first performed. Format defined by RFC3339.
public Date getTimeLastOccurred()
Time the activities were last performed. Format defined by RFC3339.
public List<String> getRegions()
List of regions involved in the sighting
public Map<String,String> getAdditionalDetails()
The additional details for the sighting
public List<ResourceLock> getLocks()
Locks associated with this resource.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.