Class BackupSourceDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.psql.model.SourceDetails
-
- com.oracle.bmc.psql.model.BackupSourceDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220915") public final class BackupSourceDetails extends SourceDetails
Restoring to a new database system from the backup.The database system details that are part of the CreateDbSystem request are not required, but if present will override the details from the backup’s database system snapshot.
Note: Objects should always be created or deserialized using theBackupSourceDetails.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 theBackupSourceDetails.Builder
, which maintain a set of all explicitly set fields calledBackupSourceDetails.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
BackupSourceDetails.Builder
-
Nested classes/interfaces inherited from class com.oracle.bmc.psql.model.SourceDetails
SourceDetails.SourceType
-
-
Constructor Summary
Constructors Constructor Description BackupSourceDetails(String backupId, Boolean isHavingRestoreConfigOverrides)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BackupSourceDetails.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getBackupId()
The OCID of the database system backup.Boolean
getIsHavingRestoreConfigOverrides()
Deprecated.int
hashCode()
BackupSourceDetails.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
BackupSourceDetails
@Deprecated public BackupSourceDetails(String backupId, Boolean isHavingRestoreConfigOverrides)
Deprecated.
-
-
Method Detail
-
builder
public static BackupSourceDetails.Builder builder()
Create a new builder.
-
toBuilder
public BackupSourceDetails.Builder toBuilder()
-
getIsHavingRestoreConfigOverrides
public Boolean getIsHavingRestoreConfigOverrides()
Deprecated.Don’t use.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classSourceDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classSourceDetails
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classSourceDetails
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classSourceDetails
-
-