All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.oracle.bmc.database.model.DbSystemSummary Maven / Gradle / Ivy

Go to download

This project contains the SDK used for Oracle Cloud Infrastructure Database Service

There is a newer version: 3.49.0
Show newest version
/**
 * Copyright (c) 2016, 2024, Oracle and/or its affiliates.  All rights reserved.
 * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
 */
package com.oracle.bmc.database.model;

/**
 * The Database Service supports several types of DB systems, ranging in size, price, and
 * performance. For details about each type of system, see [Bare Metal and Virtual Machine DB
 * Systems](https://docs.cloud.oracle.com/Content/Database/Concepts/overview.htm).
 *
 * 

*Note:** Deprecated for Exadata Cloud Service instances using the new [resource * model](https://docs.cloud.oracle.com/iaas/Content/Database/Concepts/exaflexsystem.htm#exaflexsystem_topic-resource_model). * To provision and manage new Exadata Cloud Service systems, use the {@link * CloudExadataInfrastructure} and {@link CloudVmCluster}. See [Exadata Cloud * Service](https://docs.cloud.oracle.com/Content/Database/Concepts/exaoverview.htm) for more * information on Exadata systems. * *

For Exadata Cloud Service instances, support for this API will end on May 15th, 2021. See * [Switching an Exadata DB System to the New Resource Model and * APIs](https://docs.cloud.oracle.com/iaas/Content/Database/Concepts/exaflexsystem_topic-resource_model_conversion.htm) * for details on converting existing Exadata DB systems to the new resource model. * *

To use any of the API operations, you must be authorized in an IAM policy. If you are not * authorized, talk to an administrator. If you are an administrator who needs to write policies to * give users access, see [Getting Started with * Policies](https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm). * *

For information about access control and compartments, see [Overview of the Identity * Service](https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm). * *

For information about availability domains, see [Regions and Availability * Domains](https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm). * *

To get a list of availability domains, use the {@code ListAvailabilityDomains} operation in * the Identity Service API. * *

*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 the {@link Builder}. This model * distinguishes fields that are {@code null} because they are unset from fields that are explicitly * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link * #hashCode()} and {@link #equals(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 {@code null} from unset {@code * null}). */ @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") @com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = DbSystemSummary.Builder.class) @com.fasterxml.jackson.annotation.JsonFilter( com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) public final class DbSystemSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated @java.beans.ConstructorProperties({ "id", "compartmentId", "displayName", "availabilityDomain", "faultDomains", "subnetId", "backupSubnetId", "nsgIds", "backupNetworkNsgIds", "giSoftwareImageId", "memorySizeInGBs", "storageVolumePerformanceMode", "shape", "dbSystemOptions", "sshPublicKeys", "timeZone", "hostname", "domain", "kmsKeyId", "version", "osVersion", "cpuCoreCount", "clusterName", "dataStoragePercentage", "databaseEdition", "lastPatchHistoryEntryId", "listenerPort", "lifecycleState", "timeCreated", "lifecycleDetails", "diskRedundancy", "sparseDiskgroup", "scanIpIds", "vipIds", "scanDnsRecordId", "scanDnsName", "zoneId", "dataStorageSizeInGBs", "recoStorageSizeInGB", "nodeCount", "licenseModel", "maintenanceWindow", "lastMaintenanceRunId", "nextMaintenanceRunId", "freeformTags", "definedTags", "sourceDbSystemId", "pointInTimeDataDiskCloneTimestamp", "dataCollectionOptions" }) public DbSystemSummary( String id, String compartmentId, String displayName, String availabilityDomain, java.util.List faultDomains, String subnetId, String backupSubnetId, java.util.List nsgIds, java.util.List backupNetworkNsgIds, String giSoftwareImageId, Integer memorySizeInGBs, StorageVolumePerformanceMode storageVolumePerformanceMode, String shape, DbSystemOptions dbSystemOptions, java.util.List sshPublicKeys, String timeZone, String hostname, String domain, String kmsKeyId, String version, String osVersion, Integer cpuCoreCount, String clusterName, Integer dataStoragePercentage, DatabaseEdition databaseEdition, String lastPatchHistoryEntryId, Integer listenerPort, LifecycleState lifecycleState, java.util.Date timeCreated, String lifecycleDetails, DiskRedundancy diskRedundancy, Boolean sparseDiskgroup, java.util.List scanIpIds, java.util.List vipIds, String scanDnsRecordId, String scanDnsName, String zoneId, Integer dataStorageSizeInGBs, Integer recoStorageSizeInGB, Integer nodeCount, LicenseModel licenseModel, MaintenanceWindow maintenanceWindow, String lastMaintenanceRunId, String nextMaintenanceRunId, java.util.Map freeformTags, java.util.Map> definedTags, String sourceDbSystemId, java.util.Date pointInTimeDataDiskCloneTimestamp, DataCollectionOptions dataCollectionOptions) { super(); this.id = id; this.compartmentId = compartmentId; this.displayName = displayName; this.availabilityDomain = availabilityDomain; this.faultDomains = faultDomains; this.subnetId = subnetId; this.backupSubnetId = backupSubnetId; this.nsgIds = nsgIds; this.backupNetworkNsgIds = backupNetworkNsgIds; this.giSoftwareImageId = giSoftwareImageId; this.memorySizeInGBs = memorySizeInGBs; this.storageVolumePerformanceMode = storageVolumePerformanceMode; this.shape = shape; this.dbSystemOptions = dbSystemOptions; this.sshPublicKeys = sshPublicKeys; this.timeZone = timeZone; this.hostname = hostname; this.domain = domain; this.kmsKeyId = kmsKeyId; this.version = version; this.osVersion = osVersion; this.cpuCoreCount = cpuCoreCount; this.clusterName = clusterName; this.dataStoragePercentage = dataStoragePercentage; this.databaseEdition = databaseEdition; this.lastPatchHistoryEntryId = lastPatchHistoryEntryId; this.listenerPort = listenerPort; this.lifecycleState = lifecycleState; this.timeCreated = timeCreated; this.lifecycleDetails = lifecycleDetails; this.diskRedundancy = diskRedundancy; this.sparseDiskgroup = sparseDiskgroup; this.scanIpIds = scanIpIds; this.vipIds = vipIds; this.scanDnsRecordId = scanDnsRecordId; this.scanDnsName = scanDnsName; this.zoneId = zoneId; this.dataStorageSizeInGBs = dataStorageSizeInGBs; this.recoStorageSizeInGB = recoStorageSizeInGB; this.nodeCount = nodeCount; this.licenseModel = licenseModel; this.maintenanceWindow = maintenanceWindow; this.lastMaintenanceRunId = lastMaintenanceRunId; this.nextMaintenanceRunId = nextMaintenanceRunId; this.freeformTags = freeformTags; this.definedTags = definedTags; this.sourceDbSystemId = sourceDbSystemId; this.pointInTimeDataDiskCloneTimestamp = pointInTimeDataDiskCloneTimestamp; this.dataCollectionOptions = dataCollectionOptions; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * DB system. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private String id; /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * DB system. * * @param id the value to set * @return this builder */ public Builder id(String id) { this.id = id; this.__explicitlySet__.add("id"); return this; } /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private String compartmentId; /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * compartment. * * @param compartmentId the value to set * @return this builder */ public Builder compartmentId(String compartmentId) { this.compartmentId = compartmentId; this.__explicitlySet__.add("compartmentId"); return this; } /** The user-friendly name for the DB system. The name does not have to be unique. */ @com.fasterxml.jackson.annotation.JsonProperty("displayName") private String displayName; /** * The user-friendly name for the DB system. The name does not have to be unique. * * @param displayName the value to set * @return this builder */ public Builder displayName(String displayName) { this.displayName = displayName; this.__explicitlySet__.add("displayName"); return this; } /** The name of the availability domain that the DB system is located in. */ @com.fasterxml.jackson.annotation.JsonProperty("availabilityDomain") private String availabilityDomain; /** * The name of the availability domain that the DB system is located in. * * @param availabilityDomain the value to set * @return this builder */ public Builder availabilityDomain(String availabilityDomain) { this.availabilityDomain = availabilityDomain; this.__explicitlySet__.add("availabilityDomain"); return this; } /** List of the Fault Domains in which this DB system is provisioned. */ @com.fasterxml.jackson.annotation.JsonProperty("faultDomains") private java.util.List faultDomains; /** * List of the Fault Domains in which this DB system is provisioned. * * @param faultDomains the value to set * @return this builder */ public Builder faultDomains(java.util.List faultDomains) { this.faultDomains = faultDomains; this.__explicitlySet__.add("faultDomains"); return this; } /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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. */ @com.fasterxml.jackson.annotation.JsonProperty("subnetId") private String subnetId; /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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. * * @param subnetId the value to set * @return this builder */ public Builder subnetId(String subnetId) { this.subnetId = subnetId; this.__explicitlySet__.add("subnetId"); return this; } /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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**. */ @com.fasterxml.jackson.annotation.JsonProperty("backupSubnetId") private String backupSubnetId; /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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**. * * @param backupSubnetId the value to set * @return this builder */ public Builder backupSubnetId(String backupSubnetId) { this.backupSubnetId = backupSubnetId; this.__explicitlySet__.add("backupSubnetId"); return this; } /** * The list of * [OCIDs](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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](https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm). * **NsgIds restrictions:** - A network security group (NSG) is optional for Autonomous * Databases with private access. The nsgIds list can be empty. */ @com.fasterxml.jackson.annotation.JsonProperty("nsgIds") private java.util.List nsgIds; /** * The list of * [OCIDs](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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](https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm). * **NsgIds restrictions:** - A network security group (NSG) is optional for Autonomous * Databases with private access. The nsgIds list can be empty. * * @param nsgIds the value to set * @return this builder */ public Builder nsgIds(java.util.List nsgIds) { this.nsgIds = nsgIds; this.__explicitlySet__.add("nsgIds"); return this; } /** * A list of the * [OCIDs](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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](https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm). * Applicable only to Exadata systems. */ @com.fasterxml.jackson.annotation.JsonProperty("backupNetworkNsgIds") private java.util.List backupNetworkNsgIds; /** * A list of the * [OCIDs](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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](https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm). * Applicable only to Exadata systems. * * @param backupNetworkNsgIds the value to set * @return this builder */ public Builder backupNetworkNsgIds(java.util.List backupNetworkNsgIds) { this.backupNetworkNsgIds = backupNetworkNsgIds; this.__explicitlySet__.add("backupNetworkNsgIds"); return this; } /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a * grid infrastructure software image. This is a database software image of the type {@code * GRID_IMAGE}. */ @com.fasterxml.jackson.annotation.JsonProperty("giSoftwareImageId") private String giSoftwareImageId; /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a * grid infrastructure software image. This is a database software image of the type {@code * GRID_IMAGE}. * * @param giSoftwareImageId the value to set * @return this builder */ public Builder giSoftwareImageId(String giSoftwareImageId) { this.giSoftwareImageId = giSoftwareImageId; this.__explicitlySet__.add("giSoftwareImageId"); return this; } /** Memory allocated to the DB system, in gigabytes. */ @com.fasterxml.jackson.annotation.JsonProperty("memorySizeInGBs") private Integer memorySizeInGBs; /** * Memory allocated to the DB system, in gigabytes. * * @param memorySizeInGBs the value to set * @return this builder */ public Builder memorySizeInGBs(Integer memorySizeInGBs) { this.memorySizeInGBs = memorySizeInGBs; this.__explicitlySet__.add("memorySizeInGBs"); return this; } /** * The block storage volume performance level. Valid values are {@code BALANCED} and {@code * HIGH_PERFORMANCE}. See [Block Volume * Performance](https://docs.cloud.oracle.com/Content/Block/Concepts/blockvolumeperformance.htm) * for more information. */ @com.fasterxml.jackson.annotation.JsonProperty("storageVolumePerformanceMode") private StorageVolumePerformanceMode storageVolumePerformanceMode; /** * The block storage volume performance level. Valid values are {@code BALANCED} and {@code * HIGH_PERFORMANCE}. See [Block Volume * Performance](https://docs.cloud.oracle.com/Content/Block/Concepts/blockvolumeperformance.htm) * for more information. * * @param storageVolumePerformanceMode the value to set * @return this builder */ public Builder storageVolumePerformanceMode( StorageVolumePerformanceMode storageVolumePerformanceMode) { this.storageVolumePerformanceMode = storageVolumePerformanceMode; this.__explicitlySet__.add("storageVolumePerformanceMode"); return this; } /** * The shape of the DB system. The shape determines resources to allocate to the DB system. * - For virtual machine shapes, the number of CPU cores and memory - For bare metal and * Exadata shapes, the number of CPU cores, storage, and memory */ @com.fasterxml.jackson.annotation.JsonProperty("shape") private String shape; /** * The shape of the DB system. The shape determines resources to allocate to the DB system. * - For virtual machine shapes, the number of CPU cores and memory - For bare metal and * Exadata shapes, the number of CPU cores, storage, and memory * * @param shape the value to set * @return this builder */ public Builder shape(String shape) { this.shape = shape; this.__explicitlySet__.add("shape"); return this; } @com.fasterxml.jackson.annotation.JsonProperty("dbSystemOptions") private DbSystemOptions dbSystemOptions; public Builder dbSystemOptions(DbSystemOptions dbSystemOptions) { this.dbSystemOptions = dbSystemOptions; this.__explicitlySet__.add("dbSystemOptions"); return this; } /** The public key portion of one or more key pairs used for SSH access to the DB system. */ @com.fasterxml.jackson.annotation.JsonProperty("sshPublicKeys") private java.util.List sshPublicKeys; /** * The public key portion of one or more key pairs used for SSH access to the DB system. * * @param sshPublicKeys the value to set * @return this builder */ public Builder sshPublicKeys(java.util.List sshPublicKeys) { this.sshPublicKeys = sshPublicKeys; this.__explicitlySet__.add("sshPublicKeys"); return this; } /** * The time zone of the DB system. For details, see [DB System Time * Zones](https://docs.cloud.oracle.com/Content/Database/References/timezones.htm). */ @com.fasterxml.jackson.annotation.JsonProperty("timeZone") private String timeZone; /** * The time zone of the DB system. For details, see [DB System Time * Zones](https://docs.cloud.oracle.com/Content/Database/References/timezones.htm). * * @param timeZone the value to set * @return this builder */ public Builder timeZone(String timeZone) { this.timeZone = timeZone; this.__explicitlySet__.add("timeZone"); return this; } /** The hostname for the DB system. */ @com.fasterxml.jackson.annotation.JsonProperty("hostname") private String hostname; /** * The hostname for the DB system. * * @param hostname the value to set * @return this builder */ public Builder hostname(String hostname) { this.hostname = hostname; this.__explicitlySet__.add("hostname"); return this; } /** The domain name for the DB system. */ @com.fasterxml.jackson.annotation.JsonProperty("domain") private String domain; /** * The domain name for the DB system. * * @param domain the value to set * @return this builder */ public Builder domain(String domain) { this.domain = domain; this.__explicitlySet__.add("domain"); return this; } /** * The OCID of the key container that is used as the master encryption key in database * transparent data encryption (TDE) operations. */ @com.fasterxml.jackson.annotation.JsonProperty("kmsKeyId") private String kmsKeyId; /** * The OCID of the key container that is used as the master encryption key in database * transparent data encryption (TDE) operations. * * @param kmsKeyId the value to set * @return this builder */ public Builder kmsKeyId(String kmsKeyId) { this.kmsKeyId = kmsKeyId; this.__explicitlySet__.add("kmsKeyId"); return this; } /** The Oracle Database version of the DB system. */ @com.fasterxml.jackson.annotation.JsonProperty("version") private String version; /** * The Oracle Database version of the DB system. * * @param version the value to set * @return this builder */ public Builder version(String version) { this.version = version; this.__explicitlySet__.add("version"); return this; } /** The most recent OS Patch Version applied on the DB system. */ @com.fasterxml.jackson.annotation.JsonProperty("osVersion") private String osVersion; /** * The most recent OS Patch Version applied on the DB system. * * @param osVersion the value to set * @return this builder */ public Builder osVersion(String osVersion) { this.osVersion = osVersion; this.__explicitlySet__.add("osVersion"); return this; } /** The number of CPU cores enabled on the DB system. */ @com.fasterxml.jackson.annotation.JsonProperty("cpuCoreCount") private Integer cpuCoreCount; /** * The number of CPU cores enabled on the DB system. * * @param cpuCoreCount the value to set * @return this builder */ public Builder cpuCoreCount(Integer cpuCoreCount) { this.cpuCoreCount = cpuCoreCount; this.__explicitlySet__.add("cpuCoreCount"); return this; } /** * 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. */ @com.fasterxml.jackson.annotation.JsonProperty("clusterName") private 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. * * @param clusterName the value to set * @return this builder */ public Builder clusterName(String clusterName) { this.clusterName = clusterName; this.__explicitlySet__.add("clusterName"); return this; } /** * 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. */ @com.fasterxml.jackson.annotation.JsonProperty("dataStoragePercentage") private 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. * * @param dataStoragePercentage the value to set * @return this builder */ public Builder dataStoragePercentage(Integer dataStoragePercentage) { this.dataStoragePercentage = dataStoragePercentage; this.__explicitlySet__.add("dataStoragePercentage"); return this; } /** The Oracle Database edition that applies to all the databases on the DB system. */ @com.fasterxml.jackson.annotation.JsonProperty("databaseEdition") private DatabaseEdition databaseEdition; /** * The Oracle Database edition that applies to all the databases on the DB system. * * @param databaseEdition the value to set * @return this builder */ public Builder databaseEdition(DatabaseEdition databaseEdition) { this.databaseEdition = databaseEdition; this.__explicitlySet__.add("databaseEdition"); return this; } /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * last patch history. This value is updated as soon as a patch operation starts. */ @com.fasterxml.jackson.annotation.JsonProperty("lastPatchHistoryEntryId") private String lastPatchHistoryEntryId; /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * last patch history. This value is updated as soon as a patch operation starts. * * @param lastPatchHistoryEntryId the value to set * @return this builder */ public Builder lastPatchHistoryEntryId(String lastPatchHistoryEntryId) { this.lastPatchHistoryEntryId = lastPatchHistoryEntryId; this.__explicitlySet__.add("lastPatchHistoryEntryId"); return this; } /** The port number configured for the listener on the DB system. */ @com.fasterxml.jackson.annotation.JsonProperty("listenerPort") private Integer listenerPort; /** * The port number configured for the listener on the DB system. * * @param listenerPort the value to set * @return this builder */ public Builder listenerPort(Integer listenerPort) { this.listenerPort = listenerPort; this.__explicitlySet__.add("listenerPort"); return this; } /** The current state of the DB system. */ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") private LifecycleState lifecycleState; /** * The current state of the DB system. * * @param lifecycleState the value to set * @return this builder */ public Builder lifecycleState(LifecycleState lifecycleState) { this.lifecycleState = lifecycleState; this.__explicitlySet__.add("lifecycleState"); return this; } /** The date and time the DB system was created. */ @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") private java.util.Date timeCreated; /** * The date and time the DB system was created. * * @param timeCreated the value to set * @return this builder */ public Builder timeCreated(java.util.Date timeCreated) { this.timeCreated = timeCreated; this.__explicitlySet__.add("timeCreated"); return this; } /** Additional information about the current lifecycle state. */ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleDetails") private String lifecycleDetails; /** * Additional information about the current lifecycle state. * * @param lifecycleDetails the value to set * @return this builder */ public Builder lifecycleDetails(String lifecycleDetails) { this.lifecycleDetails = lifecycleDetails; this.__explicitlySet__.add("lifecycleDetails"); return this; } /** * The type of redundancy configured for the DB system. NORMAL is 2-way redundancy. HIGH is * 3-way redundancy. */ @com.fasterxml.jackson.annotation.JsonProperty("diskRedundancy") private DiskRedundancy diskRedundancy; /** * The type of redundancy configured for the DB system. NORMAL is 2-way redundancy. HIGH is * 3-way redundancy. * * @param diskRedundancy the value to set * @return this builder */ public Builder diskRedundancy(DiskRedundancy diskRedundancy) { this.diskRedundancy = diskRedundancy; this.__explicitlySet__.add("diskRedundancy"); return this; } /** * True, if Sparse Diskgroup is configured for Exadata dbsystem, False, if Sparse diskgroup * was not configured. */ @com.fasterxml.jackson.annotation.JsonProperty("sparseDiskgroup") private Boolean sparseDiskgroup; /** * True, if Sparse Diskgroup is configured for Exadata dbsystem, False, if Sparse diskgroup * was not configured. * * @param sparseDiskgroup the value to set * @return this builder */ public Builder sparseDiskgroup(Boolean sparseDiskgroup) { this.sparseDiskgroup = sparseDiskgroup; this.__explicitlySet__.add("sparseDiskgroup"); return this; } /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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. */ @com.fasterxml.jackson.annotation.JsonProperty("scanIpIds") private java.util.List scanIpIds; /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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. * * @param scanIpIds the value to set * @return this builder */ public Builder scanIpIds(java.util.List scanIpIds) { this.scanIpIds = scanIpIds; this.__explicitlySet__.add("scanIpIds"); return this; } /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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. */ @com.fasterxml.jackson.annotation.JsonProperty("vipIds") private java.util.List vipIds; /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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. * * @param vipIds the value to set * @return this builder */ public Builder vipIds(java.util.List vipIds) { this.vipIds = vipIds; this.__explicitlySet__.add("vipIds"); return this; } /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * DNS record for the SCAN IP addresses that are associated with the DB system. */ @com.fasterxml.jackson.annotation.JsonProperty("scanDnsRecordId") private String scanDnsRecordId; /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * DNS record for the SCAN IP addresses that are associated with the DB system. * * @param scanDnsRecordId the value to set * @return this builder */ public Builder scanDnsRecordId(String scanDnsRecordId) { this.scanDnsRecordId = scanDnsRecordId; this.__explicitlySet__.add("scanDnsRecordId"); return this; } /** * The FQDN of the DNS record for the SCAN IP addresses that are associated with the DB * system. */ @com.fasterxml.jackson.annotation.JsonProperty("scanDnsName") private String scanDnsName; /** * The FQDN of the DNS record for the SCAN IP addresses that are associated with the DB * system. * * @param scanDnsName the value to set * @return this builder */ public Builder scanDnsName(String scanDnsName) { this.scanDnsName = scanDnsName; this.__explicitlySet__.add("scanDnsName"); return this; } /** The OCID of the zone the DB system is associated with. */ @com.fasterxml.jackson.annotation.JsonProperty("zoneId") private String zoneId; /** * The OCID of the zone the DB system is associated with. * * @param zoneId the value to set * @return this builder */ public Builder zoneId(String zoneId) { this.zoneId = zoneId; this.__explicitlySet__.add("zoneId"); return this; } /** * The data storage size, in gigabytes, that is currently available to the DB system. * Applies only for virtual machine DB systems. */ @com.fasterxml.jackson.annotation.JsonProperty("dataStorageSizeInGBs") private Integer dataStorageSizeInGBs; /** * The data storage size, in gigabytes, that is currently available to the DB system. * Applies only for virtual machine DB systems. * * @param dataStorageSizeInGBs the value to set * @return this builder */ public Builder dataStorageSizeInGBs(Integer dataStorageSizeInGBs) { this.dataStorageSizeInGBs = dataStorageSizeInGBs; this.__explicitlySet__.add("dataStorageSizeInGBs"); return this; } /** * The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. * Applies only for virtual machine DB systems. */ @com.fasterxml.jackson.annotation.JsonProperty("recoStorageSizeInGB") private Integer recoStorageSizeInGB; /** * The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. * Applies only for virtual machine DB systems. * * @param recoStorageSizeInGB the value to set * @return this builder */ public Builder recoStorageSizeInGB(Integer recoStorageSizeInGB) { this.recoStorageSizeInGB = recoStorageSizeInGB; this.__explicitlySet__.add("recoStorageSizeInGB"); return this; } /** * The number of nodes in the DB system. For RAC DB systems, the value is greater than 1. */ @com.fasterxml.jackson.annotation.JsonProperty("nodeCount") private Integer nodeCount; /** * The number of nodes in the DB system. For RAC DB systems, the value is greater than 1. * * @param nodeCount the value to set * @return this builder */ public Builder nodeCount(Integer nodeCount) { this.nodeCount = nodeCount; this.__explicitlySet__.add("nodeCount"); return this; } /** * The Oracle license model that applies to all the databases on the DB system. The default * is LICENSE_INCLUDED. */ @com.fasterxml.jackson.annotation.JsonProperty("licenseModel") private LicenseModel licenseModel; /** * The Oracle license model that applies to all the databases on the DB system. The default * is LICENSE_INCLUDED. * * @param licenseModel the value to set * @return this builder */ public Builder licenseModel(LicenseModel licenseModel) { this.licenseModel = licenseModel; this.__explicitlySet__.add("licenseModel"); return this; } @com.fasterxml.jackson.annotation.JsonProperty("maintenanceWindow") private MaintenanceWindow maintenanceWindow; public Builder maintenanceWindow(MaintenanceWindow maintenanceWindow) { this.maintenanceWindow = maintenanceWindow; this.__explicitlySet__.add("maintenanceWindow"); return this; } /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * last maintenance run. */ @com.fasterxml.jackson.annotation.JsonProperty("lastMaintenanceRunId") private String lastMaintenanceRunId; /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * last maintenance run. * * @param lastMaintenanceRunId the value to set * @return this builder */ public Builder lastMaintenanceRunId(String lastMaintenanceRunId) { this.lastMaintenanceRunId = lastMaintenanceRunId; this.__explicitlySet__.add("lastMaintenanceRunId"); return this; } /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * next maintenance run. */ @com.fasterxml.jackson.annotation.JsonProperty("nextMaintenanceRunId") private String nextMaintenanceRunId; /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * next maintenance run. * * @param nextMaintenanceRunId the value to set * @return this builder */ public Builder nextMaintenanceRunId(String nextMaintenanceRunId) { this.nextMaintenanceRunId = nextMaintenanceRunId; this.__explicitlySet__.add("nextMaintenanceRunId"); return this; } /** * 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](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). * *

Example: {@code {"Department": "Finance"}} */ @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") private java.util.Map 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](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). * *

Example: {@code {"Department": "Finance"}} * * @param freeformTags the value to set * @return this builder */ public Builder freeformTags(java.util.Map freeformTags) { this.freeformTags = freeformTags; this.__explicitlySet__.add("freeformTags"); return this; } /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For * more information, see [Resource * Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). */ @com.fasterxml.jackson.annotation.JsonProperty("definedTags") private java.util.Map> definedTags; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For * more information, see [Resource * Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). * * @param definedTags the value to set * @return this builder */ public Builder definedTags( java.util.Map> definedTags) { this.definedTags = definedTags; this.__explicitlySet__.add("definedTags"); return this; } /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * DB system. */ @com.fasterxml.jackson.annotation.JsonProperty("sourceDbSystemId") private String sourceDbSystemId; /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * DB system. * * @param sourceDbSystemId the value to set * @return this builder */ public Builder sourceDbSystemId(String sourceDbSystemId) { this.sourceDbSystemId = sourceDbSystemId; this.__explicitlySet__.add("sourceDbSystemId"); return this; } /** * 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](https://tools.ietf.org/rfc/rfc3339). */ @com.fasterxml.jackson.annotation.JsonProperty("pointInTimeDataDiskCloneTimestamp") private java.util.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](https://tools.ietf.org/rfc/rfc3339). * * @param pointInTimeDataDiskCloneTimestamp the value to set * @return this builder */ public Builder pointInTimeDataDiskCloneTimestamp( java.util.Date pointInTimeDataDiskCloneTimestamp) { this.pointInTimeDataDiskCloneTimestamp = pointInTimeDataDiskCloneTimestamp; this.__explicitlySet__.add("pointInTimeDataDiskCloneTimestamp"); return this; } @com.fasterxml.jackson.annotation.JsonProperty("dataCollectionOptions") private DataCollectionOptions dataCollectionOptions; public Builder dataCollectionOptions(DataCollectionOptions dataCollectionOptions) { this.dataCollectionOptions = dataCollectionOptions; this.__explicitlySet__.add("dataCollectionOptions"); return this; } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); public DbSystemSummary build() { DbSystemSummary model = new DbSystemSummary( this.id, this.compartmentId, this.displayName, this.availabilityDomain, this.faultDomains, this.subnetId, this.backupSubnetId, this.nsgIds, this.backupNetworkNsgIds, this.giSoftwareImageId, this.memorySizeInGBs, this.storageVolumePerformanceMode, this.shape, this.dbSystemOptions, this.sshPublicKeys, this.timeZone, this.hostname, this.domain, this.kmsKeyId, this.version, this.osVersion, this.cpuCoreCount, this.clusterName, this.dataStoragePercentage, this.databaseEdition, this.lastPatchHistoryEntryId, this.listenerPort, this.lifecycleState, this.timeCreated, this.lifecycleDetails, this.diskRedundancy, this.sparseDiskgroup, this.scanIpIds, this.vipIds, this.scanDnsRecordId, this.scanDnsName, this.zoneId, this.dataStorageSizeInGBs, this.recoStorageSizeInGB, this.nodeCount, this.licenseModel, this.maintenanceWindow, this.lastMaintenanceRunId, this.nextMaintenanceRunId, this.freeformTags, this.definedTags, this.sourceDbSystemId, this.pointInTimeDataDiskCloneTimestamp, this.dataCollectionOptions); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } return model; } @com.fasterxml.jackson.annotation.JsonIgnore public Builder copy(DbSystemSummary model) { if (model.wasPropertyExplicitlySet("id")) { this.id(model.getId()); } if (model.wasPropertyExplicitlySet("compartmentId")) { this.compartmentId(model.getCompartmentId()); } if (model.wasPropertyExplicitlySet("displayName")) { this.displayName(model.getDisplayName()); } if (model.wasPropertyExplicitlySet("availabilityDomain")) { this.availabilityDomain(model.getAvailabilityDomain()); } if (model.wasPropertyExplicitlySet("faultDomains")) { this.faultDomains(model.getFaultDomains()); } if (model.wasPropertyExplicitlySet("subnetId")) { this.subnetId(model.getSubnetId()); } if (model.wasPropertyExplicitlySet("backupSubnetId")) { this.backupSubnetId(model.getBackupSubnetId()); } if (model.wasPropertyExplicitlySet("nsgIds")) { this.nsgIds(model.getNsgIds()); } if (model.wasPropertyExplicitlySet("backupNetworkNsgIds")) { this.backupNetworkNsgIds(model.getBackupNetworkNsgIds()); } if (model.wasPropertyExplicitlySet("giSoftwareImageId")) { this.giSoftwareImageId(model.getGiSoftwareImageId()); } if (model.wasPropertyExplicitlySet("memorySizeInGBs")) { this.memorySizeInGBs(model.getMemorySizeInGBs()); } if (model.wasPropertyExplicitlySet("storageVolumePerformanceMode")) { this.storageVolumePerformanceMode(model.getStorageVolumePerformanceMode()); } if (model.wasPropertyExplicitlySet("shape")) { this.shape(model.getShape()); } if (model.wasPropertyExplicitlySet("dbSystemOptions")) { this.dbSystemOptions(model.getDbSystemOptions()); } if (model.wasPropertyExplicitlySet("sshPublicKeys")) { this.sshPublicKeys(model.getSshPublicKeys()); } if (model.wasPropertyExplicitlySet("timeZone")) { this.timeZone(model.getTimeZone()); } if (model.wasPropertyExplicitlySet("hostname")) { this.hostname(model.getHostname()); } if (model.wasPropertyExplicitlySet("domain")) { this.domain(model.getDomain()); } if (model.wasPropertyExplicitlySet("kmsKeyId")) { this.kmsKeyId(model.getKmsKeyId()); } if (model.wasPropertyExplicitlySet("version")) { this.version(model.getVersion()); } if (model.wasPropertyExplicitlySet("osVersion")) { this.osVersion(model.getOsVersion()); } if (model.wasPropertyExplicitlySet("cpuCoreCount")) { this.cpuCoreCount(model.getCpuCoreCount()); } if (model.wasPropertyExplicitlySet("clusterName")) { this.clusterName(model.getClusterName()); } if (model.wasPropertyExplicitlySet("dataStoragePercentage")) { this.dataStoragePercentage(model.getDataStoragePercentage()); } if (model.wasPropertyExplicitlySet("databaseEdition")) { this.databaseEdition(model.getDatabaseEdition()); } if (model.wasPropertyExplicitlySet("lastPatchHistoryEntryId")) { this.lastPatchHistoryEntryId(model.getLastPatchHistoryEntryId()); } if (model.wasPropertyExplicitlySet("listenerPort")) { this.listenerPort(model.getListenerPort()); } if (model.wasPropertyExplicitlySet("lifecycleState")) { this.lifecycleState(model.getLifecycleState()); } if (model.wasPropertyExplicitlySet("timeCreated")) { this.timeCreated(model.getTimeCreated()); } if (model.wasPropertyExplicitlySet("lifecycleDetails")) { this.lifecycleDetails(model.getLifecycleDetails()); } if (model.wasPropertyExplicitlySet("diskRedundancy")) { this.diskRedundancy(model.getDiskRedundancy()); } if (model.wasPropertyExplicitlySet("sparseDiskgroup")) { this.sparseDiskgroup(model.getSparseDiskgroup()); } if (model.wasPropertyExplicitlySet("scanIpIds")) { this.scanIpIds(model.getScanIpIds()); } if (model.wasPropertyExplicitlySet("vipIds")) { this.vipIds(model.getVipIds()); } if (model.wasPropertyExplicitlySet("scanDnsRecordId")) { this.scanDnsRecordId(model.getScanDnsRecordId()); } if (model.wasPropertyExplicitlySet("scanDnsName")) { this.scanDnsName(model.getScanDnsName()); } if (model.wasPropertyExplicitlySet("zoneId")) { this.zoneId(model.getZoneId()); } if (model.wasPropertyExplicitlySet("dataStorageSizeInGBs")) { this.dataStorageSizeInGBs(model.getDataStorageSizeInGBs()); } if (model.wasPropertyExplicitlySet("recoStorageSizeInGB")) { this.recoStorageSizeInGB(model.getRecoStorageSizeInGB()); } if (model.wasPropertyExplicitlySet("nodeCount")) { this.nodeCount(model.getNodeCount()); } if (model.wasPropertyExplicitlySet("licenseModel")) { this.licenseModel(model.getLicenseModel()); } if (model.wasPropertyExplicitlySet("maintenanceWindow")) { this.maintenanceWindow(model.getMaintenanceWindow()); } if (model.wasPropertyExplicitlySet("lastMaintenanceRunId")) { this.lastMaintenanceRunId(model.getLastMaintenanceRunId()); } if (model.wasPropertyExplicitlySet("nextMaintenanceRunId")) { this.nextMaintenanceRunId(model.getNextMaintenanceRunId()); } if (model.wasPropertyExplicitlySet("freeformTags")) { this.freeformTags(model.getFreeformTags()); } if (model.wasPropertyExplicitlySet("definedTags")) { this.definedTags(model.getDefinedTags()); } if (model.wasPropertyExplicitlySet("sourceDbSystemId")) { this.sourceDbSystemId(model.getSourceDbSystemId()); } if (model.wasPropertyExplicitlySet("pointInTimeDataDiskCloneTimestamp")) { this.pointInTimeDataDiskCloneTimestamp( model.getPointInTimeDataDiskCloneTimestamp()); } if (model.wasPropertyExplicitlySet("dataCollectionOptions")) { this.dataCollectionOptions(model.getDataCollectionOptions()); } return this; } } /** Create a new builder. */ public static Builder builder() { return new Builder(); } public Builder toBuilder() { return new Builder().copy(this); } /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DB * system. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private final String id; /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DB * system. * * @return the value */ public String getId() { return id; } /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * compartment. * * @return the value */ public String getCompartmentId() { return compartmentId; } /** The user-friendly name for the DB system. The name does not have to be unique. */ @com.fasterxml.jackson.annotation.JsonProperty("displayName") private final String displayName; /** * The user-friendly name for the DB system. The name does not have to be unique. * * @return the value */ public String getDisplayName() { return displayName; } /** The name of the availability domain that the DB system is located in. */ @com.fasterxml.jackson.annotation.JsonProperty("availabilityDomain") private final String availabilityDomain; /** * The name of the availability domain that the DB system is located in. * * @return the value */ public String getAvailabilityDomain() { return availabilityDomain; } /** List of the Fault Domains in which this DB system is provisioned. */ @com.fasterxml.jackson.annotation.JsonProperty("faultDomains") private final java.util.List faultDomains; /** * List of the Fault Domains in which this DB system is provisioned. * * @return the value */ public java.util.List getFaultDomains() { return faultDomains; } /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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. */ @com.fasterxml.jackson.annotation.JsonProperty("subnetId") private final String subnetId; /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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. * * @return the value */ public String getSubnetId() { return subnetId; } /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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**. */ @com.fasterxml.jackson.annotation.JsonProperty("backupSubnetId") private final String backupSubnetId; /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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**. * * @return the value */ public String getBackupSubnetId() { return backupSubnetId; } /** * The list of [OCIDs](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) * 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](https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm). * **NsgIds restrictions:** - A network security group (NSG) is optional for Autonomous * Databases with private access. The nsgIds list can be empty. */ @com.fasterxml.jackson.annotation.JsonProperty("nsgIds") private final java.util.List nsgIds; /** * The list of [OCIDs](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) * 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](https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm). * **NsgIds restrictions:** - A network security group (NSG) is optional for Autonomous * Databases with private access. The nsgIds list can be empty. * * @return the value */ public java.util.List getNsgIds() { return nsgIds; } /** * A list of the [OCIDs](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) * 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](https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm). Applicable * only to Exadata systems. */ @com.fasterxml.jackson.annotation.JsonProperty("backupNetworkNsgIds") private final java.util.List backupNetworkNsgIds; /** * A list of the [OCIDs](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) * 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](https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm). Applicable * only to Exadata systems. * * @return the value */ public java.util.List getBackupNetworkNsgIds() { return backupNetworkNsgIds; } /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a grid * infrastructure software image. This is a database software image of the type {@code * GRID_IMAGE}. */ @com.fasterxml.jackson.annotation.JsonProperty("giSoftwareImageId") private final String giSoftwareImageId; /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a grid * infrastructure software image. This is a database software image of the type {@code * GRID_IMAGE}. * * @return the value */ public String getGiSoftwareImageId() { return giSoftwareImageId; } /** Memory allocated to the DB system, in gigabytes. */ @com.fasterxml.jackson.annotation.JsonProperty("memorySizeInGBs") private final Integer memorySizeInGBs; /** * Memory allocated to the DB system, in gigabytes. * * @return the value */ public Integer getMemorySizeInGBs() { return memorySizeInGBs; } /** * The block storage volume performance level. Valid values are {@code BALANCED} and {@code * HIGH_PERFORMANCE}. See [Block Volume * Performance](https://docs.cloud.oracle.com/Content/Block/Concepts/blockvolumeperformance.htm) * for more information. */ public enum StorageVolumePerformanceMode implements com.oracle.bmc.http.internal.BmcEnum { Balanced("BALANCED"), HighPerformance("HIGH_PERFORMANCE"), /** * This value is used if a service returns a value for this enum that is not recognized by * this version of the SDK. */ UnknownEnumValue(null); private static final org.slf4j.Logger LOG = org.slf4j.LoggerFactory.getLogger(StorageVolumePerformanceMode.class); private final String value; private static java.util.Map map; static { map = new java.util.HashMap<>(); for (StorageVolumePerformanceMode v : StorageVolumePerformanceMode.values()) { if (v != UnknownEnumValue) { map.put(v.getValue(), v); } } } StorageVolumePerformanceMode(String value) { this.value = value; } @com.fasterxml.jackson.annotation.JsonValue public String getValue() { return value; } @com.fasterxml.jackson.annotation.JsonCreator public static StorageVolumePerformanceMode create(String key) { if (map.containsKey(key)) { return map.get(key); } LOG.warn( "Received unknown value '{}' for enum 'StorageVolumePerformanceMode', returning UnknownEnumValue", key); return UnknownEnumValue; } }; /** * The block storage volume performance level. Valid values are {@code BALANCED} and {@code * HIGH_PERFORMANCE}. See [Block Volume * Performance](https://docs.cloud.oracle.com/Content/Block/Concepts/blockvolumeperformance.htm) * for more information. */ @com.fasterxml.jackson.annotation.JsonProperty("storageVolumePerformanceMode") private final StorageVolumePerformanceMode storageVolumePerformanceMode; /** * The block storage volume performance level. Valid values are {@code BALANCED} and {@code * HIGH_PERFORMANCE}. See [Block Volume * Performance](https://docs.cloud.oracle.com/Content/Block/Concepts/blockvolumeperformance.htm) * for more information. * * @return the value */ public StorageVolumePerformanceMode getStorageVolumePerformanceMode() { return storageVolumePerformanceMode; } /** * The shape of the DB system. The shape determines resources to allocate to the DB system. - * For virtual machine shapes, the number of CPU cores and memory - For bare metal and Exadata * shapes, the number of CPU cores, storage, and memory */ @com.fasterxml.jackson.annotation.JsonProperty("shape") private final String shape; /** * The shape of the DB system. The shape determines resources to allocate to the DB system. - * For virtual machine shapes, the number of CPU cores and memory - For bare metal and Exadata * shapes, the number of CPU cores, storage, and memory * * @return the value */ public String getShape() { return shape; } @com.fasterxml.jackson.annotation.JsonProperty("dbSystemOptions") private final DbSystemOptions dbSystemOptions; public DbSystemOptions getDbSystemOptions() { return dbSystemOptions; } /** The public key portion of one or more key pairs used for SSH access to the DB system. */ @com.fasterxml.jackson.annotation.JsonProperty("sshPublicKeys") private final java.util.List sshPublicKeys; /** * The public key portion of one or more key pairs used for SSH access to the DB system. * * @return the value */ public java.util.List getSshPublicKeys() { return sshPublicKeys; } /** * The time zone of the DB system. For details, see [DB System Time * Zones](https://docs.cloud.oracle.com/Content/Database/References/timezones.htm). */ @com.fasterxml.jackson.annotation.JsonProperty("timeZone") private final String timeZone; /** * The time zone of the DB system. For details, see [DB System Time * Zones](https://docs.cloud.oracle.com/Content/Database/References/timezones.htm). * * @return the value */ public String getTimeZone() { return timeZone; } /** The hostname for the DB system. */ @com.fasterxml.jackson.annotation.JsonProperty("hostname") private final String hostname; /** * The hostname for the DB system. * * @return the value */ public String getHostname() { return hostname; } /** The domain name for the DB system. */ @com.fasterxml.jackson.annotation.JsonProperty("domain") private final String domain; /** * The domain name for the DB system. * * @return the value */ public String getDomain() { return domain; } /** * The OCID of the key container that is used as the master encryption key in database * transparent data encryption (TDE) operations. */ @com.fasterxml.jackson.annotation.JsonProperty("kmsKeyId") private final String kmsKeyId; /** * The OCID of the key container that is used as the master encryption key in database * transparent data encryption (TDE) operations. * * @return the value */ public String getKmsKeyId() { return kmsKeyId; } /** The Oracle Database version of the DB system. */ @com.fasterxml.jackson.annotation.JsonProperty("version") private final String version; /** * The Oracle Database version of the DB system. * * @return the value */ public String getVersion() { return version; } /** The most recent OS Patch Version applied on the DB system. */ @com.fasterxml.jackson.annotation.JsonProperty("osVersion") private final String osVersion; /** * The most recent OS Patch Version applied on the DB system. * * @return the value */ public String getOsVersion() { return osVersion; } /** The number of CPU cores enabled on the DB system. */ @com.fasterxml.jackson.annotation.JsonProperty("cpuCoreCount") private final Integer cpuCoreCount; /** * The number of CPU cores enabled on the DB system. * * @return the value */ public Integer getCpuCoreCount() { return cpuCoreCount; } /** * 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. */ @com.fasterxml.jackson.annotation.JsonProperty("clusterName") private final 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. * * @return the value */ public String getClusterName() { return clusterName; } /** * 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. */ @com.fasterxml.jackson.annotation.JsonProperty("dataStoragePercentage") private final 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. * * @return the value */ public Integer getDataStoragePercentage() { return dataStoragePercentage; } /** The Oracle Database edition that applies to all the databases on the DB system. */ public enum DatabaseEdition implements com.oracle.bmc.http.internal.BmcEnum { StandardEdition("STANDARD_EDITION"), EnterpriseEdition("ENTERPRISE_EDITION"), EnterpriseEditionHighPerformance("ENTERPRISE_EDITION_HIGH_PERFORMANCE"), EnterpriseEditionExtremePerformance("ENTERPRISE_EDITION_EXTREME_PERFORMANCE"), /** * This value is used if a service returns a value for this enum that is not recognized by * this version of the SDK. */ UnknownEnumValue(null); private static final org.slf4j.Logger LOG = org.slf4j.LoggerFactory.getLogger(DatabaseEdition.class); private final String value; private static java.util.Map map; static { map = new java.util.HashMap<>(); for (DatabaseEdition v : DatabaseEdition.values()) { if (v != UnknownEnumValue) { map.put(v.getValue(), v); } } } DatabaseEdition(String value) { this.value = value; } @com.fasterxml.jackson.annotation.JsonValue public String getValue() { return value; } @com.fasterxml.jackson.annotation.JsonCreator public static DatabaseEdition create(String key) { if (map.containsKey(key)) { return map.get(key); } LOG.warn( "Received unknown value '{}' for enum 'DatabaseEdition', returning UnknownEnumValue", key); return UnknownEnumValue; } }; /** The Oracle Database edition that applies to all the databases on the DB system. */ @com.fasterxml.jackson.annotation.JsonProperty("databaseEdition") private final DatabaseEdition databaseEdition; /** * The Oracle Database edition that applies to all the databases on the DB system. * * @return the value */ public DatabaseEdition getDatabaseEdition() { return databaseEdition; } /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * last patch history. This value is updated as soon as a patch operation starts. */ @com.fasterxml.jackson.annotation.JsonProperty("lastPatchHistoryEntryId") private final String lastPatchHistoryEntryId; /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * last patch history. This value is updated as soon as a patch operation starts. * * @return the value */ public String getLastPatchHistoryEntryId() { return lastPatchHistoryEntryId; } /** The port number configured for the listener on the DB system. */ @com.fasterxml.jackson.annotation.JsonProperty("listenerPort") private final Integer listenerPort; /** * The port number configured for the listener on the DB system. * * @return the value */ public Integer getListenerPort() { return listenerPort; } /** The current state of the DB system. */ public enum LifecycleState implements com.oracle.bmc.http.internal.BmcEnum { Provisioning("PROVISIONING"), Available("AVAILABLE"), Updating("UPDATING"), Terminating("TERMINATING"), Terminated("TERMINATED"), Failed("FAILED"), Migrated("MIGRATED"), MaintenanceInProgress("MAINTENANCE_IN_PROGRESS"), NeedsAttention("NEEDS_ATTENTION"), Upgrading("UPGRADING"), /** * This value is used if a service returns a value for this enum that is not recognized by * this version of the SDK. */ UnknownEnumValue(null); private static final org.slf4j.Logger LOG = org.slf4j.LoggerFactory.getLogger(LifecycleState.class); private final String value; private static java.util.Map map; static { map = new java.util.HashMap<>(); for (LifecycleState v : LifecycleState.values()) { if (v != UnknownEnumValue) { map.put(v.getValue(), v); } } } LifecycleState(String value) { this.value = value; } @com.fasterxml.jackson.annotation.JsonValue public String getValue() { return value; } @com.fasterxml.jackson.annotation.JsonCreator public static LifecycleState create(String key) { if (map.containsKey(key)) { return map.get(key); } LOG.warn( "Received unknown value '{}' for enum 'LifecycleState', returning UnknownEnumValue", key); return UnknownEnumValue; } }; /** The current state of the DB system. */ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") private final LifecycleState lifecycleState; /** * The current state of the DB system. * * @return the value */ public LifecycleState getLifecycleState() { return lifecycleState; } /** The date and time the DB system was created. */ @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") private final java.util.Date timeCreated; /** * The date and time the DB system was created. * * @return the value */ public java.util.Date getTimeCreated() { return timeCreated; } /** Additional information about the current lifecycle state. */ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleDetails") private final String lifecycleDetails; /** * Additional information about the current lifecycle state. * * @return the value */ public String getLifecycleDetails() { return lifecycleDetails; } /** * The type of redundancy configured for the DB system. NORMAL is 2-way redundancy. HIGH is * 3-way redundancy. */ public enum DiskRedundancy implements com.oracle.bmc.http.internal.BmcEnum { High("HIGH"), Normal("NORMAL"), /** * This value is used if a service returns a value for this enum that is not recognized by * this version of the SDK. */ UnknownEnumValue(null); private static final org.slf4j.Logger LOG = org.slf4j.LoggerFactory.getLogger(DiskRedundancy.class); private final String value; private static java.util.Map map; static { map = new java.util.HashMap<>(); for (DiskRedundancy v : DiskRedundancy.values()) { if (v != UnknownEnumValue) { map.put(v.getValue(), v); } } } DiskRedundancy(String value) { this.value = value; } @com.fasterxml.jackson.annotation.JsonValue public String getValue() { return value; } @com.fasterxml.jackson.annotation.JsonCreator public static DiskRedundancy create(String key) { if (map.containsKey(key)) { return map.get(key); } LOG.warn( "Received unknown value '{}' for enum 'DiskRedundancy', returning UnknownEnumValue", key); return UnknownEnumValue; } }; /** * The type of redundancy configured for the DB system. NORMAL is 2-way redundancy. HIGH is * 3-way redundancy. */ @com.fasterxml.jackson.annotation.JsonProperty("diskRedundancy") private final DiskRedundancy diskRedundancy; /** * The type of redundancy configured for the DB system. NORMAL is 2-way redundancy. HIGH is * 3-way redundancy. * * @return the value */ public DiskRedundancy getDiskRedundancy() { return diskRedundancy; } /** * True, if Sparse Diskgroup is configured for Exadata dbsystem, False, if Sparse diskgroup was * not configured. */ @com.fasterxml.jackson.annotation.JsonProperty("sparseDiskgroup") private final Boolean sparseDiskgroup; /** * True, if Sparse Diskgroup is configured for Exadata dbsystem, False, if Sparse diskgroup was * not configured. * * @return the value */ public Boolean getSparseDiskgroup() { return sparseDiskgroup; } /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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. */ @com.fasterxml.jackson.annotation.JsonProperty("scanIpIds") private final java.util.List scanIpIds; /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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. * * @return the value */ public java.util.List getScanIpIds() { return scanIpIds; } /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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. */ @com.fasterxml.jackson.annotation.JsonProperty("vipIds") private final java.util.List vipIds; /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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. * * @return the value */ public java.util.List getVipIds() { return vipIds; } /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DNS * record for the SCAN IP addresses that are associated with the DB system. */ @com.fasterxml.jackson.annotation.JsonProperty("scanDnsRecordId") private final String scanDnsRecordId; /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DNS * record for the SCAN IP addresses that are associated with the DB system. * * @return the value */ public String getScanDnsRecordId() { return scanDnsRecordId; } /** * The FQDN of the DNS record for the SCAN IP addresses that are associated with the DB system. */ @com.fasterxml.jackson.annotation.JsonProperty("scanDnsName") private final String scanDnsName; /** * The FQDN of the DNS record for the SCAN IP addresses that are associated with the DB system. * * @return the value */ public String getScanDnsName() { return scanDnsName; } /** The OCID of the zone the DB system is associated with. */ @com.fasterxml.jackson.annotation.JsonProperty("zoneId") private final String zoneId; /** * The OCID of the zone the DB system is associated with. * * @return the value */ public String getZoneId() { return zoneId; } /** * The data storage size, in gigabytes, that is currently available to the DB system. Applies * only for virtual machine DB systems. */ @com.fasterxml.jackson.annotation.JsonProperty("dataStorageSizeInGBs") private final Integer dataStorageSizeInGBs; /** * The data storage size, in gigabytes, that is currently available to the DB system. Applies * only for virtual machine DB systems. * * @return the value */ public Integer getDataStorageSizeInGBs() { return dataStorageSizeInGBs; } /** * The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. * Applies only for virtual machine DB systems. */ @com.fasterxml.jackson.annotation.JsonProperty("recoStorageSizeInGB") private final Integer recoStorageSizeInGB; /** * The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. * Applies only for virtual machine DB systems. * * @return the value */ public Integer getRecoStorageSizeInGB() { return recoStorageSizeInGB; } /** The number of nodes in the DB system. For RAC DB systems, the value is greater than 1. */ @com.fasterxml.jackson.annotation.JsonProperty("nodeCount") private final Integer nodeCount; /** * The number of nodes in the DB system. For RAC DB systems, the value is greater than 1. * * @return the value */ public Integer getNodeCount() { return nodeCount; } /** * The Oracle license model that applies to all the databases on the DB system. The default is * LICENSE_INCLUDED. */ public enum LicenseModel implements com.oracle.bmc.http.internal.BmcEnum { LicenseIncluded("LICENSE_INCLUDED"), BringYourOwnLicense("BRING_YOUR_OWN_LICENSE"), /** * This value is used if a service returns a value for this enum that is not recognized by * this version of the SDK. */ UnknownEnumValue(null); private static final org.slf4j.Logger LOG = org.slf4j.LoggerFactory.getLogger(LicenseModel.class); private final String value; private static java.util.Map map; static { map = new java.util.HashMap<>(); for (LicenseModel v : LicenseModel.values()) { if (v != UnknownEnumValue) { map.put(v.getValue(), v); } } } LicenseModel(String value) { this.value = value; } @com.fasterxml.jackson.annotation.JsonValue public String getValue() { return value; } @com.fasterxml.jackson.annotation.JsonCreator public static LicenseModel create(String key) { if (map.containsKey(key)) { return map.get(key); } LOG.warn( "Received unknown value '{}' for enum 'LicenseModel', returning UnknownEnumValue", key); return UnknownEnumValue; } }; /** * The Oracle license model that applies to all the databases on the DB system. The default is * LICENSE_INCLUDED. */ @com.fasterxml.jackson.annotation.JsonProperty("licenseModel") private final LicenseModel licenseModel; /** * The Oracle license model that applies to all the databases on the DB system. The default is * LICENSE_INCLUDED. * * @return the value */ public LicenseModel getLicenseModel() { return licenseModel; } @com.fasterxml.jackson.annotation.JsonProperty("maintenanceWindow") private final MaintenanceWindow maintenanceWindow; public MaintenanceWindow getMaintenanceWindow() { return maintenanceWindow; } /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * last maintenance run. */ @com.fasterxml.jackson.annotation.JsonProperty("lastMaintenanceRunId") private final String lastMaintenanceRunId; /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * last maintenance run. * * @return the value */ public String getLastMaintenanceRunId() { return lastMaintenanceRunId; } /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * next maintenance run. */ @com.fasterxml.jackson.annotation.JsonProperty("nextMaintenanceRunId") private final String nextMaintenanceRunId; /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * next maintenance run. * * @return the value */ public String getNextMaintenanceRunId() { return nextMaintenanceRunId; } /** * 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](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). * *

Example: {@code {"Department": "Finance"}} */ @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") private final java.util.Map 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](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). * *

Example: {@code {"Department": "Finance"}} * * @return the value */ public java.util.Map getFreeformTags() { return freeformTags; } /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more * information, see [Resource * Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). */ @com.fasterxml.jackson.annotation.JsonProperty("definedTags") private final java.util.Map> definedTags; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more * information, see [Resource * Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). * * @return the value */ public java.util.Map> getDefinedTags() { return definedTags; } /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DB * system. */ @com.fasterxml.jackson.annotation.JsonProperty("sourceDbSystemId") private final String sourceDbSystemId; /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DB * system. * * @return the value */ public String getSourceDbSystemId() { return sourceDbSystemId; } /** * 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](https://tools.ietf.org/rfc/rfc3339). */ @com.fasterxml.jackson.annotation.JsonProperty("pointInTimeDataDiskCloneTimestamp") private final java.util.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](https://tools.ietf.org/rfc/rfc3339). * * @return the value */ public java.util.Date getPointInTimeDataDiskCloneTimestamp() { return pointInTimeDataDiskCloneTimestamp; } @com.fasterxml.jackson.annotation.JsonProperty("dataCollectionOptions") private final DataCollectionOptions dataCollectionOptions; public DataCollectionOptions getDataCollectionOptions() { return dataCollectionOptions; } @Override public String toString() { return this.toString(true); } /** * Return a string representation of the object. * * @param includeByteArrayContents true to include the full contents of byte arrays * @return string representation */ public String toString(boolean includeByteArrayContents) { java.lang.StringBuilder sb = new java.lang.StringBuilder(); sb.append("DbSystemSummary("); sb.append("super=").append(super.toString()); sb.append("id=").append(String.valueOf(this.id)); sb.append(", compartmentId=").append(String.valueOf(this.compartmentId)); sb.append(", displayName=").append(String.valueOf(this.displayName)); sb.append(", availabilityDomain=").append(String.valueOf(this.availabilityDomain)); sb.append(", faultDomains=").append(String.valueOf(this.faultDomains)); sb.append(", subnetId=").append(String.valueOf(this.subnetId)); sb.append(", backupSubnetId=").append(String.valueOf(this.backupSubnetId)); sb.append(", nsgIds=").append(String.valueOf(this.nsgIds)); sb.append(", backupNetworkNsgIds=").append(String.valueOf(this.backupNetworkNsgIds)); sb.append(", giSoftwareImageId=").append(String.valueOf(this.giSoftwareImageId)); sb.append(", memorySizeInGBs=").append(String.valueOf(this.memorySizeInGBs)); sb.append(", storageVolumePerformanceMode=") .append(String.valueOf(this.storageVolumePerformanceMode)); sb.append(", shape=").append(String.valueOf(this.shape)); sb.append(", dbSystemOptions=").append(String.valueOf(this.dbSystemOptions)); sb.append(", sshPublicKeys=").append(String.valueOf(this.sshPublicKeys)); sb.append(", timeZone=").append(String.valueOf(this.timeZone)); sb.append(", hostname=").append(String.valueOf(this.hostname)); sb.append(", domain=").append(String.valueOf(this.domain)); sb.append(", kmsKeyId=").append(String.valueOf(this.kmsKeyId)); sb.append(", version=").append(String.valueOf(this.version)); sb.append(", osVersion=").append(String.valueOf(this.osVersion)); sb.append(", cpuCoreCount=").append(String.valueOf(this.cpuCoreCount)); sb.append(", clusterName=").append(String.valueOf(this.clusterName)); sb.append(", dataStoragePercentage=").append(String.valueOf(this.dataStoragePercentage)); sb.append(", databaseEdition=").append(String.valueOf(this.databaseEdition)); sb.append(", lastPatchHistoryEntryId=") .append(String.valueOf(this.lastPatchHistoryEntryId)); sb.append(", listenerPort=").append(String.valueOf(this.listenerPort)); sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState)); sb.append(", timeCreated=").append(String.valueOf(this.timeCreated)); sb.append(", lifecycleDetails=").append(String.valueOf(this.lifecycleDetails)); sb.append(", diskRedundancy=").append(String.valueOf(this.diskRedundancy)); sb.append(", sparseDiskgroup=").append(String.valueOf(this.sparseDiskgroup)); sb.append(", scanIpIds=").append(String.valueOf(this.scanIpIds)); sb.append(", vipIds=").append(String.valueOf(this.vipIds)); sb.append(", scanDnsRecordId=").append(String.valueOf(this.scanDnsRecordId)); sb.append(", scanDnsName=").append(String.valueOf(this.scanDnsName)); sb.append(", zoneId=").append(String.valueOf(this.zoneId)); sb.append(", dataStorageSizeInGBs=").append(String.valueOf(this.dataStorageSizeInGBs)); sb.append(", recoStorageSizeInGB=").append(String.valueOf(this.recoStorageSizeInGB)); sb.append(", nodeCount=").append(String.valueOf(this.nodeCount)); sb.append(", licenseModel=").append(String.valueOf(this.licenseModel)); sb.append(", maintenanceWindow=").append(String.valueOf(this.maintenanceWindow)); sb.append(", lastMaintenanceRunId=").append(String.valueOf(this.lastMaintenanceRunId)); sb.append(", nextMaintenanceRunId=").append(String.valueOf(this.nextMaintenanceRunId)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", definedTags=").append(String.valueOf(this.definedTags)); sb.append(", sourceDbSystemId=").append(String.valueOf(this.sourceDbSystemId)); sb.append(", pointInTimeDataDiskCloneTimestamp=") .append(String.valueOf(this.pointInTimeDataDiskCloneTimestamp)); sb.append(", dataCollectionOptions=").append(String.valueOf(this.dataCollectionOptions)); sb.append(")"); return sb.toString(); } @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof DbSystemSummary)) { return false; } DbSystemSummary other = (DbSystemSummary) o; return java.util.Objects.equals(this.id, other.id) && java.util.Objects.equals(this.compartmentId, other.compartmentId) && java.util.Objects.equals(this.displayName, other.displayName) && java.util.Objects.equals(this.availabilityDomain, other.availabilityDomain) && java.util.Objects.equals(this.faultDomains, other.faultDomains) && java.util.Objects.equals(this.subnetId, other.subnetId) && java.util.Objects.equals(this.backupSubnetId, other.backupSubnetId) && java.util.Objects.equals(this.nsgIds, other.nsgIds) && java.util.Objects.equals(this.backupNetworkNsgIds, other.backupNetworkNsgIds) && java.util.Objects.equals(this.giSoftwareImageId, other.giSoftwareImageId) && java.util.Objects.equals(this.memorySizeInGBs, other.memorySizeInGBs) && java.util.Objects.equals( this.storageVolumePerformanceMode, other.storageVolumePerformanceMode) && java.util.Objects.equals(this.shape, other.shape) && java.util.Objects.equals(this.dbSystemOptions, other.dbSystemOptions) && java.util.Objects.equals(this.sshPublicKeys, other.sshPublicKeys) && java.util.Objects.equals(this.timeZone, other.timeZone) && java.util.Objects.equals(this.hostname, other.hostname) && java.util.Objects.equals(this.domain, other.domain) && java.util.Objects.equals(this.kmsKeyId, other.kmsKeyId) && java.util.Objects.equals(this.version, other.version) && java.util.Objects.equals(this.osVersion, other.osVersion) && java.util.Objects.equals(this.cpuCoreCount, other.cpuCoreCount) && java.util.Objects.equals(this.clusterName, other.clusterName) && java.util.Objects.equals(this.dataStoragePercentage, other.dataStoragePercentage) && java.util.Objects.equals(this.databaseEdition, other.databaseEdition) && java.util.Objects.equals( this.lastPatchHistoryEntryId, other.lastPatchHistoryEntryId) && java.util.Objects.equals(this.listenerPort, other.listenerPort) && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) && java.util.Objects.equals(this.timeCreated, other.timeCreated) && java.util.Objects.equals(this.lifecycleDetails, other.lifecycleDetails) && java.util.Objects.equals(this.diskRedundancy, other.diskRedundancy) && java.util.Objects.equals(this.sparseDiskgroup, other.sparseDiskgroup) && java.util.Objects.equals(this.scanIpIds, other.scanIpIds) && java.util.Objects.equals(this.vipIds, other.vipIds) && java.util.Objects.equals(this.scanDnsRecordId, other.scanDnsRecordId) && java.util.Objects.equals(this.scanDnsName, other.scanDnsName) && java.util.Objects.equals(this.zoneId, other.zoneId) && java.util.Objects.equals(this.dataStorageSizeInGBs, other.dataStorageSizeInGBs) && java.util.Objects.equals(this.recoStorageSizeInGB, other.recoStorageSizeInGB) && java.util.Objects.equals(this.nodeCount, other.nodeCount) && java.util.Objects.equals(this.licenseModel, other.licenseModel) && java.util.Objects.equals(this.maintenanceWindow, other.maintenanceWindow) && java.util.Objects.equals(this.lastMaintenanceRunId, other.lastMaintenanceRunId) && java.util.Objects.equals(this.nextMaintenanceRunId, other.nextMaintenanceRunId) && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.definedTags, other.definedTags) && java.util.Objects.equals(this.sourceDbSystemId, other.sourceDbSystemId) && java.util.Objects.equals( this.pointInTimeDataDiskCloneTimestamp, other.pointInTimeDataDiskCloneTimestamp) && java.util.Objects.equals(this.dataCollectionOptions, other.dataCollectionOptions) && super.equals(other); } @Override public int hashCode() { final int PRIME = 59; int result = 1; result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); result = (result * PRIME) + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); result = (result * PRIME) + (this.availabilityDomain == null ? 43 : this.availabilityDomain.hashCode()); result = (result * PRIME) + (this.faultDomains == null ? 43 : this.faultDomains.hashCode()); result = (result * PRIME) + (this.subnetId == null ? 43 : this.subnetId.hashCode()); result = (result * PRIME) + (this.backupSubnetId == null ? 43 : this.backupSubnetId.hashCode()); result = (result * PRIME) + (this.nsgIds == null ? 43 : this.nsgIds.hashCode()); result = (result * PRIME) + (this.backupNetworkNsgIds == null ? 43 : this.backupNetworkNsgIds.hashCode()); result = (result * PRIME) + (this.giSoftwareImageId == null ? 43 : this.giSoftwareImageId.hashCode()); result = (result * PRIME) + (this.memorySizeInGBs == null ? 43 : this.memorySizeInGBs.hashCode()); result = (result * PRIME) + (this.storageVolumePerformanceMode == null ? 43 : this.storageVolumePerformanceMode.hashCode()); result = (result * PRIME) + (this.shape == null ? 43 : this.shape.hashCode()); result = (result * PRIME) + (this.dbSystemOptions == null ? 43 : this.dbSystemOptions.hashCode()); result = (result * PRIME) + (this.sshPublicKeys == null ? 43 : this.sshPublicKeys.hashCode()); result = (result * PRIME) + (this.timeZone == null ? 43 : this.timeZone.hashCode()); result = (result * PRIME) + (this.hostname == null ? 43 : this.hostname.hashCode()); result = (result * PRIME) + (this.domain == null ? 43 : this.domain.hashCode()); result = (result * PRIME) + (this.kmsKeyId == null ? 43 : this.kmsKeyId.hashCode()); result = (result * PRIME) + (this.version == null ? 43 : this.version.hashCode()); result = (result * PRIME) + (this.osVersion == null ? 43 : this.osVersion.hashCode()); result = (result * PRIME) + (this.cpuCoreCount == null ? 43 : this.cpuCoreCount.hashCode()); result = (result * PRIME) + (this.clusterName == null ? 43 : this.clusterName.hashCode()); result = (result * PRIME) + (this.dataStoragePercentage == null ? 43 : this.dataStoragePercentage.hashCode()); result = (result * PRIME) + (this.databaseEdition == null ? 43 : this.databaseEdition.hashCode()); result = (result * PRIME) + (this.lastPatchHistoryEntryId == null ? 43 : this.lastPatchHistoryEntryId.hashCode()); result = (result * PRIME) + (this.listenerPort == null ? 43 : this.listenerPort.hashCode()); result = (result * PRIME) + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode()); result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode()); result = (result * PRIME) + (this.lifecycleDetails == null ? 43 : this.lifecycleDetails.hashCode()); result = (result * PRIME) + (this.diskRedundancy == null ? 43 : this.diskRedundancy.hashCode()); result = (result * PRIME) + (this.sparseDiskgroup == null ? 43 : this.sparseDiskgroup.hashCode()); result = (result * PRIME) + (this.scanIpIds == null ? 43 : this.scanIpIds.hashCode()); result = (result * PRIME) + (this.vipIds == null ? 43 : this.vipIds.hashCode()); result = (result * PRIME) + (this.scanDnsRecordId == null ? 43 : this.scanDnsRecordId.hashCode()); result = (result * PRIME) + (this.scanDnsName == null ? 43 : this.scanDnsName.hashCode()); result = (result * PRIME) + (this.zoneId == null ? 43 : this.zoneId.hashCode()); result = (result * PRIME) + (this.dataStorageSizeInGBs == null ? 43 : this.dataStorageSizeInGBs.hashCode()); result = (result * PRIME) + (this.recoStorageSizeInGB == null ? 43 : this.recoStorageSizeInGB.hashCode()); result = (result * PRIME) + (this.nodeCount == null ? 43 : this.nodeCount.hashCode()); result = (result * PRIME) + (this.licenseModel == null ? 43 : this.licenseModel.hashCode()); result = (result * PRIME) + (this.maintenanceWindow == null ? 43 : this.maintenanceWindow.hashCode()); result = (result * PRIME) + (this.lastMaintenanceRunId == null ? 43 : this.lastMaintenanceRunId.hashCode()); result = (result * PRIME) + (this.nextMaintenanceRunId == null ? 43 : this.nextMaintenanceRunId.hashCode()); result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); result = (result * PRIME) + (this.sourceDbSystemId == null ? 43 : this.sourceDbSystemId.hashCode()); result = (result * PRIME) + (this.pointInTimeDataDiskCloneTimestamp == null ? 43 : this.pointInTimeDataDiskCloneTimestamp.hashCode()); result = (result * PRIME) + (this.dataCollectionOptions == null ? 43 : this.dataCollectionOptions.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy