public static class AuditPolicy.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AuditPolicy.Builder |
auditConditions(List<AuditConditions> auditConditions)
Lists the audit policy provisioning conditions for the target database.
|
AuditPolicy.Builder |
auditSpecifications(List<AuditSpecification> auditSpecifications)
Represents all available audit policy specifications relevant for the target database.
|
AuditPolicy |
build() |
AuditPolicy.Builder |
compartmentId(String compartmentId)
The OCID of the compartment containing the audit policy.
|
AuditPolicy.Builder |
copy(AuditPolicy model) |
AuditPolicy.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
AuditPolicy.Builder |
description(String description)
Description of the audit policy.
|
AuditPolicy.Builder |
displayName(String displayName)
The display name of the audit policy.
|
AuditPolicy.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
AuditPolicy.Builder |
id(String id)
The OCID of the audit policy.
|
AuditPolicy.Builder |
isDataSafeServiceAccountExcluded(Boolean isDataSafeServiceAccountExcluded)
Option provided to users at the target to indicate whether the Data Safe service account
has to be excluded while provisioning the audit policies.
|
AuditPolicy.Builder |
lifecycleDetails(String lifecycleDetails)
Details about the current state of the audit policy in Data Safe.
|
AuditPolicy.Builder |
lifecycleState(AuditPolicyLifecycleState lifecycleState)
The current state of the audit policy.
|
AuditPolicy.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
AuditPolicy.Builder |
targetId(String targetId)
The OCID of the target for which the audit policy is created.
|
AuditPolicy.Builder |
timeCreated(Date timeCreated)
The time the the audit policy was created, in the format defined by RFC3339.
|
AuditPolicy.Builder |
timeLastProvisioned(Date timeLastProvisioned)
Indicates the last provisioning time of audit policies on the target, in the format
defined by RFC3339.
|
AuditPolicy.Builder |
timeLastRetrieved(Date timeLastRetrieved)
The time when the audit policies was last retrieved from this target, in the format
defined by RFC3339.
|
AuditPolicy.Builder |
timeUpdated(Date timeUpdated)
The last date and time the audit policy was updated, in the format defined by RFC3339.
|
public AuditPolicy.Builder id(String id)
The OCID of the audit policy.
id
- the value to setpublic AuditPolicy.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the audit policy.
compartmentId
- the value to setpublic AuditPolicy.Builder displayName(String displayName)
The display name of the audit policy.
displayName
- the value to setpublic AuditPolicy.Builder description(String description)
Description of the audit policy.
description
- the value to setpublic AuditPolicy.Builder timeCreated(Date timeCreated)
The time the the audit policy was created, in the format defined by RFC3339.
timeCreated
- the value to setpublic AuditPolicy.Builder timeUpdated(Date timeUpdated)
The last date and time the audit policy was updated, in the format defined by RFC3339.
timeUpdated
- the value to setpublic AuditPolicy.Builder lifecycleState(AuditPolicyLifecycleState lifecycleState)
The current state of the audit policy.
lifecycleState
- the value to setpublic AuditPolicy.Builder lifecycleDetails(String lifecycleDetails)
Details about the current state of the audit policy in Data Safe.
lifecycleDetails
- the value to setpublic AuditPolicy.Builder targetId(String targetId)
The OCID of the target for which the audit policy is created.
targetId
- the value to setpublic AuditPolicy.Builder isDataSafeServiceAccountExcluded(Boolean isDataSafeServiceAccountExcluded)
Option provided to users at the target to indicate whether the Data Safe service account has to be excluded while provisioning the audit policies.
isDataSafeServiceAccountExcluded
- the value to setpublic AuditPolicy.Builder timeLastProvisioned(Date timeLastProvisioned)
Indicates the last provisioning time of audit policies on the target, in the format defined by RFC3339.
timeLastProvisioned
- the value to setpublic AuditPolicy.Builder timeLastRetrieved(Date timeLastRetrieved)
The time when the audit policies was last retrieved from this target, in the format defined by RFC3339.
timeLastRetrieved
- the value to setpublic AuditPolicy.Builder auditSpecifications(List<AuditSpecification> auditSpecifications)
Represents all available audit policy specifications relevant for the target database. For more details on available audit polcies, refer to documentation.
auditSpecifications
- the value to setpublic AuditPolicy.Builder auditConditions(List<AuditConditions> auditConditions)
Lists the audit policy provisioning conditions for the target database.
auditConditions
- the value to setpublic AuditPolicy.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"}
freeformTags
- the value to setpublic AuditPolicy.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"}}
definedTags
- the value to setpublic AuditPolicy.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"}}
systemTags
- the value to setpublic AuditPolicy build()
public AuditPolicy.Builder copy(AuditPolicy model)
Copyright © 2016–2024. All rights reserved.