@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class CreateDataGuardAssociationWithNewDbSystemDetails extends CreateDataGuardAssociationDetails
The configuration details for creating a Data Guard association for a virtual machine DB system database. For this type of DB system database, the creationType
should be NewDbSystem
. A new DB system will be launched to create the standby database.
To create a Data Guard association for a database in a bare metal or Exadata DB system, use the createDataGuardAssociationToExistingDbSystemDetails
subtype instead.
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 databaseSoftwareImageId,
String databaseAdminPassword,
CreateDataGuardAssociationDetails.ProtectionMode protectionMode,
CreateDataGuardAssociationDetails.TransportType transportType,
String displayName,
String availabilityDomain,
String shape,
String subnetId,
List<String> nsgIds,
List<String> backupNetworkNsgIds,
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.
|
List<String> |
getBackupNetworkNsgIds()
A list of the OCIDs of the network security groups (NSGs) that the backup network of this DB system belongs to.
|
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.
|
List<String> |
getNsgIds()
A list of the OCIDs of the network security groups (NSGs) that this resource belongs to.
|
String |
getShape()
The virtual machine DB system shape to launch for the standby database in the Data Guard association.
|
String |
getSubnetId()
The OCID of the subnet the DB system is associated with.
|
int |
hashCode() |
CreateDataGuardAssociationWithNewDbSystemDetails.Builder |
toBuilder() |
String |
toString() |
getDatabaseAdminPassword, getDatabaseSoftwareImageId, getProtectionMode, getTransportType
@Deprecated public CreateDataGuardAssociationWithNewDbSystemDetails(String databaseSoftwareImageId, String databaseAdminPassword, CreateDataGuardAssociationDetails.ProtectionMode protectionMode, CreateDataGuardAssociationDetails.TransportType transportType, String displayName, String availabilityDomain, String shape, String subnetId, List<String> nsgIds, List<String> backupNetworkNsgIds, String hostname)
public static CreateDataGuardAssociationWithNewDbSystemDetails.Builder builder()
Create a new builder.
public CreateDataGuardAssociationWithNewDbSystemDetails.Builder toBuilder()
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 getShape()
The virtual machine DB system shape to launch for the standby database in the Data Guard association. The shape determines the number of CPU cores and the amount of memory available for the DB system. Only virtual machine shapes are valid options. If you do not supply this parameter, the default shape is the shape of the primary DB system.
To get a list of all shapes, use the listDbSystemShapes
operation.
public String getSubnetId()
The OCID of the subnet the DB system is associated with. Subnet Restrictions:
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 List<String> getNsgIds()
A list of the OCIDs of the network security groups (NSGs) that this resource belongs to. Setting this to an empty array after the list is created removes the resource from all NSGs. For more information about NSGs, see Security Rules. NsgIds restrictions:
public List<String> getBackupNetworkNsgIds()
A list of the OCIDs of the network security groups (NSGs) that the backup network of this DB system belongs to. Setting this to an empty array after the list is created removes the resource from all NSGs. For more information about NSGs, see Security Rules. Applicable only to Exadata systems.
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–2021. All rights reserved.