public static class DetectorRecipe.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DetectorRecipe |
build() |
DetectorRecipe.Builder |
compartmentId(String compartmentId)
Compartment OCID of detector recipe
|
DetectorRecipe.Builder |
copy(DetectorRecipe model) |
DetectorRecipe.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
DetectorRecipe.Builder |
description(String description)
Detector recipe description
|
DetectorRecipe.Builder |
detector(DetectorEnum detector)
Type of detector
|
DetectorRecipe.Builder |
detectorRecipeType(DetectorRecipeEnum detectorRecipeType)
Recipe type ( STANDARD, ENTERPRISE )
|
DetectorRecipe.Builder |
detectorRules(List<DetectorRecipeDetectorRule> detectorRules)
List of detector rules for the detector type for recipe - user input
|
DetectorRecipe.Builder |
displayName(String displayName)
Display name of detector recipe
|
DetectorRecipe.Builder |
effectiveDetectorRules(List<DetectorRecipeDetectorRule> effectiveDetectorRules)
List of effective detector rules for the detector type for recipe after applying defaults
|
DetectorRecipe.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
DetectorRecipe.Builder |
id(String id)
OCID for detector recipe
|
DetectorRecipe.Builder |
lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the resource
|
DetectorRecipe.Builder |
owner(OwnerType owner)
Owner of detector recipe
|
DetectorRecipe.Builder |
sourceDataRetention(Integer sourceDataRetention)
The number of days for which source data is retained
|
DetectorRecipe.Builder |
sourceDetectorRecipeId(String sourceDetectorRecipeId)
Recipe OCID of the source recipe to be cloned
|
DetectorRecipe.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
DetectorRecipe.Builder |
targetIds(List<String> targetIds)
List of target IDs to which the recipe is attached
|
DetectorRecipe.Builder |
timeCreated(Date timeCreated)
The date and time the detector recipe was created Format defined by RFC3339.
|
DetectorRecipe.Builder |
timeUpdated(Date timeUpdated)
The date and time the detector recipe was last updated Format defined by RFC3339.
|
public DetectorRecipe.Builder id(String id)
OCID for detector recipe
id
- the value to setpublic DetectorRecipe.Builder displayName(String displayName)
Display name of detector recipe
displayName
- the value to setpublic DetectorRecipe.Builder description(String description)
Detector recipe description
description
- the value to setpublic DetectorRecipe.Builder compartmentId(String compartmentId)
Compartment OCID of detector recipe
compartmentId
- the value to setpublic DetectorRecipe.Builder sourceDetectorRecipeId(String sourceDetectorRecipeId)
Recipe OCID of the source recipe to be cloned
sourceDetectorRecipeId
- the value to setpublic DetectorRecipe.Builder detectorRecipeType(DetectorRecipeEnum detectorRecipeType)
Recipe type ( STANDARD, ENTERPRISE )
detectorRecipeType
- the value to setpublic DetectorRecipe.Builder owner(OwnerType owner)
Owner of detector recipe
owner
- the value to setpublic DetectorRecipe.Builder detector(DetectorEnum detector)
Type of detector
detector
- the value to setpublic DetectorRecipe.Builder detectorRules(List<DetectorRecipeDetectorRule> detectorRules)
List of detector rules for the detector type for recipe - user input
detectorRules
- the value to setpublic DetectorRecipe.Builder effectiveDetectorRules(List<DetectorRecipeDetectorRule> effectiveDetectorRules)
List of effective detector rules for the detector type for recipe after applying defaults
effectiveDetectorRules
- the value to setpublic DetectorRecipe.Builder timeCreated(Date timeCreated)
The date and time the detector recipe was created Format defined by RFC3339.
timeCreated
- the value to setpublic DetectorRecipe.Builder timeUpdated(Date timeUpdated)
The date and time the detector recipe was last updated Format defined by RFC3339.
timeUpdated
- the value to setpublic DetectorRecipe.Builder lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the resource
lifecycleState
- the value to setpublic DetectorRecipe.Builder sourceDataRetention(Integer sourceDataRetention)
The number of days for which source data is retained
sourceDataRetention
- the value to setpublic DetectorRecipe.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example: {"bar-key": "value"}
Avoid entering confidential information.
freeformTags
- the value to setpublic DetectorRecipe.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic DetectorRecipe.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic DetectorRecipe.Builder targetIds(List<String> targetIds)
List of target IDs to which the recipe is attached
targetIds
- the value to setpublic DetectorRecipe build()
public DetectorRecipe.Builder copy(DetectorRecipe model)
Copyright © 2016–2024. All rights reserved.