public static class CreateDataGuardAssociationWithNewDbSystemDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreateDataGuardAssociationWithNewDbSystemDetails.Builder databaseSoftwareImageId(String databaseSoftwareImageId)
public CreateDataGuardAssociationWithNewDbSystemDetails.Builder databaseAdminPassword(String databaseAdminPassword)
public CreateDataGuardAssociationWithNewDbSystemDetails.Builder protectionMode(CreateDataGuardAssociationDetails.ProtectionMode protectionMode)
public CreateDataGuardAssociationWithNewDbSystemDetails.Builder transportType(CreateDataGuardAssociationDetails.TransportType transportType)
public CreateDataGuardAssociationWithNewDbSystemDetails.Builder isActiveDataGuardEnabled(Boolean isActiveDataGuardEnabled)
public CreateDataGuardAssociationWithNewDbSystemDetails.Builder peerDbUniqueName(String peerDbUniqueName)
public CreateDataGuardAssociationWithNewDbSystemDetails.Builder peerSidPrefix(String peerSidPrefix)
public CreateDataGuardAssociationWithNewDbSystemDetails.Builder displayName(String displayName)
The user-friendly name of the DB system that will contain the the standby database. The display name does not have to be unique.
displayName
- the value to setpublic CreateDataGuardAssociationWithNewDbSystemDetails.Builder availabilityDomain(String availabilityDomain)
The name of the availability domain that the standby database DB system will be located in. For example- “Uocm:PHX-AD-1”.
availabilityDomain
- the value to setpublic CreateDataGuardAssociationWithNewDbSystemDetails.Builder shape(String shape)
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.
shape
- the value to setpublic CreateDataGuardAssociationWithNewDbSystemDetails.Builder cpuCoreCount(Integer cpuCoreCount)
The number of OCPU cores available for AMD-based virtual machine DB systems.
cpuCoreCount
- the value to setpublic CreateDataGuardAssociationWithNewDbSystemDetails.Builder storageVolumePerformanceMode(CreateDataGuardAssociationWithNewDbSystemDetails.StorageVolumePerformanceMode storageVolumePerformanceMode)
The block storage volume performance level. Valid values are BALANCED
and HIGH_PERFORMANCE
. See Block Volume
Performance
for more information.
storageVolumePerformanceMode
- the value to setpublic CreateDataGuardAssociationWithNewDbSystemDetails.Builder nodeCount(Integer nodeCount)
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.
nodeCount
- the value to setpublic CreateDataGuardAssociationWithNewDbSystemDetails.Builder subnetId(String subnetId)
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.
subnetId
- the value to setpublic CreateDataGuardAssociationWithNewDbSystemDetails.Builder nsgIds(List<String> nsgIds)
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.
nsgIds
- the value to setpublic CreateDataGuardAssociationWithNewDbSystemDetails.Builder backupNetworkNsgIds(List<String> backupNetworkNsgIds)
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.
backupNetworkNsgIds
- the value to setpublic CreateDataGuardAssociationWithNewDbSystemDetails.Builder hostname(String hostname)
The hostname for the DB node.
hostname
- the value to setpublic CreateDataGuardAssociationWithNewDbSystemDetails.Builder timeZone(String timeZone)
The time zone of the dataguard standby DB system. For details, see DB System Time Zones.
timeZone
- the value to setpublic CreateDataGuardAssociationWithNewDbSystemDetails.Builder faultDomains(List<String> faultDomains)
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
faultDomains
- the value to setpublic CreateDataGuardAssociationWithNewDbSystemDetails.Builder privateIp(String privateIp)
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.
privateIp
- the value to setpublic CreateDataGuardAssociationWithNewDbSystemDetails.Builder licenseModel(CreateDataGuardAssociationWithNewDbSystemDetails.LicenseModel licenseModel)
The Oracle license model that applies to all the databases on the dataguard standby DB system. The default is LICENSE_INCLUDED.
licenseModel
- the value to setpublic CreateDataGuardAssociationWithNewDbSystemDetails.Builder dbSystemFreeformTags(Map<String,String> dbSystemFreeformTags)
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"}
dbSystemFreeformTags
- the value to setpublic CreateDataGuardAssociationWithNewDbSystemDetails.Builder dbSystemDefinedTags(Map<String,Map<String,Object>> dbSystemDefinedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
dbSystemDefinedTags
- the value to setpublic CreateDataGuardAssociationWithNewDbSystemDetails.Builder databaseFreeformTags(Map<String,String> databaseFreeformTags)
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"}
databaseFreeformTags
- the value to setpublic CreateDataGuardAssociationWithNewDbSystemDetails.Builder databaseDefinedTags(Map<String,Map<String,Object>> databaseDefinedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
databaseDefinedTags
- the value to setpublic CreateDataGuardAssociationWithNewDbSystemDetails.Builder dataCollectionOptions(DataCollectionOptions dataCollectionOptions)
public CreateDataGuardAssociationWithNewDbSystemDetails build()
Copyright © 2016–2023. All rights reserved.