Package com.oracle.bmc.datasafe.model
Class AvailableAuditVolumeSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datasafe.model.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 theAvailableAuditVolumeSummary.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 theAvailableAuditVolumeSummary.Builder
, which maintain a set of all explicitly set fields calledAvailableAuditVolumeSummary.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 class
AvailableAuditVolumeSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AvailableAuditVolumeSummary.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getAuditProfileId()
The OCID of the audit profile resource.String
getAuditTrailId()
The OCID of the audit trail.String
getDatabaseUniqueName()
Unique name of the database associated to the peer target database.Date
getMonthInConsideration()
Represents the month under consideration for which aggregated audit data volume available at the target is computed.String
getTrailLocation()
Audit trail location on the target database from where the audit data is being collected by Data Safe.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.int
hashCode()
AvailableAuditVolumeSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
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
-
builder
public static AvailableAuditVolumeSummary.Builder builder()
Create a new builder.
-
toBuilder
public AvailableAuditVolumeSummary.Builder toBuilder()
-
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 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:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-