Package com.oracle.bmc.datasafe.model
Class CryptoAssessmentBackupSetSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datasafe.model.CryptoAssessmentBackupSetSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class CryptoAssessmentBackupSetSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelSummary of one backup set observed for a crypto assessment.
Note: Objects should always be created or deserialized using theCryptoAssessmentBackupSetSummary.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 theCryptoAssessmentBackupSetSummary.Builder, which maintain a set of all explicitly set fields calledCryptoAssessmentBackupSetSummary.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 classCryptoAssessmentBackupSetSummary.BackupTypeBackup type observed for the set.static classCryptoAssessmentBackupSetSummary.Builderstatic classCryptoAssessmentBackupSetSummary.StatusCurrent status of the backup set.
-
Constructor Summary
Constructors Constructor Description CryptoAssessmentBackupSetSummary(String assessmentId, Date timeLastAssessed, String targetId, String backupSetKey, String setStamp, CryptoAssessmentBackupSetSummary.BackupType backupType, CryptoAssessmentBackupSetSummary.Status status, Integer backupPieces, Boolean isEncrypted, String algorithmObserved, String cipherModeObserved, Boolean isCompressed, Date timeCreated, Double sizeInGBs)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CryptoAssessmentBackupSetSummary.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAlgorithmObserved()Encryption algorithm observed for the backup set when encryption is enabled.StringgetAssessmentId()OCID of the crypto assessment that discovered the backup set.IntegergetBackupPieces()Number of backup pieces in the set.StringgetBackupSetKey()Backup set key.CryptoAssessmentBackupSetSummary.BackupTypegetBackupType()Backup type observed for the set.StringgetCipherModeObserved()Cipher mode observed for the backup set when encryption is enabled.BooleangetIsCompressed()Indicates whether the backup set is compressed.BooleangetIsEncrypted()Indicates whether the backup set is encrypted.StringgetSetStamp()Backup set stamp.DoublegetSizeInGBs()Backup set size in gigabytes.CryptoAssessmentBackupSetSummary.StatusgetStatus()Current status of the backup set.StringgetTargetId()OCID of the target database associated with the backup set.DategetTimeCreated()Backup set creation time in RFC3339 format.DategetTimeLastAssessed()The date and time the associated crypto assessment was last assessed, in RFC3339 format.inthashCode()CryptoAssessmentBackupSetSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
CryptoAssessmentBackupSetSummary
@Deprecated @ConstructorProperties({"assessmentId","timeLastAssessed","targetId","backupSetKey","setStamp","backupType","status","backupPieces","isEncrypted","algorithmObserved","cipherModeObserved","isCompressed","timeCreated","sizeInGBs"}) public CryptoAssessmentBackupSetSummary(String assessmentId, Date timeLastAssessed, String targetId, String backupSetKey, String setStamp, CryptoAssessmentBackupSetSummary.BackupType backupType, CryptoAssessmentBackupSetSummary.Status status, Integer backupPieces, Boolean isEncrypted, String algorithmObserved, String cipherModeObserved, Boolean isCompressed, Date timeCreated, Double sizeInGBs)
Deprecated.
-
-
Method Detail
-
builder
public static CryptoAssessmentBackupSetSummary.Builder builder()
Create a new builder.
-
toBuilder
public CryptoAssessmentBackupSetSummary.Builder toBuilder()
-
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
-
getBackupType
public CryptoAssessmentBackupSetSummary.BackupType getBackupType()
Backup type observed for the set.- Returns:
- the value
-
getStatus
public CryptoAssessmentBackupSetSummary.Status getStatus()
Current status of the backup set.- 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:
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
-
-