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