Package com.oracle.bmc.datasafe.model
Class GenerateHealthReportDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.GenerateHealthReportDetails.Builder
-
- Enclosing class:
- GenerateHealthReportDetails
public static class GenerateHealthReportDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GenerateHealthReportDetails
build()
GenerateHealthReportDetails.Builder
checkType(GenerateHealthReportDetails.CheckType checkType)
The type of health check.GenerateHealthReportDetails.Builder
compartmentId(String compartmentId)
The OCID of the compartment where the health report resource should be created.GenerateHealthReportDetails.Builder
copy(GenerateHealthReportDetails model)
GenerateHealthReportDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.GenerateHealthReportDetails.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.GenerateHealthReportDetails.Builder
tablespace(String tablespace)
The tablespace that should be used to estimate space.GenerateHealthReportDetails.Builder
targetId(String targetId)
The OCID of the target database to use for the masking policy health check.
-
-
-
Method Detail
-
checkType
public GenerateHealthReportDetails.Builder checkType(GenerateHealthReportDetails.CheckType checkType)
The type of health check.The default behaviour is to perform all health checks.
- Parameters:
checkType
- the value to set- Returns:
- this builder
-
targetId
public GenerateHealthReportDetails.Builder targetId(String targetId)
The OCID of the target database to use for the masking policy health check.The targetId associated with the masking policy is used if this is not passed.
- Parameters:
targetId
- the value to set- Returns:
- this builder
-
compartmentId
public GenerateHealthReportDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment where the health report resource should be created.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
tablespace
public GenerateHealthReportDetails.Builder tablespace(String tablespace)
The tablespace that should be used to estimate space.If no tablespace is provided, the DEFAULT tablespace is used.
- Parameters:
tablespace
- the value to set- Returns:
- this builder
-
freeformTags
public GenerateHealthReportDetails.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 GenerateHealthReportDetails.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 GenerateHealthReportDetails build()
-
copy
public GenerateHealthReportDetails.Builder copy(GenerateHealthReportDetails model)
-
-