Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DbSystem.Builder |
availabilityDomain(String availabilityDomain)
The name of the availability domain that the DB system is located in.
|
DbSystem.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.
|
DbSystem.Builder |
backupSubnetId(String backupSubnetId)
The OCID of the
backup network subnet the DB system is associated with.
|
DbSystem |
build() |
DbSystem.Builder |
clusterName(String clusterName)
The cluster name for Exadata and 2-node RAC virtual machine DB systems.
|
DbSystem.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment.
|
DbSystem.Builder |
copy(DbSystem model) |
DbSystem.Builder |
cpuCoreCount(Integer cpuCoreCount)
The number of CPU cores enabled on the DB system.
|
DbSystem.Builder |
databaseEdition(DbSystem.DatabaseEdition databaseEdition)
The Oracle Database edition that applies to all the databases on the DB system.
|
DbSystem.Builder |
dataCollectionOptions(DataCollectionOptions dataCollectionOptions) |
DbSystem.Builder |
dataStoragePercentage(Integer dataStoragePercentage)
The percentage assigned to DATA storage (user data and database files).
|
DbSystem.Builder |
dataStorageSizeInGBs(Integer dataStorageSizeInGBs)
The data storage size, in gigabytes, that is currently available to the DB system.
|
DbSystem.Builder |
dbSystemOptions(DbSystemOptions dbSystemOptions) |
DbSystem.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
DbSystem.Builder |
diskRedundancy(DbSystem.DiskRedundancy diskRedundancy)
The type of redundancy configured for the DB system.
|
DbSystem.Builder |
displayName(String displayName)
The user-friendly name for the DB system.
|
DbSystem.Builder |
domain(String domain)
The domain name for the DB system.
|
DbSystem.Builder |
faultDomains(List<String> faultDomains)
List of the Fault Domains in which this DB system is provisioned.
|
DbSystem.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
DbSystem.Builder |
giSoftwareImageId(String giSoftwareImageId)
The OCID of a
grid infrastructure software image.
|
DbSystem.Builder |
hostname(String hostname)
The hostname for the DB system.
|
DbSystem.Builder |
id(String id)
The OCID of the
DB system.
|
DbSystem.Builder |
iormConfigCache(ExadataIormConfig iormConfigCache) |
DbSystem.Builder |
kmsKeyId(String kmsKeyId)
The OCID of the key container that is used as the master encryption key in database
transparent data encryption (TDE) operations.
|
DbSystem.Builder |
lastMaintenanceRunId(String lastMaintenanceRunId)
The OCID of the
last maintenance run.
|
DbSystem.Builder |
lastPatchHistoryEntryId(String lastPatchHistoryEntryId)
The OCID of the
last patch history.
|
DbSystem.Builder |
licenseModel(DbSystem.LicenseModel licenseModel)
The Oracle license model that applies to all the databases on the DB system.
|
DbSystem.Builder |
lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
|
DbSystem.Builder |
lifecycleState(DbSystem.LifecycleState lifecycleState)
The current state of the DB system.
|
DbSystem.Builder |
listenerPort(Integer listenerPort)
The port number configured for the listener on the DB system.
|
DbSystem.Builder |
maintenanceWindow(MaintenanceWindow maintenanceWindow) |
DbSystem.Builder |
memorySizeInGBs(Integer memorySizeInGBs)
Memory allocated to the DB system, in gigabytes.
|
DbSystem.Builder |
nextMaintenanceRunId(String nextMaintenanceRunId)
The OCID of the
next maintenance run.
|
DbSystem.Builder |
nodeCount(Integer nodeCount)
The number of nodes in the DB system.
|
DbSystem.Builder |
nsgIds(List<String> nsgIds)
The list of
OCIDs for the
network security groups (NSGs) to which this resource belongs.
|
DbSystem.Builder |
osVersion(String osVersion)
The most recent OS Patch Version applied on the DB system.
|
DbSystem.Builder |
pointInTimeDataDiskCloneTimestamp(Date pointInTimeDataDiskCloneTimestamp)
The point in time for a cloned database system when the data disks were cloned from the
source database system, as described in RFC 3339.
|
DbSystem.Builder |
recoStorageSizeInGB(Integer recoStorageSizeInGB)
The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system.
|
DbSystem.Builder |
scanDnsName(String scanDnsName)
The FQDN of the DNS record for the SCAN IP addresses that are associated with the DB
system.
|
DbSystem.Builder |
scanDnsRecordId(String scanDnsRecordId)
The OCID of the
DNS record for the SCAN IP addresses that are associated with the DB system.
|
DbSystem.Builder |
scanIpIds(List<String> scanIpIds)
The OCID of the
Single Client Access Name (SCAN) IP addresses associated with the DB system.
|
DbSystem.Builder |
securityAttributes(Map<String,Map<String,Object>> securityAttributes)
Security Attributes for this resource.
|
DbSystem.Builder |
shape(String shape)
The shape of the DB system.
|
DbSystem.Builder |
sourceDbSystemId(String sourceDbSystemId)
The OCID of the
DB system.
|
DbSystem.Builder |
sparseDiskgroup(Boolean sparseDiskgroup)
True, if Sparse Diskgroup is configured for Exadata dbsystem, False, if Sparse diskgroup
was not configured.
|
DbSystem.Builder |
sshPublicKeys(List<String> sshPublicKeys)
The public key portion of one or more key pairs used for SSH access to the DB system.
|
DbSystem.Builder |
storageVolumePerformanceMode(DbSystem.StorageVolumePerformanceMode storageVolumePerformanceMode)
The block storage volume performance level.
|
DbSystem.Builder |
subnetId(String subnetId)
The OCID of the
subnet the DB system is associated with.
|
DbSystem.Builder |
timeCreated(Date timeCreated)
The date and time the DB system was created.
|
DbSystem.Builder |
timeZone(String timeZone)
The time zone of the DB system.
|
DbSystem.Builder |
version(String version)
The Oracle Database version of the DB system.
|
DbSystem.Builder |
vipIds(List<String> vipIds)
The OCID of the
virtual IP (VIP) addresses associated with the DB system.
|
DbSystem.Builder |
zoneId(String zoneId)
The OCID of the zone the DB system is associated with.
|
public DbSystem.Builder iormConfigCache(ExadataIormConfig iormConfigCache)
public DbSystem.Builder id(String id)
The OCID of the DB system.
id
- the value to setpublic DbSystem.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic DbSystem.Builder displayName(String displayName)
The user-friendly name for the DB system. The name does not have to be unique.
displayName
- the value to setpublic DbSystem.Builder availabilityDomain(String availabilityDomain)
The name of the availability domain that the DB system is located in.
availabilityDomain
- the value to setpublic DbSystem.Builder faultDomains(List<String> faultDomains)
List of the Fault Domains in which this DB system is provisioned.
faultDomains
- the value to setpublic DbSystem.Builder subnetId(String subnetId)
The OCID of the subnet the DB system is associated with.
*Subnet Restrictions:** - For bare metal DB systems and for single node virtual machine DB systems, do not use a subnet that overlaps with 192.168.16.16/28. - For Exadata and virtual machine 2-node RAC DB systems, do not use a subnet that overlaps with 192.168.128.0/20.
These subnets are used by the Oracle Clusterware private interconnect on the database instance. Specifying an overlapping subnet will cause the private interconnect to malfunction. This restriction applies to both the client subnet and backup subnet.
subnetId
- the value to setpublic DbSystem.Builder backupSubnetId(String backupSubnetId)
The OCID of the backup network subnet the DB system is associated with. Applicable only to Exadata DB systems.
*Subnet Restriction:** See the subnet restrictions information for **subnetId**.
backupSubnetId
- the value to setpublic DbSystem.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 DbSystem.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 DbSystem.Builder giSoftwareImageId(String giSoftwareImageId)
The OCID of a
grid infrastructure software image. This is a database software image of the type GRID_IMAGE
.
giSoftwareImageId
- the value to setpublic DbSystem.Builder memorySizeInGBs(Integer memorySizeInGBs)
Memory allocated to the DB system, in gigabytes.
memorySizeInGBs
- the value to setpublic DbSystem.Builder storageVolumePerformanceMode(DbSystem.StorageVolumePerformanceMode storageVolumePerformanceMode)
The block storage volume performance level. Valid values are BALANCED
and HIGH_PERFORMANCE
. See Block Volume
Performance
for more information.
storageVolumePerformanceMode
- the value to setpublic DbSystem.Builder shape(String shape)
The shape of the DB system. The shape determines resources to allocate to the DB system.
shape
- the value to setpublic DbSystem.Builder dbSystemOptions(DbSystemOptions dbSystemOptions)
public DbSystem.Builder sshPublicKeys(List<String> sshPublicKeys)
The public key portion of one or more key pairs used for SSH access to the DB system.
sshPublicKeys
- the value to setpublic DbSystem.Builder timeZone(String timeZone)
The time zone of the DB system. For details, see DB System Time Zones.
timeZone
- the value to setpublic DbSystem.Builder hostname(String hostname)
The hostname for the DB system.
hostname
- the value to setpublic DbSystem.Builder domain(String domain)
The domain name for the DB system.
domain
- the value to setpublic DbSystem.Builder kmsKeyId(String kmsKeyId)
The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
kmsKeyId
- the value to setpublic DbSystem.Builder version(String version)
The Oracle Database version of the DB system.
version
- the value to setpublic DbSystem.Builder osVersion(String osVersion)
The most recent OS Patch Version applied on the DB system.
osVersion
- the value to setpublic DbSystem.Builder cpuCoreCount(Integer cpuCoreCount)
The number of CPU cores enabled on the DB system.
cpuCoreCount
- the value to setpublic DbSystem.Builder clusterName(String clusterName)
The cluster name for Exadata and 2-node RAC virtual machine DB systems. The cluster name must begin with an alphabetic character, and may contain hyphens (-). Underscores (_) are not permitted. The cluster name can be no longer than 11 characters and is not case sensitive.
clusterName
- the value to setpublic DbSystem.Builder dataStoragePercentage(Integer dataStoragePercentage)
The percentage assigned to DATA storage (user data and database files). The remaining percentage is assigned to RECO storage (database redo logs, archive logs, and recovery manager backups). Accepted values are 40 and 80. The default is 80 percent assigned to DATA storage. Not applicable for virtual machine DB systems.
dataStoragePercentage
- the value to setpublic DbSystem.Builder databaseEdition(DbSystem.DatabaseEdition databaseEdition)
The Oracle Database edition that applies to all the databases on the DB system.
databaseEdition
- the value to setpublic DbSystem.Builder lastPatchHistoryEntryId(String lastPatchHistoryEntryId)
The OCID of the last patch history. This value is updated as soon as a patch operation starts.
lastPatchHistoryEntryId
- the value to setpublic DbSystem.Builder listenerPort(Integer listenerPort)
The port number configured for the listener on the DB system.
listenerPort
- the value to setpublic DbSystem.Builder lifecycleState(DbSystem.LifecycleState lifecycleState)
The current state of the DB system.
lifecycleState
- the value to setpublic DbSystem.Builder timeCreated(Date timeCreated)
The date and time the DB system was created.
timeCreated
- the value to setpublic DbSystem.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
lifecycleDetails
- the value to setpublic DbSystem.Builder diskRedundancy(DbSystem.DiskRedundancy diskRedundancy)
The type of redundancy configured for the DB system. NORMAL is 2-way redundancy. HIGH is 3-way redundancy.
diskRedundancy
- the value to setpublic DbSystem.Builder sparseDiskgroup(Boolean sparseDiskgroup)
True, if Sparse Diskgroup is configured for Exadata dbsystem, False, if Sparse diskgroup was not configured.
sparseDiskgroup
- the value to setpublic DbSystem.Builder scanIpIds(List<String> scanIpIds)
The OCID of the Single Client Access Name (SCAN) IP addresses associated with the DB system. SCAN IP addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster.
*Note:** For a single-node DB system, this list is empty.
scanIpIds
- the value to setpublic DbSystem.Builder vipIds(List<String> vipIds)
The OCID of the virtual IP (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster.
*Note:** For a single-node DB system, this list is empty.
vipIds
- the value to setpublic DbSystem.Builder scanDnsRecordId(String scanDnsRecordId)
The OCID of the DNS record for the SCAN IP addresses that are associated with the DB system.
scanDnsRecordId
- the value to setpublic DbSystem.Builder scanDnsName(String scanDnsName)
The FQDN of the DNS record for the SCAN IP addresses that are associated with the DB system.
scanDnsName
- the value to setpublic DbSystem.Builder zoneId(String zoneId)
The OCID of the zone the DB system is associated with.
zoneId
- the value to setpublic DbSystem.Builder dataStorageSizeInGBs(Integer dataStorageSizeInGBs)
The data storage size, in gigabytes, that is currently available to the DB system. Applies only for virtual machine DB systems.
dataStorageSizeInGBs
- the value to setpublic DbSystem.Builder recoStorageSizeInGB(Integer recoStorageSizeInGB)
The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. Applies only for virtual machine DB systems.
recoStorageSizeInGB
- the value to setpublic DbSystem.Builder nodeCount(Integer nodeCount)
The number of nodes in the DB system. For RAC DB systems, the value is greater than 1.
nodeCount
- the value to setpublic DbSystem.Builder licenseModel(DbSystem.LicenseModel licenseModel)
The Oracle license model that applies to all the databases on the DB system. The default is LICENSE_INCLUDED.
licenseModel
- the value to setpublic DbSystem.Builder maintenanceWindow(MaintenanceWindow maintenanceWindow)
public DbSystem.Builder lastMaintenanceRunId(String lastMaintenanceRunId)
The OCID of the last maintenance run.
lastMaintenanceRunId
- the value to setpublic DbSystem.Builder nextMaintenanceRunId(String nextMaintenanceRunId)
The OCID of the next maintenance run.
nextMaintenanceRunId
- the value to setpublic DbSystem.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 DbSystem.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 DbSystem.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 DbSystem.Builder sourceDbSystemId(String sourceDbSystemId)
The OCID of the DB system.
sourceDbSystemId
- the value to setpublic DbSystem.Builder pointInTimeDataDiskCloneTimestamp(Date pointInTimeDataDiskCloneTimestamp)
The point in time for a cloned database system when the data disks were cloned from the source database system, as described in RFC 3339.
pointInTimeDataDiskCloneTimestamp
- the value to setpublic DbSystem.Builder dataCollectionOptions(DataCollectionOptions dataCollectionOptions)
public DbSystem build()
public DbSystem.Builder copy(DbSystem model)
Copyright © 2016–2024. All rights reserved.