Package com.oracle.bmc.opsi.model
Class AwrSourceSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.opsi.model.AwrSourceSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class AwrSourceSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Summary of an AwrSource.
Note: Objects should always be created or deserialized using theAwrSourceSummary.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 theAwrSourceSummary.Builder
, which maintain a set of all explicitly set fields calledAwrSourceSummary.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
AwrSourceSummary.Builder
-
Constructor Summary
Constructors Constructor Description AwrSourceSummary(String awrHubId, String name, String awrSourceDatabaseId, BigDecimal snapshotsUploaded, BigDecimal minSnapshotIdentifier, BigDecimal maxSnapshotIdentifier, Date timeFirstSnapshotGenerated, Date timeLastSnapshotGenerated, Double hoursSinceLastImport)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AwrSourceSummary.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getAwrHubId()
AWR Hub OCIDString
getAwrSourceDatabaseId()
DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.Double
getHoursSinceLastImport()
Number of hours since last AWR snapshots import happened from the Source database.BigDecimal
getMaxSnapshotIdentifier()
The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.BigDecimal
getMinSnapshotIdentifier()
The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.String
getName()
Database name of the Source database for which AWR Data will be uploaded to AWR Hub.BigDecimal
getSnapshotsUploaded()
Number of AWR snapshots uploaded from the Source database.Date
getTimeFirstSnapshotGenerated()
The time at which the earliest snapshot was generated in the source database for which data is uploaded to AWR Hub.Date
getTimeLastSnapshotGenerated()
The time at which the latest snapshot was generated in the source database for which data is uploaded to AWR Hub.int
hashCode()
AwrSourceSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
AwrSourceSummary
@Deprecated @ConstructorProperties({"awrHubId","name","awrSourceDatabaseId","snapshotsUploaded","minSnapshotIdentifier","maxSnapshotIdentifier","timeFirstSnapshotGenerated","timeLastSnapshotGenerated","hoursSinceLastImport"}) public AwrSourceSummary(String awrHubId, String name, String awrSourceDatabaseId, BigDecimal snapshotsUploaded, BigDecimal minSnapshotIdentifier, BigDecimal maxSnapshotIdentifier, Date timeFirstSnapshotGenerated, Date timeLastSnapshotGenerated, Double hoursSinceLastImport)
Deprecated.
-
-
Method Detail
-
builder
public static AwrSourceSummary.Builder builder()
Create a new builder.
-
toBuilder
public AwrSourceSummary.Builder toBuilder()
-
getAwrHubId
public String getAwrHubId()
AWR Hub OCID- Returns:
- the value
-
getName
public String getName()
Database name of the Source database for which AWR Data will be uploaded to AWR Hub.- Returns:
- the value
-
getAwrSourceDatabaseId
public String getAwrSourceDatabaseId()
DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.- Returns:
- the value
-
getSnapshotsUploaded
public BigDecimal getSnapshotsUploaded()
Number of AWR snapshots uploaded from the Source database.- Returns:
- the value
-
getMinSnapshotIdentifier
public BigDecimal getMinSnapshotIdentifier()
The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.- Returns:
- the value
-
getMaxSnapshotIdentifier
public BigDecimal getMaxSnapshotIdentifier()
The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.- Returns:
- the value
-
getTimeFirstSnapshotGenerated
public Date getTimeFirstSnapshotGenerated()
The time at which the earliest snapshot was generated in the source database for which data is uploaded to AWR Hub.An RFC3339 formatted datetime string
- Returns:
- the value
-
getTimeLastSnapshotGenerated
public Date getTimeLastSnapshotGenerated()
The time at which the latest snapshot was generated in the source database for which data is uploaded to AWR Hub.An RFC3339 formatted datetime string
- Returns:
- the value
-
getHoursSinceLastImport
public Double getHoursSinceLastImport()
Number of hours since last AWR snapshots import happened from the Source database.- 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
-
-