Package com.oracle.bmc.datasafe.model
Class UnifiedAuditPolicyDefinition.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.UnifiedAuditPolicyDefinition.Builder
-
- Enclosing class:
- UnifiedAuditPolicyDefinition
public static class UnifiedAuditPolicyDefinition.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UnifiedAuditPolicyDefinition.Builder
auditPolicyCategory(UnifiedAuditPolicyDefinition.AuditPolicyCategory auditPolicyCategory)
The category to which the unified audit policy belongs in the target database.UnifiedAuditPolicyDefinition
build()
UnifiedAuditPolicyDefinition.Builder
compartmentId(String compartmentId)
The OCID of the compartment containing the unified audit policy definition.UnifiedAuditPolicyDefinition.Builder
copy(UnifiedAuditPolicyDefinition model)
UnifiedAuditPolicyDefinition.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.UnifiedAuditPolicyDefinition.Builder
description(String description)
The description of the unified audit policy definition.UnifiedAuditPolicyDefinition.Builder
displayName(String displayName)
The display name of the unified audit policy definition.UnifiedAuditPolicyDefinition.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.UnifiedAuditPolicyDefinition.Builder
id(String id)
The OCID of the unified audit policy definition.UnifiedAuditPolicyDefinition.Builder
isSeeded(Boolean isSeeded)
Signifies whether the unified audit policy definition is seeded or not.UnifiedAuditPolicyDefinition.Builder
lifecycleDetails(String lifecycleDetails)
Details about the current state of the unified audit policy definition.UnifiedAuditPolicyDefinition.Builder
lifecycleState(UnifiedAuditPolicyDefinitionLifecycleState lifecycleState)
The current state of the unified audit policy definition.UnifiedAuditPolicyDefinition.Builder
policyDefinitionStatement(String policyDefinitionStatement)
The definition of the unified audit policy to be provisioned in the target database.UnifiedAuditPolicyDefinition.Builder
policyName(String policyName)
The unified audit policy name in the target database.UnifiedAuditPolicyDefinition.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.UnifiedAuditPolicyDefinition.Builder
timeCreated(Date timeCreated)
The time the unified audit policy was created, in the format defined by RFC3339.UnifiedAuditPolicyDefinition.Builder
timeUpdated(Date timeUpdated)
The last date and time the unified audit policy was updated, in the format defined by RFC3339.
-
-
-
Method Detail
-
id
public UnifiedAuditPolicyDefinition.Builder id(String id)
The OCID of the unified audit policy definition.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public UnifiedAuditPolicyDefinition.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the unified audit policy definition.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public UnifiedAuditPolicyDefinition.Builder displayName(String displayName)
The display name of the unified audit policy definition.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public UnifiedAuditPolicyDefinition.Builder description(String description)
The description of the unified audit policy definition.- Parameters:
description
- the value to set- Returns:
- this builder
-
lifecycleState
public UnifiedAuditPolicyDefinition.Builder lifecycleState(UnifiedAuditPolicyDefinitionLifecycleState lifecycleState)
The current state of the unified audit policy definition.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public UnifiedAuditPolicyDefinition.Builder lifecycleDetails(String lifecycleDetails)
Details about the current state of the unified audit policy definition.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
policyName
public UnifiedAuditPolicyDefinition.Builder policyName(String policyName)
The unified audit policy name in the target database.- Parameters:
policyName
- the value to set- Returns:
- this builder
-
isSeeded
public UnifiedAuditPolicyDefinition.Builder isSeeded(Boolean isSeeded)
Signifies whether the unified audit policy definition is seeded or not.- Parameters:
isSeeded
- the value to set- Returns:
- this builder
-
auditPolicyCategory
public UnifiedAuditPolicyDefinition.Builder auditPolicyCategory(UnifiedAuditPolicyDefinition.AuditPolicyCategory auditPolicyCategory)
The category to which the unified audit policy belongs in the target database.- Parameters:
auditPolicyCategory
- the value to set- Returns:
- this builder
-
timeCreated
public UnifiedAuditPolicyDefinition.Builder timeCreated(Date timeCreated)
The time the unified audit policy was created, in the format defined by RFC3339.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public UnifiedAuditPolicyDefinition.Builder timeUpdated(Date timeUpdated)
The last date and time the unified audit policy was updated, in the format defined by RFC3339.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
policyDefinitionStatement
public UnifiedAuditPolicyDefinition.Builder policyDefinitionStatement(String policyDefinitionStatement)
The definition of the unified audit policy to be provisioned in the target database.- Parameters:
policyDefinitionStatement
- the value to set- Returns:
- this builder
-
freeformTags
public UnifiedAuditPolicyDefinition.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags
Example: {"Department": "Finance"}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public UnifiedAuditPolicyDefinition.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {“Operations”: {“CostCenter”: “42”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public UnifiedAuditPolicyDefinition.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public UnifiedAuditPolicyDefinition build()
-
copy
public UnifiedAuditPolicyDefinition.Builder copy(UnifiedAuditPolicyDefinition model)
-
-