Package com.oracle.bmc.cloudguard.model
Class TargetDetectorRecipeSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudguard.model.TargetDetectorRecipeSummary.Builder
-
- Enclosing class:
- TargetDetectorRecipeSummary
public static class TargetDetectorRecipeSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TargetDetectorRecipeSummarybuild()TargetDetectorRecipeSummary.BuildercompartmentId(String compartmentId)Compartment OCIDTargetDetectorRecipeSummary.Buildercopy(TargetDetectorRecipeSummary model)TargetDetectorRecipeSummary.Builderdescription(String description)Detector recipe’s descriptionTargetDetectorRecipeSummary.Builderdetector(DetectorEnum detector)Type of detectorTargetDetectorRecipeSummary.BuilderdetectorRecipeId(String detectorRecipeId)Unique identifier for detector recipe of which this is an extensionTargetDetectorRecipeSummary.BuilderdetectorRecipeType(DetectorRecipeEnum detectorRecipeType)Recipe type ( STANDARD, ENTERPRISE )TargetDetectorRecipeSummary.BuilderdisplayName(String displayName)Detector recipe’s display nameTargetDetectorRecipeSummary.Builderid(String id)Unique identifier that can’t be changed after creationTargetDetectorRecipeSummary.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.TargetDetectorRecipeSummary.BuilderlifecycleState(LifecycleState lifecycleState)The current lifecycle state of the resourceTargetDetectorRecipeSummary.Builderlocks(List<ResourceLock> locks)Locks associated with this resource.TargetDetectorRecipeSummary.Builderowner(OwnerType owner)Detector recipe’s ownerTargetDetectorRecipeSummary.BuildersourceDataRetention(Integer sourceDataRetention)The number of days for which source data is retainedTargetDetectorRecipeSummary.BuildertimeCreated(Date timeCreated)The date and time the target detector recipe was created.TargetDetectorRecipeSummary.BuildertimeUpdated(Date timeUpdated)The date and time the target detector recipe was last updated.
-
-
-
Method Detail
-
id
public TargetDetectorRecipeSummary.Builder id(String id)
Unique identifier that can’t be changed after creation- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public TargetDetectorRecipeSummary.Builder compartmentId(String compartmentId)
Compartment OCID- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public TargetDetectorRecipeSummary.Builder displayName(String displayName)
Detector recipe’s display name- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public TargetDetectorRecipeSummary.Builder description(String description)
Detector recipe’s description- Parameters:
description- the value to set- Returns:
- this builder
-
owner
public TargetDetectorRecipeSummary.Builder owner(OwnerType owner)
Detector recipe’s owner- Parameters:
owner- the value to set- Returns:
- this builder
-
detectorRecipeId
public TargetDetectorRecipeSummary.Builder detectorRecipeId(String detectorRecipeId)
Unique identifier for detector recipe of which this is an extension- Parameters:
detectorRecipeId- the value to set- Returns:
- this builder
-
detector
public TargetDetectorRecipeSummary.Builder detector(DetectorEnum detector)
Type of detector- Parameters:
detector- the value to set- Returns:
- this builder
-
lifecycleState
public TargetDetectorRecipeSummary.Builder lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the resource- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
timeCreated
public TargetDetectorRecipeSummary.Builder timeCreated(Date timeCreated)
The date and time the target detector recipe was created.Format defined by RFC3339.
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public TargetDetectorRecipeSummary.Builder timeUpdated(Date timeUpdated)
The date and time the target detector recipe was last updated.Format defined by RFC3339.
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
lifecycleDetails
public TargetDetectorRecipeSummary.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
-
locks
public TargetDetectorRecipeSummary.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.- Parameters:
locks- the value to set- Returns:
- this builder
-
detectorRecipeType
public TargetDetectorRecipeSummary.Builder detectorRecipeType(DetectorRecipeEnum detectorRecipeType)
Recipe type ( STANDARD, ENTERPRISE )- Parameters:
detectorRecipeType- the value to set- Returns:
- this builder
-
sourceDataRetention
public TargetDetectorRecipeSummary.Builder sourceDataRetention(Integer sourceDataRetention)
The number of days for which source data is retained- Parameters:
sourceDataRetention- the value to set- Returns:
- this builder
-
build
public TargetDetectorRecipeSummary build()
-
copy
public TargetDetectorRecipeSummary.Builder copy(TargetDetectorRecipeSummary model)
-
-