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 subnetId(String subnetId)
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.
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:
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 build()
Copyright © 2016–2022. All rights reserved.