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