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 SummaryNested Classes Modifier and Type Class Description static classAwrSourceSummary.Builder
 - 
Constructor SummaryConstructors Constructor Description AwrSourceSummary(String awrHubId, String name, String awrSourceDatabaseId, BigDecimal snapshotsUploaded, BigDecimal minSnapshotIdentifier, BigDecimal maxSnapshotIdentifier, Date timeFirstSnapshotGenerated, Date timeLastSnapshotGenerated, Double hoursSinceLastImport)Deprecated.
 - 
Method SummaryAll 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- 
builderpublic static AwrSourceSummary.Builder builder() Create a new builder.
 - 
toBuilderpublic AwrSourceSummary.Builder toBuilder() 
 - 
getAwrHubIdpublic String getAwrHubId() AWR Hub OCID- Returns:
- the value
 
 - 
getNamepublic String getName() Database name of the Source database for which AWR Data will be uploaded to AWR Hub.- Returns:
- the value
 
 - 
getAwrSourceDatabaseIdpublic String getAwrSourceDatabaseId() DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.- Returns:
- the value
 
 - 
getSnapshotsUploadedpublic BigDecimal getSnapshotsUploaded() Number of AWR snapshots uploaded from the Source database.- Returns:
- the value
 
 - 
getMinSnapshotIdentifierpublic BigDecimal getMinSnapshotIdentifier() The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.- Returns:
- the value
 
 - 
getMaxSnapshotIdentifierpublic BigDecimal getMaxSnapshotIdentifier() The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.- Returns:
- the value
 
 - 
getTimeFirstSnapshotGeneratedpublic 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
 
 - 
getTimeLastSnapshotGeneratedpublic 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
 
 - 
getHoursSinceLastImportpublic Double getHoursSinceLastImport() Number of hours since last AWR snapshots import happened from the Source database.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-