public static class DetectorRecipeSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DetectorRecipeSummary |
build() |
DetectorRecipeSummary.Builder |
compartmentId(String compartmentId)
Compartment OCID of detector recipe
|
DetectorRecipeSummary.Builder |
copy(DetectorRecipeSummary model) |
DetectorRecipeSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
DetectorRecipeSummary.Builder |
description(String description)
Detector recipe description
|
DetectorRecipeSummary.Builder |
detector(DetectorEnum detector)
Type of detector
|
DetectorRecipeSummary.Builder |
detectorRecipeType(DetectorRecipeEnum detectorRecipeType)
Recipe type ( STANDARD, ENTERPRISE )
|
DetectorRecipeSummary.Builder |
detectorRules(List<DetectorRecipeDetectorRule> detectorRules)
List of detector rules for the detector type
|
DetectorRecipeSummary.Builder |
displayName(String displayName)
Display name for detector recipe
|
DetectorRecipeSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
DetectorRecipeSummary.Builder |
id(String id)
OCID for detector recipe
|
DetectorRecipeSummary.Builder |
lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the resource
|
DetectorRecipeSummary.Builder |
owner(OwnerType owner)
Owner of the detector recipe
|
DetectorRecipeSummary.Builder |
sourceDataRetention(Integer sourceDataRetention)
The number of days for which source data is retained
|
DetectorRecipeSummary.Builder |
sourceDetectorRecipeId(String sourceDetectorRecipeId)
Recipe OCID of the source recipe to be cloned
|
DetectorRecipeSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
DetectorRecipeSummary.Builder |
timeCreated(Date timeCreated)
The date and time the detector recipe was created.
|
DetectorRecipeSummary.Builder |
timeUpdated(Date timeUpdated)
The date and time the detector recipe was last updated.
|
public DetectorRecipeSummary.Builder id(String id)
OCID for detector recipe
id
- the value to setpublic DetectorRecipeSummary.Builder displayName(String displayName)
Display name for detector recipe
displayName
- the value to setpublic DetectorRecipeSummary.Builder description(String description)
Detector recipe description
description
- the value to setpublic DetectorRecipeSummary.Builder compartmentId(String compartmentId)
Compartment OCID of detector recipe
compartmentId
- the value to setpublic DetectorRecipeSummary.Builder sourceDetectorRecipeId(String sourceDetectorRecipeId)
Recipe OCID of the source recipe to be cloned
sourceDetectorRecipeId
- the value to setpublic DetectorRecipeSummary.Builder owner(OwnerType owner)
Owner of the detector recipe
owner
- the value to setpublic DetectorRecipeSummary.Builder detectorRecipeType(DetectorRecipeEnum detectorRecipeType)
Recipe type ( STANDARD, ENTERPRISE )
detectorRecipeType
- the value to setpublic DetectorRecipeSummary.Builder detector(DetectorEnum detector)
Type of detector
detector
- the value to setpublic DetectorRecipeSummary.Builder detectorRules(List<DetectorRecipeDetectorRule> detectorRules)
List of detector rules for the detector type
detectorRules
- the value to setpublic DetectorRecipeSummary.Builder timeCreated(Date timeCreated)
The date and time the detector recipe was created. Format defined by RFC3339.
timeCreated
- the value to setpublic DetectorRecipeSummary.Builder timeUpdated(Date timeUpdated)
The date and time the detector recipe was last updated. Format defined by RFC3339.
timeUpdated
- the value to setpublic DetectorRecipeSummary.Builder lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the resource
lifecycleState
- the value to setpublic DetectorRecipeSummary.Builder sourceDataRetention(Integer sourceDataRetention)
The number of days for which source data is retained
sourceDataRetention
- the value to setpublic DetectorRecipeSummary.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 DetectorRecipeSummary.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 DetectorRecipeSummary.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 DetectorRecipeSummary build()
public DetectorRecipeSummary.Builder copy(DetectorRecipeSummary model)
Copyright © 2016–2024. All rights reserved.