Package com.oracle.bmc.datasafe.model
Class MaskingPolicyHealthReportSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.MaskingPolicyHealthReportSummary.Builder
-
- Enclosing class:
- MaskingPolicyHealthReportSummary
public static class MaskingPolicyHealthReportSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public MaskingPolicyHealthReportSummary.Builder id(String id)
The OCID of the health report.- Parameters:
id
- the value to set- Returns:
- this builder
-
maskingPolicyId
public MaskingPolicyHealthReportSummary.Builder maskingPolicyId(String maskingPolicyId)
The OCID of the masking policy.- Parameters:
maskingPolicyId
- the value to set- Returns:
- this builder
-
targetId
public MaskingPolicyHealthReportSummary.Builder targetId(String targetId)
The OCID of the target database for which this report was created.- Parameters:
targetId
- the value to set- Returns:
- this builder
-
compartmentId
public MaskingPolicyHealthReportSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the health report.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public MaskingPolicyHealthReportSummary.Builder displayName(String displayName)
The display name of the health report.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
timeCreated
public MaskingPolicyHealthReportSummary.Builder timeCreated(Date timeCreated)
The date and time the report was created, in the format defined by RFC3339.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
lifecycleState
public MaskingPolicyHealthReportSummary.Builder lifecycleState(MaskingPolicyHealthReport.LifecycleState lifecycleState)
The current state of the health report.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
description
public MaskingPolicyHealthReportSummary.Builder description(String description)
The description of the masking health report.- Parameters:
description
- the value to set- Returns:
- this builder
-
errorCount
public MaskingPolicyHealthReportSummary.Builder errorCount(Long errorCount)
The count of errors in the masking health report.- Parameters:
errorCount
- the value to set- Returns:
- this builder
-
warningCount
public MaskingPolicyHealthReportSummary.Builder warningCount(Long warningCount)
The count of warnings in the masking health report.- Parameters:
warningCount
- the value to set- Returns:
- this builder
-
freeformTags
public MaskingPolicyHealthReportSummary.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 MaskingPolicyHealthReportSummary.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 MaskingPolicyHealthReportSummary build()
-
copy
public MaskingPolicyHealthReportSummary.Builder copy(MaskingPolicyHealthReportSummary model)
-
-