@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class CreateDataGuardAssociationWithNewDbSystemDetails extends CreateDataGuardAssociationDetails
The configuration details for creating a Data Guard association for a bare metal DB system or virtual machine DB system database. A new DB system will be launched to create the standby database.
NOTE* - You must use this subtype to create a Data Guard association for a database in a virtual machine DB system.
Note: Objects should always be created or deserialized using the CreateDataGuardAssociationWithNewDbSystemDetails.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 CreateDataGuardAssociationWithNewDbSystemDetails.Builder
, which maintain a set of all explicitly set fields called __explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take __explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
CreateDataGuardAssociationWithNewDbSystemDetails.Builder |
CreateDataGuardAssociationDetails.ProtectionMode, CreateDataGuardAssociationDetails.TransportType
Constructor and Description |
---|
CreateDataGuardAssociationWithNewDbSystemDetails(String databaseAdminPassword,
CreateDataGuardAssociationDetails.ProtectionMode protectionMode,
CreateDataGuardAssociationDetails.TransportType transportType,
String displayName,
String availabilityDomain,
String subnetId,
String hostname)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreateDataGuardAssociationWithNewDbSystemDetails.Builder |
builder()
Create a new builder.
|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getAvailabilityDomain()
The name of the availability domain that the standby database DB system will be located in.
|
String |
getDisplayName()
The user-friendly name of the DB system that will contain the the standby database.
|
String |
getHostname()
The hostname for the DB node.
|
String |
getSubnetId()
The OCID of the subnet the DB system is associated with.
|
int |
hashCode() |
String |
toString() |
getDatabaseAdminPassword, getProtectionMode, getTransportType
@Deprecated public CreateDataGuardAssociationWithNewDbSystemDetails(String databaseAdminPassword, CreateDataGuardAssociationDetails.ProtectionMode protectionMode, CreateDataGuardAssociationDetails.TransportType transportType, String displayName, String availabilityDomain, String subnetId, String hostname)
public static CreateDataGuardAssociationWithNewDbSystemDetails.Builder builder()
Create a new builder.
public String getDisplayName()
The user-friendly name of the DB system that will contain the the standby database. The display name does not have to be unique.
public String getAvailabilityDomain()
The name of the availability domain that the standby database DB system will be located in. For example- "Uocm:PHX-AD-1".
public String getSubnetId()
The OCID of the subnet the DB system is associated with. Subnet Restrictions: - For 1- and 2-node RAC DB systems, do not use a subnet that overlaps with 192.168.16.16/28
These subnets are used by the Oracle Clusterware private interconnect on the database instance. Specifying an overlapping subnet will cause the private interconnect to malfunction. This restriction applies to both the client subnet and backup subnet.
public String getHostname()
The hostname for the DB node.
public String toString()
toString
in class CreateDataGuardAssociationDetails
public boolean equals(Object o)
equals
in class CreateDataGuardAssociationDetails
protected boolean canEqual(Object other)
canEqual
in class CreateDataGuardAssociationDetails
public int hashCode()
hashCode
in class CreateDataGuardAssociationDetails
Copyright © 2016–2019. All rights reserved.