@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class UpdateDbSystemDetails extends Object
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
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
UpdateDbSystemDetails.Builder |
static class |
UpdateDbSystemDetails.LicenseModel
The Oracle Database license model that applies to all databases on the DB system.
|
Constructor and Description |
---|
UpdateDbSystemDetails(Integer cpuCoreCount,
PatchDetails version,
List<String> sshPublicKeys,
Integer dataStorageSizeInGBs,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
String shape,
List<String> nsgIds,
List<String> backupNetworkNsgIds,
UpdateDbSystemDetails.LicenseModel licenseModel,
MaintenanceWindow maintenanceWindowDetails)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static UpdateDbSystemDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
List<String> |
getBackupNetworkNsgIds()
A list of the OCIDs of the network security groups (NSGs) that the backup network of this DB system belongs to.
|
Integer |
getCpuCoreCount()
The new number of CPU cores to set for the DB system.
|
Integer |
getDataStorageSizeInGBs()
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.LicenseModel |
getLicenseModel()
The Oracle Database license model that applies to all databases on the DB system.
|
MaintenanceWindow |
getMaintenanceWindowDetails() |
List<String> |
getNsgIds()
A list of the OCIDs of the network security groups (NSGs) that this resource belongs to.
|
String |
getShape()
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.
|
PatchDetails |
getVersion() |
int |
hashCode() |
UpdateDbSystemDetails.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"cpuCoreCount","version","sshPublicKeys","dataStorageSizeInGBs","freeformTags","definedTags","shape","nsgIds","backupNetworkNsgIds","licenseModel","maintenanceWindowDetails"}) @Deprecated public UpdateDbSystemDetails(Integer cpuCoreCount, PatchDetails version, List<String> sshPublicKeys, Integer dataStorageSizeInGBs, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, String shape, List<String> nsgIds, List<String> backupNetworkNsgIds, UpdateDbSystemDetails.LicenseModel licenseModel, MaintenanceWindow maintenanceWindowDetails)
public static UpdateDbSystemDetails.Builder builder()
Create a new builder.
public UpdateDbSystemDetails.Builder toBuilder()
public Integer getCpuCoreCount()
The new number of CPU cores to set for the DB system. Not applicable for virtual machine DB systems.
public PatchDetails getVersion()
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.
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.
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\"}`
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.
public String getShape()
The shape of the DB system. The shape determines resources allocated to the DB system.
To get a list of shapes, use the listDbSystemShapes
operation.
public List<String> getNsgIds()
A list of the OCIDs of the network security groups (NSGs) that this resource 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. NsgIds restrictions:
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.
public UpdateDbSystemDetails.LicenseModel getLicenseModel()
The Oracle Database license model that applies to all databases on the DB system. The default is LICENSE_INCLUDED.
public MaintenanceWindow getMaintenanceWindowDetails()
Copyright © 2016–2021. All rights reserved.