Package com.oracle.bmc.datasafe.model
Class SubsettingPolicyHealthReportSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.SubsettingPolicyHealthReportSummary.Builder
-
- Enclosing class:
- SubsettingPolicyHealthReportSummary
public static class SubsettingPolicyHealthReportSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public SubsettingPolicyHealthReportSummary.Builder id(String id)
The OCID of the health report.- Parameters:
id- the value to set- Returns:
- this builder
-
subsettingPolicyId
public SubsettingPolicyHealthReportSummary.Builder subsettingPolicyId(String subsettingPolicyId)
The OCID of the subsetting policy.- Parameters:
subsettingPolicyId- the value to set- Returns:
- this builder
-
targetId
public SubsettingPolicyHealthReportSummary.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 SubsettingPolicyHealthReportSummary.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 SubsettingPolicyHealthReportSummary.Builder displayName(String displayName)
The display name of the health report.- Parameters:
displayName- the value to set- Returns:
- this builder
-
timeCreated
public SubsettingPolicyHealthReportSummary.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 SubsettingPolicyHealthReportSummary.Builder lifecycleState(SubsettingPolicyHealthReport.LifecycleState lifecycleState)
The current state of the health report.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
errorCount
public SubsettingPolicyHealthReportSummary.Builder errorCount(Long errorCount)
The count of errors in the subsetting health report.- Parameters:
errorCount- the value to set- Returns:
- this builder
-
warningCount
public SubsettingPolicyHealthReportSummary.Builder warningCount(Long warningCount)
The count of warnings in the subsetting health report.- Parameters:
warningCount- the value to set- Returns:
- this builder
-
freeformTags
public SubsettingPolicyHealthReportSummary.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 SubsettingPolicyHealthReportSummary.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 SubsettingPolicyHealthReportSummary build()
-
copy
public SubsettingPolicyHealthReportSummary.Builder copy(SubsettingPolicyHealthReportSummary model)
-
-