Package com.oracle.bmc.cloudguard.model
Class TargetDetectorRecipeDetectorRuleSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudguard.model.TargetDetectorRecipeDetectorRuleSummary.Builder
-
- Enclosing class:
- TargetDetectorRecipeDetectorRuleSummary
public static class TargetDetectorRecipeDetectorRuleSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public TargetDetectorRecipeDetectorRuleSummary.Builder id(String id)
The unique identifier of the detector rule- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public TargetDetectorRecipeDetectorRuleSummary.Builder displayName(String displayName)
Detector template display name- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public TargetDetectorRecipeDetectorRuleSummary.Builder description(String description)
Detector template description- Parameters:
description
- the value to set- Returns:
- this builder
-
recommendation
public TargetDetectorRecipeDetectorRuleSummary.Builder recommendation(String recommendation)
Recommendation for TargetDetectorRecipeDetectorRule resource- Parameters:
recommendation
- the value to set- Returns:
- this builder
-
detector
public TargetDetectorRecipeDetectorRuleSummary.Builder detector(DetectorEnum detector)
Type of detector- Parameters:
detector
- the value to set- Returns:
- this builder
-
serviceType
public TargetDetectorRecipeDetectorRuleSummary.Builder serviceType(String serviceType)
Service type of the configuration to which the rule is applied- Parameters:
serviceType
- the value to set- Returns:
- this builder
-
resourceType
public TargetDetectorRecipeDetectorRuleSummary.Builder resourceType(String resourceType)
Resource type of the configuration to which the rule is applied- Parameters:
resourceType
- the value to set- Returns:
- this builder
-
managedListTypes
public TargetDetectorRecipeDetectorRuleSummary.Builder managedListTypes(List<TargetDetectorRecipeDetectorRuleSummary.ManagedListTypes> managedListTypes)
List of managed list types related to this rule- Parameters:
managedListTypes
- the value to set- Returns:
- this builder
-
detectorDetails
public TargetDetectorRecipeDetectorRuleSummary.Builder detectorDetails(TargetDetectorDetails detectorDetails)
-
timeCreated
public TargetDetectorRecipeDetectorRuleSummary.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
-
timeUpdated
public TargetDetectorRecipeDetectorRuleSummary.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
-
lifecycleState
public TargetDetectorRecipeDetectorRuleSummary.Builder lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the target detector recipe rule- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public TargetDetectorRecipeDetectorRuleSummary.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
-
dataSourceId
public TargetDetectorRecipeDetectorRuleSummary.Builder dataSourceId(String dataSourceId)
The unique identifier of the attached data source- Parameters:
dataSourceId
- the value to set- Returns:
- this builder
-
entitiesMappings
public TargetDetectorRecipeDetectorRuleSummary.Builder entitiesMappings(List<EntitiesMapping> entitiesMappings)
Data source entities mapping for a detector rule- Parameters:
entitiesMappings
- the value to set- Returns:
- this builder
-
locks
public TargetDetectorRecipeDetectorRuleSummary.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.- Parameters:
locks
- the value to set- Returns:
- this builder
-
build
public TargetDetectorRecipeDetectorRuleSummary build()
-
copy
public TargetDetectorRecipeDetectorRuleSummary.Builder copy(TargetDetectorRecipeDetectorRuleSummary model)
-
-