Class SubsettingPolicyHealthReportLogSummary


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20181201")
    public final class SubsettingPolicyHealthReportLogSummary
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    A log entry related to the pre-subsetting health check.
    Note: Objects should always be created or deserialized using the SubsettingPolicyHealthReportLogSummary.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 the SubsettingPolicyHealthReportLogSummary.Builder, which maintain a set of all explicitly set fields called SubsettingPolicyHealthReportLogSummary.Builder.__explicitlySet__. The hashCode() and equals(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).
    • Method Detail

      • 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:
        toString in class com.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:
        equals in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel