Class IndicatorSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.threatintelligence.model.IndicatorSummary.Builder
-
- Enclosing class:
- IndicatorSummary
public static class IndicatorSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IndicatorSummary.Builder
attributes(List<IndicatorAttributeSummary> attributes)
A map of attributes with additional information about the indicator.IndicatorSummary
build()
IndicatorSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment that contains this indicator.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.IndicatorSummary.Builder
copy(IndicatorSummary model)
IndicatorSummary.Builder
geodata(GeodataDetails geodata)
IndicatorSummary.Builder
id(String id)
The OCID of the indicator.IndicatorSummary.Builder
lifecycleState(LifecycleState lifecycleState)
The state of the indicator.IndicatorSummary.Builder
threatTypes(List<String> threatTypes)
Characteristics of the threat indicator based on previous observations or behavior.IndicatorSummary.Builder
timeCreated(Date timeCreated)
The date and time that the indicator was first detected.IndicatorSummary.Builder
timeLastSeen(Date timeLastSeen)
The date and time that this indicator was last seen.IndicatorSummary.Builder
timeUpdated(Date timeUpdated)
The date and time that this indicator was last updated by the system.IndicatorSummary.Builder
type(IndicatorType type)
The type of indicator.IndicatorSummary.Builder
value(String value)
The indicator data value.
-
-
-
Method Detail
-
id
public IndicatorSummary.Builder id(String id)
The OCID of the indicator.- Parameters:
id
- the value to set- Returns:
- this builder
-
type
public IndicatorSummary.Builder type(IndicatorType type)
The type of indicator.- Parameters:
type
- the value to set- Returns:
- this builder
-
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
-
geodata
public IndicatorSummary.Builder geodata(GeodataDetails geodata)
-
build
public IndicatorSummary build()
-
copy
public IndicatorSummary.Builder copy(IndicatorSummary model)
-
-