Package com.oracle.bmc.datasafe.model
Class AuditPolicy.Builder
- java.lang.Object
- 
- com.oracle.bmc.datasafe.model.AuditPolicy.Builder
 
- 
- Enclosing class:
- AuditPolicy
 
 public static class AuditPolicy.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description AuditPolicy.BuilderauditConditions(List<AuditConditions> auditConditions)Lists the audit policy provisioning conditions for the target database.AuditPolicy.BuilderauditSpecifications(List<AuditSpecification> auditSpecifications)Represents all available audit policy specifications relevant for the target database.AuditPolicybuild()AuditPolicy.BuildercompartmentId(String compartmentId)The OCID of the compartment containing the audit policy.AuditPolicy.Buildercopy(AuditPolicy model)AuditPolicy.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.AuditPolicy.Builderdescription(String description)Description of the audit policy.AuditPolicy.BuilderdisplayName(String displayName)The display name of the audit policy.AuditPolicy.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.AuditPolicy.Builderid(String id)The OCID of the audit policy.AuditPolicy.BuilderisDataSafeServiceAccountExcluded(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.BuilderlifecycleDetails(String lifecycleDetails)Details about the current state of the audit policy in Data Safe.AuditPolicy.BuilderlifecycleState(AuditPolicyLifecycleState lifecycleState)The current state of the audit policy.AuditPolicy.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.AuditPolicy.BuildertargetId(String targetId)The OCID of the target for which the audit policy is created.AuditPolicy.BuildertimeCreated(Date timeCreated)The time the the audit policy was created, in the format defined by RFC3339.AuditPolicy.BuildertimeLastProvisioned(Date timeLastProvisioned)Indicates the last provisioning time of audit policies on the target, in the format defined by RFC3339.AuditPolicy.BuildertimeLastRetrieved(Date timeLastRetrieved)The time when the audit policies was last retrieved from this target, in the format defined by RFC3339.AuditPolicy.BuildertimeUpdated(Date timeUpdated)The last date and time the audit policy was updated, in the format defined by RFC3339.
 
- 
- 
- 
Method Detail- 
idpublic AuditPolicy.Builder id(String id) The OCID of the audit policy.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic AuditPolicy.Builder compartmentId(String compartmentId) The OCID of the compartment containing the audit policy.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic AuditPolicy.Builder displayName(String displayName) The display name of the audit policy.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic AuditPolicy.Builder description(String description) Description of the audit policy.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic AuditPolicy.Builder timeCreated(Date timeCreated) The time the the audit policy was created, in the format defined by RFC3339.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic AuditPolicy.Builder timeUpdated(Date timeUpdated) The last date and time the audit policy was updated, in the format defined by RFC3339.- Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic AuditPolicy.Builder lifecycleState(AuditPolicyLifecycleState lifecycleState) The current state of the audit policy.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic AuditPolicy.Builder lifecycleDetails(String lifecycleDetails) Details about the current state of the audit policy in Data Safe.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
targetIdpublic AuditPolicy.Builder targetId(String targetId) The OCID of the target for which the audit policy is created.- Parameters:
- targetId- the value to set
- Returns:
- this builder
 
 - 
isDataSafeServiceAccountExcludedpublic 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.- Parameters:
- isDataSafeServiceAccountExcluded- the value to set
- Returns:
- this builder
 
 - 
timeLastProvisionedpublic AuditPolicy.Builder timeLastProvisioned(Date timeLastProvisioned) Indicates the last provisioning time of audit policies on the target, in the format defined by RFC3339.- Parameters:
- timeLastProvisioned- the value to set
- Returns:
- this builder
 
 - 
timeLastRetrievedpublic AuditPolicy.Builder timeLastRetrieved(Date timeLastRetrieved) The time when the audit policies was last retrieved from this target, in the format defined by RFC3339.- Parameters:
- timeLastRetrieved- the value to set
- Returns:
- this builder
 
 - 
auditSpecificationspublic 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. - Parameters:
- auditSpecifications- the value to set
- Returns:
- this builder
 
 - 
auditConditionspublic AuditPolicy.Builder auditConditions(List<AuditConditions> auditConditions) Lists the audit policy provisioning conditions for the target database.- Parameters:
- auditConditions- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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"} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic 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”}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic AuditPolicy build() 
 - 
copypublic AuditPolicy.Builder copy(AuditPolicy model) 
 
- 
 
-