Class AvailableAuditVolumeSummary


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20181201")
    public final class AvailableAuditVolumeSummary
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Represents the audit data volume collected by Data Safe from the target database for the specified audit profile.
    Note: Objects should always be created or deserialized using the AvailableAuditVolumeSummary.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 AvailableAuditVolumeSummary.Builder, which maintain a set of all explicitly set fields called AvailableAuditVolumeSummary.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).
    • Constructor Detail

      • AvailableAuditVolumeSummary

        @Deprecated
        @ConstructorProperties({"auditProfileId","auditTrailId","databaseUniqueName","trailLocation","monthInConsideration","volume"})
        public AvailableAuditVolumeSummary​(String auditProfileId,
                                           String auditTrailId,
                                           String databaseUniqueName,
                                           String trailLocation,
                                           Date monthInConsideration,
                                           Long volume)
        Deprecated.
    • Method Detail

      • getAuditProfileId

        public String getAuditProfileId()
        The OCID of the audit profile resource.
        Returns:
        the value
      • getAuditTrailId

        public String getAuditTrailId()
        The OCID of the audit trail.
        Returns:
        the value
      • getDatabaseUniqueName

        public String getDatabaseUniqueName()
        Unique name of the database associated to the peer target database.
        Returns:
        the value
      • getTrailLocation

        public String getTrailLocation()
        Audit trail location on the target database from where the audit data is being collected by Data Safe.
        Returns:
        the value
      • getMonthInConsideration

        public Date getMonthInConsideration()
        Represents the month under consideration for which aggregated audit data volume available at the target is computed.

        This field will be the UTC start of the day of the first day of the month for which the aggregate count corresponds to, in the format defined by RFC3339.. For instance, the value of 01-01-2021T00:00:00Z represents Jan 2021.

        Returns:
        the value
      • getVolume

        public Long getVolume()
        Represents the aggregated audit data volume available in the audit trails on the target database which is yet to be collected by Data Safe for the specified month.
        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