public static class TargetDetectorRecipe.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TargetDetectorRecipe |
build() |
TargetDetectorRecipe.Builder |
compartmentId(String compartmentId)
compartmentId of 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 Detector Recipe of which this is an extension
|
TargetDetectorRecipe.Builder |
detectorRules(List<TargetDetectorRecipeDetectorRule> detectorRules)
List of detector rules for the detector type for recipe - user input
|
TargetDetectorRecipe.Builder |
displayName(String displayName)
Display name of detector recipe.
|
TargetDetectorRecipe.Builder |
effectiveDetectorRules(List<TargetDetectorRecipeDetectorRule> effectiveDetectorRules)
List of effective detector rules for the detector type for recipe after applying defaults
|
TargetDetectorRecipe.Builder |
id(String id)
Ocid for detector recipe
|
TargetDetectorRecipe.Builder |
lifecycleState(LifecycleState lifecycleState)
The current state of the resource.
|
TargetDetectorRecipe.Builder |
owner(OwnerType owner)
Owner of 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 updated.
|
public TargetDetectorRecipe.Builder id(String id)
Ocid for detector recipe
id
- the value to setpublic TargetDetectorRecipe.Builder displayName(String displayName)
Display name of 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)
compartmentId of detector recipe
compartmentId
- the value to setpublic TargetDetectorRecipe.Builder detectorRecipeId(String detectorRecipeId)
Unique identifier for Detector Recipe of which this is an extension
detectorRecipeId
- the value to setpublic TargetDetectorRecipe.Builder owner(OwnerType owner)
Owner of 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 type for recipe - user input
detectorRules
- the value to setpublic TargetDetectorRecipe.Builder effectiveDetectorRules(List<TargetDetectorRecipeDetectorRule> effectiveDetectorRules)
List of effective 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 updated. Format defined by RFC3339.
timeUpdated
- the value to setpublic TargetDetectorRecipe.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the resource.
lifecycleState
- 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–2023. All rights reserved.