Package com.oracle.bmc.datasafe.model
Class SecurityPolicyReport.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.SecurityPolicyReport.Builder
-
- Enclosing class:
- SecurityPolicyReport
public static class SecurityPolicyReport.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityPolicyReport
build()
SecurityPolicyReport.Builder
compartmentId(String compartmentId)
The OCID of the compartment that contains the security policy report.SecurityPolicyReport.Builder
copy(SecurityPolicyReport model)
SecurityPolicyReport.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.SecurityPolicyReport.Builder
description(String description)
The description of the security policy report.SecurityPolicyReport.Builder
displayName(String displayName)
The display name of the security policy report.SecurityPolicyReport.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.SecurityPolicyReport.Builder
id(String id)
The OCID of the security policy report.SecurityPolicyReport.Builder
lifecycleDetails(String lifecycleDetails)
Details about the current state of the security policy report.SecurityPolicyReport.Builder
lifecycleState(SecurityPolicyReportLifecycleState lifecycleState)
The current state of the security policy report.SecurityPolicyReport.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.SecurityPolicyReport.Builder
targetId(String targetId)
The OCID of the of the target database.SecurityPolicyReport.Builder
timeCreated(Date timeCreated)
The date and time the security policy report was created, in the format defined by RFC3339.SecurityPolicyReport.Builder
timeUpdated(Date timeUpdated)
The date and time the security policy report was last updated, in the format defined by RFC3339.
-
-
-
Method Detail
-
id
public SecurityPolicyReport.Builder id(String id)
The OCID of the security policy report.- Parameters:
id
- the value to set- Returns:
- this builder
-
timeCreated
public SecurityPolicyReport.Builder timeCreated(Date timeCreated)
The date and time the security policy report was created, in the format defined by RFC3339.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public SecurityPolicyReport.Builder timeUpdated(Date timeUpdated)
The date and time the security policy report was last updated, in the format defined by RFC3339.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
compartmentId
public SecurityPolicyReport.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the security policy report.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public SecurityPolicyReport.Builder displayName(String displayName)
The display name of the security policy report.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
targetId
public SecurityPolicyReport.Builder targetId(String targetId)
The OCID of the of the target database.- Parameters:
targetId
- the value to set- Returns:
- this builder
-
description
public SecurityPolicyReport.Builder description(String description)
The description of the security policy report.- Parameters:
description
- the value to set- Returns:
- this builder
-
lifecycleState
public SecurityPolicyReport.Builder lifecycleState(SecurityPolicyReportLifecycleState lifecycleState)
The current state of the security policy report.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public SecurityPolicyReport.Builder lifecycleDetails(String lifecycleDetails)
Details about the current state of the security policy report.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
freeformTags
public SecurityPolicyReport.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 SecurityPolicyReport.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 SecurityPolicyReport.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 SecurityPolicyReport build()
-
copy
public SecurityPolicyReport.Builder copy(SecurityPolicyReport model)
-
-