Class CreateDataGuardAssociationWithNewDbSystemDetails


  • @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).

    • Method Detail

      • getDisplayName

        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.

        Returns:
        the value
      • getAvailabilityDomain

        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”.

        Returns:
        the value
      • getShape

        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.

        Returns:
        the value
      • getCpuCoreCount

        public Integer getCpuCoreCount()
        The number of CPU cores available for AMD-based virtual machine DB systems.
        Returns:
        the value
      • getNodeCount

        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.

        Returns:
        the value
      • getSubnetId

        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.

        Returns:
        the value
      • getNsgIds

        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.

        Returns:
        the value
      • getBackupNetworkNsgIds

        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.

        Returns:
        the value
      • getHostname

        public String getHostname()
        The hostname for the DB node.
        Returns:
        the value
      • getDomain

        public String getDomain()
        A domain name used for the DB system.

        If the Oracle-provided Internet and VCN Resolver is enabled for the specified subnet, the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted.

        Returns:
        the value
      • getTimeZone

        public String getTimeZone()
        The time zone of the dataguard standby DB system.

        For details, see DB System Time Zones.

        Returns:
        the value
      • getFaultDomains

        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

        Returns:
        the value
      • getPrivateIp

        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.

        Returns:
        the value
      • getPrivateIpV6

        public String getPrivateIpV6()
        The IPv6 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 IPv6 address from the subnet.

        Returns:
        the value
      • getLicenseModel

        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. Bring your own license (BYOL) allows you to select the DB edition using the optional parameter, for Autonomous Database Serverless.

        Returns:
        the value
      • getDbSystemFreeformTags

        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"}

        Returns:
        the value
      • getDbSystemDefinedTags

        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.

        Returns:
        the value
      • getDbSystemSecurityAttributes

        public Map<String,​Map<String,​Object>> getDbSystemSecurityAttributes()
        Security Attributes for this resource.

        Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Oracle-ZPR”: {“MaxEgressCount”: {“value”: “42”, “mode”: “audit”}}}

        Returns:
        the value
      • getDatabaseFreeformTags

        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"}

        Returns:
        the value
      • getDatabaseDefinedTags

        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.

        Returns:
        the value
      • toString

        public String toString​(boolean includeByteArrayContents)
        Return a string representation of the object.
        Overrides:
        toString in class CreateDataGuardAssociationDetails
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation