Package com.oracle.bmc.datasafe.model
Class CreateSecurityPolicyDeploymentDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.CreateSecurityPolicyDeploymentDetails.Builder
-
- Enclosing class:
- CreateSecurityPolicyDeploymentDetails
public static class CreateSecurityPolicyDeploymentDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
displayName
public CreateSecurityPolicyDeploymentDetails.Builder displayName(String displayName)
The display name of the security policy deployment.The name does not have to be unique, and it is changeable.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public CreateSecurityPolicyDeploymentDetails.Builder description(String description)
The description of the security policy.- Parameters:
description
- the value to set- Returns:
- this builder
-
compartmentId
public CreateSecurityPolicyDeploymentDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment in which to create the unified audit policy.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
targetId
public CreateSecurityPolicyDeploymentDetails.Builder targetId(String targetId)
The OCID of the target where the security policy is deployed.- Parameters:
targetId
- the value to set- Returns:
- this builder
-
targetType
public CreateSecurityPolicyDeploymentDetails.Builder targetType(SecurityPolicyDeployment.TargetType targetType)
Indicates whether the security policy deployment is for a target database or a target database group.- Parameters:
targetType
- the value to set- Returns:
- this builder
-
securityPolicyId
public CreateSecurityPolicyDeploymentDetails.Builder securityPolicyId(String securityPolicyId)
The OCID of the security policy corresponding to the security policy deployment.- Parameters:
securityPolicyId
- the value to set- Returns:
- this builder
-
freeformTags
public CreateSecurityPolicyDeploymentDetails.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 CreateSecurityPolicyDeploymentDetails.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
-
build
public CreateSecurityPolicyDeploymentDetails build()
-
copy
public CreateSecurityPolicyDeploymentDetails.Builder copy(CreateSecurityPolicyDeploymentDetails model)
-
-