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.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 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 Summary
Nested Classes Modifier and Type Class Description static class
UpdateDbSystemDetails.Builder
static class
UpdateDbSystemDetails.LicenseModel
The Oracle Database license model that applies to all databases on the DB system.
-
Constructor Summary
Constructors 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)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
UpdateDbSystemDetails
@Deprecated @ConstructorProperties({"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)
Deprecated.
-
-
Method Detail
-
builder
public static UpdateDbSystemDetails.Builder builder()
Create a new builder.
-
toBuilder
public UpdateDbSystemDetails.Builder toBuilder()
-
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
-
getVersion
public PatchDetails getVersion()
-
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()
-
getDataCollectionOptions
public DataCollectionOptions getDataCollectionOptions()
-
toString
public String toString()
- Overrides:
toString
in classcom.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 classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-