Class ThreatType.Builder
- java.lang.Object
-
- com.oracle.bmc.threatintelligence.model.ThreatType.Builder
-
- Enclosing class:
- ThreatType
public static class ThreatType.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThreatType.Builder
attribution(List<DataAttribution> attribution)
The list of supporting attribution information.ThreatType
build()
ThreatType.Builder
copy(ThreatType model)
ThreatType.Builder
id(String id)
The OCID of the threat type.ThreatType.Builder
name(String name)
The name of the threat type.
-
-
-
Method Detail
-
id
public ThreatType.Builder id(String id)
The OCID of the threat type.- Parameters:
id
- the value to set- Returns:
- this builder
-
name
public ThreatType.Builder name(String name)
The name of the threat type.- Parameters:
name
- the value to set- Returns:
- this builder
-
attribution
public ThreatType.Builder attribution(List<DataAttribution> attribution)
The list of supporting attribution information.- Parameters:
attribution
- the value to set- Returns:
- this builder
-
build
public ThreatType build()
-
copy
public ThreatType.Builder copy(ThreatType model)
-
-