Class CreateDatabaseForStandbyDbSystemDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.database.model.CreateDatabaseForStandbyDbSystemDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class CreateDatabaseForStandbyDbSystemDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelDetails for creating a database for a standby db system with dataguard.*Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
Note: Objects should always be created or deserialized using theCreateDatabaseForStandbyDbSystemDetails.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 theCreateDatabaseForStandbyDbSystemDetails.Builder, which maintain a set of all explicitly set fields calledCreateDatabaseForStandbyDbSystemDetails.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 classCreateDatabaseForStandbyDbSystemDetails.Builderstatic classCreateDatabaseForStandbyDbSystemDetails.ProtectionModeThe protection mode of this Data Guard association.static classCreateDatabaseForStandbyDbSystemDetails.TransportTypeThe redo transport type to use for this Data Guard association.
-
Constructor Summary
Constructors Constructor Description CreateDatabaseForStandbyDbSystemDetails(String adminPassword, String tdeWalletPassword, String databaseSoftwareImageId, Boolean isActiveDataGuardEnabled, String dbDomain, String sidPrefix, String dbUniqueName, CreateDatabaseForStandbyDbSystemDetails.ProtectionMode protectionMode, EncryptionKeyLocationDetails sourceEncryptionKeyLocationDetails, CreateDatabaseForStandbyDbSystemDetails.TransportType transportType, DbBackupConfig dbBackupConfig, Map<String,String> databaseFreeformTags, Map<String,Map<String,Object>> databaseDefinedTags)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateDatabaseForStandbyDbSystemDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAdminPassword()For SYS, SYSTEM, and PDB Admin, enter the same password as the primary admin password.Map<String,Map<String,Object>>getDatabaseDefinedTags()Defined tags for this resource.Map<String,String>getDatabaseFreeformTags()Free-form tags for this resource.StringgetDatabaseSoftwareImageId()The database software image OCIDDbBackupConfiggetDbBackupConfig()StringgetDbDomain()The database domain.StringgetDbUniqueName()The DB_UNIQUE_NAME of the Oracle Database.BooleangetIsActiveDataGuardEnabled()True if active Data Guard is enabled.CreateDatabaseForStandbyDbSystemDetails.ProtectionModegetProtectionMode()The protection mode of this Data Guard association.StringgetSidPrefix()Specifies a prefix for the Oracle SID of the database to be created.EncryptionKeyLocationDetailsgetSourceEncryptionKeyLocationDetails()StringgetTdeWalletPassword()For TDE Wallet, enter the same password as the primary wallet password.CreateDatabaseForStandbyDbSystemDetails.TransportTypegetTransportType()The redo transport type to use for this Data Guard association.inthashCode()CreateDatabaseForStandbyDbSystemDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
CreateDatabaseForStandbyDbSystemDetails
@Deprecated @ConstructorProperties({"adminPassword","tdeWalletPassword","databaseSoftwareImageId","isActiveDataGuardEnabled","dbDomain","sidPrefix","dbUniqueName","protectionMode","sourceEncryptionKeyLocationDetails","transportType","dbBackupConfig","databaseFreeformTags","databaseDefinedTags"}) public CreateDatabaseForStandbyDbSystemDetails(String adminPassword, String tdeWalletPassword, String databaseSoftwareImageId, Boolean isActiveDataGuardEnabled, String dbDomain, String sidPrefix, String dbUniqueName, CreateDatabaseForStandbyDbSystemDetails.ProtectionMode protectionMode, EncryptionKeyLocationDetails sourceEncryptionKeyLocationDetails, CreateDatabaseForStandbyDbSystemDetails.TransportType transportType, DbBackupConfig dbBackupConfig, Map<String,String> databaseFreeformTags, Map<String,Map<String,Object>> databaseDefinedTags)
Deprecated.
-
-
Method Detail
-
builder
public static CreateDatabaseForStandbyDbSystemDetails.Builder builder()
Create a new builder.
-
toBuilder
public CreateDatabaseForStandbyDbSystemDetails.Builder toBuilder()
-
getAdminPassword
public String getAdminPassword()
For SYS, SYSTEM, and PDB Admin, enter the same password as the primary admin password.- Returns:
- the value
-
getTdeWalletPassword
public String getTdeWalletPassword()
For TDE Wallet, enter the same password as the primary wallet password.- Returns:
- the value
-
getDatabaseSoftwareImageId
public String getDatabaseSoftwareImageId()
The database software image OCID- Returns:
- the value
-
getIsActiveDataGuardEnabled
public Boolean getIsActiveDataGuardEnabled()
True if active Data Guard is enabled.- Returns:
- the value
-
getDbDomain
public String getDbDomain()
The database domain.In a distributed database system, DB_DOMAIN specifies the logical location of the database within the network structure.
- Returns:
- the value
-
getSidPrefix
public String getSidPrefix()
Specifies a prefix for the Oracle SID of the database to be created.- Returns:
- the value
-
getDbUniqueName
public String getDbUniqueName()
The DB_UNIQUE_NAME of the Oracle Database.- Returns:
- the value
-
getProtectionMode
public CreateDatabaseForStandbyDbSystemDetails.ProtectionMode getProtectionMode()
The protection mode of this Data Guard association.For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation.
- Returns:
- the value
-
getSourceEncryptionKeyLocationDetails
public EncryptionKeyLocationDetails getSourceEncryptionKeyLocationDetails()
-
getTransportType
public CreateDatabaseForStandbyDbSystemDetails.TransportType getTransportType()
The redo transport type to use for this Data Guard association.Valid values depend on the specified protectionMode:
MAXIMUM_AVAILABILITY - SYNC or FASTSYNC * MAXIMUM_PERFORMANCE - ASYNC * MAXIMUM_PROTECTION - SYNC
For more information, see [Redo Transport Services](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-redo-transport-services.htm#SBYDB00400) in the Oracle Data Guard documentation.
*IMPORTANT** - The only transport type currently supported by the Database service is ASYNC.
- Returns:
- the value
-
getDbBackupConfig
public DbBackupConfig getDbBackupConfig()
-
getDatabaseFreeformTags
public Map<String,String> getDatabaseFreeformTags()
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
-
getDatabaseDefinedTags
public Map<String,Map<String,Object>> getDatabaseDefinedTags()
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- 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
-
-