Class UpdateDbSystemDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • cpuCoreCount

        public UpdateDbSystemDetails.Builder cpuCoreCount​(Integer cpuCoreCount)
        The new number of CPU cores to set for the DB system.

        Not applicable for INTEL based virtual machine DB systems.

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

        public UpdateDbSystemDetails.Builder sshPublicKeys​(List<String> sshPublicKeys)
        The public key portion of the key pair to use for SSH access to the DB system.

        Multiple public keys can be provided. The length of the combined keys cannot exceed 40,000 characters.

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

        public UpdateDbSystemDetails.Builder dataStorageSizeInGBs​(Integer dataStorageSizeInGBs)
        The size, in gigabytes, to scale the attached storage up to for this virtual machine DB system.

        This value must be greater than current storage size. Note that the resulting total storage size attached will be greater than the amount requested to allow for REDO/RECO space and software volume. Applies only to virtual machine DB systems.

        Parameters:
        dataStorageSizeInGBs - the value to set
        Returns:
        this builder
      • recoStorageSizeInGBs

        public UpdateDbSystemDetails.Builder recoStorageSizeInGBs​(Integer recoStorageSizeInGBs)
        The size, in gigabytes, to scale the attached RECO storage up to for this virtual machine DB system.

        This value must be greater than current storage size. Note that the resulting total storage size attached will be greater than the amount requested to allow for the software volume. Applies only to virtual machine DB systems.

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

        public UpdateDbSystemDetails.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 UpdateDbSystemDetails.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
      • shape

        public UpdateDbSystemDetails.Builder shape​(String shape)
        The shape of the DB system.

        The shape determines resources allocated to the DB system. - For virtual machine shapes, the number of CPU cores and memory

        To get a list of shapes, use the listDbSystemShapes operation.

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

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