Class SightingSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • 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