Package com.oracle.bmc.cloudguard.model
Class TargetDetectorRecipe.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudguard.model.TargetDetectorRecipe.Builder
-
- Enclosing class:
- TargetDetectorRecipe
public static class TargetDetectorRecipe.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TargetDetectorRecipe
build()
TargetDetectorRecipe.Builder
compartmentId(String compartmentId)
Compartment OCID of the detector recipeTargetDetectorRecipe.Builder
copy(TargetDetectorRecipe model)
TargetDetectorRecipe.Builder
description(String description)
Detector recipe description.TargetDetectorRecipe.Builder
detector(DetectorEnum detector)
Type of detectorTargetDetectorRecipe.Builder
detectorRecipeId(String detectorRecipeId)
Unique identifier for of original Oracle-managed detector recipe on which the TargetDetectorRecipe is basedTargetDetectorRecipe.Builder
detectorRecipeType(DetectorRecipeEnum detectorRecipeType)
Recipe type ( STANDARD, ENTERPRISE )TargetDetectorRecipe.Builder
detectorRules(List<TargetDetectorRecipeDetectorRule> detectorRules)
List of detector rules for the detector recipe - user inputTargetDetectorRecipe.Builder
displayName(String displayName)
Display name of the detector recipeTargetDetectorRecipe.Builder
effectiveDetectorRules(List<TargetDetectorRecipeDetectorRule> effectiveDetectorRules)
List of currently enabled detector rules for the detector type for recipe after applying defaultsTargetDetectorRecipe.Builder
id(String id)
OCID for the detector recipeTargetDetectorRecipe.Builder
lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the resourceTargetDetectorRecipe.Builder
locks(List<ResourceLock> locks)
Locks associated with this resource.TargetDetectorRecipe.Builder
owner(OwnerType owner)
Owner of the detector recipeTargetDetectorRecipe.Builder
sourceDataRetention(Integer sourceDataRetention)
The number of days for which source data is retainedTargetDetectorRecipe.Builder
timeCreated(Date timeCreated)
The date and time the target detector recipe was created.TargetDetectorRecipe.Builder
timeUpdated(Date timeUpdated)
The date and time the target detector recipe was last updated.
-
-
-
Method Detail
-
id
public TargetDetectorRecipe.Builder id(String id)
OCID for the detector recipe- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public TargetDetectorRecipe.Builder displayName(String displayName)
Display name of the detector recipe- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public TargetDetectorRecipe.Builder description(String description)
Detector recipe description.- Parameters:
description
- the value to set- Returns:
- this builder
-
compartmentId
public TargetDetectorRecipe.Builder compartmentId(String compartmentId)
Compartment OCID of the detector recipe- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
detectorRecipeId
public TargetDetectorRecipe.Builder detectorRecipeId(String detectorRecipeId)
Unique identifier for of original Oracle-managed detector recipe on which the TargetDetectorRecipe is based- Parameters:
detectorRecipeId
- the value to set- Returns:
- this builder
-
owner
public TargetDetectorRecipe.Builder owner(OwnerType owner)
Owner of the detector recipe- Parameters:
owner
- the value to set- Returns:
- this builder
-
detector
public TargetDetectorRecipe.Builder detector(DetectorEnum detector)
Type of detector- Parameters:
detector
- the value to set- Returns:
- this builder
-
detectorRules
public TargetDetectorRecipe.Builder detectorRules(List<TargetDetectorRecipeDetectorRule> detectorRules)
List of detector rules for the detector recipe - user input- Parameters:
detectorRules
- the value to set- Returns:
- this builder
-
effectiveDetectorRules
public TargetDetectorRecipe.Builder effectiveDetectorRules(List<TargetDetectorRecipeDetectorRule> effectiveDetectorRules)
List of currently enabled detector rules for the detector type for recipe after applying defaults- Parameters:
effectiveDetectorRules
- the value to set- Returns:
- this builder
-
timeCreated
public TargetDetectorRecipe.Builder timeCreated(Date timeCreated)
The date and time the target detector recipe was created.Format defined by RFC3339.
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public TargetDetectorRecipe.Builder timeUpdated(Date timeUpdated)
The date and time the target detector recipe was last updated.Format defined by RFC3339.
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public TargetDetectorRecipe.Builder lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the resource- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
locks
public TargetDetectorRecipe.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.- Parameters:
locks
- the value to set- Returns:
- this builder
-
detectorRecipeType
public TargetDetectorRecipe.Builder detectorRecipeType(DetectorRecipeEnum detectorRecipeType)
Recipe type ( STANDARD, ENTERPRISE )- Parameters:
detectorRecipeType
- the value to set- Returns:
- this builder
-
sourceDataRetention
public TargetDetectorRecipe.Builder sourceDataRetention(Integer sourceDataRetention)
The number of days for which source data is retained- Parameters:
sourceDataRetention
- the value to set- Returns:
- this builder
-
build
public TargetDetectorRecipe build()
-
copy
public TargetDetectorRecipe.Builder copy(TargetDetectorRecipe model)
-
-