public static class UpdateDbSystemDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UpdateDbSystemDetails.Builder |
backupNetworkNsgIds(List<String> backupNetworkNsgIds)
A list of the
OCIDs of the
network security groups (NSGs) that the backup network of this DB system belongs to.
|
UpdateDbSystemDetails |
build() |
UpdateDbSystemDetails.Builder |
copy(UpdateDbSystemDetails model) |
UpdateDbSystemDetails.Builder |
cpuCoreCount(Integer cpuCoreCount)
The new number of CPU cores to set for the DB system.
|
UpdateDbSystemDetails.Builder |
dataCollectionOptions(DataCollectionOptions dataCollectionOptions) |
UpdateDbSystemDetails.Builder |
dataStorageSizeInGBs(Integer dataStorageSizeInGBs)
The size, in gigabytes, to scale the attached storage up to for this virtual machine DB
system.
|
UpdateDbSystemDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
UpdateDbSystemDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
UpdateDbSystemDetails.Builder |
licenseModel(UpdateDbSystemDetails.LicenseModel licenseModel)
The Oracle Database license model that applies to all databases on the DB system.
|
UpdateDbSystemDetails.Builder |
maintenanceWindowDetails(MaintenanceWindow maintenanceWindowDetails) |
UpdateDbSystemDetails.Builder |
nsgIds(List<String> nsgIds)
The list of
OCIDs for the
network security groups (NSGs) to which this resource belongs.
|
UpdateDbSystemDetails.Builder |
recoStorageSizeInGBs(Integer recoStorageSizeInGBs)
The size, in gigabytes, to scale the attached RECO storage up to for this virtual machine
DB system.
|
UpdateDbSystemDetails.Builder |
securityAttributes(Map<String,Map<String,Object>> securityAttributes)
Security Attributes for this resource.
|
UpdateDbSystemDetails.Builder |
shape(String shape)
The shape of the DB system.
|
UpdateDbSystemDetails.Builder |
sshPublicKeys(List<String> sshPublicKeys)
The public key portion of the key pair to use for SSH access to the DB system.
|
UpdateDbSystemDetails.Builder |
version(PatchDetails version) |
public UpdateDbSystemDetails.Builder cpuCoreCount(Integer cpuCoreCount)
The new number of CPU cores to set for the DB system. Not applicable for INTEL based virtual machine DB systems.
cpuCoreCount
- the value to setpublic UpdateDbSystemDetails.Builder version(PatchDetails version)
public UpdateDbSystemDetails.Builder sshPublicKeys(List<String> sshPublicKeys)
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.
sshPublicKeys
- the value to setpublic UpdateDbSystemDetails.Builder dataStorageSizeInGBs(Integer dataStorageSizeInGBs)
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.
dataStorageSizeInGBs
- the value to setpublic UpdateDbSystemDetails.Builder recoStorageSizeInGBs(Integer recoStorageSizeInGBs)
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.
recoStorageSizeInGBs
- the value to setpublic UpdateDbSystemDetails.Builder freeformTags(Map<String,String> freeformTags)
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"}
freeformTags
- the value to setpublic UpdateDbSystemDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
definedTags
- the value to setpublic UpdateDbSystemDetails.Builder securityAttributes(Map<String,Map<String,Object>> securityAttributes)
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"}}}
securityAttributes
- the value to setpublic UpdateDbSystemDetails.Builder shape(String shape)
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.
shape
- the value to setpublic UpdateDbSystemDetails.Builder nsgIds(List<String> nsgIds)
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.
nsgIds
- the value to setpublic UpdateDbSystemDetails.Builder backupNetworkNsgIds(List<String> backupNetworkNsgIds)
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.
backupNetworkNsgIds
- the value to setpublic UpdateDbSystemDetails.Builder licenseModel(UpdateDbSystemDetails.LicenseModel licenseModel)
The Oracle Database license model that applies to all databases on the DB system. The default is LICENSE_INCLUDED.
licenseModel
- the value to setpublic UpdateDbSystemDetails.Builder maintenanceWindowDetails(MaintenanceWindow maintenanceWindowDetails)
public UpdateDbSystemDetails.Builder dataCollectionOptions(DataCollectionOptions dataCollectionOptions)
public UpdateDbSystemDetails build()
public UpdateDbSystemDetails.Builder copy(UpdateDbSystemDetails model)
Copyright © 2016–2024. All rights reserved.