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 TargetDetectorRecipeSummary
build()
TargetDetectorRecipeSummary.Builder
compartmentId(String compartmentId)
Compartment OCIDTargetDetectorRecipeSummary.Builder
copy(TargetDetectorRecipeSummary model)
TargetDetectorRecipeSummary.Builder
description(String description)
Detector recipe’s descriptionTargetDetectorRecipeSummary.Builder
detector(DetectorEnum detector)
Type of detectorTargetDetectorRecipeSummary.Builder
detectorRecipeId(String detectorRecipeId)
Unique identifier for detector recipe of which this is an extensionTargetDetectorRecipeSummary.Builder
detectorRecipeType(DetectorRecipeEnum detectorRecipeType)
Recipe type ( STANDARD, ENTERPRISE )TargetDetectorRecipeSummary.Builder
displayName(String displayName)
Detector recipe’s display nameTargetDetectorRecipeSummary.Builder
id(String id)
Unique identifier that can’t be changed after creationTargetDetectorRecipeSummary.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.TargetDetectorRecipeSummary.Builder
lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the resourceTargetDetectorRecipeSummary.Builder
locks(List<ResourceLock> locks)
Locks associated with this resource.TargetDetectorRecipeSummary.Builder
owner(OwnerType owner)
Detector recipe’s ownerTargetDetectorRecipeSummary.Builder
sourceDataRetention(Integer sourceDataRetention)
The number of days for which source data is retainedTargetDetectorRecipeSummary.Builder
timeCreated(Date timeCreated)
The date and time the target detector recipe was created.TargetDetectorRecipeSummary.Builder
timeUpdated(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)
-
-