Class CryptoAssessmentBackupSetSummary


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20181201")
    public final class CryptoAssessmentBackupSetSummary
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Summary of one backup set observed for a crypto assessment.
    Note: Objects should always be created or deserialized using the CryptoAssessmentBackupSetSummary.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 CryptoAssessmentBackupSetSummary.Builder, which maintain a set of all explicitly set fields called CryptoAssessmentBackupSetSummary.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).
    • Method Detail

      • getAssessmentId

        public String getAssessmentId()
        OCID of the crypto assessment that discovered the backup set.
        Returns:
        the value
      • getTimeLastAssessed

        public Date getTimeLastAssessed()
        The date and time the associated crypto assessment was last assessed, in RFC3339 format.
        Returns:
        the value
      • getTargetId

        public String getTargetId()
        OCID of the target database associated with the backup set.
        Returns:
        the value
      • getBackupSetKey

        public String getBackupSetKey()
        Backup set key.
        Returns:
        the value
      • getSetStamp

        public String getSetStamp()
        Backup set stamp.
        Returns:
        the value
      • getBackupPieces

        public Integer getBackupPieces()
        Number of backup pieces in the set.
        Returns:
        the value
      • getIsEncrypted

        public Boolean getIsEncrypted()
        Indicates whether the backup set is encrypted.
        Returns:
        the value
      • getAlgorithmObserved

        public String getAlgorithmObserved()
        Encryption algorithm observed for the backup set when encryption is enabled.
        Returns:
        the value
      • getCipherModeObserved

        public String getCipherModeObserved()
        Cipher mode observed for the backup set when encryption is enabled.
        Returns:
        the value
      • getIsCompressed

        public Boolean getIsCompressed()
        Indicates whether the backup set is compressed.
        Returns:
        the value
      • getTimeCreated

        public Date getTimeCreated()
        Backup set creation time in RFC3339 format.
        Returns:
        the value
      • getSizeInGBs

        public Double getSizeInGBs()
        Backup set size in gigabytes.
        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