@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,
List<String> regions,
Map<String,String> additionalDetails)
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 of the Sighting
|
ClassificationStatus |
getClassificationStatus()
ClassificationStatus of the sighting event
|
String |
getCompartmentId()
Compartment Id where the resource is created
|
Confidence |
getConfidence()
Confidence of the sighting
|
String |
getDescription()
Description of the sighting event
|
String |
getId()
Unique identifier for sighting event
|
String |
getProblemId()
Problem Id to which the Sighting is associated
|
List<String> |
getRegions()
regions involved in the sighting
|
Severity |
getSeverity()
Severity of the sighting
|
Integer |
getSightingScore()
Score for the sighting
|
String |
getSightingType()
Identifier for the sighting type
|
String |
getSightingTypeDisplayName()
Display name of the sighting type
|
String |
getTacticName()
Name of the Mitre att&ck tactic
|
String |
getTechniqueName()
Name of the Mitre att&ck technique
|
Date |
getTimeFirstDetected()
The date and time the sighting was first detected.
|
Date |
getTimeLastDetected()
The date and time the sighting was last detected.
|
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","regions","additionalDetails"}) 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, List<String> regions, Map<String,String> additionalDetails)
public static Sighting.Builder builder()
Create a new builder.
public Sighting.Builder toBuilder()
public String getId()
Unique identifier for sighting event
public String getDescription()
Description of the sighting event
public String getProblemId()
Problem Id to which the Sighting is associated
public String getCompartmentId()
Compartment Id 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()
ClassificationStatus of the sighting event
public String getSightingType()
Identifier for the sighting type
public String getSightingTypeDisplayName()
Display name of the sighting type
public String getTacticName()
Name of the Mitre att&ck tactic
public String getTechniqueName()
Name of the Mitre att&ck technique
public Integer getSightingScore()
Score for the sighting
public Severity getSeverity()
Severity of the sighting
public Confidence getConfidence()
Confidence of the sighting
public Date getTimeFirstDetected()
The date and time the sighting was first detected. Format defined by RFC3339.
public Date getTimeLastDetected()
The date and time the sighting was last detected. Format defined by RFC3339.
public Map<String,String> getAdditionalDetails()
The additional details of the Sighting
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.