Package com.oracle.bmc.cloudguard.model
Class DetectorRecipe.Builder
- java.lang.Object
- 
- com.oracle.bmc.cloudguard.model.DetectorRecipe.Builder
 
- 
- Enclosing class:
- DetectorRecipe
 
 public static class DetectorRecipe.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DetectorRecipebuild()DetectorRecipe.BuildercompartmentId(String compartmentId)Compartment OCID of detector recipeDetectorRecipe.Buildercopy(DetectorRecipe model)DetectorRecipe.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.DetectorRecipe.Builderdescription(String description)Detector recipe descriptionDetectorRecipe.Builderdetector(DetectorEnum detector)Type of detectorDetectorRecipe.BuilderdetectorRecipeType(DetectorRecipeEnum detectorRecipeType)Recipe type ( STANDARD, ENTERPRISE )DetectorRecipe.BuilderdetectorRules(List<DetectorRecipeDetectorRule> detectorRules)List of detector rules for the detector type for recipe - user inputDetectorRecipe.BuilderdisplayName(String displayName)Display name of detector recipeDetectorRecipe.BuildereffectiveDetectorRules(List<DetectorRecipeDetectorRule> effectiveDetectorRules)List of effective detector rules for the detector type for recipe after applying defaultsDetectorRecipe.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.DetectorRecipe.Builderid(String id)OCID for detector recipeDetectorRecipe.BuilderlifecycleState(LifecycleState lifecycleState)The current lifecycle state of the resourceDetectorRecipe.Builderowner(OwnerType owner)Owner of detector recipeDetectorRecipe.BuildersourceDataRetention(Integer sourceDataRetention)The number of days for which source data is retainedDetectorRecipe.BuildersourceDetectorRecipeId(String sourceDetectorRecipeId)Recipe OCID of the source recipe to be clonedDetectorRecipe.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.DetectorRecipe.BuildertargetIds(List<String> targetIds)List of target IDs to which the recipe is attachedDetectorRecipe.BuildertimeCreated(Date timeCreated)The date and time the detector recipe was created Format defined by RFC3339.DetectorRecipe.BuildertimeUpdated(Date timeUpdated)The date and time the detector recipe was last updated Format defined by RFC3339.
 
- 
- 
- 
Method Detail- 
idpublic DetectorRecipe.Builder id(String id) OCID for detector recipe- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic DetectorRecipe.Builder displayName(String displayName) Display name of detector recipe- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic DetectorRecipe.Builder description(String description) Detector recipe description- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic DetectorRecipe.Builder compartmentId(String compartmentId) Compartment OCID of detector recipe- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
sourceDetectorRecipeIdpublic DetectorRecipe.Builder sourceDetectorRecipeId(String sourceDetectorRecipeId) Recipe OCID of the source recipe to be cloned- Parameters:
- sourceDetectorRecipeId- the value to set
- Returns:
- this builder
 
 - 
detectorRecipeTypepublic DetectorRecipe.Builder detectorRecipeType(DetectorRecipeEnum detectorRecipeType) Recipe type ( STANDARD, ENTERPRISE )- Parameters:
- detectorRecipeType- the value to set
- Returns:
- this builder
 
 - 
ownerpublic DetectorRecipe.Builder owner(OwnerType owner) Owner of detector recipe- Parameters:
- owner- the value to set
- Returns:
- this builder
 
 - 
detectorpublic DetectorRecipe.Builder detector(DetectorEnum detector) Type of detector- Parameters:
- detector- the value to set
- Returns:
- this builder
 
 - 
detectorRulespublic DetectorRecipe.Builder detectorRules(List<DetectorRecipeDetectorRule> detectorRules) List of detector rules for the detector type for recipe - user input- Parameters:
- detectorRules- the value to set
- Returns:
- this builder
 
 - 
effectiveDetectorRulespublic DetectorRecipe.Builder effectiveDetectorRules(List<DetectorRecipeDetectorRule> effectiveDetectorRules) List of effective detector rules for the detector type for recipe after applying defaults- Parameters:
- effectiveDetectorRules- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic DetectorRecipe.Builder timeCreated(Date timeCreated) The date and time the detector recipe was created Format defined by RFC3339.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic DetectorRecipe.Builder timeUpdated(Date timeUpdated) The date and time the detector recipe was last updated Format defined by RFC3339.- Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic DetectorRecipe.Builder lifecycleState(LifecycleState lifecycleState) The current lifecycle state of the resource- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
sourceDataRetentionpublic DetectorRecipe.Builder sourceDataRetention(Integer sourceDataRetention) The number of days for which source data is retained- Parameters:
- sourceDataRetention- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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. - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic 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"}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
targetIdspublic DetectorRecipe.Builder targetIds(List<String> targetIds) List of target IDs to which the recipe is attached- Parameters:
- targetIds- the value to set
- Returns:
- this builder
 
 - 
buildpublic DetectorRecipe build() 
 - 
copypublic DetectorRecipe.Builder copy(DetectorRecipe model) 
 
- 
 
-