Package com.oracle.bmc.datasafe.model
Class SecurityPolicyDeploymentSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.SecurityPolicyDeploymentSummary.Builder
-
- Enclosing class:
- SecurityPolicyDeploymentSummary
public static class SecurityPolicyDeploymentSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityPolicyDeploymentSummarybuild()SecurityPolicyDeploymentSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment containing the security policy deployment.SecurityPolicyDeploymentSummary.Buildercopy(SecurityPolicyDeploymentSummary model)SecurityPolicyDeploymentSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.SecurityPolicyDeploymentSummary.Builderdescription(String description)The description of the security policy deployment.SecurityPolicyDeploymentSummary.BuilderdisplayName(String displayName)The display name of the security policy deployment.SecurityPolicyDeploymentSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.SecurityPolicyDeploymentSummary.Builderid(String id)The OCID of the security policy deployment.SecurityPolicyDeploymentSummary.BuilderlifecycleDetails(String lifecycleDetails)Details about the current state of the security policy deployment in Data Safe.SecurityPolicyDeploymentSummary.BuilderlifecycleState(SecurityPolicyDeploymentLifecycleState lifecycleState)The current state of the security policy deployment.SecurityPolicyDeploymentSummary.BuildersecurityPolicyId(String securityPolicyId)The OCID of the security policy corresponding to the security policy deployment.SecurityPolicyDeploymentSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.SecurityPolicyDeploymentSummary.BuildertargetId(String targetId)The OCID of the target/target group where the security policy is deployed.SecurityPolicyDeploymentSummary.BuildertargetType(SecurityPolicyDeployment.TargetType targetType)Indicates whether the security policy deployment is for a target database or a target database group.SecurityPolicyDeploymentSummary.BuildertimeCreated(Date timeCreated)The time that the security policy deployment was created, in the format defined by RFC3339.SecurityPolicyDeploymentSummary.BuildertimeDeployed(Date timeDeployed)The last date and time the security policy was deployed, in the format defined by RFC3339.SecurityPolicyDeploymentSummary.BuildertimeUpdated(Date timeUpdated)The last date and time the security policy deployment was updated, in the format defined by RFC3339.
-
-
-
Method Detail
-
id
public SecurityPolicyDeploymentSummary.Builder id(String id)
The OCID of the security policy deployment.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public SecurityPolicyDeploymentSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the security policy deployment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public SecurityPolicyDeploymentSummary.Builder displayName(String displayName)
The display name of the security policy deployment.- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public SecurityPolicyDeploymentSummary.Builder description(String description)
The description of the security policy deployment.- Parameters:
description- the value to set- Returns:
- this builder
-
targetId
public SecurityPolicyDeploymentSummary.Builder targetId(String targetId)
The OCID of the target/target group where the security policy is deployed.- Parameters:
targetId- the value to set- Returns:
- this builder
-
targetType
public SecurityPolicyDeploymentSummary.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
-
timeDeployed
public SecurityPolicyDeploymentSummary.Builder timeDeployed(Date timeDeployed)
The last date and time the security policy was deployed, in the format defined by RFC3339.- Parameters:
timeDeployed- the value to set- Returns:
- this builder
-
securityPolicyId
public SecurityPolicyDeploymentSummary.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
-
timeCreated
public SecurityPolicyDeploymentSummary.Builder timeCreated(Date timeCreated)
The time that the security policy deployment was created, in the format defined by RFC3339.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public SecurityPolicyDeploymentSummary.Builder timeUpdated(Date timeUpdated)
The last date and time the security policy deployment was updated, in the format defined by RFC3339.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
lifecycleState
public SecurityPolicyDeploymentSummary.Builder lifecycleState(SecurityPolicyDeploymentLifecycleState lifecycleState)
The current state of the security policy deployment.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public SecurityPolicyDeploymentSummary.Builder lifecycleDetails(String lifecycleDetails)
Details about the current state of the security policy deployment in Data Safe.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
freeformTags
public SecurityPolicyDeploymentSummary.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 SecurityPolicyDeploymentSummary.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 SecurityPolicyDeploymentSummary.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 SecurityPolicyDeploymentSummary build()
-
copy
public SecurityPolicyDeploymentSummary.Builder copy(SecurityPolicyDeploymentSummary model)
-
-