Class Indicator.Builder
- java.lang.Object
- 
- com.oracle.bmc.threatintelligence.model.Indicator.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Indicator.Builderattributes(List<IndicatorAttribute> attributes)A map of attributes with additional information about the indicator.Indicatorbuild()Indicator.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains this indicator.Indicator.Builderconfidence(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.Buildercopy(Indicator model)Indicator.Buildergeodata(GeodataDetails geodata)Indicator.Builderid(String id)The OCID of the indicator.Indicator.BuilderlifecycleState(LifecycleState lifecycleState)The state of the indicator.Indicator.Builderrelationships(List<IndicatorRelationship> relationships)A map of relationships between the indicator and other entities.Indicator.BuilderthreatTypes(List<ThreatType> threatTypes)Characteristics of the threat indicator based on previous observations or behavior.Indicator.BuildertimeCreated(Date timeCreated)The date and time that the indicator was first detected.Indicator.BuildertimeLastSeen(Date timeLastSeen)The date and time that this indicator was last seen.Indicator.BuildertimeUpdated(Date timeUpdated)The date and time that this indicator was last updated.Indicator.Buildertype(IndicatorType type)The type of indicator.Indicator.Buildervalue(String value)The value for this indicator.
 
- 
- 
- 
Method Detail- 
idpublic Indicator.Builder id(String id) The OCID of the indicator.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
typepublic Indicator.Builder type(IndicatorType type) The type of indicator.- Parameters:
- type- the value to set
- Returns:
- this builder
 
 - 
valuepublic 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" - Parameters:
- value- the value to set
- Returns:
- this builder
 
 - 
confidencepublic 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. - Parameters:
- confidence- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic Indicator.Builder compartmentId(String compartmentId) The OCID of the compartment that contains this indicator.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
threatTypespublic Indicator.Builder threatTypes(List<ThreatType> 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
 
 - 
attributespublic 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). - Parameters:
- attributes- the value to set
- Returns:
- this builder
 
 - 
relationshipspublic 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). - Parameters:
- relationships- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic Indicator.Builder lifecycleState(LifecycleState lifecycleState) The state of the indicator.It will always be ACTIVE. - Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic Indicator.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
 
 - 
timeUpdatedpublic 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. - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
timeLastSeenpublic 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. - Parameters:
- timeLastSeen- the value to set
- Returns:
- this builder
 
 - 
geodatapublic Indicator.Builder geodata(GeodataDetails geodata) 
 - 
buildpublic Indicator build() 
 - 
copypublic Indicator.Builder copy(Indicator model) 
 
- 
 
-