Class CreateCloudVmClusterDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • subscriptionId

        public CreateCloudVmClusterDetails.Builder subscriptionId​(String subscriptionId)
        The OCID of the subscription with which resource needs to be associated with.
        Parameters:
        subscriptionId - the value to set
        Returns:
        this builder
      • backupSubnetId

        public CreateCloudVmClusterDetails.Builder backupSubnetId​(String backupSubnetId)
        The OCID of the backup network subnet associated with the cloud VM cluster.
        Parameters:
        backupSubnetId - the value to set
        Returns:
        this builder
      • cpuCoreCount

        public CreateCloudVmClusterDetails.Builder cpuCoreCount​(Integer cpuCoreCount)
        The number of CPU cores to enable for a cloud VM cluster.

        Valid values depend on the specified shape:

        - Exadata.Base.48 - Specify a multiple of 2, from 0 to 48. - Exadata.Quarter1.84 - Specify a multiple of 2, from 22 to 84. - Exadata.Half1.168 - Specify a multiple of 4, from 44 to 168. - Exadata.Full1.336 - Specify a multiple of 8, from 88 to 336. - Exadata.Quarter2.92 - Specify a multiple of 2, from 0 to 92. - Exadata.Half2.184 - Specify a multiple of 4, from 0 to 184. - Exadata.Full2.368 - Specify a multiple of 8, from 0 to 368.

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

        public CreateCloudVmClusterDetails.Builder ocpuCount​(Float ocpuCount)
        The number of OCPU cores to enable for a cloud VM cluster.

        Only 1 decimal place is allowed for the fractional part.

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

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

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

        public CreateCloudVmClusterDetails.Builder dataStorageSizeInTBs​(Double dataStorageSizeInTBs)
        The data disk group size to be allocated in TBs.
        Parameters:
        dataStorageSizeInTBs - the value to set
        Returns:
        this builder
      • clusterName

        public CreateCloudVmClusterDetails.Builder clusterName​(String clusterName)
        The cluster name for cloud VM cluster.

        The cluster name must begin with an alphabetic character, and may contain hyphens (-). Underscores (_) are not permitted. The cluster name can be no longer than 11 characters and is not case sensitive.

        Parameters:
        clusterName - the value to set
        Returns:
        this builder
      • dataStoragePercentage

        public CreateCloudVmClusterDetails.Builder dataStoragePercentage​(Integer dataStoragePercentage)
        The percentage assigned to DATA storage (user data and database files).

        The remaining percentage is assigned to RECO storage (database redo logs, archive logs, and recovery manager backups). Accepted values are 35, 40, 60 and 80. The default is 80 percent assigned to DATA storage. See Storage Configuration in the Exadata documentation for details on the impact of the configuration settings on storage.

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

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

        The name does not need to be unique.

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

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

        public CreateCloudVmClusterDetails.Builder hostname​(String hostname)
        The hostname for the cloud VM cluster.

        The hostname must begin with an alphabetic character, and can contain alphanumeric characters and hyphens (-). The maximum length of the hostname is 16 characters for bare metal and virtual machine DB systems, and 12 characters for Exadata systems.

        The maximum length of the combined hostname and domain is 63 characters.

        *Note:** The hostname must be unique within the subnet. If it is not unique, the cloud VM Cluster will fail to provision.

        Parameters:
        hostname - the value to set
        Returns:
        this builder
      • domain

        public CreateCloudVmClusterDetails.Builder domain​(String domain)
        A domain name used for the cloud VM cluster.

        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. Applies to Exadata Cloud Service instances only.

        Parameters:
        domain - the value to set
        Returns:
        this builder
      • sshPublicKeys

        public CreateCloudVmClusterDetails.Builder sshPublicKeys​(List<String> sshPublicKeys)
        The public key portion of one or more key pairs used for SSH access to the cloud VM cluster.
        Parameters:
        sshPublicKeys - the value to set
        Returns:
        this builder
      • isSparseDiskgroupEnabled

        public CreateCloudVmClusterDetails.Builder isSparseDiskgroupEnabled​(Boolean isSparseDiskgroupEnabled)
        If true, the sparse disk group is configured for the cloud VM cluster.

        If false, the sparse disk group is not created.

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

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

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

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

        public CreateCloudVmClusterDetails.Builder scanListenerPortTcp​(Integer scanListenerPortTcp)
        The TCP Single Client Access Name (SCAN) port.

        The default port is 1521.

        Parameters:
        scanListenerPortTcp - the value to set
        Returns:
        this builder
      • scanListenerPortTcpSsl

        public CreateCloudVmClusterDetails.Builder scanListenerPortTcpSsl​(Integer scanListenerPortTcpSsl)
        The TCPS Single Client Access Name (SCAN) port.

        The default port is 2484.

        Parameters:
        scanListenerPortTcpSsl - the value to set
        Returns:
        this builder
      • privateZoneId

        public CreateCloudVmClusterDetails.Builder privateZoneId​(String privateZoneId)
        The private zone id in which DNS records need to be created.
        Parameters:
        privateZoneId - the value to set
        Returns:
        this builder
      • nsgIds

        public CreateCloudVmClusterDetails.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
      • backupNetworkNsgIds

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

        Parameters:
        backupNetworkNsgIds - the value to set
        Returns:
        this builder
      • giVersion

        public CreateCloudVmClusterDetails.Builder giVersion​(String giVersion)
        A valid Oracle Grid Infrastructure (GI) software version.
        Parameters:
        giVersion - the value to set
        Returns:
        this builder
      • freeformTags

        public CreateCloudVmClusterDetails.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 CreateCloudVmClusterDetails.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
      • systemVersion

        public CreateCloudVmClusterDetails.Builder systemVersion​(String systemVersion)
        Operating system version of the image.
        Parameters:
        systemVersion - the value to set
        Returns:
        this builder