public static class DbSystemSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DbSystemSummary.Builder |
availabilityDomain(String availabilityDomain)
The name of the availability domain that the DB system is located in.
|
DbSystemSummary.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.
|
DbSystemSummary.Builder |
backupSubnetId(String backupSubnetId)
The OCID of the
backup network subnet the DB system is associated with.
|
DbSystemSummary |
build() |
DbSystemSummary.Builder |
clusterName(String clusterName)
The cluster name for Exadata and 2-node RAC virtual machine DB systems.
|
DbSystemSummary.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment.
|
DbSystemSummary.Builder |
copy(DbSystemSummary model) |
DbSystemSummary.Builder |
cpuCoreCount(Integer cpuCoreCount)
The number of CPU cores enabled on the DB system.
|
DbSystemSummary.Builder |
databaseEdition(DbSystemSummary.DatabaseEdition databaseEdition)
The Oracle Database edition that applies to all the databases on the DB system.
|
DbSystemSummary.Builder |
dataCollectionOptions(DataCollectionOptions dataCollectionOptions) |
DbSystemSummary.Builder |
dataStoragePercentage(Integer dataStoragePercentage)
The percentage assigned to DATA storage (user data and database files).
|
DbSystemSummary.Builder |
dataStorageSizeInGBs(Integer dataStorageSizeInGBs)
The data storage size, in gigabytes, that is currently available to the DB system.
|
DbSystemSummary.Builder |
dbSystemOptions(DbSystemOptions dbSystemOptions) |
DbSystemSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
DbSystemSummary.Builder |
diskRedundancy(DbSystemSummary.DiskRedundancy diskRedundancy)
The type of redundancy configured for the DB system.
|
DbSystemSummary.Builder |
displayName(String displayName)
The user-friendly name for the DB system.
|
DbSystemSummary.Builder |
domain(String domain)
The domain name for the DB system.
|
DbSystemSummary.Builder |
faultDomains(List<String> faultDomains)
List of the Fault Domains in which this DB system is provisioned.
|
DbSystemSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
DbSystemSummary.Builder |
giSoftwareImageId(String giSoftwareImageId)
The OCID of a
grid infrastructure software image.
|
DbSystemSummary.Builder |
hostname(String hostname)
The hostname for the DB system.
|
DbSystemSummary.Builder |
id(String id)
The OCID of the
DB system.
|
DbSystemSummary.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.
|
DbSystemSummary.Builder |
lastMaintenanceRunId(String lastMaintenanceRunId)
The OCID of the
last maintenance run.
|
DbSystemSummary.Builder |
lastPatchHistoryEntryId(String lastPatchHistoryEntryId)
The OCID of the
last patch history.
|
DbSystemSummary.Builder |
licenseModel(DbSystemSummary.LicenseModel licenseModel)
The Oracle license model that applies to all the databases on the DB system.
|
DbSystemSummary.Builder |
lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
|
DbSystemSummary.Builder |
lifecycleState(DbSystemSummary.LifecycleState lifecycleState)
The current state of the DB system.
|
DbSystemSummary.Builder |
listenerPort(Integer listenerPort)
The port number configured for the listener on the DB system.
|
DbSystemSummary.Builder |
maintenanceWindow(MaintenanceWindow maintenanceWindow) |
DbSystemSummary.Builder |
memorySizeInGBs(Integer memorySizeInGBs)
Memory allocated to the DB system, in gigabytes.
|
DbSystemSummary.Builder |
nextMaintenanceRunId(String nextMaintenanceRunId)
The OCID of the
next maintenance run.
|
DbSystemSummary.Builder |
nodeCount(Integer nodeCount)
The number of nodes in the DB system.
|
DbSystemSummary.Builder |
nsgIds(List<String> nsgIds)
The list of
OCIDs for the
network security groups (NSGs) to which this resource belongs.
|
DbSystemSummary.Builder |
osVersion(String osVersion)
The most recent OS Patch Version applied on the DB system.
|
DbSystemSummary.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.
|
DbSystemSummary.Builder |
recoStorageSizeInGB(Integer recoStorageSizeInGB)
The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system.
|
DbSystemSummary.Builder |
scanDnsName(String scanDnsName)
The FQDN of the DNS record for the SCAN IP addresses that are associated with the DB
system.
|
DbSystemSummary.Builder |
scanDnsRecordId(String scanDnsRecordId)
The OCID of the
DNS record for the SCAN IP addresses that are associated with the DB system.
|
DbSystemSummary.Builder |
scanIpIds(List<String> scanIpIds)
The OCID of the
Single Client Access Name (SCAN) IP addresses associated with the DB system.
|
DbSystemSummary.Builder |
securityAttributes(Map<String,Map<String,Object>> securityAttributes)
Security Attributes for this resource.
|
DbSystemSummary.Builder |
shape(String shape)
The shape of the DB system.
|
DbSystemSummary.Builder |
sourceDbSystemId(String sourceDbSystemId)
The OCID of the
DB system.
|
DbSystemSummary.Builder |
sparseDiskgroup(Boolean sparseDiskgroup)
True, if Sparse Diskgroup is configured for Exadata dbsystem, False, if Sparse diskgroup
was not configured.
|
DbSystemSummary.Builder |
sshPublicKeys(List<String> sshPublicKeys)
The public key portion of one or more key pairs used for SSH access to the DB system.
|
DbSystemSummary.Builder |
storageVolumePerformanceMode(DbSystemSummary.StorageVolumePerformanceMode storageVolumePerformanceMode)
The block storage volume performance level.
|
DbSystemSummary.Builder |
subnetId(String subnetId)
The OCID of the
subnet the DB system is associated with.
|
DbSystemSummary.Builder |
timeCreated(Date timeCreated)
The date and time the DB system was created.
|
DbSystemSummary.Builder |
timeZone(String timeZone)
The time zone of the DB system.
|
DbSystemSummary.Builder |
version(String version)
The Oracle Database version of the DB system.
|
DbSystemSummary.Builder |
vipIds(List<String> vipIds)
The OCID of the
virtual IP (VIP) addresses associated with the DB system.
|
DbSystemSummary.Builder |
zoneId(String zoneId)
The OCID of the zone the DB system is associated with.
|
public DbSystemSummary.Builder id(String id)
The OCID of the DB system.
id
- the value to setpublic DbSystemSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic DbSystemSummary.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 DbSystemSummary.Builder availabilityDomain(String availabilityDomain)
The name of the availability domain that the DB system is located in.
availabilityDomain
- the value to setpublic DbSystemSummary.Builder faultDomains(List<String> faultDomains)
List of the Fault Domains in which this DB system is provisioned.
faultDomains
- the value to setpublic DbSystemSummary.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 DbSystemSummary.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 DbSystemSummary.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 DbSystemSummary.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 DbSystemSummary.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 DbSystemSummary.Builder memorySizeInGBs(Integer memorySizeInGBs)
Memory allocated to the DB system, in gigabytes.
memorySizeInGBs
- the value to setpublic DbSystemSummary.Builder storageVolumePerformanceMode(DbSystemSummary.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 DbSystemSummary.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 DbSystemSummary.Builder dbSystemOptions(DbSystemOptions dbSystemOptions)
public DbSystemSummary.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 DbSystemSummary.Builder timeZone(String timeZone)
The time zone of the DB system. For details, see DB System Time Zones.
timeZone
- the value to setpublic DbSystemSummary.Builder hostname(String hostname)
The hostname for the DB system.
hostname
- the value to setpublic DbSystemSummary.Builder domain(String domain)
The domain name for the DB system.
domain
- the value to setpublic DbSystemSummary.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 DbSystemSummary.Builder version(String version)
The Oracle Database version of the DB system.
version
- the value to setpublic DbSystemSummary.Builder osVersion(String osVersion)
The most recent OS Patch Version applied on the DB system.
osVersion
- the value to setpublic DbSystemSummary.Builder cpuCoreCount(Integer cpuCoreCount)
The number of CPU cores enabled on the DB system.
cpuCoreCount
- the value to setpublic DbSystemSummary.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 DbSystemSummary.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 DbSystemSummary.Builder databaseEdition(DbSystemSummary.DatabaseEdition databaseEdition)
The Oracle Database edition that applies to all the databases on the DB system.
databaseEdition
- the value to setpublic DbSystemSummary.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 DbSystemSummary.Builder listenerPort(Integer listenerPort)
The port number configured for the listener on the DB system.
listenerPort
- the value to setpublic DbSystemSummary.Builder lifecycleState(DbSystemSummary.LifecycleState lifecycleState)
The current state of the DB system.
lifecycleState
- the value to setpublic DbSystemSummary.Builder timeCreated(Date timeCreated)
The date and time the DB system was created.
timeCreated
- the value to setpublic DbSystemSummary.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
lifecycleDetails
- the value to setpublic DbSystemSummary.Builder diskRedundancy(DbSystemSummary.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 DbSystemSummary.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 DbSystemSummary.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 DbSystemSummary.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 DbSystemSummary.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 DbSystemSummary.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 DbSystemSummary.Builder zoneId(String zoneId)
The OCID of the zone the DB system is associated with.
zoneId
- the value to setpublic DbSystemSummary.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 DbSystemSummary.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 DbSystemSummary.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 DbSystemSummary.Builder licenseModel(DbSystemSummary.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 DbSystemSummary.Builder maintenanceWindow(MaintenanceWindow maintenanceWindow)
public DbSystemSummary.Builder lastMaintenanceRunId(String lastMaintenanceRunId)
The OCID of the last maintenance run.
lastMaintenanceRunId
- the value to setpublic DbSystemSummary.Builder nextMaintenanceRunId(String nextMaintenanceRunId)
The OCID of the next maintenance run.
nextMaintenanceRunId
- the value to setpublic DbSystemSummary.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 DbSystemSummary.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 DbSystemSummary.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 DbSystemSummary.Builder sourceDbSystemId(String sourceDbSystemId)
The OCID of the DB system.
sourceDbSystemId
- the value to setpublic DbSystemSummary.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 DbSystemSummary.Builder dataCollectionOptions(DataCollectionOptions dataCollectionOptions)
public DbSystemSummary build()
public DbSystemSummary.Builder copy(DbSystemSummary model)
Copyright © 2016–2024. All rights reserved.