Package com.oracle.bmc.datasafe.model
Class UnifiedAuditPolicy.Builder
- java.lang.Object
- 
- com.oracle.bmc.datasafe.model.UnifiedAuditPolicy.Builder
 
- 
- Enclosing class:
- UnifiedAuditPolicy
 
 public static class UnifiedAuditPolicy.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description UnifiedAuditPolicybuild()UnifiedAuditPolicy.BuildercompartmentId(String compartmentId)The OCID of the compartment containing the unified audit policy.UnifiedAuditPolicy.Builderconditions(List<PolicyCondition> conditions)Lists the audit policy provisioning conditions.UnifiedAuditPolicy.Buildercopy(UnifiedAuditPolicy model)UnifiedAuditPolicy.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.UnifiedAuditPolicy.Builderdescription(String description)The description of the unified audit policy.UnifiedAuditPolicy.BuilderdisplayName(String displayName)The display name of the unified audit policy.UnifiedAuditPolicy.BuilderenabledEntities(UnifiedAuditPolicy.EnabledEntities enabledEntities)Indicates on whom the audit policy is enabled.UnifiedAuditPolicy.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.UnifiedAuditPolicy.Builderid(String id)The OCID of the unified audit policy.UnifiedAuditPolicy.BuilderisSeeded(Boolean isSeeded)Indicates whether the unified audit policy is seeded or not.UnifiedAuditPolicy.BuilderlifecycleDetails(String lifecycleDetails)The details of the current state of the unified audit policy in Data Safe.UnifiedAuditPolicy.BuilderlifecycleState(UnifiedAuditPolicyLifecycleState lifecycleState)The current state of the unified audit policy.UnifiedAuditPolicy.BuildersecurityPolicyId(String securityPolicyId)The OCID of the security policy corresponding to the unified audit policy.UnifiedAuditPolicy.Builderstatus(UnifiedAuditPolicy.Status status)Indicates whether the policy has been enabled or disabled.UnifiedAuditPolicy.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.UnifiedAuditPolicy.BuildertimeCreated(Date timeCreated)The time the the unified audit policy was created, in the format defined by RFC3339.UnifiedAuditPolicy.BuildertimeUpdated(Date timeUpdated)The last date and time the unified audit policy was updated, in the format defined by RFC3339.UnifiedAuditPolicy.BuilderunifiedAuditPolicyDefinitionId(String unifiedAuditPolicyDefinitionId)The OCID of the associated unified audit policy definition.
 
- 
- 
- 
Method Detail- 
idpublic UnifiedAuditPolicy.Builder id(String id) The OCID of the unified audit policy.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic UnifiedAuditPolicy.Builder compartmentId(String compartmentId) The OCID of the compartment containing the unified audit policy.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic UnifiedAuditPolicy.Builder displayName(String displayName) The display name of the unified audit policy.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic UnifiedAuditPolicy.Builder description(String description) The description of the unified audit policy.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
securityPolicyIdpublic UnifiedAuditPolicy.Builder securityPolicyId(String securityPolicyId) The OCID of the security policy corresponding to the unified audit policy.- Parameters:
- securityPolicyId- the value to set
- Returns:
- this builder
 
 - 
unifiedAuditPolicyDefinitionIdpublic UnifiedAuditPolicy.Builder unifiedAuditPolicyDefinitionId(String unifiedAuditPolicyDefinitionId) The OCID of the associated unified audit policy definition.- Parameters:
- unifiedAuditPolicyDefinitionId- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic UnifiedAuditPolicy.Builder lifecycleState(UnifiedAuditPolicyLifecycleState lifecycleState) The current state of the unified audit policy.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic UnifiedAuditPolicy.Builder lifecycleDetails(String lifecycleDetails) The details of the current state of the unified audit policy in Data Safe.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
isSeededpublic UnifiedAuditPolicy.Builder isSeeded(Boolean isSeeded) Indicates whether the unified audit policy is seeded or not.- Parameters:
- isSeeded- the value to set
- Returns:
- this builder
 
 - 
statuspublic UnifiedAuditPolicy.Builder status(UnifiedAuditPolicy.Status status) Indicates whether the policy has been enabled or disabled.- Parameters:
- status- the value to set
- Returns:
- this builder
 
 - 
enabledEntitiespublic UnifiedAuditPolicy.Builder enabledEntities(UnifiedAuditPolicy.EnabledEntities enabledEntities) Indicates on whom the audit policy is enabled.- Parameters:
- enabledEntities- the value to set
- Returns:
- this builder
 
 - 
conditionspublic UnifiedAuditPolicy.Builder conditions(List<PolicyCondition> conditions) Lists the audit policy provisioning conditions.- Parameters:
- conditions- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic UnifiedAuditPolicy.Builder timeCreated(Date timeCreated) The time the the unified audit policy was created, in the format defined by RFC3339.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic UnifiedAuditPolicy.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
 
 - 
freeformTagspublic UnifiedAuditPolicy.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 UnifiedAuditPolicy.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 UnifiedAuditPolicy.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 UnifiedAuditPolicy build() 
 - 
copypublic UnifiedAuditPolicy.Builder copy(UnifiedAuditPolicy model) 
 
- 
 
-