Class SubsettingPolicyHealthReportLogSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datasafe.model.SubsettingPolicyHealthReportLogSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class SubsettingPolicyHealthReportLogSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelA log entry related to the pre-subsetting health check.
Note: Objects should always be created or deserialized using theSubsettingPolicyHealthReportLogSummary.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theSubsettingPolicyHealthReportLogSummary.Builder, which maintain a set of all explicitly set fields calledSubsettingPolicyHealthReportLogSummary.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSubsettingPolicyHealthReportLogSummary.Builderstatic classSubsettingPolicyHealthReportLogSummary.HealthCheckTypeAn enum type entry for each health check in the subsetting policy.static classSubsettingPolicyHealthReportLogSummary.MessageTypeThe log entry type.
-
Constructor Summary
Constructors Constructor Description SubsettingPolicyHealthReportLogSummary(SubsettingPolicyHealthReportLogSummary.MessageType messageType, Date timestamp, String message, String remediation, String description, SubsettingPolicyHealthReportLogSummary.HealthCheckType healthCheckType)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SubsettingPolicyHealthReportLogSummary.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetDescription()A human-readable description for the log entry.SubsettingPolicyHealthReportLogSummary.HealthCheckTypegetHealthCheckType()An enum type entry for each health check in the subsetting policy.StringgetMessage()A human-readable log entry.SubsettingPolicyHealthReportLogSummary.MessageTypegetMessageType()The log entry type.StringgetRemediation()A human-readable log entry to remedy any error or warnings in the subsetting policy.DategetTimestamp()The date and time the log entry was created, in the format defined by RFC3339.inthashCode()SubsettingPolicyHealthReportLogSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
SubsettingPolicyHealthReportLogSummary
@Deprecated @ConstructorProperties({"messageType","timestamp","message","remediation","description","healthCheckType"}) public SubsettingPolicyHealthReportLogSummary(SubsettingPolicyHealthReportLogSummary.MessageType messageType, Date timestamp, String message, String remediation, String description, SubsettingPolicyHealthReportLogSummary.HealthCheckType healthCheckType)
Deprecated.
-
-
Method Detail
-
builder
public static SubsettingPolicyHealthReportLogSummary.Builder builder()
Create a new builder.
-
toBuilder
public SubsettingPolicyHealthReportLogSummary.Builder toBuilder()
-
getMessageType
public SubsettingPolicyHealthReportLogSummary.MessageType getMessageType()
The log entry type.- Returns:
- the value
-
getTimestamp
public Date getTimestamp()
The date and time the log entry was created, in the format defined by RFC3339.- Returns:
- the value
-
getMessage
public String getMessage()
A human-readable log entry.- Returns:
- the value
-
getRemediation
public String getRemediation()
A human-readable log entry to remedy any error or warnings in the subsetting policy.- Returns:
- the value
-
getDescription
public String getDescription()
A human-readable description for the log entry.- Returns:
- the value
-
getHealthCheckType
public SubsettingPolicyHealthReportLogSummary.HealthCheckType getHealthCheckType()
An enum type entry for each health check in the subsetting policy.Each enum describes a type of health check. INVALID_OBJECT_CHECK checks if there exist any invalid objects in the subsetting tables. PRIVILEGE_CHECK checks if the subsetting user has sufficient privilege to run subsetting. TABLESPACE_CHECK checks if the user has sufficient default and TEMP tablespace. Also verifies that the specified tablespace by the user is valid, if user has provided one DATABASE_OR_SYSTEM_TRIGGERS_CHECK checks if there exist any database/system triggers available. UNDO_TABLESPACE_CHECK checks if for all the instances of undo tablespace the AUTOEXTEND feature is enabled. If it’s not enabled, it further checks if the undo tablespace has any space remaining. STATE_STATS_CHECK checks if all the statistics of the subsetting table is upto date or not. OLS_POLICY_CHECK , VPD_POLICY_CHECK and REDACTION_POLICY_CHECK checks if the subsetting tables has Oracle Label Security (OLS) or Virtual Private Database (VPD) or Redaction policies enabled. DV_ENABLE_CHECK checks if database has Database Vault(DV) enabled ACTIVE_JOB_CHECK checks if there is any active subsetting job running on the target database. TABLE_EXIST_CHECK checks if the subsetting tables are available in the target database. TIME_TRAVEL_CHECK checks if the subsetting tables have Time Travel enabled. SYSTEM_OBJECTS_CHECK checks if the subsetting tables have dependent objects present in SYS schema. INVALID_PACKAGE_CHECK checks if any of the required packages are in invalid state. AUDIT_POLICY_CHECK checks if the subsetting tables have Audit policies enabled. VALID_RULES_CHECK if the subsetting rules on the tables are valid. CUSTOM_TABLESPACE_CHECK runs only when a custom tablespace is specified for the subsetting job. It checks if each policy schema can allocate space in that tablespace.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-