Class CreateDatabaseFromSnapshotDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.database.model.CreateDatabaseFromSnapshotDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class CreateDatabaseFromSnapshotDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Note: Objects should always be created or deserialized using theCreateDatabaseFromSnapshotDetails.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
CreateDatabaseFromSnapshotDetails.Builder, which maintain a set of all explicitly set fields calledCreateDatabaseFromSnapshotDetails.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 classCreateDatabaseFromSnapshotDetails.Builder
-
Constructor Summary
Constructors Constructor Description CreateDatabaseFromSnapshotDetails(String sourceSnapshotId, Boolean isThinClone, char[] sourceTdePassword, char[] sourceAdminPassword, EncryptionKeyLocationDetails sourceEncryptionKeyLocationDetails, char[] tdeWalletPassword, DbBackupConfig dbBackupConfig, char[] adminPassword, String dbUniqueName, String dbName, String characterSet, String ncharacterSet, String sidPrefix, String keyStoreId, EncryptionKeyLocationDetails encryptionKeyLocationDetails, DatabaseStorageSizeDetails storageSizeDetails, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, DataSafeRegistrationRequestDetails dataSafeRegistrationDetails)Deprecated.CreateDatabaseFromSnapshotDetails(String sourceSnapshotId, Boolean isThinClone, String sourceTdePassword, String sourceAdminPassword, EncryptionKeyLocationDetails sourceEncryptionKeyLocationDetails, String tdeWalletPassword, DbBackupConfig dbBackupConfig, String adminPassword, String dbUniqueName, String dbName, String characterSet, String ncharacterSet, String sidPrefix, String keyStoreId, EncryptionKeyLocationDetails encryptionKeyLocationDetails, DatabaseStorageSizeDetails storageSizeDetails, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, DataSafeRegistrationRequestDetails dataSafeRegistrationDetails)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static CreateDatabaseFromSnapshotDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAdminPassword()Deprecated.Use getAdminPassword__AsCharArray() instead.char[]getAdminPassword__AsCharArray()A strong password for SYS, SYSTEM, PDB Admin and TDE Wallet.StringgetCharacterSet()The character set for the database.DataSafeRegistrationRequestDetailsgetDataSafeRegistrationDetails()DbBackupConfiggetDbBackupConfig()StringgetDbName()The display name of the database to be created from the snapshot/database.StringgetDbUniqueName()The DB_UNIQUE_NAME for the new Oracle Database.Map<String,Map<String,Object>>getDefinedTags()Defined tags for this resource.EncryptionKeyLocationDetailsgetEncryptionKeyLocationDetails()Map<String,String>getFreeformTags()Free-form tags for this resource.BooleangetIsThinClone()Specifies whether thick or thin database cloning is to be performed.StringgetKeyStoreId()The OCID of the key store of Oracle Vault.StringgetNcharacterSet()The national character set for the database.StringgetSidPrefix()Specifies a prefix for the Oracle SID of the database to be created.StringgetSourceAdminPassword()Deprecated.Use getSourceAdminPassword__AsCharArray() instead.char[]getSourceAdminPassword__AsCharArray()The source database’s password for SYS, SYSTEM.EncryptionKeyLocationDetailsgetSourceEncryptionKeyLocationDetails()StringgetSourceSnapshotId()The snapshot OCID.StringgetSourceTdePassword()Deprecated.Use getSourceTdePassword__AsCharArray() instead.char[]getSourceTdePassword__AsCharArray()The password to open the TDE wallet.DatabaseStorageSizeDetailsgetStorageSizeDetails()StringgetTdeWalletPassword()Deprecated.Use getTdeWalletPassword__AsCharArray() instead.char[]getTdeWalletPassword__AsCharArray()The password for the target Database TDE wallet.inthashCode()CreateDatabaseFromSnapshotDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
CreateDatabaseFromSnapshotDetails
@Deprecated public CreateDatabaseFromSnapshotDetails(String sourceSnapshotId, Boolean isThinClone, String sourceTdePassword, String sourceAdminPassword, EncryptionKeyLocationDetails sourceEncryptionKeyLocationDetails, String tdeWalletPassword, DbBackupConfig dbBackupConfig, String adminPassword, String dbUniqueName, String dbName, String characterSet, String ncharacterSet, String sidPrefix, String keyStoreId, EncryptionKeyLocationDetails encryptionKeyLocationDetails, DatabaseStorageSizeDetails storageSizeDetails, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, DataSafeRegistrationRequestDetails dataSafeRegistrationDetails)
Deprecated.
-
CreateDatabaseFromSnapshotDetails
@Deprecated @ConstructorProperties({"sourceSnapshotId","isThinClone","sourceTdePassword","sourceAdminPassword","sourceEncryptionKeyLocationDetails","tdeWalletPassword","dbBackupConfig","adminPassword","dbUniqueName","dbName","characterSet","ncharacterSet","sidPrefix","keyStoreId","encryptionKeyLocationDetails","storageSizeDetails","freeformTags","definedTags","dataSafeRegistrationDetails"}) public CreateDatabaseFromSnapshotDetails(String sourceSnapshotId, Boolean isThinClone, char[] sourceTdePassword, char[] sourceAdminPassword, EncryptionKeyLocationDetails sourceEncryptionKeyLocationDetails, char[] tdeWalletPassword, DbBackupConfig dbBackupConfig, char[] adminPassword, String dbUniqueName, String dbName, String characterSet, String ncharacterSet, String sidPrefix, String keyStoreId, EncryptionKeyLocationDetails encryptionKeyLocationDetails, DatabaseStorageSizeDetails storageSizeDetails, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, DataSafeRegistrationRequestDetails dataSafeRegistrationDetails)
Deprecated.
-
-
Method Detail
-
builder
public static CreateDatabaseFromSnapshotDetails.Builder builder()
Create a new builder.
-
toBuilder
public CreateDatabaseFromSnapshotDetails.Builder toBuilder()
-
getIsThinClone
public Boolean getIsThinClone()
Specifies whether thick or thin database cloning is to be performed.- Returns:
- the value
-
getSourceTdePassword
@Deprecated public String getSourceTdePassword()
Deprecated.Use getSourceTdePassword__AsCharArray() instead.The password to open the TDE wallet.- Returns:
- the value
-
getSourceTdePassword__AsCharArray
public char[] getSourceTdePassword__AsCharArray()
The password to open the TDE wallet.- Returns:
- the value
-
getSourceAdminPassword
@Deprecated public String getSourceAdminPassword()
Deprecated.Use getSourceAdminPassword__AsCharArray() instead.The source database's password for SYS, SYSTEM.- Returns:
- the value
-
getSourceAdminPassword__AsCharArray
public char[] getSourceAdminPassword__AsCharArray()
The source database’s password for SYS, SYSTEM.- Returns:
- the value
-
getSourceEncryptionKeyLocationDetails
public EncryptionKeyLocationDetails getSourceEncryptionKeyLocationDetails()
-
getTdeWalletPassword
@Deprecated public String getTdeWalletPassword()
Deprecated.Use getTdeWalletPassword__AsCharArray() instead.The password for the target Database TDE wallet.- Returns:
- the value
-
getTdeWalletPassword__AsCharArray
public char[] getTdeWalletPassword__AsCharArray()
The password for the target Database TDE wallet.- Returns:
- the value
-
getDbBackupConfig
public DbBackupConfig getDbBackupConfig()
-
getAdminPassword
@Deprecated public String getAdminPassword()
Deprecated.Use getAdminPassword__AsCharArray() instead.A strong password for SYS, SYSTEM, PDB Admin and TDE Wallet.The password must be at least nine characters and contain at least two uppercase, two lowercase, two numbers, and two special characters. The special characters must be _, \#, or -.
- Returns:
- the value
-
getAdminPassword__AsCharArray
public char[] getAdminPassword__AsCharArray()
A strong password for SYS, SYSTEM, PDB Admin and TDE Wallet.The password must be at least nine characters and contain at least two uppercase, two lowercase, two numbers, and two special characters. The special characters must be _, \#, or -.
- Returns:
- the value
-
getDbUniqueName
public String getDbUniqueName()
The DB_UNIQUE_NAME for the new Oracle Database.- Returns:
- the value
-
getDbName
public String getDbName()
The display name of the database to be created from the snapshot/database.It must begin with an alphabetic character and can contain a maximum of eight alphanumeric characters. Special characters are not permitted.
- Returns:
- the value
-
getCharacterSet
public String getCharacterSet()
The character set for the database.The default is AL32UTF8. Allowed values are: AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS
- Returns:
- the value
-
getNcharacterSet
public String getNcharacterSet()
The national character set for the database.The default is AL16UTF16. Allowed values are: AL16UTF16 or UTF8.
- Returns:
- the value
-
getSidPrefix
public String getSidPrefix()
Specifies a prefix for the Oracle SID of the database to be created.- Returns:
- the value
-
getKeyStoreId
public String getKeyStoreId()
The OCID of the key store of Oracle Vault.- Returns:
- the value
-
getEncryptionKeyLocationDetails
public EncryptionKeyLocationDetails getEncryptionKeyLocationDetails()
-
getStorageSizeDetails
public DatabaseStorageSizeDetails getStorageSizeDetails()
-
getFreeformTags
public Map<String,String> getFreeformTags()
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
- Returns:
- the value
-
getDefinedTags
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Returns:
- the value
-
getDataSafeRegistrationDetails
public DataSafeRegistrationRequestDetails getDataSafeRegistrationDetails()
-
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
-
-