Package com.oracle.bmc.cloudguard.model
Class CreateDetectorRecipeDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudguard.model.CreateDetectorRecipeDetails.Builder
-
- Enclosing class:
- CreateDetectorRecipeDetails
public static class CreateDetectorRecipeDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
displayName
public CreateDetectorRecipeDetails.Builder displayName(String displayName)
Detector recipe display name.Avoid entering confidential information.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public CreateDetectorRecipeDetails.Builder description(String description)
Detector recipe description.Avoid entering confidential information.
- Parameters:
description- the value to set- Returns:
- this builder
-
detector
public CreateDetectorRecipeDetails.Builder detector(DetectorEnum detector)
Detector for the rule- Parameters:
detector- the value to set- Returns:
- this builder
-
sourceDetectorRecipeId
public CreateDetectorRecipeDetails.Builder sourceDetectorRecipeId(String sourceDetectorRecipeId)
The ID of the source detector recipe- Parameters:
sourceDetectorRecipeId- the value to set- Returns:
- this builder
-
compartmentId
public CreateDetectorRecipeDetails.Builder compartmentId(String compartmentId)
Compartment OCID- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
detectorRules
public CreateDetectorRecipeDetails.Builder detectorRules(List<UpdateDetectorRecipeDetectorRule> detectorRules)
Detector rules to override from source detector recipe- Parameters:
detectorRules- the value to set- Returns:
- this builder
-
freeformTags
public CreateDetectorRecipeDetails.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
-
definedTags
public CreateDetectorRecipeDetails.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
-
build
public CreateDetectorRecipeDetails build()
-
copy
public CreateDetectorRecipeDetails.Builder copy(CreateDetectorRecipeDetails model)
-
-