Class CloudAutonomousVmCluster.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • description

        public CloudAutonomousVmCluster.Builder description​(String description)
        User defined description of the cloud Autonomous VM cluster.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • availabilityDomain

        public CloudAutonomousVmCluster.Builder availabilityDomain​(String availabilityDomain)
        The name of the availability domain that the cloud Autonomous VM cluster is located in.
        Parameters:
        availabilityDomain - the value to set
        Returns:
        this builder
      • subnetId

        public CloudAutonomousVmCluster.Builder subnetId​(String subnetId)
        The OCID of the subnet the cloud Autonomous VM Cluster is associated with.

        *Subnet Restrictions:** - For Exadata and virtual machine 2-node RAC DB systems, do not use a subnet that overlaps with 192.168.128.0/20.

        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.

        Parameters:
        subnetId - the value to set
        Returns:
        this builder
      • nsgIds

        public CloudAutonomousVmCluster.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.

        Parameters:
        nsgIds - the value to set
        Returns:
        this builder
      • lastUpdateHistoryEntryId

        public CloudAutonomousVmCluster.Builder lastUpdateHistoryEntryId​(String lastUpdateHistoryEntryId)
        The OCID of the last maintenance update history.

        This value is updated when a maintenance update starts.

        Parameters:
        lastUpdateHistoryEntryId - the value to set
        Returns:
        this builder
      • displayName

        public CloudAutonomousVmCluster.Builder displayName​(String displayName)
        The user-friendly name for the cloud Autonomous VM cluster.

        The name does not need to be unique.

        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • timeCreated

        public CloudAutonomousVmCluster.Builder timeCreated​(Date timeCreated)
        The date and time that the cloud Autonomous VM cluster was created.
        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeUpdated

        public CloudAutonomousVmCluster.Builder timeUpdated​(Date timeUpdated)
        The last date and time that the cloud Autonomous VM cluster was updated.
        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder
      • clusterTimeZone

        public CloudAutonomousVmCluster.Builder clusterTimeZone​(String clusterTimeZone)
        The time zone of the Cloud Autonomous VM Cluster.
        Parameters:
        clusterTimeZone - the value to set
        Returns:
        this builder
      • lifecycleDetails

        public CloudAutonomousVmCluster.Builder lifecycleDetails​(String lifecycleDetails)
        Additional information about the current lifecycle state.
        Parameters:
        lifecycleDetails - the value to set
        Returns:
        this builder
      • hostname

        public CloudAutonomousVmCluster.Builder hostname​(String hostname)
        The hostname for the cloud Autonomous VM cluster.
        Parameters:
        hostname - the value to set
        Returns:
        this builder
      • cloudExadataInfrastructureId

        public CloudAutonomousVmCluster.Builder cloudExadataInfrastructureId​(String cloudExadataInfrastructureId)
        The OCID of the cloud Exadata infrastructure.
        Parameters:
        cloudExadataInfrastructureId - the value to set
        Returns:
        this builder
      • shape

        public CloudAutonomousVmCluster.Builder shape​(String shape)
        The model name of the Exadata hardware running the cloud Autonomous VM cluster.
        Parameters:
        shape - the value to set
        Returns:
        this builder
      • nodeCount

        public CloudAutonomousVmCluster.Builder nodeCount​(Integer nodeCount)
        The number of database servers in the cloud VM cluster.
        Parameters:
        nodeCount - the value to set
        Returns:
        this builder
      • dataStorageSizeInTBs

        public CloudAutonomousVmCluster.Builder dataStorageSizeInTBs​(Double dataStorageSizeInTBs)
        The total data storage allocated, in terabytes (TB).
        Parameters:
        dataStorageSizeInTBs - the value to set
        Returns:
        this builder
      • dataStorageSizeInGBs

        public CloudAutonomousVmCluster.Builder dataStorageSizeInGBs​(Double dataStorageSizeInGBs)
        The total data storage allocated, in gigabytes (GB).
        Parameters:
        dataStorageSizeInGBs - the value to set
        Returns:
        this builder
      • cpuCoreCount

        public CloudAutonomousVmCluster.Builder cpuCoreCount​(Integer cpuCoreCount)
        The number of CPU cores on the cloud Autonomous VM cluster.
        Parameters:
        cpuCoreCount - the value to set
        Returns:
        this builder
      • ocpuCount

        public CloudAutonomousVmCluster.Builder ocpuCount​(Float ocpuCount)
        The number of CPU cores on the cloud Autonomous VM cluster.

        Only 1 decimal place is allowed for the fractional part.

        Parameters:
        ocpuCount - the value to set
        Returns:
        this builder
      • isMtlsEnabledVmCluster

        public CloudAutonomousVmCluster.Builder isMtlsEnabledVmCluster​(Boolean isMtlsEnabledVmCluster)
        Enable mutual TLS(mTLS) authentication for database at time of provisioning a VMCluster.

        This is applicable to database TLS Certificates only. Default is TLS

        Parameters:
        isMtlsEnabledVmCluster - the value to set
        Returns:
        this builder
      • cpuCoreCountPerNode

        public CloudAutonomousVmCluster.Builder cpuCoreCountPerNode​(Integer cpuCoreCountPerNode)
        The number of CPU cores enabled per VM cluster node.
        Parameters:
        cpuCoreCountPerNode - the value to set
        Returns:
        this builder
      • memorySizeInGBs

        public CloudAutonomousVmCluster.Builder memorySizeInGBs​(Integer memorySizeInGBs)
        The memory allocated in GBs.
        Parameters:
        memorySizeInGBs - the value to set
        Returns:
        this builder
      • licenseModel

        public CloudAutonomousVmCluster.Builder licenseModel​(CloudAutonomousVmCluster.LicenseModel licenseModel)
        The Oracle license model that applies to the Oracle Autonomous Database.

        Bring your own license (BYOL) allows you to apply your current on-premises Oracle software licenses to equivalent, highly automated Oracle services in the cloud. License Included allows you to subscribe to new Oracle Database software licenses and the Oracle Database service. Note that when provisioning an Autonomous Database on dedicated Exadata infrastructure, this attribute must be null. It is already set at the Autonomous Exadata Infrastructure level. When provisioning an [Autonomous Database Serverless] (https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) database, if a value is not specified, the system defaults the value to BRING_YOUR_OWN_LICENSE. Bring your own license (BYOL) also allows you to select the DB edition using the optional parameter.

        This cannot be updated in parallel with any of the following: cpuCoreCount, computeCount, dataStorageSizeInTBs, adminPassword, isMTLSConnectionRequired, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, dbName, scheduledOperations, dbToolsDetails, or isFreeTier.

        Parameters:
        licenseModel - the value to set
        Returns:
        this builder
      • lastMaintenanceRunId

        public CloudAutonomousVmCluster.Builder lastMaintenanceRunId​(String lastMaintenanceRunId)
        The OCID of the last maintenance run.
        Parameters:
        lastMaintenanceRunId - the value to set
        Returns:
        this builder
      • nextMaintenanceRunId

        public CloudAutonomousVmCluster.Builder nextMaintenanceRunId​(String nextMaintenanceRunId)
        The OCID of the next maintenance run.
        Parameters:
        nextMaintenanceRunId - the value to set
        Returns:
        this builder
      • scanListenerPortTls

        public CloudAutonomousVmCluster.Builder scanListenerPortTls​(Integer scanListenerPortTls)
        The SCAN Listenenr TLS port.

        Default is 2484.

        Parameters:
        scanListenerPortTls - the value to set
        Returns:
        this builder
      • scanListenerPortNonTls

        public CloudAutonomousVmCluster.Builder scanListenerPortNonTls​(Integer scanListenerPortNonTls)
        The SCAN Listener Non TLS port.

        Default is 1521.

        Parameters:
        scanListenerPortNonTls - the value to set
        Returns:
        this builder
      • freeformTags

        public CloudAutonomousVmCluster.Builder freeformTags​(Map<String,​String> freeformTags)
        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"}

        Parameters:
        freeformTags - the value to set
        Returns:
        this builder
      • securityAttributes

        public CloudAutonomousVmCluster.Builder securityAttributes​(Map<String,​Map<String,​Object>> securityAttributes)
        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”}}}

        Parameters:
        securityAttributes - the value to set
        Returns:
        this builder
      • timeDatabaseSslCertificateExpires

        public CloudAutonomousVmCluster.Builder timeDatabaseSslCertificateExpires​(Date timeDatabaseSslCertificateExpires)
        The date and time of Database SSL certificate expiration.
        Parameters:
        timeDatabaseSslCertificateExpires - the value to set
        Returns:
        this builder
      • timeOrdsCertificateExpires

        public CloudAutonomousVmCluster.Builder timeOrdsCertificateExpires​(Date timeOrdsCertificateExpires)
        The date and time of ORDS certificate expiration.
        Parameters:
        timeOrdsCertificateExpires - the value to set
        Returns:
        this builder
      • availableCpus

        public CloudAutonomousVmCluster.Builder availableCpus​(Float availableCpus)
        CPU cores available for allocation to Autonomous Databases.
        Parameters:
        availableCpus - the value to set
        Returns:
        this builder
      • reclaimableCpus

        public CloudAutonomousVmCluster.Builder reclaimableCpus​(Float reclaimableCpus)
        CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down.

        You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database.

        Parameters:
        reclaimableCpus - the value to set
        Returns:
        this builder
      • availableContainerDatabases

        public CloudAutonomousVmCluster.Builder availableContainerDatabases​(Integer availableContainerDatabases)
        The number of Autonomous Container Databases that can be created with the currently available local storage.
        Parameters:
        availableContainerDatabases - the value to set
        Returns:
        this builder
      • totalContainerDatabases

        public CloudAutonomousVmCluster.Builder totalContainerDatabases​(Integer totalContainerDatabases)
        The total number of Autonomous Container Databases that can be created with the allocated local storage.
        Parameters:
        totalContainerDatabases - the value to set
        Returns:
        this builder
      • availableAutonomousDataStorageSizeInTBs

        public CloudAutonomousVmCluster.Builder availableAutonomousDataStorageSizeInTBs​(Double availableAutonomousDataStorageSizeInTBs)
        The data disk group size available for Autonomous Databases, in TBs.
        Parameters:
        availableAutonomousDataStorageSizeInTBs - the value to set
        Returns:
        this builder
      • autonomousDataStorageSizeInTBs

        public CloudAutonomousVmCluster.Builder autonomousDataStorageSizeInTBs​(Double autonomousDataStorageSizeInTBs)
        The data disk group size allocated for Autonomous Databases, in TBs.
        Parameters:
        autonomousDataStorageSizeInTBs - the value to set
        Returns:
        this builder
      • dbNodeStorageSizeInGBs

        public CloudAutonomousVmCluster.Builder dbNodeStorageSizeInGBs​(Integer dbNodeStorageSizeInGBs)
        The local node storage allocated in GBs.
        Parameters:
        dbNodeStorageSizeInGBs - the value to set
        Returns:
        this builder
      • memoryPerOracleComputeUnitInGBs

        public CloudAutonomousVmCluster.Builder memoryPerOracleComputeUnitInGBs​(Integer memoryPerOracleComputeUnitInGBs)
        The amount of memory (in GBs) enabled per OCPU or ECPU.
        Parameters:
        memoryPerOracleComputeUnitInGBs - the value to set
        Returns:
        this builder
      • cpuPercentage

        public CloudAutonomousVmCluster.Builder cpuPercentage​(Float cpuPercentage)
        The percentage of total number of CPUs used in an Autonomous VM Cluster.
        Parameters:
        cpuPercentage - the value to set
        Returns:
        this builder
      • autonomousDataStoragePercentage

        public CloudAutonomousVmCluster.Builder autonomousDataStoragePercentage​(Float autonomousDataStoragePercentage)
        The percentage of the data storage used for the Autonomous Databases in an Autonomous VM Cluster.
        Parameters:
        autonomousDataStoragePercentage - the value to set
        Returns:
        this builder
      • provisionedCpus

        public CloudAutonomousVmCluster.Builder provisionedCpus​(Float provisionedCpus)
        The number of CPUs provisioned in an Autonomous VM Cluster.
        Parameters:
        provisionedCpus - the value to set
        Returns:
        this builder
      • totalCpus

        public CloudAutonomousVmCluster.Builder totalCpus​(Float totalCpus)
        The total number of CPUs in an Autonomous VM Cluster.
        Parameters:
        totalCpus - the value to set
        Returns:
        this builder
      • totalAutonomousDataStorageInTBs

        public CloudAutonomousVmCluster.Builder totalAutonomousDataStorageInTBs​(Float totalAutonomousDataStorageInTBs)
        The total data disk group size for Autonomous Databases, in TBs.
        Parameters:
        totalAutonomousDataStorageInTBs - the value to set
        Returns:
        this builder
      • reservedCpus

        public CloudAutonomousVmCluster.Builder reservedCpus​(Float reservedCpus)
        The number of CPUs reserved in an Autonomous VM Cluster.
        Parameters:
        reservedCpus - the value to set
        Returns:
        this builder
      • provisionableAutonomousContainerDatabases

        public CloudAutonomousVmCluster.Builder provisionableAutonomousContainerDatabases​(Integer provisionableAutonomousContainerDatabases)
        The number of provisionable Autonomous Container Databases in an Autonomous VM Cluster.
        Parameters:
        provisionableAutonomousContainerDatabases - the value to set
        Returns:
        this builder
      • provisionedAutonomousContainerDatabases

        public CloudAutonomousVmCluster.Builder provisionedAutonomousContainerDatabases​(Integer provisionedAutonomousContainerDatabases)
        The number of provisioned Autonomous Container Databases in an Autonomous VM Cluster.
        Parameters:
        provisionedAutonomousContainerDatabases - the value to set
        Returns:
        this builder
      • nonProvisionableAutonomousContainerDatabases

        public CloudAutonomousVmCluster.Builder nonProvisionableAutonomousContainerDatabases​(Integer nonProvisionableAutonomousContainerDatabases)
        The number of non-provisionable Autonomous Container Databases in an Autonomous VM Cluster.
        Parameters:
        nonProvisionableAutonomousContainerDatabases - the value to set
        Returns:
        this builder
      • exadataStorageInTBsLowestScaledValue

        public CloudAutonomousVmCluster.Builder exadataStorageInTBsLowestScaledValue​(Double exadataStorageInTBsLowestScaledValue)
        The lowest value to which exadataStorage (in TBs) can be scaled down.
        Parameters:
        exadataStorageInTBsLowestScaledValue - the value to set
        Returns:
        this builder
      • ocpusLowestScaledValue

        public CloudAutonomousVmCluster.Builder ocpusLowestScaledValue​(Integer ocpusLowestScaledValue)
        The lowest value to which ocpus can be scaled down.
        Parameters:
        ocpusLowestScaledValue - the value to set
        Returns:
        this builder
      • maxAcdsLowestScaledValue

        public CloudAutonomousVmCluster.Builder maxAcdsLowestScaledValue​(Integer maxAcdsLowestScaledValue)
        The lowest value to which maximum number of ACDs can be scaled down.
        Parameters:
        maxAcdsLowestScaledValue - the value to set
        Returns:
        this builder