Class AutonomousVmCluster.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public AutonomousVmCluster.Builder compartmentId​(String compartmentId)
        The OCID of the compartment.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • displayName

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

        The name does not need to be unique.

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

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

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

        public AutonomousVmCluster.Builder exadataInfrastructureId​(String exadataInfrastructureId)
        The OCID of the Exadata infrastructure.
        Parameters:
        exadataInfrastructureId - the value to set
        Returns:
        this builder
      • vmClusterNetworkId

        public AutonomousVmCluster.Builder vmClusterNetworkId​(String vmClusterNetworkId)
        The OCID of the VM cluster network.
        Parameters:
        vmClusterNetworkId - the value to set
        Returns:
        this builder
      • isLocalBackupEnabled

        public AutonomousVmCluster.Builder isLocalBackupEnabled​(Boolean isLocalBackupEnabled)
        If true, database backup on local Exadata storage is configured for the Autonomous VM cluster.

        If false, database backup on local Exadata storage is not available in the Autonomous VM cluster.

        Parameters:
        isLocalBackupEnabled - the value to set
        Returns:
        this builder
      • cpusEnabled

        public AutonomousVmCluster.Builder cpusEnabled​(Integer cpusEnabled)
        The number of enabled CPU cores.
        Parameters:
        cpusEnabled - the value to set
        Returns:
        this builder
      • ocpusEnabled

        public AutonomousVmCluster.Builder ocpusEnabled​(Float ocpusEnabled)
        The number of enabled OCPU cores.
        Parameters:
        ocpusEnabled - the value to set
        Returns:
        this builder
      • availableCpus

        public AutonomousVmCluster.Builder availableCpus​(Integer availableCpus)
        The numnber of CPU cores available.
        Parameters:
        availableCpus - the value to set
        Returns:
        this builder
      • totalContainerDatabases

        public AutonomousVmCluster.Builder totalContainerDatabases​(Integer totalContainerDatabases)
        The total number of Autonomous Container Databases that can be created.
        Parameters:
        totalContainerDatabases - the value to set
        Returns:
        this builder
      • memoryPerOracleComputeUnitInGBs

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

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

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

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

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

        public AutonomousVmCluster.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 AutonomousVmCluster.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 AutonomousVmCluster.Builder provisionedCpus​(Float provisionedCpus)
        The number of CPUs provisioned in an Autonomous VM Cluster.
        Parameters:
        provisionedCpus - the value to set
        Returns:
        this builder
      • totalAutonomousDataStorageInTBs

        public AutonomousVmCluster.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 AutonomousVmCluster.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 AutonomousVmCluster.Builder provisionableAutonomousContainerDatabases​(Integer provisionableAutonomousContainerDatabases)
        Deprecated. Use field totalContainerDatabases.
        Parameters:
        provisionableAutonomousContainerDatabases - the value to set
        Returns:
        this builder
      • provisionedAutonomousContainerDatabases

        public AutonomousVmCluster.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 AutonomousVmCluster.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
      • memorySizeInGBs

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

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

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

        public AutonomousVmCluster.Builder dataStorageSizeInGBs​(Double dataStorageSizeInGBs)
        The total data storage allocated in GBs.
        Parameters:
        dataStorageSizeInGBs - the value to set
        Returns:
        this builder
      • availableDataStorageSizeInTBs

        public AutonomousVmCluster.Builder availableDataStorageSizeInTBs​(Double availableDataStorageSizeInTBs)
        Deprecated. Use availableAutonomousDataStorageSizeInTBs for Autonomous Databases’ data storage availability in TBs.
        Parameters:
        availableDataStorageSizeInTBs - the value to set
        Returns:
        this builder
      • nodeCount

        public AutonomousVmCluster.Builder nodeCount​(Integer nodeCount)
        The number of nodes in the Autonomous VM Cluster.
        Parameters:
        nodeCount - the value to set
        Returns:
        this builder
      • freeformTags

        public AutonomousVmCluster.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
      • reclaimableCpus

        public AutonomousVmCluster.Builder reclaimableCpus​(Integer 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 AutonomousVmCluster.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
      • availableAutonomousDataStorageSizeInTBs

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

        public AutonomousVmCluster.Builder scanListenerPortTls​(Integer scanListenerPortTls)
        The SCAN Listener TLS port number.

        Default value is 2484.

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

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

        Default value is 1521.

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

        public AutonomousVmCluster.Builder isMtlsEnabled​(Boolean isMtlsEnabled)
        Enable mutual TLS(mTLS) authentication for database while provisioning a VMCluster.

        Default is TLS.

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

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

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

        public AutonomousVmCluster.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
      • cpusLowestScaledValue

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

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