Package com.oracle.bmc.datasafe.model
Class SecurityPolicyConfig.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.SecurityPolicyConfig.Builder
-
- Enclosing class:
- SecurityPolicyConfig
public static class SecurityPolicyConfig.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityPolicyConfigbuild()SecurityPolicyConfig.BuildercompartmentId(String compartmentId)The OCID of the compartment containing the security policy configuration.SecurityPolicyConfig.Buildercopy(SecurityPolicyConfig model)SecurityPolicyConfig.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.SecurityPolicyConfig.Builderdescription(String description)The description of the security policy configuration.SecurityPolicyConfig.BuilderdisplayName(String displayName)The display name of the security policy configuration.SecurityPolicyConfig.BuilderfirewallConfig(FirewallConfig firewallConfig)SecurityPolicyConfig.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.SecurityPolicyConfig.Builderid(String id)The OCID of the security policy configuration.SecurityPolicyConfig.BuilderlifecycleDetails(String lifecycleDetails)Details about the current state of the security policy configuration.SecurityPolicyConfig.BuilderlifecycleState(SecurityPolicyConfigLifecycleState lifecycleState)The current state of the security policy configuration.SecurityPolicyConfig.BuildersecurityPolicyId(String securityPolicyId)The OCID of the security policy corresponding to the security policy configuration.SecurityPolicyConfig.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.SecurityPolicyConfig.BuildertimeCreated(Date timeCreated)The time the security policy configuration was created, in the format defined by RFC3339.SecurityPolicyConfig.BuildertimeUpdated(Date timeUpdated)The date and time the security policy configuration was last updated, in the format defined by RFC3339.SecurityPolicyConfig.BuilderunifiedAuditPolicyConfig(UnifiedAuditPolicyConfig unifiedAuditPolicyConfig)
-
-
-
Method Detail
-
id
public SecurityPolicyConfig.Builder id(String id)
The OCID of the security policy configuration.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public SecurityPolicyConfig.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the security policy configuration.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public SecurityPolicyConfig.Builder displayName(String displayName)
The display name of the security policy configuration.- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public SecurityPolicyConfig.Builder description(String description)
The description of the security policy configuration.- Parameters:
description- the value to set- Returns:
- this builder
-
securityPolicyId
public SecurityPolicyConfig.Builder securityPolicyId(String securityPolicyId)
The OCID of the security policy corresponding to the security policy configuration.- Parameters:
securityPolicyId- the value to set- Returns:
- this builder
-
timeCreated
public SecurityPolicyConfig.Builder timeCreated(Date timeCreated)
The time the security policy configuration was created, in the format defined by RFC3339.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public SecurityPolicyConfig.Builder timeUpdated(Date timeUpdated)
The date and time the security policy configuration was last updated, in the format defined by RFC3339.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
lifecycleState
public SecurityPolicyConfig.Builder lifecycleState(SecurityPolicyConfigLifecycleState lifecycleState)
The current state of the security policy configuration.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public SecurityPolicyConfig.Builder lifecycleDetails(String lifecycleDetails)
Details about the current state of the security policy configuration.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
firewallConfig
public SecurityPolicyConfig.Builder firewallConfig(FirewallConfig firewallConfig)
-
unifiedAuditPolicyConfig
public SecurityPolicyConfig.Builder unifiedAuditPolicyConfig(UnifiedAuditPolicyConfig unifiedAuditPolicyConfig)
-
freeformTags
public SecurityPolicyConfig.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 SecurityPolicyConfig.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 SecurityPolicyConfig.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 SecurityPolicyConfig build()
-
copy
public SecurityPolicyConfig.Builder copy(SecurityPolicyConfig model)
-
-