public static class TargetDetectorRecipe.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TargetDetectorRecipe |
build() |
TargetDetectorRecipe.Builder |
compartmentId(String compartmentId)
Compartment OCID of the detector recipe
|
TargetDetectorRecipe.Builder |
copy(TargetDetectorRecipe model) |
TargetDetectorRecipe.Builder |
description(String description)
Detector recipe description.
|
TargetDetectorRecipe.Builder |
detector(DetectorEnum detector)
Type of detector
|
TargetDetectorRecipe.Builder |
detectorRecipeId(String detectorRecipeId)
Unique identifier for of original Oracle-managed detector recipe on which the
TargetDetectorRecipe is based
|
TargetDetectorRecipe.Builder |
detectorRecipeType(DetectorRecipeEnum detectorRecipeType)
Recipe type ( STANDARD, ENTERPRISE )
|
TargetDetectorRecipe.Builder |
detectorRules(List<TargetDetectorRecipeDetectorRule> detectorRules)
List of detector rules for the detector recipe - user input
|
TargetDetectorRecipe.Builder |
displayName(String displayName)
Display name of the detector recipe
|
TargetDetectorRecipe.Builder |
effectiveDetectorRules(List<TargetDetectorRecipeDetectorRule> effectiveDetectorRules)
List of currently enabled detector rules for the detector type for recipe after applying
defaults
|
TargetDetectorRecipe.Builder |
id(String id)
OCID for the detector recipe
|
TargetDetectorRecipe.Builder |
lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the resource
|
TargetDetectorRecipe.Builder |
locks(List<ResourceLock> locks)
Locks associated with this resource.
|
TargetDetectorRecipe.Builder |
owner(OwnerType owner)
Owner of the detector recipe
|
TargetDetectorRecipe.Builder |
sourceDataRetention(Integer sourceDataRetention)
The number of days for which source data is retained
|
TargetDetectorRecipe.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.
|
public TargetDetectorRecipe.Builder id(String id)
OCID for the detector recipe
id
- the value to setpublic TargetDetectorRecipe.Builder displayName(String displayName)
Display name of the detector recipe
displayName
- the value to setpublic TargetDetectorRecipe.Builder description(String description)
Detector recipe description.
description
- the value to setpublic TargetDetectorRecipe.Builder compartmentId(String compartmentId)
Compartment OCID of the detector recipe
compartmentId
- the value to setpublic TargetDetectorRecipe.Builder detectorRecipeId(String detectorRecipeId)
Unique identifier for of original Oracle-managed detector recipe on which the TargetDetectorRecipe is based
detectorRecipeId
- the value to setpublic TargetDetectorRecipe.Builder owner(OwnerType owner)
Owner of the detector recipe
owner
- the value to setpublic TargetDetectorRecipe.Builder detector(DetectorEnum detector)
Type of detector
detector
- the value to setpublic TargetDetectorRecipe.Builder detectorRules(List<TargetDetectorRecipeDetectorRule> detectorRules)
List of detector rules for the detector recipe - user input
detectorRules
- the value to setpublic TargetDetectorRecipe.Builder effectiveDetectorRules(List<TargetDetectorRecipeDetectorRule> effectiveDetectorRules)
List of currently enabled detector rules for the detector type for recipe after applying defaults
effectiveDetectorRules
- the value to setpublic TargetDetectorRecipe.Builder timeCreated(Date timeCreated)
The date and time the target detector recipe was created. Format defined by RFC3339.
timeCreated
- the value to setpublic TargetDetectorRecipe.Builder timeUpdated(Date timeUpdated)
The date and time the target detector recipe was last updated. Format defined by RFC3339.
timeUpdated
- the value to setpublic TargetDetectorRecipe.Builder lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the resource
lifecycleState
- the value to setpublic TargetDetectorRecipe.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.
locks
- the value to setpublic TargetDetectorRecipe.Builder detectorRecipeType(DetectorRecipeEnum detectorRecipeType)
Recipe type ( STANDARD, ENTERPRISE )
detectorRecipeType
- the value to setpublic TargetDetectorRecipe.Builder sourceDataRetention(Integer sourceDataRetention)
The number of days for which source data is retained
sourceDataRetention
- the value to setpublic TargetDetectorRecipe build()
public TargetDetectorRecipe.Builder copy(TargetDetectorRecipe model)
Copyright © 2016–2024. All rights reserved.