Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Indicator.Builder |
attributes(List<IndicatorAttribute> attributes)
A map of attributes with additional information about the indicator.
|
Indicator |
build() |
Indicator.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains this indicator.
|
Indicator.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.
|
Indicator.Builder |
copy(Indicator model) |
Indicator.Builder |
geodata(GeodataDetails geodata) |
Indicator.Builder |
id(String id)
The OCID of the indicator.
|
Indicator.Builder |
lifecycleState(LifecycleState lifecycleState)
The state of the indicator.
|
Indicator.Builder |
relationships(List<IndicatorRelationship> relationships)
A map of relationships between the indicator and other entities.
|
Indicator.Builder |
threatTypes(List<ThreatType> threatTypes)
Characteristics of the threat indicator based on previous observations or behavior.
|
Indicator.Builder |
timeCreated(Date timeCreated)
The date and time that the indicator was first detected.
|
Indicator.Builder |
timeLastSeen(Date timeLastSeen)
The date and time that this indicator was last seen.
|
Indicator.Builder |
timeUpdated(Date timeUpdated)
The date and time that this indicator was last updated.
|
Indicator.Builder |
type(IndicatorType type)
The type of indicator.
|
Indicator.Builder |
value(String value)
The value for this indicator.
|
public Indicator.Builder id(String id)
The OCID of the indicator.
id
- the value to setpublic Indicator.Builder type(IndicatorType type)
The type of indicator.
type
- the value to setpublic Indicator.Builder value(String value)
The value for this indicator. The value’s format is dependent upon its type
.
Examples:
DOMAIN_NAME "evil.example.com"
MD5_HASH "44d88612fea8a8f36de82e1278abb02f"
IP_ADDRESS "2001:db8::1"
value
- the value to setpublic Indicator.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.
confidence
- the value to setpublic Indicator.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains this indicator.
compartmentId
- the value to setpublic Indicator.Builder threatTypes(List<ThreatType> threatTypes)
Characteristics of the threat indicator based on previous observations or behavior. May include related tactics, techniques, and procedures.
threatTypes
- the value to setpublic Indicator.Builder attributes(List<IndicatorAttribute> attributes)
A map of attributes with additional information about the indicator. Each attribute has a name (string), value (string), and attribution (supporting data).
attributes
- the value to setpublic Indicator.Builder relationships(List<IndicatorRelationship> relationships)
A map of relationships between the indicator and other entities. Each relationship has a name (string), related entity, and attribution (supporting data).
relationships
- the value to setpublic Indicator.Builder lifecycleState(LifecycleState lifecycleState)
The state of the indicator. It will always be ACTIVE
.
lifecycleState
- the value to setpublic Indicator.Builder timeCreated(Date timeCreated)
The date and time that the indicator was first detected. An RFC3339 formatted string.
timeCreated
- the value to setpublic Indicator.Builder timeUpdated(Date timeUpdated)
The date and time that this indicator was last updated. The value is the same as timeCreated
for a new indicator. An RFC3339 formatted string.
timeUpdated
- the value to setpublic Indicator.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.
timeLastSeen
- the value to setpublic Indicator.Builder geodata(GeodataDetails geodata)
public Indicator build()
public Indicator.Builder copy(Indicator model)
Copyright © 2016–2024. All rights reserved.