Package com.oracle.bmc.cloudguard.model
Class SightingSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudguard.model.SightingSummary.Builder
-
- Enclosing class:
- SightingSummary
public static class SightingSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SightingSummary.Builder
actorPrincipalId(String actorPrincipalId)
Unique identifier for principal actorSightingSummary.Builder
actorPrincipalName(String actorPrincipalName)
Name of principal actorSightingSummary.Builder
actorPrincipalType(String actorPrincipalType)
Type of principal actorSightingSummary
build()
SightingSummary.Builder
classificationStatus(ClassificationStatus classificationStatus)
Classification status of the sightingSightingSummary.Builder
compartmentId(String compartmentId)
Compartment OCID where the impacted resource is createdSightingSummary.Builder
confidence(Confidence confidence)
Confidence level that the sighting is not a false positiveSightingSummary.Builder
copy(SightingSummary model)
SightingSummary.Builder
detectorRuleId(String detectorRuleId)
Unique identifier of the detector rule that was triggeredSightingSummary.Builder
id(String id)
Unique identifier for sightingSightingSummary.Builder
problemId(String problemId)
Problem ID associated with sightingSightingSummary.Builder
regions(List<String> regions)
List of regions involved in the sightingSightingSummary.Builder
severity(Severity severity)
Severity of the sightingSightingSummary.Builder
sightingScore(Integer sightingScore)
Score for the sightingSightingSummary.Builder
sightingType(String sightingType)
Type of sightingSightingSummary.Builder
sightingTypeDisplayName(String sightingTypeDisplayName)
Display name of the sighting typeSightingSummary.Builder
tacticName(String tacticName)
Name of the MITRE ATT@CK framework tacticSightingSummary.Builder
techniqueName(String techniqueName)
Name of the MITRE ATT@CK framework techniqueSightingSummary.Builder
timeFirstDetected(Date timeFirstDetected)
Time the activities were first detected.SightingSummary.Builder
timeFirstOccurred(Date timeFirstOccurred)
Time the activities were first performed.SightingSummary.Builder
timeLastDetected(Date timeLastDetected)
Time the activities were last detected.SightingSummary.Builder
timeLastOccurred(Date timeLastOccurred)
Time the activities were last performed.
-
-
-
Method Detail
-
id
public SightingSummary.Builder id(String id)
Unique identifier for sighting- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public SightingSummary.Builder compartmentId(String compartmentId)
Compartment OCID where the impacted resource is created- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
problemId
public SightingSummary.Builder problemId(String problemId)
Problem ID associated with sighting- Parameters:
problemId
- the value to set- Returns:
- this builder
-
actorPrincipalId
public SightingSummary.Builder actorPrincipalId(String actorPrincipalId)
Unique identifier for principal actor- Parameters:
actorPrincipalId
- the value to set- Returns:
- this builder
-
actorPrincipalName
public SightingSummary.Builder actorPrincipalName(String actorPrincipalName)
Name of principal actor- Parameters:
actorPrincipalName
- the value to set- Returns:
- this builder
-
actorPrincipalType
public SightingSummary.Builder actorPrincipalType(String actorPrincipalType)
Type of principal actor- Parameters:
actorPrincipalType
- the value to set- Returns:
- this builder
-
detectorRuleId
public SightingSummary.Builder detectorRuleId(String detectorRuleId)
Unique identifier of the detector rule that was triggered- Parameters:
detectorRuleId
- the value to set- Returns:
- this builder
-
classificationStatus
public SightingSummary.Builder classificationStatus(ClassificationStatus classificationStatus)
Classification status of the sighting- Parameters:
classificationStatus
- the value to set- Returns:
- this builder
-
sightingType
public SightingSummary.Builder sightingType(String sightingType)
Type of sighting- Parameters:
sightingType
- the value to set- Returns:
- this builder
-
sightingTypeDisplayName
public SightingSummary.Builder sightingTypeDisplayName(String sightingTypeDisplayName)
Display name of the sighting type- Parameters:
sightingTypeDisplayName
- the value to set- Returns:
- this builder
-
tacticName
public SightingSummary.Builder tacticName(String tacticName)
Name of the MITRE ATT@CK framework tactic- Parameters:
tacticName
- the value to set- Returns:
- this builder
-
techniqueName
public SightingSummary.Builder techniqueName(String techniqueName)
Name of the MITRE ATT@CK framework technique- Parameters:
techniqueName
- the value to set- Returns:
- this builder
-
sightingScore
public SightingSummary.Builder sightingScore(Integer sightingScore)
Score for the sighting- Parameters:
sightingScore
- the value to set- Returns:
- this builder
-
severity
public SightingSummary.Builder severity(Severity severity)
Severity of the sighting- Parameters:
severity
- the value to set- Returns:
- this builder
-
confidence
public SightingSummary.Builder confidence(Confidence confidence)
Confidence level that the sighting is not a false positive- Parameters:
confidence
- the value to set- Returns:
- this builder
-
timeFirstDetected
public SightingSummary.Builder timeFirstDetected(Date timeFirstDetected)
Time the activities were first detected.Format defined by RFC3339.
- Parameters:
timeFirstDetected
- the value to set- Returns:
- this builder
-
timeLastDetected
public SightingSummary.Builder timeLastDetected(Date timeLastDetected)
Time the activities were last detected.Format defined by RFC3339.
- Parameters:
timeLastDetected
- the value to set- Returns:
- this builder
-
timeFirstOccurred
public SightingSummary.Builder timeFirstOccurred(Date timeFirstOccurred)
Time the activities were first performed.Format defined by RFC3339.
- Parameters:
timeFirstOccurred
- the value to set- Returns:
- this builder
-
timeLastOccurred
public SightingSummary.Builder timeLastOccurred(Date timeLastOccurred)
Time the activities were last performed.Format defined by RFC3339.
- Parameters:
timeLastOccurred
- the value to set- Returns:
- this builder
-
regions
public SightingSummary.Builder regions(List<String> regions)
List of regions involved in the sighting- Parameters:
regions
- the value to set- Returns:
- this builder
-
build
public SightingSummary build()
-
copy
public SightingSummary.Builder copy(SightingSummary model)
-
-