Class IndicatorSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • value

        public IndicatorSummary.Builder value​(String value)
        The indicator data value.
        Parameters:
        value - the value to set
        Returns:
        this builder
      • confidence

        public IndicatorSummary.Builder confidence​(Integer confidence)
        An integer from 0 to 100 that represents how certain we are that the indicator is malicious and a potential threat if it is detected communicating with your cloud resources.

        This confidence value is aggregated from the confidence in the threat types, attributes, and relationships to create an overall value for the indicator.

        Parameters:
        confidence - the value to set
        Returns:
        this builder
      • compartmentId

        public IndicatorSummary.Builder compartmentId​(String compartmentId)
        The OCID of the compartment that contains this indicator.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • threatTypes

        public IndicatorSummary.Builder threatTypes​(List<String> threatTypes)
        Characteristics of the threat indicator based on previous observations or behavior.

        May include related tactics, techniques, and procedures.

        Parameters:
        threatTypes - the value to set
        Returns:
        this builder
      • attributes

        public IndicatorSummary.Builder attributes​(List<IndicatorAttributeSummary> attributes)
        A map of attributes with additional information about the indicator.

        Each attribute has a name (string), value (string), and attribution (supporting data).

        Parameters:
        attributes - the value to set
        Returns:
        this builder
      • lifecycleState

        public IndicatorSummary.Builder lifecycleState​(LifecycleState lifecycleState)
        The state of the indicator.

        It will always be ACTIVE.

        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • timeCreated

        public IndicatorSummary.Builder timeCreated​(Date timeCreated)
        The date and time that the indicator was first detected.

        An RFC3339 formatted string.

        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeUpdated

        public IndicatorSummary.Builder timeUpdated​(Date timeUpdated)
        The date and time that this indicator was last updated by the system.

        Updates can include new reports or regular updates in confidence. The value is the same as timeCreated for a new indicator. An RFC3339 formatted string.

        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder
      • timeLastSeen

        public IndicatorSummary.Builder timeLastSeen​(Date timeLastSeen)
        The date and time that this indicator was last seen.

        The value is the same as timeCreated for a new indicator. An RFC3339 formatted string.

        Parameters:
        timeLastSeen - the value to set
        Returns:
        this builder