Package com.oracle.bmc.cloudguard.model
Class Sighting.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudguard.model.Sighting.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Sighting.Builder
actorPrincipalId(String actorPrincipalId)
Unique identifier for principal actorSighting.Builder
actorPrincipalName(String actorPrincipalName)
Name of the principal actorSighting.Builder
actorPrincipalType(String actorPrincipalType)
Type of the principal actorSighting.Builder
additionalDetails(Map<String,String> additionalDetails)
The additional details for the sightingSighting
build()
Sighting.Builder
classificationStatus(ClassificationStatus classificationStatus)
Classification status of the sightingSighting.Builder
compartmentId(String compartmentId)
Compartment OCID where the resource is createdSighting.Builder
confidence(Confidence confidence)
Level of confidence that the sighting is not a false positiveSighting.Builder
copy(Sighting model)
Sighting.Builder
description(String description)
Description of the sightingSighting.Builder
id(String id)
Unique identifier for the sightingSighting.Builder
locks(List<ResourceLock> locks)
Locks associated with this resource.Sighting.Builder
problemId(String problemId)
Problem ID associated the sightingSighting.Builder
regions(List<String> regions)
List of regions involved in the sightingSighting.Builder
severity(Severity severity)
Severity of the sightingSighting.Builder
sightingScore(Integer sightingScore)
Score for the sightingSighting.Builder
sightingType(String sightingType)
Type of sightingSighting.Builder
sightingTypeDisplayName(String sightingTypeDisplayName)
Display name of the sighting typeSighting.Builder
tacticName(String tacticName)
Name of the MITRE ATT@CK framework tacticSighting.Builder
techniqueName(String techniqueName)
Name of the MITRE ATT@CK framework techniqueSighting.Builder
timeFirstDetected(Date timeFirstDetected)
Time the activities were first detected.Sighting.Builder
timeFirstOccurred(Date timeFirstOccurred)
Time the activities were first performed.Sighting.Builder
timeLastDetected(Date timeLastDetected)
Time the activities were last detected.Sighting.Builder
timeLastOccurred(Date timeLastOccurred)
Time the activities were last performed.
-
-
-
Method Detail
-
id
public Sighting.Builder id(String id)
Unique identifier for the sighting- Parameters:
id
- the value to set- Returns:
- this builder
-
description
public Sighting.Builder description(String description)
Description of the sighting- Parameters:
description
- the value to set- Returns:
- this builder
-
problemId
public Sighting.Builder problemId(String problemId)
Problem ID associated the sighting- Parameters:
problemId
- the value to set- Returns:
- this builder
-
compartmentId
public Sighting.Builder compartmentId(String compartmentId)
Compartment OCID where the resource is created- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
actorPrincipalId
public Sighting.Builder actorPrincipalId(String actorPrincipalId)
Unique identifier for principal actor- Parameters:
actorPrincipalId
- the value to set- Returns:
- this builder
-
actorPrincipalName
public Sighting.Builder actorPrincipalName(String actorPrincipalName)
Name of the principal actor- Parameters:
actorPrincipalName
- the value to set- Returns:
- this builder
-
actorPrincipalType
public Sighting.Builder actorPrincipalType(String actorPrincipalType)
Type of the principal actor- Parameters:
actorPrincipalType
- the value to set- Returns:
- this builder
-
classificationStatus
public Sighting.Builder classificationStatus(ClassificationStatus classificationStatus)
Classification status of the sighting- Parameters:
classificationStatus
- the value to set- Returns:
- this builder
-
sightingType
public Sighting.Builder sightingType(String sightingType)
Type of sighting- Parameters:
sightingType
- the value to set- Returns:
- this builder
-
sightingTypeDisplayName
public Sighting.Builder sightingTypeDisplayName(String sightingTypeDisplayName)
Display name of the sighting type- Parameters:
sightingTypeDisplayName
- the value to set- Returns:
- this builder
-
tacticName
public Sighting.Builder tacticName(String tacticName)
Name of the MITRE ATT@CK framework tactic- Parameters:
tacticName
- the value to set- Returns:
- this builder
-
techniqueName
public Sighting.Builder techniqueName(String techniqueName)
Name of the MITRE ATT@CK framework technique- Parameters:
techniqueName
- the value to set- Returns:
- this builder
-
sightingScore
public Sighting.Builder sightingScore(Integer sightingScore)
Score for the sighting- Parameters:
sightingScore
- the value to set- Returns:
- this builder
-
severity
public Sighting.Builder severity(Severity severity)
Severity of the sighting- Parameters:
severity
- the value to set- Returns:
- this builder
-
confidence
public Sighting.Builder confidence(Confidence confidence)
Level of confidence that the sighting is not a false positive- Parameters:
confidence
- the value to set- Returns:
- this builder
-
timeFirstDetected
public Sighting.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 Sighting.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 Sighting.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 Sighting.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 Sighting.Builder regions(List<String> regions)
List of regions involved in the sighting- Parameters:
regions
- the value to set- Returns:
- this builder
-
additionalDetails
public Sighting.Builder additionalDetails(Map<String,String> additionalDetails)
The additional details for the sighting- Parameters:
additionalDetails
- the value to set- Returns:
- this builder
-
locks
public Sighting.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.- Parameters:
locks
- the value to set- Returns:
- this builder
-
build
public Sighting build()
-
copy
public Sighting.Builder copy(Sighting model)
-
-