Class UpdateDbSystemDetails


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20160918")
    public final class UpdateDbSystemDetails
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Describes the parameters for updating the DB system.

    *Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
    Note: Objects should always be created or deserialized using the UpdateDbSystemDetails.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 UpdateDbSystemDetails.Builder, which maintain a set of all explicitly set fields called UpdateDbSystemDetails.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

      • getCpuCoreCount

        public Integer getCpuCoreCount()
        The new number of CPU cores to set for the DB system.

        Not applicable for INTEL based virtual machine DB systems.

        Returns:
        the value
      • getSshPublicKeys

        public List<String> getSshPublicKeys()
        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.

        Returns:
        the value
      • getDataStorageSizeInGBs

        public Integer getDataStorageSizeInGBs()
        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.

        Returns:
        the value
      • getRecoStorageSizeInGBs

        public Integer getRecoStorageSizeInGBs()
        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.

        Returns:
        the value
      • getFreeformTags

        public Map<String,​String> getFreeformTags()
        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
      • getDefinedTags

        public Map<String,​Map<String,​Object>> getDefinedTags()
        Defined tags for this resource.

        Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

        Returns:
        the value
      • getSecurityAttributes

        public Map<String,​Map<String,​Object>> getSecurityAttributes()
        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
      • getShape

        public String getShape()
        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.

        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
      • getLicenseModel

        public UpdateDbSystemDetails.LicenseModel getLicenseModel()
        The Oracle Database license model that applies to all databases on the DB system.

        The default is LICENSE_INCLUDED.

        Returns:
        the value
      • getMaintenanceWindowDetails

        public MaintenanceWindow getMaintenanceWindowDetails()
      • toString

        public String toString()
        Overrides:
        toString in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • toString

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

        public boolean equals​(Object o)
        Overrides:
        equals in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel