Class UpdateDbSystemDetails
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.database.model.UpdateDbSystemDetails
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class UpdateDbSystemDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelDescribes 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 theUpdateDbSystemDetails.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 theUpdateDbSystemDetails.Builder, which maintain a set of all explicitly set fields calledUpdateDbSystemDetails.Builder.__explicitlySet__. ThehashCode()andequals(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).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classUpdateDbSystemDetails.Builderstatic classUpdateDbSystemDetails.ComputeModelThe compute model for Base Database Service.static classUpdateDbSystemDetails.LicenseModelThe Oracle Database license model that applies to all databases on the DB system.
 - 
Constructor SummaryConstructors Constructor Description UpdateDbSystemDetails(Integer cpuCoreCount, PatchDetails version, List<String> sshPublicKeys, Integer dataStorageSizeInGBs, Integer recoStorageSizeInGBs, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> securityAttributes, String shape, List<String> nsgIds, List<String> backupNetworkNsgIds, UpdateDbSystemDetails.LicenseModel licenseModel, MaintenanceWindow maintenanceWindowDetails, DataCollectionOptions dataCollectionOptions, UpdateDbSystemDetails.ComputeModel computeModel, Integer computeCount)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateDbSystemDetails.Builderbuilder()Create a new builder.booleanequals(Object o)List<String>getBackupNetworkNsgIds()A list of the OCIDs of the network security groups (NSGs) that the backup network of this DB system belongs to.IntegergetComputeCount()The number of compute servers for the DB system.UpdateDbSystemDetails.ComputeModelgetComputeModel()The compute model for Base Database Service.IntegergetCpuCoreCount()The new number of CPU cores to set for the DB system.DataCollectionOptionsgetDataCollectionOptions()IntegergetDataStorageSizeInGBs()The size, in gigabytes, to scale the attached storage up to for this virtual machine DB system.Map<String,Map<String,Object>>getDefinedTags()Defined tags for this resource.Map<String,String>getFreeformTags()Free-form tags for this resource.UpdateDbSystemDetails.LicenseModelgetLicenseModel()The Oracle Database license model that applies to all databases on the DB system.MaintenanceWindowgetMaintenanceWindowDetails()List<String>getNsgIds()The list of OCIDs for the network security groups (NSGs) to which this resource belongs.IntegergetRecoStorageSizeInGBs()The size, in gigabytes, to scale the attached RECO storage up to for this virtual machine DB system.Map<String,Map<String,Object>>getSecurityAttributes()Security Attributes for this resource.StringgetShape()The shape of the DB system.List<String>getSshPublicKeys()The public key portion of the key pair to use for SSH access to the DB system.PatchDetailsgetVersion()inthashCode()UpdateDbSystemDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
UpdateDbSystemDetails@Deprecated @ConstructorProperties({"cpuCoreCount","version","sshPublicKeys","dataStorageSizeInGBs","recoStorageSizeInGBs","freeformTags","definedTags","securityAttributes","shape","nsgIds","backupNetworkNsgIds","licenseModel","maintenanceWindowDetails","dataCollectionOptions","computeModel","computeCount"}) public UpdateDbSystemDetails(Integer cpuCoreCount, PatchDetails version, List<String> sshPublicKeys, Integer dataStorageSizeInGBs, Integer recoStorageSizeInGBs, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> securityAttributes, String shape, List<String> nsgIds, List<String> backupNetworkNsgIds, UpdateDbSystemDetails.LicenseModel licenseModel, MaintenanceWindow maintenanceWindowDetails, DataCollectionOptions dataCollectionOptions, UpdateDbSystemDetails.ComputeModel computeModel, Integer computeCount) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static UpdateDbSystemDetails.Builder builder() Create a new builder.
 - 
toBuilderpublic UpdateDbSystemDetails.Builder toBuilder() 
 - 
getCpuCoreCountpublic 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
 
 - 
getVersionpublic PatchDetails getVersion() 
 - 
getSshPublicKeyspublic 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
 
 - 
getDataStorageSizeInGBspublic 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
 
 - 
getRecoStorageSizeInGBspublic 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
 
 - 
getFreeformTagspublic 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
 
 - 
getDefinedTagspublic 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
 
 - 
getSecurityAttributespublic 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
 
 - 
getShapepublic 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 listDbSystemShapesoperation.- Returns:
- the value
 
 - 
getNsgIdspublic 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 AI Databases with private access. The nsgIds list can be empty. - Returns:
- the value
 
 - 
getBackupNetworkNsgIdspublic 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
 
 - 
getLicenseModelpublic 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
 
 - 
getMaintenanceWindowDetailspublic MaintenanceWindow getMaintenanceWindowDetails() 
 - 
getDataCollectionOptionspublic DataCollectionOptions getDataCollectionOptions() 
 - 
getComputeModelpublic UpdateDbSystemDetails.ComputeModel getComputeModel() The compute model for Base Database Service.This is required if using the computeCount parameter. If using cpuCoreCount then it is an error to specify computeModel to a non-null value. The ECPU compute model is the recommended model, and the OCPU compute model is legacy. - Returns:
- the value
 
 - 
getComputeCountpublic Integer getComputeCount() The number of compute servers for the DB system.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-