@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
).
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.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and 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)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static UpdateDbSystemDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(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.
|
Integer |
getCpuCoreCount()
The new number of CPU cores to set for the DB system.
|
DataCollectionOptions |
getDataCollectionOptions() |
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()
The list of OCIDs
for the network security groups (NSGs) to which this resource belongs.
|
Integer |
getRecoStorageSizeInGBs()
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.
|
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() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"cpuCoreCount","version","sshPublicKeys","dataStorageSizeInGBs","recoStorageSizeInGBs","freeformTags","definedTags","securityAttributes","shape","nsgIds","backupNetworkNsgIds","licenseModel","maintenanceWindowDetails","dataCollectionOptions"}) 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)
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 INTEL based 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 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.
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 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"}}}
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.
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.
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()
public DataCollectionOptions getDataCollectionOptions()
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.