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.ExplicitlySetBmcModelSummary 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 classAwrSourceSummary.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.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAwrHubId()AWR Hub OCIDStringgetAwrSourceDatabaseId()DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.DoublegetHoursSinceLastImport()Number of hours since last AWR snapshots import happened from the Source database.BigDecimalgetMaxSnapshotIdentifier()The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.BigDecimalgetMinSnapshotIdentifier()The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.StringgetName()Database name of the Source database for which AWR Data will be uploaded to AWR Hub.BigDecimalgetSnapshotsUploaded()Number of AWR snapshots uploaded from the Source database.DategetTimeFirstSnapshotGenerated()The time at which the earliest snapshot was generated in the source database for which data is uploaded to AWR Hub.DategetTimeLastSnapshotGenerated()The time at which the latest snapshot was generated in the source database for which data is uploaded to AWR Hub.inthashCode()AwrSourceSummary.BuildertoBuilder()StringtoString()StringtoString(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:
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
-
-