Class UpdateDbSystemDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.UpdateDbSystemDetails.Builder
-
- Enclosing class:
- UpdateDbSystemDetails
public static class UpdateDbSystemDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
cpuCoreCount
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.
- Parameters:
cpuCoreCount
- the value to set- Returns:
- this builder
-
version
public UpdateDbSystemDetails.Builder version(PatchDetails version)
-
sshPublicKeys
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.
- Parameters:
sshPublicKeys
- the value to set- Returns:
- this builder
-
dataStorageSizeInGBs
public 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.
- Parameters:
dataStorageSizeInGBs
- the value to set- Returns:
- this builder
-
recoStorageSizeInGBs
public 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.
- Parameters:
recoStorageSizeInGBs
- the value to set- Returns:
- this builder
-
freeformTags
public 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"}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public 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.
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
securityAttributes
public 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”}}}
- Parameters:
securityAttributes
- the value to set- Returns:
- this builder
-
shape
public 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.- Parameters:
shape
- the value to set- Returns:
- this builder
-
nsgIds
public 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.
- Parameters:
nsgIds
- the value to set- Returns:
- this builder
-
backupNetworkNsgIds
public 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.
- Parameters:
backupNetworkNsgIds
- the value to set- Returns:
- this builder
-
licenseModel
public 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.
- Parameters:
licenseModel
- the value to set- Returns:
- this builder
-
maintenanceWindowDetails
public UpdateDbSystemDetails.Builder maintenanceWindowDetails(MaintenanceWindow maintenanceWindowDetails)
-
dataCollectionOptions
public UpdateDbSystemDetails.Builder dataCollectionOptions(DataCollectionOptions dataCollectionOptions)
-
build
public UpdateDbSystemDetails build()
-
copy
public UpdateDbSystemDetails.Builder copy(UpdateDbSystemDetails model)
-
-