Package com.oracle.bmc.cloudguard.model
Class TargetDetectorRecipeDetectorRule.Builder
- java.lang.Object
- 
- com.oracle.bmc.cloudguard.model.TargetDetectorRecipeDetectorRule.Builder
 
- 
- Enclosing class:
- TargetDetectorRecipeDetectorRule
 
 public static class TargetDetectorRecipeDetectorRule.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
detectorRuleIdpublic TargetDetectorRecipeDetectorRule.Builder detectorRuleId(String detectorRuleId) The unique identifier of the detector rule- Parameters:
- detectorRuleId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic TargetDetectorRecipeDetectorRule.Builder displayName(String displayName) Display name for TargetDetectorRecipeDetectorRule resource- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic TargetDetectorRecipeDetectorRule.Builder description(String description) Description for TargetDetectorRecipeDetectorRule resource- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
recommendationpublic TargetDetectorRecipeDetectorRule.Builder recommendation(String recommendation) Recommendation for TargetDetectorRecipeDetectorRule resource- Parameters:
- recommendation- the value to set
- Returns:
- this builder
 
 - 
detectorpublic TargetDetectorRecipeDetectorRule.Builder detector(DetectorEnum detector) Detector type for the rule- Parameters:
- detector- the value to set
- Returns:
- this builder
 
 - 
serviceTypepublic TargetDetectorRecipeDetectorRule.Builder serviceType(String serviceType) Service type of the configuration to which the rule is applied- Parameters:
- serviceType- the value to set
- Returns:
- this builder
 
 - 
resourceTypepublic TargetDetectorRecipeDetectorRule.Builder resourceType(String resourceType) The type of resource which is monitored by the detector rule.For example, Instance, Database, VCN, Policy. To find the resource type for a particular rule, see [Detector Recipe Reference] (/iaas/cloud-guard/using/detect-recipes.htm#detect-recipes-reference). Or try [Detector Recipe Reference] (/cloud-guard/using/detect-recipes.htm#detect-recipes-reference). - Parameters:
- resourceType- the value to set
- Returns:
- this builder
 
 - 
ruleTypepublic TargetDetectorRecipeDetectorRule.Builder ruleType(List<RuleType> ruleType) Rule category type- Parameters:
- ruleType- the value to set
- Returns:
- this builder
 
 - 
isCloneablepublic TargetDetectorRecipeDetectorRule.Builder isCloneable(Boolean isCloneable) Is the rule cloneable?- Parameters:
- isCloneable- the value to set
- Returns:
- this builder
 
 - 
detailspublic TargetDetectorRecipeDetectorRule.Builder details(TargetDetectorDetails details) 
 - 
managedListTypespublic TargetDetectorRecipeDetectorRule.Builder managedListTypes(List<TargetDetectorRecipeDetectorRule.ManagedListTypes> managedListTypes) List of managed list types related to this rule- Parameters:
- managedListTypes- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic TargetDetectorRecipeDetectorRule.Builder timeCreated(Date timeCreated) The date and time the target detector recipe rule was created.Format defined by RFC3339. - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic TargetDetectorRecipeDetectorRule.Builder timeUpdated(Date timeUpdated) The date and time the target detector recipe rule was last updated.Format defined by RFC3339. - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic TargetDetectorRecipeDetectorRule.Builder lifecycleState(LifecycleState lifecycleState) The current lifecycle state of the detector rule- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic TargetDetectorRecipeDetectorRule.Builder lifecycleDetails(String lifecycleDetails) A message describing the current state in more detail.For example, can be used to provide actionable information for a resource in Failed state. - Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
dataSourceIdpublic TargetDetectorRecipeDetectorRule.Builder dataSourceId(String dataSourceId) The ID of the attached data source- Parameters:
- dataSourceId- the value to set
- Returns:
- this builder
 
 - 
entitiesMappingspublic TargetDetectorRecipeDetectorRule.Builder entitiesMappings(List<EntitiesMapping> entitiesMappings) Data source entities mapping for a detector rule- Parameters:
- entitiesMappings- the value to set
- Returns:
- this builder
 
 - 
lockspublic TargetDetectorRecipeDetectorRule.Builder locks(List<ResourceLock> locks) Locks associated with this resource.- Parameters:
- locks- the value to set
- Returns:
- this builder
 
 - 
buildpublic TargetDetectorRecipeDetectorRule build() 
 - 
copypublic TargetDetectorRecipeDetectorRule.Builder copy(TargetDetectorRecipeDetectorRule model) 
 
- 
 
-