@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 CreateDataGuardAssociationWithNewDbSystemDetails.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
CreateDataGuardAssociationWithNewDbSystemDetails.Builder |
static class |
CreateDataGuardAssociationWithNewDbSystemDetails.LicenseModel
The Oracle license model that applies to all the databases on the dataguard standby DB
system.
|
static class |
CreateDataGuardAssociationWithNewDbSystemDetails.StorageVolumePerformanceMode
The block storage volume performance level.
|
CreateDataGuardAssociationDetails.ProtectionMode, CreateDataGuardAssociationDetails.TransportType
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
CreateDataGuardAssociationWithNewDbSystemDetails(String databaseSoftwareImageId,
String databaseAdminPassword,
CreateDataGuardAssociationDetails.ProtectionMode protectionMode,
CreateDataGuardAssociationDetails.TransportType transportType,
Boolean isActiveDataGuardEnabled,
String peerDbUniqueName,
String peerSidPrefix,
String displayName,
String availabilityDomain,
String shape,
Integer cpuCoreCount,
CreateDataGuardAssociationWithNewDbSystemDetails.StorageVolumePerformanceMode storageVolumePerformanceMode,
Integer nodeCount,
String subnetId,
List<String> nsgIds,
List<String> backupNetworkNsgIds,
String hostname,
String timeZone,
List<String> faultDomains,
String privateIp,
CreateDataGuardAssociationWithNewDbSystemDetails.LicenseModel licenseModel,
Map<String,String> dbSystemFreeformTags,
Map<String,Map<String,Object>> dbSystemDefinedTags,
Map<String,String> databaseFreeformTags,
Map<String,Map<String,Object>> databaseDefinedTags,
DataCollectionOptions dataCollectionOptions)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreateDataGuardAssociationWithNewDbSystemDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
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.
|
Integer |
getCpuCoreCount()
The number of OCPU cores available for AMD-based virtual machine DB systems.
|
Map<String,Map<String,Object>> |
getDatabaseDefinedTags()
Defined tags for this resource.
|
Map<String,String> |
getDatabaseFreeformTags()
Free-form tags for this resource.
|
DataCollectionOptions |
getDataCollectionOptions() |
Map<String,Map<String,Object>> |
getDbSystemDefinedTags()
Defined tags for this resource.
|
Map<String,String> |
getDbSystemFreeformTags()
Free-form tags for this resource.
|
String |
getDisplayName()
The user-friendly name of the DB system that will contain the the standby database.
|
List<String> |
getFaultDomains()
A Fault Domain is a grouping of hardware and infrastructure within an availability domain.
|
String |
getHostname()
The hostname for the DB node.
|
CreateDataGuardAssociationWithNewDbSystemDetails.LicenseModel |
getLicenseModel()
The Oracle license model that applies to all the databases on the dataguard standby DB
system.
|
Integer |
getNodeCount()
The number of nodes to launch for the DB system of the standby in the Data Guard association.
|
List<String> |
getNsgIds()
The list of OCIDs
for the network security groups (NSGs) to which this resource belongs.
|
String |
getPrivateIp()
The IPv4 address from the provided OCI subnet which needs to be assigned to the VNIC.
|
String |
getShape()
The virtual machine DB system shape to launch for the standby database in the Data Guard
association.
|
CreateDataGuardAssociationWithNewDbSystemDetails.StorageVolumePerformanceMode |
getStorageVolumePerformanceMode()
The block storage volume performance level.
|
String |
getSubnetId()
The OCID of the subnet the DB system is associated with.
|
String |
getTimeZone()
The time zone of the dataguard standby DB system.
|
int |
hashCode() |
CreateDataGuardAssociationWithNewDbSystemDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getDatabaseAdminPassword, getDatabaseSoftwareImageId, getIsActiveDataGuardEnabled, getPeerDbUniqueName, getPeerSidPrefix, getProtectionMode, getTransportType
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public CreateDataGuardAssociationWithNewDbSystemDetails(String databaseSoftwareImageId, String databaseAdminPassword, CreateDataGuardAssociationDetails.ProtectionMode protectionMode, CreateDataGuardAssociationDetails.TransportType transportType, Boolean isActiveDataGuardEnabled, String peerDbUniqueName, String peerSidPrefix, String displayName, String availabilityDomain, String shape, Integer cpuCoreCount, CreateDataGuardAssociationWithNewDbSystemDetails.StorageVolumePerformanceMode storageVolumePerformanceMode, Integer nodeCount, String subnetId, List<String> nsgIds, List<String> backupNetworkNsgIds, String hostname, String timeZone, List<String> faultDomains, String privateIp, CreateDataGuardAssociationWithNewDbSystemDetails.LicenseModel licenseModel, Map<String,String> dbSystemFreeformTags, Map<String,Map<String,Object>> dbSystemDefinedTags, Map<String,String> databaseFreeformTags, Map<String,Map<String,Object>> databaseDefinedTags, DataCollectionOptions dataCollectionOptions)
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 Integer getCpuCoreCount()
The number of OCPU cores available for AMD-based virtual machine DB systems.
public CreateDataGuardAssociationWithNewDbSystemDetails.StorageVolumePerformanceMode getStorageVolumePerformanceMode()
The block storage volume performance level. Valid values are BALANCED
and HIGH_PERFORMANCE
. See Block Volume
Performance
for more information.
public Integer getNodeCount()
The number of nodes to launch for the DB system of the standby in the Data Guard association. For a 2-node RAC virtual machine DB system, specify either 1 or 2. If you do not supply this parameter, the default is the node count of the primary DB system.
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 List<String> getNsgIds()
The list of OCIDs for the network security groups (NSGs) to which this resource belongs. Setting this to an empty list removes all resources from all NSGs. For more information about NSGs, see Security Rules. NsgIds restrictions: - A network security group (NSG) is optional for Autonomous Databases with private access. The nsgIds list can be empty.
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 getTimeZone()
The time zone of the dataguard standby DB system. For details, see DB System Time Zones.
public List<String> getFaultDomains()
A Fault Domain is a grouping of hardware and infrastructure within an availability domain. Fault Domains let you distribute your instances so that they are not on the same physical hardware within a single availability domain. A hardware failure or maintenance that affects one Fault Domain does not affect DB systems in other Fault Domains.
If you do not specify the Fault Domain, the system selects one for you. To change the Fault Domain for a DB system, terminate it and launch a new DB system in the preferred Fault Domain.
If the node count is greater than 1, you can specify which Fault Domains these nodes will be distributed into. The system assigns your nodes automatically to the Fault Domains you specify so that no Fault Domain contains more than one node.
To get a list of Fault Domains, use the listFaultDomains
operation in the Identity and Access Management Service API.
Example: FAULT-DOMAIN-1
public String getPrivateIp()
The IPv4 address from the provided OCI subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv4 address from the subnet.
public CreateDataGuardAssociationWithNewDbSystemDetails.LicenseModel getLicenseModel()
The Oracle license model that applies to all the databases on the dataguard standby DB system. The default is LICENSE_INCLUDED.
public Map<String,String> getDbSystemFreeformTags()
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"}
public Map<String,Map<String,Object>> getDbSystemDefinedTags()
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
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"}
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.
public DataCollectionOptions getDataCollectionOptions()
public String toString()
toString
in class CreateDataGuardAssociationDetails
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class CreateDataGuardAssociationDetails
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class CreateDataGuardAssociationDetails
public int hashCode()
hashCode
in class CreateDataGuardAssociationDetails
Copyright © 2016–2023. All rights reserved.