From 6c406f50c5bb1d6e9211ec325f19ca6f2f9e1b5b Mon Sep 17 00:00:00 2001 From: OCI DEX Release Bot Automation Date: Tue, 24 Nov 2026 17:08:30 +0000 Subject: [PATCH] Releasing version 3.103.0 --- CHANGELOG.md | 18 + bmc-accessgovernancecp/pom.xml | 4 +- bmc-addons/bmc-adk/pom.xml | 2 +- bmc-addons/bmc-aispeech-realtime/pom.xml | 6 +- .../pom.xml | 6 +- .../pom.xml | 6 +- .../bmc-apache-connector-provider/pom.xml | 4 +- bmc-addons/bmc-oke-workload-identity/pom.xml | 10 +- .../bmc-resteasy-client-configurator/pom.xml | 4 +- .../bmc-sasl-oke-workload-identity/pom.xml | 6 +- bmc-addons/bmc-sasl/pom.xml | 4 +- bmc-addons/bmc-sse-support-jersey3/pom.xml | 8 +- bmc-addons/bmc-sse-support/pom.xml | 8 +- bmc-addons/pom.xml | 2 +- bmc-adm/pom.xml | 4 +- bmc-aidataplatform/pom.xml | 4 +- bmc-aidocument/pom.xml | 4 +- bmc-ailanguage/pom.xml | 4 +- bmc-aispeech/pom.xml | 4 +- bmc-aivision/pom.xml | 4 +- bmc-analytics/pom.xml | 4 +- bmc-announcementsservice/pom.xml | 4 +- bmc-apiaccesscontrol/pom.xml | 4 +- bmc-apigateway/pom.xml | 4 +- bmc-apiplatform/pom.xml | 4 +- bmc-apmconfig/pom.xml | 4 +- bmc-apmcontrolplane/pom.xml | 4 +- bmc-apmsynthetics/pom.xml | 4 +- bmc-apmtraces/pom.xml | 4 +- bmc-appmgmtcontrol/pom.xml | 4 +- bmc-artifacts/pom.xml | 4 +- bmc-audit/pom.xml | 4 +- bmc-autoscaling/pom.xml | 4 +- bmc-bastion/pom.xml | 4 +- bmc-batch/pom.xml | 4 +- .../model/ComputeCapacityReservation.java | 77 +- .../batch/model/CreateBatchJobDetails.java | 16 +- ...eateComputeCapacityReservationDetails.java | 78 +- .../batch/model/CreateReservationDetails.java | 111 +++ .../CreateServiceManagedFleetDetails.java | 32 +- .../CreateServiceManagedGpuFleetDetails.java | 32 +- .../oracle/bmc/batch/model/Reservation.java | 121 +++ .../bmc/batch/model/ServiceManagedFleet.java | 27 +- .../batch/model/ServiceManagedGpuFleet.java | 27 +- .../oci-java-sdk-batch/reflect-config.json | 54 ++ bmc-bds/pom.xml | 4 +- bmc-blockchain/pom.xml | 4 +- bmc-bom/pom.xml | 388 ++++---- bmc-budget/pom.xml | 4 +- bmc-capacitymanagement/pom.xml | 4 +- bmc-ccdoffers/pom.xml | 4 +- bmc-certificates/pom.xml | 4 +- bmc-certificatesmanagement/pom.xml | 4 +- bmc-cims/pom.xml | 4 +- bmc-circuitbreaker/pom.xml | 2 +- bmc-cloudbridge/pom.xml | 4 +- bmc-cloudguard/pom.xml | 4 +- bmc-cloudmigrations/pom.xml | 4 +- bmc-clusterhealth/pom.xml | 4 +- bmc-clusterplacementgroups/pom.xml | 4 +- .../bmc-common-httpclient-jersey/pom.xml | 6 +- .../bmc-common-httpclient-jersey3/pom.xml | 6 +- bmc-common-httpclient-choices/pom.xml | 2 +- bmc-common-httpclient/pom.xml | 2 +- bmc-common/pom.xml | 8 +- bmc-computecloudatcustomer/pom.xml | 4 +- bmc-computeinstanceagent/pom.xml | 4 +- bmc-containerengine/pom.xml | 4 +- bmc-containerinstances/pom.xml | 4 +- bmc-containerregistry/pom.xml | 4 +- bmc-core/pom.xml | 6 +- .../com/oracle/bmc/core/Blockstorage.java | 5 + .../oracle/bmc/core/BlockstorageAsync.java | 5 + .../java/com/oracle/bmc/core/Compute.java | 5 + .../com/oracle/bmc/core/ComputeAsync.java | 5 + .../oracle/bmc/core/ComputeManagement.java | 72 ++ .../bmc/core/ComputeManagementAsync.java | 70 ++ .../core/ComputeManagementAsyncClient.java | 177 ++++ .../bmc/core/ComputeManagementClient.java | 168 ++++ .../bmc/core/ComputeManagementPaginators.java | 123 +++ .../bmc/core/ComputeManagementWaiters.java | 233 +++++ .../com/oracle/bmc/core/VirtualNetwork.java | 5 + .../oracle/bmc/core/VirtualNetworkAsync.java | 5 + .../CancelInstancePoolRefreshDetails.java | 45 +- .../core/model/CreateInstancePoolDetails.java | 39 +- .../oracle/bmc/core/model/InstanceAuthz.java | 97 ++ .../oracle/bmc/core/model/InstancePool.java | 33 + ...ncePoolLaunchBeforeTerminatingDetails.java | 187 ++++ .../InstancePoolMaintenancePolicyDetails.java | 129 +++ .../bmc/core/model/InstancePoolRefresh.java | 860 ++++++++++++++++++ .../model/InstancePoolRefreshCollection.java | 133 +++ .../model/InstancePoolRefreshSummary.java | 838 +++++++++++++++++ .../bmc/core/model/InstancePoolSummary.java | 33 + .../model/RefreshInstancePoolDetails.java | 237 +++++ .../core/model/UpdateInstancePoolDetails.java | 47 +- .../CancelInstancePoolRefreshRequest.java | 414 +++++++++ .../GetInstancePoolRefreshRequest.java | 253 ++++++ .../ListInstancePoolRefreshesRequest.java | 566 ++++++++++++ .../requests/RefreshInstancePoolRequest.java | 372 ++++++++ .../CancelInstancePoolRefreshResponse.java | 194 ++++ .../GetInstancePoolRefreshResponse.java | 214 +++++ .../ListInstancePoolRefreshesResponse.java | 235 +++++ .../RefreshInstancePoolResponse.java | 269 ++++++ .../oci-java-sdk-core/reflect-config.json | 118 +++ bmc-costad/pom.xml | 4 +- bmc-dashboardservice/pom.xml | 4 +- bmc-database/pom.xml | 6 +- .../com/oracle/bmc/database/Database.java | 36 + .../oracle/bmc/database/DatabaseAsync.java | 37 + .../bmc/database/DatabaseAsyncClient.java | 88 ++ .../oracle/bmc/database/DatabaseClient.java | 78 ++ .../oracle/bmc/database/DatabaseWaiters.java | 126 +++ .../database/model/AutonomousVmCluster.java | 39 +- .../model/AutonomousVmClusterSummary.java | 39 +- .../model/CloudAutonomousVmCluster.java | 39 +- .../CloudAutonomousVmClusterSummary.java | 39 +- .../model/KeyManagementSystemDetails.java | 156 ++++ .../oracle/bmc/database/model/KeyStore.java | 102 +++ ...eAssociatedAutonomousVmClusterDetails.java | 179 ++++ ...ciatedCloudAutonomousVmClusterDetails.java | 180 ++++ .../bmc/database/model/KeyStoreSummary.java | 102 +++ .../database/model/KeyStoreTypeDetails.java | 6 +- .../model/KeyStoreTypeFromThalesDetails.java | 278 ++++++ .../OciVaultKeyManagementSystemDetails.java | 43 +- ...cleKeyVaultKeyManagementSystemDetails.java | 113 +++ ...acleManagedKeyManagementSystemDetails.java | 113 +++ .../ThalesKeyManagementSystemDetails.java | 194 ++++ .../ChangeAvmKeyManagementSystemRequest.java | 369 ++++++++ .../ChangeCavmKeyManagementSystemRequest.java | 372 ++++++++ .../ListAutonomousVmClustersRequest.java | 63 +- .../ListCloudAutonomousVmClustersRequest.java | 66 +- .../requests/ListKeyStoresRequest.java | 80 +- .../ChangeAvmKeyManagementSystemResponse.java | 194 ++++ ...ChangeCavmKeyManagementSystemResponse.java | 194 ++++ .../oci-java-sdk-database/reflect-config.json | 111 +++ bmc-databasemanagement/pom.xml | 4 +- bmc-databasemigration/pom.xml | 4 +- ...eOracleOnlineStandbyMigrationSettings.java | 192 ---- ...eOracleAwsS3DataTransferMediumDetails.java | 4 +- ...cleAzureBlobDataTransferMediumDetails.java | 232 +++++ ...CreateOracleDataTransferMediumDetails.java | 8 + ...ateOracleGcsDataTransferMediumDetails.java | 224 +++++ .../model/CreateOracleMigrationDetails.java | 32 +- ...OracleOfflineLogicalMigrationSettings.java | 377 -------- ...eOracleOnlineLogicalMigrationSettings.java | 473 ---------- ...eOracleOnlineStandbyMigrationSettings.java | 518 ----------- .../OracleAwsS3DataTransferMediumDetails.java | 4 +- ...cleAzureBlobDataTransferMediumDetails.java | 232 +++++ .../model/OracleCloneMigrationDetails.java | 32 +- .../OracleDataTransferMediumDetails.java | 10 +- .../OracleGcsDataTransferMediumDetails.java | 222 +++++ .../model/OracleMigration.java | 32 +- .../model/OracleMigrationSummary.java | 32 +- ...OracleOfflineLogicalMigrationSettings.java | 231 ----- .../OracleOnlineLogicalMigrationSettings.java | 327 ------- .../OracleOnlineStandbyMigrationSettings.java | 372 -------- ...OnlineStandbyMigrationSettingsSummary.java | 193 ---- ...eOracleAwsS3DataTransferMediumDetails.java | 4 +- ...cleAzureBlobDataTransferMediumDetails.java | 232 +++++ ...UpdateOracleDataTransferMediumDetails.java | 8 + ...ateOracleGcsDataTransferMediumDetails.java | 224 +++++ .../model/UpdateOracleMigrationDetails.java | 32 +- .../model/UpdateOracleMigrationSettings.java | 84 -- ...OracleOfflineLogicalMigrationSettings.java | 233 ----- ...eOracleOnlineLogicalMigrationSettings.java | 329 ------- ...eOracleOnlineStandbyMigrationSettings.java | 374 -------- .../reflect-config.json | 301 ++---- bmc-databasetools/pom.xml | 4 +- bmc-databasetoolsruntime/pom.xml | 4 +- bmc-datacatalog/pom.xml | 4 +- bmc-datacc/pom.xml | 4 +- bmc-dataflow/pom.xml | 4 +- bmc-dataintegration/pom.xml | 4 +- bmc-datalabelingservice/pom.xml | 4 +- bmc-datalabelingservicedataplane/pom.xml | 4 +- bmc-datasafe/pom.xml | 4 +- bmc-datascience/pom.xml | 4 +- bmc-dblm/pom.xml | 4 +- bmc-dbmulticloud/pom.xml | 4 +- bmc-ddfs/pom.xml | 4 +- bmc-delegateaccesscontrol/pom.xml | 4 +- bmc-demandsignal/pom.xml | 4 +- bmc-desktops/pom.xml | 4 +- bmc-devops/pom.xml | 4 +- bmc-dif/pom.xml | 4 +- bmc-disasterrecovery/pom.xml | 4 +- bmc-distributeddatabase/pom.xml | 4 +- .../model/OperationType.java | 1 + bmc-dns/pom.xml | 6 +- bmc-email/pom.xml | 4 +- bmc-emaildataplane/pom.xml | 4 +- bmc-emwarehouse/pom.xml | 4 +- bmc-encryption/pom.xml | 10 +- bmc-enforcer-rules/pom.xml | 2 +- bmc-events/pom.xml | 4 +- bmc-examples/pom.xml | 6 +- bmc-filestorage/pom.xml | 4 +- bmc-fleetappsmanagement/pom.xml | 4 +- bmc-fleetsoftwareupdate/pom.xml | 4 +- bmc-full/pom.xml | 4 +- bmc-functions/pom.xml | 4 +- bmc-fusionapps/pom.xml | 4 +- bmc-gdp/pom.xml | 4 +- bmc-generativeai/pom.xml | 4 +- bmc-generativeaiagent/pom.xml | 4 +- bmc-generativeaiagentruntime/pom.xml | 4 +- bmc-generativeaidata/pom.xml | 4 +- bmc-generativeaiinference/pom.xml | 4 +- bmc-generativeaisandbox/pom.xml | 4 +- bmc-genericartifactscontent/pom.xml | 4 +- bmc-goldengate/pom.xml | 4 +- .../com/oracle/bmc/goldengate/GoldenGate.java | 2 +- .../bmc/goldengate/GoldenGateAsync.java | 2 +- .../model/AzureStorageIcebergStorage.java | 241 +++++ .../AzureStorageIcebergStorageSummary.java | 241 +++++ .../model/AzureStorageWarehouseStorage.java | 184 ++++ .../AzureStorageWarehouseStorageSummary.java | 185 ++++ .../bmc/goldengate/model/Connection.java | 3 + .../goldengate/model/ConnectionSummary.java | 3 + .../bmc/goldengate/model/ConnectionType.java | 1 + ...eateAzureStorageIcebergStorageDetails.java | 384 ++++++++ ...teAzureStorageWarehouseStorageDetails.java | 254 ++++++ .../model/CreateConnectionDetails.java | 3 + ...ataCatalogIcebergCatalogConfigDetails.java | 395 ++++++++ .../model/CreateIcebergCatalogDetails.java | 3 + .../model/CreateIcebergStorageDetails.java | 9 + ...ataCatalogIcebergCatalogConfigDetails.java | 149 +++ ...StorageAccessKeyIcebergStorageDetails.java | 391 ++++++++ ...orageAccessKeyWarehouseStorageDetails.java | 352 +++++++ ...ataCatalogIcebergCatalogConfigDetails.java | 83 ++ ...cleAiDataCatalogIcebergCatalogDetails.java | 130 +++ ...AiDataCatalogStorageConnectionDetails.java | 443 +++++++++ .../model/CreateWarehouseStorageDetails.java | 33 +- .../model/CreateZfsIcebergStorageDetails.java | 500 ++++++++++ .../CreateZfsWarehouseStorageDetails.java | 412 +++++++++ ...acleAiDataCatalogIcebergCatalogConfig.java | 293 ++++++ ...ataCatalogIcebergCatalogConfigSummary.java | 293 ++++++ .../bmc/goldengate/model/Deployment.java | 16 +- .../goldengate/model/DeploymentCategory.java | 1 + .../model/DeploymentEnvironmentSummary.java | 16 +- .../goldengate/model/DeploymentSummary.java | 16 +- .../bmc/goldengate/model/DeploymentType.java | 1 + .../model/DeploymentTypeSummary.java | 61 +- .../bmc/goldengate/model/IcebergCatalog.java | 3 + .../model/IcebergCatalogSummary.java | 5 +- .../goldengate/model/IcebergCatalogType.java | 1 + .../bmc/goldengate/model/IcebergStorage.java | 9 + .../model/IcebergStorageSummary.java | 11 +- .../goldengate/model/IcebergStorageType.java | 6 +- ...acleAiDataCatalogIcebergCatalogConfig.java | 146 +++ ...ataCatalogIcebergCatalogConfigSummary.java | 147 +++ ...iObjectStorageAccessKeyIcebergStorage.java | 245 +++++ ...StorageAccessKeyIcebergStorageSummary.java | 246 +++++ ...bjectStorageAccessKeyWarehouseStorage.java | 275 ++++++ ...orageAccessKeyWarehouseStorageSummary.java | 276 ++++++ .../OracleAiDataCatalogIcebergCatalog.java | 127 +++ ...acleAiDataCatalogIcebergCatalogConfig.java | 32 +- ...ataCatalogIcebergCatalogConfigSummary.java | 83 ++ ...AiDataCatalogIcebergCatalogConfigType.java | 55 ++ ...DataCatalogIcebergCatalogDatabaseType.java | 54 ++ ...cleAiDataCatalogIcebergCatalogSummary.java | 128 +++ .../OracleAiDataCatalogStorageConnection.java | 590 ++++++++++++ ...AiDataCatalogStorageConnectionSummary.java | 547 +++++++++++ .../model/SupportedCapabilities.java | 1 + .../bmc/goldengate/model/TechnologyType.java | 1 + ...dateAzureStorageIcebergStorageDetails.java | 384 ++++++++ ...teAzureStorageWarehouseStorageDetails.java | 254 ++++++ .../model/UpdateConnectionDetails.java | 3 + ...ataCatalogIcebergCatalogConfigDetails.java | 395 ++++++++ .../model/UpdateIcebergCatalogDetails.java | 3 + .../model/UpdateIcebergStorageDetails.java | 11 +- ...ataCatalogIcebergCatalogConfigDetails.java | 149 +++ ...StorageAccessKeyIcebergStorageDetails.java | 391 ++++++++ ...orageAccessKeyWarehouseStorageDetails.java | 352 +++++++ ...ataCatalogIcebergCatalogConfigDetails.java | 83 ++ ...cleAiDataCatalogIcebergCatalogDetails.java | 130 +++ ...AiDataCatalogStorageConnectionDetails.java | 343 +++++++ .../model/UpdateWarehouseStorageDetails.java | 33 +- .../model/UpdateZfsIcebergStorageDetails.java | 500 ++++++++++ .../UpdateZfsWarehouseStorageDetails.java | 412 +++++++++ .../goldengate/model/WarehouseStorage.java | 84 ++ .../model/WarehouseStorageSummary.java | 33 +- .../model/WarehouseStorageType.java | 26 +- .../goldengate/model/ZfsIcebergStorage.java | 300 ++++++ .../model/ZfsIcebergStorageSummary.java | 300 ++++++ .../goldengate/model/ZfsWarehouseStorage.java | 280 ++++++ .../model/ZfsWarehouseStorageSummary.java | 280 ++++++ .../reflect-config.json | 702 +++++++++++++- bmc-governancerulescontrolplane/pom.xml | 4 +- bmc-healthchecks/pom.xml | 4 +- bmc-identity/pom.xml | 4 +- bmc-identitydataplane/pom.xml | 4 +- bmc-identitydomains/pom.xml | 4 +- bmc-integration/pom.xml | 4 +- bmc-iot/pom.xml | 4 +- bmc-jms/pom.xml | 4 +- bmc-jmsjavadownloads/pom.xml | 4 +- bmc-jmsutils/pom.xml | 4 +- bmc-keymanagement/pom.xml | 4 +- bmc-licensemanager/pom.xml | 4 +- bmc-limits/pom.xml | 4 +- bmc-limitsincrease/pom.xml | 4 +- bmc-loadbalancer/pom.xml | 4 +- bmc-lockbox/pom.xml | 4 +- bmc-loganalytics/pom.xml | 4 +- bmc-logging/pom.xml | 4 +- bmc-loggingingestion/pom.xml | 4 +- bmc-loggingsearch/pom.xml | 4 +- bmc-lustrefilestorage/pom.xml | 4 +- bmc-managedkafka/pom.xml | 4 +- bmc-managementagent/pom.xml | 4 +- bmc-managementdashboard/pom.xml | 4 +- bmc-marketplace/pom.xml | 4 +- bmc-marketplaceprivateoffer/pom.xml | 4 +- bmc-marketplacepublisher/pom.xml | 4 +- bmc-mediaservices/pom.xml | 4 +- bmc-mngdmac/pom.xml | 4 +- bmc-modeldeployment/pom.xml | 4 +- bmc-monitoring/pom.xml | 4 +- bmc-multicloud/pom.xml | 4 +- bmc-mysql/pom.xml | 4 +- bmc-networkfirewall/pom.xml | 4 +- bmc-networkloadbalancer/pom.xml | 4 +- bmc-nosql/pom.xml | 4 +- .../bmc-objectstorage-combined/pom.xml | 6 +- .../bmc-objectstorage-extensions/pom.xml | 8 +- .../bmc-objectstorage-generated/pom.xml | 4 +- bmc-objectstorage/pom.xml | 2 +- bmc-oce/pom.xml | 4 +- bmc-ocicontrolcenter/pom.xml | 4 +- bmc-ociproductcatalog/pom.xml | 4 +- bmc-ocvp/pom.xml | 4 +- bmc-oda/pom.xml | 4 +- bmc-onesubscription/pom.xml | 4 +- bmc-ons/pom.xml | 4 +- bmc-opa/pom.xml | 4 +- bmc-opensearch/pom.xml | 4 +- bmc-operatoraccesscontrol/pom.xml | 4 +- bmc-opsi/pom.xml | 4 +- bmc-optimizer/pom.xml | 4 +- bmc-osmanagementhub/pom.xml | 4 +- bmc-ospgateway/pom.xml | 4 +- bmc-osubbillingschedule/pom.xml | 4 +- bmc-osuborganizationsubscription/pom.xml | 4 +- bmc-osubsubscription/pom.xml | 4 +- bmc-osubusage/pom.xml | 4 +- .../bmc-jersey-examples/pom.xml | 8 +- .../bmc-jersey3-examples/pom.xml | 8 +- .../native-maven-example/pom.xml | 6 +- bmc-other-examples/pom.xml | 2 +- bmc-psa/pom.xml | 4 +- bmc-psql/pom.xml | 4 +- bmc-pss/pom.xml | 4 +- bmc-queue/pom.xml | 4 +- bmc-recovery/pom.xml | 4 +- bmc-redis/pom.xml | 4 +- bmc-resourceanalytics/pom.xml | 4 +- bmc-resourcemanager/pom.xml | 4 +- bmc-resourcescheduler/pom.xml | 4 +- bmc-resourcesearch/pom.xml | 4 +- bmc-rover/pom.xml | 4 +- bmc-sch/pom.xml | 4 +- bmc-secrets/pom.xml | 4 +- bmc-securityattribute/pom.xml | 4 +- bmc-self/pom.xml | 4 +- bmc-servicecatalog/pom.xml | 4 +- bmc-servicemanagerproxy/pom.xml | 4 +- bmc-shaded/bmc-shaded-full/pom.xml | 2 +- bmc-shaded/pom.xml | 2 +- bmc-stackmonitoring/pom.xml | 4 +- bmc-streaming/pom.xml | 4 +- bmc-tenantmanagercontrolplane/pom.xml | 4 +- bmc-threatintelligence/pom.xml | 4 +- bmc-usage/pom.xml | 4 +- bmc-usageapi/pom.xml | 4 +- bmc-vault/pom.xml | 6 +- bmc-vbsinst/pom.xml | 4 +- bmc-visualbuilder/pom.xml | 4 +- bmc-vnmonitoring/pom.xml | 4 +- bmc-vulnerabilityscanning/pom.xml | 4 +- bmc-waa/pom.xml | 4 +- bmc-waas/pom.xml | 4 +- bmc-waf/pom.xml | 4 +- bmc-wlms/pom.xml | 4 +- bmc-workrequests/pom.xml | 4 +- bmc-zpr/pom.xml | 4 +- pom.xml | 4 +- 387 files changed, 25532 insertions(+), 5042 deletions(-) rename bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CloneOracleOnlineLogicalMigrationSettings.java => bmc-batch/src/main/java/com/oracle/bmc/batch/model/ComputeCapacityReservation.java (54%) rename bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleOnlineLogicalMigrationSettingsSummary.java => bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateComputeCapacityReservationDetails.java (54%) create mode 100644 bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateReservationDetails.java create mode 100644 bmc-batch/src/main/java/com/oracle/bmc/batch/model/Reservation.java rename bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CloneOracleOfflineLogicalMigrationSettings.java => bmc-core/src/main/java/com/oracle/bmc/core/model/CancelInstancePoolRefreshDetails.java (69%) create mode 100644 bmc-core/src/main/java/com/oracle/bmc/core/model/InstanceAuthz.java create mode 100644 bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePoolLaunchBeforeTerminatingDetails.java create mode 100644 bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePoolMaintenancePolicyDetails.java create mode 100644 bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePoolRefresh.java create mode 100644 bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePoolRefreshCollection.java create mode 100644 bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePoolRefreshSummary.java create mode 100644 bmc-core/src/main/java/com/oracle/bmc/core/model/RefreshInstancePoolDetails.java create mode 100644 bmc-core/src/main/java/com/oracle/bmc/core/requests/CancelInstancePoolRefreshRequest.java create mode 100644 bmc-core/src/main/java/com/oracle/bmc/core/requests/GetInstancePoolRefreshRequest.java create mode 100644 bmc-core/src/main/java/com/oracle/bmc/core/requests/ListInstancePoolRefreshesRequest.java create mode 100644 bmc-core/src/main/java/com/oracle/bmc/core/requests/RefreshInstancePoolRequest.java create mode 100644 bmc-core/src/main/java/com/oracle/bmc/core/responses/CancelInstancePoolRefreshResponse.java create mode 100644 bmc-core/src/main/java/com/oracle/bmc/core/responses/GetInstancePoolRefreshResponse.java create mode 100644 bmc-core/src/main/java/com/oracle/bmc/core/responses/ListInstancePoolRefreshesResponse.java create mode 100644 bmc-core/src/main/java/com/oracle/bmc/core/responses/RefreshInstancePoolResponse.java create mode 100644 bmc-database/src/main/java/com/oracle/bmc/database/model/KeyManagementSystemDetails.java create mode 100644 bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStoreAssociatedAutonomousVmClusterDetails.java create mode 100644 bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStoreAssociatedCloudAutonomousVmClusterDetails.java create mode 100644 bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStoreTypeFromThalesDetails.java rename bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleOfflineLogicalMigrationSettingsSummary.java => bmc-database/src/main/java/com/oracle/bmc/database/model/OciVaultKeyManagementSystemDetails.java (69%) create mode 100644 bmc-database/src/main/java/com/oracle/bmc/database/model/OracleKeyVaultKeyManagementSystemDetails.java create mode 100644 bmc-database/src/main/java/com/oracle/bmc/database/model/OracleManagedKeyManagementSystemDetails.java create mode 100644 bmc-database/src/main/java/com/oracle/bmc/database/model/ThalesKeyManagementSystemDetails.java create mode 100644 bmc-database/src/main/java/com/oracle/bmc/database/requests/ChangeAvmKeyManagementSystemRequest.java create mode 100644 bmc-database/src/main/java/com/oracle/bmc/database/requests/ChangeCavmKeyManagementSystemRequest.java create mode 100644 bmc-database/src/main/java/com/oracle/bmc/database/responses/ChangeAvmKeyManagementSystemResponse.java create mode 100644 bmc-database/src/main/java/com/oracle/bmc/database/responses/ChangeCavmKeyManagementSystemResponse.java delete mode 100644 bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CloneOracleOnlineStandbyMigrationSettings.java create mode 100644 bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleAzureBlobDataTransferMediumDetails.java create mode 100644 bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleGcsDataTransferMediumDetails.java delete mode 100644 bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleOfflineLogicalMigrationSettings.java delete mode 100644 bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleOnlineLogicalMigrationSettings.java delete mode 100644 bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleOnlineStandbyMigrationSettings.java create mode 100644 bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleAzureBlobDataTransferMediumDetails.java create mode 100644 bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleGcsDataTransferMediumDetails.java delete mode 100644 bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleOfflineLogicalMigrationSettings.java delete mode 100644 bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleOnlineLogicalMigrationSettings.java delete mode 100644 bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleOnlineStandbyMigrationSettings.java delete mode 100644 bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleOnlineStandbyMigrationSettingsSummary.java create mode 100644 bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateOracleAzureBlobDataTransferMediumDetails.java create mode 100644 bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateOracleGcsDataTransferMediumDetails.java delete mode 100644 bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateOracleMigrationSettings.java delete mode 100644 bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateOracleOfflineLogicalMigrationSettings.java delete mode 100644 bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateOracleOnlineLogicalMigrationSettings.java delete mode 100644 bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateOracleOnlineStandbyMigrationSettings.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/AzureStorageIcebergStorage.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/AzureStorageIcebergStorageSummary.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/AzureStorageWarehouseStorage.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/AzureStorageWarehouseStorageSummary.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateAzureStorageIcebergStorageDetails.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateAzureStorageWarehouseStorageDetails.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateDbCredentialsOracleAiDataCatalogIcebergCatalogConfigDetails.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateOciGoldenGateOracleAiDataCatalogIcebergCatalogConfigDetails.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateOciObjectStorageAccessKeyIcebergStorageDetails.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateOciObjectStorageAccessKeyWarehouseStorageDetails.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateOracleAiDataCatalogIcebergCatalogConfigDetails.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateOracleAiDataCatalogIcebergCatalogDetails.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateOracleAiDataCatalogStorageConnectionDetails.java rename bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CloneOracleMigrationSettings.java => bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateWarehouseStorageDetails.java (75%) create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateZfsIcebergStorageDetails.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateZfsWarehouseStorageDetails.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DbCredentialsOracleAiDataCatalogIcebergCatalogConfig.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DbCredentialsOracleAiDataCatalogIcebergCatalogConfigSummary.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OciGoldenGateOracleAiDataCatalogIcebergCatalogConfig.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OciGoldenGateOracleAiDataCatalogIcebergCatalogConfigSummary.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OciObjectStorageAccessKeyIcebergStorage.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OciObjectStorageAccessKeyIcebergStorageSummary.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OciObjectStorageAccessKeyWarehouseStorage.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OciObjectStorageAccessKeyWarehouseStorageSummary.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OracleAiDataCatalogIcebergCatalog.java rename bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleMigrationSettings.java => bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OracleAiDataCatalogIcebergCatalogConfig.java (74%) create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OracleAiDataCatalogIcebergCatalogConfigSummary.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OracleAiDataCatalogIcebergCatalogConfigType.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OracleAiDataCatalogIcebergCatalogDatabaseType.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OracleAiDataCatalogIcebergCatalogSummary.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OracleAiDataCatalogStorageConnection.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OracleAiDataCatalogStorageConnectionSummary.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateAzureStorageIcebergStorageDetails.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateAzureStorageWarehouseStorageDetails.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateDbCredentialsOracleAiDataCatalogIcebergCatalogConfigDetails.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateOciGoldenGateOracleAiDataCatalogIcebergCatalogConfigDetails.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateOciObjectStorageAccessKeyIcebergStorageDetails.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateOciObjectStorageAccessKeyWarehouseStorageDetails.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateOracleAiDataCatalogIcebergCatalogConfigDetails.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateOracleAiDataCatalogIcebergCatalogDetails.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateOracleAiDataCatalogStorageConnectionDetails.java rename bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleMigrationSettingsSummary.java => bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateWarehouseStorageDetails.java (75%) create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateZfsIcebergStorageDetails.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateZfsWarehouseStorageDetails.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/WarehouseStorage.java rename bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleMigrationSettings.java => bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/WarehouseStorageSummary.java (76%) rename bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleMigrationMethods.java => bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/WarehouseStorageType.java (60%) create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/ZfsIcebergStorage.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/ZfsIcebergStorageSummary.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/ZfsWarehouseStorage.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/ZfsWarehouseStorageSummary.java diff --git a/CHANGELOG.md b/CHANGELOG.md index faad1f9aeaa..4881c990895 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,24 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/). +## 3.103.0 - 2026-11-24 +### Added +- Support for keystore configuration on Autonomous VM clusters on Exadata Cloud@Customer and Cloud Exadata Infrastructure in the Database service +- Support for Thales external keystores for Autonomous Container Databases in the Database service +- Support for Oracle AI Data Catalog in the GoldenGate service +- Support for global service manager scaling work requests in the Globally Distributed Database service +- Support for instance pool refreshes, including progress tracking, cancellation, and launch-before-termination maintenance policies in the Compute service +- Support for Azure Blob Storage and Google Cloud Storage as dump-transfer media during Oracle logical migrations in the Database Migration service +- Support for compute capacity reservations in service-managed fleets in the Batch service   + +### Breaking Changes +- The property `migrationSettings`, its getter and builder methods, and its parameter in deprecated constructors were removed from the models `CreateOracleMigrationDetails`, `UpdateOracleMigrationDetails`, `OracleCloneMigrationDetails`, `OracleMigration`, and `OracleMigrationSummary` in the Database Migration service +- The Oracle migration settings model classes, including their create, update, clone, and summary variants, and the enum `OracleMigrationMethods` were removed from the Database Migration service +- Deprecated model constructors have changed to include key management configuration and keystore associations with Autonomous VM clusters in the Database service +- Deprecated instance pool model constructors have changed to include maintenance policies in the Compute service +- Deprecated service-managed fleet model constructors have changed to include capacity reservations in the Batch service +- The deprecated constructor of `DeploymentTypeSummary` has changed to include supported credential stores in the GoldenGate service + ## 3.102.0 - 2026-11-17 ### Added - Support for customer-reserved capacity during rolling upgrades in the VMware Solution service diff --git a/bmc-accessgovernancecp/pom.xml b/bmc-accessgovernancecp/pom.xml index 2cc2e536347..b4b79236288 100644 --- a/bmc-accessgovernancecp/pom.xml +++ b/bmc-accessgovernancecp/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-accessgovernancecp @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-addons/bmc-adk/pom.xml b/bmc-addons/bmc-adk/pom.xml index 0fa0b489679..6586e0c7b31 100644 --- a/bmc-addons/bmc-adk/pom.xml +++ b/bmc-addons/bmc-adk/pom.xml @@ -6,7 +6,7 @@ com.oracle.oci.sdk oci-java-sdk-addons - 3.102.0 + 3.103.0 oci-java-sdk-addons-adk diff --git a/bmc-addons/bmc-aispeech-realtime/pom.xml b/bmc-addons/bmc-aispeech-realtime/pom.xml index d817d051eb3..a457b9d70ad 100644 --- a/bmc-addons/bmc-aispeech-realtime/pom.xml +++ b/bmc-addons/bmc-aispeech-realtime/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk-addons - 3.102.0 + 3.103.0 ../pom.xml 4.0.0 @@ -53,12 +53,12 @@ com.oracle.oci.sdk oci-java-sdk-aispeech - 3.102.0 + 3.103.0 com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.102.0 + 3.103.0 compile diff --git a/bmc-addons/bmc-apache-configurator-jersey-addon/pom.xml b/bmc-addons/bmc-apache-configurator-jersey-addon/pom.xml index 7080c73eb7e..8a5d72119ac 100644 --- a/bmc-addons/bmc-apache-configurator-jersey-addon/pom.xml +++ b/bmc-addons/bmc-apache-configurator-jersey-addon/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk-addons - 3.102.0 + 3.103.0 ../pom.xml @@ -17,14 +17,14 @@ com.oracle.oci.sdk oci-java-sdk-bom - 3.102.0 + 3.103.0 pom import com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.102.0 + 3.103.0 pom import diff --git a/bmc-addons/bmc-apache-configurator-jersey3-addon/pom.xml b/bmc-addons/bmc-apache-configurator-jersey3-addon/pom.xml index 3b9fe3ab614..486991c8926 100644 --- a/bmc-addons/bmc-apache-configurator-jersey3-addon/pom.xml +++ b/bmc-addons/bmc-apache-configurator-jersey3-addon/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk-addons - 3.102.0 + 3.103.0 ../pom.xml @@ -17,14 +17,14 @@ com.oracle.oci.sdk oci-java-sdk-bom - 3.102.0 + 3.103.0 pom import com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey3 - 3.102.0 + 3.103.0 pom import diff --git a/bmc-addons/bmc-apache-connector-provider/pom.xml b/bmc-addons/bmc-apache-connector-provider/pom.xml index 16e1b2ccffd..b35ec581fac 100644 --- a/bmc-addons/bmc-apache-connector-provider/pom.xml +++ b/bmc-addons/bmc-apache-connector-provider/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk-addons - 3.102.0 + 3.103.0 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-addons/bmc-oke-workload-identity/pom.xml b/bmc-addons/bmc-oke-workload-identity/pom.xml index 905160fbe79..283fff9d98e 100644 --- a/bmc-addons/bmc-oke-workload-identity/pom.xml +++ b/bmc-addons/bmc-oke-workload-identity/pom.xml @@ -4,7 +4,7 @@ oci-java-sdk-addons com.oracle.oci.sdk - 3.102.0 + 3.103.0 4.0.0 @@ -38,25 +38,25 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 compile com.oracle.oci.sdk oci-java-sdk-core - 3.102.0 + 3.103.0 test com.oracle.oci.sdk oci-java-sdk-identity - 3.102.0 + 3.103.0 test com.oracle.oci.sdk oci-java-sdk-keymanagement - 3.102.0 + 3.103.0 test diff --git a/bmc-addons/bmc-resteasy-client-configurator/pom.xml b/bmc-addons/bmc-resteasy-client-configurator/pom.xml index e89586523aa..9eefa837b5f 100644 --- a/bmc-addons/bmc-resteasy-client-configurator/pom.xml +++ b/bmc-addons/bmc-resteasy-client-configurator/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk-addons - 3.102.0 + 3.103.0 ../pom.xml @@ -23,7 +23,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-addons/bmc-sasl-oke-workload-identity/pom.xml b/bmc-addons/bmc-sasl-oke-workload-identity/pom.xml index 70d3ae1211b..380af96f947 100644 --- a/bmc-addons/bmc-sasl-oke-workload-identity/pom.xml +++ b/bmc-addons/bmc-sasl-oke-workload-identity/pom.xml @@ -4,7 +4,7 @@ oci-java-sdk-addons com.oracle.oci.sdk - 3.102.0 + 3.103.0 ../pom.xml 4.0.0 @@ -39,13 +39,13 @@ com.oracle.oci.sdk oci-java-sdk-addons-sasl - 3.102.0 + 3.103.0 compile com.oracle.oci.sdk oci-java-sdk-addons-oke-workload-identity - 3.102.0 + 3.103.0 compile diff --git a/bmc-addons/bmc-sasl/pom.xml b/bmc-addons/bmc-sasl/pom.xml index 41879dd2622..b1e9023ea38 100644 --- a/bmc-addons/bmc-sasl/pom.xml +++ b/bmc-addons/bmc-sasl/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk-addons - 3.102.0 + 3.103.0 ../pom.xml @@ -61,7 +61,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 diff --git a/bmc-addons/bmc-sse-support-jersey3/pom.xml b/bmc-addons/bmc-sse-support-jersey3/pom.xml index 9b0db1012a9..735b32add9b 100644 --- a/bmc-addons/bmc-sse-support-jersey3/pom.xml +++ b/bmc-addons/bmc-sse-support-jersey3/pom.xml @@ -5,7 +5,7 @@ oci-java-sdk-addons com.oracle.oci.sdk - 3.102.0 + 3.103.0 ../pom.xml 4.0.0 @@ -150,12 +150,12 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 com.oracle.oci.sdk oci-java-sdk-generativeaiinference - 3.102.0 + 3.103.0 test @@ -164,7 +164,7 @@ but the code in it needs it. --> com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey3 - 3.102.0 + 3.103.0 diff --git a/bmc-addons/bmc-sse-support/pom.xml b/bmc-addons/bmc-sse-support/pom.xml index dc9471520f8..d0bf9042902 100644 --- a/bmc-addons/bmc-sse-support/pom.xml +++ b/bmc-addons/bmc-sse-support/pom.xml @@ -5,7 +5,7 @@ oci-java-sdk-addons com.oracle.oci.sdk - 3.102.0 + 3.103.0 ../pom.xml 4.0.0 @@ -150,12 +150,12 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 com.oracle.oci.sdk oci-java-sdk-generativeaiinference - 3.102.0 + 3.103.0 test @@ -164,7 +164,7 @@ but the code in it needs it. --> com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.102.0 + 3.103.0 diff --git a/bmc-addons/pom.xml b/bmc-addons/pom.xml index a184e8abd16..ff8fccaf04f 100644 --- a/bmc-addons/pom.xml +++ b/bmc-addons/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml diff --git a/bmc-adm/pom.xml b/bmc-adm/pom.xml index 939d9ba4f0c..aaf13eee95b 100644 --- a/bmc-adm/pom.xml +++ b/bmc-adm/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-adm @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-aidataplatform/pom.xml b/bmc-aidataplatform/pom.xml index 957b2619fe6..c8386316142 100644 --- a/bmc-aidataplatform/pom.xml +++ b/bmc-aidataplatform/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-aidataplatform @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-aidocument/pom.xml b/bmc-aidocument/pom.xml index ad589685f13..1dba381ba28 100644 --- a/bmc-aidocument/pom.xml +++ b/bmc-aidocument/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-aidocument @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-ailanguage/pom.xml b/bmc-ailanguage/pom.xml index 2bcf79f5b02..24a42db8049 100644 --- a/bmc-ailanguage/pom.xml +++ b/bmc-ailanguage/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-ailanguage @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-aispeech/pom.xml b/bmc-aispeech/pom.xml index 25392f62b1b..9257f8e93fb 100644 --- a/bmc-aispeech/pom.xml +++ b/bmc-aispeech/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-aispeech @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-aivision/pom.xml b/bmc-aivision/pom.xml index 8290ab2f919..b87ad4cdd29 100644 --- a/bmc-aivision/pom.xml +++ b/bmc-aivision/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-aivision @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-analytics/pom.xml b/bmc-analytics/pom.xml index babf440da34..56e0b8d681f 100644 --- a/bmc-analytics/pom.xml +++ b/bmc-analytics/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-analytics @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-announcementsservice/pom.xml b/bmc-announcementsservice/pom.xml index fbcad673783..e8ceeea514a 100644 --- a/bmc-announcementsservice/pom.xml +++ b/bmc-announcementsservice/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-announcementsservice @@ -16,7 +16,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-apiaccesscontrol/pom.xml b/bmc-apiaccesscontrol/pom.xml index f44cdacac81..e089777457d 100644 --- a/bmc-apiaccesscontrol/pom.xml +++ b/bmc-apiaccesscontrol/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-apiaccesscontrol @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-apigateway/pom.xml b/bmc-apigateway/pom.xml index 030fe298111..b6ebbe0c12b 100644 --- a/bmc-apigateway/pom.xml +++ b/bmc-apigateway/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-apigateway @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-apiplatform/pom.xml b/bmc-apiplatform/pom.xml index 62c3083d179..c0eb4fb4ec9 100644 --- a/bmc-apiplatform/pom.xml +++ b/bmc-apiplatform/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-apiplatform @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-apmconfig/pom.xml b/bmc-apmconfig/pom.xml index 991a4c5690c..78163ab3cf2 100644 --- a/bmc-apmconfig/pom.xml +++ b/bmc-apmconfig/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-apmconfig @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-apmcontrolplane/pom.xml b/bmc-apmcontrolplane/pom.xml index 35f6c4d5f8d..7aaa8784e66 100644 --- a/bmc-apmcontrolplane/pom.xml +++ b/bmc-apmcontrolplane/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-apmcontrolplane @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-apmsynthetics/pom.xml b/bmc-apmsynthetics/pom.xml index cbdea989a47..58113233030 100644 --- a/bmc-apmsynthetics/pom.xml +++ b/bmc-apmsynthetics/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-apmsynthetics @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-apmtraces/pom.xml b/bmc-apmtraces/pom.xml index 7cd9e6840b6..402ec78e9d3 100644 --- a/bmc-apmtraces/pom.xml +++ b/bmc-apmtraces/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-apmtraces @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-appmgmtcontrol/pom.xml b/bmc-appmgmtcontrol/pom.xml index 24341c11b18..8e7787d7647 100644 --- a/bmc-appmgmtcontrol/pom.xml +++ b/bmc-appmgmtcontrol/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-appmgmtcontrol @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-artifacts/pom.xml b/bmc-artifacts/pom.xml index 3ff3412c8b2..38ac154895b 100644 --- a/bmc-artifacts/pom.xml +++ b/bmc-artifacts/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-artifacts @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-audit/pom.xml b/bmc-audit/pom.xml index 4db5d114bb5..91116a694e4 100644 --- a/bmc-audit/pom.xml +++ b/bmc-audit/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 diff --git a/bmc-autoscaling/pom.xml b/bmc-autoscaling/pom.xml index dddb887263b..2d089603993 100644 --- a/bmc-autoscaling/pom.xml +++ b/bmc-autoscaling/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-autoscaling @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-bastion/pom.xml b/bmc-bastion/pom.xml index b23985ba6b8..946a262b6f2 100644 --- a/bmc-bastion/pom.xml +++ b/bmc-bastion/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-bastion @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-batch/pom.xml b/bmc-batch/pom.xml index 3a488bad821..90f2a76e883 100644 --- a/bmc-batch/pom.xml +++ b/bmc-batch/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-batch @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CloneOracleOnlineLogicalMigrationSettings.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/ComputeCapacityReservation.java similarity index 54% rename from bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CloneOracleOnlineLogicalMigrationSettings.java rename to bmc-batch/src/main/java/com/oracle/bmc/batch/model/ComputeCapacityReservation.java index 0628cb9b088..66e93ca31f4 100644 --- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CloneOracleOnlineLogicalMigrationSettings.java +++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/ComputeCapacityReservation.java @@ -2,10 +2,10 @@ * Copyright (c) 2016, 2026, 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.databasemigration.model; +package com.oracle.bmc.batch.model; /** - * Clone settings for an online logical Oracle migration.
+ * Compute capacity reservations used for initial fleet provisioning.
* 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 @@ -15,42 +15,40 @@ * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code * null}). */ -@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20230518") +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20251031") @com.fasterxml.jackson.databind.annotation.JsonDeserialize( - builder = CloneOracleOnlineLogicalMigrationSettings.Builder.class) + builder = ComputeCapacityReservation.Builder.class) @com.fasterxml.jackson.annotation.JsonTypeInfo( use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, - property = "migrationMethod") + property = "type") @com.fasterxml.jackson.annotation.JsonFilter( com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) -public final class CloneOracleOnlineLogicalMigrationSettings extends CloneOracleMigrationSettings { +public final class ComputeCapacityReservation extends Reservation { @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { - /** The OCID of the resource being referenced. */ - @com.fasterxml.jackson.annotation.JsonProperty("sourceContainerDatabaseConnectionId") - private String sourceContainerDatabaseConnectionId; + /** Compute capacity reservation OCIDs used for initial fleet provisioning. */ + @com.fasterxml.jackson.annotation.JsonProperty("capacityReservationIds") + private java.util.List capacityReservationIds; /** - * The OCID of the resource being referenced. + * Compute capacity reservation OCIDs used for initial fleet provisioning. * - * @param sourceContainerDatabaseConnectionId the value to set + * @param capacityReservationIds the value to set * @return this builder */ - public Builder sourceContainerDatabaseConnectionId( - String sourceContainerDatabaseConnectionId) { - this.sourceContainerDatabaseConnectionId = sourceContainerDatabaseConnectionId; - this.__explicitlySet__.add("sourceContainerDatabaseConnectionId"); + public Builder capacityReservationIds(java.util.List capacityReservationIds) { + this.capacityReservationIds = capacityReservationIds; + this.__explicitlySet__.add("capacityReservationIds"); return this; } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); - public CloneOracleOnlineLogicalMigrationSettings build() { - CloneOracleOnlineLogicalMigrationSettings model = - new CloneOracleOnlineLogicalMigrationSettings( - this.sourceContainerDatabaseConnectionId); + public ComputeCapacityReservation build() { + ComputeCapacityReservation model = + new ComputeCapacityReservation(this.capacityReservationIds); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -58,10 +56,9 @@ public CloneOracleOnlineLogicalMigrationSettings build() { } @com.fasterxml.jackson.annotation.JsonIgnore - public Builder copy(CloneOracleOnlineLogicalMigrationSettings model) { - if (model.wasPropertyExplicitlySet("sourceContainerDatabaseConnectionId")) { - this.sourceContainerDatabaseConnectionId( - model.getSourceContainerDatabaseConnectionId()); + public Builder copy(ComputeCapacityReservation model) { + if (model.wasPropertyExplicitlySet("capacityReservationIds")) { + this.capacityReservationIds(model.getCapacityReservationIds()); } return this; } @@ -77,22 +74,22 @@ public Builder toBuilder() { } @Deprecated - public CloneOracleOnlineLogicalMigrationSettings(String sourceContainerDatabaseConnectionId) { + public ComputeCapacityReservation(java.util.List capacityReservationIds) { super(); - this.sourceContainerDatabaseConnectionId = sourceContainerDatabaseConnectionId; + this.capacityReservationIds = capacityReservationIds; } - /** The OCID of the resource being referenced. */ - @com.fasterxml.jackson.annotation.JsonProperty("sourceContainerDatabaseConnectionId") - private final String sourceContainerDatabaseConnectionId; + /** Compute capacity reservation OCIDs used for initial fleet provisioning. */ + @com.fasterxml.jackson.annotation.JsonProperty("capacityReservationIds") + private final java.util.List capacityReservationIds; /** - * The OCID of the resource being referenced. + * Compute capacity reservation OCIDs used for initial fleet provisioning. * * @return the value */ - public String getSourceContainerDatabaseConnectionId() { - return sourceContainerDatabaseConnectionId; + public java.util.List getCapacityReservationIds() { + return capacityReservationIds; } @Override @@ -108,10 +105,9 @@ public String toString() { */ public String toString(boolean includeByteArrayContents) { java.lang.StringBuilder sb = new java.lang.StringBuilder(); - sb.append("CloneOracleOnlineLogicalMigrationSettings("); + sb.append("ComputeCapacityReservation("); sb.append("super=").append(super.toString(includeByteArrayContents)); - sb.append(", sourceContainerDatabaseConnectionId=") - .append(String.valueOf(this.sourceContainerDatabaseConnectionId)); + sb.append(", capacityReservationIds=").append(String.valueOf(this.capacityReservationIds)); sb.append(")"); return sb.toString(); } @@ -121,15 +117,12 @@ public boolean equals(Object o) { if (this == o) { return true; } - if (!(o instanceof CloneOracleOnlineLogicalMigrationSettings)) { + if (!(o instanceof ComputeCapacityReservation)) { return false; } - CloneOracleOnlineLogicalMigrationSettings other = - (CloneOracleOnlineLogicalMigrationSettings) o; - return java.util.Objects.equals( - this.sourceContainerDatabaseConnectionId, - other.sourceContainerDatabaseConnectionId) + ComputeCapacityReservation other = (ComputeCapacityReservation) o; + return java.util.Objects.equals(this.capacityReservationIds, other.capacityReservationIds) && super.equals(other); } @@ -139,9 +132,9 @@ public int hashCode() { int result = super.hashCode(); result = (result * PRIME) - + (this.sourceContainerDatabaseConnectionId == null + + (this.capacityReservationIds == null ? 43 - : this.sourceContainerDatabaseConnectionId.hashCode()); + : this.capacityReservationIds.hashCode()); return result; } } diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateBatchJobDetails.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateBatchJobDetails.java index 63242d6655c..501fda0b0af 100644 --- a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateBatchJobDetails.java +++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateBatchJobDetails.java @@ -155,16 +155,12 @@ public Builder environmentVariables( this.__explicitlySet__.add("environmentVariables"); return this; } - /** - * A list of tasks to be executed within this job. Maximum number of tasks a job can have in - * total, across all nested levels, is 1000. - */ + /** A list of tasks to be executed within this job. */ @com.fasterxml.jackson.annotation.JsonProperty("tasks") private java.util.List tasks; /** - * A list of tasks to be executed within this job. Maximum number of tasks a job can have in - * total, across all nested levels, is 1000. + * A list of tasks to be executed within this job. * * @param tasks the value to set * @return this builder @@ -372,16 +368,12 @@ public java.util.List getEnvironmentVariables() { return environmentVariables; } - /** - * A list of tasks to be executed within this job. Maximum number of tasks a job can have in - * total, across all nested levels, is 1000. - */ + /** A list of tasks to be executed within this job. */ @com.fasterxml.jackson.annotation.JsonProperty("tasks") private final java.util.List tasks; /** - * A list of tasks to be executed within this job. Maximum number of tasks a job can have in - * total, across all nested levels, is 1000. + * A list of tasks to be executed within this job. * * @return the value */ diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleOnlineLogicalMigrationSettingsSummary.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateComputeCapacityReservationDetails.java similarity index 54% rename from bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleOnlineLogicalMigrationSettingsSummary.java rename to bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateComputeCapacityReservationDetails.java index f5022378f3c..ba130a2ad7c 100644 --- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleOnlineLogicalMigrationSettingsSummary.java +++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateComputeCapacityReservationDetails.java @@ -2,10 +2,10 @@ * Copyright (c) 2016, 2026, 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.databasemigration.model; +package com.oracle.bmc.batch.model; /** - * Oracle online logical migration summary settings.
+ * Compute capacity reservations supplied for initial fleet provisioning.
* 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 @@ -15,43 +15,40 @@ * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code * null}). */ -@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20230518") +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20251031") @com.fasterxml.jackson.databind.annotation.JsonDeserialize( - builder = OracleOnlineLogicalMigrationSettingsSummary.Builder.class) + builder = CreateComputeCapacityReservationDetails.Builder.class) @com.fasterxml.jackson.annotation.JsonTypeInfo( use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, - property = "migrationMethod") + property = "type") @com.fasterxml.jackson.annotation.JsonFilter( com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) -public final class OracleOnlineLogicalMigrationSettingsSummary - extends OracleMigrationSettingsSummary { +public final class CreateComputeCapacityReservationDetails extends CreateReservationDetails { @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { - /** The OCID of the resource being referenced. */ - @com.fasterxml.jackson.annotation.JsonProperty("sourceContainerDatabaseConnectionId") - private String sourceContainerDatabaseConnectionId; + /** Compute capacity reservation OCIDs used for initial fleet provisioning. */ + @com.fasterxml.jackson.annotation.JsonProperty("capacityReservationIds") + private java.util.List capacityReservationIds; /** - * The OCID of the resource being referenced. + * Compute capacity reservation OCIDs used for initial fleet provisioning. * - * @param sourceContainerDatabaseConnectionId the value to set + * @param capacityReservationIds the value to set * @return this builder */ - public Builder sourceContainerDatabaseConnectionId( - String sourceContainerDatabaseConnectionId) { - this.sourceContainerDatabaseConnectionId = sourceContainerDatabaseConnectionId; - this.__explicitlySet__.add("sourceContainerDatabaseConnectionId"); + public Builder capacityReservationIds(java.util.List capacityReservationIds) { + this.capacityReservationIds = capacityReservationIds; + this.__explicitlySet__.add("capacityReservationIds"); return this; } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); - public OracleOnlineLogicalMigrationSettingsSummary build() { - OracleOnlineLogicalMigrationSettingsSummary model = - new OracleOnlineLogicalMigrationSettingsSummary( - this.sourceContainerDatabaseConnectionId); + public CreateComputeCapacityReservationDetails build() { + CreateComputeCapacityReservationDetails model = + new CreateComputeCapacityReservationDetails(this.capacityReservationIds); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -59,10 +56,9 @@ public OracleOnlineLogicalMigrationSettingsSummary build() { } @com.fasterxml.jackson.annotation.JsonIgnore - public Builder copy(OracleOnlineLogicalMigrationSettingsSummary model) { - if (model.wasPropertyExplicitlySet("sourceContainerDatabaseConnectionId")) { - this.sourceContainerDatabaseConnectionId( - model.getSourceContainerDatabaseConnectionId()); + public Builder copy(CreateComputeCapacityReservationDetails model) { + if (model.wasPropertyExplicitlySet("capacityReservationIds")) { + this.capacityReservationIds(model.getCapacityReservationIds()); } return this; } @@ -78,22 +74,22 @@ public Builder toBuilder() { } @Deprecated - public OracleOnlineLogicalMigrationSettingsSummary(String sourceContainerDatabaseConnectionId) { + public CreateComputeCapacityReservationDetails(java.util.List capacityReservationIds) { super(); - this.sourceContainerDatabaseConnectionId = sourceContainerDatabaseConnectionId; + this.capacityReservationIds = capacityReservationIds; } - /** The OCID of the resource being referenced. */ - @com.fasterxml.jackson.annotation.JsonProperty("sourceContainerDatabaseConnectionId") - private final String sourceContainerDatabaseConnectionId; + /** Compute capacity reservation OCIDs used for initial fleet provisioning. */ + @com.fasterxml.jackson.annotation.JsonProperty("capacityReservationIds") + private final java.util.List capacityReservationIds; /** - * The OCID of the resource being referenced. + * Compute capacity reservation OCIDs used for initial fleet provisioning. * * @return the value */ - public String getSourceContainerDatabaseConnectionId() { - return sourceContainerDatabaseConnectionId; + public java.util.List getCapacityReservationIds() { + return capacityReservationIds; } @Override @@ -109,10 +105,9 @@ public String toString() { */ public String toString(boolean includeByteArrayContents) { java.lang.StringBuilder sb = new java.lang.StringBuilder(); - sb.append("OracleOnlineLogicalMigrationSettingsSummary("); + sb.append("CreateComputeCapacityReservationDetails("); sb.append("super=").append(super.toString(includeByteArrayContents)); - sb.append(", sourceContainerDatabaseConnectionId=") - .append(String.valueOf(this.sourceContainerDatabaseConnectionId)); + sb.append(", capacityReservationIds=").append(String.valueOf(this.capacityReservationIds)); sb.append(")"); return sb.toString(); } @@ -122,15 +117,12 @@ public boolean equals(Object o) { if (this == o) { return true; } - if (!(o instanceof OracleOnlineLogicalMigrationSettingsSummary)) { + if (!(o instanceof CreateComputeCapacityReservationDetails)) { return false; } - OracleOnlineLogicalMigrationSettingsSummary other = - (OracleOnlineLogicalMigrationSettingsSummary) o; - return java.util.Objects.equals( - this.sourceContainerDatabaseConnectionId, - other.sourceContainerDatabaseConnectionId) + CreateComputeCapacityReservationDetails other = (CreateComputeCapacityReservationDetails) o; + return java.util.Objects.equals(this.capacityReservationIds, other.capacityReservationIds) && super.equals(other); } @@ -140,9 +132,9 @@ public int hashCode() { int result = super.hashCode(); result = (result * PRIME) - + (this.sourceContainerDatabaseConnectionId == null + + (this.capacityReservationIds == null ? 43 - : this.sourceContainerDatabaseConnectionId.hashCode()); + : this.capacityReservationIds.hashCode()); return result; } } diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateReservationDetails.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateReservationDetails.java new file mode 100644 index 00000000000..77090d9e747 --- /dev/null +++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateReservationDetails.java @@ -0,0 +1,111 @@ +/** + * Copyright (c) 2016, 2026, 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.batch.model; + +/** + * Reservation selection for initial provisioning of a fleet.
+ * 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: 20251031") +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "type", + defaultImpl = CreateReservationDetails.class) +@com.fasterxml.jackson.annotation.JsonSubTypes({ + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = CreateComputeCapacityReservationDetails.class, + name = "COMPUTE_CAPACITY_RESERVATION") +}) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public class CreateReservationDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({}) + protected CreateReservationDetails() { + super(); + } + + @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("CreateReservationDetails("); + sb.append("super=").append(super.toString()); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CreateReservationDetails)) { + return false; + } + + CreateReservationDetails other = (CreateReservationDetails) o; + return super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + super.hashCode(); + return result; + } + + /** Type of reservation. Discriminator for reservation subtypes. */ + public enum Type implements com.oracle.bmc.http.internal.BmcEnum { + ComputeCapacityReservation("COMPUTE_CAPACITY_RESERVATION"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (Type v : Type.values()) { + map.put(v.getValue(), v); + } + } + + Type(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static Type create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid Type: " + key); + } + }; +} diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateServiceManagedFleetDetails.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateServiceManagedFleetDetails.java index 18b9ff62125..c3fec02f8de 100644 --- a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateServiceManagedFleetDetails.java +++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateServiceManagedFleetDetails.java @@ -27,6 +27,15 @@ public final class CreateServiceManagedFleetDetails extends CreateFleetDetails { @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { + + @com.fasterxml.jackson.annotation.JsonProperty("reservation") + private CreateReservationDetails reservation; + + public Builder reservation(CreateReservationDetails reservation) { + this.reservation = reservation; + this.__explicitlySet__.add("reservation"); + return this; + } /** Name of the service managed fleet. */ @com.fasterxml.jackson.annotation.JsonProperty("name") private String name; @@ -73,7 +82,7 @@ public Builder maxConcurrentTasks(Integer maxConcurrentTasks) { public CreateServiceManagedFleetDetails build() { CreateServiceManagedFleetDetails model = new CreateServiceManagedFleetDetails( - this.name, this.shape, this.maxConcurrentTasks); + this.reservation, this.name, this.shape, this.maxConcurrentTasks); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -82,6 +91,9 @@ public CreateServiceManagedFleetDetails build() { @com.fasterxml.jackson.annotation.JsonIgnore public Builder copy(CreateServiceManagedFleetDetails model) { + if (model.wasPropertyExplicitlySet("reservation")) { + this.reservation(model.getReservation()); + } if (model.wasPropertyExplicitlySet("name")) { this.name(model.getName()); } @@ -106,13 +118,24 @@ public Builder toBuilder() { @Deprecated public CreateServiceManagedFleetDetails( - String name, FleetShape shape, Integer maxConcurrentTasks) { + CreateReservationDetails reservation, + String name, + FleetShape shape, + Integer maxConcurrentTasks) { super(); + this.reservation = reservation; this.name = name; this.shape = shape; this.maxConcurrentTasks = maxConcurrentTasks; } + @com.fasterxml.jackson.annotation.JsonProperty("reservation") + private final CreateReservationDetails reservation; + + public CreateReservationDetails getReservation() { + return reservation; + } + /** Name of the service managed fleet. */ @com.fasterxml.jackson.annotation.JsonProperty("name") private final String name; @@ -161,6 +184,7 @@ public String toString(boolean includeByteArrayContents) { java.lang.StringBuilder sb = new java.lang.StringBuilder(); sb.append("CreateServiceManagedFleetDetails("); sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", reservation=").append(String.valueOf(this.reservation)); sb.append(", name=").append(String.valueOf(this.name)); sb.append(", shape=").append(String.valueOf(this.shape)); sb.append(", maxConcurrentTasks=").append(String.valueOf(this.maxConcurrentTasks)); @@ -178,7 +202,8 @@ public boolean equals(Object o) { } CreateServiceManagedFleetDetails other = (CreateServiceManagedFleetDetails) o; - return java.util.Objects.equals(this.name, other.name) + return java.util.Objects.equals(this.reservation, other.reservation) + && java.util.Objects.equals(this.name, other.name) && java.util.Objects.equals(this.shape, other.shape) && java.util.Objects.equals(this.maxConcurrentTasks, other.maxConcurrentTasks) && super.equals(other); @@ -188,6 +213,7 @@ public boolean equals(Object o) { public int hashCode() { final int PRIME = 59; int result = super.hashCode(); + result = (result * PRIME) + (this.reservation == null ? 43 : this.reservation.hashCode()); result = (result * PRIME) + (this.name == null ? 43 : this.name.hashCode()); result = (result * PRIME) + (this.shape == null ? 43 : this.shape.hashCode()); result = diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateServiceManagedGpuFleetDetails.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateServiceManagedGpuFleetDetails.java index fca2a7825a5..8a779849429 100644 --- a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateServiceManagedGpuFleetDetails.java +++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateServiceManagedGpuFleetDetails.java @@ -27,6 +27,15 @@ public final class CreateServiceManagedGpuFleetDetails extends CreateFleetDetails { @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { + + @com.fasterxml.jackson.annotation.JsonProperty("reservation") + private CreateReservationDetails reservation; + + public Builder reservation(CreateReservationDetails reservation) { + this.reservation = reservation; + this.__explicitlySet__.add("reservation"); + return this; + } /** Name of the service managed GPU fleet. */ @com.fasterxml.jackson.annotation.JsonProperty("name") private String name; @@ -73,7 +82,7 @@ public Builder maxConcurrentTasks(Integer maxConcurrentTasks) { public CreateServiceManagedGpuFleetDetails build() { CreateServiceManagedGpuFleetDetails model = new CreateServiceManagedGpuFleetDetails( - this.name, this.shape, this.maxConcurrentTasks); + this.reservation, this.name, this.shape, this.maxConcurrentTasks); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -82,6 +91,9 @@ public CreateServiceManagedGpuFleetDetails build() { @com.fasterxml.jackson.annotation.JsonIgnore public Builder copy(CreateServiceManagedGpuFleetDetails model) { + if (model.wasPropertyExplicitlySet("reservation")) { + this.reservation(model.getReservation()); + } if (model.wasPropertyExplicitlySet("name")) { this.name(model.getName()); } @@ -106,13 +118,24 @@ public Builder toBuilder() { @Deprecated public CreateServiceManagedGpuFleetDetails( - String name, CreateGpuFleetShapeDetails shape, Integer maxConcurrentTasks) { + CreateReservationDetails reservation, + String name, + CreateGpuFleetShapeDetails shape, + Integer maxConcurrentTasks) { super(); + this.reservation = reservation; this.name = name; this.shape = shape; this.maxConcurrentTasks = maxConcurrentTasks; } + @com.fasterxml.jackson.annotation.JsonProperty("reservation") + private final CreateReservationDetails reservation; + + public CreateReservationDetails getReservation() { + return reservation; + } + /** Name of the service managed GPU fleet. */ @com.fasterxml.jackson.annotation.JsonProperty("name") private final String name; @@ -161,6 +184,7 @@ public String toString(boolean includeByteArrayContents) { java.lang.StringBuilder sb = new java.lang.StringBuilder(); sb.append("CreateServiceManagedGpuFleetDetails("); sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", reservation=").append(String.valueOf(this.reservation)); sb.append(", name=").append(String.valueOf(this.name)); sb.append(", shape=").append(String.valueOf(this.shape)); sb.append(", maxConcurrentTasks=").append(String.valueOf(this.maxConcurrentTasks)); @@ -178,7 +202,8 @@ public boolean equals(Object o) { } CreateServiceManagedGpuFleetDetails other = (CreateServiceManagedGpuFleetDetails) o; - return java.util.Objects.equals(this.name, other.name) + return java.util.Objects.equals(this.reservation, other.reservation) + && java.util.Objects.equals(this.name, other.name) && java.util.Objects.equals(this.shape, other.shape) && java.util.Objects.equals(this.maxConcurrentTasks, other.maxConcurrentTasks) && super.equals(other); @@ -188,6 +213,7 @@ public boolean equals(Object o) { public int hashCode() { final int PRIME = 59; int result = super.hashCode(); + result = (result * PRIME) + (this.reservation == null ? 43 : this.reservation.hashCode()); result = (result * PRIME) + (this.name == null ? 43 : this.name.hashCode()); result = (result * PRIME) + (this.shape == null ? 43 : this.shape.hashCode()); result = diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/Reservation.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/Reservation.java new file mode 100644 index 00000000000..e699f082e97 --- /dev/null +++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/Reservation.java @@ -0,0 +1,121 @@ +/** + * Copyright (c) 2016, 2026, 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.batch.model; + +/** + * Reservation selection used for initial fleet provisioning.
+ * 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: 20251031") +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "type", + defaultImpl = Reservation.class) +@com.fasterxml.jackson.annotation.JsonSubTypes({ + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = ComputeCapacityReservation.class, + name = "COMPUTE_CAPACITY_RESERVATION") +}) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public class Reservation extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({}) + protected Reservation() { + super(); + } + + @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("Reservation("); + sb.append("super=").append(super.toString()); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof Reservation)) { + return false; + } + + Reservation other = (Reservation) o; + return super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + super.hashCode(); + return result; + } + + /** Type of reservation. Discriminator for reservation subtypes. */ + public enum Type implements com.oracle.bmc.http.internal.BmcEnum { + ComputeCapacityReservation("COMPUTE_CAPACITY_RESERVATION"), + + /** + * 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(Type.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (Type v : Type.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + Type(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static Type create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'Type', returning UnknownEnumValue", key); + return UnknownEnumValue; + } + }; +} diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/ServiceManagedFleet.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/ServiceManagedFleet.java index 76f17f58756..a85781a7204 100644 --- a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/ServiceManagedFleet.java +++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/ServiceManagedFleet.java @@ -27,6 +27,15 @@ public final class ServiceManagedFleet extends Fleet { @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { + + @com.fasterxml.jackson.annotation.JsonProperty("reservation") + private Reservation reservation; + + public Builder reservation(Reservation reservation) { + this.reservation = reservation; + this.__explicitlySet__.add("reservation"); + return this; + } /** Name of the service managed fleet. */ @com.fasterxml.jackson.annotation.JsonProperty("name") private String name; @@ -107,6 +116,7 @@ public Builder details(String details) { public ServiceManagedFleet build() { ServiceManagedFleet model = new ServiceManagedFleet( + this.reservation, this.name, this.shape, this.maxConcurrentTasks, @@ -120,6 +130,9 @@ public ServiceManagedFleet build() { @com.fasterxml.jackson.annotation.JsonIgnore public Builder copy(ServiceManagedFleet model) { + if (model.wasPropertyExplicitlySet("reservation")) { + this.reservation(model.getReservation()); + } if (model.wasPropertyExplicitlySet("name")) { this.name(model.getName()); } @@ -150,12 +163,14 @@ public Builder toBuilder() { @Deprecated public ServiceManagedFleet( + Reservation reservation, String name, FleetShape shape, Integer maxConcurrentTasks, String state, String details) { super(); + this.reservation = reservation; this.name = name; this.shape = shape; this.maxConcurrentTasks = maxConcurrentTasks; @@ -163,6 +178,13 @@ public ServiceManagedFleet( this.details = details; } + @com.fasterxml.jackson.annotation.JsonProperty("reservation") + private final Reservation reservation; + + public Reservation getReservation() { + return reservation; + } + /** Name of the service managed fleet. */ @com.fasterxml.jackson.annotation.JsonProperty("name") private final String name; @@ -241,6 +263,7 @@ public String toString(boolean includeByteArrayContents) { java.lang.StringBuilder sb = new java.lang.StringBuilder(); sb.append("ServiceManagedFleet("); sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", reservation=").append(String.valueOf(this.reservation)); sb.append(", name=").append(String.valueOf(this.name)); sb.append(", shape=").append(String.valueOf(this.shape)); sb.append(", maxConcurrentTasks=").append(String.valueOf(this.maxConcurrentTasks)); @@ -260,7 +283,8 @@ public boolean equals(Object o) { } ServiceManagedFleet other = (ServiceManagedFleet) o; - return java.util.Objects.equals(this.name, other.name) + return java.util.Objects.equals(this.reservation, other.reservation) + && java.util.Objects.equals(this.name, other.name) && java.util.Objects.equals(this.shape, other.shape) && java.util.Objects.equals(this.maxConcurrentTasks, other.maxConcurrentTasks) && java.util.Objects.equals(this.state, other.state) @@ -272,6 +296,7 @@ public boolean equals(Object o) { public int hashCode() { final int PRIME = 59; int result = super.hashCode(); + result = (result * PRIME) + (this.reservation == null ? 43 : this.reservation.hashCode()); result = (result * PRIME) + (this.name == null ? 43 : this.name.hashCode()); result = (result * PRIME) + (this.shape == null ? 43 : this.shape.hashCode()); result = diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/ServiceManagedGpuFleet.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/ServiceManagedGpuFleet.java index 40657df24bb..5497e125a31 100644 --- a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/ServiceManagedGpuFleet.java +++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/ServiceManagedGpuFleet.java @@ -27,6 +27,15 @@ public final class ServiceManagedGpuFleet extends Fleet { @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { + + @com.fasterxml.jackson.annotation.JsonProperty("reservation") + private Reservation reservation; + + public Builder reservation(Reservation reservation) { + this.reservation = reservation; + this.__explicitlySet__.add("reservation"); + return this; + } /** Name of the service managed GPU fleet. */ @com.fasterxml.jackson.annotation.JsonProperty("name") private String name; @@ -107,6 +116,7 @@ public Builder details(String details) { public ServiceManagedGpuFleet build() { ServiceManagedGpuFleet model = new ServiceManagedGpuFleet( + this.reservation, this.name, this.shape, this.maxConcurrentTasks, @@ -120,6 +130,9 @@ public ServiceManagedGpuFleet build() { @com.fasterxml.jackson.annotation.JsonIgnore public Builder copy(ServiceManagedGpuFleet model) { + if (model.wasPropertyExplicitlySet("reservation")) { + this.reservation(model.getReservation()); + } if (model.wasPropertyExplicitlySet("name")) { this.name(model.getName()); } @@ -150,12 +163,14 @@ public Builder toBuilder() { @Deprecated public ServiceManagedGpuFleet( + Reservation reservation, String name, GpuFleetShape shape, Integer maxConcurrentTasks, String state, String details) { super(); + this.reservation = reservation; this.name = name; this.shape = shape; this.maxConcurrentTasks = maxConcurrentTasks; @@ -163,6 +178,13 @@ public ServiceManagedGpuFleet( this.details = details; } + @com.fasterxml.jackson.annotation.JsonProperty("reservation") + private final Reservation reservation; + + public Reservation getReservation() { + return reservation; + } + /** Name of the service managed GPU fleet. */ @com.fasterxml.jackson.annotation.JsonProperty("name") private final String name; @@ -241,6 +263,7 @@ public String toString(boolean includeByteArrayContents) { java.lang.StringBuilder sb = new java.lang.StringBuilder(); sb.append("ServiceManagedGpuFleet("); sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", reservation=").append(String.valueOf(this.reservation)); sb.append(", name=").append(String.valueOf(this.name)); sb.append(", shape=").append(String.valueOf(this.shape)); sb.append(", maxConcurrentTasks=").append(String.valueOf(this.maxConcurrentTasks)); @@ -260,7 +283,8 @@ public boolean equals(Object o) { } ServiceManagedGpuFleet other = (ServiceManagedGpuFleet) o; - return java.util.Objects.equals(this.name, other.name) + return java.util.Objects.equals(this.reservation, other.reservation) + && java.util.Objects.equals(this.name, other.name) && java.util.Objects.equals(this.shape, other.shape) && java.util.Objects.equals(this.maxConcurrentTasks, other.maxConcurrentTasks) && java.util.Objects.equals(this.state, other.state) @@ -272,6 +296,7 @@ public boolean equals(Object o) { public int hashCode() { final int PRIME = 59; int result = super.hashCode(); + result = (result * PRIME) + (this.reservation == null ? 43 : this.reservation.hashCode()); result = (result * PRIME) + (this.name == null ? 43 : this.name.hashCode()); result = (result * PRIME) + (this.shape == null ? 43 : this.shape.hashCode()); result = diff --git a/bmc-batch/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-batch/reflect-config.json b/bmc-batch/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-batch/reflect-config.json index e631ae74600..6e1ad340186 100644 --- a/bmc-batch/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-batch/reflect-config.json +++ b/bmc-batch/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-batch/reflect-config.json @@ -448,6 +448,20 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.batch.model.ComputeCapacityReservation", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.batch.model.ComputeCapacityReservation$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.batch.model.ComputeTask", @@ -634,6 +648,20 @@ "allDeclaredFields": true, "allDeclaredMethods": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.batch.model.CreateComputeCapacityReservationDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.batch.model.CreateComputeCapacityReservationDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.batch.model.CreateComputeTaskDetails", @@ -764,6 +792,19 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.batch.model.CreateReservationDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.batch.model.CreateReservationDetails$Type", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.batch.model.CreateServiceManagedFleetDetails", @@ -1079,6 +1120,19 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.batch.model.Reservation", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.batch.model.Reservation$Type", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.batch.model.SecurityContext", diff --git a/bmc-bds/pom.xml b/bmc-bds/pom.xml index 852033ca0dd..b69904741dc 100644 --- a/bmc-bds/pom.xml +++ b/bmc-bds/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-bds @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-blockchain/pom.xml b/bmc-blockchain/pom.xml index 1a7700531c1..4fb59bf0ca8 100644 --- a/bmc-blockchain/pom.xml +++ b/bmc-blockchain/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-blockchain @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-bom/pom.xml b/bmc-bom/pom.xml index 77693edcdc1..4f429faa6bf 100644 --- a/bmc-bom/pom.xml +++ b/bmc-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.oracle.oci.sdk - 3.102.0 + 3.103.0 oci-java-sdk-bom pom Oracle Cloud Infrastructure SDK - BOM @@ -38,1153 +38,1153 @@ com.oracle.oci.sdk oci-java-sdk-circuitbreaker - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-common-httpclient - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey3 - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-enforcer-rules - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-shaded-full - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-audit - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-containerengine - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-core - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-database - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-dns - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-email - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-objectstorage-generated - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-objectstorage-extensions - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-filestorage - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-identity - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-loadbalancer - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-objectstorage - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-addons-apache-configurator-jersey - 3.102.0 + 3.103.0 com.oracle.oci.sdk oci-java-sdk-addons-apache-configurator-jersey3 - 3.102.0 + 3.103.0 com.oracle.oci.sdk oci-java-sdk-addons-resteasy-client-configurator - 3.102.0 + 3.103.0 com.oracle.oci.sdk oci-java-sdk-addons-sasl - 3.102.0 + 3.103.0 com.oracle.oci.sdk oci-java-sdk-addons-oke-workload-identity - 3.102.0 + 3.103.0 com.oracle.oci.sdk oci-java-sdk-addons-sasl-oke-workload-identity - 3.102.0 + 3.103.0 com.oracle.oci.sdk oci-java-sdk-addons-aispeech-realtime - 3.102.0 + 3.103.0 com.oracle.oci.sdk oci-java-sdk-resourcesearch - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-addons-apache - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-keymanagement - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-announcementsservice - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-healthchecks - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-waas - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-streaming - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-resourcemanager - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-monitoring - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-ons - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-autoscaling - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-budget - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-workrequests - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-limits - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-functions - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-events - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-oce - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-oda - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-analytics - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-integration - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-marketplace - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-apigateway - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-datacatalog - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-dataflow - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-datascience - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-nosql - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-secrets - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-vault - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-bds - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-encryption - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-cims - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-datasafe - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-mysql - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-dataintegration - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-ocvp - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-usageapi - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-blockchain - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-loggingingestion - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-logging - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-loganalytics - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-managementdashboard - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-sch - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-loggingsearch - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-managementagent - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-cloudguard - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-opsi - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-computeinstanceagent - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-optimizer - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-tenantmanagercontrolplane - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-rover - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-databasemanagement - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-artifacts - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-apmsynthetics - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-goldengate - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-apmcontrolplane - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-apmtraces - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-networkloadbalancer - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-vulnerabilityscanning - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-databasemigration - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-servicecatalog - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-ailanguage - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-operatoraccesscontrol - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-bastion - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-genericartifactscontent - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-jms - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-devops - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-datalabelingservice - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-datalabelingservicedataplane - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-apmconfig - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-waf - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-certificates - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-certificatesmanagement - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-usage - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-databasetools - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-servicemanagerproxy - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-appmgmtcontrol - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-ospgateway - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-identitydataplane - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-visualbuilder - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-osubusage - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-osubsubscription - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-osuborganizationsubscription - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-osubbillingschedule - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-dashboardservice - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-threatintelligence - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-aivision - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-aispeech - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-stackmonitoring - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-adm - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-licensemanager - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-onesubscription - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-governancerulescontrolplane - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-waa - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-networkfirewall - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-vnmonitoring - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-emwarehouse - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-lockbox - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-fusionapps - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-mediaservices - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-opa - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-opensearch - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-cloudmigrations - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-cloudbridge - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-disasterrecovery - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-containerinstances - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-aidocument - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-queue - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-recovery - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-vbsinst - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-identitydomains - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-accessgovernancecp - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-ocicontrolcenter - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-osmanagementhub - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-fleetsoftwareupdate - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-computecloudatcustomer - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-marketplacepublisher - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-redis - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-jmsjavadownloads - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-psql - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-generativeai - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-generativeaiinference - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-capacitymanagement - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-desktops - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-emaildataplane - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-clusterplacementgroups - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-resourcescheduler - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-demandsignal - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-fleetappsmanagement - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-delegateaccesscontrol - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-generativeaiagent - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-generativeaiagentruntime - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-securityattribute - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-zpr - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-dblm - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-mngdmac - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-lustrefilestorage - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-modeldeployment - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-apiaccesscontrol - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-wlms - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-addons-adk - 3.102.0 + 3.103.0 com.oracle.oci.sdk oci-java-sdk-dbmulticloud - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-apiplatform - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-managedkafka - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-aidataplatform - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-multicloud - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-resourceanalytics - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-jmsutils - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-iot - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-psa - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-dif - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-batch - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-marketplaceprivateoffer - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-gdp - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-limitsincrease - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-generativeaidata - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-self - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-containerregistry - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-databasetoolsruntime - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-costad - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-datacc - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-ddfs - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-clusterhealth - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-distributeddatabase - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-ociproductcatalog - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-ccdoffers - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-pss - 3.102.0 + 3.103.0 false com.oracle.oci.sdk oci-java-sdk-generativeaisandbox - 3.102.0 + 3.103.0 false diff --git a/bmc-budget/pom.xml b/bmc-budget/pom.xml index dade30e7a3b..93832036fbe 100644 --- a/bmc-budget/pom.xml +++ b/bmc-budget/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-budget @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-capacitymanagement/pom.xml b/bmc-capacitymanagement/pom.xml index 76bf2fa2776..deecf6f08b9 100644 --- a/bmc-capacitymanagement/pom.xml +++ b/bmc-capacitymanagement/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-capacitymanagement @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-ccdoffers/pom.xml b/bmc-ccdoffers/pom.xml index 879d1310112..1b939d7b436 100644 --- a/bmc-ccdoffers/pom.xml +++ b/bmc-ccdoffers/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-ccdoffers @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-certificates/pom.xml b/bmc-certificates/pom.xml index e5c4127a286..71e5d3ac412 100644 --- a/bmc-certificates/pom.xml +++ b/bmc-certificates/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-certificates @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-certificatesmanagement/pom.xml b/bmc-certificatesmanagement/pom.xml index d76ba4707f8..c095753d6ec 100644 --- a/bmc-certificatesmanagement/pom.xml +++ b/bmc-certificatesmanagement/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-certificatesmanagement @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-cims/pom.xml b/bmc-cims/pom.xml index 0488d046cb8..dec838ec430 100644 --- a/bmc-cims/pom.xml +++ b/bmc-cims/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-cims @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-circuitbreaker/pom.xml b/bmc-circuitbreaker/pom.xml index c90d4f5857e..e21fb38507c 100644 --- a/bmc-circuitbreaker/pom.xml +++ b/bmc-circuitbreaker/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-circuitbreaker diff --git a/bmc-cloudbridge/pom.xml b/bmc-cloudbridge/pom.xml index 76fd729169b..c921a725f83 100644 --- a/bmc-cloudbridge/pom.xml +++ b/bmc-cloudbridge/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-cloudbridge @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-cloudguard/pom.xml b/bmc-cloudguard/pom.xml index 0da87068828..83394a0eced 100644 --- a/bmc-cloudguard/pom.xml +++ b/bmc-cloudguard/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-cloudguard @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-cloudmigrations/pom.xml b/bmc-cloudmigrations/pom.xml index 82c4c8f683b..2ed61a800e8 100644 --- a/bmc-cloudmigrations/pom.xml +++ b/bmc-cloudmigrations/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-cloudmigrations @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-clusterhealth/pom.xml b/bmc-clusterhealth/pom.xml index fb6575f703b..1389661c1ce 100644 --- a/bmc-clusterhealth/pom.xml +++ b/bmc-clusterhealth/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-clusterhealth @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-clusterplacementgroups/pom.xml b/bmc-clusterplacementgroups/pom.xml index e4882f9d809..ceacdfcce03 100644 --- a/bmc-clusterplacementgroups/pom.xml +++ b/bmc-clusterplacementgroups/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-clusterplacementgroups @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-common-httpclient-choices/bmc-common-httpclient-jersey/pom.xml b/bmc-common-httpclient-choices/bmc-common-httpclient-jersey/pom.xml index a432a3c3a0e..f59b4836539 100644 --- a/bmc-common-httpclient-choices/bmc-common-httpclient-jersey/pom.xml +++ b/bmc-common-httpclient-choices/bmc-common-httpclient-jersey/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk-common-httpclient-choices - 3.102.0 + 3.103.0 ../pom.xml @@ -93,7 +93,7 @@ com.oracle.oci.sdk oci-java-sdk-addons-apache-configurator-jersey - 3.102.0 + 3.103.0 @@ -102,7 +102,7 @@ com.oracle.oci.sdk oci-java-sdk-common-httpclient - 3.102.0 + 3.103.0 org.glassfish.jersey.core diff --git a/bmc-common-httpclient-choices/bmc-common-httpclient-jersey3/pom.xml b/bmc-common-httpclient-choices/bmc-common-httpclient-jersey3/pom.xml index e2c8e7befdc..3c4f5482c45 100644 --- a/bmc-common-httpclient-choices/bmc-common-httpclient-jersey3/pom.xml +++ b/bmc-common-httpclient-choices/bmc-common-httpclient-jersey3/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk-common-httpclient-choices - 3.102.0 + 3.103.0 ../pom.xml @@ -93,7 +93,7 @@ com.oracle.oci.sdk oci-java-sdk-addons-apache-configurator-jersey3 - 3.102.0 + 3.103.0 @@ -102,7 +102,7 @@ com.oracle.oci.sdk oci-java-sdk-common-httpclient - 3.102.0 + 3.103.0 jakarta.ws.rs diff --git a/bmc-common-httpclient-choices/pom.xml b/bmc-common-httpclient-choices/pom.xml index ce67e3cb1c1..53fc9099845 100644 --- a/bmc-common-httpclient-choices/pom.xml +++ b/bmc-common-httpclient-choices/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml diff --git a/bmc-common-httpclient/pom.xml b/bmc-common-httpclient/pom.xml index d91e2d93c79..b908f5b82d3 100644 --- a/bmc-common-httpclient/pom.xml +++ b/bmc-common-httpclient/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml diff --git a/bmc-common/pom.xml b/bmc-common/pom.xml index 4252a745f21..173f29aec70 100644 --- a/bmc-common/pom.xml +++ b/bmc-common/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml @@ -98,12 +98,12 @@ com.oracle.oci.sdk oci-java-sdk-circuitbreaker - 3.102.0 + 3.103.0 com.oracle.oci.sdk oci-java-sdk-common-httpclient - 3.102.0 + 3.103.0 @@ -148,7 +148,7 @@ com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.102.0 + 3.103.0 test diff --git a/bmc-computecloudatcustomer/pom.xml b/bmc-computecloudatcustomer/pom.xml index 7ada9ee64e3..c62067cc6e3 100644 --- a/bmc-computecloudatcustomer/pom.xml +++ b/bmc-computecloudatcustomer/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-computecloudatcustomer @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-computeinstanceagent/pom.xml b/bmc-computeinstanceagent/pom.xml index 59e2c8f9712..8b672a28e99 100644 --- a/bmc-computeinstanceagent/pom.xml +++ b/bmc-computeinstanceagent/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-computeinstanceagent @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-containerengine/pom.xml b/bmc-containerengine/pom.xml index 89ec5962eb7..ebba35a2b90 100644 --- a/bmc-containerengine/pom.xml +++ b/bmc-containerengine/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 diff --git a/bmc-containerinstances/pom.xml b/bmc-containerinstances/pom.xml index 95382dea3b9..6ed7d0d1542 100644 --- a/bmc-containerinstances/pom.xml +++ b/bmc-containerinstances/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-containerinstances @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-containerregistry/pom.xml b/bmc-containerregistry/pom.xml index 712c688eb10..a737f68b5ce 100644 --- a/bmc-containerregistry/pom.xml +++ b/bmc-containerregistry/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-containerregistry @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-core/pom.xml b/bmc-core/pom.xml index 5be6eceae1c..c1b220f9fd0 100644 --- a/bmc-core/pom.xml +++ b/bmc-core/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml @@ -18,12 +18,12 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 com.oracle.oci.sdk oci-java-sdk-workrequests - 3.102.0 + 3.103.0 diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/Blockstorage.java b/bmc-core/src/main/java/com/oracle/bmc/core/Blockstorage.java index 6ae6a3dcd0b..c49fcd4dafd 100644 --- a/bmc-core/src/main/java/com/oracle/bmc/core/Blockstorage.java +++ b/bmc-core/src/main/java/com/oracle/bmc/core/Blockstorage.java @@ -17,6 +17,11 @@ * Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) * article. * + *

The Core Services API provides both IPv4-only and dual-stack (IPv4 and IPv6) endpoints. By + * default, OCI-published SDKs and the CLI use IPv4-only endpoints. Use a dual-stack endpoint to + * connect over IPv6 while retaining IPv4 compatibility. Dual-stack endpoints use the following + * format: https://{service}.{region}.ds.oci.{secondLevelDomain}. + * *

This service client uses CircuitBreakerUtils.DEFAULT_CIRCUIT_BREAKER for all the operations by * default if no circuit breaker configuration is defined by the user. */ diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/BlockstorageAsync.java b/bmc-core/src/main/java/com/oracle/bmc/core/BlockstorageAsync.java index b38e8177927..c24f07d8cf6 100644 --- a/bmc-core/src/main/java/com/oracle/bmc/core/BlockstorageAsync.java +++ b/bmc-core/src/main/java/com/oracle/bmc/core/BlockstorageAsync.java @@ -16,6 +16,11 @@ * permissions are documented in the [Details for the Core * Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) * article. + * + *

The Core Services API provides both IPv4-only and dual-stack (IPv4 and IPv6) endpoints. By + * default, OCI-published SDKs and the CLI use IPv4-only endpoints. Use a dual-stack endpoint to + * connect over IPv6 while retaining IPv4 compatibility. Dual-stack endpoints use the following + * format: https://{service}.{region}.ds.oci.{secondLevelDomain}. */ @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") public interface BlockstorageAsync extends AutoCloseable { diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/Compute.java b/bmc-core/src/main/java/com/oracle/bmc/core/Compute.java index 8d3a54a7dc7..d9c9192bc88 100644 --- a/bmc-core/src/main/java/com/oracle/bmc/core/Compute.java +++ b/bmc-core/src/main/java/com/oracle/bmc/core/Compute.java @@ -17,6 +17,11 @@ * Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) * article. * + *

The Core Services API provides both IPv4-only and dual-stack (IPv4 and IPv6) endpoints. By + * default, OCI-published SDKs and the CLI use IPv4-only endpoints. Use a dual-stack endpoint to + * connect over IPv6 while retaining IPv4 compatibility. Dual-stack endpoints use the following + * format: https://{service}.{region}.ds.oci.{secondLevelDomain}. + * *

This service client does not use circuit breakers by default if the user has not defined a * circuit breaker configuration. */ diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/ComputeAsync.java b/bmc-core/src/main/java/com/oracle/bmc/core/ComputeAsync.java index 10b652ed890..afb37ca2c8b 100644 --- a/bmc-core/src/main/java/com/oracle/bmc/core/ComputeAsync.java +++ b/bmc-core/src/main/java/com/oracle/bmc/core/ComputeAsync.java @@ -16,6 +16,11 @@ * permissions are documented in the [Details for the Core * Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) * article. + * + *

The Core Services API provides both IPv4-only and dual-stack (IPv4 and IPv6) endpoints. By + * default, OCI-published SDKs and the CLI use IPv4-only endpoints. Use a dual-stack endpoint to + * connect over IPv6 while retaining IPv4 compatibility. Dual-stack endpoints use the following + * format: https://{service}.{region}.ds.oci.{secondLevelDomain}. */ @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") public interface ComputeAsync extends AutoCloseable { diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagement.java b/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagement.java index 4a11e766f66..4bf99b26f44 100644 --- a/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagement.java +++ b/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagement.java @@ -17,6 +17,11 @@ * Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) * article. * + *

The Core Services API provides both IPv4-only and dual-stack (IPv4 and IPv6) endpoints. By + * default, OCI-published SDKs and the CLI use IPv4-only endpoints. Use a dual-stack endpoint to + * connect over IPv6 while retaining IPv4 compatibility. Dual-stack endpoints use the following + * format: https://{service}.{region}.ds.oci.{secondLevelDomain}. + * *

This service client uses CircuitBreakerUtils.DEFAULT_CIRCUIT_BREAKER for all the operations by * default if no circuit breaker configuration is defined by the user. */ @@ -117,6 +122,24 @@ AttachInstancePoolInstanceResponse attachInstancePoolInstance( */ AttachLoadBalancerResponse attachLoadBalancer(AttachLoadBalancerRequest request); + /** + * Cancels the specified instance pool refresh. Cancellation stops new batch planning and new + * launch submissions. Submitted launch and terminate operations continue until they settle. + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation uses + * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is + * provided. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use + * CancelInstancePoolRefresh API. + */ + CancelInstancePoolRefreshResponse cancelInstancePoolRefresh( + CancelInstancePoolRefreshRequest request); + /** * Moves a [cluster network with instance * pools](https://docs.oracle.com/iaas/Content/Compute/Tasks/managingclusternetworks.htm) into a @@ -399,6 +422,22 @@ GetInstanceConfigurationResponse getInstanceConfiguration( GetInstancePoolLoadBalancerAttachmentResponse getInstancePoolLoadBalancerAttachment( GetInstancePoolLoadBalancerAttachmentRequest request); + /** + * Gets the specified instance pool refresh. + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation uses + * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is + * provided. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use + * GetInstancePoolRefresh API. + */ + GetInstancePoolRefreshResponse getInstancePoolRefresh(GetInstancePoolRefreshRequest request); + /** * Creates an instance from an instance configuration. * @@ -495,6 +534,23 @@ ListInstanceConfigurationsResponse listInstanceConfigurations( ListInstancePoolInstancesResponse listInstancePoolInstances( ListInstancePoolInstancesRequest request); + /** + * Lists the instance pool refreshes for the specified instance pool. + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation uses + * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is + * provided. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use + * ListInstancePoolRefreshes API. + */ + ListInstancePoolRefreshesResponse listInstancePoolRefreshes( + ListInstancePoolRefreshesRequest request); + /** * Lists the instance pools in the specified compartment. * @@ -511,6 +567,22 @@ ListInstancePoolInstancesResponse listInstancePoolInstances( */ ListInstancePoolsResponse listInstancePools(ListInstancePoolsRequest request); + /** + * Starts an instance refresh for the specified instance pool. + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation uses + * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is + * provided. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use RefreshInstancePool + * API. + */ + RefreshInstancePoolResponse refreshInstancePool(RefreshInstancePoolRequest request); + /** * Performs the reset (immediate power off and power on) action on the specified instance pool, * which performs the action on all the instances in the pool. diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagementAsync.java b/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagementAsync.java index 362339b7b98..f6cd9bd278d 100644 --- a/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagementAsync.java +++ b/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagementAsync.java @@ -16,6 +16,11 @@ * permissions are documented in the [Details for the Core * Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) * article. + * + *

The Core Services API provides both IPv4-only and dual-stack (IPv4 and IPv6) endpoints. By + * default, OCI-published SDKs and the CLI use IPv4-only endpoints. Use a dual-stack endpoint to + * connect over IPv6 while retaining IPv4 compatibility. Dual-stack endpoints use the following + * format: https://{service}.{region}.ds.oci.{secondLevelDomain}. */ @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") public interface ComputeManagementAsync extends AutoCloseable { @@ -113,6 +118,23 @@ java.util.concurrent.Future attachLoadBalancer( AttachLoadBalancerRequest, AttachLoadBalancerResponse> handler); + /** + * Cancels the specified instance pool refresh. Cancellation stops new batch planning and new + * launch submissions. Submitted launch and terminate operations continue until they settle. + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future cancelInstancePoolRefresh( + CancelInstancePoolRefreshRequest request, + com.oracle.bmc.responses.AsyncHandler< + CancelInstancePoolRefreshRequest, CancelInstancePoolRefreshResponse> + handler); + /** * Moves a [cluster network with instance * pools](https://docs.oracle.com/iaas/Content/Compute/Tasks/managingclusternetworks.htm) into a @@ -396,6 +418,22 @@ java.util.concurrent.Future getInstancePoolInst GetInstancePoolLoadBalancerAttachmentResponse> handler); + /** + * Gets the specified instance pool refresh. + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future getInstancePoolRefresh( + GetInstancePoolRefreshRequest request, + com.oracle.bmc.responses.AsyncHandler< + GetInstancePoolRefreshRequest, GetInstancePoolRefreshResponse> + handler); + /** * Creates an instance from an instance configuration. * @@ -488,6 +526,22 @@ java.util.concurrent.Future listInstancePoolI ListInstancePoolInstancesRequest, ListInstancePoolInstancesResponse> handler); + /** + * Lists the instance pool refreshes for the specified instance pool. + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future listInstancePoolRefreshes( + ListInstancePoolRefreshesRequest request, + com.oracle.bmc.responses.AsyncHandler< + ListInstancePoolRefreshesRequest, ListInstancePoolRefreshesResponse> + handler); + /** * Lists the instance pools in the specified compartment. * @@ -504,6 +558,22 @@ java.util.concurrent.Future listInstancePools( ListInstancePoolsRequest, ListInstancePoolsResponse> handler); + /** + * Starts an instance refresh for the specified instance pool. + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future refreshInstancePool( + RefreshInstancePoolRequest request, + com.oracle.bmc.responses.AsyncHandler< + RefreshInstancePoolRequest, RefreshInstancePoolResponse> + handler); + /** * Performs the reset (immediate power off and power on) action on the specified instance pool, * which performs the action on all the instances in the pool. diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagementAsyncClient.java b/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagementAsyncClient.java index 6968f67ad9f..3123b77b734 100644 --- a/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagementAsyncClient.java +++ b/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagementAsyncClient.java @@ -184,6 +184,53 @@ public java.util.concurrent.Future attachLoadBalance .callAsync(handler); } + @Override + public java.util.concurrent.Future cancelInstancePoolRefresh( + CancelInstancePoolRefreshRequest request, + final com.oracle.bmc.responses.AsyncHandler< + CancelInstancePoolRefreshRequest, CancelInstancePoolRefreshResponse> + handler) { + + Validate.notBlank(request.getInstancePoolId(), "instancePoolId must not be blank"); + + Validate.notBlank(request.getRefreshId(), "refreshId must not be blank"); + Objects.requireNonNull( + request.getCancelInstancePoolRefreshDetails(), + "cancelInstancePoolRefreshDetails is required"); + + java.util.Map requiredParametersMap = new java.util.HashMap<>(); + requiredParametersMap.put("instancePoolId", request.getInstancePoolId()); + requiredParametersMap.put("refreshId", request.getRefreshId()); + + return clientCall(request, CancelInstancePoolRefreshResponse::builder) + .logger(LOG, "cancelInstancePoolRefresh") + .serviceDetails( + "ComputeManagement", + "CancelInstancePoolRefresh", + "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstancePoolRefresh/CancelInstancePoolRefresh") + .requiredParametersMap(requiredParametersMap) + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(CancelInstancePoolRefreshRequest::builder) + .basePath("/20160918") + .appendPathParam("instancePools") + .appendPathParam(request.getInstancePoolId()) + .appendPathParam("refreshes") + .appendPathParam(request.getRefreshId()) + .appendPathParam("actions") + .appendPathParam("cancel") + .accept("application/json") + .appendHeader("opc-request-id", request.getOpcRequestId()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .appendHeader("if-match", request.getIfMatch()) + .hasBody() + .handleResponseHeaderString( + "opc-request-id", CancelInstancePoolRefreshResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-work-request-id", + CancelInstancePoolRefreshResponse.Builder::opcWorkRequestId) + .callAsync(handler); + } + @Override public java.util.concurrent.Future changeClusterNetworkCompartment( @@ -729,6 +776,46 @@ public java.util.concurrent.Future getInstanceP .callAsync(handler); } + @Override + public java.util.concurrent.Future getInstancePoolRefresh( + GetInstancePoolRefreshRequest request, + final com.oracle.bmc.responses.AsyncHandler< + GetInstancePoolRefreshRequest, GetInstancePoolRefreshResponse> + handler) { + + Validate.notBlank(request.getInstancePoolId(), "instancePoolId must not be blank"); + + Validate.notBlank(request.getRefreshId(), "refreshId must not be blank"); + + java.util.Map requiredParametersMap = new java.util.HashMap<>(); + requiredParametersMap.put("instancePoolId", request.getInstancePoolId()); + requiredParametersMap.put("refreshId", request.getRefreshId()); + + return clientCall(request, GetInstancePoolRefreshResponse::builder) + .logger(LOG, "getInstancePoolRefresh") + .serviceDetails( + "ComputeManagement", + "GetInstancePoolRefresh", + "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstancePoolRefresh/GetInstancePoolRefresh") + .requiredParametersMap(requiredParametersMap) + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(GetInstancePoolRefreshRequest::builder) + .basePath("/20160918") + .appendPathParam("instancePools") + .appendPathParam(request.getInstancePoolId()) + .appendPathParam("refreshes") + .appendPathParam(request.getRefreshId()) + .accept("application/json") + .appendHeader("opc-request-id", request.getOpcRequestId()) + .handleBody( + com.oracle.bmc.core.model.InstancePoolRefresh.class, + GetInstancePoolRefreshResponse.Builder::instancePoolRefresh) + .handleResponseHeaderString("etag", GetInstancePoolRefreshResponse.Builder::etag) + .handleResponseHeaderString( + "opc-request-id", GetInstancePoolRefreshResponse.Builder::opcRequestId) + .callAsync(handler); + } + @Override public java.util.concurrent.Future launchInstanceConfiguration( @@ -947,6 +1034,51 @@ public java.util.concurrent.Future listInstan .callAsync(handler); } + @Override + public java.util.concurrent.Future listInstancePoolRefreshes( + ListInstancePoolRefreshesRequest request, + final com.oracle.bmc.responses.AsyncHandler< + ListInstancePoolRefreshesRequest, ListInstancePoolRefreshesResponse> + handler) { + Objects.requireNonNull(request.getCompartmentId(), "compartmentId is required"); + + Validate.notBlank(request.getInstancePoolId(), "instancePoolId must not be blank"); + + java.util.Map requiredParametersMap = new java.util.HashMap<>(); + requiredParametersMap.put("compartmentId", request.getCompartmentId()); + requiredParametersMap.put("instancePoolId", request.getInstancePoolId()); + + return clientCall(request, ListInstancePoolRefreshesResponse::builder) + .logger(LOG, "listInstancePoolRefreshes") + .serviceDetails( + "ComputeManagement", + "ListInstancePoolRefreshes", + "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstancePoolRefreshCollection/ListInstancePoolRefreshes") + .requiredParametersMap(requiredParametersMap) + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(ListInstancePoolRefreshesRequest::builder) + .basePath("/20160918") + .appendPathParam("instancePools") + .appendPathParam(request.getInstancePoolId()) + .appendPathParam("refreshes") + .appendQueryParam("compartmentId", request.getCompartmentId()) + .appendQueryParam("limit", request.getLimit()) + .appendQueryParam("page", request.getPage()) + .appendEnumQueryParam("sortBy", request.getSortBy()) + .appendEnumQueryParam("sortOrder", request.getSortOrder()) + .appendEnumQueryParam("lifecycleState", request.getLifecycleState()) + .accept("application/json") + .appendHeader("opc-request-id", request.getOpcRequestId()) + .handleBody( + com.oracle.bmc.core.model.InstancePoolRefreshCollection.class, + ListInstancePoolRefreshesResponse.Builder::instancePoolRefreshCollection) + .handleResponseHeaderString( + "opc-next-page", ListInstancePoolRefreshesResponse.Builder::opcNextPage) + .handleResponseHeaderString( + "opc-request-id", ListInstancePoolRefreshesResponse.Builder::opcRequestId) + .callAsync(handler); + } + @Override public java.util.concurrent.Future listInstancePools( ListInstancePoolsRequest request, @@ -987,6 +1119,51 @@ public java.util.concurrent.Future listInstancePools( .callAsync(handler); } + @Override + public java.util.concurrent.Future refreshInstancePool( + RefreshInstancePoolRequest request, + final com.oracle.bmc.responses.AsyncHandler< + RefreshInstancePoolRequest, RefreshInstancePoolResponse> + handler) { + + Validate.notBlank(request.getInstancePoolId(), "instancePoolId must not be blank"); + Objects.requireNonNull( + request.getRefreshInstancePoolDetails(), "refreshInstancePoolDetails is required"); + + java.util.Map requiredParametersMap = new java.util.HashMap<>(); + requiredParametersMap.put("instancePoolId", request.getInstancePoolId()); + + return clientCall(request, RefreshInstancePoolResponse::builder) + .logger(LOG, "refreshInstancePool") + .serviceDetails( + "ComputeManagement", + "RefreshInstancePool", + "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstancePoolRefresh/RefreshInstancePool") + .requiredParametersMap(requiredParametersMap) + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(RefreshInstancePoolRequest::builder) + .basePath("/20160918") + .appendPathParam("instancePools") + .appendPathParam(request.getInstancePoolId()) + .appendPathParam("actions") + .appendPathParam("refresh") + .accept("application/json") + .appendHeader("opc-request-id", request.getOpcRequestId()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .appendHeader("if-match", request.getIfMatch()) + .hasBody() + .handleBody( + com.oracle.bmc.core.model.InstancePoolRefresh.class, + RefreshInstancePoolResponse.Builder::instancePoolRefresh) + .handleResponseHeaderString("etag", RefreshInstancePoolResponse.Builder::etag) + .handleResponseHeaderString( + "opc-request-id", RefreshInstancePoolResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-work-request-id", + RefreshInstancePoolResponse.Builder::opcWorkRequestId) + .callAsync(handler); + } + @Override public java.util.concurrent.Future resetInstancePool( ResetInstancePoolRequest request, diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagementClient.java b/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagementClient.java index 13107f36b2f..dc1b3f221c8 100644 --- a/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagementClient.java +++ b/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagementClient.java @@ -205,6 +205,51 @@ public AttachLoadBalancerResponse attachLoadBalancer(AttachLoadBalancerRequest r .callSync(); } + @Override + public CancelInstancePoolRefreshResponse cancelInstancePoolRefresh( + CancelInstancePoolRefreshRequest request) { + + Validate.notBlank(request.getInstancePoolId(), "instancePoolId must not be blank"); + + Validate.notBlank(request.getRefreshId(), "refreshId must not be blank"); + Objects.requireNonNull( + request.getCancelInstancePoolRefreshDetails(), + "cancelInstancePoolRefreshDetails is required"); + + java.util.Map requiredParametersMap = new java.util.HashMap<>(); + requiredParametersMap.put("instancePoolId", request.getInstancePoolId()); + requiredParametersMap.put("refreshId", request.getRefreshId()); + + return clientCall(request, CancelInstancePoolRefreshResponse::builder) + .logger(LOG, "cancelInstancePoolRefresh") + .serviceDetails( + "ComputeManagement", + "CancelInstancePoolRefresh", + "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstancePoolRefresh/CancelInstancePoolRefresh") + .requiredParametersMap(requiredParametersMap) + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(CancelInstancePoolRefreshRequest::builder) + .basePath("/20160918") + .appendPathParam("instancePools") + .appendPathParam(request.getInstancePoolId()) + .appendPathParam("refreshes") + .appendPathParam(request.getRefreshId()) + .appendPathParam("actions") + .appendPathParam("cancel") + .accept("application/json") + .appendHeader("opc-request-id", request.getOpcRequestId()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .appendHeader("if-match", request.getIfMatch()) + .operationUsesDefaultRetries() + .hasBody() + .handleResponseHeaderString( + "opc-request-id", CancelInstancePoolRefreshResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-work-request-id", + CancelInstancePoolRefreshResponse.Builder::opcWorkRequestId) + .callSync(); + } + @Override public ChangeClusterNetworkCompartmentResponse changeClusterNetworkCompartment( ChangeClusterNetworkCompartmentRequest request) { @@ -689,6 +734,44 @@ public GetInstancePoolLoadBalancerAttachmentResponse getInstancePoolLoadBalancer .callSync(); } + @Override + public GetInstancePoolRefreshResponse getInstancePoolRefresh( + GetInstancePoolRefreshRequest request) { + + Validate.notBlank(request.getInstancePoolId(), "instancePoolId must not be blank"); + + Validate.notBlank(request.getRefreshId(), "refreshId must not be blank"); + + java.util.Map requiredParametersMap = new java.util.HashMap<>(); + requiredParametersMap.put("instancePoolId", request.getInstancePoolId()); + requiredParametersMap.put("refreshId", request.getRefreshId()); + + return clientCall(request, GetInstancePoolRefreshResponse::builder) + .logger(LOG, "getInstancePoolRefresh") + .serviceDetails( + "ComputeManagement", + "GetInstancePoolRefresh", + "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstancePoolRefresh/GetInstancePoolRefresh") + .requiredParametersMap(requiredParametersMap) + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(GetInstancePoolRefreshRequest::builder) + .basePath("/20160918") + .appendPathParam("instancePools") + .appendPathParam(request.getInstancePoolId()) + .appendPathParam("refreshes") + .appendPathParam(request.getRefreshId()) + .accept("application/json") + .appendHeader("opc-request-id", request.getOpcRequestId()) + .operationUsesDefaultRetries() + .handleBody( + com.oracle.bmc.core.model.InstancePoolRefresh.class, + GetInstancePoolRefreshResponse.Builder::instancePoolRefresh) + .handleResponseHeaderString("etag", GetInstancePoolRefreshResponse.Builder::etag) + .handleResponseHeaderString( + "opc-request-id", GetInstancePoolRefreshResponse.Builder::opcRequestId) + .callSync(); + } + @Override public LaunchInstanceConfigurationResponse launchInstanceConfiguration( LaunchInstanceConfigurationRequest request) { @@ -885,6 +968,49 @@ public ListInstancePoolInstancesResponse listInstancePoolInstances( .callSync(); } + @Override + public ListInstancePoolRefreshesResponse listInstancePoolRefreshes( + ListInstancePoolRefreshesRequest request) { + Objects.requireNonNull(request.getCompartmentId(), "compartmentId is required"); + + Validate.notBlank(request.getInstancePoolId(), "instancePoolId must not be blank"); + + java.util.Map requiredParametersMap = new java.util.HashMap<>(); + requiredParametersMap.put("compartmentId", request.getCompartmentId()); + requiredParametersMap.put("instancePoolId", request.getInstancePoolId()); + + return clientCall(request, ListInstancePoolRefreshesResponse::builder) + .logger(LOG, "listInstancePoolRefreshes") + .serviceDetails( + "ComputeManagement", + "ListInstancePoolRefreshes", + "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstancePoolRefreshCollection/ListInstancePoolRefreshes") + .requiredParametersMap(requiredParametersMap) + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(ListInstancePoolRefreshesRequest::builder) + .basePath("/20160918") + .appendPathParam("instancePools") + .appendPathParam(request.getInstancePoolId()) + .appendPathParam("refreshes") + .appendQueryParam("compartmentId", request.getCompartmentId()) + .appendQueryParam("limit", request.getLimit()) + .appendQueryParam("page", request.getPage()) + .appendEnumQueryParam("sortBy", request.getSortBy()) + .appendEnumQueryParam("sortOrder", request.getSortOrder()) + .appendEnumQueryParam("lifecycleState", request.getLifecycleState()) + .accept("application/json") + .appendHeader("opc-request-id", request.getOpcRequestId()) + .operationUsesDefaultRetries() + .handleBody( + com.oracle.bmc.core.model.InstancePoolRefreshCollection.class, + ListInstancePoolRefreshesResponse.Builder::instancePoolRefreshCollection) + .handleResponseHeaderString( + "opc-next-page", ListInstancePoolRefreshesResponse.Builder::opcNextPage) + .handleResponseHeaderString( + "opc-request-id", ListInstancePoolRefreshesResponse.Builder::opcRequestId) + .callSync(); + } + @Override public ListInstancePoolsResponse listInstancePools(ListInstancePoolsRequest request) { Objects.requireNonNull(request.getCompartmentId(), "compartmentId is required"); @@ -921,6 +1047,48 @@ public ListInstancePoolsResponse listInstancePools(ListInstancePoolsRequest requ .callSync(); } + @Override + public RefreshInstancePoolResponse refreshInstancePool(RefreshInstancePoolRequest request) { + + Validate.notBlank(request.getInstancePoolId(), "instancePoolId must not be blank"); + Objects.requireNonNull( + request.getRefreshInstancePoolDetails(), "refreshInstancePoolDetails is required"); + + java.util.Map requiredParametersMap = new java.util.HashMap<>(); + requiredParametersMap.put("instancePoolId", request.getInstancePoolId()); + + return clientCall(request, RefreshInstancePoolResponse::builder) + .logger(LOG, "refreshInstancePool") + .serviceDetails( + "ComputeManagement", + "RefreshInstancePool", + "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstancePoolRefresh/RefreshInstancePool") + .requiredParametersMap(requiredParametersMap) + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(RefreshInstancePoolRequest::builder) + .basePath("/20160918") + .appendPathParam("instancePools") + .appendPathParam(request.getInstancePoolId()) + .appendPathParam("actions") + .appendPathParam("refresh") + .accept("application/json") + .appendHeader("opc-request-id", request.getOpcRequestId()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .appendHeader("if-match", request.getIfMatch()) + .operationUsesDefaultRetries() + .hasBody() + .handleBody( + com.oracle.bmc.core.model.InstancePoolRefresh.class, + RefreshInstancePoolResponse.Builder::instancePoolRefresh) + .handleResponseHeaderString("etag", RefreshInstancePoolResponse.Builder::etag) + .handleResponseHeaderString( + "opc-request-id", RefreshInstancePoolResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-work-request-id", + RefreshInstancePoolResponse.Builder::opcWorkRequestId) + .callSync(); + } + @Override public ResetInstancePoolResponse resetInstancePool(ResetInstancePoolRequest request) { diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagementPaginators.java b/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagementPaginators.java index da2654a4158..ac0a9c41737 100644 --- a/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagementPaginators.java +++ b/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagementPaginators.java @@ -529,6 +529,129 @@ public java.util.List apply( }); } + /** + * Creates a new iterable which will iterate over the responses received from the + * listInstancePoolRefreshes operation. This iterable will fetch more data from the server as + * needed. + * + * @param request a request which can be sent to the service operation + * @return an {@link java.lang.Iterable} which can be used to iterate over the responses + * received from the service. + */ + public Iterable listInstancePoolRefreshesResponseIterator( + final ListInstancePoolRefreshesRequest request) { + return new com.oracle.bmc.paginator.internal.ResponseIterable< + ListInstancePoolRefreshesRequest.Builder, + ListInstancePoolRefreshesRequest, + ListInstancePoolRefreshesResponse>( + new java.util.function.Supplier() { + @Override + public ListInstancePoolRefreshesRequest.Builder get() { + return ListInstancePoolRefreshesRequest.builder().copy(request); + } + }, + new java.util.function.Function() { + @Override + public String apply(ListInstancePoolRefreshesResponse response) { + return response.getOpcNextPage(); + } + }, + new java.util.function.Function< + com.oracle.bmc.paginator.internal.RequestBuilderAndToken< + ListInstancePoolRefreshesRequest.Builder>, + ListInstancePoolRefreshesRequest>() { + @Override + public ListInstancePoolRefreshesRequest apply( + com.oracle.bmc.paginator.internal.RequestBuilderAndToken< + ListInstancePoolRefreshesRequest.Builder> + input) { + if (input.getNextPageToken() == null) { + return input.getRequestBuilder().build(); + } else { + return input.getRequestBuilder() + .page(input.getNextPageToken().orElse(null)) + .build(); + } + } + }, + new java.util.function.Function< + ListInstancePoolRefreshesRequest, ListInstancePoolRefreshesResponse>() { + @Override + public ListInstancePoolRefreshesResponse apply( + ListInstancePoolRefreshesRequest request) { + return client.listInstancePoolRefreshes(request); + } + }); + } + + /** + * Creates a new iterable which will iterate over the {@link + * com.oracle.bmc.core.model.InstancePoolRefreshSummary} objects contained in responses from the + * listInstancePoolRefreshes operation. This iterable will fetch more data from the server as + * needed. + * + * @param request a request which can be sent to the service operation + * @return an {@link java.lang.Iterable} which can be used to iterate over the {@link + * com.oracle.bmc.core.model.InstancePoolRefreshSummary} objects contained in responses + * received from the service. + */ + public Iterable + listInstancePoolRefreshesRecordIterator( + final ListInstancePoolRefreshesRequest request) { + return new com.oracle.bmc.paginator.internal.ResponseRecordIterable< + ListInstancePoolRefreshesRequest.Builder, + ListInstancePoolRefreshesRequest, + ListInstancePoolRefreshesResponse, + com.oracle.bmc.core.model.InstancePoolRefreshSummary>( + new java.util.function.Supplier() { + @Override + public ListInstancePoolRefreshesRequest.Builder get() { + return ListInstancePoolRefreshesRequest.builder().copy(request); + } + }, + new java.util.function.Function() { + @Override + public String apply(ListInstancePoolRefreshesResponse response) { + return response.getOpcNextPage(); + } + }, + new java.util.function.Function< + com.oracle.bmc.paginator.internal.RequestBuilderAndToken< + ListInstancePoolRefreshesRequest.Builder>, + ListInstancePoolRefreshesRequest>() { + @Override + public ListInstancePoolRefreshesRequest apply( + com.oracle.bmc.paginator.internal.RequestBuilderAndToken< + ListInstancePoolRefreshesRequest.Builder> + input) { + if (input.getNextPageToken() == null) { + return input.getRequestBuilder().build(); + } else { + return input.getRequestBuilder() + .page(input.getNextPageToken().orElse(null)) + .build(); + } + } + }, + new java.util.function.Function< + ListInstancePoolRefreshesRequest, ListInstancePoolRefreshesResponse>() { + @Override + public ListInstancePoolRefreshesResponse apply( + ListInstancePoolRefreshesRequest request) { + return client.listInstancePoolRefreshes(request); + } + }, + new java.util.function.Function< + ListInstancePoolRefreshesResponse, + java.util.List>() { + @Override + public java.util.List + apply(ListInstancePoolRefreshesResponse response) { + return response.getInstancePoolRefreshCollection().getItems(); + } + }); + } + /** * Creates a new iterable which will iterate over the responses received from the * listInstancePools operation. This iterable will fetch more data from the server as needed. diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagementWaiters.java b/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagementWaiters.java index 7825f241840..a7968a0e5a4 100644 --- a/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagementWaiters.java +++ b/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagementWaiters.java @@ -105,6 +105,69 @@ public AttachInstancePoolInstanceResponse call() throws Exception { request); } + /** + * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration. + * + * @param request the request to send + * @return a new {@link com.oracle.bmc.waiter.Waiter} instance + */ + public com.oracle.bmc.waiter.Waiter< + CancelInstancePoolRefreshRequest, CancelInstancePoolRefreshResponse> + forCancelInstancePoolRefresh(CancelInstancePoolRefreshRequest request) { + return forCancelInstancePoolRefresh( + request, + com.oracle.bmc.waiter.Waiters.DEFAULT_POLLING_TERMINATION_STRATEGY, + com.oracle.bmc.waiter.Waiters.DEFAULT_POLLING_DELAY_STRATEGY); + } + + /** + * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the provided configuration. + * + * @param request the request to send + * @param terminationStrategy the {@link com.oracle.bmc.waiter.TerminationStrategy} to use + * @param delayStrategy the {@link com.oracle.bmc.waiter.DelayStrategy} to use + * @return a new {@link com.oracle.bmc.waiter.Waiter} instance + */ + public com.oracle.bmc.waiter.Waiter< + CancelInstancePoolRefreshRequest, CancelInstancePoolRefreshResponse> + forCancelInstancePoolRefresh( + CancelInstancePoolRefreshRequest request, + com.oracle.bmc.waiter.TerminationStrategy terminationStrategy, + com.oracle.bmc.waiter.DelayStrategy delayStrategy) { + if (workRequestClient == null) { + throw new IllegalStateException( + "A WorkRequestClient must be supplied to this waiter for this operation"); + } + + return new com.oracle.bmc.waiter.internal.SimpleWaiterImpl<>( + executorService, + new java.util.concurrent.Callable() { + @Override + public CancelInstancePoolRefreshResponse call() throws Exception { + final CancelInstancePoolRefreshResponse response = + client.cancelInstancePoolRefresh(request); + + if (response.getOpcWorkRequestId() != null) { + final com.oracle.bmc.workrequests.requests.GetWorkRequestRequest + getWorkRequestRequest = + com.oracle.bmc.workrequests.requests + .GetWorkRequestRequest.builder() + .workRequestId(response.getOpcWorkRequestId()) + .build(); + workRequestClient + .getWaiters() + .forWorkRequest( + getWorkRequestRequest, + terminationStrategy, + delayStrategy) + .execute(); + } + return response; + } + }, + request); + } + /** * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration. * @@ -671,6 +734,115 @@ public boolean test( request); } + /** + * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration. + * + * @param request the request to send + * @param targetStates the desired states to wait for. If multiple states are provided then the + * waiter will return once the resource reaches any of the provided states + * @return a new {@code Waiter} instance + */ + public com.oracle.bmc.waiter.Waiter< + GetInstancePoolRefreshRequest, GetInstancePoolRefreshResponse> + forInstancePoolRefresh( + GetInstancePoolRefreshRequest request, + com.oracle.bmc.core.model.InstancePoolRefresh.LifecycleState... targetStates) { + com.oracle.bmc.util.internal.Validate.notEmpty( + targetStates, "At least one targetState must be provided"); + com.oracle.bmc.util.internal.Validate.noNullElements( + targetStates, "Null targetState values are not permitted"); + + return forInstancePoolRefresh( + com.oracle.bmc.waiter.Waiters.DEFAULT_POLLING_WAITER, request, targetStates); + } + + /** + * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the provided configuration. + * + * @param request the request to send + * @param targetState the desired state to wait for + * @param terminationStrategy the {@link com.oracle.bmc.waiter.TerminationStrategy} to use + * @param delayStrategy the {@link com.oracle.bmc.waiter.DelayStrategy} to use + * @return a new {@code com.oracle.bmc.waiter.Waiter} instance + */ + public com.oracle.bmc.waiter.Waiter< + GetInstancePoolRefreshRequest, GetInstancePoolRefreshResponse> + forInstancePoolRefresh( + GetInstancePoolRefreshRequest request, + com.oracle.bmc.core.model.InstancePoolRefresh.LifecycleState targetState, + com.oracle.bmc.waiter.TerminationStrategy terminationStrategy, + com.oracle.bmc.waiter.DelayStrategy delayStrategy) { + com.oracle.bmc.util.internal.Validate.notNull( + targetState, "The targetState cannot be null"); + + return forInstancePoolRefresh( + com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy), + request, + targetState); + } + + /** + * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the provided configuration. + * + * @param request the request to send + * @param terminationStrategy the {@link com.oracle.bmc.waiter.TerminationStrategy} to use + * @param delayStrategy the {@link com.oracle.bmc.waiter.DelayStrategy} to use + * @param targetStates the desired states to wait for. The waiter will return once the resource + * reaches any of the provided states + * @return a new {@code com.oracle.bmc.waiter.Waiter} instance + */ + public com.oracle.bmc.waiter.Waiter< + GetInstancePoolRefreshRequest, GetInstancePoolRefreshResponse> + forInstancePoolRefresh( + GetInstancePoolRefreshRequest request, + com.oracle.bmc.waiter.TerminationStrategy terminationStrategy, + com.oracle.bmc.waiter.DelayStrategy delayStrategy, + com.oracle.bmc.core.model.InstancePoolRefresh.LifecycleState... targetStates) { + com.oracle.bmc.util.internal.Validate.notEmpty( + targetStates, "At least one target state must be provided"); + com.oracle.bmc.util.internal.Validate.noNullElements( + targetStates, "Null target states are not permitted"); + + return forInstancePoolRefresh( + com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy), + request, + targetStates); + } + + // Helper method to create a new Waiter for InstancePoolRefresh. + private com.oracle.bmc.waiter.Waiter< + GetInstancePoolRefreshRequest, GetInstancePoolRefreshResponse> + forInstancePoolRefresh( + com.oracle.bmc.waiter.BmcGenericWaiter waiter, + final GetInstancePoolRefreshRequest request, + final com.oracle.bmc.core.model.InstancePoolRefresh.LifecycleState... + targetStates) { + final java.util.Set + targetStatesSet = new java.util.HashSet<>(java.util.Arrays.asList(targetStates)); + + return new com.oracle.bmc.waiter.internal.SimpleWaiterImpl<>( + executorService, + waiter.toCallable( + () -> request, + new java.util.function.Function< + GetInstancePoolRefreshRequest, GetInstancePoolRefreshResponse>() { + @Override + public GetInstancePoolRefreshResponse apply( + GetInstancePoolRefreshRequest request) { + return client.getInstancePoolRefresh(request); + } + }, + new java.util.function.Predicate() { + @Override + public boolean test(GetInstancePoolRefreshResponse response) { + return targetStatesSet.contains( + response.getInstancePoolRefresh().getLifecycleState()); + } + }, + false), + request); + } + /** * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration. * @@ -734,6 +906,67 @@ public LaunchInstanceConfigurationResponse call() throws Exception { request); } + /** + * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration. + * + * @param request the request to send + * @return a new {@link com.oracle.bmc.waiter.Waiter} instance + */ + public com.oracle.bmc.waiter.Waiter + forRefreshInstancePool(RefreshInstancePoolRequest request) { + return forRefreshInstancePool( + request, + com.oracle.bmc.waiter.Waiters.DEFAULT_POLLING_TERMINATION_STRATEGY, + com.oracle.bmc.waiter.Waiters.DEFAULT_POLLING_DELAY_STRATEGY); + } + + /** + * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the provided configuration. + * + * @param request the request to send + * @param terminationStrategy the {@link com.oracle.bmc.waiter.TerminationStrategy} to use + * @param delayStrategy the {@link com.oracle.bmc.waiter.DelayStrategy} to use + * @return a new {@link com.oracle.bmc.waiter.Waiter} instance + */ + public com.oracle.bmc.waiter.Waiter + forRefreshInstancePool( + RefreshInstancePoolRequest request, + com.oracle.bmc.waiter.TerminationStrategy terminationStrategy, + com.oracle.bmc.waiter.DelayStrategy delayStrategy) { + if (workRequestClient == null) { + throw new IllegalStateException( + "A WorkRequestClient must be supplied to this waiter for this operation"); + } + + return new com.oracle.bmc.waiter.internal.SimpleWaiterImpl<>( + executorService, + new java.util.concurrent.Callable() { + @Override + public RefreshInstancePoolResponse call() throws Exception { + final RefreshInstancePoolResponse response = + client.refreshInstancePool(request); + + if (response.getOpcWorkRequestId() != null) { + final com.oracle.bmc.workrequests.requests.GetWorkRequestRequest + getWorkRequestRequest = + com.oracle.bmc.workrequests.requests + .GetWorkRequestRequest.builder() + .workRequestId(response.getOpcWorkRequestId()) + .build(); + workRequestClient + .getWaiters() + .forWorkRequest( + getWorkRequestRequest, + terminationStrategy, + delayStrategy) + .execute(); + } + return response; + } + }, + request); + } + /** * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration. * diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/VirtualNetwork.java b/bmc-core/src/main/java/com/oracle/bmc/core/VirtualNetwork.java index b1fa2dae44b..1aadfdb4116 100644 --- a/bmc-core/src/main/java/com/oracle/bmc/core/VirtualNetwork.java +++ b/bmc-core/src/main/java/com/oracle/bmc/core/VirtualNetwork.java @@ -17,6 +17,11 @@ * Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) * article. * + *

The Core Services API provides both IPv4-only and dual-stack (IPv4 and IPv6) endpoints. By + * default, OCI-published SDKs and the CLI use IPv4-only endpoints. Use a dual-stack endpoint to + * connect over IPv6 while retaining IPv4 compatibility. Dual-stack endpoints use the following + * format: https://{service}.{region}.ds.oci.{secondLevelDomain}. + * *

This service client uses CircuitBreakerUtils.DEFAULT_CIRCUIT_BREAKER for all the operations by * default if no circuit breaker configuration is defined by the user. */ diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/VirtualNetworkAsync.java b/bmc-core/src/main/java/com/oracle/bmc/core/VirtualNetworkAsync.java index 5085029de22..a93a1ffdaf5 100644 --- a/bmc-core/src/main/java/com/oracle/bmc/core/VirtualNetworkAsync.java +++ b/bmc-core/src/main/java/com/oracle/bmc/core/VirtualNetworkAsync.java @@ -16,6 +16,11 @@ * permissions are documented in the [Details for the Core * Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) * article. + * + *

The Core Services API provides both IPv4-only and dual-stack (IPv4 and IPv6) endpoints. By + * default, OCI-published SDKs and the CLI use IPv4-only endpoints. Use a dual-stack endpoint to + * connect over IPv6 while retaining IPv4 compatibility. Dual-stack endpoints use the following + * format: https://{service}.{region}.ds.oci.{secondLevelDomain}. */ @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") public interface VirtualNetworkAsync extends AutoCloseable { diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CloneOracleOfflineLogicalMigrationSettings.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/CancelInstancePoolRefreshDetails.java similarity index 69% rename from bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CloneOracleOfflineLogicalMigrationSettings.java rename to bmc-core/src/main/java/com/oracle/bmc/core/model/CancelInstancePoolRefreshDetails.java index 03d68408b34..fe5abe93847 100644 --- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CloneOracleOfflineLogicalMigrationSettings.java +++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/CancelInstancePoolRefreshDetails.java @@ -2,10 +2,10 @@ * Copyright (c) 2016, 2026, 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.databasemigration.model; +package com.oracle.bmc.core.model; /** - * Clone settings for an offline logical Oracle migration.
+ * The details for canceling an instance pool refresh.
* 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 @@ -15,25 +15,27 @@ * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code * null}). */ -@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20230518") +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") @com.fasterxml.jackson.databind.annotation.JsonDeserialize( - builder = CloneOracleOfflineLogicalMigrationSettings.Builder.class) -@com.fasterxml.jackson.annotation.JsonTypeInfo( - use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, - include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, - property = "migrationMethod") + builder = CancelInstancePoolRefreshDetails.Builder.class) @com.fasterxml.jackson.annotation.JsonFilter( com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) -public final class CloneOracleOfflineLogicalMigrationSettings extends CloneOracleMigrationSettings { +public final class CancelInstancePoolRefreshDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({}) + public CancelInstancePoolRefreshDetails() { + super(); + } + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); - public CloneOracleOfflineLogicalMigrationSettings build() { - CloneOracleOfflineLogicalMigrationSettings model = - new CloneOracleOfflineLogicalMigrationSettings(); + public CancelInstancePoolRefreshDetails build() { + CancelInstancePoolRefreshDetails model = new CancelInstancePoolRefreshDetails(); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -41,7 +43,7 @@ public CloneOracleOfflineLogicalMigrationSettings build() { } @com.fasterxml.jackson.annotation.JsonIgnore - public Builder copy(CloneOracleOfflineLogicalMigrationSettings model) { + public Builder copy(CancelInstancePoolRefreshDetails model) { return this; } } @@ -55,11 +57,6 @@ public Builder toBuilder() { return new Builder().copy(this); } - @Deprecated - public CloneOracleOfflineLogicalMigrationSettings() { - super(); - } - @Override public String toString() { return this.toString(true); @@ -73,8 +70,8 @@ public String toString() { */ public String toString(boolean includeByteArrayContents) { java.lang.StringBuilder sb = new java.lang.StringBuilder(); - sb.append("CloneOracleOfflineLogicalMigrationSettings("); - sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append("CancelInstancePoolRefreshDetails("); + sb.append("super=").append(super.toString()); sb.append(")"); return sb.toString(); } @@ -84,19 +81,19 @@ public boolean equals(Object o) { if (this == o) { return true; } - if (!(o instanceof CloneOracleOfflineLogicalMigrationSettings)) { + if (!(o instanceof CancelInstancePoolRefreshDetails)) { return false; } - CloneOracleOfflineLogicalMigrationSettings other = - (CloneOracleOfflineLogicalMigrationSettings) o; + CancelInstancePoolRefreshDetails other = (CancelInstancePoolRefreshDetails) o; return super.equals(other); } @Override public int hashCode() { final int PRIME = 59; - int result = super.hashCode(); + int result = 1; + result = (result * PRIME) + super.hashCode(); return result; } } diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/CreateInstancePoolDetails.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/CreateInstancePoolDetails.java index 06d44b36380..2d7facb4dba 100644 --- a/bmc-core/src/main/java/com/oracle/bmc/core/model/CreateInstancePoolDetails.java +++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/CreateInstancePoolDetails.java @@ -39,7 +39,8 @@ public final class CreateInstancePoolDetails "overridePolicy", "instanceDisplayNameFormatter", "instanceHostnameFormatter", - "lifecycleManagement" + "lifecycleManagement", + "instanceMaintenancePolicy" }) public CreateInstancePoolDetails( String compartmentId, @@ -53,7 +54,8 @@ public CreateInstancePoolDetails( InstancePoolLaunchOverridePolicy overridePolicy, String instanceDisplayNameFormatter, String instanceHostnameFormatter, - InstancePoolLifecycleManagementDetails lifecycleManagement) { + InstancePoolLifecycleManagementDetails lifecycleManagement, + InstancePoolMaintenancePolicyDetails instanceMaintenancePolicy) { super(); this.compartmentId = compartmentId; this.definedTags = definedTags; @@ -67,6 +69,7 @@ public CreateInstancePoolDetails( this.instanceDisplayNameFormatter = instanceDisplayNameFormatter; this.instanceHostnameFormatter = instanceHostnameFormatter; this.lifecycleManagement = lifecycleManagement; + this.instanceMaintenancePolicy = instanceMaintenancePolicy; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -307,6 +310,16 @@ public Builder lifecycleManagement( return this; } + @com.fasterxml.jackson.annotation.JsonProperty("instanceMaintenancePolicy") + private InstancePoolMaintenancePolicyDetails instanceMaintenancePolicy; + + public Builder instanceMaintenancePolicy( + InstancePoolMaintenancePolicyDetails instanceMaintenancePolicy) { + this.instanceMaintenancePolicy = instanceMaintenancePolicy; + this.__explicitlySet__.add("instanceMaintenancePolicy"); + return this; + } + @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -324,7 +337,8 @@ public CreateInstancePoolDetails build() { this.overridePolicy, this.instanceDisplayNameFormatter, this.instanceHostnameFormatter, - this.lifecycleManagement); + this.lifecycleManagement, + this.instanceMaintenancePolicy); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -369,6 +383,9 @@ public Builder copy(CreateInstancePoolDetails model) { if (model.wasPropertyExplicitlySet("lifecycleManagement")) { this.lifecycleManagement(model.getLifecycleManagement()); } + if (model.wasPropertyExplicitlySet("instanceMaintenancePolicy")) { + this.instanceMaintenancePolicy(model.getInstanceMaintenancePolicy()); + } return this; } } @@ -588,6 +605,13 @@ public InstancePoolLifecycleManagementDetails getLifecycleManagement() { return lifecycleManagement; } + @com.fasterxml.jackson.annotation.JsonProperty("instanceMaintenancePolicy") + private final InstancePoolMaintenancePolicyDetails instanceMaintenancePolicy; + + public InstancePoolMaintenancePolicyDetails getInstanceMaintenancePolicy() { + return instanceMaintenancePolicy; + } + @Override public String toString() { return this.toString(true); @@ -619,6 +643,8 @@ public String toString(boolean includeByteArrayContents) { sb.append(", instanceHostnameFormatter=") .append(String.valueOf(this.instanceHostnameFormatter)); sb.append(", lifecycleManagement=").append(String.valueOf(this.lifecycleManagement)); + sb.append(", instanceMaintenancePolicy=") + .append(String.valueOf(this.instanceMaintenancePolicy)); sb.append(")"); return sb.toString(); } @@ -649,6 +675,8 @@ public boolean equals(Object o) { && java.util.Objects.equals( this.instanceHostnameFormatter, other.instanceHostnameFormatter) && java.util.Objects.equals(this.lifecycleManagement, other.lifecycleManagement) + && java.util.Objects.equals( + this.instanceMaintenancePolicy, other.instanceMaintenancePolicy) && super.equals(other); } @@ -694,6 +722,11 @@ public int hashCode() { + (this.lifecycleManagement == null ? 43 : this.lifecycleManagement.hashCode()); + result = + (result * PRIME) + + (this.instanceMaintenancePolicy == null + ? 43 + : this.instanceMaintenancePolicy.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/InstanceAuthz.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/InstanceAuthz.java new file mode 100644 index 00000000000..9be74a31b14 --- /dev/null +++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/InstanceAuthz.java @@ -0,0 +1,97 @@ +/** + * Copyright (c) 2016, 2026, 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.core.model; + +/** + * Authorization-only alias for Compute instance permissions.
+ * 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 = InstanceAuthz.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class InstanceAuthz extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({}) + public InstanceAuthz() { + super(); + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public InstanceAuthz build() { + InstanceAuthz model = new InstanceAuthz(); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(InstanceAuthz model) { + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @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("InstanceAuthz("); + sb.append("super=").append(super.toString()); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof InstanceAuthz)) { + return false; + } + + InstanceAuthz other = (InstanceAuthz) o; + return super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePool.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePool.java index 7f5339e1058..ed982fff757 100644 --- a/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePool.java +++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePool.java @@ -40,6 +40,7 @@ public final class InstancePool extends com.oracle.bmc.http.client.internal.Expl "instanceDisplayNameFormatter", "instanceHostnameFormatter", "lifecycleManagement", + "instanceMaintenancePolicy", "currentSize" }) public InstancePool( @@ -59,6 +60,7 @@ public InstancePool( String instanceDisplayNameFormatter, String instanceHostnameFormatter, InstancePoolLifecycleManagementDetails lifecycleManagement, + InstancePoolMaintenancePolicyDetails instanceMaintenancePolicy, Integer currentSize) { super(); this.id = id; @@ -77,6 +79,7 @@ public InstancePool( this.instanceDisplayNameFormatter = instanceDisplayNameFormatter; this.instanceHostnameFormatter = instanceHostnameFormatter; this.lifecycleManagement = lifecycleManagement; + this.instanceMaintenancePolicy = instanceMaintenancePolicy; this.currentSize = currentSize; } @@ -366,6 +369,16 @@ public Builder lifecycleManagement( this.__explicitlySet__.add("lifecycleManagement"); return this; } + + @com.fasterxml.jackson.annotation.JsonProperty("instanceMaintenancePolicy") + private InstancePoolMaintenancePolicyDetails instanceMaintenancePolicy; + + public Builder instanceMaintenancePolicy( + InstancePoolMaintenancePolicyDetails instanceMaintenancePolicy) { + this.instanceMaintenancePolicy = instanceMaintenancePolicy; + this.__explicitlySet__.add("instanceMaintenancePolicy"); + return this; + } /** Count of instance in running state associated to the Instance Pool. */ @com.fasterxml.jackson.annotation.JsonProperty("currentSize") private Integer currentSize; @@ -404,6 +417,7 @@ public InstancePool build() { this.instanceDisplayNameFormatter, this.instanceHostnameFormatter, this.lifecycleManagement, + this.instanceMaintenancePolicy, this.currentSize); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); @@ -461,6 +475,9 @@ public Builder copy(InstancePool model) { if (model.wasPropertyExplicitlySet("lifecycleManagement")) { this.lifecycleManagement(model.getLifecycleManagement()); } + if (model.wasPropertyExplicitlySet("instanceMaintenancePolicy")) { + this.instanceMaintenancePolicy(model.getInstanceMaintenancePolicy()); + } if (model.wasPropertyExplicitlySet("currentSize")) { this.currentSize(model.getCurrentSize()); } @@ -823,6 +840,13 @@ public InstancePoolLifecycleManagementDetails getLifecycleManagement() { return lifecycleManagement; } + @com.fasterxml.jackson.annotation.JsonProperty("instanceMaintenancePolicy") + private final InstancePoolMaintenancePolicyDetails instanceMaintenancePolicy; + + public InstancePoolMaintenancePolicyDetails getInstanceMaintenancePolicy() { + return instanceMaintenancePolicy; + } + /** Count of instance in running state associated to the Instance Pool. */ @com.fasterxml.jackson.annotation.JsonProperty("currentSize") private final Integer currentSize; @@ -871,6 +895,8 @@ public String toString(boolean includeByteArrayContents) { sb.append(", instanceHostnameFormatter=") .append(String.valueOf(this.instanceHostnameFormatter)); sb.append(", lifecycleManagement=").append(String.valueOf(this.lifecycleManagement)); + sb.append(", instanceMaintenancePolicy=") + .append(String.valueOf(this.instanceMaintenancePolicy)); sb.append(", currentSize=").append(String.valueOf(this.currentSize)); sb.append(")"); return sb.toString(); @@ -906,6 +932,8 @@ public boolean equals(Object o) { && java.util.Objects.equals( this.instanceHostnameFormatter, other.instanceHostnameFormatter) && java.util.Objects.equals(this.lifecycleManagement, other.lifecycleManagement) + && java.util.Objects.equals( + this.instanceMaintenancePolicy, other.instanceMaintenancePolicy) && java.util.Objects.equals(this.currentSize, other.currentSize) && super.equals(other); } @@ -958,6 +986,11 @@ public int hashCode() { + (this.lifecycleManagement == null ? 43 : this.lifecycleManagement.hashCode()); + result = + (result * PRIME) + + (this.instanceMaintenancePolicy == null + ? 43 + : this.instanceMaintenancePolicy.hashCode()); result = (result * PRIME) + (this.currentSize == null ? 43 : this.currentSize.hashCode()); result = (result * PRIME) + super.hashCode(); return result; diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePoolLaunchBeforeTerminatingDetails.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePoolLaunchBeforeTerminatingDetails.java new file mode 100644 index 00000000000..00a305391f6 --- /dev/null +++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePoolLaunchBeforeTerminatingDetails.java @@ -0,0 +1,187 @@ +/** + * Copyright (c) 2016, 2026, 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.core.model; + +/** + * Default launch-before-termination settings for instance pool refreshes.
+ * 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 = InstancePoolLaunchBeforeTerminatingDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class InstancePoolLaunchBeforeTerminatingDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"maxHealthyPercent", "isFullRefresh"}) + public InstancePoolLaunchBeforeTerminatingDetails( + Integer maxHealthyPercent, Boolean isFullRefresh) { + super(); + this.maxHealthyPercent = maxHealthyPercent; + this.isFullRefresh = isFullRefresh; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The maximum percentage of instances that can be in the pool during a refresh. The service + * uses this value to calculate launch-before-terminate surge capacity. + */ + @com.fasterxml.jackson.annotation.JsonProperty("maxHealthyPercent") + private Integer maxHealthyPercent; + + /** + * The maximum percentage of instances that can be in the pool during a refresh. The service + * uses this value to calculate launch-before-terminate surge capacity. + * + * @param maxHealthyPercent the value to set + * @return this builder + */ + public Builder maxHealthyPercent(Integer maxHealthyPercent) { + this.maxHealthyPercent = maxHealthyPercent; + this.__explicitlySet__.add("maxHealthyPercent"); + return this; + } + /** + * Whether to refresh eligible instances that already use the target instance configuration. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isFullRefresh") + private Boolean isFullRefresh; + + /** + * Whether to refresh eligible instances that already use the target instance configuration. + * + * @param isFullRefresh the value to set + * @return this builder + */ + public Builder isFullRefresh(Boolean isFullRefresh) { + this.isFullRefresh = isFullRefresh; + this.__explicitlySet__.add("isFullRefresh"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public InstancePoolLaunchBeforeTerminatingDetails build() { + InstancePoolLaunchBeforeTerminatingDetails model = + new InstancePoolLaunchBeforeTerminatingDetails( + this.maxHealthyPercent, this.isFullRefresh); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(InstancePoolLaunchBeforeTerminatingDetails model) { + if (model.wasPropertyExplicitlySet("maxHealthyPercent")) { + this.maxHealthyPercent(model.getMaxHealthyPercent()); + } + if (model.wasPropertyExplicitlySet("isFullRefresh")) { + this.isFullRefresh(model.getIsFullRefresh()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The maximum percentage of instances that can be in the pool during a refresh. The service + * uses this value to calculate launch-before-terminate surge capacity. + */ + @com.fasterxml.jackson.annotation.JsonProperty("maxHealthyPercent") + private final Integer maxHealthyPercent; + + /** + * The maximum percentage of instances that can be in the pool during a refresh. The service + * uses this value to calculate launch-before-terminate surge capacity. + * + * @return the value + */ + public Integer getMaxHealthyPercent() { + return maxHealthyPercent; + } + + /** Whether to refresh eligible instances that already use the target instance configuration. */ + @com.fasterxml.jackson.annotation.JsonProperty("isFullRefresh") + private final Boolean isFullRefresh; + + /** + * Whether to refresh eligible instances that already use the target instance configuration. + * + * @return the value + */ + public Boolean getIsFullRefresh() { + return isFullRefresh; + } + + @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("InstancePoolLaunchBeforeTerminatingDetails("); + sb.append("super=").append(super.toString()); + sb.append("maxHealthyPercent=").append(String.valueOf(this.maxHealthyPercent)); + sb.append(", isFullRefresh=").append(String.valueOf(this.isFullRefresh)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof InstancePoolLaunchBeforeTerminatingDetails)) { + return false; + } + + InstancePoolLaunchBeforeTerminatingDetails other = + (InstancePoolLaunchBeforeTerminatingDetails) o; + return java.util.Objects.equals(this.maxHealthyPercent, other.maxHealthyPercent) + && java.util.Objects.equals(this.isFullRefresh, other.isFullRefresh) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.maxHealthyPercent == null ? 43 : this.maxHealthyPercent.hashCode()); + result = + (result * PRIME) + + (this.isFullRefresh == null ? 43 : this.isFullRefresh.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePoolMaintenancePolicyDetails.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePoolMaintenancePolicyDetails.java new file mode 100644 index 00000000000..79d17ee572b --- /dev/null +++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePoolMaintenancePolicyDetails.java @@ -0,0 +1,129 @@ +/** + * Copyright (c) 2016, 2026, 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.core.model; + +/** + * Optional maintenance policy settings for an instance pool.
+ * 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 = InstancePoolMaintenancePolicyDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class InstancePoolMaintenancePolicyDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"launchBeforeTerminating"}) + public InstancePoolMaintenancePolicyDetails( + InstancePoolLaunchBeforeTerminatingDetails launchBeforeTerminating) { + super(); + this.launchBeforeTerminating = launchBeforeTerminating; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + + @com.fasterxml.jackson.annotation.JsonProperty("launchBeforeTerminating") + private InstancePoolLaunchBeforeTerminatingDetails launchBeforeTerminating; + + public Builder launchBeforeTerminating( + InstancePoolLaunchBeforeTerminatingDetails launchBeforeTerminating) { + this.launchBeforeTerminating = launchBeforeTerminating; + this.__explicitlySet__.add("launchBeforeTerminating"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public InstancePoolMaintenancePolicyDetails build() { + InstancePoolMaintenancePolicyDetails model = + new InstancePoolMaintenancePolicyDetails(this.launchBeforeTerminating); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(InstancePoolMaintenancePolicyDetails model) { + if (model.wasPropertyExplicitlySet("launchBeforeTerminating")) { + this.launchBeforeTerminating(model.getLaunchBeforeTerminating()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @com.fasterxml.jackson.annotation.JsonProperty("launchBeforeTerminating") + private final InstancePoolLaunchBeforeTerminatingDetails launchBeforeTerminating; + + public InstancePoolLaunchBeforeTerminatingDetails getLaunchBeforeTerminating() { + return launchBeforeTerminating; + } + + @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("InstancePoolMaintenancePolicyDetails("); + sb.append("super=").append(super.toString()); + sb.append("launchBeforeTerminating=").append(String.valueOf(this.launchBeforeTerminating)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof InstancePoolMaintenancePolicyDetails)) { + return false; + } + + InstancePoolMaintenancePolicyDetails other = (InstancePoolMaintenancePolicyDetails) o; + return java.util.Objects.equals(this.launchBeforeTerminating, other.launchBeforeTerminating) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.launchBeforeTerminating == null + ? 43 + : this.launchBeforeTerminating.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePoolRefresh.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePoolRefresh.java new file mode 100644 index 00000000000..b47b81772a3 --- /dev/null +++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePoolRefresh.java @@ -0,0 +1,860 @@ +/** + * Copyright (c) 2016, 2026, 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.core.model; + +/** + * An instance pool refresh is an asynchronous operation that replaces eligible instances in an + * instance pool with instances launched from the pool's target instance configuration.
+ * 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 = InstancePoolRefresh.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class InstancePoolRefresh + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "id", + "compartmentId", + "systemTags", + "instancePoolId", + "lifecycleState", + "targetInstanceConfigurationId", + "maxHealthyPercent", + "warmupSeconds", + "isFullRefresh", + "refreshBatchSize", + "totalMemberCount", + "remainingMemberCount", + "percentComplete", + "skippedMemberCount", + "timeCreated", + "timeCompleted" + }) + public InstancePoolRefresh( + String id, + String compartmentId, + java.util.Map> systemTags, + String instancePoolId, + LifecycleState lifecycleState, + String targetInstanceConfigurationId, + Integer maxHealthyPercent, + Integer warmupSeconds, + Boolean isFullRefresh, + Integer refreshBatchSize, + Integer totalMemberCount, + Integer remainingMemberCount, + Integer percentComplete, + Integer skippedMemberCount, + java.util.Date timeCreated, + java.util.Date timeCompleted) { + super(); + this.id = id; + this.compartmentId = compartmentId; + this.systemTags = systemTags; + this.instancePoolId = instancePoolId; + this.lifecycleState = lifecycleState; + this.targetInstanceConfigurationId = targetInstanceConfigurationId; + this.maxHealthyPercent = maxHealthyPercent; + this.warmupSeconds = warmupSeconds; + this.isFullRefresh = isFullRefresh; + this.refreshBatchSize = refreshBatchSize; + this.totalMemberCount = totalMemberCount; + this.remainingMemberCount = remainingMemberCount; + this.percentComplete = percentComplete; + this.skippedMemberCount = skippedMemberCount; + this.timeCreated = timeCreated; + this.timeCompleted = timeCompleted; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance pool refresh. + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private String id; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance pool refresh. + * + * @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.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment containing the instance pool. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment containing the instance pool. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + /** + * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {@code + * { "orcl-cloud": { "free-tier-retained": "true" } }} + */ + @com.fasterxml.jackson.annotation.JsonProperty("systemTags") + private java.util.Map> systemTags; + + /** + * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {@code + * { "orcl-cloud": { "free-tier-retained": "true" } }} + * + * @param systemTags the value to set + * @return this builder + */ + public Builder systemTags(java.util.Map> systemTags) { + this.systemTags = systemTags; + this.__explicitlySet__.add("systemTags"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance pool. + */ + @com.fasterxml.jackson.annotation.JsonProperty("instancePoolId") + private String instancePoolId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance pool. + * + * @param instancePoolId the value to set + * @return this builder + */ + public Builder instancePoolId(String instancePoolId) { + this.instancePoolId = instancePoolId; + this.__explicitlySet__.add("instancePoolId"); + return this; + } + /** The current state of the instance pool refresh. */ + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") + private LifecycleState lifecycleState; + + /** + * The current state of the instance pool refresh. + * + * @param lifecycleState the value to set + * @return this builder + */ + public Builder lifecycleState(LifecycleState lifecycleState) { + this.lifecycleState = lifecycleState; + this.__explicitlySet__.add("lifecycleState"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance configuration captured from the instance pool when the refresh started. + */ + @com.fasterxml.jackson.annotation.JsonProperty("targetInstanceConfigurationId") + private String targetInstanceConfigurationId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance configuration captured from the instance pool when the refresh started. + * + * @param targetInstanceConfigurationId the value to set + * @return this builder + */ + public Builder targetInstanceConfigurationId(String targetInstanceConfigurationId) { + this.targetInstanceConfigurationId = targetInstanceConfigurationId; + this.__explicitlySet__.add("targetInstanceConfigurationId"); + return this; + } + /** The maximum healthy percentage requested for launch-before-terminate capacity. */ + @com.fasterxml.jackson.annotation.JsonProperty("maxHealthyPercent") + private Integer maxHealthyPercent; + + /** + * The maximum healthy percentage requested for launch-before-terminate capacity. + * + * @param maxHealthyPercent the value to set + * @return this builder + */ + public Builder maxHealthyPercent(Integer maxHealthyPercent) { + this.maxHealthyPercent = maxHealthyPercent; + this.__explicitlySet__.add("maxHealthyPercent"); + return this; + } + /** The requested warmup duration in seconds. */ + @com.fasterxml.jackson.annotation.JsonProperty("warmupSeconds") + private Integer warmupSeconds; + + /** + * The requested warmup duration in seconds. + * + * @param warmupSeconds the value to set + * @return this builder + */ + public Builder warmupSeconds(Integer warmupSeconds) { + this.warmupSeconds = warmupSeconds; + this.__explicitlySet__.add("warmupSeconds"); + return this; + } + /** + * Whether the refresh can select instances that already match the target instance + * configuration. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isFullRefresh") + private Boolean isFullRefresh; + + /** + * Whether the refresh can select instances that already match the target instance + * configuration. + * + * @param isFullRefresh the value to set + * @return this builder + */ + public Builder isFullRefresh(Boolean isFullRefresh) { + this.isFullRefresh = isFullRefresh; + this.__explicitlySet__.add("isFullRefresh"); + return this; + } + /** The maximum number of instances refreshed in a batch. */ + @com.fasterxml.jackson.annotation.JsonProperty("refreshBatchSize") + private Integer refreshBatchSize; + + /** + * The maximum number of instances refreshed in a batch. + * + * @param refreshBatchSize the value to set + * @return this builder + */ + public Builder refreshBatchSize(Integer refreshBatchSize) { + this.refreshBatchSize = refreshBatchSize; + this.__explicitlySet__.add("refreshBatchSize"); + return this; + } + /** The total number of instances selected for this refresh. */ + @com.fasterxml.jackson.annotation.JsonProperty("totalMemberCount") + private Integer totalMemberCount; + + /** + * The total number of instances selected for this refresh. + * + * @param totalMemberCount the value to set + * @return this builder + */ + public Builder totalMemberCount(Integer totalMemberCount) { + this.totalMemberCount = totalMemberCount; + this.__explicitlySet__.add("totalMemberCount"); + return this; + } + /** The number of instances remaining to be refreshed. */ + @com.fasterxml.jackson.annotation.JsonProperty("remainingMemberCount") + private Integer remainingMemberCount; + + /** + * The number of instances remaining to be refreshed. + * + * @param remainingMemberCount the value to set + * @return this builder + */ + public Builder remainingMemberCount(Integer remainingMemberCount) { + this.remainingMemberCount = remainingMemberCount; + this.__explicitlySet__.add("remainingMemberCount"); + return this; + } + /** The percentage of the refresh that is complete. */ + @com.fasterxml.jackson.annotation.JsonProperty("percentComplete") + private Integer percentComplete; + + /** + * The percentage of the refresh that is complete. + * + * @param percentComplete the value to set + * @return this builder + */ + public Builder percentComplete(Integer percentComplete) { + this.percentComplete = percentComplete; + this.__explicitlySet__.add("percentComplete"); + return this; + } + /** The number of instances skipped by the refresh. */ + @com.fasterxml.jackson.annotation.JsonProperty("skippedMemberCount") + private Integer skippedMemberCount; + + /** + * The number of instances skipped by the refresh. + * + * @param skippedMemberCount the value to set + * @return this builder + */ + public Builder skippedMemberCount(Integer skippedMemberCount) { + this.skippedMemberCount = skippedMemberCount; + this.__explicitlySet__.add("skippedMemberCount"); + return this; + } + /** + * The date and time the instance pool refresh was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). Example: {@code 2016-08-25T21:10:29.600Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") + private java.util.Date timeCreated; + + /** + * The date and time the instance pool refresh was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). Example: {@code 2016-08-25T21:10:29.600Z} + * + * @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; + } + /** + * The date and time the instance pool refresh reached a terminal state, in the format + * defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: {@code + * 2016-08-25T21:10:29.600Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeCompleted") + private java.util.Date timeCompleted; + + /** + * The date and time the instance pool refresh reached a terminal state, in the format + * defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: {@code + * 2016-08-25T21:10:29.600Z} + * + * @param timeCompleted the value to set + * @return this builder + */ + public Builder timeCompleted(java.util.Date timeCompleted) { + this.timeCompleted = timeCompleted; + this.__explicitlySet__.add("timeCompleted"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public InstancePoolRefresh build() { + InstancePoolRefresh model = + new InstancePoolRefresh( + this.id, + this.compartmentId, + this.systemTags, + this.instancePoolId, + this.lifecycleState, + this.targetInstanceConfigurationId, + this.maxHealthyPercent, + this.warmupSeconds, + this.isFullRefresh, + this.refreshBatchSize, + this.totalMemberCount, + this.remainingMemberCount, + this.percentComplete, + this.skippedMemberCount, + this.timeCreated, + this.timeCompleted); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(InstancePoolRefresh model) { + if (model.wasPropertyExplicitlySet("id")) { + this.id(model.getId()); + } + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + if (model.wasPropertyExplicitlySet("systemTags")) { + this.systemTags(model.getSystemTags()); + } + if (model.wasPropertyExplicitlySet("instancePoolId")) { + this.instancePoolId(model.getInstancePoolId()); + } + if (model.wasPropertyExplicitlySet("lifecycleState")) { + this.lifecycleState(model.getLifecycleState()); + } + if (model.wasPropertyExplicitlySet("targetInstanceConfigurationId")) { + this.targetInstanceConfigurationId(model.getTargetInstanceConfigurationId()); + } + if (model.wasPropertyExplicitlySet("maxHealthyPercent")) { + this.maxHealthyPercent(model.getMaxHealthyPercent()); + } + if (model.wasPropertyExplicitlySet("warmupSeconds")) { + this.warmupSeconds(model.getWarmupSeconds()); + } + if (model.wasPropertyExplicitlySet("isFullRefresh")) { + this.isFullRefresh(model.getIsFullRefresh()); + } + if (model.wasPropertyExplicitlySet("refreshBatchSize")) { + this.refreshBatchSize(model.getRefreshBatchSize()); + } + if (model.wasPropertyExplicitlySet("totalMemberCount")) { + this.totalMemberCount(model.getTotalMemberCount()); + } + if (model.wasPropertyExplicitlySet("remainingMemberCount")) { + this.remainingMemberCount(model.getRemainingMemberCount()); + } + if (model.wasPropertyExplicitlySet("percentComplete")) { + this.percentComplete(model.getPercentComplete()); + } + if (model.wasPropertyExplicitlySet("skippedMemberCount")) { + this.skippedMemberCount(model.getSkippedMemberCount()); + } + if (model.wasPropertyExplicitlySet("timeCreated")) { + this.timeCreated(model.getTimeCreated()); + } + if (model.wasPropertyExplicitlySet("timeCompleted")) { + this.timeCompleted(model.getTimeCompleted()); + } + 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.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance pool refresh. + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private final String id; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance pool refresh. + * + * @return the value + */ + public String getId() { + return id; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment containing the instance pool. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment containing the instance pool. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + /** + * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {@code { + * "orcl-cloud": { "free-tier-retained": "true" } }} + */ + @com.fasterxml.jackson.annotation.JsonProperty("systemTags") + private final java.util.Map> systemTags; + + /** + * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {@code { + * "orcl-cloud": { "free-tier-retained": "true" } }} + * + * @return the value + */ + public java.util.Map> getSystemTags() { + return systemTags; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance pool. + */ + @com.fasterxml.jackson.annotation.JsonProperty("instancePoolId") + private final String instancePoolId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance pool. + * + * @return the value + */ + public String getInstancePoolId() { + return instancePoolId; + } + + /** The current state of the instance pool refresh. */ + public enum LifecycleState implements com.oracle.bmc.http.internal.BmcEnum { + Accepted("ACCEPTED"), + InProgress("IN_PROGRESS"), + Succeeded("SUCCEEDED"), + Failed("FAILED"), + Canceling("CANCELING"), + Canceled("CANCELED"), + + /** + * 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 instance pool refresh. */ + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") + private final LifecycleState lifecycleState; + + /** + * The current state of the instance pool refresh. + * + * @return the value + */ + public LifecycleState getLifecycleState() { + return lifecycleState; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance configuration captured from the instance pool when the refresh started. + */ + @com.fasterxml.jackson.annotation.JsonProperty("targetInstanceConfigurationId") + private final String targetInstanceConfigurationId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance configuration captured from the instance pool when the refresh started. + * + * @return the value + */ + public String getTargetInstanceConfigurationId() { + return targetInstanceConfigurationId; + } + + /** The maximum healthy percentage requested for launch-before-terminate capacity. */ + @com.fasterxml.jackson.annotation.JsonProperty("maxHealthyPercent") + private final Integer maxHealthyPercent; + + /** + * The maximum healthy percentage requested for launch-before-terminate capacity. + * + * @return the value + */ + public Integer getMaxHealthyPercent() { + return maxHealthyPercent; + } + + /** The requested warmup duration in seconds. */ + @com.fasterxml.jackson.annotation.JsonProperty("warmupSeconds") + private final Integer warmupSeconds; + + /** + * The requested warmup duration in seconds. + * + * @return the value + */ + public Integer getWarmupSeconds() { + return warmupSeconds; + } + + /** + * Whether the refresh can select instances that already match the target instance + * configuration. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isFullRefresh") + private final Boolean isFullRefresh; + + /** + * Whether the refresh can select instances that already match the target instance + * configuration. + * + * @return the value + */ + public Boolean getIsFullRefresh() { + return isFullRefresh; + } + + /** The maximum number of instances refreshed in a batch. */ + @com.fasterxml.jackson.annotation.JsonProperty("refreshBatchSize") + private final Integer refreshBatchSize; + + /** + * The maximum number of instances refreshed in a batch. + * + * @return the value + */ + public Integer getRefreshBatchSize() { + return refreshBatchSize; + } + + /** The total number of instances selected for this refresh. */ + @com.fasterxml.jackson.annotation.JsonProperty("totalMemberCount") + private final Integer totalMemberCount; + + /** + * The total number of instances selected for this refresh. + * + * @return the value + */ + public Integer getTotalMemberCount() { + return totalMemberCount; + } + + /** The number of instances remaining to be refreshed. */ + @com.fasterxml.jackson.annotation.JsonProperty("remainingMemberCount") + private final Integer remainingMemberCount; + + /** + * The number of instances remaining to be refreshed. + * + * @return the value + */ + public Integer getRemainingMemberCount() { + return remainingMemberCount; + } + + /** The percentage of the refresh that is complete. */ + @com.fasterxml.jackson.annotation.JsonProperty("percentComplete") + private final Integer percentComplete; + + /** + * The percentage of the refresh that is complete. + * + * @return the value + */ + public Integer getPercentComplete() { + return percentComplete; + } + + /** The number of instances skipped by the refresh. */ + @com.fasterxml.jackson.annotation.JsonProperty("skippedMemberCount") + private final Integer skippedMemberCount; + + /** + * The number of instances skipped by the refresh. + * + * @return the value + */ + public Integer getSkippedMemberCount() { + return skippedMemberCount; + } + + /** + * The date and time the instance pool refresh was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). Example: {@code 2016-08-25T21:10:29.600Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") + private final java.util.Date timeCreated; + + /** + * The date and time the instance pool refresh was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). Example: {@code 2016-08-25T21:10:29.600Z} + * + * @return the value + */ + public java.util.Date getTimeCreated() { + return timeCreated; + } + + /** + * The date and time the instance pool refresh reached a terminal state, in the format defined + * by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: {@code 2016-08-25T21:10:29.600Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeCompleted") + private final java.util.Date timeCompleted; + + /** + * The date and time the instance pool refresh reached a terminal state, in the format defined + * by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: {@code 2016-08-25T21:10:29.600Z} + * + * @return the value + */ + public java.util.Date getTimeCompleted() { + return timeCompleted; + } + + @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("InstancePoolRefresh("); + sb.append("super=").append(super.toString()); + sb.append("id=").append(String.valueOf(this.id)); + sb.append(", compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(", systemTags=").append(String.valueOf(this.systemTags)); + sb.append(", instancePoolId=").append(String.valueOf(this.instancePoolId)); + sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState)); + sb.append(", targetInstanceConfigurationId=") + .append(String.valueOf(this.targetInstanceConfigurationId)); + sb.append(", maxHealthyPercent=").append(String.valueOf(this.maxHealthyPercent)); + sb.append(", warmupSeconds=").append(String.valueOf(this.warmupSeconds)); + sb.append(", isFullRefresh=").append(String.valueOf(this.isFullRefresh)); + sb.append(", refreshBatchSize=").append(String.valueOf(this.refreshBatchSize)); + sb.append(", totalMemberCount=").append(String.valueOf(this.totalMemberCount)); + sb.append(", remainingMemberCount=").append(String.valueOf(this.remainingMemberCount)); + sb.append(", percentComplete=").append(String.valueOf(this.percentComplete)); + sb.append(", skippedMemberCount=").append(String.valueOf(this.skippedMemberCount)); + sb.append(", timeCreated=").append(String.valueOf(this.timeCreated)); + sb.append(", timeCompleted=").append(String.valueOf(this.timeCompleted)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof InstancePoolRefresh)) { + return false; + } + + InstancePoolRefresh other = (InstancePoolRefresh) o; + return java.util.Objects.equals(this.id, other.id) + && java.util.Objects.equals(this.compartmentId, other.compartmentId) + && java.util.Objects.equals(this.systemTags, other.systemTags) + && java.util.Objects.equals(this.instancePoolId, other.instancePoolId) + && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) + && java.util.Objects.equals( + this.targetInstanceConfigurationId, other.targetInstanceConfigurationId) + && java.util.Objects.equals(this.maxHealthyPercent, other.maxHealthyPercent) + && java.util.Objects.equals(this.warmupSeconds, other.warmupSeconds) + && java.util.Objects.equals(this.isFullRefresh, other.isFullRefresh) + && java.util.Objects.equals(this.refreshBatchSize, other.refreshBatchSize) + && java.util.Objects.equals(this.totalMemberCount, other.totalMemberCount) + && java.util.Objects.equals(this.remainingMemberCount, other.remainingMemberCount) + && java.util.Objects.equals(this.percentComplete, other.percentComplete) + && java.util.Objects.equals(this.skippedMemberCount, other.skippedMemberCount) + && java.util.Objects.equals(this.timeCreated, other.timeCreated) + && java.util.Objects.equals(this.timeCompleted, other.timeCompleted) + && 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.systemTags == null ? 43 : this.systemTags.hashCode()); + result = + (result * PRIME) + + (this.instancePoolId == null ? 43 : this.instancePoolId.hashCode()); + result = + (result * PRIME) + + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode()); + result = + (result * PRIME) + + (this.targetInstanceConfigurationId == null + ? 43 + : this.targetInstanceConfigurationId.hashCode()); + result = + (result * PRIME) + + (this.maxHealthyPercent == null ? 43 : this.maxHealthyPercent.hashCode()); + result = + (result * PRIME) + + (this.warmupSeconds == null ? 43 : this.warmupSeconds.hashCode()); + result = + (result * PRIME) + + (this.isFullRefresh == null ? 43 : this.isFullRefresh.hashCode()); + result = + (result * PRIME) + + (this.refreshBatchSize == null ? 43 : this.refreshBatchSize.hashCode()); + result = + (result * PRIME) + + (this.totalMemberCount == null ? 43 : this.totalMemberCount.hashCode()); + result = + (result * PRIME) + + (this.remainingMemberCount == null + ? 43 + : this.remainingMemberCount.hashCode()); + result = + (result * PRIME) + + (this.percentComplete == null ? 43 : this.percentComplete.hashCode()); + result = + (result * PRIME) + + (this.skippedMemberCount == null + ? 43 + : this.skippedMemberCount.hashCode()); + result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode()); + result = + (result * PRIME) + + (this.timeCompleted == null ? 43 : this.timeCompleted.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePoolRefreshCollection.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePoolRefreshCollection.java new file mode 100644 index 00000000000..c4b257508b0 --- /dev/null +++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePoolRefreshCollection.java @@ -0,0 +1,133 @@ +/** + * Copyright (c) 2016, 2026, 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.core.model; + +/** + * A collection of instance pool refresh summaries.
+ * 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 = InstancePoolRefreshCollection.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class InstancePoolRefreshCollection + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"items"}) + public InstancePoolRefreshCollection(java.util.List items) { + super(); + this.items = items; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The instance pool refresh summaries in the collection. */ + @com.fasterxml.jackson.annotation.JsonProperty("items") + private java.util.List items; + + /** + * The instance pool refresh summaries in the collection. + * + * @param items the value to set + * @return this builder + */ + public Builder items(java.util.List items) { + this.items = items; + this.__explicitlySet__.add("items"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public InstancePoolRefreshCollection build() { + InstancePoolRefreshCollection model = new InstancePoolRefreshCollection(this.items); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(InstancePoolRefreshCollection model) { + if (model.wasPropertyExplicitlySet("items")) { + this.items(model.getItems()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** The instance pool refresh summaries in the collection. */ + @com.fasterxml.jackson.annotation.JsonProperty("items") + private final java.util.List items; + + /** + * The instance pool refresh summaries in the collection. + * + * @return the value + */ + public java.util.List getItems() { + return items; + } + + @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("InstancePoolRefreshCollection("); + sb.append("super=").append(super.toString()); + sb.append("items=").append(String.valueOf(this.items)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof InstancePoolRefreshCollection)) { + return false; + } + + InstancePoolRefreshCollection other = (InstancePoolRefreshCollection) o; + return java.util.Objects.equals(this.items, other.items) && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.items == null ? 43 : this.items.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePoolRefreshSummary.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePoolRefreshSummary.java new file mode 100644 index 00000000000..b8f6ed4e878 --- /dev/null +++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePoolRefreshSummary.java @@ -0,0 +1,838 @@ +/** + * Copyright (c) 2016, 2026, 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.core.model; + +/** + * Summary information for an instance pool refresh.
+ * 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 = InstancePoolRefreshSummary.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class InstancePoolRefreshSummary + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "id", + "compartmentId", + "instancePoolId", + "lifecycleState", + "targetInstanceConfigurationId", + "maxHealthyPercent", + "warmupSeconds", + "totalMemberCount", + "remainingMemberCount", + "percentComplete", + "skippedMemberCount", + "timeCreated", + "timeCompleted", + "systemTags", + "definedTags", + "freeformTags" + }) + public InstancePoolRefreshSummary( + String id, + String compartmentId, + String instancePoolId, + InstancePoolRefresh.LifecycleState lifecycleState, + String targetInstanceConfigurationId, + Integer maxHealthyPercent, + Integer warmupSeconds, + Integer totalMemberCount, + Integer remainingMemberCount, + Integer percentComplete, + Integer skippedMemberCount, + java.util.Date timeCreated, + java.util.Date timeCompleted, + java.util.Map> systemTags, + java.util.Map> definedTags, + java.util.Map freeformTags) { + super(); + this.id = id; + this.compartmentId = compartmentId; + this.instancePoolId = instancePoolId; + this.lifecycleState = lifecycleState; + this.targetInstanceConfigurationId = targetInstanceConfigurationId; + this.maxHealthyPercent = maxHealthyPercent; + this.warmupSeconds = warmupSeconds; + this.totalMemberCount = totalMemberCount; + this.remainingMemberCount = remainingMemberCount; + this.percentComplete = percentComplete; + this.skippedMemberCount = skippedMemberCount; + this.timeCreated = timeCreated; + this.timeCompleted = timeCompleted; + this.systemTags = systemTags; + this.definedTags = definedTags; + this.freeformTags = freeformTags; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance pool refresh. + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private String id; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance pool refresh. + * + * @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.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment containing the instance pool. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment containing the instance pool. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance pool. + */ + @com.fasterxml.jackson.annotation.JsonProperty("instancePoolId") + private String instancePoolId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance pool. + * + * @param instancePoolId the value to set + * @return this builder + */ + public Builder instancePoolId(String instancePoolId) { + this.instancePoolId = instancePoolId; + this.__explicitlySet__.add("instancePoolId"); + return this; + } + /** The current state of the instance pool refresh. */ + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") + private InstancePoolRefresh.LifecycleState lifecycleState; + + /** + * The current state of the instance pool refresh. + * + * @param lifecycleState the value to set + * @return this builder + */ + public Builder lifecycleState(InstancePoolRefresh.LifecycleState lifecycleState) { + this.lifecycleState = lifecycleState; + this.__explicitlySet__.add("lifecycleState"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance configuration captured from the instance pool when the refresh started. + */ + @com.fasterxml.jackson.annotation.JsonProperty("targetInstanceConfigurationId") + private String targetInstanceConfigurationId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance configuration captured from the instance pool when the refresh started. + * + * @param targetInstanceConfigurationId the value to set + * @return this builder + */ + public Builder targetInstanceConfigurationId(String targetInstanceConfigurationId) { + this.targetInstanceConfigurationId = targetInstanceConfigurationId; + this.__explicitlySet__.add("targetInstanceConfigurationId"); + return this; + } + /** The maximum healthy percentage requested for launch-before-terminate capacity. */ + @com.fasterxml.jackson.annotation.JsonProperty("maxHealthyPercent") + private Integer maxHealthyPercent; + + /** + * The maximum healthy percentage requested for launch-before-terminate capacity. + * + * @param maxHealthyPercent the value to set + * @return this builder + */ + public Builder maxHealthyPercent(Integer maxHealthyPercent) { + this.maxHealthyPercent = maxHealthyPercent; + this.__explicitlySet__.add("maxHealthyPercent"); + return this; + } + /** The requested warmup duration in seconds. */ + @com.fasterxml.jackson.annotation.JsonProperty("warmupSeconds") + private Integer warmupSeconds; + + /** + * The requested warmup duration in seconds. + * + * @param warmupSeconds the value to set + * @return this builder + */ + public Builder warmupSeconds(Integer warmupSeconds) { + this.warmupSeconds = warmupSeconds; + this.__explicitlySet__.add("warmupSeconds"); + return this; + } + /** The total number of instances selected for this refresh. */ + @com.fasterxml.jackson.annotation.JsonProperty("totalMemberCount") + private Integer totalMemberCount; + + /** + * The total number of instances selected for this refresh. + * + * @param totalMemberCount the value to set + * @return this builder + */ + public Builder totalMemberCount(Integer totalMemberCount) { + this.totalMemberCount = totalMemberCount; + this.__explicitlySet__.add("totalMemberCount"); + return this; + } + /** The number of instances remaining to be refreshed. */ + @com.fasterxml.jackson.annotation.JsonProperty("remainingMemberCount") + private Integer remainingMemberCount; + + /** + * The number of instances remaining to be refreshed. + * + * @param remainingMemberCount the value to set + * @return this builder + */ + public Builder remainingMemberCount(Integer remainingMemberCount) { + this.remainingMemberCount = remainingMemberCount; + this.__explicitlySet__.add("remainingMemberCount"); + return this; + } + /** The percentage of the refresh that is complete. */ + @com.fasterxml.jackson.annotation.JsonProperty("percentComplete") + private Integer percentComplete; + + /** + * The percentage of the refresh that is complete. + * + * @param percentComplete the value to set + * @return this builder + */ + public Builder percentComplete(Integer percentComplete) { + this.percentComplete = percentComplete; + this.__explicitlySet__.add("percentComplete"); + return this; + } + /** The number of instances skipped by the refresh. */ + @com.fasterxml.jackson.annotation.JsonProperty("skippedMemberCount") + private Integer skippedMemberCount; + + /** + * The number of instances skipped by the refresh. + * + * @param skippedMemberCount the value to set + * @return this builder + */ + public Builder skippedMemberCount(Integer skippedMemberCount) { + this.skippedMemberCount = skippedMemberCount; + this.__explicitlySet__.add("skippedMemberCount"); + return this; + } + /** + * The date and time the instance pool refresh was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). Example: {@code 2016-08-25T21:10:29.600Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") + private java.util.Date timeCreated; + + /** + * The date and time the instance pool refresh was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). Example: {@code 2016-08-25T21:10:29.600Z} + * + * @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; + } + /** + * The date and time the instance pool refresh reached a terminal state, in the format + * defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: {@code + * 2016-08-25T21:10:29.600Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeCompleted") + private java.util.Date timeCompleted; + + /** + * The date and time the instance pool refresh reached a terminal state, in the format + * defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: {@code + * 2016-08-25T21:10:29.600Z} + * + * @param timeCompleted the value to set + * @return this builder + */ + public Builder timeCompleted(java.util.Date timeCompleted) { + this.timeCompleted = timeCompleted; + this.__explicitlySet__.add("timeCompleted"); + return this; + } + /** + * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {@code + * { "orcl-cloud": { "free-tier-retained": "true" } }} + */ + @com.fasterxml.jackson.annotation.JsonProperty("systemTags") + private java.util.Map> systemTags; + + /** + * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {@code + * { "orcl-cloud": { "free-tier-retained": "true" } }} + * + * @param systemTags the value to set + * @return this builder + */ + public Builder systemTags(java.util.Map> systemTags) { + this.systemTags = systemTags; + this.__explicitlySet__.add("systemTags"); + return this; + } + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. For + * more information, see [Resource + * Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + *

Example: {@code {"Operations": {"CostCenter": "42"}}} + */ + @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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + *

Example: {@code {"Operations": {"CostCenter": "42"}}} + * + * @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; + } + /** + * 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.oracle.com/iaas/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.oracle.com/iaas/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; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public InstancePoolRefreshSummary build() { + InstancePoolRefreshSummary model = + new InstancePoolRefreshSummary( + this.id, + this.compartmentId, + this.instancePoolId, + this.lifecycleState, + this.targetInstanceConfigurationId, + this.maxHealthyPercent, + this.warmupSeconds, + this.totalMemberCount, + this.remainingMemberCount, + this.percentComplete, + this.skippedMemberCount, + this.timeCreated, + this.timeCompleted, + this.systemTags, + this.definedTags, + this.freeformTags); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(InstancePoolRefreshSummary model) { + if (model.wasPropertyExplicitlySet("id")) { + this.id(model.getId()); + } + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + if (model.wasPropertyExplicitlySet("instancePoolId")) { + this.instancePoolId(model.getInstancePoolId()); + } + if (model.wasPropertyExplicitlySet("lifecycleState")) { + this.lifecycleState(model.getLifecycleState()); + } + if (model.wasPropertyExplicitlySet("targetInstanceConfigurationId")) { + this.targetInstanceConfigurationId(model.getTargetInstanceConfigurationId()); + } + if (model.wasPropertyExplicitlySet("maxHealthyPercent")) { + this.maxHealthyPercent(model.getMaxHealthyPercent()); + } + if (model.wasPropertyExplicitlySet("warmupSeconds")) { + this.warmupSeconds(model.getWarmupSeconds()); + } + if (model.wasPropertyExplicitlySet("totalMemberCount")) { + this.totalMemberCount(model.getTotalMemberCount()); + } + if (model.wasPropertyExplicitlySet("remainingMemberCount")) { + this.remainingMemberCount(model.getRemainingMemberCount()); + } + if (model.wasPropertyExplicitlySet("percentComplete")) { + this.percentComplete(model.getPercentComplete()); + } + if (model.wasPropertyExplicitlySet("skippedMemberCount")) { + this.skippedMemberCount(model.getSkippedMemberCount()); + } + if (model.wasPropertyExplicitlySet("timeCreated")) { + this.timeCreated(model.getTimeCreated()); + } + if (model.wasPropertyExplicitlySet("timeCompleted")) { + this.timeCompleted(model.getTimeCompleted()); + } + if (model.wasPropertyExplicitlySet("systemTags")) { + this.systemTags(model.getSystemTags()); + } + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } + 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.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance pool refresh. + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private final String id; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance pool refresh. + * + * @return the value + */ + public String getId() { + return id; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment containing the instance pool. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment containing the instance pool. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance pool. + */ + @com.fasterxml.jackson.annotation.JsonProperty("instancePoolId") + private final String instancePoolId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance pool. + * + * @return the value + */ + public String getInstancePoolId() { + return instancePoolId; + } + + /** The current state of the instance pool refresh. */ + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") + private final InstancePoolRefresh.LifecycleState lifecycleState; + + /** + * The current state of the instance pool refresh. + * + * @return the value + */ + public InstancePoolRefresh.LifecycleState getLifecycleState() { + return lifecycleState; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance configuration captured from the instance pool when the refresh started. + */ + @com.fasterxml.jackson.annotation.JsonProperty("targetInstanceConfigurationId") + private final String targetInstanceConfigurationId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance configuration captured from the instance pool when the refresh started. + * + * @return the value + */ + public String getTargetInstanceConfigurationId() { + return targetInstanceConfigurationId; + } + + /** The maximum healthy percentage requested for launch-before-terminate capacity. */ + @com.fasterxml.jackson.annotation.JsonProperty("maxHealthyPercent") + private final Integer maxHealthyPercent; + + /** + * The maximum healthy percentage requested for launch-before-terminate capacity. + * + * @return the value + */ + public Integer getMaxHealthyPercent() { + return maxHealthyPercent; + } + + /** The requested warmup duration in seconds. */ + @com.fasterxml.jackson.annotation.JsonProperty("warmupSeconds") + private final Integer warmupSeconds; + + /** + * The requested warmup duration in seconds. + * + * @return the value + */ + public Integer getWarmupSeconds() { + return warmupSeconds; + } + + /** The total number of instances selected for this refresh. */ + @com.fasterxml.jackson.annotation.JsonProperty("totalMemberCount") + private final Integer totalMemberCount; + + /** + * The total number of instances selected for this refresh. + * + * @return the value + */ + public Integer getTotalMemberCount() { + return totalMemberCount; + } + + /** The number of instances remaining to be refreshed. */ + @com.fasterxml.jackson.annotation.JsonProperty("remainingMemberCount") + private final Integer remainingMemberCount; + + /** + * The number of instances remaining to be refreshed. + * + * @return the value + */ + public Integer getRemainingMemberCount() { + return remainingMemberCount; + } + + /** The percentage of the refresh that is complete. */ + @com.fasterxml.jackson.annotation.JsonProperty("percentComplete") + private final Integer percentComplete; + + /** + * The percentage of the refresh that is complete. + * + * @return the value + */ + public Integer getPercentComplete() { + return percentComplete; + } + + /** The number of instances skipped by the refresh. */ + @com.fasterxml.jackson.annotation.JsonProperty("skippedMemberCount") + private final Integer skippedMemberCount; + + /** + * The number of instances skipped by the refresh. + * + * @return the value + */ + public Integer getSkippedMemberCount() { + return skippedMemberCount; + } + + /** + * The date and time the instance pool refresh was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). Example: {@code 2016-08-25T21:10:29.600Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") + private final java.util.Date timeCreated; + + /** + * The date and time the instance pool refresh was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). Example: {@code 2016-08-25T21:10:29.600Z} + * + * @return the value + */ + public java.util.Date getTimeCreated() { + return timeCreated; + } + + /** + * The date and time the instance pool refresh reached a terminal state, in the format defined + * by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: {@code 2016-08-25T21:10:29.600Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeCompleted") + private final java.util.Date timeCompleted; + + /** + * The date and time the instance pool refresh reached a terminal state, in the format defined + * by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: {@code 2016-08-25T21:10:29.600Z} + * + * @return the value + */ + public java.util.Date getTimeCompleted() { + return timeCompleted; + } + + /** + * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {@code { + * "orcl-cloud": { "free-tier-retained": "true" } }} + */ + @com.fasterxml.jackson.annotation.JsonProperty("systemTags") + private final java.util.Map> systemTags; + + /** + * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {@code { + * "orcl-cloud": { "free-tier-retained": "true" } }} + * + * @return the value + */ + public java.util.Map> getSystemTags() { + return systemTags; + } + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more + * information, see [Resource + * Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + *

Example: {@code {"Operations": {"CostCenter": "42"}}} + */ + @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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + *

Example: {@code {"Operations": {"CostCenter": "42"}}} + * + * @return the value + */ + public java.util.Map> getDefinedTags() { + return definedTags; + } + + /** + * 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.oracle.com/iaas/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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + *

Example: {@code {"Department": "Finance"}} + * + * @return the value + */ + public java.util.Map getFreeformTags() { + return freeformTags; + } + + @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("InstancePoolRefreshSummary("); + sb.append("super=").append(super.toString()); + sb.append("id=").append(String.valueOf(this.id)); + sb.append(", compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(", instancePoolId=").append(String.valueOf(this.instancePoolId)); + sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState)); + sb.append(", targetInstanceConfigurationId=") + .append(String.valueOf(this.targetInstanceConfigurationId)); + sb.append(", maxHealthyPercent=").append(String.valueOf(this.maxHealthyPercent)); + sb.append(", warmupSeconds=").append(String.valueOf(this.warmupSeconds)); + sb.append(", totalMemberCount=").append(String.valueOf(this.totalMemberCount)); + sb.append(", remainingMemberCount=").append(String.valueOf(this.remainingMemberCount)); + sb.append(", percentComplete=").append(String.valueOf(this.percentComplete)); + sb.append(", skippedMemberCount=").append(String.valueOf(this.skippedMemberCount)); + sb.append(", timeCreated=").append(String.valueOf(this.timeCreated)); + sb.append(", timeCompleted=").append(String.valueOf(this.timeCompleted)); + sb.append(", systemTags=").append(String.valueOf(this.systemTags)); + sb.append(", definedTags=").append(String.valueOf(this.definedTags)); + sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof InstancePoolRefreshSummary)) { + return false; + } + + InstancePoolRefreshSummary other = (InstancePoolRefreshSummary) o; + return java.util.Objects.equals(this.id, other.id) + && java.util.Objects.equals(this.compartmentId, other.compartmentId) + && java.util.Objects.equals(this.instancePoolId, other.instancePoolId) + && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) + && java.util.Objects.equals( + this.targetInstanceConfigurationId, other.targetInstanceConfigurationId) + && java.util.Objects.equals(this.maxHealthyPercent, other.maxHealthyPercent) + && java.util.Objects.equals(this.warmupSeconds, other.warmupSeconds) + && java.util.Objects.equals(this.totalMemberCount, other.totalMemberCount) + && java.util.Objects.equals(this.remainingMemberCount, other.remainingMemberCount) + && java.util.Objects.equals(this.percentComplete, other.percentComplete) + && java.util.Objects.equals(this.skippedMemberCount, other.skippedMemberCount) + && java.util.Objects.equals(this.timeCreated, other.timeCreated) + && java.util.Objects.equals(this.timeCompleted, other.timeCompleted) + && java.util.Objects.equals(this.systemTags, other.systemTags) + && java.util.Objects.equals(this.definedTags, other.definedTags) + && java.util.Objects.equals(this.freeformTags, other.freeformTags) + && 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.instancePoolId == null ? 43 : this.instancePoolId.hashCode()); + result = + (result * PRIME) + + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode()); + result = + (result * PRIME) + + (this.targetInstanceConfigurationId == null + ? 43 + : this.targetInstanceConfigurationId.hashCode()); + result = + (result * PRIME) + + (this.maxHealthyPercent == null ? 43 : this.maxHealthyPercent.hashCode()); + result = + (result * PRIME) + + (this.warmupSeconds == null ? 43 : this.warmupSeconds.hashCode()); + result = + (result * PRIME) + + (this.totalMemberCount == null ? 43 : this.totalMemberCount.hashCode()); + result = + (result * PRIME) + + (this.remainingMemberCount == null + ? 43 + : this.remainingMemberCount.hashCode()); + result = + (result * PRIME) + + (this.percentComplete == null ? 43 : this.percentComplete.hashCode()); + result = + (result * PRIME) + + (this.skippedMemberCount == null + ? 43 + : this.skippedMemberCount.hashCode()); + result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode()); + result = + (result * PRIME) + + (this.timeCompleted == null ? 43 : this.timeCompleted.hashCode()); + result = (result * PRIME) + (this.systemTags == null ? 43 : this.systemTags.hashCode()); + result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); + result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePoolSummary.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePoolSummary.java index 1b1f995451b..17923263996 100644 --- a/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePoolSummary.java +++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePoolSummary.java @@ -32,6 +32,7 @@ public final class InstancePoolSummary "lifecycleState", "availabilityDomains", "overridePolicy", + "instanceMaintenancePolicy", "size", "timeCreated", "definedTags", @@ -47,6 +48,7 @@ public InstancePoolSummary( LifecycleState lifecycleState, java.util.List availabilityDomains, InstancePoolLaunchOverridePolicy overridePolicy, + InstancePoolMaintenancePolicyDetails instanceMaintenancePolicy, Integer size, java.util.Date timeCreated, java.util.Map> definedTags, @@ -61,6 +63,7 @@ public InstancePoolSummary( this.lifecycleState = lifecycleState; this.availabilityDomains = availabilityDomains; this.overridePolicy = overridePolicy; + this.instanceMaintenancePolicy = instanceMaintenancePolicy; this.size = size; this.timeCreated = timeCreated; this.definedTags = definedTags; @@ -188,6 +191,16 @@ public Builder overridePolicy(InstancePoolLaunchOverridePolicy overridePolicy) { this.__explicitlySet__.add("overridePolicy"); return this; } + + @com.fasterxml.jackson.annotation.JsonProperty("instanceMaintenancePolicy") + private InstancePoolMaintenancePolicyDetails instanceMaintenancePolicy; + + public Builder instanceMaintenancePolicy( + InstancePoolMaintenancePolicyDetails instanceMaintenancePolicy) { + this.instanceMaintenancePolicy = instanceMaintenancePolicy; + this.__explicitlySet__.add("instanceMaintenancePolicy"); + return this; + } /** The number of instances that should be in the instance pool. */ @com.fasterxml.jackson.annotation.JsonProperty("size") private Integer size; @@ -303,6 +316,7 @@ public InstancePoolSummary build() { this.lifecycleState, this.availabilityDomains, this.overridePolicy, + this.instanceMaintenancePolicy, this.size, this.timeCreated, this.definedTags, @@ -340,6 +354,9 @@ public Builder copy(InstancePoolSummary model) { if (model.wasPropertyExplicitlySet("overridePolicy")) { this.overridePolicy(model.getOverridePolicy()); } + if (model.wasPropertyExplicitlySet("instanceMaintenancePolicy")) { + this.instanceMaintenancePolicy(model.getInstanceMaintenancePolicy()); + } if (model.wasPropertyExplicitlySet("size")) { this.size(model.getSize()); } @@ -522,6 +539,13 @@ public InstancePoolLaunchOverridePolicy getOverridePolicy() { return overridePolicy; } + @com.fasterxml.jackson.annotation.JsonProperty("instanceMaintenancePolicy") + private final InstancePoolMaintenancePolicyDetails instanceMaintenancePolicy; + + public InstancePoolMaintenancePolicyDetails getInstanceMaintenancePolicy() { + return instanceMaintenancePolicy; + } + /** The number of instances that should be in the instance pool. */ @com.fasterxml.jackson.annotation.JsonProperty("size") private final Integer size; @@ -635,6 +659,8 @@ public String toString(boolean includeByteArrayContents) { sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState)); sb.append(", availabilityDomains=").append(String.valueOf(this.availabilityDomains)); sb.append(", overridePolicy=").append(String.valueOf(this.overridePolicy)); + sb.append(", instanceMaintenancePolicy=") + .append(String.valueOf(this.instanceMaintenancePolicy)); sb.append(", size=").append(String.valueOf(this.size)); sb.append(", timeCreated=").append(String.valueOf(this.timeCreated)); sb.append(", definedTags=").append(String.valueOf(this.definedTags)); @@ -663,6 +689,8 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) && java.util.Objects.equals(this.availabilityDomains, other.availabilityDomains) && java.util.Objects.equals(this.overridePolicy, other.overridePolicy) + && java.util.Objects.equals( + this.instanceMaintenancePolicy, other.instanceMaintenancePolicy) && java.util.Objects.equals(this.size, other.size) && java.util.Objects.equals(this.timeCreated, other.timeCreated) && java.util.Objects.equals(this.definedTags, other.definedTags) @@ -697,6 +725,11 @@ public int hashCode() { result = (result * PRIME) + (this.overridePolicy == null ? 43 : this.overridePolicy.hashCode()); + result = + (result * PRIME) + + (this.instanceMaintenancePolicy == null + ? 43 + : this.instanceMaintenancePolicy.hashCode()); result = (result * PRIME) + (this.size == null ? 43 : this.size.hashCode()); result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode()); result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/RefreshInstancePoolDetails.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/RefreshInstancePoolDetails.java new file mode 100644 index 00000000000..1cd5c07e42f --- /dev/null +++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/RefreshInstancePoolDetails.java @@ -0,0 +1,237 @@ +/** + * Copyright (c) 2016, 2026, 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.core.model; + +/** + * The data to start an instance refresh for an instance pool.
+ * 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 = RefreshInstancePoolDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class RefreshInstancePoolDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"maxHealthyPercent", "warmupSeconds", "isFullRefresh"}) + public RefreshInstancePoolDetails( + Integer maxHealthyPercent, Integer warmupSeconds, Boolean isFullRefresh) { + super(); + this.maxHealthyPercent = maxHealthyPercent; + this.warmupSeconds = warmupSeconds; + this.isFullRefresh = isFullRefresh; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The maximum percentage of healthy instances that can be in the pool during the refresh. + * The service uses this value to calculate launch-before-terminate surge capacity. + */ + @com.fasterxml.jackson.annotation.JsonProperty("maxHealthyPercent") + private Integer maxHealthyPercent; + + /** + * The maximum percentage of healthy instances that can be in the pool during the refresh. + * The service uses this value to calculate launch-before-terminate surge capacity. + * + * @param maxHealthyPercent the value to set + * @return this builder + */ + public Builder maxHealthyPercent(Integer maxHealthyPercent) { + this.maxHealthyPercent = maxHealthyPercent; + this.__explicitlySet__.add("maxHealthyPercent"); + return this; + } + /** + * The number of seconds to wait after replacement instances are running and startup + * lifecycle actions are complete before terminating old instances in the batch. + */ + @com.fasterxml.jackson.annotation.JsonProperty("warmupSeconds") + private Integer warmupSeconds; + + /** + * The number of seconds to wait after replacement instances are running and startup + * lifecycle actions are complete before terminating old instances in the batch. + * + * @param warmupSeconds the value to set + * @return this builder + */ + public Builder warmupSeconds(Integer warmupSeconds) { + this.warmupSeconds = warmupSeconds; + this.__explicitlySet__.add("warmupSeconds"); + return this; + } + /** + * Whether to refresh all eligible instances that existed when the refresh started, even if + * they were launched from the target instance configuration. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isFullRefresh") + private Boolean isFullRefresh; + + /** + * Whether to refresh all eligible instances that existed when the refresh started, even if + * they were launched from the target instance configuration. + * + * @param isFullRefresh the value to set + * @return this builder + */ + public Builder isFullRefresh(Boolean isFullRefresh) { + this.isFullRefresh = isFullRefresh; + this.__explicitlySet__.add("isFullRefresh"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public RefreshInstancePoolDetails build() { + RefreshInstancePoolDetails model = + new RefreshInstancePoolDetails( + this.maxHealthyPercent, this.warmupSeconds, this.isFullRefresh); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(RefreshInstancePoolDetails model) { + if (model.wasPropertyExplicitlySet("maxHealthyPercent")) { + this.maxHealthyPercent(model.getMaxHealthyPercent()); + } + if (model.wasPropertyExplicitlySet("warmupSeconds")) { + this.warmupSeconds(model.getWarmupSeconds()); + } + if (model.wasPropertyExplicitlySet("isFullRefresh")) { + this.isFullRefresh(model.getIsFullRefresh()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The maximum percentage of healthy instances that can be in the pool during the refresh. The + * service uses this value to calculate launch-before-terminate surge capacity. + */ + @com.fasterxml.jackson.annotation.JsonProperty("maxHealthyPercent") + private final Integer maxHealthyPercent; + + /** + * The maximum percentage of healthy instances that can be in the pool during the refresh. The + * service uses this value to calculate launch-before-terminate surge capacity. + * + * @return the value + */ + public Integer getMaxHealthyPercent() { + return maxHealthyPercent; + } + + /** + * The number of seconds to wait after replacement instances are running and startup lifecycle + * actions are complete before terminating old instances in the batch. + */ + @com.fasterxml.jackson.annotation.JsonProperty("warmupSeconds") + private final Integer warmupSeconds; + + /** + * The number of seconds to wait after replacement instances are running and startup lifecycle + * actions are complete before terminating old instances in the batch. + * + * @return the value + */ + public Integer getWarmupSeconds() { + return warmupSeconds; + } + + /** + * Whether to refresh all eligible instances that existed when the refresh started, even if they + * were launched from the target instance configuration. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isFullRefresh") + private final Boolean isFullRefresh; + + /** + * Whether to refresh all eligible instances that existed when the refresh started, even if they + * were launched from the target instance configuration. + * + * @return the value + */ + public Boolean getIsFullRefresh() { + return isFullRefresh; + } + + @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("RefreshInstancePoolDetails("); + sb.append("super=").append(super.toString()); + sb.append("maxHealthyPercent=").append(String.valueOf(this.maxHealthyPercent)); + sb.append(", warmupSeconds=").append(String.valueOf(this.warmupSeconds)); + sb.append(", isFullRefresh=").append(String.valueOf(this.isFullRefresh)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof RefreshInstancePoolDetails)) { + return false; + } + + RefreshInstancePoolDetails other = (RefreshInstancePoolDetails) o; + return java.util.Objects.equals(this.maxHealthyPercent, other.maxHealthyPercent) + && java.util.Objects.equals(this.warmupSeconds, other.warmupSeconds) + && java.util.Objects.equals(this.isFullRefresh, other.isFullRefresh) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.maxHealthyPercent == null ? 43 : this.maxHealthyPercent.hashCode()); + result = + (result * PRIME) + + (this.warmupSeconds == null ? 43 : this.warmupSeconds.hashCode()); + result = + (result * PRIME) + + (this.isFullRefresh == null ? 43 : this.isFullRefresh.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdateInstancePoolDetails.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdateInstancePoolDetails.java index 213ce23f244..3d8bae5ffd2 100644 --- a/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdateInstancePoolDetails.java +++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdateInstancePoolDetails.java @@ -5,9 +5,11 @@ package com.oracle.bmc.core.model; /** - * The data to update an instance pool. If {@code overridePolicy} is omitted, the stored launch - * override policy remains unchanged. A non-null {@code overridePolicy} replaces the stored policy - * as a whole, and {@code null} clears it for future launches.
+ * The data to update an instance pool. If {@code instanceMaintenancePolicy} is omitted, the stored + * maintenance policy remains unchanged. A non-null {@code instanceMaintenancePolicy} replaces the + * stored policy as a whole, and {@code null} clears it. If {@code overridePolicy} is omitted, the + * stored launch override policy remains unchanged. A non-null {@code overridePolicy} replaces the + * stored policy as a whole, and {@code null} clears it for future launches.
* 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 @@ -35,7 +37,8 @@ public final class UpdateInstancePoolDetails "overridePolicy", "instanceDisplayNameFormatter", "instanceHostnameFormatter", - "lifecycleManagement" + "lifecycleManagement", + "instanceMaintenancePolicy" }) public UpdateInstancePoolDetails( java.util.Map> definedTags, @@ -47,7 +50,8 @@ public UpdateInstancePoolDetails( InstancePoolLaunchOverridePolicy overridePolicy, String instanceDisplayNameFormatter, String instanceHostnameFormatter, - InstancePoolLifecycleManagementDetails lifecycleManagement) { + InstancePoolLifecycleManagementDetails lifecycleManagement, + InstancePoolMaintenancePolicyDetails instanceMaintenancePolicy) { super(); this.definedTags = definedTags; this.displayName = displayName; @@ -59,6 +63,7 @@ public UpdateInstancePoolDetails( this.instanceDisplayNameFormatter = instanceDisplayNameFormatter; this.instanceHostnameFormatter = instanceHostnameFormatter; this.lifecycleManagement = lifecycleManagement; + this.instanceMaintenancePolicy = instanceMaintenancePolicy; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -273,6 +278,16 @@ public Builder lifecycleManagement( return this; } + @com.fasterxml.jackson.annotation.JsonProperty("instanceMaintenancePolicy") + private InstancePoolMaintenancePolicyDetails instanceMaintenancePolicy; + + public Builder instanceMaintenancePolicy( + InstancePoolMaintenancePolicyDetails instanceMaintenancePolicy) { + this.instanceMaintenancePolicy = instanceMaintenancePolicy; + this.__explicitlySet__.add("instanceMaintenancePolicy"); + return this; + } + @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -288,7 +303,8 @@ public UpdateInstancePoolDetails build() { this.overridePolicy, this.instanceDisplayNameFormatter, this.instanceHostnameFormatter, - this.lifecycleManagement); + this.lifecycleManagement, + this.instanceMaintenancePolicy); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -327,6 +343,9 @@ public Builder copy(UpdateInstancePoolDetails model) { if (model.wasPropertyExplicitlySet("lifecycleManagement")) { this.lifecycleManagement(model.getLifecycleManagement()); } + if (model.wasPropertyExplicitlySet("instanceMaintenancePolicy")) { + this.instanceMaintenancePolicy(model.getInstanceMaintenancePolicy()); + } return this; } } @@ -524,6 +543,13 @@ public InstancePoolLifecycleManagementDetails getLifecycleManagement() { return lifecycleManagement; } + @com.fasterxml.jackson.annotation.JsonProperty("instanceMaintenancePolicy") + private final InstancePoolMaintenancePolicyDetails instanceMaintenancePolicy; + + public InstancePoolMaintenancePolicyDetails getInstanceMaintenancePolicy() { + return instanceMaintenancePolicy; + } + @Override public String toString() { return this.toString(true); @@ -553,6 +579,8 @@ public String toString(boolean includeByteArrayContents) { sb.append(", instanceHostnameFormatter=") .append(String.valueOf(this.instanceHostnameFormatter)); sb.append(", lifecycleManagement=").append(String.valueOf(this.lifecycleManagement)); + sb.append(", instanceMaintenancePolicy=") + .append(String.valueOf(this.instanceMaintenancePolicy)); sb.append(")"); return sb.toString(); } @@ -581,6 +609,8 @@ public boolean equals(Object o) { && java.util.Objects.equals( this.instanceHostnameFormatter, other.instanceHostnameFormatter) && java.util.Objects.equals(this.lifecycleManagement, other.lifecycleManagement) + && java.util.Objects.equals( + this.instanceMaintenancePolicy, other.instanceMaintenancePolicy) && super.equals(other); } @@ -620,6 +650,11 @@ public int hashCode() { + (this.lifecycleManagement == null ? 43 : this.lifecycleManagement.hashCode()); + result = + (result * PRIME) + + (this.instanceMaintenancePolicy == null + ? 43 + : this.instanceMaintenancePolicy.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/requests/CancelInstancePoolRefreshRequest.java b/bmc-core/src/main/java/com/oracle/bmc/core/requests/CancelInstancePoolRefreshRequest.java new file mode 100644 index 00000000000..cc59a5a1f57 --- /dev/null +++ b/bmc-core/src/main/java/com/oracle/bmc/core/requests/CancelInstancePoolRefreshRequest.java @@ -0,0 +1,414 @@ +/** + * Copyright (c) 2016, 2026, 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.core.requests; + +import com.oracle.bmc.core.model.*; +/** + * Example: Click here to see how to use + * CancelInstancePoolRefreshRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +public class CancelInstancePoolRefreshRequest + extends com.oracle.bmc.requests.BmcRequest< + com.oracle.bmc.core.model.CancelInstancePoolRefreshDetails> { + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance pool. + */ + private String instancePoolId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance pool. + */ + public String getInstancePoolId() { + return instancePoolId; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance pool refresh. + */ + private String refreshId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance pool refresh. + */ + public String getRefreshId() { + return refreshId; + } + /** The details for canceling the instance pool refresh. */ + private com.oracle.bmc.core.model.CancelInstancePoolRefreshDetails + cancelInstancePoolRefreshDetails; + + /** The details for canceling the instance pool refresh. */ + public com.oracle.bmc.core.model.CancelInstancePoolRefreshDetails + getCancelInstancePoolRefreshDetails() { + return cancelInstancePoolRefreshDetails; + } + /** + * Unique identifier for the request. If you need to contact Oracle about a particular request, + * please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique identifier for the request. If you need to contact Oracle about a particular request, + * please provide the request ID. + */ + public String getOpcRequestId() { + return opcRequestId; + } + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations (for example, if a + * resource has been deleted and purged from the system, then a retry of the original creation + * request may be rejected). + */ + private String opcRetryToken; + + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations (for example, if a + * resource has been deleted and purged from the system, then a retry of the original creation + * request may be rejected). + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code + * if-match} parameter to the value of the etag from a previous GET or POST response for that + * resource. The resource will be updated or deleted only if the etag you provide matches the + * resource's current etag value. + */ + private String ifMatch; + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code + * if-match} parameter to the value of the etag from a previous GET or POST response for that + * resource. The resource will be updated or deleted only if the etag you provide matches the + * resource's current etag value. + */ + public String getIfMatch() { + return ifMatch; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.core.model.CancelInstancePoolRefreshDetails getBody$() { + return cancelInstancePoolRefreshDetails; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + CancelInstancePoolRefreshRequest, + com.oracle.bmc.core.model.CancelInstancePoolRefreshDetails> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance pool. + */ + private String instancePoolId = null; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance pool. + * + * @param instancePoolId the value to set + * @return this builder instance + */ + public Builder instancePoolId(String instancePoolId) { + this.instancePoolId = instancePoolId; + return this; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance pool refresh. + */ + private String refreshId = null; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance pool refresh. + * + * @param refreshId the value to set + * @return this builder instance + */ + public Builder refreshId(String refreshId) { + this.refreshId = refreshId; + return this; + } + + /** The details for canceling the instance pool refresh. */ + private com.oracle.bmc.core.model.CancelInstancePoolRefreshDetails + cancelInstancePoolRefreshDetails = null; + + /** + * The details for canceling the instance pool refresh. + * + * @param cancelInstancePoolRefreshDetails the value to set + * @return this builder instance + */ + public Builder cancelInstancePoolRefreshDetails( + com.oracle.bmc.core.model.CancelInstancePoolRefreshDetails + cancelInstancePoolRefreshDetails) { + this.cancelInstancePoolRefreshDetails = cancelInstancePoolRefreshDetails; + return this; + } + + /** + * Unique identifier for the request. If you need to contact Oracle about a particular + * request, please provide the request ID. + */ + private String opcRequestId = null; + + /** + * Unique identifier for the request. If you need to contact Oracle about a particular + * request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder instance + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after + * 24 hours, but can be invalidated before then due to conflicting operations (for example, + * if a resource has been deleted and purged from the system, then a retry of the original + * creation request may be rejected). + */ + private String opcRetryToken = null; + + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after + * 24 hours, but can be invalidated before then due to conflicting operations (for example, + * if a resource has been deleted and purged from the system, then a retry of the original + * creation request may be rejected). + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response + * for that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + */ + private String ifMatch = null; + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response + * for that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + * @param ifMatch the value to set + * @return this builder instance + */ + public Builder ifMatch(String ifMatch) { + this.ifMatch = ifMatch; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(CancelInstancePoolRefreshRequest o) { + instancePoolId(o.getInstancePoolId()); + refreshId(o.getRefreshId()); + cancelInstancePoolRefreshDetails(o.getCancelInstancePoolRefreshDetails()); + opcRequestId(o.getOpcRequestId()); + opcRetryToken(o.getOpcRetryToken()); + ifMatch(o.getIfMatch()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of CancelInstancePoolRefreshRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of CancelInstancePoolRefreshRequest + */ + public CancelInstancePoolRefreshRequest build() { + CancelInstancePoolRefreshRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$(com.oracle.bmc.core.model.CancelInstancePoolRefreshDetails body) { + cancelInstancePoolRefreshDetails(body); + return this; + } + + /** + * Build the instance of CancelInstancePoolRefreshRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of CancelInstancePoolRefreshRequest + */ + public CancelInstancePoolRefreshRequest buildWithoutInvocationCallback() { + CancelInstancePoolRefreshRequest request = new CancelInstancePoolRefreshRequest(); + request.instancePoolId = instancePoolId; + request.refreshId = refreshId; + request.cancelInstancePoolRefreshDetails = cancelInstancePoolRefreshDetails; + request.opcRequestId = opcRequestId; + request.opcRetryToken = opcRetryToken; + request.ifMatch = ifMatch; + return request; + // new CancelInstancePoolRefreshRequest(instancePoolId, refreshId, + // cancelInstancePoolRefreshDetails, opcRequestId, opcRetryToken, ifMatch); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .instancePoolId(instancePoolId) + .refreshId(refreshId) + .cancelInstancePoolRefreshDetails(cancelInstancePoolRefreshDetails) + .opcRequestId(opcRequestId) + .opcRetryToken(opcRetryToken) + .ifMatch(ifMatch); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",instancePoolId=").append(String.valueOf(this.instancePoolId)); + sb.append(",refreshId=").append(String.valueOf(this.refreshId)); + sb.append(",cancelInstancePoolRefreshDetails=") + .append(String.valueOf(this.cancelInstancePoolRefreshDetails)); + sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(",ifMatch=").append(String.valueOf(this.ifMatch)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CancelInstancePoolRefreshRequest)) { + return false; + } + + CancelInstancePoolRefreshRequest other = (CancelInstancePoolRefreshRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.instancePoolId, other.instancePoolId) + && java.util.Objects.equals(this.refreshId, other.refreshId) + && java.util.Objects.equals( + this.cancelInstancePoolRefreshDetails, + other.cancelInstancePoolRefreshDetails) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken) + && java.util.Objects.equals(this.ifMatch, other.ifMatch); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.instancePoolId == null ? 43 : this.instancePoolId.hashCode()); + result = (result * PRIME) + (this.refreshId == null ? 43 : this.refreshId.hashCode()); + result = + (result * PRIME) + + (this.cancelInstancePoolRefreshDetails == null + ? 43 + : this.cancelInstancePoolRefreshDetails.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode()); + return result; + } +} diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/requests/GetInstancePoolRefreshRequest.java b/bmc-core/src/main/java/com/oracle/bmc/core/requests/GetInstancePoolRefreshRequest.java new file mode 100644 index 00000000000..a1425ec0e1c --- /dev/null +++ b/bmc-core/src/main/java/com/oracle/bmc/core/requests/GetInstancePoolRefreshRequest.java @@ -0,0 +1,253 @@ +/** + * Copyright (c) 2016, 2026, 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.core.requests; + +import com.oracle.bmc.core.model.*; +/** + * Example: Click here to see how to use + * GetInstancePoolRefreshRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +public class GetInstancePoolRefreshRequest + extends com.oracle.bmc.requests.BmcRequest { + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance pool. + */ + private String instancePoolId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance pool. + */ + public String getInstancePoolId() { + return instancePoolId; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance pool refresh. + */ + private String refreshId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance pool refresh. + */ + public String getRefreshId() { + return refreshId; + } + /** + * Unique identifier for the request. If you need to contact Oracle about a particular request, + * please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique identifier for the request. If you need to contact Oracle about a particular request, + * please provide the request ID. + */ + public String getOpcRequestId() { + return opcRequestId; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + GetInstancePoolRefreshRequest, java.lang.Void> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance pool. + */ + private String instancePoolId = null; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance pool. + * + * @param instancePoolId the value to set + * @return this builder instance + */ + public Builder instancePoolId(String instancePoolId) { + this.instancePoolId = instancePoolId; + return this; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance pool refresh. + */ + private String refreshId = null; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance pool refresh. + * + * @param refreshId the value to set + * @return this builder instance + */ + public Builder refreshId(String refreshId) { + this.refreshId = refreshId; + return this; + } + + /** + * Unique identifier for the request. If you need to contact Oracle about a particular + * request, please provide the request ID. + */ + private String opcRequestId = null; + + /** + * Unique identifier for the request. If you need to contact Oracle about a particular + * request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder instance + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(GetInstancePoolRefreshRequest o) { + instancePoolId(o.getInstancePoolId()); + refreshId(o.getRefreshId()); + opcRequestId(o.getOpcRequestId()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of GetInstancePoolRefreshRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of GetInstancePoolRefreshRequest + */ + public GetInstancePoolRefreshRequest build() { + GetInstancePoolRefreshRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Build the instance of GetInstancePoolRefreshRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of GetInstancePoolRefreshRequest + */ + public GetInstancePoolRefreshRequest buildWithoutInvocationCallback() { + GetInstancePoolRefreshRequest request = new GetInstancePoolRefreshRequest(); + request.instancePoolId = instancePoolId; + request.refreshId = refreshId; + request.opcRequestId = opcRequestId; + return request; + // new GetInstancePoolRefreshRequest(instancePoolId, refreshId, opcRequestId); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .instancePoolId(instancePoolId) + .refreshId(refreshId) + .opcRequestId(opcRequestId); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",instancePoolId=").append(String.valueOf(this.instancePoolId)); + sb.append(",refreshId=").append(String.valueOf(this.refreshId)); + sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof GetInstancePoolRefreshRequest)) { + return false; + } + + GetInstancePoolRefreshRequest other = (GetInstancePoolRefreshRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.instancePoolId, other.instancePoolId) + && java.util.Objects.equals(this.refreshId, other.refreshId) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.instancePoolId == null ? 43 : this.instancePoolId.hashCode()); + result = (result * PRIME) + (this.refreshId == null ? 43 : this.refreshId.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + return result; + } +} diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/requests/ListInstancePoolRefreshesRequest.java b/bmc-core/src/main/java/com/oracle/bmc/core/requests/ListInstancePoolRefreshesRequest.java new file mode 100644 index 00000000000..bc6c6b84ff0 --- /dev/null +++ b/bmc-core/src/main/java/com/oracle/bmc/core/requests/ListInstancePoolRefreshesRequest.java @@ -0,0 +1,566 @@ +/** + * Copyright (c) 2016, 2026, 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.core.requests; + +import com.oracle.bmc.core.model.*; +/** + * Example: Click here to see how to use + * ListInstancePoolRefreshesRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +public class ListInstancePoolRefreshesRequest + extends com.oracle.bmc.requests.BmcRequest { + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment. + */ + private String compartmentId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment. + */ + public String getCompartmentId() { + return compartmentId; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance pool. + */ + private String instancePoolId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance pool. + */ + public String getInstancePoolId() { + return instancePoolId; + } + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated "List" call. For important details about how pagination works, see [List + * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + *

Example: {@code 50} + */ + private Integer limit; + + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated "List" call. For important details about how pagination works, see [List + * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + *

Example: {@code 50} + */ + public Integer getLimit() { + return limit; + } + /** + * For list pagination. The value of the {@code opc-next-page} response header from the previous + * "List" call. For important details about how pagination works, see [List + * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + */ + private String page; + + /** + * For list pagination. The value of the {@code opc-next-page} response header from the previous + * "List" call. For important details about how pagination works, see [List + * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + */ + public String getPage() { + return page; + } + /** + * Unique identifier for the request. If you need to contact Oracle about a particular request, + * please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique identifier for the request. If you need to contact Oracle about a particular request, + * please provide the request ID. + */ + public String getOpcRequestId() { + return opcRequestId; + } + /** + * The field to sort by. You can provide one sort order ({@code sortOrder}). Default order for + * TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort + * order is case sensitive. + * + *

*Note:** In general, some "List" operations (for example, {@code ListInstances}) let you + * optionally filter by availability domain if the scope of the resource type is within a single + * availability domain. If you call one of these "List" operations without specifying an + * availability domain, the resources are grouped by availability domain, then sorted. + */ + private SortBy sortBy; + + /** + * The field to sort by. You can provide one sort order ({@code sortOrder}). Default order for + * TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort + * order is case sensitive. + * + *

*Note:** In general, some "List" operations (for example, {@code ListInstances}) let you + * optionally filter by availability domain if the scope of the resource type is within a single + * availability domain. If you call one of these "List" operations without specifying an + * availability domain, the resources are grouped by availability domain, then sorted. + */ + public enum SortBy implements com.oracle.bmc.http.internal.BmcEnum { + Timecreated("TIMECREATED"), + Displayname("DISPLAYNAME"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (SortBy v : SortBy.values()) { + map.put(v.getValue(), v); + } + } + + SortBy(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static SortBy create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid SortBy: " + key); + } + }; + + /** + * The field to sort by. You can provide one sort order ({@code sortOrder}). Default order for + * TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort + * order is case sensitive. + * + *

*Note:** In general, some "List" operations (for example, {@code ListInstances}) let you + * optionally filter by availability domain if the scope of the resource type is within a single + * availability domain. If you call one of these "List" operations without specifying an + * availability domain, the resources are grouped by availability domain, then sorted. + */ + public SortBy getSortBy() { + return sortBy; + } + /** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). The + * DISPLAYNAME sort order is case sensitive. + */ + private SortOrder sortOrder; + + /** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). The + * DISPLAYNAME sort order is case sensitive. + */ + public enum SortOrder implements com.oracle.bmc.http.internal.BmcEnum { + Asc("ASC"), + Desc("DESC"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (SortOrder v : SortOrder.values()) { + map.put(v.getValue(), v); + } + } + + SortOrder(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static SortOrder create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid SortOrder: " + key); + } + }; + + /** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). The + * DISPLAYNAME sort order is case sensitive. + */ + public SortOrder getSortOrder() { + return sortOrder; + } + /** + * A filter to only return refreshes that match the given lifecycle state. The state value is + * case-insensitive. + */ + private com.oracle.bmc.core.model.InstancePoolRefresh.LifecycleState lifecycleState; + + /** + * A filter to only return refreshes that match the given lifecycle state. The state value is + * case-insensitive. + */ + public com.oracle.bmc.core.model.InstancePoolRefresh.LifecycleState getLifecycleState() { + return lifecycleState; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + ListInstancePoolRefreshesRequest, java.lang.Void> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment. + */ + private String compartmentId = null; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment. + * + * @param compartmentId the value to set + * @return this builder instance + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + return this; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance pool. + */ + private String instancePoolId = null; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance pool. + * + * @param instancePoolId the value to set + * @return this builder instance + */ + public Builder instancePoolId(String instancePoolId) { + this.instancePoolId = instancePoolId; + return this; + } + + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated "List" call. For important details about how pagination works, see [List + * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + *

Example: {@code 50} + */ + private Integer limit = null; + + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated "List" call. For important details about how pagination works, see [List + * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + *

Example: {@code 50} + * + * @param limit the value to set + * @return this builder instance + */ + public Builder limit(Integer limit) { + this.limit = limit; + return this; + } + + /** + * For list pagination. The value of the {@code opc-next-page} response header from the + * previous "List" call. For important details about how pagination works, see [List + * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + */ + private String page = null; + + /** + * For list pagination. The value of the {@code opc-next-page} response header from the + * previous "List" call. For important details about how pagination works, see [List + * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + * @param page the value to set + * @return this builder instance + */ + public Builder page(String page) { + this.page = page; + return this; + } + + /** + * Unique identifier for the request. If you need to contact Oracle about a particular + * request, please provide the request ID. + */ + private String opcRequestId = null; + + /** + * Unique identifier for the request. If you need to contact Oracle about a particular + * request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder instance + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * The field to sort by. You can provide one sort order ({@code sortOrder}). Default order + * for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The + * DISPLAYNAME sort order is case sensitive. + * + *

*Note:** In general, some "List" operations (for example, {@code ListInstances}) let + * you optionally filter by availability domain if the scope of the resource type is within + * a single availability domain. If you call one of these "List" operations without + * specifying an availability domain, the resources are grouped by availability domain, then + * sorted. + */ + private SortBy sortBy = null; + + /** + * The field to sort by. You can provide one sort order ({@code sortOrder}). Default order + * for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The + * DISPLAYNAME sort order is case sensitive. + * + *

*Note:** In general, some "List" operations (for example, {@code ListInstances}) let + * you optionally filter by availability domain if the scope of the resource type is within + * a single availability domain. If you call one of these "List" operations without + * specifying an availability domain, the resources are grouped by availability domain, then + * sorted. + * + * @param sortBy the value to set + * @return this builder instance + */ + public Builder sortBy(SortBy sortBy) { + this.sortBy = sortBy; + return this; + } + + /** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). The + * DISPLAYNAME sort order is case sensitive. + */ + private SortOrder sortOrder = null; + + /** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). The + * DISPLAYNAME sort order is case sensitive. + * + * @param sortOrder the value to set + * @return this builder instance + */ + public Builder sortOrder(SortOrder sortOrder) { + this.sortOrder = sortOrder; + return this; + } + + /** + * A filter to only return refreshes that match the given lifecycle state. The state value + * is case-insensitive. + */ + private com.oracle.bmc.core.model.InstancePoolRefresh.LifecycleState lifecycleState = null; + + /** + * A filter to only return refreshes that match the given lifecycle state. The state value + * is case-insensitive. + * + * @param lifecycleState the value to set + * @return this builder instance + */ + public Builder lifecycleState( + com.oracle.bmc.core.model.InstancePoolRefresh.LifecycleState lifecycleState) { + this.lifecycleState = lifecycleState; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(ListInstancePoolRefreshesRequest o) { + compartmentId(o.getCompartmentId()); + instancePoolId(o.getInstancePoolId()); + limit(o.getLimit()); + page(o.getPage()); + opcRequestId(o.getOpcRequestId()); + sortBy(o.getSortBy()); + sortOrder(o.getSortOrder()); + lifecycleState(o.getLifecycleState()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of ListInstancePoolRefreshesRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of ListInstancePoolRefreshesRequest + */ + public ListInstancePoolRefreshesRequest build() { + ListInstancePoolRefreshesRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Build the instance of ListInstancePoolRefreshesRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of ListInstancePoolRefreshesRequest + */ + public ListInstancePoolRefreshesRequest buildWithoutInvocationCallback() { + ListInstancePoolRefreshesRequest request = new ListInstancePoolRefreshesRequest(); + request.compartmentId = compartmentId; + request.instancePoolId = instancePoolId; + request.limit = limit; + request.page = page; + request.opcRequestId = opcRequestId; + request.sortBy = sortBy; + request.sortOrder = sortOrder; + request.lifecycleState = lifecycleState; + return request; + // new ListInstancePoolRefreshesRequest(compartmentId, instancePoolId, limit, page, + // opcRequestId, sortBy, sortOrder, lifecycleState); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .compartmentId(compartmentId) + .instancePoolId(instancePoolId) + .limit(limit) + .page(page) + .opcRequestId(opcRequestId) + .sortBy(sortBy) + .sortOrder(sortOrder) + .lifecycleState(lifecycleState); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(",instancePoolId=").append(String.valueOf(this.instancePoolId)); + sb.append(",limit=").append(String.valueOf(this.limit)); + sb.append(",page=").append(String.valueOf(this.page)); + sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId)); + sb.append(",sortBy=").append(String.valueOf(this.sortBy)); + sb.append(",sortOrder=").append(String.valueOf(this.sortOrder)); + sb.append(",lifecycleState=").append(String.valueOf(this.lifecycleState)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ListInstancePoolRefreshesRequest)) { + return false; + } + + ListInstancePoolRefreshesRequest other = (ListInstancePoolRefreshesRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.compartmentId, other.compartmentId) + && java.util.Objects.equals(this.instancePoolId, other.instancePoolId) + && java.util.Objects.equals(this.limit, other.limit) + && java.util.Objects.equals(this.page, other.page) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.sortBy, other.sortBy) + && java.util.Objects.equals(this.sortOrder, other.sortOrder) + && java.util.Objects.equals(this.lifecycleState, other.lifecycleState); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = + (result * PRIME) + + (this.instancePoolId == null ? 43 : this.instancePoolId.hashCode()); + result = (result * PRIME) + (this.limit == null ? 43 : this.limit.hashCode()); + result = (result * PRIME) + (this.page == null ? 43 : this.page.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.sortBy == null ? 43 : this.sortBy.hashCode()); + result = (result * PRIME) + (this.sortOrder == null ? 43 : this.sortOrder.hashCode()); + result = + (result * PRIME) + + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode()); + return result; + } +} diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/requests/RefreshInstancePoolRequest.java b/bmc-core/src/main/java/com/oracle/bmc/core/requests/RefreshInstancePoolRequest.java new file mode 100644 index 00000000000..b79b6dfe078 --- /dev/null +++ b/bmc-core/src/main/java/com/oracle/bmc/core/requests/RefreshInstancePoolRequest.java @@ -0,0 +1,372 @@ +/** + * Copyright (c) 2016, 2026, 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.core.requests; + +import com.oracle.bmc.core.model.*; +/** + * Example: Click here to see how to use RefreshInstancePoolRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +public class RefreshInstancePoolRequest + extends com.oracle.bmc.requests.BmcRequest< + com.oracle.bmc.core.model.RefreshInstancePoolDetails> { + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance pool. + */ + private String instancePoolId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance pool. + */ + public String getInstancePoolId() { + return instancePoolId; + } + /** Instance pool refresh details */ + private com.oracle.bmc.core.model.RefreshInstancePoolDetails refreshInstancePoolDetails; + + /** Instance pool refresh details */ + public com.oracle.bmc.core.model.RefreshInstancePoolDetails getRefreshInstancePoolDetails() { + return refreshInstancePoolDetails; + } + /** + * Unique identifier for the request. If you need to contact Oracle about a particular request, + * please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique identifier for the request. If you need to contact Oracle about a particular request, + * please provide the request ID. + */ + public String getOpcRequestId() { + return opcRequestId; + } + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations (for example, if a + * resource has been deleted and purged from the system, then a retry of the original creation + * request may be rejected). + */ + private String opcRetryToken; + + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations (for example, if a + * resource has been deleted and purged from the system, then a retry of the original creation + * request may be rejected). + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code + * if-match} parameter to the value of the etag from a previous GET or POST response for that + * resource. The resource will be updated or deleted only if the etag you provide matches the + * resource's current etag value. + */ + private String ifMatch; + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code + * if-match} parameter to the value of the etag from a previous GET or POST response for that + * resource. The resource will be updated or deleted only if the etag you provide matches the + * resource's current etag value. + */ + public String getIfMatch() { + return ifMatch; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.core.model.RefreshInstancePoolDetails getBody$() { + return refreshInstancePoolDetails; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + RefreshInstancePoolRequest, + com.oracle.bmc.core.model.RefreshInstancePoolDetails> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance pool. + */ + private String instancePoolId = null; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * instance pool. + * + * @param instancePoolId the value to set + * @return this builder instance + */ + public Builder instancePoolId(String instancePoolId) { + this.instancePoolId = instancePoolId; + return this; + } + + /** Instance pool refresh details */ + private com.oracle.bmc.core.model.RefreshInstancePoolDetails refreshInstancePoolDetails = + null; + + /** + * Instance pool refresh details + * + * @param refreshInstancePoolDetails the value to set + * @return this builder instance + */ + public Builder refreshInstancePoolDetails( + com.oracle.bmc.core.model.RefreshInstancePoolDetails refreshInstancePoolDetails) { + this.refreshInstancePoolDetails = refreshInstancePoolDetails; + return this; + } + + /** + * Unique identifier for the request. If you need to contact Oracle about a particular + * request, please provide the request ID. + */ + private String opcRequestId = null; + + /** + * Unique identifier for the request. If you need to contact Oracle about a particular + * request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder instance + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after + * 24 hours, but can be invalidated before then due to conflicting operations (for example, + * if a resource has been deleted and purged from the system, then a retry of the original + * creation request may be rejected). + */ + private String opcRetryToken = null; + + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after + * 24 hours, but can be invalidated before then due to conflicting operations (for example, + * if a resource has been deleted and purged from the system, then a retry of the original + * creation request may be rejected). + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response + * for that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + */ + private String ifMatch = null; + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response + * for that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + * @param ifMatch the value to set + * @return this builder instance + */ + public Builder ifMatch(String ifMatch) { + this.ifMatch = ifMatch; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(RefreshInstancePoolRequest o) { + instancePoolId(o.getInstancePoolId()); + refreshInstancePoolDetails(o.getRefreshInstancePoolDetails()); + opcRequestId(o.getOpcRequestId()); + opcRetryToken(o.getOpcRetryToken()); + ifMatch(o.getIfMatch()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of RefreshInstancePoolRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of RefreshInstancePoolRequest + */ + public RefreshInstancePoolRequest build() { + RefreshInstancePoolRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$(com.oracle.bmc.core.model.RefreshInstancePoolDetails body) { + refreshInstancePoolDetails(body); + return this; + } + + /** + * Build the instance of RefreshInstancePoolRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of RefreshInstancePoolRequest + */ + public RefreshInstancePoolRequest buildWithoutInvocationCallback() { + RefreshInstancePoolRequest request = new RefreshInstancePoolRequest(); + request.instancePoolId = instancePoolId; + request.refreshInstancePoolDetails = refreshInstancePoolDetails; + request.opcRequestId = opcRequestId; + request.opcRetryToken = opcRetryToken; + request.ifMatch = ifMatch; + return request; + // new RefreshInstancePoolRequest(instancePoolId, refreshInstancePoolDetails, + // opcRequestId, opcRetryToken, ifMatch); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .instancePoolId(instancePoolId) + .refreshInstancePoolDetails(refreshInstancePoolDetails) + .opcRequestId(opcRequestId) + .opcRetryToken(opcRetryToken) + .ifMatch(ifMatch); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",instancePoolId=").append(String.valueOf(this.instancePoolId)); + sb.append(",refreshInstancePoolDetails=") + .append(String.valueOf(this.refreshInstancePoolDetails)); + sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(",ifMatch=").append(String.valueOf(this.ifMatch)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof RefreshInstancePoolRequest)) { + return false; + } + + RefreshInstancePoolRequest other = (RefreshInstancePoolRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.instancePoolId, other.instancePoolId) + && java.util.Objects.equals( + this.refreshInstancePoolDetails, other.refreshInstancePoolDetails) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken) + && java.util.Objects.equals(this.ifMatch, other.ifMatch); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.instancePoolId == null ? 43 : this.instancePoolId.hashCode()); + result = + (result * PRIME) + + (this.refreshInstancePoolDetails == null + ? 43 + : this.refreshInstancePoolDetails.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode()); + return result; + } +} diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/responses/CancelInstancePoolRefreshResponse.java b/bmc-core/src/main/java/com/oracle/bmc/core/responses/CancelInstancePoolRefreshResponse.java new file mode 100644 index 00000000000..c72f8c7c728 --- /dev/null +++ b/bmc-core/src/main/java/com/oracle/bmc/core/responses/CancelInstancePoolRefreshResponse.java @@ -0,0 +1,194 @@ +/** + * Copyright (c) 2016, 2026, 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.core.responses; + +import com.oracle.bmc.core.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +public class CancelInstancePoolRefreshResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work + * request. Use + * [GetWorkRequest](https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + * with this ID to track the status of the request. + */ + private String opcWorkRequestId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work + * request. Use + * [GetWorkRequest](https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + * with this ID to track the status of the request. + * + * @return the value + */ + public String getOpcWorkRequestId() { + return opcWorkRequestId; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "opcWorkRequestId" + }) + private CancelInstancePoolRefreshResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String opcWorkRequestId) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.opcWorkRequestId = opcWorkRequestId; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder< + CancelInstancePoolRefreshResponse> { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * work request. Use + * [GetWorkRequest](https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + * with this ID to track the status of the request. + */ + private String opcWorkRequestId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * work request. Use + * [GetWorkRequest](https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + * with this ID to track the status of the request. + * + * @param opcWorkRequestId the value to set + * @return this builder + */ + public Builder opcWorkRequestId(String opcWorkRequestId) { + this.opcWorkRequestId = opcWorkRequestId; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(CancelInstancePoolRefreshResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + opcWorkRequestId(o.getOpcWorkRequestId()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public CancelInstancePoolRefreshResponse build() { + return new CancelInstancePoolRefreshResponse( + __httpStatusCode__, headers, opcRequestId, opcWorkRequestId); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",opcWorkRequestId=").append(String.valueOf(opcWorkRequestId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CancelInstancePoolRefreshResponse)) { + return false; + } + + CancelInstancePoolRefreshResponse other = (CancelInstancePoolRefreshResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.opcWorkRequestId, other.opcWorkRequestId); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = + (result * PRIME) + + (this.opcWorkRequestId == null ? 43 : this.opcWorkRequestId.hashCode()); + return result; + } +} diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/responses/GetInstancePoolRefreshResponse.java b/bmc-core/src/main/java/com/oracle/bmc/core/responses/GetInstancePoolRefreshResponse.java new file mode 100644 index 00000000000..fc314327b2a --- /dev/null +++ b/bmc-core/src/main/java/com/oracle/bmc/core/responses/GetInstancePoolRefreshResponse.java @@ -0,0 +1,214 @@ +/** + * Copyright (c) 2016, 2026, 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.core.responses; + +import com.oracle.bmc.core.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +public class GetInstancePoolRefreshResponse extends com.oracle.bmc.responses.BmcResponse { + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @return the value + */ + public String getEtag() { + return etag; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** The returned {@code InstancePoolRefresh} instance. */ + private com.oracle.bmc.core.model.InstancePoolRefresh instancePoolRefresh; + + /** + * The returned {@code InstancePoolRefresh} instance. + * + * @return the value + */ + public com.oracle.bmc.core.model.InstancePoolRefresh getInstancePoolRefresh() { + return instancePoolRefresh; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "etag", + "opcRequestId", + "instancePoolRefresh" + }) + private GetInstancePoolRefreshResponse( + int __httpStatusCode__, + java.util.Map> headers, + String etag, + String opcRequestId, + com.oracle.bmc.core.model.InstancePoolRefresh instancePoolRefresh) { + super(__httpStatusCode__, headers); + this.etag = etag; + this.opcRequestId = opcRequestId; + this.instancePoolRefresh = instancePoolRefresh; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder< + GetInstancePoolRefreshResponse> { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @param etag the value to set + * @return this builder + */ + public Builder etag(String etag) { + this.etag = etag; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** The returned {@code InstancePoolRefresh} instance. */ + private com.oracle.bmc.core.model.InstancePoolRefresh instancePoolRefresh; + + /** + * The returned {@code InstancePoolRefresh} instance. + * + * @param instancePoolRefresh the value to set + * @return this builder + */ + public Builder instancePoolRefresh( + com.oracle.bmc.core.model.InstancePoolRefresh instancePoolRefresh) { + this.instancePoolRefresh = instancePoolRefresh; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(GetInstancePoolRefreshResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + etag(o.getEtag()); + opcRequestId(o.getOpcRequestId()); + instancePoolRefresh(o.getInstancePoolRefresh()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public GetInstancePoolRefreshResponse build() { + return new GetInstancePoolRefreshResponse( + __httpStatusCode__, headers, etag, opcRequestId, instancePoolRefresh); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",etag=").append(String.valueOf(etag)); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",instancePoolRefresh=").append(String.valueOf(instancePoolRefresh)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof GetInstancePoolRefreshResponse)) { + return false; + } + + GetInstancePoolRefreshResponse other = (GetInstancePoolRefreshResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.etag, other.etag) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.instancePoolRefresh, other.instancePoolRefresh); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.etag == null ? 43 : this.etag.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = + (result * PRIME) + + (this.instancePoolRefresh == null + ? 43 + : this.instancePoolRefresh.hashCode()); + return result; + } +} diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/responses/ListInstancePoolRefreshesResponse.java b/bmc-core/src/main/java/com/oracle/bmc/core/responses/ListInstancePoolRefreshesResponse.java new file mode 100644 index 00000000000..26487f76a93 --- /dev/null +++ b/bmc-core/src/main/java/com/oracle/bmc/core/responses/ListInstancePoolRefreshesResponse.java @@ -0,0 +1,235 @@ +/** + * Copyright (c) 2016, 2026, 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.core.responses; + +import com.oracle.bmc.core.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +public class ListInstancePoolRefreshesResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * For list pagination. When this header appears in the response, additional pages of results + * remain. For important details about how pagination works, see [List + * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + */ + private String opcNextPage; + + /** + * For list pagination. When this header appears in the response, additional pages of results + * remain. For important details about how pagination works, see [List + * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + * @return the value + */ + public String getOpcNextPage() { + return opcNextPage; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** The returned {@code InstancePoolRefreshCollection} instance. */ + private com.oracle.bmc.core.model.InstancePoolRefreshCollection instancePoolRefreshCollection; + + /** + * The returned {@code InstancePoolRefreshCollection} instance. + * + * @return the value + */ + public com.oracle.bmc.core.model.InstancePoolRefreshCollection + getInstancePoolRefreshCollection() { + return instancePoolRefreshCollection; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcNextPage", + "opcRequestId", + "instancePoolRefreshCollection" + }) + private ListInstancePoolRefreshesResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcNextPage, + String opcRequestId, + com.oracle.bmc.core.model.InstancePoolRefreshCollection instancePoolRefreshCollection) { + super(__httpStatusCode__, headers); + this.opcNextPage = opcNextPage; + this.opcRequestId = opcRequestId; + this.instancePoolRefreshCollection = instancePoolRefreshCollection; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder< + ListInstancePoolRefreshesResponse> { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * For list pagination. When this header appears in the response, additional pages of + * results remain. For important details about how pagination works, see [List + * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + */ + private String opcNextPage; + + /** + * For list pagination. When this header appears in the response, additional pages of + * results remain. For important details about how pagination works, see [List + * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + * @param opcNextPage the value to set + * @return this builder + */ + public Builder opcNextPage(String opcNextPage) { + this.opcNextPage = opcNextPage; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** The returned {@code InstancePoolRefreshCollection} instance. */ + private com.oracle.bmc.core.model.InstancePoolRefreshCollection + instancePoolRefreshCollection; + + /** + * The returned {@code InstancePoolRefreshCollection} instance. + * + * @param instancePoolRefreshCollection the value to set + * @return this builder + */ + public Builder instancePoolRefreshCollection( + com.oracle.bmc.core.model.InstancePoolRefreshCollection + instancePoolRefreshCollection) { + this.instancePoolRefreshCollection = instancePoolRefreshCollection; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(ListInstancePoolRefreshesResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcNextPage(o.getOpcNextPage()); + opcRequestId(o.getOpcRequestId()); + instancePoolRefreshCollection(o.getInstancePoolRefreshCollection()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public ListInstancePoolRefreshesResponse build() { + return new ListInstancePoolRefreshesResponse( + __httpStatusCode__, + headers, + opcNextPage, + opcRequestId, + instancePoolRefreshCollection); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcNextPage=").append(String.valueOf(opcNextPage)); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",instancePoolRefreshCollection=") + .append(String.valueOf(instancePoolRefreshCollection)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ListInstancePoolRefreshesResponse)) { + return false; + } + + ListInstancePoolRefreshesResponse other = (ListInstancePoolRefreshesResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcNextPage, other.opcNextPage) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals( + this.instancePoolRefreshCollection, other.instancePoolRefreshCollection); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcNextPage == null ? 43 : this.opcNextPage.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = + (result * PRIME) + + (this.instancePoolRefreshCollection == null + ? 43 + : this.instancePoolRefreshCollection.hashCode()); + return result; + } +} diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/responses/RefreshInstancePoolResponse.java b/bmc-core/src/main/java/com/oracle/bmc/core/responses/RefreshInstancePoolResponse.java new file mode 100644 index 00000000000..9bc27525f36 --- /dev/null +++ b/bmc-core/src/main/java/com/oracle/bmc/core/responses/RefreshInstancePoolResponse.java @@ -0,0 +1,269 @@ +/** + * Copyright (c) 2016, 2026, 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.core.responses; + +import com.oracle.bmc.core.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +public class RefreshInstancePoolResponse extends com.oracle.bmc.responses.BmcResponse { + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @return the value + */ + public String getEtag() { + return etag; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work + * request. Use + * [GetWorkRequest](https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + * with this ID to track the status of the request. + */ + private String opcWorkRequestId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work + * request. Use + * [GetWorkRequest](https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + * with this ID to track the status of the request. + * + * @return the value + */ + public String getOpcWorkRequestId() { + return opcWorkRequestId; + } + + /** The returned {@code InstancePoolRefresh} instance. */ + private com.oracle.bmc.core.model.InstancePoolRefresh instancePoolRefresh; + + /** + * The returned {@code InstancePoolRefresh} instance. + * + * @return the value + */ + public com.oracle.bmc.core.model.InstancePoolRefresh getInstancePoolRefresh() { + return instancePoolRefresh; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "etag", + "opcRequestId", + "opcWorkRequestId", + "instancePoolRefresh" + }) + private RefreshInstancePoolResponse( + int __httpStatusCode__, + java.util.Map> headers, + String etag, + String opcRequestId, + String opcWorkRequestId, + com.oracle.bmc.core.model.InstancePoolRefresh instancePoolRefresh) { + super(__httpStatusCode__, headers); + this.etag = etag; + this.opcRequestId = opcRequestId; + this.opcWorkRequestId = opcWorkRequestId; + this.instancePoolRefresh = instancePoolRefresh; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @param etag the value to set + * @return this builder + */ + public Builder etag(String etag) { + this.etag = etag; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * work request. Use + * [GetWorkRequest](https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + * with this ID to track the status of the request. + */ + private String opcWorkRequestId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * work request. Use + * [GetWorkRequest](https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + * with this ID to track the status of the request. + * + * @param opcWorkRequestId the value to set + * @return this builder + */ + public Builder opcWorkRequestId(String opcWorkRequestId) { + this.opcWorkRequestId = opcWorkRequestId; + return this; + } + + /** The returned {@code InstancePoolRefresh} instance. */ + private com.oracle.bmc.core.model.InstancePoolRefresh instancePoolRefresh; + + /** + * The returned {@code InstancePoolRefresh} instance. + * + * @param instancePoolRefresh the value to set + * @return this builder + */ + public Builder instancePoolRefresh( + com.oracle.bmc.core.model.InstancePoolRefresh instancePoolRefresh) { + this.instancePoolRefresh = instancePoolRefresh; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(RefreshInstancePoolResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + etag(o.getEtag()); + opcRequestId(o.getOpcRequestId()); + opcWorkRequestId(o.getOpcWorkRequestId()); + instancePoolRefresh(o.getInstancePoolRefresh()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public RefreshInstancePoolResponse build() { + return new RefreshInstancePoolResponse( + __httpStatusCode__, + headers, + etag, + opcRequestId, + opcWorkRequestId, + instancePoolRefresh); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",etag=").append(String.valueOf(etag)); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",opcWorkRequestId=").append(String.valueOf(opcWorkRequestId)); + sb.append(",instancePoolRefresh=").append(String.valueOf(instancePoolRefresh)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof RefreshInstancePoolResponse)) { + return false; + } + + RefreshInstancePoolResponse other = (RefreshInstancePoolResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.etag, other.etag) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.opcWorkRequestId, other.opcWorkRequestId) + && java.util.Objects.equals(this.instancePoolRefresh, other.instancePoolRefresh); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.etag == null ? 43 : this.etag.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = + (result * PRIME) + + (this.opcWorkRequestId == null ? 43 : this.opcWorkRequestId.hashCode()); + result = + (result * PRIME) + + (this.instancePoolRefresh == null + ? 43 + : this.instancePoolRefresh.hashCode()); + return result; + } +} diff --git a/bmc-core/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-core/reflect-config.json b/bmc-core/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-core/reflect-config.json index 13cd8d64153..d7bc70b5b2f 100644 --- a/bmc-core/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-core/reflect-config.json +++ b/bmc-core/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-core/reflect-config.json @@ -1514,6 +1514,20 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.core.model.CancelInstancePoolRefreshDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.core.model.CancelInstancePoolRefreshDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.core.model.CapacityBin", @@ -6069,6 +6083,20 @@ "allDeclaredFields": true, "allDeclaredMethods": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.core.model.InstanceAuthz", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.core.model.InstanceAuthz$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.core.model.InstanceAvailabilityConfig", @@ -6948,6 +6976,20 @@ "allDeclaredFields": true, "allDeclaredMethods": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.core.model.InstancePoolLaunchBeforeTerminatingDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.core.model.InstancePoolLaunchBeforeTerminatingDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.core.model.InstancePoolLaunchOverrideDetails", @@ -7092,6 +7134,20 @@ "allDeclaredFields": true, "allDeclaredMethods": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.core.model.InstancePoolMaintenancePolicyDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.core.model.InstancePoolMaintenancePolicyDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.core.model.InstancePoolPlacementConfiguration", @@ -7202,6 +7258,54 @@ "allDeclaredFields": true, "allDeclaredMethods": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.core.model.InstancePoolRefresh", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.core.model.InstancePoolRefresh$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.core.model.InstancePoolRefresh$LifecycleState", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.core.model.InstancePoolRefreshCollection", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.core.model.InstancePoolRefreshCollection$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.core.model.InstancePoolRefreshSummary", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.core.model.InstancePoolRefreshSummary$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.core.model.InstancePoolSummary", @@ -8869,6 +8973,20 @@ "allDeclaredFields": true, "allDeclaredMethods": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.core.model.RefreshInstancePoolDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.core.model.RefreshInstancePoolDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.core.model.RemotePeeringConnection", diff --git a/bmc-costad/pom.xml b/bmc-costad/pom.xml index cbdf3829345..c2ad3ad3d45 100644 --- a/bmc-costad/pom.xml +++ b/bmc-costad/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-costad @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-dashboardservice/pom.xml b/bmc-dashboardservice/pom.xml index 712ce000112..c24de226909 100644 --- a/bmc-dashboardservice/pom.xml +++ b/bmc-dashboardservice/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-dashboardservice @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-database/pom.xml b/bmc-database/pom.xml index 93118d39282..8440cbe61d3 100644 --- a/bmc-database/pom.xml +++ b/bmc-database/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml @@ -18,12 +18,12 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 com.oracle.oci.sdk oci-java-sdk-workrequests - 3.102.0 + 3.103.0 diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/Database.java b/bmc-database/src/main/java/com/oracle/bmc/database/Database.java index 6e387da0d3a..2b9ac5c732e 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/Database.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/Database.java @@ -383,6 +383,24 @@ ChangeAutonomousDatabaseSubscriptionResponse changeAutonomousDatabaseSubscriptio ChangeAutonomousVmClusterCompartmentResponse changeAutonomousVmClusterCompartment( ChangeAutonomousVmClusterCompartmentRequest request); + /** + * Update the Autonomous VM Cluster's key management system details where TDE keys of this + * cluster's ACDs will be stored. + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use + * ChangeAvmKeyManagementSystem API. + */ + ChangeAvmKeyManagementSystemResponse changeAvmKeyManagementSystem( + ChangeAvmKeyManagementSystemRequest request); + /** * Move the backup destination and its dependent resources to the specified compartment. For * more information, see [Moving Database Resources to a Different @@ -420,6 +438,24 @@ ChangeBackupDestinationCompartmentResponse changeBackupDestinationCompartment( ChangeBaseccVmClusterCompartmentResponse changeBaseccVmClusterCompartment( ChangeBaseccVmClusterCompartmentRequest request); + /** + * Update the Cloud Autonomous VM Cluster's key management system details where TDE keys of this + * cluster's ACDs will be stored. + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use + * ChangeCavmKeyManagementSystem API. + */ + ChangeCavmKeyManagementSystemResponse changeCavmKeyManagementSystem( + ChangeCavmKeyManagementSystemRequest request); + /** * Moves an Autonomous Exadata VM cluster in the Oracle cloud and its dependent resources to * another compartment. For Exadata Cloud@Customer systems, see {@link diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsync.java b/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsync.java index b5b1002fa70..0f109f49ecf 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsync.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsync.java @@ -390,6 +390,24 @@ java.util.concurrent.Future cancelExecutionWindow ChangeAutonomousVmClusterCompartmentResponse> handler); + /** + * Update the Autonomous VM Cluster's key management system details where TDE keys of this + * cluster's ACDs will be stored. + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future changeAvmKeyManagementSystem( + ChangeAvmKeyManagementSystemRequest request, + com.oracle.bmc.responses.AsyncHandler< + ChangeAvmKeyManagementSystemRequest, + ChangeAvmKeyManagementSystemResponse> + handler); + /** * Move the backup destination and its dependent resources to the specified compartment. For * more information, see [Moving Database Resources to a Different @@ -429,6 +447,25 @@ java.util.concurrent.Future cancelExecutionWindow ChangeBaseccVmClusterCompartmentResponse> handler); + /** + * Update the Cloud Autonomous VM Cluster's key management system details where TDE keys of this + * cluster's ACDs will be stored. + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future + changeCavmKeyManagementSystem( + ChangeCavmKeyManagementSystemRequest request, + com.oracle.bmc.responses.AsyncHandler< + ChangeCavmKeyManagementSystemRequest, + ChangeCavmKeyManagementSystemResponse> + handler); + /** * Moves an Autonomous Exadata VM cluster in the Oracle cloud and its dependent resources to * another compartment. For Exadata Cloud@Customer systems, see {@link diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsyncClient.java b/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsyncClient.java index 07faa6d638a..8202a811e6a 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsyncClient.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsyncClient.java @@ -876,6 +876,48 @@ public java.util.concurrent.Future cancelExecutio .callAsync(handler); } + @Override + public java.util.concurrent.Future + changeAvmKeyManagementSystem( + ChangeAvmKeyManagementSystemRequest request, + final com.oracle.bmc.responses.AsyncHandler< + ChangeAvmKeyManagementSystemRequest, + ChangeAvmKeyManagementSystemResponse> + handler) { + Objects.requireNonNull( + request.getChangeAvmKeyManagementSystemDetails(), + "changeAvmKeyManagementSystemDetails is required"); + + Validate.notBlank( + request.getAutonomousVmClusterId(), "autonomousVmClusterId must not be blank"); + + return clientCall(request, ChangeAvmKeyManagementSystemResponse::builder) + .logger(LOG, "changeAvmKeyManagementSystem") + .serviceDetails( + "Database", + "ChangeAvmKeyManagementSystem", + "https://docs.oracle.com/iaas/api/#/en/database/20160918/AutonomousVmCluster/ChangeAvmKeyManagementSystem") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(ChangeAvmKeyManagementSystemRequest::builder) + .basePath("/20160918") + .appendPathParam("autonomousVmClusters") + .appendPathParam(request.getAutonomousVmClusterId()) + .appendPathParam("actions") + .appendPathParam("changeKeyManagementSystem") + .accept("application/json") + .appendHeader("opc-request-id", request.getOpcRequestId()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .appendHeader("if-match", request.getIfMatch()) + .hasBody() + .handleResponseHeaderString( + "opc-work-request-id", + ChangeAvmKeyManagementSystemResponse.Builder::opcWorkRequestId) + .handleResponseHeaderString( + "opc-request-id", + ChangeAvmKeyManagementSystemResponse.Builder::opcRequestId) + .callAsync(handler); + } + @Override public java.util.concurrent.Future changeBackupDestinationCompartment( @@ -960,6 +1002,49 @@ public java.util.concurrent.Future cancelExecutio .callAsync(handler); } + @Override + public java.util.concurrent.Future + changeCavmKeyManagementSystem( + ChangeCavmKeyManagementSystemRequest request, + final com.oracle.bmc.responses.AsyncHandler< + ChangeCavmKeyManagementSystemRequest, + ChangeCavmKeyManagementSystemResponse> + handler) { + Objects.requireNonNull( + request.getChangeCavmKeyManagementSystemDetails(), + "changeCavmKeyManagementSystemDetails is required"); + + Validate.notBlank( + request.getCloudAutonomousVmClusterId(), + "cloudAutonomousVmClusterId must not be blank"); + + return clientCall(request, ChangeCavmKeyManagementSystemResponse::builder) + .logger(LOG, "changeCavmKeyManagementSystem") + .serviceDetails( + "Database", + "ChangeCavmKeyManagementSystem", + "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudAutonomousVmCluster/ChangeCavmKeyManagementSystem") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(ChangeCavmKeyManagementSystemRequest::builder) + .basePath("/20160918") + .appendPathParam("cloudAutonomousVmClusters") + .appendPathParam(request.getCloudAutonomousVmClusterId()) + .appendPathParam("actions") + .appendPathParam("changeKeyManagementSystem") + .accept("application/json") + .appendHeader("opc-request-id", request.getOpcRequestId()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .appendHeader("if-match", request.getIfMatch()) + .hasBody() + .handleResponseHeaderString( + "opc-work-request-id", + ChangeCavmKeyManagementSystemResponse.Builder::opcWorkRequestId) + .handleResponseHeaderString( + "opc-request-id", + ChangeCavmKeyManagementSystemResponse.Builder::opcRequestId) + .callAsync(handler); + } + @Override public java.util.concurrent.Future changeCloudAutonomousVmClusterCompartment( @@ -11194,6 +11279,7 @@ public java.util.concurrent.Future listAutonom .appendEnumQueryParam("sortBy", request.getSortBy()) .appendEnumQueryParam("sortOrder", request.getSortOrder()) .appendEnumQueryParam("lifecycleState", request.getLifecycleState()) + .appendEnumQueryParam("kmsType", request.getKmsType()) .appendQueryParam("displayName", request.getDisplayName()) .accept("application/json") .appendHeader("opc-request-id", request.getOpcRequestId()) @@ -11517,6 +11603,7 @@ public java.util.concurrent.Future listBaseccVmClu .appendEnumQueryParam("sortBy", request.getSortBy()) .appendEnumQueryParam("sortOrder", request.getSortOrder()) .appendEnumQueryParam("lifecycleState", request.getLifecycleState()) + .appendEnumQueryParam("kmsType", request.getKmsType()) .appendQueryParam("availabilityDomain", request.getAvailabilityDomain()) .appendQueryParam("displayName", request.getDisplayName()) .accept("application/json") @@ -13315,6 +13402,7 @@ public java.util.concurrent.Future listKeyStores( .appendQueryParam("compartmentId", request.getCompartmentId()) .appendQueryParam("limit", request.getLimit()) .appendQueryParam("page", request.getPage()) + .appendEnumQueryParam("keyStoreType", request.getKeyStoreType()) .accept("application/json") .appendHeader("opc-request-id", request.getOpcRequestId()) .handleBodyList( diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseClient.java b/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseClient.java index e7f27f29730..644006ba30b 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseClient.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseClient.java @@ -828,6 +828,43 @@ public ChangeAutonomousVmClusterCompartmentResponse changeAutonomousVmClusterCom .callSync(); } + @Override + public ChangeAvmKeyManagementSystemResponse changeAvmKeyManagementSystem( + ChangeAvmKeyManagementSystemRequest request) { + Objects.requireNonNull( + request.getChangeAvmKeyManagementSystemDetails(), + "changeAvmKeyManagementSystemDetails is required"); + + Validate.notBlank( + request.getAutonomousVmClusterId(), "autonomousVmClusterId must not be blank"); + + return clientCall(request, ChangeAvmKeyManagementSystemResponse::builder) + .logger(LOG, "changeAvmKeyManagementSystem") + .serviceDetails( + "Database", + "ChangeAvmKeyManagementSystem", + "https://docs.oracle.com/iaas/api/#/en/database/20160918/AutonomousVmCluster/ChangeAvmKeyManagementSystem") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(ChangeAvmKeyManagementSystemRequest::builder) + .basePath("/20160918") + .appendPathParam("autonomousVmClusters") + .appendPathParam(request.getAutonomousVmClusterId()) + .appendPathParam("actions") + .appendPathParam("changeKeyManagementSystem") + .accept("application/json") + .appendHeader("opc-request-id", request.getOpcRequestId()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .appendHeader("if-match", request.getIfMatch()) + .hasBody() + .handleResponseHeaderString( + "opc-work-request-id", + ChangeAvmKeyManagementSystemResponse.Builder::opcWorkRequestId) + .handleResponseHeaderString( + "opc-request-id", + ChangeAvmKeyManagementSystemResponse.Builder::opcRequestId) + .callSync(); + } + @Override public ChangeBackupDestinationCompartmentResponse changeBackupDestinationCompartment( ChangeBackupDestinationCompartmentRequest request) { @@ -902,6 +939,44 @@ public ChangeBaseccVmClusterCompartmentResponse changeBaseccVmClusterCompartment .callSync(); } + @Override + public ChangeCavmKeyManagementSystemResponse changeCavmKeyManagementSystem( + ChangeCavmKeyManagementSystemRequest request) { + Objects.requireNonNull( + request.getChangeCavmKeyManagementSystemDetails(), + "changeCavmKeyManagementSystemDetails is required"); + + Validate.notBlank( + request.getCloudAutonomousVmClusterId(), + "cloudAutonomousVmClusterId must not be blank"); + + return clientCall(request, ChangeCavmKeyManagementSystemResponse::builder) + .logger(LOG, "changeCavmKeyManagementSystem") + .serviceDetails( + "Database", + "ChangeCavmKeyManagementSystem", + "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudAutonomousVmCluster/ChangeCavmKeyManagementSystem") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(ChangeCavmKeyManagementSystemRequest::builder) + .basePath("/20160918") + .appendPathParam("cloudAutonomousVmClusters") + .appendPathParam(request.getCloudAutonomousVmClusterId()) + .appendPathParam("actions") + .appendPathParam("changeKeyManagementSystem") + .accept("application/json") + .appendHeader("opc-request-id", request.getOpcRequestId()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .appendHeader("if-match", request.getIfMatch()) + .hasBody() + .handleResponseHeaderString( + "opc-work-request-id", + ChangeCavmKeyManagementSystemResponse.Builder::opcWorkRequestId) + .handleResponseHeaderString( + "opc-request-id", + ChangeCavmKeyManagementSystemResponse.Builder::opcRequestId) + .callSync(); + } + @Override public ChangeCloudAutonomousVmClusterCompartmentResponse changeCloudAutonomousVmClusterCompartment( @@ -10016,6 +10091,7 @@ public ListAutonomousVmClustersResponse listAutonomousVmClusters( .appendEnumQueryParam("sortBy", request.getSortBy()) .appendEnumQueryParam("sortOrder", request.getSortOrder()) .appendEnumQueryParam("lifecycleState", request.getLifecycleState()) + .appendEnumQueryParam("kmsType", request.getKmsType()) .appendQueryParam("displayName", request.getDisplayName()) .accept("application/json") .appendHeader("opc-request-id", request.getOpcRequestId()) @@ -10305,6 +10381,7 @@ public ListCloudAutonomousVmClustersResponse listCloudAutonomousVmClusters( .appendEnumQueryParam("sortBy", request.getSortBy()) .appendEnumQueryParam("sortOrder", request.getSortOrder()) .appendEnumQueryParam("lifecycleState", request.getLifecycleState()) + .appendEnumQueryParam("kmsType", request.getKmsType()) .appendQueryParam("availabilityDomain", request.getAvailabilityDomain()) .appendQueryParam("displayName", request.getDisplayName()) .accept("application/json") @@ -11914,6 +11991,7 @@ public ListKeyStoresResponse listKeyStores(ListKeyStoresRequest request) { .appendQueryParam("compartmentId", request.getCompartmentId()) .appendQueryParam("limit", request.getLimit()) .appendQueryParam("page", request.getPage()) + .appendEnumQueryParam("keyStoreType", request.getKeyStoreType()) .accept("application/json") .appendHeader("opc-request-id", request.getOpcRequestId()) .handleBodyList( diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseWaiters.java b/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseWaiters.java index 94cabc889ab..279239a9e77 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseWaiters.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseWaiters.java @@ -1148,6 +1148,69 @@ public ChangeAutonomousVmClusterCompartmentResponse call() throws Exception { request); } + /** + * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration. + * + * @param request the request to send + * @return a new {@link com.oracle.bmc.waiter.Waiter} instance + */ + public com.oracle.bmc.waiter.Waiter< + ChangeAvmKeyManagementSystemRequest, ChangeAvmKeyManagementSystemResponse> + forChangeAvmKeyManagementSystem(ChangeAvmKeyManagementSystemRequest request) { + return forChangeAvmKeyManagementSystem( + request, + com.oracle.bmc.waiter.Waiters.DEFAULT_POLLING_TERMINATION_STRATEGY, + com.oracle.bmc.waiter.Waiters.DEFAULT_POLLING_DELAY_STRATEGY); + } + + /** + * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the provided configuration. + * + * @param request the request to send + * @param terminationStrategy the {@link com.oracle.bmc.waiter.TerminationStrategy} to use + * @param delayStrategy the {@link com.oracle.bmc.waiter.DelayStrategy} to use + * @return a new {@link com.oracle.bmc.waiter.Waiter} instance + */ + public com.oracle.bmc.waiter.Waiter< + ChangeAvmKeyManagementSystemRequest, ChangeAvmKeyManagementSystemResponse> + forChangeAvmKeyManagementSystem( + ChangeAvmKeyManagementSystemRequest request, + com.oracle.bmc.waiter.TerminationStrategy terminationStrategy, + com.oracle.bmc.waiter.DelayStrategy delayStrategy) { + if (workRequestClient == null) { + throw new IllegalStateException( + "A WorkRequestClient must be supplied to this waiter for this operation"); + } + + return new com.oracle.bmc.waiter.internal.SimpleWaiterImpl<>( + executorService, + new java.util.concurrent.Callable() { + @Override + public ChangeAvmKeyManagementSystemResponse call() throws Exception { + final ChangeAvmKeyManagementSystemResponse response = + client.changeAvmKeyManagementSystem(request); + + if (response.getOpcWorkRequestId() != null) { + final com.oracle.bmc.workrequests.requests.GetWorkRequestRequest + getWorkRequestRequest = + com.oracle.bmc.workrequests.requests + .GetWorkRequestRequest.builder() + .workRequestId(response.getOpcWorkRequestId()) + .build(); + workRequestClient + .getWaiters() + .forWorkRequest( + getWorkRequestRequest, + terminationStrategy, + delayStrategy) + .execute(); + } + return response; + } + }, + request); + } + /** * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration. * @@ -1279,6 +1342,69 @@ public ChangeBaseccVmClusterCompartmentResponse call() throws Exception { request); } + /** + * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration. + * + * @param request the request to send + * @return a new {@link com.oracle.bmc.waiter.Waiter} instance + */ + public com.oracle.bmc.waiter.Waiter< + ChangeCavmKeyManagementSystemRequest, ChangeCavmKeyManagementSystemResponse> + forChangeCavmKeyManagementSystem(ChangeCavmKeyManagementSystemRequest request) { + return forChangeCavmKeyManagementSystem( + request, + com.oracle.bmc.waiter.Waiters.DEFAULT_POLLING_TERMINATION_STRATEGY, + com.oracle.bmc.waiter.Waiters.DEFAULT_POLLING_DELAY_STRATEGY); + } + + /** + * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the provided configuration. + * + * @param request the request to send + * @param terminationStrategy the {@link com.oracle.bmc.waiter.TerminationStrategy} to use + * @param delayStrategy the {@link com.oracle.bmc.waiter.DelayStrategy} to use + * @return a new {@link com.oracle.bmc.waiter.Waiter} instance + */ + public com.oracle.bmc.waiter.Waiter< + ChangeCavmKeyManagementSystemRequest, ChangeCavmKeyManagementSystemResponse> + forChangeCavmKeyManagementSystem( + ChangeCavmKeyManagementSystemRequest request, + com.oracle.bmc.waiter.TerminationStrategy terminationStrategy, + com.oracle.bmc.waiter.DelayStrategy delayStrategy) { + if (workRequestClient == null) { + throw new IllegalStateException( + "A WorkRequestClient must be supplied to this waiter for this operation"); + } + + return new com.oracle.bmc.waiter.internal.SimpleWaiterImpl<>( + executorService, + new java.util.concurrent.Callable() { + @Override + public ChangeCavmKeyManagementSystemResponse call() throws Exception { + final ChangeCavmKeyManagementSystemResponse response = + client.changeCavmKeyManagementSystem(request); + + if (response.getOpcWorkRequestId() != null) { + final com.oracle.bmc.workrequests.requests.GetWorkRequestRequest + getWorkRequestRequest = + com.oracle.bmc.workrequests.requests + .GetWorkRequestRequest.builder() + .workRequestId(response.getOpcWorkRequestId()) + .build(); + workRequestClient + .getWaiters() + .forWorkRequest( + getWorkRequestRequest, + terminationStrategy, + delayStrategy) + .execute(); + } + return response; + } + }, + request); + } + /** * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration. * diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousVmCluster.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousVmCluster.java index dbec15cb456..a2999b99794 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousVmCluster.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousVmCluster.java @@ -77,7 +77,8 @@ public final class AutonomousVmCluster "timeOrdsCertificateExpires", "exadataStorageInTBsLowestScaledValue", "cpusLowestScaledValue", - "maxAcdsLowestScaledValue" + "maxAcdsLowestScaledValue", + "keyManagementSystemDetails" }) public AutonomousVmCluster( String id, @@ -133,7 +134,8 @@ public AutonomousVmCluster( java.util.Date timeOrdsCertificateExpires, Double exadataStorageInTBsLowestScaledValue, Integer cpusLowestScaledValue, - Integer maxAcdsLowestScaledValue) { + Integer maxAcdsLowestScaledValue, + KeyManagementSystemDetails keyManagementSystemDetails) { super(); this.id = id; this.compartmentId = compartmentId; @@ -190,6 +192,7 @@ public AutonomousVmCluster( this.exadataStorageInTBsLowestScaledValue = exadataStorageInTBsLowestScaledValue; this.cpusLowestScaledValue = cpusLowestScaledValue; this.maxAcdsLowestScaledValue = maxAcdsLowestScaledValue; + this.keyManagementSystemDetails = keyManagementSystemDetails; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -1121,6 +1124,16 @@ public Builder maxAcdsLowestScaledValue(Integer maxAcdsLowestScaledValue) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("keyManagementSystemDetails") + private KeyManagementSystemDetails keyManagementSystemDetails; + + public Builder keyManagementSystemDetails( + KeyManagementSystemDetails keyManagementSystemDetails) { + this.keyManagementSystemDetails = keyManagementSystemDetails; + this.__explicitlySet__.add("keyManagementSystemDetails"); + return this; + } + @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -1180,7 +1193,8 @@ public AutonomousVmCluster build() { this.timeOrdsCertificateExpires, this.exadataStorageInTBsLowestScaledValue, this.cpusLowestScaledValue, - this.maxAcdsLowestScaledValue); + this.maxAcdsLowestScaledValue, + this.keyManagementSystemDetails); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -1357,6 +1371,9 @@ public Builder copy(AutonomousVmCluster model) { if (model.wasPropertyExplicitlySet("maxAcdsLowestScaledValue")) { this.maxAcdsLowestScaledValue(model.getMaxAcdsLowestScaledValue()); } + if (model.wasPropertyExplicitlySet("keyManagementSystemDetails")) { + this.keyManagementSystemDetails(model.getKeyManagementSystemDetails()); + } return this; } } @@ -2370,6 +2387,13 @@ public Integer getMaxAcdsLowestScaledValue() { return maxAcdsLowestScaledValue; } + @com.fasterxml.jackson.annotation.JsonProperty("keyManagementSystemDetails") + private final KeyManagementSystemDetails keyManagementSystemDetails; + + public KeyManagementSystemDetails getKeyManagementSystemDetails() { + return keyManagementSystemDetails; + } + @Override public String toString() { return this.toString(true); @@ -2456,6 +2480,8 @@ public String toString(boolean includeByteArrayContents) { sb.append(", cpusLowestScaledValue=").append(String.valueOf(this.cpusLowestScaledValue)); sb.append(", maxAcdsLowestScaledValue=") .append(String.valueOf(this.maxAcdsLowestScaledValue)); + sb.append(", keyManagementSystemDetails=") + .append(String.valueOf(this.keyManagementSystemDetails)); sb.append(")"); return sb.toString(); } @@ -2549,6 +2575,8 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.cpusLowestScaledValue, other.cpusLowestScaledValue) && java.util.Objects.equals( this.maxAcdsLowestScaledValue, other.maxAcdsLowestScaledValue) + && java.util.Objects.equals( + this.keyManagementSystemDetails, other.keyManagementSystemDetails) && super.equals(other); } @@ -2748,6 +2776,11 @@ public int hashCode() { + (this.maxAcdsLowestScaledValue == null ? 43 : this.maxAcdsLowestScaledValue.hashCode()); + result = + (result * PRIME) + + (this.keyManagementSystemDetails == null + ? 43 + : this.keyManagementSystemDetails.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousVmClusterSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousVmClusterSummary.java index 646f7df9350..c66e741ce53 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousVmClusterSummary.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousVmClusterSummary.java @@ -77,7 +77,8 @@ public final class AutonomousVmClusterSummary "timeOrdsCertificateExpires", "exadataStorageInTBsLowestScaledValue", "cpusLowestScaledValue", - "maxAcdsLowestScaledValue" + "maxAcdsLowestScaledValue", + "keyManagementSystemDetails" }) public AutonomousVmClusterSummary( String id, @@ -133,7 +134,8 @@ public AutonomousVmClusterSummary( java.util.Date timeOrdsCertificateExpires, Double exadataStorageInTBsLowestScaledValue, Integer cpusLowestScaledValue, - Integer maxAcdsLowestScaledValue) { + Integer maxAcdsLowestScaledValue, + KeyManagementSystemDetails keyManagementSystemDetails) { super(); this.id = id; this.compartmentId = compartmentId; @@ -190,6 +192,7 @@ public AutonomousVmClusterSummary( this.exadataStorageInTBsLowestScaledValue = exadataStorageInTBsLowestScaledValue; this.cpusLowestScaledValue = cpusLowestScaledValue; this.maxAcdsLowestScaledValue = maxAcdsLowestScaledValue; + this.keyManagementSystemDetails = keyManagementSystemDetails; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -1121,6 +1124,16 @@ public Builder maxAcdsLowestScaledValue(Integer maxAcdsLowestScaledValue) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("keyManagementSystemDetails") + private KeyManagementSystemDetails keyManagementSystemDetails; + + public Builder keyManagementSystemDetails( + KeyManagementSystemDetails keyManagementSystemDetails) { + this.keyManagementSystemDetails = keyManagementSystemDetails; + this.__explicitlySet__.add("keyManagementSystemDetails"); + return this; + } + @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -1180,7 +1193,8 @@ public AutonomousVmClusterSummary build() { this.timeOrdsCertificateExpires, this.exadataStorageInTBsLowestScaledValue, this.cpusLowestScaledValue, - this.maxAcdsLowestScaledValue); + this.maxAcdsLowestScaledValue, + this.keyManagementSystemDetails); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -1357,6 +1371,9 @@ public Builder copy(AutonomousVmClusterSummary model) { if (model.wasPropertyExplicitlySet("maxAcdsLowestScaledValue")) { this.maxAcdsLowestScaledValue(model.getMaxAcdsLowestScaledValue()); } + if (model.wasPropertyExplicitlySet("keyManagementSystemDetails")) { + this.keyManagementSystemDetails(model.getKeyManagementSystemDetails()); + } return this; } } @@ -2370,6 +2387,13 @@ public Integer getMaxAcdsLowestScaledValue() { return maxAcdsLowestScaledValue; } + @com.fasterxml.jackson.annotation.JsonProperty("keyManagementSystemDetails") + private final KeyManagementSystemDetails keyManagementSystemDetails; + + public KeyManagementSystemDetails getKeyManagementSystemDetails() { + return keyManagementSystemDetails; + } + @Override public String toString() { return this.toString(true); @@ -2456,6 +2480,8 @@ public String toString(boolean includeByteArrayContents) { sb.append(", cpusLowestScaledValue=").append(String.valueOf(this.cpusLowestScaledValue)); sb.append(", maxAcdsLowestScaledValue=") .append(String.valueOf(this.maxAcdsLowestScaledValue)); + sb.append(", keyManagementSystemDetails=") + .append(String.valueOf(this.keyManagementSystemDetails)); sb.append(")"); return sb.toString(); } @@ -2549,6 +2575,8 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.cpusLowestScaledValue, other.cpusLowestScaledValue) && java.util.Objects.equals( this.maxAcdsLowestScaledValue, other.maxAcdsLowestScaledValue) + && java.util.Objects.equals( + this.keyManagementSystemDetails, other.keyManagementSystemDetails) && super.equals(other); } @@ -2748,6 +2776,11 @@ public int hashCode() { + (this.maxAcdsLowestScaledValue == null ? 43 : this.maxAcdsLowestScaledValue.hashCode()); + result = + (result * PRIME) + + (this.keyManagementSystemDetails == null + ? 43 + : this.keyManagementSystemDetails.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudAutonomousVmCluster.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudAutonomousVmCluster.java index d74c285f217..6df4ae54606 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudAutonomousVmCluster.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudAutonomousVmCluster.java @@ -88,7 +88,8 @@ public final class CloudAutonomousVmCluster "multiCloudIdentityConnectorConfigs", "tdeKeyStoreType", "distributionAlgorithm", - "sgaPercentage" + "sgaPercentage", + "keyManagementSystemDetails" }) public CloudAutonomousVmCluster( String id, @@ -155,7 +156,8 @@ public CloudAutonomousVmCluster( java.util.List multiCloudIdentityConnectorConfigs, TdeKeyStoreType tdeKeyStoreType, DistributionAlgorithm distributionAlgorithm, - Float sgaPercentage) { + Float sgaPercentage, + KeyManagementSystemDetails keyManagementSystemDetails) { super(); this.id = id; this.compartmentId = compartmentId; @@ -223,6 +225,7 @@ public CloudAutonomousVmCluster( this.tdeKeyStoreType = tdeKeyStoreType; this.distributionAlgorithm = distributionAlgorithm; this.sgaPercentage = sgaPercentage; + this.keyManagementSystemDetails = keyManagementSystemDetails; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -1393,6 +1396,16 @@ public Builder sgaPercentage(Float sgaPercentage) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("keyManagementSystemDetails") + private KeyManagementSystemDetails keyManagementSystemDetails; + + public Builder keyManagementSystemDetails( + KeyManagementSystemDetails keyManagementSystemDetails) { + this.keyManagementSystemDetails = keyManagementSystemDetails; + this.__explicitlySet__.add("keyManagementSystemDetails"); + return this; + } + @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -1463,7 +1476,8 @@ public CloudAutonomousVmCluster build() { this.multiCloudIdentityConnectorConfigs, this.tdeKeyStoreType, this.distributionAlgorithm, - this.sgaPercentage); + this.sgaPercentage, + this.keyManagementSystemDetails); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -1674,6 +1688,9 @@ public Builder copy(CloudAutonomousVmCluster model) { if (model.wasPropertyExplicitlySet("sgaPercentage")) { this.sgaPercentage(model.getSgaPercentage()); } + if (model.wasPropertyExplicitlySet("keyManagementSystemDetails")) { + this.keyManagementSystemDetails(model.getKeyManagementSystemDetails()); + } return this; } } @@ -2958,6 +2975,13 @@ public Float getSgaPercentage() { return sgaPercentage; } + @com.fasterxml.jackson.annotation.JsonProperty("keyManagementSystemDetails") + private final KeyManagementSystemDetails keyManagementSystemDetails; + + public KeyManagementSystemDetails getKeyManagementSystemDetails() { + return keyManagementSystemDetails; + } + @Override public String toString() { return this.toString(true); @@ -3056,6 +3080,8 @@ public String toString(boolean includeByteArrayContents) { sb.append(", tdeKeyStoreType=").append(String.valueOf(this.tdeKeyStoreType)); sb.append(", distributionAlgorithm=").append(String.valueOf(this.distributionAlgorithm)); sb.append(", sgaPercentage=").append(String.valueOf(this.sgaPercentage)); + sb.append(", keyManagementSystemDetails=") + .append(String.valueOf(this.keyManagementSystemDetails)); sb.append(")"); return sb.toString(); } @@ -3164,6 +3190,8 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.tdeKeyStoreType, other.tdeKeyStoreType) && java.util.Objects.equals(this.distributionAlgorithm, other.distributionAlgorithm) && java.util.Objects.equals(this.sgaPercentage, other.sgaPercentage) + && java.util.Objects.equals( + this.keyManagementSystemDetails, other.keyManagementSystemDetails) && super.equals(other); } @@ -3386,6 +3414,11 @@ public int hashCode() { result = (result * PRIME) + (this.sgaPercentage == null ? 43 : this.sgaPercentage.hashCode()); + result = + (result * PRIME) + + (this.keyManagementSystemDetails == null + ? 43 + : this.keyManagementSystemDetails.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudAutonomousVmClusterSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudAutonomousVmClusterSummary.java index 5f4993c1612..8bc3447e513 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudAutonomousVmClusterSummary.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudAutonomousVmClusterSummary.java @@ -88,7 +88,8 @@ public final class CloudAutonomousVmClusterSummary "multiCloudIdentityConnectorConfigs", "tdeKeyStoreType", "distributionAlgorithm", - "sgaPercentage" + "sgaPercentage", + "keyManagementSystemDetails" }) public CloudAutonomousVmClusterSummary( String id, @@ -155,7 +156,8 @@ public CloudAutonomousVmClusterSummary( java.util.List multiCloudIdentityConnectorConfigs, TdeKeyStoreType tdeKeyStoreType, DistributionAlgorithm distributionAlgorithm, - Float sgaPercentage) { + Float sgaPercentage, + KeyManagementSystemDetails keyManagementSystemDetails) { super(); this.id = id; this.compartmentId = compartmentId; @@ -223,6 +225,7 @@ public CloudAutonomousVmClusterSummary( this.tdeKeyStoreType = tdeKeyStoreType; this.distributionAlgorithm = distributionAlgorithm; this.sgaPercentage = sgaPercentage; + this.keyManagementSystemDetails = keyManagementSystemDetails; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -1393,6 +1396,16 @@ public Builder sgaPercentage(Float sgaPercentage) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("keyManagementSystemDetails") + private KeyManagementSystemDetails keyManagementSystemDetails; + + public Builder keyManagementSystemDetails( + KeyManagementSystemDetails keyManagementSystemDetails) { + this.keyManagementSystemDetails = keyManagementSystemDetails; + this.__explicitlySet__.add("keyManagementSystemDetails"); + return this; + } + @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -1463,7 +1476,8 @@ public CloudAutonomousVmClusterSummary build() { this.multiCloudIdentityConnectorConfigs, this.tdeKeyStoreType, this.distributionAlgorithm, - this.sgaPercentage); + this.sgaPercentage, + this.keyManagementSystemDetails); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -1674,6 +1688,9 @@ public Builder copy(CloudAutonomousVmClusterSummary model) { if (model.wasPropertyExplicitlySet("sgaPercentage")) { this.sgaPercentage(model.getSgaPercentage()); } + if (model.wasPropertyExplicitlySet("keyManagementSystemDetails")) { + this.keyManagementSystemDetails(model.getKeyManagementSystemDetails()); + } return this; } } @@ -2958,6 +2975,13 @@ public Float getSgaPercentage() { return sgaPercentage; } + @com.fasterxml.jackson.annotation.JsonProperty("keyManagementSystemDetails") + private final KeyManagementSystemDetails keyManagementSystemDetails; + + public KeyManagementSystemDetails getKeyManagementSystemDetails() { + return keyManagementSystemDetails; + } + @Override public String toString() { return this.toString(true); @@ -3056,6 +3080,8 @@ public String toString(boolean includeByteArrayContents) { sb.append(", tdeKeyStoreType=").append(String.valueOf(this.tdeKeyStoreType)); sb.append(", distributionAlgorithm=").append(String.valueOf(this.distributionAlgorithm)); sb.append(", sgaPercentage=").append(String.valueOf(this.sgaPercentage)); + sb.append(", keyManagementSystemDetails=") + .append(String.valueOf(this.keyManagementSystemDetails)); sb.append(")"); return sb.toString(); } @@ -3164,6 +3190,8 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.tdeKeyStoreType, other.tdeKeyStoreType) && java.util.Objects.equals(this.distributionAlgorithm, other.distributionAlgorithm) && java.util.Objects.equals(this.sgaPercentage, other.sgaPercentage) + && java.util.Objects.equals( + this.keyManagementSystemDetails, other.keyManagementSystemDetails) && super.equals(other); } @@ -3386,6 +3414,11 @@ public int hashCode() { result = (result * PRIME) + (this.sgaPercentage == null ? 43 : this.sgaPercentage.hashCode()); + result = + (result * PRIME) + + (this.keyManagementSystemDetails == null + ? 43 + : this.keyManagementSystemDetails.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyManagementSystemDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyManagementSystemDetails.java new file mode 100644 index 00000000000..a2d7d047066 --- /dev/null +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyManagementSystemDetails.java @@ -0,0 +1,156 @@ +/** + * Copyright (c) 2016, 2026, 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; + +/** + * Autonomous VM Cluster Key Management System details.
+ * 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.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "keyManagementSystem", + defaultImpl = KeyManagementSystemDetails.class) +@com.fasterxml.jackson.annotation.JsonSubTypes({ + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = OracleManagedKeyManagementSystemDetails.class, + name = "ORACLE_MANAGED_KEYS"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = ThalesKeyManagementSystemDetails.class, + name = "THALES"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = OciVaultKeyManagementSystemDetails.class, + name = "OCI_VAULT"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = OracleKeyVaultKeyManagementSystemDetails.class, + name = "ORACLE_KEY_VAULT") +}) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public class KeyManagementSystemDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"isExclusive"}) + protected KeyManagementSystemDetails(Boolean isExclusive) { + super(); + this.isExclusive = isExclusive; + } + + /** + * If true, ACDs within this Cluster cannot use a different key management system than what is + * configured in AVM Cluster. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isExclusive") + private final Boolean isExclusive; + + /** + * If true, ACDs within this Cluster cannot use a different key management system than what is + * configured in AVM Cluster. + * + * @return the value + */ + public Boolean getIsExclusive() { + return isExclusive; + } + + @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("KeyManagementSystemDetails("); + sb.append("super=").append(super.toString()); + sb.append("isExclusive=").append(String.valueOf(this.isExclusive)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof KeyManagementSystemDetails)) { + return false; + } + + KeyManagementSystemDetails other = (KeyManagementSystemDetails) o; + return java.util.Objects.equals(this.isExclusive, other.isExclusive) && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.isExclusive == null ? 43 : this.isExclusive.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } + + /** The type of key management system used. */ + public enum KeyManagementSystem implements com.oracle.bmc.http.internal.BmcEnum { + Thales("THALES"), + OracleKeyVault("ORACLE_KEY_VAULT"), + OciVault("OCI_VAULT"), + OracleManagedKeys("ORACLE_MANAGED_KEYS"), + + /** + * 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(KeyManagementSystem.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (KeyManagementSystem v : KeyManagementSystem.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + KeyManagementSystem(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static KeyManagementSystem create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'KeyManagementSystem', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; +} diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStore.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStore.java index 80943633806..b093b6022ad 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStore.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStore.java @@ -32,6 +32,8 @@ public final class KeyStore extends com.oracle.bmc.http.client.internal.Explicit "associatedDatabases", "associatedLongTermBackups", "associatedLongTermBackupCount", + "associatedAutonomousVmClusters", + "associatedCloudAutonomousVmClusters", "freeformTags", "definedTags", "systemTags" @@ -47,6 +49,10 @@ public KeyStore( java.util.List associatedDatabases, java.util.List associatedLongTermBackups, Integer associatedLongTermBackupCount, + java.util.List + associatedAutonomousVmClusters, + java.util.List + associatedCloudAutonomousVmClusters, java.util.Map freeformTags, java.util.Map> definedTags, java.util.Map> systemTags) { @@ -61,6 +67,8 @@ public KeyStore( this.associatedDatabases = associatedDatabases; this.associatedLongTermBackups = associatedLongTermBackups; this.associatedLongTermBackupCount = associatedLongTermBackupCount; + this.associatedAutonomousVmClusters = associatedAutonomousVmClusters; + this.associatedCloudAutonomousVmClusters = associatedCloudAutonomousVmClusters; this.freeformTags = freeformTags; this.definedTags = definedTags; this.systemTags = systemTags; @@ -230,6 +238,42 @@ public Builder associatedLongTermBackupCount(Integer associatedLongTermBackupCou this.__explicitlySet__.add("associatedLongTermBackupCount"); return this; } + /** List of Autonomous VM Clusters associated with the key store. */ + @com.fasterxml.jackson.annotation.JsonProperty("associatedAutonomousVmClusters") + private java.util.List + associatedAutonomousVmClusters; + + /** + * List of Autonomous VM Clusters associated with the key store. + * + * @param associatedAutonomousVmClusters the value to set + * @return this builder + */ + public Builder associatedAutonomousVmClusters( + java.util.List + associatedAutonomousVmClusters) { + this.associatedAutonomousVmClusters = associatedAutonomousVmClusters; + this.__explicitlySet__.add("associatedAutonomousVmClusters"); + return this; + } + /** List of Cloud Autonomous VM Clusters associated with the key store. */ + @com.fasterxml.jackson.annotation.JsonProperty("associatedCloudAutonomousVmClusters") + private java.util.List + associatedCloudAutonomousVmClusters; + + /** + * List of Cloud Autonomous VM Clusters associated with the key store. + * + * @param associatedCloudAutonomousVmClusters the value to set + * @return this builder + */ + public Builder associatedCloudAutonomousVmClusters( + java.util.List + associatedCloudAutonomousVmClusters) { + this.associatedCloudAutonomousVmClusters = associatedCloudAutonomousVmClusters; + this.__explicitlySet__.add("associatedCloudAutonomousVmClusters"); + 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 @@ -315,6 +359,8 @@ public KeyStore build() { this.associatedDatabases, this.associatedLongTermBackups, this.associatedLongTermBackupCount, + this.associatedAutonomousVmClusters, + this.associatedCloudAutonomousVmClusters, this.freeformTags, this.definedTags, this.systemTags); @@ -356,6 +402,13 @@ public Builder copy(KeyStore model) { if (model.wasPropertyExplicitlySet("associatedLongTermBackupCount")) { this.associatedLongTermBackupCount(model.getAssociatedLongTermBackupCount()); } + if (model.wasPropertyExplicitlySet("associatedAutonomousVmClusters")) { + this.associatedAutonomousVmClusters(model.getAssociatedAutonomousVmClusters()); + } + if (model.wasPropertyExplicitlySet("associatedCloudAutonomousVmClusters")) { + this.associatedCloudAutonomousVmClusters( + model.getAssociatedCloudAutonomousVmClusters()); + } if (model.wasPropertyExplicitlySet("freeformTags")) { this.freeformTags(model.getFreeformTags()); } @@ -565,6 +618,36 @@ public Integer getAssociatedLongTermBackupCount() { return associatedLongTermBackupCount; } + /** List of Autonomous VM Clusters associated with the key store. */ + @com.fasterxml.jackson.annotation.JsonProperty("associatedAutonomousVmClusters") + private final java.util.List + associatedAutonomousVmClusters; + + /** + * List of Autonomous VM Clusters associated with the key store. + * + * @return the value + */ + public java.util.List + getAssociatedAutonomousVmClusters() { + return associatedAutonomousVmClusters; + } + + /** List of Cloud Autonomous VM Clusters associated with the key store. */ + @com.fasterxml.jackson.annotation.JsonProperty("associatedCloudAutonomousVmClusters") + private final java.util.List + associatedCloudAutonomousVmClusters; + + /** + * List of Cloud Autonomous VM Clusters associated with the key store. + * + * @return the value + */ + public java.util.List + getAssociatedCloudAutonomousVmClusters() { + return associatedCloudAutonomousVmClusters; + } + /** * 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 @@ -653,6 +736,10 @@ public String toString(boolean includeByteArrayContents) { .append(String.valueOf(this.associatedLongTermBackups)); sb.append(", associatedLongTermBackupCount=") .append(String.valueOf(this.associatedLongTermBackupCount)); + sb.append(", associatedAutonomousVmClusters=") + .append(String.valueOf(this.associatedAutonomousVmClusters)); + sb.append(", associatedCloudAutonomousVmClusters=") + .append(String.valueOf(this.associatedCloudAutonomousVmClusters)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", definedTags=").append(String.valueOf(this.definedTags)); sb.append(", systemTags=").append(String.valueOf(this.systemTags)); @@ -682,6 +769,11 @@ public boolean equals(Object o) { this.associatedLongTermBackups, other.associatedLongTermBackups) && java.util.Objects.equals( this.associatedLongTermBackupCount, other.associatedLongTermBackupCount) + && java.util.Objects.equals( + this.associatedAutonomousVmClusters, other.associatedAutonomousVmClusters) + && java.util.Objects.equals( + this.associatedCloudAutonomousVmClusters, + other.associatedCloudAutonomousVmClusters) && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.definedTags, other.definedTags) && java.util.Objects.equals(this.systemTags, other.systemTags) @@ -720,6 +812,16 @@ public int hashCode() { + (this.associatedLongTermBackupCount == null ? 43 : this.associatedLongTermBackupCount.hashCode()); + result = + (result * PRIME) + + (this.associatedAutonomousVmClusters == null + ? 43 + : this.associatedAutonomousVmClusters.hashCode()); + result = + (result * PRIME) + + (this.associatedCloudAutonomousVmClusters == null + ? 43 + : this.associatedCloudAutonomousVmClusters.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.systemTags == null ? 43 : this.systemTags.hashCode()); diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStoreAssociatedAutonomousVmClusterDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStoreAssociatedAutonomousVmClusterDetails.java new file mode 100644 index 00000000000..fa8bdfdf1ae --- /dev/null +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStoreAssociatedAutonomousVmClusterDetails.java @@ -0,0 +1,179 @@ +/** + * Copyright (c) 2016, 2026, 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 Autonomous VM Clusters associated with a key store
+ * 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 = KeyStoreAssociatedAutonomousVmClusterDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class KeyStoreAssociatedAutonomousVmClusterDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"id", "displayName"}) + public KeyStoreAssociatedAutonomousVmClusterDetails(String id, String displayName) { + super(); + this.id = id; + this.displayName = displayName; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Autonomous VM Cluster. + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private String id; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Autonomous VM Cluster. + * + * @param id the value to set + * @return this builder + */ + public Builder id(String id) { + this.id = id; + this.__explicitlySet__.add("id"); + return this; + } + /** The display name of the Autonomous VM Cluster associated with the key store. */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + /** + * The display name of the Autonomous VM Cluster associated with the key store. + * + * @param displayName the value to set + * @return this builder + */ + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public KeyStoreAssociatedAutonomousVmClusterDetails build() { + KeyStoreAssociatedAutonomousVmClusterDetails model = + new KeyStoreAssociatedAutonomousVmClusterDetails(this.id, this.displayName); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(KeyStoreAssociatedAutonomousVmClusterDetails model) { + if (model.wasPropertyExplicitlySet("id")) { + this.id(model.getId()); + } + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + 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.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Autonomous VM Cluster. + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private final String id; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Autonomous VM Cluster. + * + * @return the value + */ + public String getId() { + return id; + } + + /** The display name of the Autonomous VM Cluster associated with the key store. */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private final String displayName; + + /** + * The display name of the Autonomous VM Cluster associated with the key store. + * + * @return the value + */ + public String getDisplayName() { + return displayName; + } + + @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("KeyStoreAssociatedAutonomousVmClusterDetails("); + sb.append("super=").append(super.toString()); + sb.append("id=").append(String.valueOf(this.id)); + sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof KeyStoreAssociatedAutonomousVmClusterDetails)) { + return false; + } + + KeyStoreAssociatedAutonomousVmClusterDetails other = + (KeyStoreAssociatedAutonomousVmClusterDetails) o; + return java.util.Objects.equals(this.id, other.id) + && java.util.Objects.equals(this.displayName, other.displayName) + && 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.displayName == null ? 43 : this.displayName.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStoreAssociatedCloudAutonomousVmClusterDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStoreAssociatedCloudAutonomousVmClusterDetails.java new file mode 100644 index 00000000000..0d4e6023a8d --- /dev/null +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStoreAssociatedCloudAutonomousVmClusterDetails.java @@ -0,0 +1,180 @@ +/** + * Copyright (c) 2016, 2026, 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 Cloud Autonomous VM Clusters associated with a key store
+ * 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 = KeyStoreAssociatedCloudAutonomousVmClusterDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class KeyStoreAssociatedCloudAutonomousVmClusterDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"id", "displayName"}) + public KeyStoreAssociatedCloudAutonomousVmClusterDetails(String id, String displayName) { + super(); + this.id = id; + this.displayName = displayName; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Cloud Autonomous VM Cluster. + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private String id; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Cloud Autonomous VM Cluster. + * + * @param id the value to set + * @return this builder + */ + public Builder id(String id) { + this.id = id; + this.__explicitlySet__.add("id"); + return this; + } + /** The display name of the Cloud Autonomous VM Cluster associated with the key store. */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + /** + * The display name of the Cloud Autonomous VM Cluster associated with the key store. + * + * @param displayName the value to set + * @return this builder + */ + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public KeyStoreAssociatedCloudAutonomousVmClusterDetails build() { + KeyStoreAssociatedCloudAutonomousVmClusterDetails model = + new KeyStoreAssociatedCloudAutonomousVmClusterDetails( + this.id, this.displayName); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(KeyStoreAssociatedCloudAutonomousVmClusterDetails model) { + if (model.wasPropertyExplicitlySet("id")) { + this.id(model.getId()); + } + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + 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.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Cloud Autonomous VM Cluster. + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private final String id; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Cloud Autonomous VM Cluster. + * + * @return the value + */ + public String getId() { + return id; + } + + /** The display name of the Cloud Autonomous VM Cluster associated with the key store. */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private final String displayName; + + /** + * The display name of the Cloud Autonomous VM Cluster associated with the key store. + * + * @return the value + */ + public String getDisplayName() { + return displayName; + } + + @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("KeyStoreAssociatedCloudAutonomousVmClusterDetails("); + sb.append("super=").append(super.toString()); + sb.append("id=").append(String.valueOf(this.id)); + sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof KeyStoreAssociatedCloudAutonomousVmClusterDetails)) { + return false; + } + + KeyStoreAssociatedCloudAutonomousVmClusterDetails other = + (KeyStoreAssociatedCloudAutonomousVmClusterDetails) o; + return java.util.Objects.equals(this.id, other.id) + && java.util.Objects.equals(this.displayName, other.displayName) + && 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.displayName == null ? 43 : this.displayName.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStoreSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStoreSummary.java index 6daba372b49..7b3131cc5d2 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStoreSummary.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStoreSummary.java @@ -33,6 +33,8 @@ public final class KeyStoreSummary "associatedDatabases", "associatedLongTermBackups", "associatedLongTermBackupCount", + "associatedAutonomousVmClusters", + "associatedCloudAutonomousVmClusters", "freeformTags", "definedTags", "systemTags" @@ -48,6 +50,10 @@ public KeyStoreSummary( java.util.List associatedDatabases, java.util.List associatedLongTermBackups, Integer associatedLongTermBackupCount, + java.util.List + associatedAutonomousVmClusters, + java.util.List + associatedCloudAutonomousVmClusters, java.util.Map freeformTags, java.util.Map> definedTags, java.util.Map> systemTags) { @@ -62,6 +68,8 @@ public KeyStoreSummary( this.associatedDatabases = associatedDatabases; this.associatedLongTermBackups = associatedLongTermBackups; this.associatedLongTermBackupCount = associatedLongTermBackupCount; + this.associatedAutonomousVmClusters = associatedAutonomousVmClusters; + this.associatedCloudAutonomousVmClusters = associatedCloudAutonomousVmClusters; this.freeformTags = freeformTags; this.definedTags = definedTags; this.systemTags = systemTags; @@ -231,6 +239,42 @@ public Builder associatedLongTermBackupCount(Integer associatedLongTermBackupCou this.__explicitlySet__.add("associatedLongTermBackupCount"); return this; } + /** List of Autonomous VM Clusters associated with the key store. */ + @com.fasterxml.jackson.annotation.JsonProperty("associatedAutonomousVmClusters") + private java.util.List + associatedAutonomousVmClusters; + + /** + * List of Autonomous VM Clusters associated with the key store. + * + * @param associatedAutonomousVmClusters the value to set + * @return this builder + */ + public Builder associatedAutonomousVmClusters( + java.util.List + associatedAutonomousVmClusters) { + this.associatedAutonomousVmClusters = associatedAutonomousVmClusters; + this.__explicitlySet__.add("associatedAutonomousVmClusters"); + return this; + } + /** List of Cloud Autonomous VM Clusters associated with the key store. */ + @com.fasterxml.jackson.annotation.JsonProperty("associatedCloudAutonomousVmClusters") + private java.util.List + associatedCloudAutonomousVmClusters; + + /** + * List of Cloud Autonomous VM Clusters associated with the key store. + * + * @param associatedCloudAutonomousVmClusters the value to set + * @return this builder + */ + public Builder associatedCloudAutonomousVmClusters( + java.util.List + associatedCloudAutonomousVmClusters) { + this.associatedCloudAutonomousVmClusters = associatedCloudAutonomousVmClusters; + this.__explicitlySet__.add("associatedCloudAutonomousVmClusters"); + 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 @@ -316,6 +360,8 @@ public KeyStoreSummary build() { this.associatedDatabases, this.associatedLongTermBackups, this.associatedLongTermBackupCount, + this.associatedAutonomousVmClusters, + this.associatedCloudAutonomousVmClusters, this.freeformTags, this.definedTags, this.systemTags); @@ -357,6 +403,13 @@ public Builder copy(KeyStoreSummary model) { if (model.wasPropertyExplicitlySet("associatedLongTermBackupCount")) { this.associatedLongTermBackupCount(model.getAssociatedLongTermBackupCount()); } + if (model.wasPropertyExplicitlySet("associatedAutonomousVmClusters")) { + this.associatedAutonomousVmClusters(model.getAssociatedAutonomousVmClusters()); + } + if (model.wasPropertyExplicitlySet("associatedCloudAutonomousVmClusters")) { + this.associatedCloudAutonomousVmClusters( + model.getAssociatedCloudAutonomousVmClusters()); + } if (model.wasPropertyExplicitlySet("freeformTags")) { this.freeformTags(model.getFreeformTags()); } @@ -566,6 +619,36 @@ public Integer getAssociatedLongTermBackupCount() { return associatedLongTermBackupCount; } + /** List of Autonomous VM Clusters associated with the key store. */ + @com.fasterxml.jackson.annotation.JsonProperty("associatedAutonomousVmClusters") + private final java.util.List + associatedAutonomousVmClusters; + + /** + * List of Autonomous VM Clusters associated with the key store. + * + * @return the value + */ + public java.util.List + getAssociatedAutonomousVmClusters() { + return associatedAutonomousVmClusters; + } + + /** List of Cloud Autonomous VM Clusters associated with the key store. */ + @com.fasterxml.jackson.annotation.JsonProperty("associatedCloudAutonomousVmClusters") + private final java.util.List + associatedCloudAutonomousVmClusters; + + /** + * List of Cloud Autonomous VM Clusters associated with the key store. + * + * @return the value + */ + public java.util.List + getAssociatedCloudAutonomousVmClusters() { + return associatedCloudAutonomousVmClusters; + } + /** * 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 @@ -654,6 +737,10 @@ public String toString(boolean includeByteArrayContents) { .append(String.valueOf(this.associatedLongTermBackups)); sb.append(", associatedLongTermBackupCount=") .append(String.valueOf(this.associatedLongTermBackupCount)); + sb.append(", associatedAutonomousVmClusters=") + .append(String.valueOf(this.associatedAutonomousVmClusters)); + sb.append(", associatedCloudAutonomousVmClusters=") + .append(String.valueOf(this.associatedCloudAutonomousVmClusters)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", definedTags=").append(String.valueOf(this.definedTags)); sb.append(", systemTags=").append(String.valueOf(this.systemTags)); @@ -683,6 +770,11 @@ public boolean equals(Object o) { this.associatedLongTermBackups, other.associatedLongTermBackups) && java.util.Objects.equals( this.associatedLongTermBackupCount, other.associatedLongTermBackupCount) + && java.util.Objects.equals( + this.associatedAutonomousVmClusters, other.associatedAutonomousVmClusters) + && java.util.Objects.equals( + this.associatedCloudAutonomousVmClusters, + other.associatedCloudAutonomousVmClusters) && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.definedTags, other.definedTags) && java.util.Objects.equals(this.systemTags, other.systemTags) @@ -721,6 +813,16 @@ public int hashCode() { + (this.associatedLongTermBackupCount == null ? 43 : this.associatedLongTermBackupCount.hashCode()); + result = + (result * PRIME) + + (this.associatedAutonomousVmClusters == null + ? 43 + : this.associatedAutonomousVmClusters.hashCode()); + result = + (result * PRIME) + + (this.associatedCloudAutonomousVmClusters == null + ? 43 + : this.associatedCloudAutonomousVmClusters.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.systemTags == null ? 43 : this.systemTags.hashCode()); diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStoreTypeDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStoreTypeDetails.java index 6521768846f..3513bc60543 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStoreTypeDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStoreTypeDetails.java @@ -24,7 +24,10 @@ @com.fasterxml.jackson.annotation.JsonSubTypes({ @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = KeyStoreTypeFromOracleKeyVaultDetails.class, - name = "ORACLE_KEY_VAULT") + name = "ORACLE_KEY_VAULT"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = KeyStoreTypeFromThalesDetails.class, + name = "THALES") }) @com.fasterxml.jackson.annotation.JsonFilter( com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) @@ -78,6 +81,7 @@ public int hashCode() { /** The type of key store. */ public enum Type implements com.oracle.bmc.http.internal.BmcEnum { OracleKeyVault("ORACLE_KEY_VAULT"), + Thales("THALES"), /** * This value is used if a service returns a value for this enum that is not recognized by diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStoreTypeFromThalesDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStoreTypeFromThalesDetails.java new file mode 100644 index 00000000000..829bb36be29 --- /dev/null +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStoreTypeFromThalesDetails.java @@ -0,0 +1,278 @@ +/** + * Copyright (c) 2016, 2026, 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; + +/** + * Details for Thales CAKM
+ * 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 = KeyStoreTypeFromThalesDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "type") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class KeyStoreTypeFromThalesDetails extends KeyStoreTypeDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The list of Oracle Key Vault connection IP addresses. */ + @com.fasterxml.jackson.annotation.JsonProperty("connectionIps") + private java.util.List connectionIps; + + /** + * The list of Oracle Key Vault connection IP addresses. + * + * @param connectionIps the value to set + * @return this builder + */ + public Builder connectionIps(java.util.List connectionIps) { + this.connectionIps = connectionIps; + this.__explicitlySet__.add("connectionIps"); + return this; + } + /** The administrator username to connect to Oracle Key Vault */ + @com.fasterxml.jackson.annotation.JsonProperty("adminUsername") + private String adminUsername; + + /** + * The administrator username to connect to Oracle Key Vault + * + * @param adminUsername the value to set + * @return this builder + */ + public Builder adminUsername(String adminUsername) { + this.adminUsername = adminUsername; + this.__explicitlySet__.add("adminUsername"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Oracle Cloud Infrastructure + * [vault](https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). + * This parameter and {@code secretId} are required for Customer Managed Keys. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vaultId") + private String vaultId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Oracle Cloud Infrastructure + * [vault](https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). + * This parameter and {@code secretId} are required for Customer Managed Keys. + * + * @param vaultId the value to set + * @return this builder + */ + public Builder vaultId(String vaultId) { + this.vaultId = vaultId; + this.__explicitlySet__.add("vaultId"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Oracle Cloud Infrastructure + * [secret](https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretId") + private String secretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Oracle Cloud Infrastructure + * [secret](https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). + * + * @param secretId the value to set + * @return this builder + */ + public Builder secretId(String secretId) { + this.secretId = secretId; + this.__explicitlySet__.add("secretId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public KeyStoreTypeFromThalesDetails build() { + KeyStoreTypeFromThalesDetails model = + new KeyStoreTypeFromThalesDetails( + this.connectionIps, this.adminUsername, this.vaultId, this.secretId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(KeyStoreTypeFromThalesDetails model) { + if (model.wasPropertyExplicitlySet("connectionIps")) { + this.connectionIps(model.getConnectionIps()); + } + if (model.wasPropertyExplicitlySet("adminUsername")) { + this.adminUsername(model.getAdminUsername()); + } + if (model.wasPropertyExplicitlySet("vaultId")) { + this.vaultId(model.getVaultId()); + } + if (model.wasPropertyExplicitlySet("secretId")) { + this.secretId(model.getSecretId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public KeyStoreTypeFromThalesDetails( + java.util.List connectionIps, + String adminUsername, + String vaultId, + String secretId) { + super(); + this.connectionIps = connectionIps; + this.adminUsername = adminUsername; + this.vaultId = vaultId; + this.secretId = secretId; + } + + /** The list of Oracle Key Vault connection IP addresses. */ + @com.fasterxml.jackson.annotation.JsonProperty("connectionIps") + private final java.util.List connectionIps; + + /** + * The list of Oracle Key Vault connection IP addresses. + * + * @return the value + */ + public java.util.List getConnectionIps() { + return connectionIps; + } + + /** The administrator username to connect to Oracle Key Vault */ + @com.fasterxml.jackson.annotation.JsonProperty("adminUsername") + private final String adminUsername; + + /** + * The administrator username to connect to Oracle Key Vault + * + * @return the value + */ + public String getAdminUsername() { + return adminUsername; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Oracle Cloud Infrastructure + * [vault](https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). + * This parameter and {@code secretId} are required for Customer Managed Keys. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vaultId") + private final String vaultId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Oracle Cloud Infrastructure + * [vault](https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). + * This parameter and {@code secretId} are required for Customer Managed Keys. + * + * @return the value + */ + public String getVaultId() { + return vaultId; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Oracle Cloud Infrastructure + * [secret](https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretId") + private final String secretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Oracle Cloud Infrastructure + * [secret](https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). + * + * @return the value + */ + public String getSecretId() { + return secretId; + } + + @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("KeyStoreTypeFromThalesDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", connectionIps=").append(String.valueOf(this.connectionIps)); + sb.append(", adminUsername=").append(String.valueOf(this.adminUsername)); + sb.append(", vaultId=").append(String.valueOf(this.vaultId)); + sb.append(", secretId=").append(String.valueOf(this.secretId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof KeyStoreTypeFromThalesDetails)) { + return false; + } + + KeyStoreTypeFromThalesDetails other = (KeyStoreTypeFromThalesDetails) o; + return java.util.Objects.equals(this.connectionIps, other.connectionIps) + && java.util.Objects.equals(this.adminUsername, other.adminUsername) + && java.util.Objects.equals(this.vaultId, other.vaultId) + && java.util.Objects.equals(this.secretId, other.secretId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.connectionIps == null ? 43 : this.connectionIps.hashCode()); + result = + (result * PRIME) + + (this.adminUsername == null ? 43 : this.adminUsername.hashCode()); + result = (result * PRIME) + (this.vaultId == null ? 43 : this.vaultId.hashCode()); + result = (result * PRIME) + (this.secretId == null ? 43 : this.secretId.hashCode()); + return result; + } +} diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleOfflineLogicalMigrationSettingsSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/OciVaultKeyManagementSystemDetails.java similarity index 69% rename from bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleOfflineLogicalMigrationSettingsSummary.java rename to bmc-database/src/main/java/com/oracle/bmc/database/model/OciVaultKeyManagementSystemDetails.java index 56ea261ae1d..192527d55cb 100644 --- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleOfflineLogicalMigrationSettingsSummary.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/OciVaultKeyManagementSystemDetails.java @@ -2,10 +2,10 @@ * Copyright (c) 2016, 2026, 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.databasemigration.model; +package com.oracle.bmc.database.model; /** - * Oracle offline logical migration summary settings.
+ * Details of OCI Vault to be used by Autonomous VM Cluster for key management.
* 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 @@ -15,26 +15,33 @@ * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code * null}). */ -@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20230518") +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") @com.fasterxml.jackson.databind.annotation.JsonDeserialize( - builder = OracleOfflineLogicalMigrationSettingsSummary.Builder.class) + builder = OciVaultKeyManagementSystemDetails.Builder.class) @com.fasterxml.jackson.annotation.JsonTypeInfo( use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, - property = "migrationMethod") + property = "keyManagementSystem") @com.fasterxml.jackson.annotation.JsonFilter( com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) -public final class OracleOfflineLogicalMigrationSettingsSummary - extends OracleMigrationSettingsSummary { +public final class OciVaultKeyManagementSystemDetails extends KeyManagementSystemDetails { @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { + @com.fasterxml.jackson.annotation.JsonProperty("isExclusive") + private Boolean isExclusive; + + public Builder isExclusive(Boolean isExclusive) { + this.isExclusive = isExclusive; + this.__explicitlySet__.add("isExclusive"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); - public OracleOfflineLogicalMigrationSettingsSummary build() { - OracleOfflineLogicalMigrationSettingsSummary model = - new OracleOfflineLogicalMigrationSettingsSummary(); + public OciVaultKeyManagementSystemDetails build() { + OciVaultKeyManagementSystemDetails model = + new OciVaultKeyManagementSystemDetails(this.isExclusive); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -42,7 +49,10 @@ public OracleOfflineLogicalMigrationSettingsSummary build() { } @com.fasterxml.jackson.annotation.JsonIgnore - public Builder copy(OracleOfflineLogicalMigrationSettingsSummary model) { + public Builder copy(OciVaultKeyManagementSystemDetails model) { + if (model.wasPropertyExplicitlySet("isExclusive")) { + this.isExclusive(model.getIsExclusive()); + } return this; } } @@ -57,8 +67,8 @@ public Builder toBuilder() { } @Deprecated - public OracleOfflineLogicalMigrationSettingsSummary() { - super(); + public OciVaultKeyManagementSystemDetails(Boolean isExclusive) { + super(isExclusive); } @Override @@ -74,7 +84,7 @@ public String toString() { */ public String toString(boolean includeByteArrayContents) { java.lang.StringBuilder sb = new java.lang.StringBuilder(); - sb.append("OracleOfflineLogicalMigrationSettingsSummary("); + sb.append("OciVaultKeyManagementSystemDetails("); sb.append("super=").append(super.toString(includeByteArrayContents)); sb.append(")"); return sb.toString(); @@ -85,12 +95,11 @@ public boolean equals(Object o) { if (this == o) { return true; } - if (!(o instanceof OracleOfflineLogicalMigrationSettingsSummary)) { + if (!(o instanceof OciVaultKeyManagementSystemDetails)) { return false; } - OracleOfflineLogicalMigrationSettingsSummary other = - (OracleOfflineLogicalMigrationSettingsSummary) o; + OciVaultKeyManagementSystemDetails other = (OciVaultKeyManagementSystemDetails) o; return super.equals(other); } diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/OracleKeyVaultKeyManagementSystemDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/OracleKeyVaultKeyManagementSystemDetails.java new file mode 100644 index 00000000000..08530626375 --- /dev/null +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/OracleKeyVaultKeyManagementSystemDetails.java @@ -0,0 +1,113 @@ +/** + * Copyright (c) 2016, 2026, 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; + +/** + * Details of Oracle Key Vault to be used by Autonomous VM Cluster for key management.
+ * 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 = OracleKeyVaultKeyManagementSystemDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "keyManagementSystem") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class OracleKeyVaultKeyManagementSystemDetails extends KeyManagementSystemDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + @com.fasterxml.jackson.annotation.JsonProperty("isExclusive") + private Boolean isExclusive; + + public Builder isExclusive(Boolean isExclusive) { + this.isExclusive = isExclusive; + this.__explicitlySet__.add("isExclusive"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public OracleKeyVaultKeyManagementSystemDetails build() { + OracleKeyVaultKeyManagementSystemDetails model = + new OracleKeyVaultKeyManagementSystemDetails(this.isExclusive); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(OracleKeyVaultKeyManagementSystemDetails model) { + if (model.wasPropertyExplicitlySet("isExclusive")) { + this.isExclusive(model.getIsExclusive()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public OracleKeyVaultKeyManagementSystemDetails(Boolean isExclusive) { + super(isExclusive); + } + + @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("OracleKeyVaultKeyManagementSystemDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof OracleKeyVaultKeyManagementSystemDetails)) { + return false; + } + + OracleKeyVaultKeyManagementSystemDetails other = + (OracleKeyVaultKeyManagementSystemDetails) o; + return super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + return result; + } +} diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/OracleManagedKeyManagementSystemDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/OracleManagedKeyManagementSystemDetails.java new file mode 100644 index 00000000000..d2f2d662be6 --- /dev/null +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/OracleManagedKeyManagementSystemDetails.java @@ -0,0 +1,113 @@ +/** + * Copyright (c) 2016, 2026, 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; + +/** + * Type to be selected to reset Autonomous VM Cluster key management system to Oracle Managed Keys. + *
+ * 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 = OracleManagedKeyManagementSystemDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "keyManagementSystem") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class OracleManagedKeyManagementSystemDetails extends KeyManagementSystemDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + @com.fasterxml.jackson.annotation.JsonProperty("isExclusive") + private Boolean isExclusive; + + public Builder isExclusive(Boolean isExclusive) { + this.isExclusive = isExclusive; + this.__explicitlySet__.add("isExclusive"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public OracleManagedKeyManagementSystemDetails build() { + OracleManagedKeyManagementSystemDetails model = + new OracleManagedKeyManagementSystemDetails(this.isExclusive); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(OracleManagedKeyManagementSystemDetails model) { + if (model.wasPropertyExplicitlySet("isExclusive")) { + this.isExclusive(model.getIsExclusive()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public OracleManagedKeyManagementSystemDetails(Boolean isExclusive) { + super(isExclusive); + } + + @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("OracleManagedKeyManagementSystemDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof OracleManagedKeyManagementSystemDetails)) { + return false; + } + + OracleManagedKeyManagementSystemDetails other = (OracleManagedKeyManagementSystemDetails) o; + return super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + return result; + } +} diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/ThalesKeyManagementSystemDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/ThalesKeyManagementSystemDetails.java new file mode 100644 index 00000000000..65de70204ff --- /dev/null +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/ThalesKeyManagementSystemDetails.java @@ -0,0 +1,194 @@ +/** + * Copyright (c) 2016, 2026, 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; + +/** + * Details of Thales CAKM to be used by Autonomous VM Cluster for key management.
+ * 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 = ThalesKeyManagementSystemDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "keyManagementSystem") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ThalesKeyManagementSystemDetails extends KeyManagementSystemDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + @com.fasterxml.jackson.annotation.JsonProperty("isExclusive") + private Boolean isExclusive; + + public Builder isExclusive(Boolean isExclusive) { + this.isExclusive = isExclusive; + this.__explicitlySet__.add("isExclusive"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * key store of Oracle Vault. + */ + @com.fasterxml.jackson.annotation.JsonProperty("keyStoreId") + private String keyStoreId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * key store of Oracle Vault. + * + * @param keyStoreId the value to set + * @return this builder + */ + public Builder keyStoreId(String keyStoreId) { + this.keyStoreId = keyStoreId; + this.__explicitlySet__.add("keyStoreId"); + return this; + } + /** Thales HSM Port. Default is 9000. */ + @com.fasterxml.jackson.annotation.JsonProperty("thalesHsmPort") + private Integer thalesHsmPort; + + /** + * Thales HSM Port. Default is 9000. + * + * @param thalesHsmPort the value to set + * @return this builder + */ + public Builder thalesHsmPort(Integer thalesHsmPort) { + this.thalesHsmPort = thalesHsmPort; + this.__explicitlySet__.add("thalesHsmPort"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ThalesKeyManagementSystemDetails build() { + ThalesKeyManagementSystemDetails model = + new ThalesKeyManagementSystemDetails( + this.isExclusive, this.keyStoreId, this.thalesHsmPort); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ThalesKeyManagementSystemDetails model) { + if (model.wasPropertyExplicitlySet("isExclusive")) { + this.isExclusive(model.getIsExclusive()); + } + if (model.wasPropertyExplicitlySet("keyStoreId")) { + this.keyStoreId(model.getKeyStoreId()); + } + if (model.wasPropertyExplicitlySet("thalesHsmPort")) { + this.thalesHsmPort(model.getThalesHsmPort()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public ThalesKeyManagementSystemDetails( + Boolean isExclusive, String keyStoreId, Integer thalesHsmPort) { + super(isExclusive); + this.keyStoreId = keyStoreId; + this.thalesHsmPort = thalesHsmPort; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key + * store of Oracle Vault. + */ + @com.fasterxml.jackson.annotation.JsonProperty("keyStoreId") + private final String keyStoreId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key + * store of Oracle Vault. + * + * @return the value + */ + public String getKeyStoreId() { + return keyStoreId; + } + + /** Thales HSM Port. Default is 9000. */ + @com.fasterxml.jackson.annotation.JsonProperty("thalesHsmPort") + private final Integer thalesHsmPort; + + /** + * Thales HSM Port. Default is 9000. + * + * @return the value + */ + public Integer getThalesHsmPort() { + return thalesHsmPort; + } + + @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("ThalesKeyManagementSystemDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", keyStoreId=").append(String.valueOf(this.keyStoreId)); + sb.append(", thalesHsmPort=").append(String.valueOf(this.thalesHsmPort)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ThalesKeyManagementSystemDetails)) { + return false; + } + + ThalesKeyManagementSystemDetails other = (ThalesKeyManagementSystemDetails) o; + return java.util.Objects.equals(this.keyStoreId, other.keyStoreId) + && java.util.Objects.equals(this.thalesHsmPort, other.thalesHsmPort) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.keyStoreId == null ? 43 : this.keyStoreId.hashCode()); + result = + (result * PRIME) + + (this.thalesHsmPort == null ? 43 : this.thalesHsmPort.hashCode()); + return result; + } +} diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/requests/ChangeAvmKeyManagementSystemRequest.java b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ChangeAvmKeyManagementSystemRequest.java new file mode 100644 index 00000000000..667672a0d44 --- /dev/null +++ b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ChangeAvmKeyManagementSystemRequest.java @@ -0,0 +1,369 @@ +/** + * Copyright (c) 2016, 2026, 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.requests; + +import com.oracle.bmc.database.model.*; +/** + * Example: Click here to see how to use + * ChangeAvmKeyManagementSystemRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +public class ChangeAvmKeyManagementSystemRequest + extends com.oracle.bmc.requests.BmcRequest< + com.oracle.bmc.database.model.KeyManagementSystemDetails> { + + /** Details of Key Management System to be used by Autonomous VM Cluster. */ + private com.oracle.bmc.database.model.KeyManagementSystemDetails + changeAvmKeyManagementSystemDetails; + + /** Details of Key Management System to be used by Autonomous VM Cluster. */ + public com.oracle.bmc.database.model.KeyManagementSystemDetails + getChangeAvmKeyManagementSystemDetails() { + return changeAvmKeyManagementSystemDetails; + } + /** + * The autonomous VM cluster + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + */ + private String autonomousVmClusterId; + + /** + * The autonomous VM cluster + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + */ + public String getAutonomousVmClusterId() { + return autonomousVmClusterId; + } + /** Unique identifier for the request. */ + private String opcRequestId; + + /** Unique identifier for the request. */ + public String getOpcRequestId() { + return opcRequestId; + } + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations (for example, if a + * resource has been deleted and purged from the system, then a retry of the original creation + * request may be rejected). + */ + private String opcRetryToken; + + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations (for example, if a + * resource has been deleted and purged from the system, then a retry of the original creation + * request may be rejected). + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code + * if-match} parameter to the value of the etag from a previous GET or POST response for that + * resource. The resource will be updated or deleted only if the etag you provide matches the + * resource's current etag value. + */ + private String ifMatch; + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code + * if-match} parameter to the value of the etag from a previous GET or POST response for that + * resource. The resource will be updated or deleted only if the etag you provide matches the + * resource's current etag value. + */ + public String getIfMatch() { + return ifMatch; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.database.model.KeyManagementSystemDetails getBody$() { + return changeAvmKeyManagementSystemDetails; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + ChangeAvmKeyManagementSystemRequest, + com.oracle.bmc.database.model.KeyManagementSystemDetails> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** Details of Key Management System to be used by Autonomous VM Cluster. */ + private com.oracle.bmc.database.model.KeyManagementSystemDetails + changeAvmKeyManagementSystemDetails = null; + + /** + * Details of Key Management System to be used by Autonomous VM Cluster. + * + * @param changeAvmKeyManagementSystemDetails the value to set + * @return this builder instance + */ + public Builder changeAvmKeyManagementSystemDetails( + com.oracle.bmc.database.model.KeyManagementSystemDetails + changeAvmKeyManagementSystemDetails) { + this.changeAvmKeyManagementSystemDetails = changeAvmKeyManagementSystemDetails; + return this; + } + + /** + * The autonomous VM cluster + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + */ + private String autonomousVmClusterId = null; + + /** + * The autonomous VM cluster + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + * @param autonomousVmClusterId the value to set + * @return this builder instance + */ + public Builder autonomousVmClusterId(String autonomousVmClusterId) { + this.autonomousVmClusterId = autonomousVmClusterId; + return this; + } + + /** Unique identifier for the request. */ + private String opcRequestId = null; + + /** + * Unique identifier for the request. + * + * @param opcRequestId the value to set + * @return this builder instance + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after + * 24 hours, but can be invalidated before then due to conflicting operations (for example, + * if a resource has been deleted and purged from the system, then a retry of the original + * creation request may be rejected). + */ + private String opcRetryToken = null; + + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after + * 24 hours, but can be invalidated before then due to conflicting operations (for example, + * if a resource has been deleted and purged from the system, then a retry of the original + * creation request may be rejected). + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response + * for that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + */ + private String ifMatch = null; + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response + * for that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + * @param ifMatch the value to set + * @return this builder instance + */ + public Builder ifMatch(String ifMatch) { + this.ifMatch = ifMatch; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(ChangeAvmKeyManagementSystemRequest o) { + changeAvmKeyManagementSystemDetails(o.getChangeAvmKeyManagementSystemDetails()); + autonomousVmClusterId(o.getAutonomousVmClusterId()); + opcRequestId(o.getOpcRequestId()); + opcRetryToken(o.getOpcRetryToken()); + ifMatch(o.getIfMatch()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of ChangeAvmKeyManagementSystemRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of ChangeAvmKeyManagementSystemRequest + */ + public ChangeAvmKeyManagementSystemRequest build() { + ChangeAvmKeyManagementSystemRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$(com.oracle.bmc.database.model.KeyManagementSystemDetails body) { + changeAvmKeyManagementSystemDetails(body); + return this; + } + + /** + * Build the instance of ChangeAvmKeyManagementSystemRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of ChangeAvmKeyManagementSystemRequest + */ + public ChangeAvmKeyManagementSystemRequest buildWithoutInvocationCallback() { + ChangeAvmKeyManagementSystemRequest request = new ChangeAvmKeyManagementSystemRequest(); + request.changeAvmKeyManagementSystemDetails = changeAvmKeyManagementSystemDetails; + request.autonomousVmClusterId = autonomousVmClusterId; + request.opcRequestId = opcRequestId; + request.opcRetryToken = opcRetryToken; + request.ifMatch = ifMatch; + return request; + // new ChangeAvmKeyManagementSystemRequest(changeAvmKeyManagementSystemDetails, + // autonomousVmClusterId, opcRequestId, opcRetryToken, ifMatch); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .changeAvmKeyManagementSystemDetails(changeAvmKeyManagementSystemDetails) + .autonomousVmClusterId(autonomousVmClusterId) + .opcRequestId(opcRequestId) + .opcRetryToken(opcRetryToken) + .ifMatch(ifMatch); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",changeAvmKeyManagementSystemDetails=") + .append(String.valueOf(this.changeAvmKeyManagementSystemDetails)); + sb.append(",autonomousVmClusterId=").append(String.valueOf(this.autonomousVmClusterId)); + sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(",ifMatch=").append(String.valueOf(this.ifMatch)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ChangeAvmKeyManagementSystemRequest)) { + return false; + } + + ChangeAvmKeyManagementSystemRequest other = (ChangeAvmKeyManagementSystemRequest) o; + return super.equals(o) + && java.util.Objects.equals( + this.changeAvmKeyManagementSystemDetails, + other.changeAvmKeyManagementSystemDetails) + && java.util.Objects.equals(this.autonomousVmClusterId, other.autonomousVmClusterId) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken) + && java.util.Objects.equals(this.ifMatch, other.ifMatch); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.changeAvmKeyManagementSystemDetails == null + ? 43 + : this.changeAvmKeyManagementSystemDetails.hashCode()); + result = + (result * PRIME) + + (this.autonomousVmClusterId == null + ? 43 + : this.autonomousVmClusterId.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode()); + return result; + } +} diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/requests/ChangeCavmKeyManagementSystemRequest.java b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ChangeCavmKeyManagementSystemRequest.java new file mode 100644 index 00000000000..a9a863f188e --- /dev/null +++ b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ChangeCavmKeyManagementSystemRequest.java @@ -0,0 +1,372 @@ +/** + * Copyright (c) 2016, 2026, 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.requests; + +import com.oracle.bmc.database.model.*; +/** + * Example: Click here to see how to use + * ChangeCavmKeyManagementSystemRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +public class ChangeCavmKeyManagementSystemRequest + extends com.oracle.bmc.requests.BmcRequest< + com.oracle.bmc.database.model.KeyManagementSystemDetails> { + + /** Details of Key Management System to be used by Cloud Autonomous VM Cluster. */ + private com.oracle.bmc.database.model.KeyManagementSystemDetails + changeCavmKeyManagementSystemDetails; + + /** Details of Key Management System to be used by Cloud Autonomous VM Cluster. */ + public com.oracle.bmc.database.model.KeyManagementSystemDetails + getChangeCavmKeyManagementSystemDetails() { + return changeCavmKeyManagementSystemDetails; + } + /** + * The Cloud VM cluster + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + */ + private String cloudAutonomousVmClusterId; + + /** + * The Cloud VM cluster + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + */ + public String getCloudAutonomousVmClusterId() { + return cloudAutonomousVmClusterId; + } + /** Unique identifier for the request. */ + private String opcRequestId; + + /** Unique identifier for the request. */ + public String getOpcRequestId() { + return opcRequestId; + } + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations (for example, if a + * resource has been deleted and purged from the system, then a retry of the original creation + * request may be rejected). + */ + private String opcRetryToken; + + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations (for example, if a + * resource has been deleted and purged from the system, then a retry of the original creation + * request may be rejected). + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code + * if-match} parameter to the value of the etag from a previous GET or POST response for that + * resource. The resource will be updated or deleted only if the etag you provide matches the + * resource's current etag value. + */ + private String ifMatch; + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code + * if-match} parameter to the value of the etag from a previous GET or POST response for that + * resource. The resource will be updated or deleted only if the etag you provide matches the + * resource's current etag value. + */ + public String getIfMatch() { + return ifMatch; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.database.model.KeyManagementSystemDetails getBody$() { + return changeCavmKeyManagementSystemDetails; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + ChangeCavmKeyManagementSystemRequest, + com.oracle.bmc.database.model.KeyManagementSystemDetails> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** Details of Key Management System to be used by Cloud Autonomous VM Cluster. */ + private com.oracle.bmc.database.model.KeyManagementSystemDetails + changeCavmKeyManagementSystemDetails = null; + + /** + * Details of Key Management System to be used by Cloud Autonomous VM Cluster. + * + * @param changeCavmKeyManagementSystemDetails the value to set + * @return this builder instance + */ + public Builder changeCavmKeyManagementSystemDetails( + com.oracle.bmc.database.model.KeyManagementSystemDetails + changeCavmKeyManagementSystemDetails) { + this.changeCavmKeyManagementSystemDetails = changeCavmKeyManagementSystemDetails; + return this; + } + + /** + * The Cloud VM cluster + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + */ + private String cloudAutonomousVmClusterId = null; + + /** + * The Cloud VM cluster + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + * @param cloudAutonomousVmClusterId the value to set + * @return this builder instance + */ + public Builder cloudAutonomousVmClusterId(String cloudAutonomousVmClusterId) { + this.cloudAutonomousVmClusterId = cloudAutonomousVmClusterId; + return this; + } + + /** Unique identifier for the request. */ + private String opcRequestId = null; + + /** + * Unique identifier for the request. + * + * @param opcRequestId the value to set + * @return this builder instance + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after + * 24 hours, but can be invalidated before then due to conflicting operations (for example, + * if a resource has been deleted and purged from the system, then a retry of the original + * creation request may be rejected). + */ + private String opcRetryToken = null; + + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after + * 24 hours, but can be invalidated before then due to conflicting operations (for example, + * if a resource has been deleted and purged from the system, then a retry of the original + * creation request may be rejected). + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response + * for that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + */ + private String ifMatch = null; + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response + * for that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + * @param ifMatch the value to set + * @return this builder instance + */ + public Builder ifMatch(String ifMatch) { + this.ifMatch = ifMatch; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(ChangeCavmKeyManagementSystemRequest o) { + changeCavmKeyManagementSystemDetails(o.getChangeCavmKeyManagementSystemDetails()); + cloudAutonomousVmClusterId(o.getCloudAutonomousVmClusterId()); + opcRequestId(o.getOpcRequestId()); + opcRetryToken(o.getOpcRetryToken()); + ifMatch(o.getIfMatch()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of ChangeCavmKeyManagementSystemRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of ChangeCavmKeyManagementSystemRequest + */ + public ChangeCavmKeyManagementSystemRequest build() { + ChangeCavmKeyManagementSystemRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$(com.oracle.bmc.database.model.KeyManagementSystemDetails body) { + changeCavmKeyManagementSystemDetails(body); + return this; + } + + /** + * Build the instance of ChangeCavmKeyManagementSystemRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of ChangeCavmKeyManagementSystemRequest + */ + public ChangeCavmKeyManagementSystemRequest buildWithoutInvocationCallback() { + ChangeCavmKeyManagementSystemRequest request = + new ChangeCavmKeyManagementSystemRequest(); + request.changeCavmKeyManagementSystemDetails = changeCavmKeyManagementSystemDetails; + request.cloudAutonomousVmClusterId = cloudAutonomousVmClusterId; + request.opcRequestId = opcRequestId; + request.opcRetryToken = opcRetryToken; + request.ifMatch = ifMatch; + return request; + // new ChangeCavmKeyManagementSystemRequest(changeCavmKeyManagementSystemDetails, + // cloudAutonomousVmClusterId, opcRequestId, opcRetryToken, ifMatch); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .changeCavmKeyManagementSystemDetails(changeCavmKeyManagementSystemDetails) + .cloudAutonomousVmClusterId(cloudAutonomousVmClusterId) + .opcRequestId(opcRequestId) + .opcRetryToken(opcRetryToken) + .ifMatch(ifMatch); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",changeCavmKeyManagementSystemDetails=") + .append(String.valueOf(this.changeCavmKeyManagementSystemDetails)); + sb.append(",cloudAutonomousVmClusterId=") + .append(String.valueOf(this.cloudAutonomousVmClusterId)); + sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(",ifMatch=").append(String.valueOf(this.ifMatch)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ChangeCavmKeyManagementSystemRequest)) { + return false; + } + + ChangeCavmKeyManagementSystemRequest other = (ChangeCavmKeyManagementSystemRequest) o; + return super.equals(o) + && java.util.Objects.equals( + this.changeCavmKeyManagementSystemDetails, + other.changeCavmKeyManagementSystemDetails) + && java.util.Objects.equals( + this.cloudAutonomousVmClusterId, other.cloudAutonomousVmClusterId) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken) + && java.util.Objects.equals(this.ifMatch, other.ifMatch); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.changeCavmKeyManagementSystemDetails == null + ? 43 + : this.changeCavmKeyManagementSystemDetails.hashCode()); + result = + (result * PRIME) + + (this.cloudAutonomousVmClusterId == null + ? 43 + : this.cloudAutonomousVmClusterId.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode()); + return result; + } +} diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListAutonomousVmClustersRequest.java b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListAutonomousVmClustersRequest.java index 2a91621e133..236e666dd1d 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListAutonomousVmClustersRequest.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListAutonomousVmClustersRequest.java @@ -151,6 +151,47 @@ public SortOrder getSortOrder() { getLifecycleState() { return lifecycleState; } + /** A filter to return only resources that match the given kms exactly. */ + private KmsType kmsType; + + /** A filter to return only resources that match the given kms exactly. */ + public enum KmsType implements com.oracle.bmc.http.internal.BmcEnum { + OracleKeyVault("ORACLE_KEY_VAULT"), + Thales("THALES"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (KmsType v : KmsType.values()) { + map.put(v.getValue(), v); + } + } + + KmsType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static KmsType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid KmsType: " + key); + } + }; + + /** A filter to return only resources that match the given kms exactly. */ + public KmsType getKmsType() { + return kmsType; + } /** * A filter to return only resources that match the entire display name given. The match is not * case sensitive. @@ -289,6 +330,20 @@ public Builder lifecycleState( return this; } + /** A filter to return only resources that match the given kms exactly. */ + private KmsType kmsType = null; + + /** + * A filter to return only resources that match the given kms exactly. + * + * @param kmsType the value to set + * @return this builder instance + */ + public Builder kmsType(KmsType kmsType) { + this.kmsType = kmsType; + return this; + } + /** * A filter to return only resources that match the entire display name given. The match is * not case sensitive. @@ -358,6 +413,7 @@ public Builder copy(ListAutonomousVmClustersRequest o) { sortBy(o.getSortBy()); sortOrder(o.getSortOrder()); lifecycleState(o.getLifecycleState()); + kmsType(o.getKmsType()); displayName(o.getDisplayName()); opcRequestId(o.getOpcRequestId()); invocationCallback(o.getInvocationCallback()); @@ -401,11 +457,12 @@ public ListAutonomousVmClustersRequest buildWithoutInvocationCallback() { request.sortBy = sortBy; request.sortOrder = sortOrder; request.lifecycleState = lifecycleState; + request.kmsType = kmsType; request.displayName = displayName; request.opcRequestId = opcRequestId; return request; // new ListAutonomousVmClustersRequest(compartmentId, exadataInfrastructureId, limit, - // page, sortBy, sortOrder, lifecycleState, displayName, opcRequestId); + // page, sortBy, sortOrder, lifecycleState, kmsType, displayName, opcRequestId); } } @@ -423,6 +480,7 @@ public Builder toBuilder() { .sortBy(sortBy) .sortOrder(sortOrder) .lifecycleState(lifecycleState) + .kmsType(kmsType) .displayName(displayName) .opcRequestId(opcRequestId); } @@ -448,6 +506,7 @@ public String toString() { sb.append(",sortBy=").append(String.valueOf(this.sortBy)); sb.append(",sortOrder=").append(String.valueOf(this.sortOrder)); sb.append(",lifecycleState=").append(String.valueOf(this.lifecycleState)); + sb.append(",kmsType=").append(String.valueOf(this.kmsType)); sb.append(",displayName=").append(String.valueOf(this.displayName)); sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId)); sb.append(")"); @@ -473,6 +532,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.sortBy, other.sortBy) && java.util.Objects.equals(this.sortOrder, other.sortOrder) && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) + && java.util.Objects.equals(this.kmsType, other.kmsType) && java.util.Objects.equals(this.displayName, other.displayName) && java.util.Objects.equals(this.opcRequestId, other.opcRequestId); } @@ -496,6 +556,7 @@ public int hashCode() { result = (result * PRIME) + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode()); + result = (result * PRIME) + (this.kmsType == null ? 43 : this.kmsType.hashCode()); result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); return result; diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListCloudAutonomousVmClustersRequest.java b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListCloudAutonomousVmClustersRequest.java index 8a9b5985dd5..0c5196bb082 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListCloudAutonomousVmClustersRequest.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListCloudAutonomousVmClustersRequest.java @@ -152,6 +152,48 @@ public SortOrder getSortOrder() { getLifecycleState() { return lifecycleState; } + /** A filter to return only resources that match the given kms exactly. */ + private KmsType kmsType; + + /** A filter to return only resources that match the given kms exactly. */ + public enum KmsType implements com.oracle.bmc.http.internal.BmcEnum { + OracleKeyVault("ORACLE_KEY_VAULT"), + Thales("THALES"), + OciVault("OCI_VAULT"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (KmsType v : KmsType.values()) { + map.put(v.getValue(), v); + } + } + + KmsType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static KmsType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid KmsType: " + key); + } + }; + + /** A filter to return only resources that match the given kms exactly. */ + public KmsType getKmsType() { + return kmsType; + } /** A filter to return only resources that match the given availability domain exactly. */ private String availabilityDomain; @@ -297,6 +339,20 @@ public Builder lifecycleState( return this; } + /** A filter to return only resources that match the given kms exactly. */ + private KmsType kmsType = null; + + /** + * A filter to return only resources that match the given kms exactly. + * + * @param kmsType the value to set + * @return this builder instance + */ + public Builder kmsType(KmsType kmsType) { + this.kmsType = kmsType; + return this; + } + /** A filter to return only resources that match the given availability domain exactly. */ private String availabilityDomain = null; @@ -380,6 +436,7 @@ public Builder copy(ListCloudAutonomousVmClustersRequest o) { sortBy(o.getSortBy()); sortOrder(o.getSortOrder()); lifecycleState(o.getLifecycleState()); + kmsType(o.getKmsType()); availabilityDomain(o.getAvailabilityDomain()); displayName(o.getDisplayName()); opcRequestId(o.getOpcRequestId()); @@ -425,13 +482,14 @@ public ListCloudAutonomousVmClustersRequest buildWithoutInvocationCallback() { request.sortBy = sortBy; request.sortOrder = sortOrder; request.lifecycleState = lifecycleState; + request.kmsType = kmsType; request.availabilityDomain = availabilityDomain; request.displayName = displayName; request.opcRequestId = opcRequestId; return request; // new ListCloudAutonomousVmClustersRequest(compartmentId, cloudExadataInfrastructureId, - // limit, page, sortBy, sortOrder, lifecycleState, availabilityDomain, displayName, - // opcRequestId); + // limit, page, sortBy, sortOrder, lifecycleState, kmsType, availabilityDomain, + // displayName, opcRequestId); } } @@ -449,6 +507,7 @@ public Builder toBuilder() { .sortBy(sortBy) .sortOrder(sortOrder) .lifecycleState(lifecycleState) + .kmsType(kmsType) .availabilityDomain(availabilityDomain) .displayName(displayName) .opcRequestId(opcRequestId); @@ -476,6 +535,7 @@ public String toString() { sb.append(",sortBy=").append(String.valueOf(this.sortBy)); sb.append(",sortOrder=").append(String.valueOf(this.sortOrder)); sb.append(",lifecycleState=").append(String.valueOf(this.lifecycleState)); + sb.append(",kmsType=").append(String.valueOf(this.kmsType)); sb.append(",availabilityDomain=").append(String.valueOf(this.availabilityDomain)); sb.append(",displayName=").append(String.valueOf(this.displayName)); sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId)); @@ -502,6 +562,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.sortBy, other.sortBy) && java.util.Objects.equals(this.sortOrder, other.sortOrder) && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) + && java.util.Objects.equals(this.kmsType, other.kmsType) && java.util.Objects.equals(this.availabilityDomain, other.availabilityDomain) && java.util.Objects.equals(this.displayName, other.displayName) && java.util.Objects.equals(this.opcRequestId, other.opcRequestId); @@ -526,6 +587,7 @@ public int hashCode() { result = (result * PRIME) + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode()); + result = (result * PRIME) + (this.kmsType == null ? 43 : this.kmsType.hashCode()); result = (result * PRIME) + (this.availabilityDomain == null diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListKeyStoresRequest.java b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListKeyStoresRequest.java index 577d8afb59c..40149dd4927 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListKeyStoresRequest.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListKeyStoresRequest.java @@ -47,6 +47,56 @@ public String getPage() { public String getOpcRequestId() { return opcRequestId; } + /** + * A filter to return only resources that match the key store type given. The match is not case + * sensitive. + */ + private KeyStoreType keyStoreType; + + /** + * A filter to return only resources that match the key store type given. The match is not case + * sensitive. + */ + public enum KeyStoreType implements com.oracle.bmc.http.internal.BmcEnum { + OracleKeyVault("ORACLE_KEY_VAULT"), + Thales("THALES"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (KeyStoreType v : KeyStoreType.values()) { + map.put(v.getValue(), v); + } + } + + KeyStoreType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static KeyStoreType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid KeyStoreType: " + key); + } + }; + + /** + * A filter to return only resources that match the key store type given. The match is not case + * sensitive. + */ + public KeyStoreType getKeyStoreType() { + return keyStoreType; + } public static class Builder implements com.oracle.bmc.requests.BmcRequest.Builder< @@ -114,6 +164,24 @@ public Builder opcRequestId(String opcRequestId) { return this; } + /** + * A filter to return only resources that match the key store type given. The match is not + * case sensitive. + */ + private KeyStoreType keyStoreType = null; + + /** + * A filter to return only resources that match the key store type given. The match is not + * case sensitive. + * + * @param keyStoreType the value to set + * @return this builder instance + */ + public Builder keyStoreType(KeyStoreType keyStoreType) { + this.keyStoreType = keyStoreType; + return this; + } + /** * Set the invocation callback for the request to be built. * @@ -148,6 +216,7 @@ public Builder copy(ListKeyStoresRequest o) { limit(o.getLimit()); page(o.getPage()); opcRequestId(o.getOpcRequestId()); + keyStoreType(o.getKeyStoreType()); invocationCallback(o.getInvocationCallback()); retryConfiguration(o.getRetryConfiguration()); return this; @@ -186,8 +255,9 @@ public ListKeyStoresRequest buildWithoutInvocationCallback() { request.limit = limit; request.page = page; request.opcRequestId = opcRequestId; + request.keyStoreType = keyStoreType; return request; - // new ListKeyStoresRequest(compartmentId, limit, page, opcRequestId); + // new ListKeyStoresRequest(compartmentId, limit, page, opcRequestId, keyStoreType); } } @@ -201,7 +271,8 @@ public Builder toBuilder() { .compartmentId(compartmentId) .limit(limit) .page(page) - .opcRequestId(opcRequestId); + .opcRequestId(opcRequestId) + .keyStoreType(keyStoreType); } /** @@ -222,6 +293,7 @@ public String toString() { sb.append(",limit=").append(String.valueOf(this.limit)); sb.append(",page=").append(String.valueOf(this.page)); sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId)); + sb.append(",keyStoreType=").append(String.valueOf(this.keyStoreType)); sb.append(")"); return sb.toString(); } @@ -240,7 +312,8 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.compartmentId, other.compartmentId) && java.util.Objects.equals(this.limit, other.limit) && java.util.Objects.equals(this.page, other.page) - && java.util.Objects.equals(this.opcRequestId, other.opcRequestId); + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.keyStoreType, other.keyStoreType); } @Override @@ -253,6 +326,7 @@ public int hashCode() { result = (result * PRIME) + (this.limit == null ? 43 : this.limit.hashCode()); result = (result * PRIME) + (this.page == null ? 43 : this.page.hashCode()); result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.keyStoreType == null ? 43 : this.keyStoreType.hashCode()); return result; } } diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/responses/ChangeAvmKeyManagementSystemResponse.java b/bmc-database/src/main/java/com/oracle/bmc/database/responses/ChangeAvmKeyManagementSystemResponse.java new file mode 100644 index 00000000000..e3757483898 --- /dev/null +++ b/bmc-database/src/main/java/com/oracle/bmc/database/responses/ChangeAvmKeyManagementSystemResponse.java @@ -0,0 +1,194 @@ +/** + * Copyright (c) 2016, 2026, 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.responses; + +import com.oracle.bmc.database.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +public class ChangeAvmKeyManagementSystemResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work + * request. Multiple OCID values are returned in a comma-separated list. Use {@link + * #getWorkRequest(GetWorkRequestRequest) getWorkRequest} with a work request OCID to track the + * status of the request. + */ + private String opcWorkRequestId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work + * request. Multiple OCID values are returned in a comma-separated list. Use {@link + * #getWorkRequest(GetWorkRequestRequest) getWorkRequest} with a work request OCID to track the + * status of the request. + * + * @return the value + */ + public String getOpcWorkRequestId() { + return opcWorkRequestId; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcWorkRequestId", + "opcRequestId" + }) + private ChangeAvmKeyManagementSystemResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcWorkRequestId, + String opcRequestId) { + super(__httpStatusCode__, headers); + this.opcWorkRequestId = opcWorkRequestId; + this.opcRequestId = opcRequestId; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder< + ChangeAvmKeyManagementSystemResponse> { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * work request. Multiple OCID values are returned in a comma-separated list. Use {@link + * #getWorkRequest(GetWorkRequestRequest) getWorkRequest} with a work request OCID to track + * the status of the request. + */ + private String opcWorkRequestId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * work request. Multiple OCID values are returned in a comma-separated list. Use {@link + * #getWorkRequest(GetWorkRequestRequest) getWorkRequest} with a work request OCID to track + * the status of the request. + * + * @param opcWorkRequestId the value to set + * @return this builder + */ + public Builder opcWorkRequestId(String opcWorkRequestId) { + this.opcWorkRequestId = opcWorkRequestId; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(ChangeAvmKeyManagementSystemResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcWorkRequestId(o.getOpcWorkRequestId()); + opcRequestId(o.getOpcRequestId()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public ChangeAvmKeyManagementSystemResponse build() { + return new ChangeAvmKeyManagementSystemResponse( + __httpStatusCode__, headers, opcWorkRequestId, opcRequestId); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcWorkRequestId=").append(String.valueOf(opcWorkRequestId)); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ChangeAvmKeyManagementSystemResponse)) { + return false; + } + + ChangeAvmKeyManagementSystemResponse other = (ChangeAvmKeyManagementSystemResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcWorkRequestId, other.opcWorkRequestId) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.opcWorkRequestId == null ? 43 : this.opcWorkRequestId.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + return result; + } +} diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/responses/ChangeCavmKeyManagementSystemResponse.java b/bmc-database/src/main/java/com/oracle/bmc/database/responses/ChangeCavmKeyManagementSystemResponse.java new file mode 100644 index 00000000000..e2d9af4cc7c --- /dev/null +++ b/bmc-database/src/main/java/com/oracle/bmc/database/responses/ChangeCavmKeyManagementSystemResponse.java @@ -0,0 +1,194 @@ +/** + * Copyright (c) 2016, 2026, 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.responses; + +import com.oracle.bmc.database.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +public class ChangeCavmKeyManagementSystemResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work + * request. Multiple OCID values are returned in a comma-separated list. Use {@link + * #getWorkRequest(GetWorkRequestRequest) getWorkRequest} with a work request OCID to track the + * status of the request. + */ + private String opcWorkRequestId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work + * request. Multiple OCID values are returned in a comma-separated list. Use {@link + * #getWorkRequest(GetWorkRequestRequest) getWorkRequest} with a work request OCID to track the + * status of the request. + * + * @return the value + */ + public String getOpcWorkRequestId() { + return opcWorkRequestId; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcWorkRequestId", + "opcRequestId" + }) + private ChangeCavmKeyManagementSystemResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcWorkRequestId, + String opcRequestId) { + super(__httpStatusCode__, headers); + this.opcWorkRequestId = opcWorkRequestId; + this.opcRequestId = opcRequestId; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder< + ChangeCavmKeyManagementSystemResponse> { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * work request. Multiple OCID values are returned in a comma-separated list. Use {@link + * #getWorkRequest(GetWorkRequestRequest) getWorkRequest} with a work request OCID to track + * the status of the request. + */ + private String opcWorkRequestId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * work request. Multiple OCID values are returned in a comma-separated list. Use {@link + * #getWorkRequest(GetWorkRequestRequest) getWorkRequest} with a work request OCID to track + * the status of the request. + * + * @param opcWorkRequestId the value to set + * @return this builder + */ + public Builder opcWorkRequestId(String opcWorkRequestId) { + this.opcWorkRequestId = opcWorkRequestId; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(ChangeCavmKeyManagementSystemResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcWorkRequestId(o.getOpcWorkRequestId()); + opcRequestId(o.getOpcRequestId()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public ChangeCavmKeyManagementSystemResponse build() { + return new ChangeCavmKeyManagementSystemResponse( + __httpStatusCode__, headers, opcWorkRequestId, opcRequestId); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcWorkRequestId=").append(String.valueOf(opcWorkRequestId)); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ChangeCavmKeyManagementSystemResponse)) { + return false; + } + + ChangeCavmKeyManagementSystemResponse other = (ChangeCavmKeyManagementSystemResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcWorkRequestId, other.opcWorkRequestId) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.opcWorkRequestId == null ? 43 : this.opcWorkRequestId.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + return result; + } +} diff --git a/bmc-database/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-database/reflect-config.json b/bmc-database/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-database/reflect-config.json index f9015c986c3..8ce11b0586c 100644 --- a/bmc-database/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-database/reflect-config.json +++ b/bmc-database/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-database/reflect-config.json @@ -8510,6 +8510,19 @@ "allDeclaredFields": true, "allDeclaredMethods": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.database.model.KeyManagementSystemDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.database.model.KeyManagementSystemDetails$KeyManagementSystem", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.database.model.KeyStore", @@ -8530,6 +8543,34 @@ "allDeclaredFields": true, "allDeclaredMethods": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.database.model.KeyStoreAssociatedAutonomousVmClusterDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.database.model.KeyStoreAssociatedAutonomousVmClusterDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.database.model.KeyStoreAssociatedCloudAutonomousVmClusterDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.database.model.KeyStoreAssociatedCloudAutonomousVmClusterDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.database.model.KeyStoreAssociatedDatabaseDetails", @@ -8591,6 +8632,20 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.database.model.KeyStoreTypeFromThalesDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.database.model.KeyStoreTypeFromThalesDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.database.model.LaunchAutonomousExadataInfrastructureDetails", @@ -9309,6 +9364,20 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.database.model.OciVaultKeyManagementSystemDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.database.model.OciVaultKeyManagementSystemDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.database.model.OkvKeyDetails", @@ -9383,6 +9452,20 @@ "allDeclaredFields": true, "allDeclaredMethods": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.database.model.OracleKeyVaultKeyManagementSystemDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.database.model.OracleKeyVaultKeyManagementSystemDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.database.model.OracleManagedKeyDetails", @@ -9397,6 +9480,20 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.database.model.OracleManagedKeyManagementSystemDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.database.model.OracleManagedKeyManagementSystemDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.database.model.Patch", @@ -10870,6 +10967,20 @@ "allDeclaredFields": true, "allDeclaredMethods": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.database.model.ThalesKeyManagementSystemDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.database.model.ThalesKeyManagementSystemDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.database.model.UndeleteAutonomousDatabaseDetails", diff --git a/bmc-databasemanagement/pom.xml b/bmc-databasemanagement/pom.xml index 236fa02235a..c82a7aba886 100644 --- a/bmc-databasemanagement/pom.xml +++ b/bmc-databasemanagement/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-databasemanagement @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-databasemigration/pom.xml b/bmc-databasemigration/pom.xml index cc1195320d9..2e7d1cfce28 100644 --- a/bmc-databasemigration/pom.xml +++ b/bmc-databasemigration/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-databasemigration @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CloneOracleOnlineStandbyMigrationSettings.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CloneOracleOnlineStandbyMigrationSettings.java deleted file mode 100644 index 8823e7be237..00000000000 --- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CloneOracleOnlineStandbyMigrationSettings.java +++ /dev/null @@ -1,192 +0,0 @@ -/** - * Copyright (c) 2016, 2026, 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.databasemigration.model; - -/** - * Clone settings for an online standby Oracle migration.
- * 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: 20230518") -@com.fasterxml.jackson.databind.annotation.JsonDeserialize( - builder = CloneOracleOnlineStandbyMigrationSettings.Builder.class) -@com.fasterxml.jackson.annotation.JsonTypeInfo( - use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, - include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, - property = "migrationMethod") -@com.fasterxml.jackson.annotation.JsonFilter( - com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) -public final class CloneOracleOnlineStandbyMigrationSettings extends CloneOracleMigrationSettings { - @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") - public static class Builder { - /** The OCID of the resource being referenced. */ - @com.fasterxml.jackson.annotation.JsonProperty("sourceContainerDatabaseConnectionId") - private String sourceContainerDatabaseConnectionId; - - /** - * The OCID of the resource being referenced. - * - * @param sourceContainerDatabaseConnectionId the value to set - * @return this builder - */ - public Builder sourceContainerDatabaseConnectionId( - String sourceContainerDatabaseConnectionId) { - this.sourceContainerDatabaseConnectionId = sourceContainerDatabaseConnectionId; - this.__explicitlySet__.add("sourceContainerDatabaseConnectionId"); - return this; - } - /** The OCID of the resource being referenced. */ - @com.fasterxml.jackson.annotation.JsonProperty("sourceStandbyDatabaseConnectionId") - private String sourceStandbyDatabaseConnectionId; - - /** - * The OCID of the resource being referenced. - * - * @param sourceStandbyDatabaseConnectionId the value to set - * @return this builder - */ - public Builder sourceStandbyDatabaseConnectionId(String sourceStandbyDatabaseConnectionId) { - this.sourceStandbyDatabaseConnectionId = sourceStandbyDatabaseConnectionId; - this.__explicitlySet__.add("sourceStandbyDatabaseConnectionId"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonIgnore - private final java.util.Set __explicitlySet__ = new java.util.HashSet(); - - public CloneOracleOnlineStandbyMigrationSettings build() { - CloneOracleOnlineStandbyMigrationSettings model = - new CloneOracleOnlineStandbyMigrationSettings( - this.sourceContainerDatabaseConnectionId, - this.sourceStandbyDatabaseConnectionId); - for (String explicitlySetProperty : this.__explicitlySet__) { - model.markPropertyAsExplicitlySet(explicitlySetProperty); - } - return model; - } - - @com.fasterxml.jackson.annotation.JsonIgnore - public Builder copy(CloneOracleOnlineStandbyMigrationSettings model) { - if (model.wasPropertyExplicitlySet("sourceContainerDatabaseConnectionId")) { - this.sourceContainerDatabaseConnectionId( - model.getSourceContainerDatabaseConnectionId()); - } - if (model.wasPropertyExplicitlySet("sourceStandbyDatabaseConnectionId")) { - this.sourceStandbyDatabaseConnectionId( - model.getSourceStandbyDatabaseConnectionId()); - } - return this; - } - } - - /** Create a new builder. */ - public static Builder builder() { - return new Builder(); - } - - public Builder toBuilder() { - return new Builder().copy(this); - } - - @Deprecated - public CloneOracleOnlineStandbyMigrationSettings( - String sourceContainerDatabaseConnectionId, String sourceStandbyDatabaseConnectionId) { - super(); - this.sourceContainerDatabaseConnectionId = sourceContainerDatabaseConnectionId; - this.sourceStandbyDatabaseConnectionId = sourceStandbyDatabaseConnectionId; - } - - /** The OCID of the resource being referenced. */ - @com.fasterxml.jackson.annotation.JsonProperty("sourceContainerDatabaseConnectionId") - private final String sourceContainerDatabaseConnectionId; - - /** - * The OCID of the resource being referenced. - * - * @return the value - */ - public String getSourceContainerDatabaseConnectionId() { - return sourceContainerDatabaseConnectionId; - } - - /** The OCID of the resource being referenced. */ - @com.fasterxml.jackson.annotation.JsonProperty("sourceStandbyDatabaseConnectionId") - private final String sourceStandbyDatabaseConnectionId; - - /** - * The OCID of the resource being referenced. - * - * @return the value - */ - public String getSourceStandbyDatabaseConnectionId() { - return sourceStandbyDatabaseConnectionId; - } - - @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("CloneOracleOnlineStandbyMigrationSettings("); - sb.append("super=").append(super.toString(includeByteArrayContents)); - sb.append(", sourceContainerDatabaseConnectionId=") - .append(String.valueOf(this.sourceContainerDatabaseConnectionId)); - sb.append(", sourceStandbyDatabaseConnectionId=") - .append(String.valueOf(this.sourceStandbyDatabaseConnectionId)); - sb.append(")"); - return sb.toString(); - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (!(o instanceof CloneOracleOnlineStandbyMigrationSettings)) { - return false; - } - - CloneOracleOnlineStandbyMigrationSettings other = - (CloneOracleOnlineStandbyMigrationSettings) o; - return java.util.Objects.equals( - this.sourceContainerDatabaseConnectionId, - other.sourceContainerDatabaseConnectionId) - && java.util.Objects.equals( - this.sourceStandbyDatabaseConnectionId, - other.sourceStandbyDatabaseConnectionId) - && super.equals(other); - } - - @Override - public int hashCode() { - final int PRIME = 59; - int result = super.hashCode(); - result = - (result * PRIME) - + (this.sourceContainerDatabaseConnectionId == null - ? 43 - : this.sourceContainerDatabaseConnectionId.hashCode()); - result = - (result * PRIME) - + (this.sourceStandbyDatabaseConnectionId == null - ? 43 - : this.sourceStandbyDatabaseConnectionId.hashCode()); - return result; - } -} diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleAwsS3DataTransferMediumDetails.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleAwsS3DataTransferMediumDetails.java index bd1c926cfc6..ec2d3ff6bf3 100644 --- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleAwsS3DataTransferMediumDetails.java +++ b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleAwsS3DataTransferMediumDetails.java @@ -5,8 +5,8 @@ package com.oracle.bmc.databasemigration.model; /** - * AWS S3 bucket details used for source Connection resources with RDS_ORACLE type. Only supported - * for source Connection resources with RDS_ORACLE type.
+ * AWS S3 bucket details used to transfer Data Pump dump files for Oracle migrations. Supported for + * source Connection resources with ORACLE_DATABASE, ORACLE_EXADATA, or AMAZON_RDS_ORACLE type.
* 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 diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleAzureBlobDataTransferMediumDetails.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleAzureBlobDataTransferMediumDetails.java new file mode 100644 index 00000000000..baa702c6749 --- /dev/null +++ b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleAzureBlobDataTransferMediumDetails.java @@ -0,0 +1,232 @@ +/** + * Copyright (c) 2016, 2026, 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.databasemigration.model; + +/** + * Azure Blob Storage details used to transfer Data Pump dump files for Oracle migrations.
+ * 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: 20230518") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = CreateOracleAzureBlobDataTransferMediumDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "type") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class CreateOracleAzureBlobDataTransferMediumDetails + extends CreateOracleDataTransferMediumDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** Azure Storage account name. */ + @com.fasterxml.jackson.annotation.JsonProperty("storageAccountName") + private String storageAccountName; + + /** + * Azure Storage account name. + * + * @param storageAccountName the value to set + * @return this builder + */ + public Builder storageAccountName(String storageAccountName) { + this.storageAccountName = storageAccountName; + this.__explicitlySet__.add("storageAccountName"); + return this; + } + /** Azure Blob container name. */ + @com.fasterxml.jackson.annotation.JsonProperty("containerName") + private String containerName; + + /** + * Azure Blob container name. + * + * @param containerName the value to set + * @return this builder + */ + public Builder containerName(String containerName) { + this.containerName = containerName; + this.__explicitlySet__.add("containerName"); + return this; + } + /** + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OCI + * Vault secret that contains the Azure Storage Account Key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("storageAccountKeySecretId") + private String storageAccountKeySecretId; + + /** + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OCI + * Vault secret that contains the Azure Storage Account Key. + * + * @param storageAccountKeySecretId the value to set + * @return this builder + */ + public Builder storageAccountKeySecretId(String storageAccountKeySecretId) { + this.storageAccountKeySecretId = storageAccountKeySecretId; + this.__explicitlySet__.add("storageAccountKeySecretId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public CreateOracleAzureBlobDataTransferMediumDetails build() { + CreateOracleAzureBlobDataTransferMediumDetails model = + new CreateOracleAzureBlobDataTransferMediumDetails( + this.storageAccountName, + this.containerName, + this.storageAccountKeySecretId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(CreateOracleAzureBlobDataTransferMediumDetails model) { + if (model.wasPropertyExplicitlySet("storageAccountName")) { + this.storageAccountName(model.getStorageAccountName()); + } + if (model.wasPropertyExplicitlySet("containerName")) { + this.containerName(model.getContainerName()); + } + if (model.wasPropertyExplicitlySet("storageAccountKeySecretId")) { + this.storageAccountKeySecretId(model.getStorageAccountKeySecretId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public CreateOracleAzureBlobDataTransferMediumDetails( + String storageAccountName, String containerName, String storageAccountKeySecretId) { + super(); + this.storageAccountName = storageAccountName; + this.containerName = containerName; + this.storageAccountKeySecretId = storageAccountKeySecretId; + } + + /** Azure Storage account name. */ + @com.fasterxml.jackson.annotation.JsonProperty("storageAccountName") + private final String storageAccountName; + + /** + * Azure Storage account name. + * + * @return the value + */ + public String getStorageAccountName() { + return storageAccountName; + } + + /** Azure Blob container name. */ + @com.fasterxml.jackson.annotation.JsonProperty("containerName") + private final String containerName; + + /** + * Azure Blob container name. + * + * @return the value + */ + public String getContainerName() { + return containerName; + } + + /** + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OCI Vault + * secret that contains the Azure Storage Account Key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("storageAccountKeySecretId") + private final String storageAccountKeySecretId; + + /** + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OCI Vault + * secret that contains the Azure Storage Account Key. + * + * @return the value + */ + public String getStorageAccountKeySecretId() { + return storageAccountKeySecretId; + } + + @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("CreateOracleAzureBlobDataTransferMediumDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", storageAccountName=").append(String.valueOf(this.storageAccountName)); + sb.append(", containerName=").append(String.valueOf(this.containerName)); + sb.append(", storageAccountKeySecretId=") + .append(String.valueOf(this.storageAccountKeySecretId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CreateOracleAzureBlobDataTransferMediumDetails)) { + return false; + } + + CreateOracleAzureBlobDataTransferMediumDetails other = + (CreateOracleAzureBlobDataTransferMediumDetails) o; + return java.util.Objects.equals(this.storageAccountName, other.storageAccountName) + && java.util.Objects.equals(this.containerName, other.containerName) + && java.util.Objects.equals( + this.storageAccountKeySecretId, other.storageAccountKeySecretId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.storageAccountName == null + ? 43 + : this.storageAccountName.hashCode()); + result = + (result * PRIME) + + (this.containerName == null ? 43 : this.containerName.hashCode()); + result = + (result * PRIME) + + (this.storageAccountKeySecretId == null + ? 43 + : this.storageAccountKeySecretId.hashCode()); + return result; + } +} diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleDataTransferMediumDetails.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleDataTransferMediumDetails.java index 47813b9b0fe..2aa6a17cb7e 100644 --- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleDataTransferMediumDetails.java +++ b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleDataTransferMediumDetails.java @@ -25,9 +25,15 @@ @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = CreateOracleDbLinkDataTransferMediumDetails.class, name = "DBLINK"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = CreateOracleGcsDataTransferMediumDetails.class, + name = "GCS"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = CreateOracleNfsDataTransferMediumDetails.class, name = "NFS"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = CreateOracleAzureBlobDataTransferMediumDetails.class, + name = "AZURE_BLOB"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = CreateOracleObjectStorageDataTransferMediumDetails.class, name = "OBJECT_STORAGE"), @@ -90,6 +96,8 @@ public enum Type implements com.oracle.bmc.http.internal.BmcEnum { Dblink("DBLINK"), ObjectStorage("OBJECT_STORAGE"), AwsS3("AWS_S3"), + AzureBlob("AZURE_BLOB"), + Gcs("GCS"), Nfs("NFS"), ; diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleGcsDataTransferMediumDetails.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleGcsDataTransferMediumDetails.java new file mode 100644 index 00000000000..c55499039f6 --- /dev/null +++ b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleGcsDataTransferMediumDetails.java @@ -0,0 +1,224 @@ +/** + * Copyright (c) 2016, 2026, 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.databasemigration.model; + +/** + * Google Cloud Storage details used to transfer Data Pump dump files for Oracle migrations.
+ * 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: 20230518") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = CreateOracleGcsDataTransferMediumDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "type") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class CreateOracleGcsDataTransferMediumDetails + extends CreateOracleDataTransferMediumDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** Google Cloud Storage bucket name. */ + @com.fasterxml.jackson.annotation.JsonProperty("bucketName") + private String bucketName; + + /** + * Google Cloud Storage bucket name. + * + * @param bucketName the value to set + * @return this builder + */ + public Builder bucketName(String bucketName) { + this.bucketName = bucketName; + this.__explicitlySet__.add("bucketName"); + return this; + } + /** GCS HMAC access-key ID. */ + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") + private String accessKeyId; + + /** + * GCS HMAC access-key ID. + * + * @param accessKeyId the value to set + * @return this builder + */ + public Builder accessKeyId(String accessKeyId) { + this.accessKeyId = accessKeyId; + this.__explicitlySet__.add("accessKeyId"); + return this; + } + /** + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OCI + * Vault secret that contains the GCS HMAC secret access key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + private String secretAccessKeySecretId; + + /** + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OCI + * Vault secret that contains the GCS HMAC secret access key. + * + * @param secretAccessKeySecretId the value to set + * @return this builder + */ + public Builder secretAccessKeySecretId(String secretAccessKeySecretId) { + this.secretAccessKeySecretId = secretAccessKeySecretId; + this.__explicitlySet__.add("secretAccessKeySecretId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public CreateOracleGcsDataTransferMediumDetails build() { + CreateOracleGcsDataTransferMediumDetails model = + new CreateOracleGcsDataTransferMediumDetails( + this.bucketName, this.accessKeyId, this.secretAccessKeySecretId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(CreateOracleGcsDataTransferMediumDetails model) { + if (model.wasPropertyExplicitlySet("bucketName")) { + this.bucketName(model.getBucketName()); + } + if (model.wasPropertyExplicitlySet("accessKeyId")) { + this.accessKeyId(model.getAccessKeyId()); + } + if (model.wasPropertyExplicitlySet("secretAccessKeySecretId")) { + this.secretAccessKeySecretId(model.getSecretAccessKeySecretId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public CreateOracleGcsDataTransferMediumDetails( + String bucketName, String accessKeyId, String secretAccessKeySecretId) { + super(); + this.bucketName = bucketName; + this.accessKeyId = accessKeyId; + this.secretAccessKeySecretId = secretAccessKeySecretId; + } + + /** Google Cloud Storage bucket name. */ + @com.fasterxml.jackson.annotation.JsonProperty("bucketName") + private final String bucketName; + + /** + * Google Cloud Storage bucket name. + * + * @return the value + */ + public String getBucketName() { + return bucketName; + } + + /** GCS HMAC access-key ID. */ + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") + private final String accessKeyId; + + /** + * GCS HMAC access-key ID. + * + * @return the value + */ + public String getAccessKeyId() { + return accessKeyId; + } + + /** + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OCI Vault + * secret that contains the GCS HMAC secret access key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + private final String secretAccessKeySecretId; + + /** + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OCI Vault + * secret that contains the GCS HMAC secret access key. + * + * @return the value + */ + public String getSecretAccessKeySecretId() { + return secretAccessKeySecretId; + } + + @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("CreateOracleGcsDataTransferMediumDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", bucketName=").append(String.valueOf(this.bucketName)); + sb.append(", accessKeyId=").append(String.valueOf(this.accessKeyId)); + sb.append(", secretAccessKeySecretId=") + .append(String.valueOf(this.secretAccessKeySecretId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CreateOracleGcsDataTransferMediumDetails)) { + return false; + } + + CreateOracleGcsDataTransferMediumDetails other = + (CreateOracleGcsDataTransferMediumDetails) o; + return java.util.Objects.equals(this.bucketName, other.bucketName) + && java.util.Objects.equals(this.accessKeyId, other.accessKeyId) + && java.util.Objects.equals( + this.secretAccessKeySecretId, other.secretAccessKeySecretId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.bucketName == null ? 43 : this.bucketName.hashCode()); + result = (result * PRIME) + (this.accessKeyId == null ? 43 : this.accessKeyId.hashCode()); + result = + (result * PRIME) + + (this.secretAccessKeySecretId == null + ? 43 + : this.secretAccessKeySecretId.hashCode()); + return result; + } +} diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleMigrationDetails.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleMigrationDetails.java index 767fcb02b72..5ef1ba6d9ac 100644 --- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleMigrationDetails.java +++ b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleMigrationDetails.java @@ -5,8 +5,7 @@ package com.oracle.bmc.databasemigration.model; /** - * Create Migration resource parameters. Deprecated: The parent-level Oracle migration configuration - * properties on this model are deprecated. Use {@code migrationSettings} instead.
+ * Create Migration resource parameters.
* 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 @@ -110,15 +109,6 @@ public Builder assessmentId(String assessmentId) { return this; } - @com.fasterxml.jackson.annotation.JsonProperty("migrationSettings") - private CreateOracleMigrationSettings migrationSettings; - - public Builder migrationSettings(CreateOracleMigrationSettings migrationSettings) { - this.migrationSettings = migrationSettings; - this.__explicitlySet__.add("migrationSettings"); - return this; - } - @com.fasterxml.jackson.annotation.JsonProperty("dataTransferMediumDetails") private CreateOracleDataTransferMediumDetails dataTransferMediumDetails; @@ -286,7 +276,6 @@ public CreateOracleMigrationDetails build() { this.freeformTags, this.definedTags, this.assessmentId, - this.migrationSettings, this.dataTransferMediumDetails, this.initialLoadSettings, this.advisorSettings, @@ -333,9 +322,6 @@ public Builder copy(CreateOracleMigrationDetails model) { if (model.wasPropertyExplicitlySet("assessmentId")) { this.assessmentId(model.getAssessmentId()); } - if (model.wasPropertyExplicitlySet("migrationSettings")) { - this.migrationSettings(model.getMigrationSettings()); - } if (model.wasPropertyExplicitlySet("dataTransferMediumDetails")) { this.dataTransferMediumDetails(model.getDataTransferMediumDetails()); } @@ -395,7 +381,6 @@ public CreateOracleMigrationDetails( java.util.Map freeformTags, java.util.Map> definedTags, String assessmentId, - CreateOracleMigrationSettings migrationSettings, CreateOracleDataTransferMediumDetails dataTransferMediumDetails, CreateOracleInitialLoadSettings initialLoadSettings, CreateOracleAdvisorSettings advisorSettings, @@ -417,7 +402,6 @@ public CreateOracleMigrationDetails( freeformTags, definedTags, assessmentId); - this.migrationSettings = migrationSettings; this.dataTransferMediumDetails = dataTransferMediumDetails; this.initialLoadSettings = initialLoadSettings; this.advisorSettings = advisorSettings; @@ -431,13 +415,6 @@ public CreateOracleMigrationDetails( this.bulkIncludeExcludeData = bulkIncludeExcludeData; } - @com.fasterxml.jackson.annotation.JsonProperty("migrationSettings") - private final CreateOracleMigrationSettings migrationSettings; - - public CreateOracleMigrationSettings getMigrationSettings() { - return migrationSettings; - } - @com.fasterxml.jackson.annotation.JsonProperty("dataTransferMediumDetails") private final CreateOracleDataTransferMediumDetails dataTransferMediumDetails; @@ -576,7 +553,6 @@ public String toString(boolean includeByteArrayContents) { java.lang.StringBuilder sb = new java.lang.StringBuilder(); sb.append("CreateOracleMigrationDetails("); sb.append("super=").append(super.toString(includeByteArrayContents)); - sb.append(", migrationSettings=").append(String.valueOf(this.migrationSettings)); sb.append(", dataTransferMediumDetails=") .append(String.valueOf(this.dataTransferMediumDetails)); sb.append(", initialLoadSettings=").append(String.valueOf(this.initialLoadSettings)); @@ -605,8 +581,7 @@ public boolean equals(Object o) { } CreateOracleMigrationDetails other = (CreateOracleMigrationDetails) o; - return java.util.Objects.equals(this.migrationSettings, other.migrationSettings) - && java.util.Objects.equals( + return java.util.Objects.equals( this.dataTransferMediumDetails, other.dataTransferMediumDetails) && java.util.Objects.equals(this.initialLoadSettings, other.initialLoadSettings) && java.util.Objects.equals(this.advisorSettings, other.advisorSettings) @@ -630,9 +605,6 @@ public boolean equals(Object o) { public int hashCode() { final int PRIME = 59; int result = super.hashCode(); - result = - (result * PRIME) - + (this.migrationSettings == null ? 43 : this.migrationSettings.hashCode()); result = (result * PRIME) + (this.dataTransferMediumDetails == null diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleOfflineLogicalMigrationSettings.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleOfflineLogicalMigrationSettings.java deleted file mode 100644 index bf829150ac8..00000000000 --- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleOfflineLogicalMigrationSettings.java +++ /dev/null @@ -1,377 +0,0 @@ -/** - * Copyright (c) 2016, 2026, 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.databasemigration.model; - -/** - * Create settings for an offline logical Oracle migration.
- * 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: 20230518") -@com.fasterxml.jackson.databind.annotation.JsonDeserialize( - builder = CreateOracleOfflineLogicalMigrationSettings.Builder.class) -@com.fasterxml.jackson.annotation.JsonTypeInfo( - use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, - include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, - property = "migrationMethod") -@com.fasterxml.jackson.annotation.JsonFilter( - com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) -public final class CreateOracleOfflineLogicalMigrationSettings - extends CreateOracleMigrationSettings { - @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") - public static class Builder { - - @com.fasterxml.jackson.annotation.JsonProperty("dataTransferMediumDetails") - private CreateOracleDataTransferMediumDetails dataTransferMediumDetails; - - public Builder dataTransferMediumDetails( - CreateOracleDataTransferMediumDetails dataTransferMediumDetails) { - this.dataTransferMediumDetails = dataTransferMediumDetails; - this.__explicitlySet__.add("dataTransferMediumDetails"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonProperty("initialLoadSettings") - private CreateOracleInitialLoadSettings initialLoadSettings; - - public Builder initialLoadSettings(CreateOracleInitialLoadSettings initialLoadSettings) { - this.initialLoadSettings = initialLoadSettings; - this.__explicitlySet__.add("initialLoadSettings"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonProperty("advisorSettings") - private CreateOracleAdvisorSettings advisorSettings; - - public Builder advisorSettings(CreateOracleAdvisorSettings advisorSettings) { - this.advisorSettings = advisorSettings; - this.__explicitlySet__.add("advisorSettings"); - return this; - } - /** List of Migration Parameter objects. */ - @com.fasterxml.jackson.annotation.JsonProperty("advancedParameters") - private java.util.List advancedParameters; - - /** - * List of Migration Parameter objects. - * - * @param advancedParameters the value to set - * @return this builder - */ - public Builder advancedParameters( - java.util.List advancedParameters) { - this.advancedParameters = advancedParameters; - this.__explicitlySet__.add("advancedParameters"); - return this; - } - /** - * Database objects to exclude from migration, cannot be specified alongside - * 'includeObjects' - */ - @com.fasterxml.jackson.annotation.JsonProperty("excludeObjects") - private java.util.List excludeObjects; - - /** - * Database objects to exclude from migration, cannot be specified alongside - * 'includeObjects' - * - * @param excludeObjects the value to set - * @return this builder - */ - public Builder excludeObjects(java.util.List excludeObjects) { - this.excludeObjects = excludeObjects; - this.__explicitlySet__.add("excludeObjects"); - return this; - } - /** - * Database objects to include from migration, cannot be specified alongside - * 'excludeObjects' - */ - @com.fasterxml.jackson.annotation.JsonProperty("includeObjects") - private java.util.List includeObjects; - - /** - * Database objects to include from migration, cannot be specified alongside - * 'excludeObjects' - * - * @param includeObjects the value to set - * @return this builder - */ - public Builder includeObjects(java.util.List includeObjects) { - this.includeObjects = includeObjects; - this.__explicitlySet__.add("includeObjects"); - return this; - } - /** - * Specifies the database objects to be excluded from the migration in bulk. The definition - * accepts input in a CSV format, newline separated for each entry. More details can be - * found in the documentation. - */ - @com.fasterxml.jackson.annotation.JsonProperty("bulkIncludeExcludeData") - private String bulkIncludeExcludeData; - - /** - * Specifies the database objects to be excluded from the migration in bulk. The definition - * accepts input in a CSV format, newline separated for each entry. More details can be - * found in the documentation. - * - * @param bulkIncludeExcludeData the value to set - * @return this builder - */ - public Builder bulkIncludeExcludeData(String bulkIncludeExcludeData) { - this.bulkIncludeExcludeData = bulkIncludeExcludeData; - this.__explicitlySet__.add("bulkIncludeExcludeData"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonIgnore - private final java.util.Set __explicitlySet__ = new java.util.HashSet(); - - public CreateOracleOfflineLogicalMigrationSettings build() { - CreateOracleOfflineLogicalMigrationSettings model = - new CreateOracleOfflineLogicalMigrationSettings( - this.dataTransferMediumDetails, - this.initialLoadSettings, - this.advisorSettings, - this.advancedParameters, - this.excludeObjects, - this.includeObjects, - this.bulkIncludeExcludeData); - for (String explicitlySetProperty : this.__explicitlySet__) { - model.markPropertyAsExplicitlySet(explicitlySetProperty); - } - return model; - } - - @com.fasterxml.jackson.annotation.JsonIgnore - public Builder copy(CreateOracleOfflineLogicalMigrationSettings model) { - if (model.wasPropertyExplicitlySet("dataTransferMediumDetails")) { - this.dataTransferMediumDetails(model.getDataTransferMediumDetails()); - } - if (model.wasPropertyExplicitlySet("initialLoadSettings")) { - this.initialLoadSettings(model.getInitialLoadSettings()); - } - if (model.wasPropertyExplicitlySet("advisorSettings")) { - this.advisorSettings(model.getAdvisorSettings()); - } - if (model.wasPropertyExplicitlySet("advancedParameters")) { - this.advancedParameters(model.getAdvancedParameters()); - } - if (model.wasPropertyExplicitlySet("excludeObjects")) { - this.excludeObjects(model.getExcludeObjects()); - } - if (model.wasPropertyExplicitlySet("includeObjects")) { - this.includeObjects(model.getIncludeObjects()); - } - if (model.wasPropertyExplicitlySet("bulkIncludeExcludeData")) { - this.bulkIncludeExcludeData(model.getBulkIncludeExcludeData()); - } - return this; - } - } - - /** Create a new builder. */ - public static Builder builder() { - return new Builder(); - } - - public Builder toBuilder() { - return new Builder().copy(this); - } - - @Deprecated - public CreateOracleOfflineLogicalMigrationSettings( - CreateOracleDataTransferMediumDetails dataTransferMediumDetails, - CreateOracleInitialLoadSettings initialLoadSettings, - CreateOracleAdvisorSettings advisorSettings, - java.util.List advancedParameters, - java.util.List excludeObjects, - java.util.List includeObjects, - String bulkIncludeExcludeData) { - super(); - this.dataTransferMediumDetails = dataTransferMediumDetails; - this.initialLoadSettings = initialLoadSettings; - this.advisorSettings = advisorSettings; - this.advancedParameters = advancedParameters; - this.excludeObjects = excludeObjects; - this.includeObjects = includeObjects; - this.bulkIncludeExcludeData = bulkIncludeExcludeData; - } - - @com.fasterxml.jackson.annotation.JsonProperty("dataTransferMediumDetails") - private final CreateOracleDataTransferMediumDetails dataTransferMediumDetails; - - public CreateOracleDataTransferMediumDetails getDataTransferMediumDetails() { - return dataTransferMediumDetails; - } - - @com.fasterxml.jackson.annotation.JsonProperty("initialLoadSettings") - private final CreateOracleInitialLoadSettings initialLoadSettings; - - public CreateOracleInitialLoadSettings getInitialLoadSettings() { - return initialLoadSettings; - } - - @com.fasterxml.jackson.annotation.JsonProperty("advisorSettings") - private final CreateOracleAdvisorSettings advisorSettings; - - public CreateOracleAdvisorSettings getAdvisorSettings() { - return advisorSettings; - } - - /** List of Migration Parameter objects. */ - @com.fasterxml.jackson.annotation.JsonProperty("advancedParameters") - private final java.util.List advancedParameters; - - /** - * List of Migration Parameter objects. - * - * @return the value - */ - public java.util.List getAdvancedParameters() { - return advancedParameters; - } - - /** - * Database objects to exclude from migration, cannot be specified alongside 'includeObjects' - */ - @com.fasterxml.jackson.annotation.JsonProperty("excludeObjects") - private final java.util.List excludeObjects; - - /** - * Database objects to exclude from migration, cannot be specified alongside 'includeObjects' - * - * @return the value - */ - public java.util.List getExcludeObjects() { - return excludeObjects; - } - - /** - * Database objects to include from migration, cannot be specified alongside 'excludeObjects' - */ - @com.fasterxml.jackson.annotation.JsonProperty("includeObjects") - private final java.util.List includeObjects; - - /** - * Database objects to include from migration, cannot be specified alongside 'excludeObjects' - * - * @return the value - */ - public java.util.List getIncludeObjects() { - return includeObjects; - } - - /** - * Specifies the database objects to be excluded from the migration in bulk. The definition - * accepts input in a CSV format, newline separated for each entry. More details can be found in - * the documentation. - */ - @com.fasterxml.jackson.annotation.JsonProperty("bulkIncludeExcludeData") - private final String bulkIncludeExcludeData; - - /** - * Specifies the database objects to be excluded from the migration in bulk. The definition - * accepts input in a CSV format, newline separated for each entry. More details can be found in - * the documentation. - * - * @return the value - */ - public String getBulkIncludeExcludeData() { - return bulkIncludeExcludeData; - } - - @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("CreateOracleOfflineLogicalMigrationSettings("); - sb.append("super=").append(super.toString(includeByteArrayContents)); - sb.append(", dataTransferMediumDetails=") - .append(String.valueOf(this.dataTransferMediumDetails)); - sb.append(", initialLoadSettings=").append(String.valueOf(this.initialLoadSettings)); - sb.append(", advisorSettings=").append(String.valueOf(this.advisorSettings)); - sb.append(", advancedParameters=").append(String.valueOf(this.advancedParameters)); - sb.append(", excludeObjects=").append(String.valueOf(this.excludeObjects)); - sb.append(", includeObjects=").append(String.valueOf(this.includeObjects)); - sb.append(", bulkIncludeExcludeData=").append(String.valueOf(this.bulkIncludeExcludeData)); - sb.append(")"); - return sb.toString(); - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (!(o instanceof CreateOracleOfflineLogicalMigrationSettings)) { - return false; - } - - CreateOracleOfflineLogicalMigrationSettings other = - (CreateOracleOfflineLogicalMigrationSettings) o; - return java.util.Objects.equals( - this.dataTransferMediumDetails, other.dataTransferMediumDetails) - && java.util.Objects.equals(this.initialLoadSettings, other.initialLoadSettings) - && java.util.Objects.equals(this.advisorSettings, other.advisorSettings) - && java.util.Objects.equals(this.advancedParameters, other.advancedParameters) - && java.util.Objects.equals(this.excludeObjects, other.excludeObjects) - && java.util.Objects.equals(this.includeObjects, other.includeObjects) - && java.util.Objects.equals( - this.bulkIncludeExcludeData, other.bulkIncludeExcludeData) - && super.equals(other); - } - - @Override - public int hashCode() { - final int PRIME = 59; - int result = super.hashCode(); - result = - (result * PRIME) - + (this.dataTransferMediumDetails == null - ? 43 - : this.dataTransferMediumDetails.hashCode()); - result = - (result * PRIME) - + (this.initialLoadSettings == null - ? 43 - : this.initialLoadSettings.hashCode()); - result = - (result * PRIME) - + (this.advisorSettings == null ? 43 : this.advisorSettings.hashCode()); - result = - (result * PRIME) - + (this.advancedParameters == null - ? 43 - : this.advancedParameters.hashCode()); - result = - (result * PRIME) - + (this.excludeObjects == null ? 43 : this.excludeObjects.hashCode()); - result = - (result * PRIME) - + (this.includeObjects == null ? 43 : this.includeObjects.hashCode()); - result = - (result * PRIME) - + (this.bulkIncludeExcludeData == null - ? 43 - : this.bulkIncludeExcludeData.hashCode()); - return result; - } -} diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleOnlineLogicalMigrationSettings.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleOnlineLogicalMigrationSettings.java deleted file mode 100644 index 0437f72b1e2..00000000000 --- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleOnlineLogicalMigrationSettings.java +++ /dev/null @@ -1,473 +0,0 @@ -/** - * Copyright (c) 2016, 2026, 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.databasemigration.model; - -/** - * Create settings for an online logical Oracle migration.
- * 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: 20230518") -@com.fasterxml.jackson.databind.annotation.JsonDeserialize( - builder = CreateOracleOnlineLogicalMigrationSettings.Builder.class) -@com.fasterxml.jackson.annotation.JsonTypeInfo( - use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, - include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, - property = "migrationMethod") -@com.fasterxml.jackson.annotation.JsonFilter( - com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) -public final class CreateOracleOnlineLogicalMigrationSettings - extends CreateOracleMigrationSettings { - @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") - public static class Builder { - - @com.fasterxml.jackson.annotation.JsonProperty("dataTransferMediumDetails") - private CreateOracleDataTransferMediumDetails dataTransferMediumDetails; - - public Builder dataTransferMediumDetails( - CreateOracleDataTransferMediumDetails dataTransferMediumDetails) { - this.dataTransferMediumDetails = dataTransferMediumDetails; - this.__explicitlySet__.add("dataTransferMediumDetails"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonProperty("initialLoadSettings") - private CreateOracleInitialLoadSettings initialLoadSettings; - - public Builder initialLoadSettings(CreateOracleInitialLoadSettings initialLoadSettings) { - this.initialLoadSettings = initialLoadSettings; - this.__explicitlySet__.add("initialLoadSettings"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonProperty("advisorSettings") - private CreateOracleAdvisorSettings advisorSettings; - - public Builder advisorSettings(CreateOracleAdvisorSettings advisorSettings) { - this.advisorSettings = advisorSettings; - this.__explicitlySet__.add("advisorSettings"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonProperty("hubDetails") - private CreateGoldenGateHubDetails hubDetails; - - public Builder hubDetails(CreateGoldenGateHubDetails hubDetails) { - this.hubDetails = hubDetails; - this.__explicitlySet__.add("hubDetails"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonProperty("ggsDetails") - private CreateOracleGgsDeploymentDetails ggsDetails; - - public Builder ggsDetails(CreateOracleGgsDeploymentDetails ggsDetails) { - this.ggsDetails = ggsDetails; - this.__explicitlySet__.add("ggsDetails"); - return this; - } - /** List of Migration Parameter objects. */ - @com.fasterxml.jackson.annotation.JsonProperty("advancedParameters") - private java.util.List advancedParameters; - - /** - * List of Migration Parameter objects. - * - * @param advancedParameters the value to set - * @return this builder - */ - public Builder advancedParameters( - java.util.List advancedParameters) { - this.advancedParameters = advancedParameters; - this.__explicitlySet__.add("advancedParameters"); - return this; - } - /** The OCID of the resource being referenced. */ - @com.fasterxml.jackson.annotation.JsonProperty("sourceContainerDatabaseConnectionId") - private String sourceContainerDatabaseConnectionId; - - /** - * The OCID of the resource being referenced. - * - * @param sourceContainerDatabaseConnectionId the value to set - * @return this builder - */ - public Builder sourceContainerDatabaseConnectionId( - String sourceContainerDatabaseConnectionId) { - this.sourceContainerDatabaseConnectionId = sourceContainerDatabaseConnectionId; - this.__explicitlySet__.add("sourceContainerDatabaseConnectionId"); - return this; - } - /** - * Database objects to exclude from migration, cannot be specified alongside - * 'includeObjects' - */ - @com.fasterxml.jackson.annotation.JsonProperty("excludeObjects") - private java.util.List excludeObjects; - - /** - * Database objects to exclude from migration, cannot be specified alongside - * 'includeObjects' - * - * @param excludeObjects the value to set - * @return this builder - */ - public Builder excludeObjects(java.util.List excludeObjects) { - this.excludeObjects = excludeObjects; - this.__explicitlySet__.add("excludeObjects"); - return this; - } - /** - * Database objects to include from migration, cannot be specified alongside - * 'excludeObjects' - */ - @com.fasterxml.jackson.annotation.JsonProperty("includeObjects") - private java.util.List includeObjects; - - /** - * Database objects to include from migration, cannot be specified alongside - * 'excludeObjects' - * - * @param includeObjects the value to set - * @return this builder - */ - public Builder includeObjects(java.util.List includeObjects) { - this.includeObjects = includeObjects; - this.__explicitlySet__.add("includeObjects"); - return this; - } - /** - * Specifies the database objects to be excluded from the migration in bulk. The definition - * accepts input in a CSV format, newline separated for each entry. More details can be - * found in the documentation. - */ - @com.fasterxml.jackson.annotation.JsonProperty("bulkIncludeExcludeData") - private String bulkIncludeExcludeData; - - /** - * Specifies the database objects to be excluded from the migration in bulk. The definition - * accepts input in a CSV format, newline separated for each entry. More details can be - * found in the documentation. - * - * @param bulkIncludeExcludeData the value to set - * @return this builder - */ - public Builder bulkIncludeExcludeData(String bulkIncludeExcludeData) { - this.bulkIncludeExcludeData = bulkIncludeExcludeData; - this.__explicitlySet__.add("bulkIncludeExcludeData"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonIgnore - private final java.util.Set __explicitlySet__ = new java.util.HashSet(); - - public CreateOracleOnlineLogicalMigrationSettings build() { - CreateOracleOnlineLogicalMigrationSettings model = - new CreateOracleOnlineLogicalMigrationSettings( - this.dataTransferMediumDetails, - this.initialLoadSettings, - this.advisorSettings, - this.hubDetails, - this.ggsDetails, - this.advancedParameters, - this.sourceContainerDatabaseConnectionId, - this.excludeObjects, - this.includeObjects, - this.bulkIncludeExcludeData); - for (String explicitlySetProperty : this.__explicitlySet__) { - model.markPropertyAsExplicitlySet(explicitlySetProperty); - } - return model; - } - - @com.fasterxml.jackson.annotation.JsonIgnore - public Builder copy(CreateOracleOnlineLogicalMigrationSettings model) { - if (model.wasPropertyExplicitlySet("dataTransferMediumDetails")) { - this.dataTransferMediumDetails(model.getDataTransferMediumDetails()); - } - if (model.wasPropertyExplicitlySet("initialLoadSettings")) { - this.initialLoadSettings(model.getInitialLoadSettings()); - } - if (model.wasPropertyExplicitlySet("advisorSettings")) { - this.advisorSettings(model.getAdvisorSettings()); - } - if (model.wasPropertyExplicitlySet("hubDetails")) { - this.hubDetails(model.getHubDetails()); - } - if (model.wasPropertyExplicitlySet("ggsDetails")) { - this.ggsDetails(model.getGgsDetails()); - } - if (model.wasPropertyExplicitlySet("advancedParameters")) { - this.advancedParameters(model.getAdvancedParameters()); - } - if (model.wasPropertyExplicitlySet("sourceContainerDatabaseConnectionId")) { - this.sourceContainerDatabaseConnectionId( - model.getSourceContainerDatabaseConnectionId()); - } - if (model.wasPropertyExplicitlySet("excludeObjects")) { - this.excludeObjects(model.getExcludeObjects()); - } - if (model.wasPropertyExplicitlySet("includeObjects")) { - this.includeObjects(model.getIncludeObjects()); - } - if (model.wasPropertyExplicitlySet("bulkIncludeExcludeData")) { - this.bulkIncludeExcludeData(model.getBulkIncludeExcludeData()); - } - return this; - } - } - - /** Create a new builder. */ - public static Builder builder() { - return new Builder(); - } - - public Builder toBuilder() { - return new Builder().copy(this); - } - - @Deprecated - public CreateOracleOnlineLogicalMigrationSettings( - CreateOracleDataTransferMediumDetails dataTransferMediumDetails, - CreateOracleInitialLoadSettings initialLoadSettings, - CreateOracleAdvisorSettings advisorSettings, - CreateGoldenGateHubDetails hubDetails, - CreateOracleGgsDeploymentDetails ggsDetails, - java.util.List advancedParameters, - String sourceContainerDatabaseConnectionId, - java.util.List excludeObjects, - java.util.List includeObjects, - String bulkIncludeExcludeData) { - super(); - this.dataTransferMediumDetails = dataTransferMediumDetails; - this.initialLoadSettings = initialLoadSettings; - this.advisorSettings = advisorSettings; - this.hubDetails = hubDetails; - this.ggsDetails = ggsDetails; - this.advancedParameters = advancedParameters; - this.sourceContainerDatabaseConnectionId = sourceContainerDatabaseConnectionId; - this.excludeObjects = excludeObjects; - this.includeObjects = includeObjects; - this.bulkIncludeExcludeData = bulkIncludeExcludeData; - } - - @com.fasterxml.jackson.annotation.JsonProperty("dataTransferMediumDetails") - private final CreateOracleDataTransferMediumDetails dataTransferMediumDetails; - - public CreateOracleDataTransferMediumDetails getDataTransferMediumDetails() { - return dataTransferMediumDetails; - } - - @com.fasterxml.jackson.annotation.JsonProperty("initialLoadSettings") - private final CreateOracleInitialLoadSettings initialLoadSettings; - - public CreateOracleInitialLoadSettings getInitialLoadSettings() { - return initialLoadSettings; - } - - @com.fasterxml.jackson.annotation.JsonProperty("advisorSettings") - private final CreateOracleAdvisorSettings advisorSettings; - - public CreateOracleAdvisorSettings getAdvisorSettings() { - return advisorSettings; - } - - @com.fasterxml.jackson.annotation.JsonProperty("hubDetails") - private final CreateGoldenGateHubDetails hubDetails; - - public CreateGoldenGateHubDetails getHubDetails() { - return hubDetails; - } - - @com.fasterxml.jackson.annotation.JsonProperty("ggsDetails") - private final CreateOracleGgsDeploymentDetails ggsDetails; - - public CreateOracleGgsDeploymentDetails getGgsDetails() { - return ggsDetails; - } - - /** List of Migration Parameter objects. */ - @com.fasterxml.jackson.annotation.JsonProperty("advancedParameters") - private final java.util.List advancedParameters; - - /** - * List of Migration Parameter objects. - * - * @return the value - */ - public java.util.List getAdvancedParameters() { - return advancedParameters; - } - - /** The OCID of the resource being referenced. */ - @com.fasterxml.jackson.annotation.JsonProperty("sourceContainerDatabaseConnectionId") - private final String sourceContainerDatabaseConnectionId; - - /** - * The OCID of the resource being referenced. - * - * @return the value - */ - public String getSourceContainerDatabaseConnectionId() { - return sourceContainerDatabaseConnectionId; - } - - /** - * Database objects to exclude from migration, cannot be specified alongside 'includeObjects' - */ - @com.fasterxml.jackson.annotation.JsonProperty("excludeObjects") - private final java.util.List excludeObjects; - - /** - * Database objects to exclude from migration, cannot be specified alongside 'includeObjects' - * - * @return the value - */ - public java.util.List getExcludeObjects() { - return excludeObjects; - } - - /** - * Database objects to include from migration, cannot be specified alongside 'excludeObjects' - */ - @com.fasterxml.jackson.annotation.JsonProperty("includeObjects") - private final java.util.List includeObjects; - - /** - * Database objects to include from migration, cannot be specified alongside 'excludeObjects' - * - * @return the value - */ - public java.util.List getIncludeObjects() { - return includeObjects; - } - - /** - * Specifies the database objects to be excluded from the migration in bulk. The definition - * accepts input in a CSV format, newline separated for each entry. More details can be found in - * the documentation. - */ - @com.fasterxml.jackson.annotation.JsonProperty("bulkIncludeExcludeData") - private final String bulkIncludeExcludeData; - - /** - * Specifies the database objects to be excluded from the migration in bulk. The definition - * accepts input in a CSV format, newline separated for each entry. More details can be found in - * the documentation. - * - * @return the value - */ - public String getBulkIncludeExcludeData() { - return bulkIncludeExcludeData; - } - - @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("CreateOracleOnlineLogicalMigrationSettings("); - sb.append("super=").append(super.toString(includeByteArrayContents)); - sb.append(", dataTransferMediumDetails=") - .append(String.valueOf(this.dataTransferMediumDetails)); - sb.append(", initialLoadSettings=").append(String.valueOf(this.initialLoadSettings)); - sb.append(", advisorSettings=").append(String.valueOf(this.advisorSettings)); - sb.append(", hubDetails=").append(String.valueOf(this.hubDetails)); - sb.append(", ggsDetails=").append(String.valueOf(this.ggsDetails)); - sb.append(", advancedParameters=").append(String.valueOf(this.advancedParameters)); - sb.append(", sourceContainerDatabaseConnectionId=") - .append(String.valueOf(this.sourceContainerDatabaseConnectionId)); - sb.append(", excludeObjects=").append(String.valueOf(this.excludeObjects)); - sb.append(", includeObjects=").append(String.valueOf(this.includeObjects)); - sb.append(", bulkIncludeExcludeData=").append(String.valueOf(this.bulkIncludeExcludeData)); - sb.append(")"); - return sb.toString(); - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (!(o instanceof CreateOracleOnlineLogicalMigrationSettings)) { - return false; - } - - CreateOracleOnlineLogicalMigrationSettings other = - (CreateOracleOnlineLogicalMigrationSettings) o; - return java.util.Objects.equals( - this.dataTransferMediumDetails, other.dataTransferMediumDetails) - && java.util.Objects.equals(this.initialLoadSettings, other.initialLoadSettings) - && java.util.Objects.equals(this.advisorSettings, other.advisorSettings) - && java.util.Objects.equals(this.hubDetails, other.hubDetails) - && java.util.Objects.equals(this.ggsDetails, other.ggsDetails) - && java.util.Objects.equals(this.advancedParameters, other.advancedParameters) - && java.util.Objects.equals( - this.sourceContainerDatabaseConnectionId, - other.sourceContainerDatabaseConnectionId) - && java.util.Objects.equals(this.excludeObjects, other.excludeObjects) - && java.util.Objects.equals(this.includeObjects, other.includeObjects) - && java.util.Objects.equals( - this.bulkIncludeExcludeData, other.bulkIncludeExcludeData) - && super.equals(other); - } - - @Override - public int hashCode() { - final int PRIME = 59; - int result = super.hashCode(); - result = - (result * PRIME) - + (this.dataTransferMediumDetails == null - ? 43 - : this.dataTransferMediumDetails.hashCode()); - result = - (result * PRIME) - + (this.initialLoadSettings == null - ? 43 - : this.initialLoadSettings.hashCode()); - result = - (result * PRIME) - + (this.advisorSettings == null ? 43 : this.advisorSettings.hashCode()); - result = (result * PRIME) + (this.hubDetails == null ? 43 : this.hubDetails.hashCode()); - result = (result * PRIME) + (this.ggsDetails == null ? 43 : this.ggsDetails.hashCode()); - result = - (result * PRIME) - + (this.advancedParameters == null - ? 43 - : this.advancedParameters.hashCode()); - result = - (result * PRIME) - + (this.sourceContainerDatabaseConnectionId == null - ? 43 - : this.sourceContainerDatabaseConnectionId.hashCode()); - result = - (result * PRIME) - + (this.excludeObjects == null ? 43 : this.excludeObjects.hashCode()); - result = - (result * PRIME) - + (this.includeObjects == null ? 43 : this.includeObjects.hashCode()); - result = - (result * PRIME) - + (this.bulkIncludeExcludeData == null - ? 43 - : this.bulkIncludeExcludeData.hashCode()); - return result; - } -} diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleOnlineStandbyMigrationSettings.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleOnlineStandbyMigrationSettings.java deleted file mode 100644 index 25489b85c83..00000000000 --- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleOnlineStandbyMigrationSettings.java +++ /dev/null @@ -1,518 +0,0 @@ -/** - * Copyright (c) 2016, 2026, 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.databasemigration.model; - -/** - * Create settings for an online standby Oracle migration.
- * 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: 20230518") -@com.fasterxml.jackson.databind.annotation.JsonDeserialize( - builder = CreateOracleOnlineStandbyMigrationSettings.Builder.class) -@com.fasterxml.jackson.annotation.JsonTypeInfo( - use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, - include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, - property = "migrationMethod") -@com.fasterxml.jackson.annotation.JsonFilter( - com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) -public final class CreateOracleOnlineStandbyMigrationSettings - extends CreateOracleMigrationSettings { - @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") - public static class Builder { - - @com.fasterxml.jackson.annotation.JsonProperty("dataTransferMediumDetails") - private CreateOracleDataTransferMediumDetails dataTransferMediumDetails; - - public Builder dataTransferMediumDetails( - CreateOracleDataTransferMediumDetails dataTransferMediumDetails) { - this.dataTransferMediumDetails = dataTransferMediumDetails; - this.__explicitlySet__.add("dataTransferMediumDetails"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonProperty("initialLoadSettings") - private CreateOracleInitialLoadSettings initialLoadSettings; - - public Builder initialLoadSettings(CreateOracleInitialLoadSettings initialLoadSettings) { - this.initialLoadSettings = initialLoadSettings; - this.__explicitlySet__.add("initialLoadSettings"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonProperty("advisorSettings") - private CreateOracleAdvisorSettings advisorSettings; - - public Builder advisorSettings(CreateOracleAdvisorSettings advisorSettings) { - this.advisorSettings = advisorSettings; - this.__explicitlySet__.add("advisorSettings"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonProperty("hubDetails") - private CreateGoldenGateHubDetails hubDetails; - - public Builder hubDetails(CreateGoldenGateHubDetails hubDetails) { - this.hubDetails = hubDetails; - this.__explicitlySet__.add("hubDetails"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonProperty("ggsDetails") - private CreateOracleGgsDeploymentDetails ggsDetails; - - public Builder ggsDetails(CreateOracleGgsDeploymentDetails ggsDetails) { - this.ggsDetails = ggsDetails; - this.__explicitlySet__.add("ggsDetails"); - return this; - } - /** List of Migration Parameter objects. */ - @com.fasterxml.jackson.annotation.JsonProperty("advancedParameters") - private java.util.List advancedParameters; - - /** - * List of Migration Parameter objects. - * - * @param advancedParameters the value to set - * @return this builder - */ - public Builder advancedParameters( - java.util.List advancedParameters) { - this.advancedParameters = advancedParameters; - this.__explicitlySet__.add("advancedParameters"); - return this; - } - /** The OCID of the resource being referenced. */ - @com.fasterxml.jackson.annotation.JsonProperty("sourceContainerDatabaseConnectionId") - private String sourceContainerDatabaseConnectionId; - - /** - * The OCID of the resource being referenced. - * - * @param sourceContainerDatabaseConnectionId the value to set - * @return this builder - */ - public Builder sourceContainerDatabaseConnectionId( - String sourceContainerDatabaseConnectionId) { - this.sourceContainerDatabaseConnectionId = sourceContainerDatabaseConnectionId; - this.__explicitlySet__.add("sourceContainerDatabaseConnectionId"); - return this; - } - /** The OCID of the resource being referenced. */ - @com.fasterxml.jackson.annotation.JsonProperty("sourceStandbyDatabaseConnectionId") - private String sourceStandbyDatabaseConnectionId; - - /** - * The OCID of the resource being referenced. - * - * @param sourceStandbyDatabaseConnectionId the value to set - * @return this builder - */ - public Builder sourceStandbyDatabaseConnectionId(String sourceStandbyDatabaseConnectionId) { - this.sourceStandbyDatabaseConnectionId = sourceStandbyDatabaseConnectionId; - this.__explicitlySet__.add("sourceStandbyDatabaseConnectionId"); - return this; - } - /** - * Database objects to exclude from migration, cannot be specified alongside - * 'includeObjects' - */ - @com.fasterxml.jackson.annotation.JsonProperty("excludeObjects") - private java.util.List excludeObjects; - - /** - * Database objects to exclude from migration, cannot be specified alongside - * 'includeObjects' - * - * @param excludeObjects the value to set - * @return this builder - */ - public Builder excludeObjects(java.util.List excludeObjects) { - this.excludeObjects = excludeObjects; - this.__explicitlySet__.add("excludeObjects"); - return this; - } - /** - * Database objects to include from migration, cannot be specified alongside - * 'excludeObjects' - */ - @com.fasterxml.jackson.annotation.JsonProperty("includeObjects") - private java.util.List includeObjects; - - /** - * Database objects to include from migration, cannot be specified alongside - * 'excludeObjects' - * - * @param includeObjects the value to set - * @return this builder - */ - public Builder includeObjects(java.util.List includeObjects) { - this.includeObjects = includeObjects; - this.__explicitlySet__.add("includeObjects"); - return this; - } - /** - * Specifies the database objects to be excluded from the migration in bulk. The definition - * accepts input in a CSV format, newline separated for each entry. More details can be - * found in the documentation. - */ - @com.fasterxml.jackson.annotation.JsonProperty("bulkIncludeExcludeData") - private String bulkIncludeExcludeData; - - /** - * Specifies the database objects to be excluded from the migration in bulk. The definition - * accepts input in a CSV format, newline separated for each entry. More details can be - * found in the documentation. - * - * @param bulkIncludeExcludeData the value to set - * @return this builder - */ - public Builder bulkIncludeExcludeData(String bulkIncludeExcludeData) { - this.bulkIncludeExcludeData = bulkIncludeExcludeData; - this.__explicitlySet__.add("bulkIncludeExcludeData"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonIgnore - private final java.util.Set __explicitlySet__ = new java.util.HashSet(); - - public CreateOracleOnlineStandbyMigrationSettings build() { - CreateOracleOnlineStandbyMigrationSettings model = - new CreateOracleOnlineStandbyMigrationSettings( - this.dataTransferMediumDetails, - this.initialLoadSettings, - this.advisorSettings, - this.hubDetails, - this.ggsDetails, - this.advancedParameters, - this.sourceContainerDatabaseConnectionId, - this.sourceStandbyDatabaseConnectionId, - this.excludeObjects, - this.includeObjects, - this.bulkIncludeExcludeData); - for (String explicitlySetProperty : this.__explicitlySet__) { - model.markPropertyAsExplicitlySet(explicitlySetProperty); - } - return model; - } - - @com.fasterxml.jackson.annotation.JsonIgnore - public Builder copy(CreateOracleOnlineStandbyMigrationSettings model) { - if (model.wasPropertyExplicitlySet("dataTransferMediumDetails")) { - this.dataTransferMediumDetails(model.getDataTransferMediumDetails()); - } - if (model.wasPropertyExplicitlySet("initialLoadSettings")) { - this.initialLoadSettings(model.getInitialLoadSettings()); - } - if (model.wasPropertyExplicitlySet("advisorSettings")) { - this.advisorSettings(model.getAdvisorSettings()); - } - if (model.wasPropertyExplicitlySet("hubDetails")) { - this.hubDetails(model.getHubDetails()); - } - if (model.wasPropertyExplicitlySet("ggsDetails")) { - this.ggsDetails(model.getGgsDetails()); - } - if (model.wasPropertyExplicitlySet("advancedParameters")) { - this.advancedParameters(model.getAdvancedParameters()); - } - if (model.wasPropertyExplicitlySet("sourceContainerDatabaseConnectionId")) { - this.sourceContainerDatabaseConnectionId( - model.getSourceContainerDatabaseConnectionId()); - } - if (model.wasPropertyExplicitlySet("sourceStandbyDatabaseConnectionId")) { - this.sourceStandbyDatabaseConnectionId( - model.getSourceStandbyDatabaseConnectionId()); - } - if (model.wasPropertyExplicitlySet("excludeObjects")) { - this.excludeObjects(model.getExcludeObjects()); - } - if (model.wasPropertyExplicitlySet("includeObjects")) { - this.includeObjects(model.getIncludeObjects()); - } - if (model.wasPropertyExplicitlySet("bulkIncludeExcludeData")) { - this.bulkIncludeExcludeData(model.getBulkIncludeExcludeData()); - } - return this; - } - } - - /** Create a new builder. */ - public static Builder builder() { - return new Builder(); - } - - public Builder toBuilder() { - return new Builder().copy(this); - } - - @Deprecated - public CreateOracleOnlineStandbyMigrationSettings( - CreateOracleDataTransferMediumDetails dataTransferMediumDetails, - CreateOracleInitialLoadSettings initialLoadSettings, - CreateOracleAdvisorSettings advisorSettings, - CreateGoldenGateHubDetails hubDetails, - CreateOracleGgsDeploymentDetails ggsDetails, - java.util.List advancedParameters, - String sourceContainerDatabaseConnectionId, - String sourceStandbyDatabaseConnectionId, - java.util.List excludeObjects, - java.util.List includeObjects, - String bulkIncludeExcludeData) { - super(); - this.dataTransferMediumDetails = dataTransferMediumDetails; - this.initialLoadSettings = initialLoadSettings; - this.advisorSettings = advisorSettings; - this.hubDetails = hubDetails; - this.ggsDetails = ggsDetails; - this.advancedParameters = advancedParameters; - this.sourceContainerDatabaseConnectionId = sourceContainerDatabaseConnectionId; - this.sourceStandbyDatabaseConnectionId = sourceStandbyDatabaseConnectionId; - this.excludeObjects = excludeObjects; - this.includeObjects = includeObjects; - this.bulkIncludeExcludeData = bulkIncludeExcludeData; - } - - @com.fasterxml.jackson.annotation.JsonProperty("dataTransferMediumDetails") - private final CreateOracleDataTransferMediumDetails dataTransferMediumDetails; - - public CreateOracleDataTransferMediumDetails getDataTransferMediumDetails() { - return dataTransferMediumDetails; - } - - @com.fasterxml.jackson.annotation.JsonProperty("initialLoadSettings") - private final CreateOracleInitialLoadSettings initialLoadSettings; - - public CreateOracleInitialLoadSettings getInitialLoadSettings() { - return initialLoadSettings; - } - - @com.fasterxml.jackson.annotation.JsonProperty("advisorSettings") - private final CreateOracleAdvisorSettings advisorSettings; - - public CreateOracleAdvisorSettings getAdvisorSettings() { - return advisorSettings; - } - - @com.fasterxml.jackson.annotation.JsonProperty("hubDetails") - private final CreateGoldenGateHubDetails hubDetails; - - public CreateGoldenGateHubDetails getHubDetails() { - return hubDetails; - } - - @com.fasterxml.jackson.annotation.JsonProperty("ggsDetails") - private final CreateOracleGgsDeploymentDetails ggsDetails; - - public CreateOracleGgsDeploymentDetails getGgsDetails() { - return ggsDetails; - } - - /** List of Migration Parameter objects. */ - @com.fasterxml.jackson.annotation.JsonProperty("advancedParameters") - private final java.util.List advancedParameters; - - /** - * List of Migration Parameter objects. - * - * @return the value - */ - public java.util.List getAdvancedParameters() { - return advancedParameters; - } - - /** The OCID of the resource being referenced. */ - @com.fasterxml.jackson.annotation.JsonProperty("sourceContainerDatabaseConnectionId") - private final String sourceContainerDatabaseConnectionId; - - /** - * The OCID of the resource being referenced. - * - * @return the value - */ - public String getSourceContainerDatabaseConnectionId() { - return sourceContainerDatabaseConnectionId; - } - - /** The OCID of the resource being referenced. */ - @com.fasterxml.jackson.annotation.JsonProperty("sourceStandbyDatabaseConnectionId") - private final String sourceStandbyDatabaseConnectionId; - - /** - * The OCID of the resource being referenced. - * - * @return the value - */ - public String getSourceStandbyDatabaseConnectionId() { - return sourceStandbyDatabaseConnectionId; - } - - /** - * Database objects to exclude from migration, cannot be specified alongside 'includeObjects' - */ - @com.fasterxml.jackson.annotation.JsonProperty("excludeObjects") - private final java.util.List excludeObjects; - - /** - * Database objects to exclude from migration, cannot be specified alongside 'includeObjects' - * - * @return the value - */ - public java.util.List getExcludeObjects() { - return excludeObjects; - } - - /** - * Database objects to include from migration, cannot be specified alongside 'excludeObjects' - */ - @com.fasterxml.jackson.annotation.JsonProperty("includeObjects") - private final java.util.List includeObjects; - - /** - * Database objects to include from migration, cannot be specified alongside 'excludeObjects' - * - * @return the value - */ - public java.util.List getIncludeObjects() { - return includeObjects; - } - - /** - * Specifies the database objects to be excluded from the migration in bulk. The definition - * accepts input in a CSV format, newline separated for each entry. More details can be found in - * the documentation. - */ - @com.fasterxml.jackson.annotation.JsonProperty("bulkIncludeExcludeData") - private final String bulkIncludeExcludeData; - - /** - * Specifies the database objects to be excluded from the migration in bulk. The definition - * accepts input in a CSV format, newline separated for each entry. More details can be found in - * the documentation. - * - * @return the value - */ - public String getBulkIncludeExcludeData() { - return bulkIncludeExcludeData; - } - - @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("CreateOracleOnlineStandbyMigrationSettings("); - sb.append("super=").append(super.toString(includeByteArrayContents)); - sb.append(", dataTransferMediumDetails=") - .append(String.valueOf(this.dataTransferMediumDetails)); - sb.append(", initialLoadSettings=").append(String.valueOf(this.initialLoadSettings)); - sb.append(", advisorSettings=").append(String.valueOf(this.advisorSettings)); - sb.append(", hubDetails=").append(String.valueOf(this.hubDetails)); - sb.append(", ggsDetails=").append(String.valueOf(this.ggsDetails)); - sb.append(", advancedParameters=").append(String.valueOf(this.advancedParameters)); - sb.append(", sourceContainerDatabaseConnectionId=") - .append(String.valueOf(this.sourceContainerDatabaseConnectionId)); - sb.append(", sourceStandbyDatabaseConnectionId=") - .append(String.valueOf(this.sourceStandbyDatabaseConnectionId)); - sb.append(", excludeObjects=").append(String.valueOf(this.excludeObjects)); - sb.append(", includeObjects=").append(String.valueOf(this.includeObjects)); - sb.append(", bulkIncludeExcludeData=").append(String.valueOf(this.bulkIncludeExcludeData)); - sb.append(")"); - return sb.toString(); - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (!(o instanceof CreateOracleOnlineStandbyMigrationSettings)) { - return false; - } - - CreateOracleOnlineStandbyMigrationSettings other = - (CreateOracleOnlineStandbyMigrationSettings) o; - return java.util.Objects.equals( - this.dataTransferMediumDetails, other.dataTransferMediumDetails) - && java.util.Objects.equals(this.initialLoadSettings, other.initialLoadSettings) - && java.util.Objects.equals(this.advisorSettings, other.advisorSettings) - && java.util.Objects.equals(this.hubDetails, other.hubDetails) - && java.util.Objects.equals(this.ggsDetails, other.ggsDetails) - && java.util.Objects.equals(this.advancedParameters, other.advancedParameters) - && java.util.Objects.equals( - this.sourceContainerDatabaseConnectionId, - other.sourceContainerDatabaseConnectionId) - && java.util.Objects.equals( - this.sourceStandbyDatabaseConnectionId, - other.sourceStandbyDatabaseConnectionId) - && java.util.Objects.equals(this.excludeObjects, other.excludeObjects) - && java.util.Objects.equals(this.includeObjects, other.includeObjects) - && java.util.Objects.equals( - this.bulkIncludeExcludeData, other.bulkIncludeExcludeData) - && super.equals(other); - } - - @Override - public int hashCode() { - final int PRIME = 59; - int result = super.hashCode(); - result = - (result * PRIME) - + (this.dataTransferMediumDetails == null - ? 43 - : this.dataTransferMediumDetails.hashCode()); - result = - (result * PRIME) - + (this.initialLoadSettings == null - ? 43 - : this.initialLoadSettings.hashCode()); - result = - (result * PRIME) - + (this.advisorSettings == null ? 43 : this.advisorSettings.hashCode()); - result = (result * PRIME) + (this.hubDetails == null ? 43 : this.hubDetails.hashCode()); - result = (result * PRIME) + (this.ggsDetails == null ? 43 : this.ggsDetails.hashCode()); - result = - (result * PRIME) - + (this.advancedParameters == null - ? 43 - : this.advancedParameters.hashCode()); - result = - (result * PRIME) - + (this.sourceContainerDatabaseConnectionId == null - ? 43 - : this.sourceContainerDatabaseConnectionId.hashCode()); - result = - (result * PRIME) - + (this.sourceStandbyDatabaseConnectionId == null - ? 43 - : this.sourceStandbyDatabaseConnectionId.hashCode()); - result = - (result * PRIME) - + (this.excludeObjects == null ? 43 : this.excludeObjects.hashCode()); - result = - (result * PRIME) - + (this.includeObjects == null ? 43 : this.includeObjects.hashCode()); - result = - (result * PRIME) - + (this.bulkIncludeExcludeData == null - ? 43 - : this.bulkIncludeExcludeData.hashCode()); - return result; - } -} diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleAwsS3DataTransferMediumDetails.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleAwsS3DataTransferMediumDetails.java index d5e210b0022..1c7362dd61c 100644 --- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleAwsS3DataTransferMediumDetails.java +++ b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleAwsS3DataTransferMediumDetails.java @@ -5,8 +5,8 @@ package com.oracle.bmc.databasemigration.model; /** - * AWS S3 bucket details used for source Connection resources with RDS_ORACLE type. Only supported - * for source Connection resources with RDS_ORACLE type.
+ * AWS S3 bucket details used to transfer Data Pump dump files for Oracle migrations. Supported for + * source Connection resources with ORACLE_DATABASE, ORACLE_EXADATA, or AMAZON_RDS_ORACLE type.
* 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 diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleAzureBlobDataTransferMediumDetails.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleAzureBlobDataTransferMediumDetails.java new file mode 100644 index 00000000000..3e8e7ea1a8f --- /dev/null +++ b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleAzureBlobDataTransferMediumDetails.java @@ -0,0 +1,232 @@ +/** + * Copyright (c) 2016, 2026, 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.databasemigration.model; + +/** + * Azure Blob Storage details used to transfer Data Pump dump files for Oracle migrations.
+ * 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: 20230518") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = OracleAzureBlobDataTransferMediumDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "type") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class OracleAzureBlobDataTransferMediumDetails + extends OracleDataTransferMediumDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** Azure Storage account name. */ + @com.fasterxml.jackson.annotation.JsonProperty("storageAccountName") + private String storageAccountName; + + /** + * Azure Storage account name. + * + * @param storageAccountName the value to set + * @return this builder + */ + public Builder storageAccountName(String storageAccountName) { + this.storageAccountName = storageAccountName; + this.__explicitlySet__.add("storageAccountName"); + return this; + } + /** Azure Blob container name. */ + @com.fasterxml.jackson.annotation.JsonProperty("containerName") + private String containerName; + + /** + * Azure Blob container name. + * + * @param containerName the value to set + * @return this builder + */ + public Builder containerName(String containerName) { + this.containerName = containerName; + this.__explicitlySet__.add("containerName"); + return this; + } + /** + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OCI + * Vault secret that contains the Azure Storage Account Key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("storageAccountKeySecretId") + private String storageAccountKeySecretId; + + /** + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OCI + * Vault secret that contains the Azure Storage Account Key. + * + * @param storageAccountKeySecretId the value to set + * @return this builder + */ + public Builder storageAccountKeySecretId(String storageAccountKeySecretId) { + this.storageAccountKeySecretId = storageAccountKeySecretId; + this.__explicitlySet__.add("storageAccountKeySecretId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public OracleAzureBlobDataTransferMediumDetails build() { + OracleAzureBlobDataTransferMediumDetails model = + new OracleAzureBlobDataTransferMediumDetails( + this.storageAccountName, + this.containerName, + this.storageAccountKeySecretId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(OracleAzureBlobDataTransferMediumDetails model) { + if (model.wasPropertyExplicitlySet("storageAccountName")) { + this.storageAccountName(model.getStorageAccountName()); + } + if (model.wasPropertyExplicitlySet("containerName")) { + this.containerName(model.getContainerName()); + } + if (model.wasPropertyExplicitlySet("storageAccountKeySecretId")) { + this.storageAccountKeySecretId(model.getStorageAccountKeySecretId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public OracleAzureBlobDataTransferMediumDetails( + String storageAccountName, String containerName, String storageAccountKeySecretId) { + super(); + this.storageAccountName = storageAccountName; + this.containerName = containerName; + this.storageAccountKeySecretId = storageAccountKeySecretId; + } + + /** Azure Storage account name. */ + @com.fasterxml.jackson.annotation.JsonProperty("storageAccountName") + private final String storageAccountName; + + /** + * Azure Storage account name. + * + * @return the value + */ + public String getStorageAccountName() { + return storageAccountName; + } + + /** Azure Blob container name. */ + @com.fasterxml.jackson.annotation.JsonProperty("containerName") + private final String containerName; + + /** + * Azure Blob container name. + * + * @return the value + */ + public String getContainerName() { + return containerName; + } + + /** + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OCI Vault + * secret that contains the Azure Storage Account Key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("storageAccountKeySecretId") + private final String storageAccountKeySecretId; + + /** + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OCI Vault + * secret that contains the Azure Storage Account Key. + * + * @return the value + */ + public String getStorageAccountKeySecretId() { + return storageAccountKeySecretId; + } + + @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("OracleAzureBlobDataTransferMediumDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", storageAccountName=").append(String.valueOf(this.storageAccountName)); + sb.append(", containerName=").append(String.valueOf(this.containerName)); + sb.append(", storageAccountKeySecretId=") + .append(String.valueOf(this.storageAccountKeySecretId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof OracleAzureBlobDataTransferMediumDetails)) { + return false; + } + + OracleAzureBlobDataTransferMediumDetails other = + (OracleAzureBlobDataTransferMediumDetails) o; + return java.util.Objects.equals(this.storageAccountName, other.storageAccountName) + && java.util.Objects.equals(this.containerName, other.containerName) + && java.util.Objects.equals( + this.storageAccountKeySecretId, other.storageAccountKeySecretId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.storageAccountName == null + ? 43 + : this.storageAccountName.hashCode()); + result = + (result * PRIME) + + (this.containerName == null ? 43 : this.containerName.hashCode()); + result = + (result * PRIME) + + (this.storageAccountKeySecretId == null + ? 43 + : this.storageAccountKeySecretId.hashCode()); + return result; + } +} diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleCloneMigrationDetails.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleCloneMigrationDetails.java index a0c8ebca346..b648db23161 100644 --- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleCloneMigrationDetails.java +++ b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleCloneMigrationDetails.java @@ -5,8 +5,7 @@ package com.oracle.bmc.databasemigration.model; /** - * Oracle Clone Migration details. Deprecated: The parent-level Oracle clone configuration - * properties on this model are deprecated. Use {@code migrationSettings} instead.
+ * Oracle Clone Migration Summary
* 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 @@ -91,15 +90,6 @@ public Builder definedTags( this.__explicitlySet__.add("definedTags"); return this; } - - @com.fasterxml.jackson.annotation.JsonProperty("migrationSettings") - private CloneOracleMigrationSettings migrationSettings; - - public Builder migrationSettings(CloneOracleMigrationSettings migrationSettings) { - this.migrationSettings = migrationSettings; - this.__explicitlySet__.add("migrationSettings"); - return this; - } /** The OCID of the resource being referenced. */ @com.fasterxml.jackson.annotation.JsonProperty("sourceContainerDatabaseConnectionId") private String sourceContainerDatabaseConnectionId; @@ -145,7 +135,6 @@ public OracleCloneMigrationDetails build() { this.assessmentId, this.freeformTags, this.definedTags, - this.migrationSettings, this.sourceContainerDatabaseConnectionId, this.sourceStandbyDatabaseConnectionId); for (String explicitlySetProperty : this.__explicitlySet__) { @@ -177,9 +166,6 @@ public Builder copy(OracleCloneMigrationDetails model) { if (model.wasPropertyExplicitlySet("definedTags")) { this.definedTags(model.getDefinedTags()); } - if (model.wasPropertyExplicitlySet("migrationSettings")) { - this.migrationSettings(model.getMigrationSettings()); - } if (model.wasPropertyExplicitlySet("sourceContainerDatabaseConnectionId")) { this.sourceContainerDatabaseConnectionId( model.getSourceContainerDatabaseConnectionId()); @@ -210,7 +196,6 @@ public OracleCloneMigrationDetails( String assessmentId, java.util.Map freeformTags, java.util.Map> definedTags, - CloneOracleMigrationSettings migrationSettings, String sourceContainerDatabaseConnectionId, String sourceStandbyDatabaseConnectionId) { super( @@ -221,18 +206,10 @@ public OracleCloneMigrationDetails( assessmentId, freeformTags, definedTags); - this.migrationSettings = migrationSettings; this.sourceContainerDatabaseConnectionId = sourceContainerDatabaseConnectionId; this.sourceStandbyDatabaseConnectionId = sourceStandbyDatabaseConnectionId; } - @com.fasterxml.jackson.annotation.JsonProperty("migrationSettings") - private final CloneOracleMigrationSettings migrationSettings; - - public CloneOracleMigrationSettings getMigrationSettings() { - return migrationSettings; - } - /** The OCID of the resource being referenced. */ @com.fasterxml.jackson.annotation.JsonProperty("sourceContainerDatabaseConnectionId") private final String sourceContainerDatabaseConnectionId; @@ -274,7 +251,6 @@ public String toString(boolean includeByteArrayContents) { java.lang.StringBuilder sb = new java.lang.StringBuilder(); sb.append("OracleCloneMigrationDetails("); sb.append("super=").append(super.toString(includeByteArrayContents)); - sb.append(", migrationSettings=").append(String.valueOf(this.migrationSettings)); sb.append(", sourceContainerDatabaseConnectionId=") .append(String.valueOf(this.sourceContainerDatabaseConnectionId)); sb.append(", sourceStandbyDatabaseConnectionId=") @@ -293,8 +269,7 @@ public boolean equals(Object o) { } OracleCloneMigrationDetails other = (OracleCloneMigrationDetails) o; - return java.util.Objects.equals(this.migrationSettings, other.migrationSettings) - && java.util.Objects.equals( + return java.util.Objects.equals( this.sourceContainerDatabaseConnectionId, other.sourceContainerDatabaseConnectionId) && java.util.Objects.equals( @@ -307,9 +282,6 @@ public boolean equals(Object o) { public int hashCode() { final int PRIME = 59; int result = super.hashCode(); - result = - (result * PRIME) - + (this.migrationSettings == null ? 43 : this.migrationSettings.hashCode()); result = (result * PRIME) + (this.sourceContainerDatabaseConnectionId == null diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleDataTransferMediumDetails.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleDataTransferMediumDetails.java index 421754b31ce..7084abc6969 100644 --- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleDataTransferMediumDetails.java +++ b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleDataTransferMediumDetails.java @@ -22,6 +22,9 @@ property = "type", defaultImpl = OracleDataTransferMediumDetails.class) @com.fasterxml.jackson.annotation.JsonSubTypes({ + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = OracleGcsDataTransferMediumDetails.class, + name = "GCS"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = OracleDbLinkDataTransferMediumDetails.class, name = "DBLINK"), @@ -33,7 +36,10 @@ name = "AWS_S3"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = OracleNfsDataTransferMediumDetails.class, - name = "NFS") + name = "NFS"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = OracleAzureBlobDataTransferMediumDetails.class, + name = "AZURE_BLOB") }) @com.fasterxml.jackson.annotation.JsonFilter( com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) @@ -90,6 +96,8 @@ public enum Type implements com.oracle.bmc.http.internal.BmcEnum { Dblink("DBLINK"), ObjectStorage("OBJECT_STORAGE"), AwsS3("AWS_S3"), + AzureBlob("AZURE_BLOB"), + Gcs("GCS"), Nfs("NFS"), /** diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleGcsDataTransferMediumDetails.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleGcsDataTransferMediumDetails.java new file mode 100644 index 00000000000..0b5b41d8c95 --- /dev/null +++ b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleGcsDataTransferMediumDetails.java @@ -0,0 +1,222 @@ +/** + * Copyright (c) 2016, 2026, 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.databasemigration.model; + +/** + * Google Cloud Storage details used to transfer Data Pump dump files for Oracle migrations.
+ * 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: 20230518") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = OracleGcsDataTransferMediumDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "type") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class OracleGcsDataTransferMediumDetails extends OracleDataTransferMediumDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** Google Cloud Storage bucket name. */ + @com.fasterxml.jackson.annotation.JsonProperty("bucketName") + private String bucketName; + + /** + * Google Cloud Storage bucket name. + * + * @param bucketName the value to set + * @return this builder + */ + public Builder bucketName(String bucketName) { + this.bucketName = bucketName; + this.__explicitlySet__.add("bucketName"); + return this; + } + /** GCS HMAC access-key ID. */ + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") + private String accessKeyId; + + /** + * GCS HMAC access-key ID. + * + * @param accessKeyId the value to set + * @return this builder + */ + public Builder accessKeyId(String accessKeyId) { + this.accessKeyId = accessKeyId; + this.__explicitlySet__.add("accessKeyId"); + return this; + } + /** + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OCI + * Vault secret that contains the GCS HMAC secret access key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + private String secretAccessKeySecretId; + + /** + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OCI + * Vault secret that contains the GCS HMAC secret access key. + * + * @param secretAccessKeySecretId the value to set + * @return this builder + */ + public Builder secretAccessKeySecretId(String secretAccessKeySecretId) { + this.secretAccessKeySecretId = secretAccessKeySecretId; + this.__explicitlySet__.add("secretAccessKeySecretId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public OracleGcsDataTransferMediumDetails build() { + OracleGcsDataTransferMediumDetails model = + new OracleGcsDataTransferMediumDetails( + this.bucketName, this.accessKeyId, this.secretAccessKeySecretId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(OracleGcsDataTransferMediumDetails model) { + if (model.wasPropertyExplicitlySet("bucketName")) { + this.bucketName(model.getBucketName()); + } + if (model.wasPropertyExplicitlySet("accessKeyId")) { + this.accessKeyId(model.getAccessKeyId()); + } + if (model.wasPropertyExplicitlySet("secretAccessKeySecretId")) { + this.secretAccessKeySecretId(model.getSecretAccessKeySecretId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public OracleGcsDataTransferMediumDetails( + String bucketName, String accessKeyId, String secretAccessKeySecretId) { + super(); + this.bucketName = bucketName; + this.accessKeyId = accessKeyId; + this.secretAccessKeySecretId = secretAccessKeySecretId; + } + + /** Google Cloud Storage bucket name. */ + @com.fasterxml.jackson.annotation.JsonProperty("bucketName") + private final String bucketName; + + /** + * Google Cloud Storage bucket name. + * + * @return the value + */ + public String getBucketName() { + return bucketName; + } + + /** GCS HMAC access-key ID. */ + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") + private final String accessKeyId; + + /** + * GCS HMAC access-key ID. + * + * @return the value + */ + public String getAccessKeyId() { + return accessKeyId; + } + + /** + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OCI Vault + * secret that contains the GCS HMAC secret access key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + private final String secretAccessKeySecretId; + + /** + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OCI Vault + * secret that contains the GCS HMAC secret access key. + * + * @return the value + */ + public String getSecretAccessKeySecretId() { + return secretAccessKeySecretId; + } + + @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("OracleGcsDataTransferMediumDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", bucketName=").append(String.valueOf(this.bucketName)); + sb.append(", accessKeyId=").append(String.valueOf(this.accessKeyId)); + sb.append(", secretAccessKeySecretId=") + .append(String.valueOf(this.secretAccessKeySecretId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof OracleGcsDataTransferMediumDetails)) { + return false; + } + + OracleGcsDataTransferMediumDetails other = (OracleGcsDataTransferMediumDetails) o; + return java.util.Objects.equals(this.bucketName, other.bucketName) + && java.util.Objects.equals(this.accessKeyId, other.accessKeyId) + && java.util.Objects.equals( + this.secretAccessKeySecretId, other.secretAccessKeySecretId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.bucketName == null ? 43 : this.bucketName.hashCode()); + result = (result * PRIME) + (this.accessKeyId == null ? 43 : this.accessKeyId.hashCode()); + result = + (result * PRIME) + + (this.secretAccessKeySecretId == null + ? 43 + : this.secretAccessKeySecretId.hashCode()); + return result; + } +} diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleMigration.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleMigration.java index 6c81b040d1b..c89b683fba3 100644 --- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleMigration.java +++ b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleMigration.java @@ -5,8 +5,7 @@ package com.oracle.bmc.databasemigration.model; /** - * Oracle Migration resource. Deprecated: The parent-level Oracle migration configuration properties - * on this model are deprecated. Use {@code migrationSettings} instead.
+ * Oracle Migration resource
* 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 @@ -190,15 +189,6 @@ public Builder systemTags(java.util.Map> s return this; } - @com.fasterxml.jackson.annotation.JsonProperty("migrationSettings") - private OracleMigrationSettings migrationSettings; - - public Builder migrationSettings(OracleMigrationSettings migrationSettings) { - this.migrationSettings = migrationSettings; - this.__explicitlySet__.add("migrationSettings"); - return this; - } - @com.fasterxml.jackson.annotation.JsonProperty("dataTransferMediumDetails") private OracleDataTransferMediumDetails dataTransferMediumDetails; @@ -316,7 +306,6 @@ public OracleMigration build() { this.freeformTags, this.definedTags, this.systemTags, - this.migrationSettings, this.dataTransferMediumDetails, this.initialLoadSettings, this.advisorSettings, @@ -387,9 +376,6 @@ public Builder copy(OracleMigration model) { if (model.wasPropertyExplicitlySet("systemTags")) { this.systemTags(model.getSystemTags()); } - if (model.wasPropertyExplicitlySet("migrationSettings")) { - this.migrationSettings(model.getMigrationSettings()); - } if (model.wasPropertyExplicitlySet("dataTransferMediumDetails")) { this.dataTransferMediumDetails(model.getDataTransferMediumDetails()); } @@ -449,7 +435,6 @@ public OracleMigration( java.util.Map freeformTags, java.util.Map> definedTags, java.util.Map> systemTags, - OracleMigrationSettings migrationSettings, OracleDataTransferMediumDetails dataTransferMediumDetails, OracleInitialLoadSettings initialLoadSettings, OracleAdvisorSettings advisorSettings, @@ -477,7 +462,6 @@ public OracleMigration( freeformTags, definedTags, systemTags); - this.migrationSettings = migrationSettings; this.dataTransferMediumDetails = dataTransferMediumDetails; this.initialLoadSettings = initialLoadSettings; this.advisorSettings = advisorSettings; @@ -488,13 +472,6 @@ public OracleMigration( this.advancedParameters = advancedParameters; } - @com.fasterxml.jackson.annotation.JsonProperty("migrationSettings") - private final OracleMigrationSettings migrationSettings; - - public OracleMigrationSettings getMigrationSettings() { - return migrationSettings; - } - @com.fasterxml.jackson.annotation.JsonProperty("dataTransferMediumDetails") private final OracleDataTransferMediumDetails dataTransferMediumDetails; @@ -584,7 +561,6 @@ public String toString(boolean includeByteArrayContents) { java.lang.StringBuilder sb = new java.lang.StringBuilder(); sb.append("OracleMigration("); sb.append("super=").append(super.toString(includeByteArrayContents)); - sb.append(", migrationSettings=").append(String.valueOf(this.migrationSettings)); sb.append(", dataTransferMediumDetails=") .append(String.valueOf(this.dataTransferMediumDetails)); sb.append(", initialLoadSettings=").append(String.valueOf(this.initialLoadSettings)); @@ -610,8 +586,7 @@ public boolean equals(Object o) { } OracleMigration other = (OracleMigration) o; - return java.util.Objects.equals(this.migrationSettings, other.migrationSettings) - && java.util.Objects.equals( + return java.util.Objects.equals( this.dataTransferMediumDetails, other.dataTransferMediumDetails) && java.util.Objects.equals(this.initialLoadSettings, other.initialLoadSettings) && java.util.Objects.equals(this.advisorSettings, other.advisorSettings) @@ -631,9 +606,6 @@ public boolean equals(Object o) { public int hashCode() { final int PRIME = 59; int result = super.hashCode(); - result = - (result * PRIME) - + (this.migrationSettings == null ? 43 : this.migrationSettings.hashCode()); result = (result * PRIME) + (this.dataTransferMediumDetails == null diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleMigrationSummary.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleMigrationSummary.java index 85bf92f58be..2a7ad4d5246 100644 --- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleMigrationSummary.java +++ b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleMigrationSummary.java @@ -5,8 +5,7 @@ package com.oracle.bmc.databasemigration.model; /** - * Oracle Migration Summary. Deprecated: The parent-level Oracle migration configuration properties - * on this model are deprecated. Use {@code migrationSettings} instead.
+ * Oracle Migration Summary
* 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 @@ -172,15 +171,6 @@ public Builder systemTags(java.util.Map> s this.__explicitlySet__.add("systemTags"); return this; } - - @com.fasterxml.jackson.annotation.JsonProperty("migrationSettings") - private OracleMigrationSettingsSummary migrationSettings; - - public Builder migrationSettings(OracleMigrationSettingsSummary migrationSettings) { - this.migrationSettings = migrationSettings; - this.__explicitlySet__.add("migrationSettings"); - return this; - } /** The OCID of the resource being referenced. */ @com.fasterxml.jackson.annotation.JsonProperty("sourceContainerDatabaseConnectionId") private String sourceContainerDatabaseConnectionId; @@ -235,7 +225,6 @@ public OracleMigrationSummary build() { this.freeformTags, this.definedTags, this.systemTags, - this.migrationSettings, this.sourceContainerDatabaseConnectionId, this.sourceStandbyDatabaseConnectionId); for (String explicitlySetProperty : this.__explicitlySet__) { @@ -294,9 +283,6 @@ public Builder copy(OracleMigrationSummary model) { if (model.wasPropertyExplicitlySet("systemTags")) { this.systemTags(model.getSystemTags()); } - if (model.wasPropertyExplicitlySet("migrationSettings")) { - this.migrationSettings(model.getMigrationSettings()); - } if (model.wasPropertyExplicitlySet("sourceContainerDatabaseConnectionId")) { this.sourceContainerDatabaseConnectionId( model.getSourceContainerDatabaseConnectionId()); @@ -336,7 +322,6 @@ public OracleMigrationSummary( java.util.Map freeformTags, java.util.Map> definedTags, java.util.Map> systemTags, - OracleMigrationSettingsSummary migrationSettings, String sourceContainerDatabaseConnectionId, String sourceStandbyDatabaseConnectionId) { super( @@ -356,18 +341,10 @@ public OracleMigrationSummary( freeformTags, definedTags, systemTags); - this.migrationSettings = migrationSettings; this.sourceContainerDatabaseConnectionId = sourceContainerDatabaseConnectionId; this.sourceStandbyDatabaseConnectionId = sourceStandbyDatabaseConnectionId; } - @com.fasterxml.jackson.annotation.JsonProperty("migrationSettings") - private final OracleMigrationSettingsSummary migrationSettings; - - public OracleMigrationSettingsSummary getMigrationSettings() { - return migrationSettings; - } - /** The OCID of the resource being referenced. */ @com.fasterxml.jackson.annotation.JsonProperty("sourceContainerDatabaseConnectionId") private final String sourceContainerDatabaseConnectionId; @@ -409,7 +386,6 @@ public String toString(boolean includeByteArrayContents) { java.lang.StringBuilder sb = new java.lang.StringBuilder(); sb.append("OracleMigrationSummary("); sb.append("super=").append(super.toString(includeByteArrayContents)); - sb.append(", migrationSettings=").append(String.valueOf(this.migrationSettings)); sb.append(", sourceContainerDatabaseConnectionId=") .append(String.valueOf(this.sourceContainerDatabaseConnectionId)); sb.append(", sourceStandbyDatabaseConnectionId=") @@ -428,8 +404,7 @@ public boolean equals(Object o) { } OracleMigrationSummary other = (OracleMigrationSummary) o; - return java.util.Objects.equals(this.migrationSettings, other.migrationSettings) - && java.util.Objects.equals( + return java.util.Objects.equals( this.sourceContainerDatabaseConnectionId, other.sourceContainerDatabaseConnectionId) && java.util.Objects.equals( @@ -442,9 +417,6 @@ public boolean equals(Object o) { public int hashCode() { final int PRIME = 59; int result = super.hashCode(); - result = - (result * PRIME) - + (this.migrationSettings == null ? 43 : this.migrationSettings.hashCode()); result = (result * PRIME) + (this.sourceContainerDatabaseConnectionId == null diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleOfflineLogicalMigrationSettings.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleOfflineLogicalMigrationSettings.java deleted file mode 100644 index c94bf697ad6..00000000000 --- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleOfflineLogicalMigrationSettings.java +++ /dev/null @@ -1,231 +0,0 @@ -/** - * Copyright (c) 2016, 2026, 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.databasemigration.model; - -/** - * Oracle offline logical migration settings.
- * 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: 20230518") -@com.fasterxml.jackson.databind.annotation.JsonDeserialize( - builder = OracleOfflineLogicalMigrationSettings.Builder.class) -@com.fasterxml.jackson.annotation.JsonTypeInfo( - use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, - include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, - property = "migrationMethod") -@com.fasterxml.jackson.annotation.JsonFilter( - com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) -public final class OracleOfflineLogicalMigrationSettings extends OracleMigrationSettings { - @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") - public static class Builder { - - @com.fasterxml.jackson.annotation.JsonProperty("dataTransferMediumDetails") - private OracleDataTransferMediumDetails dataTransferMediumDetails; - - public Builder dataTransferMediumDetails( - OracleDataTransferMediumDetails dataTransferMediumDetails) { - this.dataTransferMediumDetails = dataTransferMediumDetails; - this.__explicitlySet__.add("dataTransferMediumDetails"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonProperty("initialLoadSettings") - private OracleInitialLoadSettings initialLoadSettings; - - public Builder initialLoadSettings(OracleInitialLoadSettings initialLoadSettings) { - this.initialLoadSettings = initialLoadSettings; - this.__explicitlySet__.add("initialLoadSettings"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonProperty("advisorSettings") - private OracleAdvisorSettings advisorSettings; - - public Builder advisorSettings(OracleAdvisorSettings advisorSettings) { - this.advisorSettings = advisorSettings; - this.__explicitlySet__.add("advisorSettings"); - return this; - } - /** List of Migration Parameter objects. */ - @com.fasterxml.jackson.annotation.JsonProperty("advancedParameters") - private java.util.List advancedParameters; - - /** - * List of Migration Parameter objects. - * - * @param advancedParameters the value to set - * @return this builder - */ - public Builder advancedParameters( - java.util.List advancedParameters) { - this.advancedParameters = advancedParameters; - this.__explicitlySet__.add("advancedParameters"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonIgnore - private final java.util.Set __explicitlySet__ = new java.util.HashSet(); - - public OracleOfflineLogicalMigrationSettings build() { - OracleOfflineLogicalMigrationSettings model = - new OracleOfflineLogicalMigrationSettings( - this.dataTransferMediumDetails, - this.initialLoadSettings, - this.advisorSettings, - this.advancedParameters); - for (String explicitlySetProperty : this.__explicitlySet__) { - model.markPropertyAsExplicitlySet(explicitlySetProperty); - } - return model; - } - - @com.fasterxml.jackson.annotation.JsonIgnore - public Builder copy(OracleOfflineLogicalMigrationSettings model) { - if (model.wasPropertyExplicitlySet("dataTransferMediumDetails")) { - this.dataTransferMediumDetails(model.getDataTransferMediumDetails()); - } - if (model.wasPropertyExplicitlySet("initialLoadSettings")) { - this.initialLoadSettings(model.getInitialLoadSettings()); - } - if (model.wasPropertyExplicitlySet("advisorSettings")) { - this.advisorSettings(model.getAdvisorSettings()); - } - if (model.wasPropertyExplicitlySet("advancedParameters")) { - this.advancedParameters(model.getAdvancedParameters()); - } - return this; - } - } - - /** Create a new builder. */ - public static Builder builder() { - return new Builder(); - } - - public Builder toBuilder() { - return new Builder().copy(this); - } - - @Deprecated - public OracleOfflineLogicalMigrationSettings( - OracleDataTransferMediumDetails dataTransferMediumDetails, - OracleInitialLoadSettings initialLoadSettings, - OracleAdvisorSettings advisorSettings, - java.util.List advancedParameters) { - super(); - this.dataTransferMediumDetails = dataTransferMediumDetails; - this.initialLoadSettings = initialLoadSettings; - this.advisorSettings = advisorSettings; - this.advancedParameters = advancedParameters; - } - - @com.fasterxml.jackson.annotation.JsonProperty("dataTransferMediumDetails") - private final OracleDataTransferMediumDetails dataTransferMediumDetails; - - public OracleDataTransferMediumDetails getDataTransferMediumDetails() { - return dataTransferMediumDetails; - } - - @com.fasterxml.jackson.annotation.JsonProperty("initialLoadSettings") - private final OracleInitialLoadSettings initialLoadSettings; - - public OracleInitialLoadSettings getInitialLoadSettings() { - return initialLoadSettings; - } - - @com.fasterxml.jackson.annotation.JsonProperty("advisorSettings") - private final OracleAdvisorSettings advisorSettings; - - public OracleAdvisorSettings getAdvisorSettings() { - return advisorSettings; - } - - /** List of Migration Parameter objects. */ - @com.fasterxml.jackson.annotation.JsonProperty("advancedParameters") - private final java.util.List advancedParameters; - - /** - * List of Migration Parameter objects. - * - * @return the value - */ - public java.util.List getAdvancedParameters() { - return advancedParameters; - } - - @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("OracleOfflineLogicalMigrationSettings("); - sb.append("super=").append(super.toString(includeByteArrayContents)); - sb.append(", dataTransferMediumDetails=") - .append(String.valueOf(this.dataTransferMediumDetails)); - sb.append(", initialLoadSettings=").append(String.valueOf(this.initialLoadSettings)); - sb.append(", advisorSettings=").append(String.valueOf(this.advisorSettings)); - sb.append(", advancedParameters=").append(String.valueOf(this.advancedParameters)); - sb.append(")"); - return sb.toString(); - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (!(o instanceof OracleOfflineLogicalMigrationSettings)) { - return false; - } - - OracleOfflineLogicalMigrationSettings other = (OracleOfflineLogicalMigrationSettings) o; - return java.util.Objects.equals( - this.dataTransferMediumDetails, other.dataTransferMediumDetails) - && java.util.Objects.equals(this.initialLoadSettings, other.initialLoadSettings) - && java.util.Objects.equals(this.advisorSettings, other.advisorSettings) - && java.util.Objects.equals(this.advancedParameters, other.advancedParameters) - && super.equals(other); - } - - @Override - public int hashCode() { - final int PRIME = 59; - int result = super.hashCode(); - result = - (result * PRIME) - + (this.dataTransferMediumDetails == null - ? 43 - : this.dataTransferMediumDetails.hashCode()); - result = - (result * PRIME) - + (this.initialLoadSettings == null - ? 43 - : this.initialLoadSettings.hashCode()); - result = - (result * PRIME) - + (this.advisorSettings == null ? 43 : this.advisorSettings.hashCode()); - result = - (result * PRIME) - + (this.advancedParameters == null - ? 43 - : this.advancedParameters.hashCode()); - return result; - } -} diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleOnlineLogicalMigrationSettings.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleOnlineLogicalMigrationSettings.java deleted file mode 100644 index b6c61832751..00000000000 --- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleOnlineLogicalMigrationSettings.java +++ /dev/null @@ -1,327 +0,0 @@ -/** - * Copyright (c) 2016, 2026, 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.databasemigration.model; - -/** - * Oracle online logical migration settings.
- * 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: 20230518") -@com.fasterxml.jackson.databind.annotation.JsonDeserialize( - builder = OracleOnlineLogicalMigrationSettings.Builder.class) -@com.fasterxml.jackson.annotation.JsonTypeInfo( - use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, - include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, - property = "migrationMethod") -@com.fasterxml.jackson.annotation.JsonFilter( - com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) -public final class OracleOnlineLogicalMigrationSettings extends OracleMigrationSettings { - @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") - public static class Builder { - - @com.fasterxml.jackson.annotation.JsonProperty("dataTransferMediumDetails") - private OracleDataTransferMediumDetails dataTransferMediumDetails; - - public Builder dataTransferMediumDetails( - OracleDataTransferMediumDetails dataTransferMediumDetails) { - this.dataTransferMediumDetails = dataTransferMediumDetails; - this.__explicitlySet__.add("dataTransferMediumDetails"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonProperty("initialLoadSettings") - private OracleInitialLoadSettings initialLoadSettings; - - public Builder initialLoadSettings(OracleInitialLoadSettings initialLoadSettings) { - this.initialLoadSettings = initialLoadSettings; - this.__explicitlySet__.add("initialLoadSettings"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonProperty("advisorSettings") - private OracleAdvisorSettings advisorSettings; - - public Builder advisorSettings(OracleAdvisorSettings advisorSettings) { - this.advisorSettings = advisorSettings; - this.__explicitlySet__.add("advisorSettings"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonProperty("hubDetails") - private GoldenGateHubDetails hubDetails; - - public Builder hubDetails(GoldenGateHubDetails hubDetails) { - this.hubDetails = hubDetails; - this.__explicitlySet__.add("hubDetails"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonProperty("ggsDetails") - private OracleGgsDeploymentDetails ggsDetails; - - public Builder ggsDetails(OracleGgsDeploymentDetails ggsDetails) { - this.ggsDetails = ggsDetails; - this.__explicitlySet__.add("ggsDetails"); - return this; - } - /** The OCID of the resource being referenced. */ - @com.fasterxml.jackson.annotation.JsonProperty("sourceContainerDatabaseConnectionId") - private String sourceContainerDatabaseConnectionId; - - /** - * The OCID of the resource being referenced. - * - * @param sourceContainerDatabaseConnectionId the value to set - * @return this builder - */ - public Builder sourceContainerDatabaseConnectionId( - String sourceContainerDatabaseConnectionId) { - this.sourceContainerDatabaseConnectionId = sourceContainerDatabaseConnectionId; - this.__explicitlySet__.add("sourceContainerDatabaseConnectionId"); - return this; - } - /** List of Migration Parameter objects. */ - @com.fasterxml.jackson.annotation.JsonProperty("advancedParameters") - private java.util.List advancedParameters; - - /** - * List of Migration Parameter objects. - * - * @param advancedParameters the value to set - * @return this builder - */ - public Builder advancedParameters( - java.util.List advancedParameters) { - this.advancedParameters = advancedParameters; - this.__explicitlySet__.add("advancedParameters"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonIgnore - private final java.util.Set __explicitlySet__ = new java.util.HashSet(); - - public OracleOnlineLogicalMigrationSettings build() { - OracleOnlineLogicalMigrationSettings model = - new OracleOnlineLogicalMigrationSettings( - this.dataTransferMediumDetails, - this.initialLoadSettings, - this.advisorSettings, - this.hubDetails, - this.ggsDetails, - this.sourceContainerDatabaseConnectionId, - this.advancedParameters); - for (String explicitlySetProperty : this.__explicitlySet__) { - model.markPropertyAsExplicitlySet(explicitlySetProperty); - } - return model; - } - - @com.fasterxml.jackson.annotation.JsonIgnore - public Builder copy(OracleOnlineLogicalMigrationSettings model) { - if (model.wasPropertyExplicitlySet("dataTransferMediumDetails")) { - this.dataTransferMediumDetails(model.getDataTransferMediumDetails()); - } - if (model.wasPropertyExplicitlySet("initialLoadSettings")) { - this.initialLoadSettings(model.getInitialLoadSettings()); - } - if (model.wasPropertyExplicitlySet("advisorSettings")) { - this.advisorSettings(model.getAdvisorSettings()); - } - if (model.wasPropertyExplicitlySet("hubDetails")) { - this.hubDetails(model.getHubDetails()); - } - if (model.wasPropertyExplicitlySet("ggsDetails")) { - this.ggsDetails(model.getGgsDetails()); - } - if (model.wasPropertyExplicitlySet("sourceContainerDatabaseConnectionId")) { - this.sourceContainerDatabaseConnectionId( - model.getSourceContainerDatabaseConnectionId()); - } - if (model.wasPropertyExplicitlySet("advancedParameters")) { - this.advancedParameters(model.getAdvancedParameters()); - } - return this; - } - } - - /** Create a new builder. */ - public static Builder builder() { - return new Builder(); - } - - public Builder toBuilder() { - return new Builder().copy(this); - } - - @Deprecated - public OracleOnlineLogicalMigrationSettings( - OracleDataTransferMediumDetails dataTransferMediumDetails, - OracleInitialLoadSettings initialLoadSettings, - OracleAdvisorSettings advisorSettings, - GoldenGateHubDetails hubDetails, - OracleGgsDeploymentDetails ggsDetails, - String sourceContainerDatabaseConnectionId, - java.util.List advancedParameters) { - super(); - this.dataTransferMediumDetails = dataTransferMediumDetails; - this.initialLoadSettings = initialLoadSettings; - this.advisorSettings = advisorSettings; - this.hubDetails = hubDetails; - this.ggsDetails = ggsDetails; - this.sourceContainerDatabaseConnectionId = sourceContainerDatabaseConnectionId; - this.advancedParameters = advancedParameters; - } - - @com.fasterxml.jackson.annotation.JsonProperty("dataTransferMediumDetails") - private final OracleDataTransferMediumDetails dataTransferMediumDetails; - - public OracleDataTransferMediumDetails getDataTransferMediumDetails() { - return dataTransferMediumDetails; - } - - @com.fasterxml.jackson.annotation.JsonProperty("initialLoadSettings") - private final OracleInitialLoadSettings initialLoadSettings; - - public OracleInitialLoadSettings getInitialLoadSettings() { - return initialLoadSettings; - } - - @com.fasterxml.jackson.annotation.JsonProperty("advisorSettings") - private final OracleAdvisorSettings advisorSettings; - - public OracleAdvisorSettings getAdvisorSettings() { - return advisorSettings; - } - - @com.fasterxml.jackson.annotation.JsonProperty("hubDetails") - private final GoldenGateHubDetails hubDetails; - - public GoldenGateHubDetails getHubDetails() { - return hubDetails; - } - - @com.fasterxml.jackson.annotation.JsonProperty("ggsDetails") - private final OracleGgsDeploymentDetails ggsDetails; - - public OracleGgsDeploymentDetails getGgsDetails() { - return ggsDetails; - } - - /** The OCID of the resource being referenced. */ - @com.fasterxml.jackson.annotation.JsonProperty("sourceContainerDatabaseConnectionId") - private final String sourceContainerDatabaseConnectionId; - - /** - * The OCID of the resource being referenced. - * - * @return the value - */ - public String getSourceContainerDatabaseConnectionId() { - return sourceContainerDatabaseConnectionId; - } - - /** List of Migration Parameter objects. */ - @com.fasterxml.jackson.annotation.JsonProperty("advancedParameters") - private final java.util.List advancedParameters; - - /** - * List of Migration Parameter objects. - * - * @return the value - */ - public java.util.List getAdvancedParameters() { - return advancedParameters; - } - - @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("OracleOnlineLogicalMigrationSettings("); - sb.append("super=").append(super.toString(includeByteArrayContents)); - sb.append(", dataTransferMediumDetails=") - .append(String.valueOf(this.dataTransferMediumDetails)); - sb.append(", initialLoadSettings=").append(String.valueOf(this.initialLoadSettings)); - sb.append(", advisorSettings=").append(String.valueOf(this.advisorSettings)); - sb.append(", hubDetails=").append(String.valueOf(this.hubDetails)); - sb.append(", ggsDetails=").append(String.valueOf(this.ggsDetails)); - sb.append(", sourceContainerDatabaseConnectionId=") - .append(String.valueOf(this.sourceContainerDatabaseConnectionId)); - sb.append(", advancedParameters=").append(String.valueOf(this.advancedParameters)); - sb.append(")"); - return sb.toString(); - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (!(o instanceof OracleOnlineLogicalMigrationSettings)) { - return false; - } - - OracleOnlineLogicalMigrationSettings other = (OracleOnlineLogicalMigrationSettings) o; - return java.util.Objects.equals( - this.dataTransferMediumDetails, other.dataTransferMediumDetails) - && java.util.Objects.equals(this.initialLoadSettings, other.initialLoadSettings) - && java.util.Objects.equals(this.advisorSettings, other.advisorSettings) - && java.util.Objects.equals(this.hubDetails, other.hubDetails) - && java.util.Objects.equals(this.ggsDetails, other.ggsDetails) - && java.util.Objects.equals( - this.sourceContainerDatabaseConnectionId, - other.sourceContainerDatabaseConnectionId) - && java.util.Objects.equals(this.advancedParameters, other.advancedParameters) - && super.equals(other); - } - - @Override - public int hashCode() { - final int PRIME = 59; - int result = super.hashCode(); - result = - (result * PRIME) - + (this.dataTransferMediumDetails == null - ? 43 - : this.dataTransferMediumDetails.hashCode()); - result = - (result * PRIME) - + (this.initialLoadSettings == null - ? 43 - : this.initialLoadSettings.hashCode()); - result = - (result * PRIME) - + (this.advisorSettings == null ? 43 : this.advisorSettings.hashCode()); - result = (result * PRIME) + (this.hubDetails == null ? 43 : this.hubDetails.hashCode()); - result = (result * PRIME) + (this.ggsDetails == null ? 43 : this.ggsDetails.hashCode()); - result = - (result * PRIME) - + (this.sourceContainerDatabaseConnectionId == null - ? 43 - : this.sourceContainerDatabaseConnectionId.hashCode()); - result = - (result * PRIME) - + (this.advancedParameters == null - ? 43 - : this.advancedParameters.hashCode()); - return result; - } -} diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleOnlineStandbyMigrationSettings.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleOnlineStandbyMigrationSettings.java deleted file mode 100644 index ad19ef69dc7..00000000000 --- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleOnlineStandbyMigrationSettings.java +++ /dev/null @@ -1,372 +0,0 @@ -/** - * Copyright (c) 2016, 2026, 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.databasemigration.model; - -/** - * Oracle online standby migration settings.
- * 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: 20230518") -@com.fasterxml.jackson.databind.annotation.JsonDeserialize( - builder = OracleOnlineStandbyMigrationSettings.Builder.class) -@com.fasterxml.jackson.annotation.JsonTypeInfo( - use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, - include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, - property = "migrationMethod") -@com.fasterxml.jackson.annotation.JsonFilter( - com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) -public final class OracleOnlineStandbyMigrationSettings extends OracleMigrationSettings { - @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") - public static class Builder { - - @com.fasterxml.jackson.annotation.JsonProperty("dataTransferMediumDetails") - private OracleDataTransferMediumDetails dataTransferMediumDetails; - - public Builder dataTransferMediumDetails( - OracleDataTransferMediumDetails dataTransferMediumDetails) { - this.dataTransferMediumDetails = dataTransferMediumDetails; - this.__explicitlySet__.add("dataTransferMediumDetails"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonProperty("initialLoadSettings") - private OracleInitialLoadSettings initialLoadSettings; - - public Builder initialLoadSettings(OracleInitialLoadSettings initialLoadSettings) { - this.initialLoadSettings = initialLoadSettings; - this.__explicitlySet__.add("initialLoadSettings"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonProperty("advisorSettings") - private OracleAdvisorSettings advisorSettings; - - public Builder advisorSettings(OracleAdvisorSettings advisorSettings) { - this.advisorSettings = advisorSettings; - this.__explicitlySet__.add("advisorSettings"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonProperty("hubDetails") - private GoldenGateHubDetails hubDetails; - - public Builder hubDetails(GoldenGateHubDetails hubDetails) { - this.hubDetails = hubDetails; - this.__explicitlySet__.add("hubDetails"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonProperty("ggsDetails") - private OracleGgsDeploymentDetails ggsDetails; - - public Builder ggsDetails(OracleGgsDeploymentDetails ggsDetails) { - this.ggsDetails = ggsDetails; - this.__explicitlySet__.add("ggsDetails"); - return this; - } - /** The OCID of the resource being referenced. */ - @com.fasterxml.jackson.annotation.JsonProperty("sourceContainerDatabaseConnectionId") - private String sourceContainerDatabaseConnectionId; - - /** - * The OCID of the resource being referenced. - * - * @param sourceContainerDatabaseConnectionId the value to set - * @return this builder - */ - public Builder sourceContainerDatabaseConnectionId( - String sourceContainerDatabaseConnectionId) { - this.sourceContainerDatabaseConnectionId = sourceContainerDatabaseConnectionId; - this.__explicitlySet__.add("sourceContainerDatabaseConnectionId"); - return this; - } - /** The OCID of the resource being referenced. */ - @com.fasterxml.jackson.annotation.JsonProperty("sourceStandbyDatabaseConnectionId") - private String sourceStandbyDatabaseConnectionId; - - /** - * The OCID of the resource being referenced. - * - * @param sourceStandbyDatabaseConnectionId the value to set - * @return this builder - */ - public Builder sourceStandbyDatabaseConnectionId(String sourceStandbyDatabaseConnectionId) { - this.sourceStandbyDatabaseConnectionId = sourceStandbyDatabaseConnectionId; - this.__explicitlySet__.add("sourceStandbyDatabaseConnectionId"); - return this; - } - /** List of Migration Parameter objects. */ - @com.fasterxml.jackson.annotation.JsonProperty("advancedParameters") - private java.util.List advancedParameters; - - /** - * List of Migration Parameter objects. - * - * @param advancedParameters the value to set - * @return this builder - */ - public Builder advancedParameters( - java.util.List advancedParameters) { - this.advancedParameters = advancedParameters; - this.__explicitlySet__.add("advancedParameters"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonIgnore - private final java.util.Set __explicitlySet__ = new java.util.HashSet(); - - public OracleOnlineStandbyMigrationSettings build() { - OracleOnlineStandbyMigrationSettings model = - new OracleOnlineStandbyMigrationSettings( - this.dataTransferMediumDetails, - this.initialLoadSettings, - this.advisorSettings, - this.hubDetails, - this.ggsDetails, - this.sourceContainerDatabaseConnectionId, - this.sourceStandbyDatabaseConnectionId, - this.advancedParameters); - for (String explicitlySetProperty : this.__explicitlySet__) { - model.markPropertyAsExplicitlySet(explicitlySetProperty); - } - return model; - } - - @com.fasterxml.jackson.annotation.JsonIgnore - public Builder copy(OracleOnlineStandbyMigrationSettings model) { - if (model.wasPropertyExplicitlySet("dataTransferMediumDetails")) { - this.dataTransferMediumDetails(model.getDataTransferMediumDetails()); - } - if (model.wasPropertyExplicitlySet("initialLoadSettings")) { - this.initialLoadSettings(model.getInitialLoadSettings()); - } - if (model.wasPropertyExplicitlySet("advisorSettings")) { - this.advisorSettings(model.getAdvisorSettings()); - } - if (model.wasPropertyExplicitlySet("hubDetails")) { - this.hubDetails(model.getHubDetails()); - } - if (model.wasPropertyExplicitlySet("ggsDetails")) { - this.ggsDetails(model.getGgsDetails()); - } - if (model.wasPropertyExplicitlySet("sourceContainerDatabaseConnectionId")) { - this.sourceContainerDatabaseConnectionId( - model.getSourceContainerDatabaseConnectionId()); - } - if (model.wasPropertyExplicitlySet("sourceStandbyDatabaseConnectionId")) { - this.sourceStandbyDatabaseConnectionId( - model.getSourceStandbyDatabaseConnectionId()); - } - if (model.wasPropertyExplicitlySet("advancedParameters")) { - this.advancedParameters(model.getAdvancedParameters()); - } - return this; - } - } - - /** Create a new builder. */ - public static Builder builder() { - return new Builder(); - } - - public Builder toBuilder() { - return new Builder().copy(this); - } - - @Deprecated - public OracleOnlineStandbyMigrationSettings( - OracleDataTransferMediumDetails dataTransferMediumDetails, - OracleInitialLoadSettings initialLoadSettings, - OracleAdvisorSettings advisorSettings, - GoldenGateHubDetails hubDetails, - OracleGgsDeploymentDetails ggsDetails, - String sourceContainerDatabaseConnectionId, - String sourceStandbyDatabaseConnectionId, - java.util.List advancedParameters) { - super(); - this.dataTransferMediumDetails = dataTransferMediumDetails; - this.initialLoadSettings = initialLoadSettings; - this.advisorSettings = advisorSettings; - this.hubDetails = hubDetails; - this.ggsDetails = ggsDetails; - this.sourceContainerDatabaseConnectionId = sourceContainerDatabaseConnectionId; - this.sourceStandbyDatabaseConnectionId = sourceStandbyDatabaseConnectionId; - this.advancedParameters = advancedParameters; - } - - @com.fasterxml.jackson.annotation.JsonProperty("dataTransferMediumDetails") - private final OracleDataTransferMediumDetails dataTransferMediumDetails; - - public OracleDataTransferMediumDetails getDataTransferMediumDetails() { - return dataTransferMediumDetails; - } - - @com.fasterxml.jackson.annotation.JsonProperty("initialLoadSettings") - private final OracleInitialLoadSettings initialLoadSettings; - - public OracleInitialLoadSettings getInitialLoadSettings() { - return initialLoadSettings; - } - - @com.fasterxml.jackson.annotation.JsonProperty("advisorSettings") - private final OracleAdvisorSettings advisorSettings; - - public OracleAdvisorSettings getAdvisorSettings() { - return advisorSettings; - } - - @com.fasterxml.jackson.annotation.JsonProperty("hubDetails") - private final GoldenGateHubDetails hubDetails; - - public GoldenGateHubDetails getHubDetails() { - return hubDetails; - } - - @com.fasterxml.jackson.annotation.JsonProperty("ggsDetails") - private final OracleGgsDeploymentDetails ggsDetails; - - public OracleGgsDeploymentDetails getGgsDetails() { - return ggsDetails; - } - - /** The OCID of the resource being referenced. */ - @com.fasterxml.jackson.annotation.JsonProperty("sourceContainerDatabaseConnectionId") - private final String sourceContainerDatabaseConnectionId; - - /** - * The OCID of the resource being referenced. - * - * @return the value - */ - public String getSourceContainerDatabaseConnectionId() { - return sourceContainerDatabaseConnectionId; - } - - /** The OCID of the resource being referenced. */ - @com.fasterxml.jackson.annotation.JsonProperty("sourceStandbyDatabaseConnectionId") - private final String sourceStandbyDatabaseConnectionId; - - /** - * The OCID of the resource being referenced. - * - * @return the value - */ - public String getSourceStandbyDatabaseConnectionId() { - return sourceStandbyDatabaseConnectionId; - } - - /** List of Migration Parameter objects. */ - @com.fasterxml.jackson.annotation.JsonProperty("advancedParameters") - private final java.util.List advancedParameters; - - /** - * List of Migration Parameter objects. - * - * @return the value - */ - public java.util.List getAdvancedParameters() { - return advancedParameters; - } - - @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("OracleOnlineStandbyMigrationSettings("); - sb.append("super=").append(super.toString(includeByteArrayContents)); - sb.append(", dataTransferMediumDetails=") - .append(String.valueOf(this.dataTransferMediumDetails)); - sb.append(", initialLoadSettings=").append(String.valueOf(this.initialLoadSettings)); - sb.append(", advisorSettings=").append(String.valueOf(this.advisorSettings)); - sb.append(", hubDetails=").append(String.valueOf(this.hubDetails)); - sb.append(", ggsDetails=").append(String.valueOf(this.ggsDetails)); - sb.append(", sourceContainerDatabaseConnectionId=") - .append(String.valueOf(this.sourceContainerDatabaseConnectionId)); - sb.append(", sourceStandbyDatabaseConnectionId=") - .append(String.valueOf(this.sourceStandbyDatabaseConnectionId)); - sb.append(", advancedParameters=").append(String.valueOf(this.advancedParameters)); - sb.append(")"); - return sb.toString(); - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (!(o instanceof OracleOnlineStandbyMigrationSettings)) { - return false; - } - - OracleOnlineStandbyMigrationSettings other = (OracleOnlineStandbyMigrationSettings) o; - return java.util.Objects.equals( - this.dataTransferMediumDetails, other.dataTransferMediumDetails) - && java.util.Objects.equals(this.initialLoadSettings, other.initialLoadSettings) - && java.util.Objects.equals(this.advisorSettings, other.advisorSettings) - && java.util.Objects.equals(this.hubDetails, other.hubDetails) - && java.util.Objects.equals(this.ggsDetails, other.ggsDetails) - && java.util.Objects.equals( - this.sourceContainerDatabaseConnectionId, - other.sourceContainerDatabaseConnectionId) - && java.util.Objects.equals( - this.sourceStandbyDatabaseConnectionId, - other.sourceStandbyDatabaseConnectionId) - && java.util.Objects.equals(this.advancedParameters, other.advancedParameters) - && super.equals(other); - } - - @Override - public int hashCode() { - final int PRIME = 59; - int result = super.hashCode(); - result = - (result * PRIME) - + (this.dataTransferMediumDetails == null - ? 43 - : this.dataTransferMediumDetails.hashCode()); - result = - (result * PRIME) - + (this.initialLoadSettings == null - ? 43 - : this.initialLoadSettings.hashCode()); - result = - (result * PRIME) - + (this.advisorSettings == null ? 43 : this.advisorSettings.hashCode()); - result = (result * PRIME) + (this.hubDetails == null ? 43 : this.hubDetails.hashCode()); - result = (result * PRIME) + (this.ggsDetails == null ? 43 : this.ggsDetails.hashCode()); - result = - (result * PRIME) - + (this.sourceContainerDatabaseConnectionId == null - ? 43 - : this.sourceContainerDatabaseConnectionId.hashCode()); - result = - (result * PRIME) - + (this.sourceStandbyDatabaseConnectionId == null - ? 43 - : this.sourceStandbyDatabaseConnectionId.hashCode()); - result = - (result * PRIME) - + (this.advancedParameters == null - ? 43 - : this.advancedParameters.hashCode()); - return result; - } -} diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleOnlineStandbyMigrationSettingsSummary.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleOnlineStandbyMigrationSettingsSummary.java deleted file mode 100644 index be46e95e145..00000000000 --- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleOnlineStandbyMigrationSettingsSummary.java +++ /dev/null @@ -1,193 +0,0 @@ -/** - * Copyright (c) 2016, 2026, 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.databasemigration.model; - -/** - * Oracle online standby migration summary settings.
- * 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: 20230518") -@com.fasterxml.jackson.databind.annotation.JsonDeserialize( - builder = OracleOnlineStandbyMigrationSettingsSummary.Builder.class) -@com.fasterxml.jackson.annotation.JsonTypeInfo( - use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, - include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, - property = "migrationMethod") -@com.fasterxml.jackson.annotation.JsonFilter( - com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) -public final class OracleOnlineStandbyMigrationSettingsSummary - extends OracleMigrationSettingsSummary { - @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") - public static class Builder { - /** The OCID of the resource being referenced. */ - @com.fasterxml.jackson.annotation.JsonProperty("sourceContainerDatabaseConnectionId") - private String sourceContainerDatabaseConnectionId; - - /** - * The OCID of the resource being referenced. - * - * @param sourceContainerDatabaseConnectionId the value to set - * @return this builder - */ - public Builder sourceContainerDatabaseConnectionId( - String sourceContainerDatabaseConnectionId) { - this.sourceContainerDatabaseConnectionId = sourceContainerDatabaseConnectionId; - this.__explicitlySet__.add("sourceContainerDatabaseConnectionId"); - return this; - } - /** The OCID of the resource being referenced. */ - @com.fasterxml.jackson.annotation.JsonProperty("sourceStandbyDatabaseConnectionId") - private String sourceStandbyDatabaseConnectionId; - - /** - * The OCID of the resource being referenced. - * - * @param sourceStandbyDatabaseConnectionId the value to set - * @return this builder - */ - public Builder sourceStandbyDatabaseConnectionId(String sourceStandbyDatabaseConnectionId) { - this.sourceStandbyDatabaseConnectionId = sourceStandbyDatabaseConnectionId; - this.__explicitlySet__.add("sourceStandbyDatabaseConnectionId"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonIgnore - private final java.util.Set __explicitlySet__ = new java.util.HashSet(); - - public OracleOnlineStandbyMigrationSettingsSummary build() { - OracleOnlineStandbyMigrationSettingsSummary model = - new OracleOnlineStandbyMigrationSettingsSummary( - this.sourceContainerDatabaseConnectionId, - this.sourceStandbyDatabaseConnectionId); - for (String explicitlySetProperty : this.__explicitlySet__) { - model.markPropertyAsExplicitlySet(explicitlySetProperty); - } - return model; - } - - @com.fasterxml.jackson.annotation.JsonIgnore - public Builder copy(OracleOnlineStandbyMigrationSettingsSummary model) { - if (model.wasPropertyExplicitlySet("sourceContainerDatabaseConnectionId")) { - this.sourceContainerDatabaseConnectionId( - model.getSourceContainerDatabaseConnectionId()); - } - if (model.wasPropertyExplicitlySet("sourceStandbyDatabaseConnectionId")) { - this.sourceStandbyDatabaseConnectionId( - model.getSourceStandbyDatabaseConnectionId()); - } - return this; - } - } - - /** Create a new builder. */ - public static Builder builder() { - return new Builder(); - } - - public Builder toBuilder() { - return new Builder().copy(this); - } - - @Deprecated - public OracleOnlineStandbyMigrationSettingsSummary( - String sourceContainerDatabaseConnectionId, String sourceStandbyDatabaseConnectionId) { - super(); - this.sourceContainerDatabaseConnectionId = sourceContainerDatabaseConnectionId; - this.sourceStandbyDatabaseConnectionId = sourceStandbyDatabaseConnectionId; - } - - /** The OCID of the resource being referenced. */ - @com.fasterxml.jackson.annotation.JsonProperty("sourceContainerDatabaseConnectionId") - private final String sourceContainerDatabaseConnectionId; - - /** - * The OCID of the resource being referenced. - * - * @return the value - */ - public String getSourceContainerDatabaseConnectionId() { - return sourceContainerDatabaseConnectionId; - } - - /** The OCID of the resource being referenced. */ - @com.fasterxml.jackson.annotation.JsonProperty("sourceStandbyDatabaseConnectionId") - private final String sourceStandbyDatabaseConnectionId; - - /** - * The OCID of the resource being referenced. - * - * @return the value - */ - public String getSourceStandbyDatabaseConnectionId() { - return sourceStandbyDatabaseConnectionId; - } - - @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("OracleOnlineStandbyMigrationSettingsSummary("); - sb.append("super=").append(super.toString(includeByteArrayContents)); - sb.append(", sourceContainerDatabaseConnectionId=") - .append(String.valueOf(this.sourceContainerDatabaseConnectionId)); - sb.append(", sourceStandbyDatabaseConnectionId=") - .append(String.valueOf(this.sourceStandbyDatabaseConnectionId)); - sb.append(")"); - return sb.toString(); - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (!(o instanceof OracleOnlineStandbyMigrationSettingsSummary)) { - return false; - } - - OracleOnlineStandbyMigrationSettingsSummary other = - (OracleOnlineStandbyMigrationSettingsSummary) o; - return java.util.Objects.equals( - this.sourceContainerDatabaseConnectionId, - other.sourceContainerDatabaseConnectionId) - && java.util.Objects.equals( - this.sourceStandbyDatabaseConnectionId, - other.sourceStandbyDatabaseConnectionId) - && super.equals(other); - } - - @Override - public int hashCode() { - final int PRIME = 59; - int result = super.hashCode(); - result = - (result * PRIME) - + (this.sourceContainerDatabaseConnectionId == null - ? 43 - : this.sourceContainerDatabaseConnectionId.hashCode()); - result = - (result * PRIME) - + (this.sourceStandbyDatabaseConnectionId == null - ? 43 - : this.sourceStandbyDatabaseConnectionId.hashCode()); - return result; - } -} diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateOracleAwsS3DataTransferMediumDetails.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateOracleAwsS3DataTransferMediumDetails.java index 6528ad7e118..b6122118b8a 100644 --- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateOracleAwsS3DataTransferMediumDetails.java +++ b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateOracleAwsS3DataTransferMediumDetails.java @@ -5,8 +5,8 @@ package com.oracle.bmc.databasemigration.model; /** - * AWS S3 bucket details used for source Connection resources with RDS_ORACLE type. Only supported - * for source Connection resources with RDS_ORACLE type.
+ * AWS S3 bucket details used to transfer Data Pump dump files for Oracle migrations. Supported for + * source Connection resources with ORACLE_DATABASE, ORACLE_EXADATA, or AMAZON_RDS_ORACLE type.
* 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 diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateOracleAzureBlobDataTransferMediumDetails.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateOracleAzureBlobDataTransferMediumDetails.java new file mode 100644 index 00000000000..803174f792e --- /dev/null +++ b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateOracleAzureBlobDataTransferMediumDetails.java @@ -0,0 +1,232 @@ +/** + * Copyright (c) 2016, 2026, 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.databasemigration.model; + +/** + * Azure Blob Storage details used to transfer Data Pump dump files for Oracle migrations.
+ * 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: 20230518") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = UpdateOracleAzureBlobDataTransferMediumDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "type") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class UpdateOracleAzureBlobDataTransferMediumDetails + extends UpdateOracleDataTransferMediumDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** Azure Storage account name. */ + @com.fasterxml.jackson.annotation.JsonProperty("storageAccountName") + private String storageAccountName; + + /** + * Azure Storage account name. + * + * @param storageAccountName the value to set + * @return this builder + */ + public Builder storageAccountName(String storageAccountName) { + this.storageAccountName = storageAccountName; + this.__explicitlySet__.add("storageAccountName"); + return this; + } + /** Azure Blob container name. */ + @com.fasterxml.jackson.annotation.JsonProperty("containerName") + private String containerName; + + /** + * Azure Blob container name. + * + * @param containerName the value to set + * @return this builder + */ + public Builder containerName(String containerName) { + this.containerName = containerName; + this.__explicitlySet__.add("containerName"); + return this; + } + /** + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OCI + * Vault secret that contains the Azure Storage Account Key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("storageAccountKeySecretId") + private String storageAccountKeySecretId; + + /** + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OCI + * Vault secret that contains the Azure Storage Account Key. + * + * @param storageAccountKeySecretId the value to set + * @return this builder + */ + public Builder storageAccountKeySecretId(String storageAccountKeySecretId) { + this.storageAccountKeySecretId = storageAccountKeySecretId; + this.__explicitlySet__.add("storageAccountKeySecretId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public UpdateOracleAzureBlobDataTransferMediumDetails build() { + UpdateOracleAzureBlobDataTransferMediumDetails model = + new UpdateOracleAzureBlobDataTransferMediumDetails( + this.storageAccountName, + this.containerName, + this.storageAccountKeySecretId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(UpdateOracleAzureBlobDataTransferMediumDetails model) { + if (model.wasPropertyExplicitlySet("storageAccountName")) { + this.storageAccountName(model.getStorageAccountName()); + } + if (model.wasPropertyExplicitlySet("containerName")) { + this.containerName(model.getContainerName()); + } + if (model.wasPropertyExplicitlySet("storageAccountKeySecretId")) { + this.storageAccountKeySecretId(model.getStorageAccountKeySecretId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public UpdateOracleAzureBlobDataTransferMediumDetails( + String storageAccountName, String containerName, String storageAccountKeySecretId) { + super(); + this.storageAccountName = storageAccountName; + this.containerName = containerName; + this.storageAccountKeySecretId = storageAccountKeySecretId; + } + + /** Azure Storage account name. */ + @com.fasterxml.jackson.annotation.JsonProperty("storageAccountName") + private final String storageAccountName; + + /** + * Azure Storage account name. + * + * @return the value + */ + public String getStorageAccountName() { + return storageAccountName; + } + + /** Azure Blob container name. */ + @com.fasterxml.jackson.annotation.JsonProperty("containerName") + private final String containerName; + + /** + * Azure Blob container name. + * + * @return the value + */ + public String getContainerName() { + return containerName; + } + + /** + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OCI Vault + * secret that contains the Azure Storage Account Key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("storageAccountKeySecretId") + private final String storageAccountKeySecretId; + + /** + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OCI Vault + * secret that contains the Azure Storage Account Key. + * + * @return the value + */ + public String getStorageAccountKeySecretId() { + return storageAccountKeySecretId; + } + + @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("UpdateOracleAzureBlobDataTransferMediumDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", storageAccountName=").append(String.valueOf(this.storageAccountName)); + sb.append(", containerName=").append(String.valueOf(this.containerName)); + sb.append(", storageAccountKeySecretId=") + .append(String.valueOf(this.storageAccountKeySecretId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof UpdateOracleAzureBlobDataTransferMediumDetails)) { + return false; + } + + UpdateOracleAzureBlobDataTransferMediumDetails other = + (UpdateOracleAzureBlobDataTransferMediumDetails) o; + return java.util.Objects.equals(this.storageAccountName, other.storageAccountName) + && java.util.Objects.equals(this.containerName, other.containerName) + && java.util.Objects.equals( + this.storageAccountKeySecretId, other.storageAccountKeySecretId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.storageAccountName == null + ? 43 + : this.storageAccountName.hashCode()); + result = + (result * PRIME) + + (this.containerName == null ? 43 : this.containerName.hashCode()); + result = + (result * PRIME) + + (this.storageAccountKeySecretId == null + ? 43 + : this.storageAccountKeySecretId.hashCode()); + return result; + } +} diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateOracleDataTransferMediumDetails.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateOracleDataTransferMediumDetails.java index 4265ac39f30..479abd0cc7d 100644 --- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateOracleDataTransferMediumDetails.java +++ b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateOracleDataTransferMediumDetails.java @@ -22,6 +22,9 @@ property = "type", defaultImpl = UpdateOracleDataTransferMediumDetails.class) @com.fasterxml.jackson.annotation.JsonSubTypes({ + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = UpdateOracleGcsDataTransferMediumDetails.class, + name = "GCS"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = UpdateOracleAwsS3DataTransferMediumDetails.class, name = "AWS_S3"), @@ -31,6 +34,9 @@ @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = UpdateOracleObjectStorageDataTransferMediumDetails.class, name = "OBJECT_STORAGE"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = UpdateOracleAzureBlobDataTransferMediumDetails.class, + name = "AZURE_BLOB"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = UpdateOracleDbLinkDataTransferMediumDetails.class, name = "DBLINK") @@ -90,6 +96,8 @@ public enum Type implements com.oracle.bmc.http.internal.BmcEnum { Dblink("DBLINK"), ObjectStorage("OBJECT_STORAGE"), AwsS3("AWS_S3"), + AzureBlob("AZURE_BLOB"), + Gcs("GCS"), Nfs("NFS"), ; diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateOracleGcsDataTransferMediumDetails.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateOracleGcsDataTransferMediumDetails.java new file mode 100644 index 00000000000..be657c94b6d --- /dev/null +++ b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateOracleGcsDataTransferMediumDetails.java @@ -0,0 +1,224 @@ +/** + * Copyright (c) 2016, 2026, 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.databasemigration.model; + +/** + * Google Cloud Storage details used to transfer Data Pump dump files for Oracle migrations.
+ * 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: 20230518") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = UpdateOracleGcsDataTransferMediumDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "type") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class UpdateOracleGcsDataTransferMediumDetails + extends UpdateOracleDataTransferMediumDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** Google Cloud Storage bucket name. */ + @com.fasterxml.jackson.annotation.JsonProperty("bucketName") + private String bucketName; + + /** + * Google Cloud Storage bucket name. + * + * @param bucketName the value to set + * @return this builder + */ + public Builder bucketName(String bucketName) { + this.bucketName = bucketName; + this.__explicitlySet__.add("bucketName"); + return this; + } + /** GCS HMAC access-key ID. */ + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") + private String accessKeyId; + + /** + * GCS HMAC access-key ID. + * + * @param accessKeyId the value to set + * @return this builder + */ + public Builder accessKeyId(String accessKeyId) { + this.accessKeyId = accessKeyId; + this.__explicitlySet__.add("accessKeyId"); + return this; + } + /** + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OCI + * Vault secret that contains the GCS HMAC secret access key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + private String secretAccessKeySecretId; + + /** + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OCI + * Vault secret that contains the GCS HMAC secret access key. + * + * @param secretAccessKeySecretId the value to set + * @return this builder + */ + public Builder secretAccessKeySecretId(String secretAccessKeySecretId) { + this.secretAccessKeySecretId = secretAccessKeySecretId; + this.__explicitlySet__.add("secretAccessKeySecretId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public UpdateOracleGcsDataTransferMediumDetails build() { + UpdateOracleGcsDataTransferMediumDetails model = + new UpdateOracleGcsDataTransferMediumDetails( + this.bucketName, this.accessKeyId, this.secretAccessKeySecretId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(UpdateOracleGcsDataTransferMediumDetails model) { + if (model.wasPropertyExplicitlySet("bucketName")) { + this.bucketName(model.getBucketName()); + } + if (model.wasPropertyExplicitlySet("accessKeyId")) { + this.accessKeyId(model.getAccessKeyId()); + } + if (model.wasPropertyExplicitlySet("secretAccessKeySecretId")) { + this.secretAccessKeySecretId(model.getSecretAccessKeySecretId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public UpdateOracleGcsDataTransferMediumDetails( + String bucketName, String accessKeyId, String secretAccessKeySecretId) { + super(); + this.bucketName = bucketName; + this.accessKeyId = accessKeyId; + this.secretAccessKeySecretId = secretAccessKeySecretId; + } + + /** Google Cloud Storage bucket name. */ + @com.fasterxml.jackson.annotation.JsonProperty("bucketName") + private final String bucketName; + + /** + * Google Cloud Storage bucket name. + * + * @return the value + */ + public String getBucketName() { + return bucketName; + } + + /** GCS HMAC access-key ID. */ + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") + private final String accessKeyId; + + /** + * GCS HMAC access-key ID. + * + * @return the value + */ + public String getAccessKeyId() { + return accessKeyId; + } + + /** + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OCI Vault + * secret that contains the GCS HMAC secret access key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + private final String secretAccessKeySecretId; + + /** + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OCI Vault + * secret that contains the GCS HMAC secret access key. + * + * @return the value + */ + public String getSecretAccessKeySecretId() { + return secretAccessKeySecretId; + } + + @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("UpdateOracleGcsDataTransferMediumDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", bucketName=").append(String.valueOf(this.bucketName)); + sb.append(", accessKeyId=").append(String.valueOf(this.accessKeyId)); + sb.append(", secretAccessKeySecretId=") + .append(String.valueOf(this.secretAccessKeySecretId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof UpdateOracleGcsDataTransferMediumDetails)) { + return false; + } + + UpdateOracleGcsDataTransferMediumDetails other = + (UpdateOracleGcsDataTransferMediumDetails) o; + return java.util.Objects.equals(this.bucketName, other.bucketName) + && java.util.Objects.equals(this.accessKeyId, other.accessKeyId) + && java.util.Objects.equals( + this.secretAccessKeySecretId, other.secretAccessKeySecretId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.bucketName == null ? 43 : this.bucketName.hashCode()); + result = (result * PRIME) + (this.accessKeyId == null ? 43 : this.accessKeyId.hashCode()); + result = + (result * PRIME) + + (this.secretAccessKeySecretId == null + ? 43 + : this.secretAccessKeySecretId.hashCode()); + return result; + } +} diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateOracleMigrationDetails.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateOracleMigrationDetails.java index 7e843e9cdc9..d917dfbface 100644 --- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateOracleMigrationDetails.java +++ b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateOracleMigrationDetails.java @@ -5,8 +5,7 @@ package com.oracle.bmc.databasemigration.model; /** - * Update Migration resource parameters. Deprecated: The parent-level Oracle migration configuration - * properties on this model are deprecated. Use {@code migrationSettings} instead.
+ * Create Migration resource parameters.
* 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 @@ -92,15 +91,6 @@ public Builder definedTags( return this; } - @com.fasterxml.jackson.annotation.JsonProperty("migrationSettings") - private UpdateOracleMigrationSettings migrationSettings; - - public Builder migrationSettings(UpdateOracleMigrationSettings migrationSettings) { - this.migrationSettings = migrationSettings; - this.__explicitlySet__.add("migrationSettings"); - return this; - } - @com.fasterxml.jackson.annotation.JsonProperty("dataTransferMediumDetails") private UpdateOracleDataTransferMediumDetails dataTransferMediumDetails; @@ -207,7 +197,6 @@ public UpdateOracleMigrationDetails build() { this.targetDatabaseConnectionId, this.freeformTags, this.definedTags, - this.migrationSettings, this.dataTransferMediumDetails, this.initialLoadSettings, this.advisorSettings, @@ -245,9 +234,6 @@ public Builder copy(UpdateOracleMigrationDetails model) { if (model.wasPropertyExplicitlySet("definedTags")) { this.definedTags(model.getDefinedTags()); } - if (model.wasPropertyExplicitlySet("migrationSettings")) { - this.migrationSettings(model.getMigrationSettings()); - } if (model.wasPropertyExplicitlySet("dataTransferMediumDetails")) { this.dataTransferMediumDetails(model.getDataTransferMediumDetails()); } @@ -296,7 +282,6 @@ public UpdateOracleMigrationDetails( String targetDatabaseConnectionId, java.util.Map freeformTags, java.util.Map> definedTags, - UpdateOracleMigrationSettings migrationSettings, UpdateOracleDataTransferMediumDetails dataTransferMediumDetails, UpdateOracleInitialLoadSettings initialLoadSettings, UpdateOracleAdvisorSettings advisorSettings, @@ -313,7 +298,6 @@ public UpdateOracleMigrationDetails( targetDatabaseConnectionId, freeformTags, definedTags); - this.migrationSettings = migrationSettings; this.dataTransferMediumDetails = dataTransferMediumDetails; this.initialLoadSettings = initialLoadSettings; this.advisorSettings = advisorSettings; @@ -324,13 +308,6 @@ public UpdateOracleMigrationDetails( this.sourceStandbyDatabaseConnectionId = sourceStandbyDatabaseConnectionId; } - @com.fasterxml.jackson.annotation.JsonProperty("migrationSettings") - private final UpdateOracleMigrationSettings migrationSettings; - - public UpdateOracleMigrationSettings getMigrationSettings() { - return migrationSettings; - } - @com.fasterxml.jackson.annotation.JsonProperty("dataTransferMediumDetails") private final UpdateOracleDataTransferMediumDetails dataTransferMediumDetails; @@ -420,7 +397,6 @@ public String toString(boolean includeByteArrayContents) { java.lang.StringBuilder sb = new java.lang.StringBuilder(); sb.append("UpdateOracleMigrationDetails("); sb.append("super=").append(super.toString(includeByteArrayContents)); - sb.append(", migrationSettings=").append(String.valueOf(this.migrationSettings)); sb.append(", dataTransferMediumDetails=") .append(String.valueOf(this.dataTransferMediumDetails)); sb.append(", initialLoadSettings=").append(String.valueOf(this.initialLoadSettings)); @@ -446,8 +422,7 @@ public boolean equals(Object o) { } UpdateOracleMigrationDetails other = (UpdateOracleMigrationDetails) o; - return java.util.Objects.equals(this.migrationSettings, other.migrationSettings) - && java.util.Objects.equals( + return java.util.Objects.equals( this.dataTransferMediumDetails, other.dataTransferMediumDetails) && java.util.Objects.equals(this.initialLoadSettings, other.initialLoadSettings) && java.util.Objects.equals(this.advisorSettings, other.advisorSettings) @@ -467,9 +442,6 @@ public boolean equals(Object o) { public int hashCode() { final int PRIME = 59; int result = super.hashCode(); - result = - (result * PRIME) - + (this.migrationSettings == null ? 43 : this.migrationSettings.hashCode()); result = (result * PRIME) + (this.dataTransferMediumDetails == null diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateOracleMigrationSettings.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateOracleMigrationSettings.java deleted file mode 100644 index 2600f1f1e6e..00000000000 --- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateOracleMigrationSettings.java +++ /dev/null @@ -1,84 +0,0 @@ -/** - * Copyright (c) 2016, 2026, 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.databasemigration.model; - -/** - * Discriminator-only base update settings for Oracle migration methods.
- * 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: 20230518") -@com.fasterxml.jackson.annotation.JsonTypeInfo( - use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, - include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, - property = "migrationMethod", - defaultImpl = UpdateOracleMigrationSettings.class) -@com.fasterxml.jackson.annotation.JsonSubTypes({ - @com.fasterxml.jackson.annotation.JsonSubTypes.Type( - value = UpdateOracleOnlineStandbyMigrationSettings.class, - name = "ONLINE_STANDBY"), - @com.fasterxml.jackson.annotation.JsonSubTypes.Type( - value = UpdateOracleOnlineLogicalMigrationSettings.class, - name = "ONLINE_LOGICAL"), - @com.fasterxml.jackson.annotation.JsonSubTypes.Type( - value = UpdateOracleOfflineLogicalMigrationSettings.class, - name = "OFFLINE_LOGICAL") -}) -@com.fasterxml.jackson.annotation.JsonFilter( - com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) -public class UpdateOracleMigrationSettings - extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { - @Deprecated - @java.beans.ConstructorProperties({}) - protected UpdateOracleMigrationSettings() { - super(); - } - - @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("UpdateOracleMigrationSettings("); - sb.append("super=").append(super.toString()); - sb.append(")"); - return sb.toString(); - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (!(o instanceof UpdateOracleMigrationSettings)) { - return false; - } - - UpdateOracleMigrationSettings other = (UpdateOracleMigrationSettings) o; - return super.equals(other); - } - - @Override - public int hashCode() { - final int PRIME = 59; - int result = 1; - result = (result * PRIME) + super.hashCode(); - return result; - } -} diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateOracleOfflineLogicalMigrationSettings.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateOracleOfflineLogicalMigrationSettings.java deleted file mode 100644 index d935e278584..00000000000 --- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateOracleOfflineLogicalMigrationSettings.java +++ /dev/null @@ -1,233 +0,0 @@ -/** - * Copyright (c) 2016, 2026, 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.databasemigration.model; - -/** - * Update settings for an offline logical Oracle migration.
- * 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: 20230518") -@com.fasterxml.jackson.databind.annotation.JsonDeserialize( - builder = UpdateOracleOfflineLogicalMigrationSettings.Builder.class) -@com.fasterxml.jackson.annotation.JsonTypeInfo( - use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, - include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, - property = "migrationMethod") -@com.fasterxml.jackson.annotation.JsonFilter( - com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) -public final class UpdateOracleOfflineLogicalMigrationSettings - extends UpdateOracleMigrationSettings { - @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") - public static class Builder { - - @com.fasterxml.jackson.annotation.JsonProperty("dataTransferMediumDetails") - private UpdateOracleDataTransferMediumDetails dataTransferMediumDetails; - - public Builder dataTransferMediumDetails( - UpdateOracleDataTransferMediumDetails dataTransferMediumDetails) { - this.dataTransferMediumDetails = dataTransferMediumDetails; - this.__explicitlySet__.add("dataTransferMediumDetails"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonProperty("initialLoadSettings") - private UpdateOracleInitialLoadSettings initialLoadSettings; - - public Builder initialLoadSettings(UpdateOracleInitialLoadSettings initialLoadSettings) { - this.initialLoadSettings = initialLoadSettings; - this.__explicitlySet__.add("initialLoadSettings"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonProperty("advisorSettings") - private UpdateOracleAdvisorSettings advisorSettings; - - public Builder advisorSettings(UpdateOracleAdvisorSettings advisorSettings) { - this.advisorSettings = advisorSettings; - this.__explicitlySet__.add("advisorSettings"); - return this; - } - /** List of Migration Parameter objects. */ - @com.fasterxml.jackson.annotation.JsonProperty("advancedParameters") - private java.util.List advancedParameters; - - /** - * List of Migration Parameter objects. - * - * @param advancedParameters the value to set - * @return this builder - */ - public Builder advancedParameters( - java.util.List advancedParameters) { - this.advancedParameters = advancedParameters; - this.__explicitlySet__.add("advancedParameters"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonIgnore - private final java.util.Set __explicitlySet__ = new java.util.HashSet(); - - public UpdateOracleOfflineLogicalMigrationSettings build() { - UpdateOracleOfflineLogicalMigrationSettings model = - new UpdateOracleOfflineLogicalMigrationSettings( - this.dataTransferMediumDetails, - this.initialLoadSettings, - this.advisorSettings, - this.advancedParameters); - for (String explicitlySetProperty : this.__explicitlySet__) { - model.markPropertyAsExplicitlySet(explicitlySetProperty); - } - return model; - } - - @com.fasterxml.jackson.annotation.JsonIgnore - public Builder copy(UpdateOracleOfflineLogicalMigrationSettings model) { - if (model.wasPropertyExplicitlySet("dataTransferMediumDetails")) { - this.dataTransferMediumDetails(model.getDataTransferMediumDetails()); - } - if (model.wasPropertyExplicitlySet("initialLoadSettings")) { - this.initialLoadSettings(model.getInitialLoadSettings()); - } - if (model.wasPropertyExplicitlySet("advisorSettings")) { - this.advisorSettings(model.getAdvisorSettings()); - } - if (model.wasPropertyExplicitlySet("advancedParameters")) { - this.advancedParameters(model.getAdvancedParameters()); - } - return this; - } - } - - /** Create a new builder. */ - public static Builder builder() { - return new Builder(); - } - - public Builder toBuilder() { - return new Builder().copy(this); - } - - @Deprecated - public UpdateOracleOfflineLogicalMigrationSettings( - UpdateOracleDataTransferMediumDetails dataTransferMediumDetails, - UpdateOracleInitialLoadSettings initialLoadSettings, - UpdateOracleAdvisorSettings advisorSettings, - java.util.List advancedParameters) { - super(); - this.dataTransferMediumDetails = dataTransferMediumDetails; - this.initialLoadSettings = initialLoadSettings; - this.advisorSettings = advisorSettings; - this.advancedParameters = advancedParameters; - } - - @com.fasterxml.jackson.annotation.JsonProperty("dataTransferMediumDetails") - private final UpdateOracleDataTransferMediumDetails dataTransferMediumDetails; - - public UpdateOracleDataTransferMediumDetails getDataTransferMediumDetails() { - return dataTransferMediumDetails; - } - - @com.fasterxml.jackson.annotation.JsonProperty("initialLoadSettings") - private final UpdateOracleInitialLoadSettings initialLoadSettings; - - public UpdateOracleInitialLoadSettings getInitialLoadSettings() { - return initialLoadSettings; - } - - @com.fasterxml.jackson.annotation.JsonProperty("advisorSettings") - private final UpdateOracleAdvisorSettings advisorSettings; - - public UpdateOracleAdvisorSettings getAdvisorSettings() { - return advisorSettings; - } - - /** List of Migration Parameter objects. */ - @com.fasterxml.jackson.annotation.JsonProperty("advancedParameters") - private final java.util.List advancedParameters; - - /** - * List of Migration Parameter objects. - * - * @return the value - */ - public java.util.List getAdvancedParameters() { - return advancedParameters; - } - - @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("UpdateOracleOfflineLogicalMigrationSettings("); - sb.append("super=").append(super.toString(includeByteArrayContents)); - sb.append(", dataTransferMediumDetails=") - .append(String.valueOf(this.dataTransferMediumDetails)); - sb.append(", initialLoadSettings=").append(String.valueOf(this.initialLoadSettings)); - sb.append(", advisorSettings=").append(String.valueOf(this.advisorSettings)); - sb.append(", advancedParameters=").append(String.valueOf(this.advancedParameters)); - sb.append(")"); - return sb.toString(); - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (!(o instanceof UpdateOracleOfflineLogicalMigrationSettings)) { - return false; - } - - UpdateOracleOfflineLogicalMigrationSettings other = - (UpdateOracleOfflineLogicalMigrationSettings) o; - return java.util.Objects.equals( - this.dataTransferMediumDetails, other.dataTransferMediumDetails) - && java.util.Objects.equals(this.initialLoadSettings, other.initialLoadSettings) - && java.util.Objects.equals(this.advisorSettings, other.advisorSettings) - && java.util.Objects.equals(this.advancedParameters, other.advancedParameters) - && super.equals(other); - } - - @Override - public int hashCode() { - final int PRIME = 59; - int result = super.hashCode(); - result = - (result * PRIME) - + (this.dataTransferMediumDetails == null - ? 43 - : this.dataTransferMediumDetails.hashCode()); - result = - (result * PRIME) - + (this.initialLoadSettings == null - ? 43 - : this.initialLoadSettings.hashCode()); - result = - (result * PRIME) - + (this.advisorSettings == null ? 43 : this.advisorSettings.hashCode()); - result = - (result * PRIME) - + (this.advancedParameters == null - ? 43 - : this.advancedParameters.hashCode()); - return result; - } -} diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateOracleOnlineLogicalMigrationSettings.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateOracleOnlineLogicalMigrationSettings.java deleted file mode 100644 index 0ad0c9db51b..00000000000 --- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateOracleOnlineLogicalMigrationSettings.java +++ /dev/null @@ -1,329 +0,0 @@ -/** - * Copyright (c) 2016, 2026, 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.databasemigration.model; - -/** - * Update settings for an online logical Oracle migration.
- * 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: 20230518") -@com.fasterxml.jackson.databind.annotation.JsonDeserialize( - builder = UpdateOracleOnlineLogicalMigrationSettings.Builder.class) -@com.fasterxml.jackson.annotation.JsonTypeInfo( - use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, - include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, - property = "migrationMethod") -@com.fasterxml.jackson.annotation.JsonFilter( - com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) -public final class UpdateOracleOnlineLogicalMigrationSettings - extends UpdateOracleMigrationSettings { - @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") - public static class Builder { - - @com.fasterxml.jackson.annotation.JsonProperty("dataTransferMediumDetails") - private UpdateOracleDataTransferMediumDetails dataTransferMediumDetails; - - public Builder dataTransferMediumDetails( - UpdateOracleDataTransferMediumDetails dataTransferMediumDetails) { - this.dataTransferMediumDetails = dataTransferMediumDetails; - this.__explicitlySet__.add("dataTransferMediumDetails"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonProperty("initialLoadSettings") - private UpdateOracleInitialLoadSettings initialLoadSettings; - - public Builder initialLoadSettings(UpdateOracleInitialLoadSettings initialLoadSettings) { - this.initialLoadSettings = initialLoadSettings; - this.__explicitlySet__.add("initialLoadSettings"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonProperty("advisorSettings") - private UpdateOracleAdvisorSettings advisorSettings; - - public Builder advisorSettings(UpdateOracleAdvisorSettings advisorSettings) { - this.advisorSettings = advisorSettings; - this.__explicitlySet__.add("advisorSettings"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonProperty("hubDetails") - private UpdateGoldenGateHubDetails hubDetails; - - public Builder hubDetails(UpdateGoldenGateHubDetails hubDetails) { - this.hubDetails = hubDetails; - this.__explicitlySet__.add("hubDetails"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonProperty("ggsDetails") - private UpdateOracleGgsDeploymentDetails ggsDetails; - - public Builder ggsDetails(UpdateOracleGgsDeploymentDetails ggsDetails) { - this.ggsDetails = ggsDetails; - this.__explicitlySet__.add("ggsDetails"); - return this; - } - /** List of Migration Parameter objects. */ - @com.fasterxml.jackson.annotation.JsonProperty("advancedParameters") - private java.util.List advancedParameters; - - /** - * List of Migration Parameter objects. - * - * @param advancedParameters the value to set - * @return this builder - */ - public Builder advancedParameters( - java.util.List advancedParameters) { - this.advancedParameters = advancedParameters; - this.__explicitlySet__.add("advancedParameters"); - return this; - } - /** The OCID of the resource being updated. */ - @com.fasterxml.jackson.annotation.JsonProperty("sourceContainerDatabaseConnectionId") - private String sourceContainerDatabaseConnectionId; - - /** - * The OCID of the resource being updated. - * - * @param sourceContainerDatabaseConnectionId the value to set - * @return this builder - */ - public Builder sourceContainerDatabaseConnectionId( - String sourceContainerDatabaseConnectionId) { - this.sourceContainerDatabaseConnectionId = sourceContainerDatabaseConnectionId; - this.__explicitlySet__.add("sourceContainerDatabaseConnectionId"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonIgnore - private final java.util.Set __explicitlySet__ = new java.util.HashSet(); - - public UpdateOracleOnlineLogicalMigrationSettings build() { - UpdateOracleOnlineLogicalMigrationSettings model = - new UpdateOracleOnlineLogicalMigrationSettings( - this.dataTransferMediumDetails, - this.initialLoadSettings, - this.advisorSettings, - this.hubDetails, - this.ggsDetails, - this.advancedParameters, - this.sourceContainerDatabaseConnectionId); - for (String explicitlySetProperty : this.__explicitlySet__) { - model.markPropertyAsExplicitlySet(explicitlySetProperty); - } - return model; - } - - @com.fasterxml.jackson.annotation.JsonIgnore - public Builder copy(UpdateOracleOnlineLogicalMigrationSettings model) { - if (model.wasPropertyExplicitlySet("dataTransferMediumDetails")) { - this.dataTransferMediumDetails(model.getDataTransferMediumDetails()); - } - if (model.wasPropertyExplicitlySet("initialLoadSettings")) { - this.initialLoadSettings(model.getInitialLoadSettings()); - } - if (model.wasPropertyExplicitlySet("advisorSettings")) { - this.advisorSettings(model.getAdvisorSettings()); - } - if (model.wasPropertyExplicitlySet("hubDetails")) { - this.hubDetails(model.getHubDetails()); - } - if (model.wasPropertyExplicitlySet("ggsDetails")) { - this.ggsDetails(model.getGgsDetails()); - } - if (model.wasPropertyExplicitlySet("advancedParameters")) { - this.advancedParameters(model.getAdvancedParameters()); - } - if (model.wasPropertyExplicitlySet("sourceContainerDatabaseConnectionId")) { - this.sourceContainerDatabaseConnectionId( - model.getSourceContainerDatabaseConnectionId()); - } - return this; - } - } - - /** Create a new builder. */ - public static Builder builder() { - return new Builder(); - } - - public Builder toBuilder() { - return new Builder().copy(this); - } - - @Deprecated - public UpdateOracleOnlineLogicalMigrationSettings( - UpdateOracleDataTransferMediumDetails dataTransferMediumDetails, - UpdateOracleInitialLoadSettings initialLoadSettings, - UpdateOracleAdvisorSettings advisorSettings, - UpdateGoldenGateHubDetails hubDetails, - UpdateOracleGgsDeploymentDetails ggsDetails, - java.util.List advancedParameters, - String sourceContainerDatabaseConnectionId) { - super(); - this.dataTransferMediumDetails = dataTransferMediumDetails; - this.initialLoadSettings = initialLoadSettings; - this.advisorSettings = advisorSettings; - this.hubDetails = hubDetails; - this.ggsDetails = ggsDetails; - this.advancedParameters = advancedParameters; - this.sourceContainerDatabaseConnectionId = sourceContainerDatabaseConnectionId; - } - - @com.fasterxml.jackson.annotation.JsonProperty("dataTransferMediumDetails") - private final UpdateOracleDataTransferMediumDetails dataTransferMediumDetails; - - public UpdateOracleDataTransferMediumDetails getDataTransferMediumDetails() { - return dataTransferMediumDetails; - } - - @com.fasterxml.jackson.annotation.JsonProperty("initialLoadSettings") - private final UpdateOracleInitialLoadSettings initialLoadSettings; - - public UpdateOracleInitialLoadSettings getInitialLoadSettings() { - return initialLoadSettings; - } - - @com.fasterxml.jackson.annotation.JsonProperty("advisorSettings") - private final UpdateOracleAdvisorSettings advisorSettings; - - public UpdateOracleAdvisorSettings getAdvisorSettings() { - return advisorSettings; - } - - @com.fasterxml.jackson.annotation.JsonProperty("hubDetails") - private final UpdateGoldenGateHubDetails hubDetails; - - public UpdateGoldenGateHubDetails getHubDetails() { - return hubDetails; - } - - @com.fasterxml.jackson.annotation.JsonProperty("ggsDetails") - private final UpdateOracleGgsDeploymentDetails ggsDetails; - - public UpdateOracleGgsDeploymentDetails getGgsDetails() { - return ggsDetails; - } - - /** List of Migration Parameter objects. */ - @com.fasterxml.jackson.annotation.JsonProperty("advancedParameters") - private final java.util.List advancedParameters; - - /** - * List of Migration Parameter objects. - * - * @return the value - */ - public java.util.List getAdvancedParameters() { - return advancedParameters; - } - - /** The OCID of the resource being updated. */ - @com.fasterxml.jackson.annotation.JsonProperty("sourceContainerDatabaseConnectionId") - private final String sourceContainerDatabaseConnectionId; - - /** - * The OCID of the resource being updated. - * - * @return the value - */ - public String getSourceContainerDatabaseConnectionId() { - return sourceContainerDatabaseConnectionId; - } - - @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("UpdateOracleOnlineLogicalMigrationSettings("); - sb.append("super=").append(super.toString(includeByteArrayContents)); - sb.append(", dataTransferMediumDetails=") - .append(String.valueOf(this.dataTransferMediumDetails)); - sb.append(", initialLoadSettings=").append(String.valueOf(this.initialLoadSettings)); - sb.append(", advisorSettings=").append(String.valueOf(this.advisorSettings)); - sb.append(", hubDetails=").append(String.valueOf(this.hubDetails)); - sb.append(", ggsDetails=").append(String.valueOf(this.ggsDetails)); - sb.append(", advancedParameters=").append(String.valueOf(this.advancedParameters)); - sb.append(", sourceContainerDatabaseConnectionId=") - .append(String.valueOf(this.sourceContainerDatabaseConnectionId)); - sb.append(")"); - return sb.toString(); - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (!(o instanceof UpdateOracleOnlineLogicalMigrationSettings)) { - return false; - } - - UpdateOracleOnlineLogicalMigrationSettings other = - (UpdateOracleOnlineLogicalMigrationSettings) o; - return java.util.Objects.equals( - this.dataTransferMediumDetails, other.dataTransferMediumDetails) - && java.util.Objects.equals(this.initialLoadSettings, other.initialLoadSettings) - && java.util.Objects.equals(this.advisorSettings, other.advisorSettings) - && java.util.Objects.equals(this.hubDetails, other.hubDetails) - && java.util.Objects.equals(this.ggsDetails, other.ggsDetails) - && java.util.Objects.equals(this.advancedParameters, other.advancedParameters) - && java.util.Objects.equals( - this.sourceContainerDatabaseConnectionId, - other.sourceContainerDatabaseConnectionId) - && super.equals(other); - } - - @Override - public int hashCode() { - final int PRIME = 59; - int result = super.hashCode(); - result = - (result * PRIME) - + (this.dataTransferMediumDetails == null - ? 43 - : this.dataTransferMediumDetails.hashCode()); - result = - (result * PRIME) - + (this.initialLoadSettings == null - ? 43 - : this.initialLoadSettings.hashCode()); - result = - (result * PRIME) - + (this.advisorSettings == null ? 43 : this.advisorSettings.hashCode()); - result = (result * PRIME) + (this.hubDetails == null ? 43 : this.hubDetails.hashCode()); - result = (result * PRIME) + (this.ggsDetails == null ? 43 : this.ggsDetails.hashCode()); - result = - (result * PRIME) - + (this.advancedParameters == null - ? 43 - : this.advancedParameters.hashCode()); - result = - (result * PRIME) - + (this.sourceContainerDatabaseConnectionId == null - ? 43 - : this.sourceContainerDatabaseConnectionId.hashCode()); - return result; - } -} diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateOracleOnlineStandbyMigrationSettings.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateOracleOnlineStandbyMigrationSettings.java deleted file mode 100644 index 3d97b1e8934..00000000000 --- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateOracleOnlineStandbyMigrationSettings.java +++ /dev/null @@ -1,374 +0,0 @@ -/** - * Copyright (c) 2016, 2026, 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.databasemigration.model; - -/** - * Update settings for an online standby Oracle migration.
- * 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: 20230518") -@com.fasterxml.jackson.databind.annotation.JsonDeserialize( - builder = UpdateOracleOnlineStandbyMigrationSettings.Builder.class) -@com.fasterxml.jackson.annotation.JsonTypeInfo( - use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, - include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, - property = "migrationMethod") -@com.fasterxml.jackson.annotation.JsonFilter( - com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) -public final class UpdateOracleOnlineStandbyMigrationSettings - extends UpdateOracleMigrationSettings { - @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") - public static class Builder { - - @com.fasterxml.jackson.annotation.JsonProperty("dataTransferMediumDetails") - private UpdateOracleDataTransferMediumDetails dataTransferMediumDetails; - - public Builder dataTransferMediumDetails( - UpdateOracleDataTransferMediumDetails dataTransferMediumDetails) { - this.dataTransferMediumDetails = dataTransferMediumDetails; - this.__explicitlySet__.add("dataTransferMediumDetails"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonProperty("initialLoadSettings") - private UpdateOracleInitialLoadSettings initialLoadSettings; - - public Builder initialLoadSettings(UpdateOracleInitialLoadSettings initialLoadSettings) { - this.initialLoadSettings = initialLoadSettings; - this.__explicitlySet__.add("initialLoadSettings"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonProperty("advisorSettings") - private UpdateOracleAdvisorSettings advisorSettings; - - public Builder advisorSettings(UpdateOracleAdvisorSettings advisorSettings) { - this.advisorSettings = advisorSettings; - this.__explicitlySet__.add("advisorSettings"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonProperty("hubDetails") - private UpdateGoldenGateHubDetails hubDetails; - - public Builder hubDetails(UpdateGoldenGateHubDetails hubDetails) { - this.hubDetails = hubDetails; - this.__explicitlySet__.add("hubDetails"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonProperty("ggsDetails") - private UpdateOracleGgsDeploymentDetails ggsDetails; - - public Builder ggsDetails(UpdateOracleGgsDeploymentDetails ggsDetails) { - this.ggsDetails = ggsDetails; - this.__explicitlySet__.add("ggsDetails"); - return this; - } - /** List of Migration Parameter objects. */ - @com.fasterxml.jackson.annotation.JsonProperty("advancedParameters") - private java.util.List advancedParameters; - - /** - * List of Migration Parameter objects. - * - * @param advancedParameters the value to set - * @return this builder - */ - public Builder advancedParameters( - java.util.List advancedParameters) { - this.advancedParameters = advancedParameters; - this.__explicitlySet__.add("advancedParameters"); - return this; - } - /** The OCID of the resource being updated. */ - @com.fasterxml.jackson.annotation.JsonProperty("sourceContainerDatabaseConnectionId") - private String sourceContainerDatabaseConnectionId; - - /** - * The OCID of the resource being updated. - * - * @param sourceContainerDatabaseConnectionId the value to set - * @return this builder - */ - public Builder sourceContainerDatabaseConnectionId( - String sourceContainerDatabaseConnectionId) { - this.sourceContainerDatabaseConnectionId = sourceContainerDatabaseConnectionId; - this.__explicitlySet__.add("sourceContainerDatabaseConnectionId"); - return this; - } - /** The OCID of the resource being updated. */ - @com.fasterxml.jackson.annotation.JsonProperty("sourceStandbyDatabaseConnectionId") - private String sourceStandbyDatabaseConnectionId; - - /** - * The OCID of the resource being updated. - * - * @param sourceStandbyDatabaseConnectionId the value to set - * @return this builder - */ - public Builder sourceStandbyDatabaseConnectionId(String sourceStandbyDatabaseConnectionId) { - this.sourceStandbyDatabaseConnectionId = sourceStandbyDatabaseConnectionId; - this.__explicitlySet__.add("sourceStandbyDatabaseConnectionId"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonIgnore - private final java.util.Set __explicitlySet__ = new java.util.HashSet(); - - public UpdateOracleOnlineStandbyMigrationSettings build() { - UpdateOracleOnlineStandbyMigrationSettings model = - new UpdateOracleOnlineStandbyMigrationSettings( - this.dataTransferMediumDetails, - this.initialLoadSettings, - this.advisorSettings, - this.hubDetails, - this.ggsDetails, - this.advancedParameters, - this.sourceContainerDatabaseConnectionId, - this.sourceStandbyDatabaseConnectionId); - for (String explicitlySetProperty : this.__explicitlySet__) { - model.markPropertyAsExplicitlySet(explicitlySetProperty); - } - return model; - } - - @com.fasterxml.jackson.annotation.JsonIgnore - public Builder copy(UpdateOracleOnlineStandbyMigrationSettings model) { - if (model.wasPropertyExplicitlySet("dataTransferMediumDetails")) { - this.dataTransferMediumDetails(model.getDataTransferMediumDetails()); - } - if (model.wasPropertyExplicitlySet("initialLoadSettings")) { - this.initialLoadSettings(model.getInitialLoadSettings()); - } - if (model.wasPropertyExplicitlySet("advisorSettings")) { - this.advisorSettings(model.getAdvisorSettings()); - } - if (model.wasPropertyExplicitlySet("hubDetails")) { - this.hubDetails(model.getHubDetails()); - } - if (model.wasPropertyExplicitlySet("ggsDetails")) { - this.ggsDetails(model.getGgsDetails()); - } - if (model.wasPropertyExplicitlySet("advancedParameters")) { - this.advancedParameters(model.getAdvancedParameters()); - } - if (model.wasPropertyExplicitlySet("sourceContainerDatabaseConnectionId")) { - this.sourceContainerDatabaseConnectionId( - model.getSourceContainerDatabaseConnectionId()); - } - if (model.wasPropertyExplicitlySet("sourceStandbyDatabaseConnectionId")) { - this.sourceStandbyDatabaseConnectionId( - model.getSourceStandbyDatabaseConnectionId()); - } - return this; - } - } - - /** Create a new builder. */ - public static Builder builder() { - return new Builder(); - } - - public Builder toBuilder() { - return new Builder().copy(this); - } - - @Deprecated - public UpdateOracleOnlineStandbyMigrationSettings( - UpdateOracleDataTransferMediumDetails dataTransferMediumDetails, - UpdateOracleInitialLoadSettings initialLoadSettings, - UpdateOracleAdvisorSettings advisorSettings, - UpdateGoldenGateHubDetails hubDetails, - UpdateOracleGgsDeploymentDetails ggsDetails, - java.util.List advancedParameters, - String sourceContainerDatabaseConnectionId, - String sourceStandbyDatabaseConnectionId) { - super(); - this.dataTransferMediumDetails = dataTransferMediumDetails; - this.initialLoadSettings = initialLoadSettings; - this.advisorSettings = advisorSettings; - this.hubDetails = hubDetails; - this.ggsDetails = ggsDetails; - this.advancedParameters = advancedParameters; - this.sourceContainerDatabaseConnectionId = sourceContainerDatabaseConnectionId; - this.sourceStandbyDatabaseConnectionId = sourceStandbyDatabaseConnectionId; - } - - @com.fasterxml.jackson.annotation.JsonProperty("dataTransferMediumDetails") - private final UpdateOracleDataTransferMediumDetails dataTransferMediumDetails; - - public UpdateOracleDataTransferMediumDetails getDataTransferMediumDetails() { - return dataTransferMediumDetails; - } - - @com.fasterxml.jackson.annotation.JsonProperty("initialLoadSettings") - private final UpdateOracleInitialLoadSettings initialLoadSettings; - - public UpdateOracleInitialLoadSettings getInitialLoadSettings() { - return initialLoadSettings; - } - - @com.fasterxml.jackson.annotation.JsonProperty("advisorSettings") - private final UpdateOracleAdvisorSettings advisorSettings; - - public UpdateOracleAdvisorSettings getAdvisorSettings() { - return advisorSettings; - } - - @com.fasterxml.jackson.annotation.JsonProperty("hubDetails") - private final UpdateGoldenGateHubDetails hubDetails; - - public UpdateGoldenGateHubDetails getHubDetails() { - return hubDetails; - } - - @com.fasterxml.jackson.annotation.JsonProperty("ggsDetails") - private final UpdateOracleGgsDeploymentDetails ggsDetails; - - public UpdateOracleGgsDeploymentDetails getGgsDetails() { - return ggsDetails; - } - - /** List of Migration Parameter objects. */ - @com.fasterxml.jackson.annotation.JsonProperty("advancedParameters") - private final java.util.List advancedParameters; - - /** - * List of Migration Parameter objects. - * - * @return the value - */ - public java.util.List getAdvancedParameters() { - return advancedParameters; - } - - /** The OCID of the resource being updated. */ - @com.fasterxml.jackson.annotation.JsonProperty("sourceContainerDatabaseConnectionId") - private final String sourceContainerDatabaseConnectionId; - - /** - * The OCID of the resource being updated. - * - * @return the value - */ - public String getSourceContainerDatabaseConnectionId() { - return sourceContainerDatabaseConnectionId; - } - - /** The OCID of the resource being updated. */ - @com.fasterxml.jackson.annotation.JsonProperty("sourceStandbyDatabaseConnectionId") - private final String sourceStandbyDatabaseConnectionId; - - /** - * The OCID of the resource being updated. - * - * @return the value - */ - public String getSourceStandbyDatabaseConnectionId() { - return sourceStandbyDatabaseConnectionId; - } - - @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("UpdateOracleOnlineStandbyMigrationSettings("); - sb.append("super=").append(super.toString(includeByteArrayContents)); - sb.append(", dataTransferMediumDetails=") - .append(String.valueOf(this.dataTransferMediumDetails)); - sb.append(", initialLoadSettings=").append(String.valueOf(this.initialLoadSettings)); - sb.append(", advisorSettings=").append(String.valueOf(this.advisorSettings)); - sb.append(", hubDetails=").append(String.valueOf(this.hubDetails)); - sb.append(", ggsDetails=").append(String.valueOf(this.ggsDetails)); - sb.append(", advancedParameters=").append(String.valueOf(this.advancedParameters)); - sb.append(", sourceContainerDatabaseConnectionId=") - .append(String.valueOf(this.sourceContainerDatabaseConnectionId)); - sb.append(", sourceStandbyDatabaseConnectionId=") - .append(String.valueOf(this.sourceStandbyDatabaseConnectionId)); - sb.append(")"); - return sb.toString(); - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (!(o instanceof UpdateOracleOnlineStandbyMigrationSettings)) { - return false; - } - - UpdateOracleOnlineStandbyMigrationSettings other = - (UpdateOracleOnlineStandbyMigrationSettings) o; - return java.util.Objects.equals( - this.dataTransferMediumDetails, other.dataTransferMediumDetails) - && java.util.Objects.equals(this.initialLoadSettings, other.initialLoadSettings) - && java.util.Objects.equals(this.advisorSettings, other.advisorSettings) - && java.util.Objects.equals(this.hubDetails, other.hubDetails) - && java.util.Objects.equals(this.ggsDetails, other.ggsDetails) - && java.util.Objects.equals(this.advancedParameters, other.advancedParameters) - && java.util.Objects.equals( - this.sourceContainerDatabaseConnectionId, - other.sourceContainerDatabaseConnectionId) - && java.util.Objects.equals( - this.sourceStandbyDatabaseConnectionId, - other.sourceStandbyDatabaseConnectionId) - && super.equals(other); - } - - @Override - public int hashCode() { - final int PRIME = 59; - int result = super.hashCode(); - result = - (result * PRIME) - + (this.dataTransferMediumDetails == null - ? 43 - : this.dataTransferMediumDetails.hashCode()); - result = - (result * PRIME) - + (this.initialLoadSettings == null - ? 43 - : this.initialLoadSettings.hashCode()); - result = - (result * PRIME) - + (this.advisorSettings == null ? 43 : this.advisorSettings.hashCode()); - result = (result * PRIME) + (this.hubDetails == null ? 43 : this.hubDetails.hashCode()); - result = (result * PRIME) + (this.ggsDetails == null ? 43 : this.ggsDetails.hashCode()); - result = - (result * PRIME) - + (this.advancedParameters == null - ? 43 - : this.advancedParameters.hashCode()); - result = - (result * PRIME) - + (this.sourceContainerDatabaseConnectionId == null - ? 43 - : this.sourceContainerDatabaseConnectionId.hashCode()); - result = - (result * PRIME) - + (this.sourceStandbyDatabaseConnectionId == null - ? 43 - : this.sourceStandbyDatabaseConnectionId.hashCode()); - return result; - } -} diff --git a/bmc-databasemigration/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-databasemigration/reflect-config.json b/bmc-databasemigration/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-databasemigration/reflect-config.json index 14ca501f442..3a99dc38635 100644 --- a/bmc-databasemigration/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-databasemigration/reflect-config.json +++ b/bmc-databasemigration/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-databasemigration/reflect-config.json @@ -556,55 +556,6 @@ "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, - { - "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.CloneOracleMigrationSettings", - "allDeclaredFields": true, - "allDeclaredMethods": true, - "queryAllDeclaredConstructors": true - }, - { - "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.CloneOracleOfflineLogicalMigrationSettings", - "allDeclaredFields": true, - "allDeclaredMethods": true, - "queryAllDeclaredConstructors": true - }, - { - "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.CloneOracleOfflineLogicalMigrationSettings$Builder", - "allDeclaredFields": true, - "allDeclaredMethods": true, - "allDeclaredConstructors": true - }, - { - "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.CloneOracleOnlineLogicalMigrationSettings", - "allDeclaredFields": true, - "allDeclaredMethods": true, - "queryAllDeclaredConstructors": true - }, - { - "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.CloneOracleOnlineLogicalMigrationSettings$Builder", - "allDeclaredFields": true, - "allDeclaredMethods": true, - "allDeclaredConstructors": true - }, - { - "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.CloneOracleOnlineStandbyMigrationSettings", - "allDeclaredFields": true, - "allDeclaredMethods": true, - "queryAllDeclaredConstructors": true - }, - { - "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.CloneOracleOnlineStandbyMigrationSettings$Builder", - "allDeclaredFields": true, - "allDeclaredMethods": true, - "allDeclaredConstructors": true - }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.databasemigration.model.CollectTracesData", @@ -1056,160 +1007,139 @@ }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.CreateOracleConnectionDetails", + "name": "com.oracle.bmc.databasemigration.model.CreateOracleAzureBlobDataTransferMediumDetails", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.CreateOracleConnectionDetails$Builder", + "name": "com.oracle.bmc.databasemigration.model.CreateOracleAzureBlobDataTransferMediumDetails$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.CreateOracleDataTransferMediumDetails", - "allDeclaredFields": true, - "allDeclaredMethods": true, - "queryAllDeclaredConstructors": true - }, - { - "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.CreateOracleDataTransferMediumDetails$Type", - "allDeclaredFields": true, - "allDeclaredMethods": true - }, - { - "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.CreateOracleDbLinkDataTransferMediumDetails", + "name": "com.oracle.bmc.databasemigration.model.CreateOracleConnectionDetails", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.CreateOracleDbLinkDataTransferMediumDetails$Builder", + "name": "com.oracle.bmc.databasemigration.model.CreateOracleConnectionDetails$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.CreateOracleGgsDeploymentDetails", + "name": "com.oracle.bmc.databasemigration.model.CreateOracleDataTransferMediumDetails", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.CreateOracleGgsDeploymentDetails$Builder", + "name": "com.oracle.bmc.databasemigration.model.CreateOracleDataTransferMediumDetails$Type", "allDeclaredFields": true, - "allDeclaredMethods": true, - "allDeclaredConstructors": true + "allDeclaredMethods": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.CreateOracleInitialLoadSettings", + "name": "com.oracle.bmc.databasemigration.model.CreateOracleDbLinkDataTransferMediumDetails", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.CreateOracleInitialLoadSettings$Builder", + "name": "com.oracle.bmc.databasemigration.model.CreateOracleDbLinkDataTransferMediumDetails$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.CreateOracleMigrationDetails", + "name": "com.oracle.bmc.databasemigration.model.CreateOracleGcsDataTransferMediumDetails", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.CreateOracleMigrationDetails$Builder", + "name": "com.oracle.bmc.databasemigration.model.CreateOracleGcsDataTransferMediumDetails$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.CreateOracleMigrationSettings", - "allDeclaredFields": true, - "allDeclaredMethods": true, - "queryAllDeclaredConstructors": true - }, - { - "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.CreateOracleNfsDataTransferMediumDetails", + "name": "com.oracle.bmc.databasemigration.model.CreateOracleGgsDeploymentDetails", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.CreateOracleNfsDataTransferMediumDetails$Builder", + "name": "com.oracle.bmc.databasemigration.model.CreateOracleGgsDeploymentDetails$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.CreateOracleObjectStorageDataTransferMediumDetails", + "name": "com.oracle.bmc.databasemigration.model.CreateOracleInitialLoadSettings", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.CreateOracleObjectStorageDataTransferMediumDetails$Builder", + "name": "com.oracle.bmc.databasemigration.model.CreateOracleInitialLoadSettings$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.CreateOracleOfflineLogicalMigrationSettings", + "name": "com.oracle.bmc.databasemigration.model.CreateOracleMigrationDetails", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.CreateOracleOfflineLogicalMigrationSettings$Builder", + "name": "com.oracle.bmc.databasemigration.model.CreateOracleMigrationDetails$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.CreateOracleOnlineLogicalMigrationSettings", + "name": "com.oracle.bmc.databasemigration.model.CreateOracleNfsDataTransferMediumDetails", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.CreateOracleOnlineLogicalMigrationSettings$Builder", + "name": "com.oracle.bmc.databasemigration.model.CreateOracleNfsDataTransferMediumDetails$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.CreateOracleOnlineStandbyMigrationSettings", + "name": "com.oracle.bmc.databasemigration.model.CreateOracleObjectStorageDataTransferMediumDetails", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.CreateOracleOnlineStandbyMigrationSettings$Builder", + "name": "com.oracle.bmc.databasemigration.model.CreateOracleObjectStorageDataTransferMediumDetails$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true @@ -2527,6 +2457,20 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.databasemigration.model.OracleAzureBlobDataTransferMediumDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.databasemigration.model.OracleAzureBlobDataTransferMediumDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.databasemigration.model.OracleCloneAssessmentDetails", @@ -2694,79 +2638,73 @@ }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.OracleGgsDeploymentDetails", + "name": "com.oracle.bmc.databasemigration.model.OracleGcsDataTransferMediumDetails", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.OracleGgsDeploymentDetails$Builder", + "name": "com.oracle.bmc.databasemigration.model.OracleGcsDataTransferMediumDetails$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.OracleInitialLoadSettings", + "name": "com.oracle.bmc.databasemigration.model.OracleGgsDeploymentDetails", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.OracleInitialLoadSettings$Builder", + "name": "com.oracle.bmc.databasemigration.model.OracleGgsDeploymentDetails$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.OracleMigration", + "name": "com.oracle.bmc.databasemigration.model.OracleInitialLoadSettings", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.OracleMigration$Builder", + "name": "com.oracle.bmc.databasemigration.model.OracleInitialLoadSettings$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.OracleMigrationMethods", - "allDeclaredFields": true, - "allDeclaredMethods": true - }, - { - "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.OracleMigrationObjectCollection", + "name": "com.oracle.bmc.databasemigration.model.OracleMigration", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.OracleMigrationObjectCollection$Builder", + "name": "com.oracle.bmc.databasemigration.model.OracleMigration$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.OracleMigrationSettings", + "name": "com.oracle.bmc.databasemigration.model.OracleMigrationObjectCollection", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.OracleMigrationSettingsSummary", + "name": "com.oracle.bmc.databasemigration.model.OracleMigrationObjectCollection$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, - "queryAllDeclaredConstructors": true + "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, @@ -2810,90 +2748,6 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, - { - "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.OracleOfflineLogicalMigrationSettings", - "allDeclaredFields": true, - "allDeclaredMethods": true, - "queryAllDeclaredConstructors": true - }, - { - "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.OracleOfflineLogicalMigrationSettings$Builder", - "allDeclaredFields": true, - "allDeclaredMethods": true, - "allDeclaredConstructors": true - }, - { - "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.OracleOfflineLogicalMigrationSettingsSummary", - "allDeclaredFields": true, - "allDeclaredMethods": true, - "queryAllDeclaredConstructors": true - }, - { - "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.OracleOfflineLogicalMigrationSettingsSummary$Builder", - "allDeclaredFields": true, - "allDeclaredMethods": true, - "allDeclaredConstructors": true - }, - { - "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.OracleOnlineLogicalMigrationSettings", - "allDeclaredFields": true, - "allDeclaredMethods": true, - "queryAllDeclaredConstructors": true - }, - { - "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.OracleOnlineLogicalMigrationSettings$Builder", - "allDeclaredFields": true, - "allDeclaredMethods": true, - "allDeclaredConstructors": true - }, - { - "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.OracleOnlineLogicalMigrationSettingsSummary", - "allDeclaredFields": true, - "allDeclaredMethods": true, - "queryAllDeclaredConstructors": true - }, - { - "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.OracleOnlineLogicalMigrationSettingsSummary$Builder", - "allDeclaredFields": true, - "allDeclaredMethods": true, - "allDeclaredConstructors": true - }, - { - "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.OracleOnlineStandbyMigrationSettings", - "allDeclaredFields": true, - "allDeclaredMethods": true, - "queryAllDeclaredConstructors": true - }, - { - "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.OracleOnlineStandbyMigrationSettings$Builder", - "allDeclaredFields": true, - "allDeclaredMethods": true, - "allDeclaredConstructors": true - }, - { - "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.OracleOnlineStandbyMigrationSettingsSummary", - "allDeclaredFields": true, - "allDeclaredMethods": true, - "queryAllDeclaredConstructors": true - }, - { - "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.OracleOnlineStandbyMigrationSettingsSummary$Builder", - "allDeclaredFields": true, - "allDeclaredMethods": true, - "allDeclaredConstructors": true - }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.databasemigration.model.ParameterFileVersion", @@ -3589,160 +3443,139 @@ }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.UpdateOracleConnectionDetails", + "name": "com.oracle.bmc.databasemigration.model.UpdateOracleAzureBlobDataTransferMediumDetails", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.UpdateOracleConnectionDetails$Builder", + "name": "com.oracle.bmc.databasemigration.model.UpdateOracleAzureBlobDataTransferMediumDetails$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.UpdateOracleDataTransferMediumDetails", - "allDeclaredFields": true, - "allDeclaredMethods": true, - "queryAllDeclaredConstructors": true - }, - { - "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.UpdateOracleDataTransferMediumDetails$Type", - "allDeclaredFields": true, - "allDeclaredMethods": true - }, - { - "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.UpdateOracleDbLinkDataTransferMediumDetails", + "name": "com.oracle.bmc.databasemigration.model.UpdateOracleConnectionDetails", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.UpdateOracleDbLinkDataTransferMediumDetails$Builder", + "name": "com.oracle.bmc.databasemigration.model.UpdateOracleConnectionDetails$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.UpdateOracleGgsDeploymentDetails", + "name": "com.oracle.bmc.databasemigration.model.UpdateOracleDataTransferMediumDetails", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.UpdateOracleGgsDeploymentDetails$Builder", + "name": "com.oracle.bmc.databasemigration.model.UpdateOracleDataTransferMediumDetails$Type", "allDeclaredFields": true, - "allDeclaredMethods": true, - "allDeclaredConstructors": true + "allDeclaredMethods": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.UpdateOracleInitialLoadSettings", + "name": "com.oracle.bmc.databasemigration.model.UpdateOracleDbLinkDataTransferMediumDetails", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.UpdateOracleInitialLoadSettings$Builder", + "name": "com.oracle.bmc.databasemigration.model.UpdateOracleDbLinkDataTransferMediumDetails$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.UpdateOracleMigrationDetails", + "name": "com.oracle.bmc.databasemigration.model.UpdateOracleGcsDataTransferMediumDetails", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.UpdateOracleMigrationDetails$Builder", + "name": "com.oracle.bmc.databasemigration.model.UpdateOracleGcsDataTransferMediumDetails$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.UpdateOracleMigrationSettings", - "allDeclaredFields": true, - "allDeclaredMethods": true, - "queryAllDeclaredConstructors": true - }, - { - "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.UpdateOracleNfsDataTransferMediumDetails", + "name": "com.oracle.bmc.databasemigration.model.UpdateOracleGgsDeploymentDetails", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.UpdateOracleNfsDataTransferMediumDetails$Builder", + "name": "com.oracle.bmc.databasemigration.model.UpdateOracleGgsDeploymentDetails$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.UpdateOracleObjectStorageDataTransferMediumDetails", + "name": "com.oracle.bmc.databasemigration.model.UpdateOracleInitialLoadSettings", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.UpdateOracleObjectStorageDataTransferMediumDetails$Builder", + "name": "com.oracle.bmc.databasemigration.model.UpdateOracleInitialLoadSettings$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.UpdateOracleOfflineLogicalMigrationSettings", + "name": "com.oracle.bmc.databasemigration.model.UpdateOracleMigrationDetails", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.UpdateOracleOfflineLogicalMigrationSettings$Builder", + "name": "com.oracle.bmc.databasemigration.model.UpdateOracleMigrationDetails$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.UpdateOracleOnlineLogicalMigrationSettings", + "name": "com.oracle.bmc.databasemigration.model.UpdateOracleNfsDataTransferMediumDetails", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.UpdateOracleOnlineLogicalMigrationSettings$Builder", + "name": "com.oracle.bmc.databasemigration.model.UpdateOracleNfsDataTransferMediumDetails$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.UpdateOracleOnlineStandbyMigrationSettings", + "name": "com.oracle.bmc.databasemigration.model.UpdateOracleObjectStorageDataTransferMediumDetails", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.databasemigration.model.UpdateOracleOnlineStandbyMigrationSettings$Builder", + "name": "com.oracle.bmc.databasemigration.model.UpdateOracleObjectStorageDataTransferMediumDetails$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true diff --git a/bmc-databasetools/pom.xml b/bmc-databasetools/pom.xml index 29ae1342550..270892045dc 100644 --- a/bmc-databasetools/pom.xml +++ b/bmc-databasetools/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-databasetools @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-databasetoolsruntime/pom.xml b/bmc-databasetoolsruntime/pom.xml index 789d6c6c839..8524f8a3b3f 100644 --- a/bmc-databasetoolsruntime/pom.xml +++ b/bmc-databasetoolsruntime/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-databasetoolsruntime @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-datacatalog/pom.xml b/bmc-datacatalog/pom.xml index 93d313eec7c..e1e7ba42f35 100644 --- a/bmc-datacatalog/pom.xml +++ b/bmc-datacatalog/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-datacatalog @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-datacc/pom.xml b/bmc-datacc/pom.xml index c8b11f2edcd..2c435684559 100644 --- a/bmc-datacc/pom.xml +++ b/bmc-datacc/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-datacc @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-dataflow/pom.xml b/bmc-dataflow/pom.xml index 72cc5154dfa..bad5a6c2876 100644 --- a/bmc-dataflow/pom.xml +++ b/bmc-dataflow/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-dataflow @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-dataintegration/pom.xml b/bmc-dataintegration/pom.xml index c802fc8b1f5..502091ce41a 100644 --- a/bmc-dataintegration/pom.xml +++ b/bmc-dataintegration/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-dataintegration @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-datalabelingservice/pom.xml b/bmc-datalabelingservice/pom.xml index 99ee9e389c6..ac1227ff1ad 100644 --- a/bmc-datalabelingservice/pom.xml +++ b/bmc-datalabelingservice/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-datalabelingservice @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-datalabelingservicedataplane/pom.xml b/bmc-datalabelingservicedataplane/pom.xml index 9cf306b4a06..550f9be5982 100644 --- a/bmc-datalabelingservicedataplane/pom.xml +++ b/bmc-datalabelingservicedataplane/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-datalabelingservicedataplane @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-datasafe/pom.xml b/bmc-datasafe/pom.xml index a32970dd627..76df0d0a6e0 100644 --- a/bmc-datasafe/pom.xml +++ b/bmc-datasafe/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-datasafe @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-datascience/pom.xml b/bmc-datascience/pom.xml index 5981e34b323..3646fa39b6c 100644 --- a/bmc-datascience/pom.xml +++ b/bmc-datascience/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-datascience @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-dblm/pom.xml b/bmc-dblm/pom.xml index 398c5a9d390..a3b1f8bf760 100644 --- a/bmc-dblm/pom.xml +++ b/bmc-dblm/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-dblm @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-dbmulticloud/pom.xml b/bmc-dbmulticloud/pom.xml index 95480e0763b..92ff116b525 100644 --- a/bmc-dbmulticloud/pom.xml +++ b/bmc-dbmulticloud/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-dbmulticloud @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-ddfs/pom.xml b/bmc-ddfs/pom.xml index dad4741852a..bb02ae53513 100644 --- a/bmc-ddfs/pom.xml +++ b/bmc-ddfs/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-ddfs @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-delegateaccesscontrol/pom.xml b/bmc-delegateaccesscontrol/pom.xml index 53bd4fcf7af..f7b1f690a17 100644 --- a/bmc-delegateaccesscontrol/pom.xml +++ b/bmc-delegateaccesscontrol/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-delegateaccesscontrol @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-demandsignal/pom.xml b/bmc-demandsignal/pom.xml index 09ec5ce7a5e..bf05ba6b1e5 100644 --- a/bmc-demandsignal/pom.xml +++ b/bmc-demandsignal/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-demandsignal @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-desktops/pom.xml b/bmc-desktops/pom.xml index 980ac31c05e..c0f87619632 100644 --- a/bmc-desktops/pom.xml +++ b/bmc-desktops/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-desktops @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-devops/pom.xml b/bmc-devops/pom.xml index 1f32809ff46..b1333001c32 100644 --- a/bmc-devops/pom.xml +++ b/bmc-devops/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-devops @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-dif/pom.xml b/bmc-dif/pom.xml index a2017a12c7c..7abf2495430 100644 --- a/bmc-dif/pom.xml +++ b/bmc-dif/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-dif @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-disasterrecovery/pom.xml b/bmc-disasterrecovery/pom.xml index df9ea4875cd..835f3b58273 100644 --- a/bmc-disasterrecovery/pom.xml +++ b/bmc-disasterrecovery/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-disasterrecovery @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-distributeddatabase/pom.xml b/bmc-distributeddatabase/pom.xml index 865f55811ab..1bdf622cca0 100644 --- a/bmc-distributeddatabase/pom.xml +++ b/bmc-distributeddatabase/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-distributeddatabase @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-distributeddatabase/src/main/java/com/oracle/bmc/distributeddatabase/model/OperationType.java b/bmc-distributeddatabase/src/main/java/com/oracle/bmc/distributeddatabase/model/OperationType.java index 5b353348774..12fee86b2f1 100644 --- a/bmc-distributeddatabase/src/main/java/com/oracle/bmc/distributeddatabase/model/OperationType.java +++ b/bmc-distributeddatabase/src/main/java/com/oracle/bmc/distributeddatabase/model/OperationType.java @@ -15,6 +15,7 @@ public enum OperationType implements com.oracle.bmc.http.internal.BmcEnum { DeleteDistributedDb("DELETE_DISTRIBUTED_DB"), ChangeDistributedDbCompartment("CHANGE_DISTRIBUTED_DB_COMPARTMENT"), ConfigureDistributedDbGsms("CONFIGURE_DISTRIBUTED_DB_GSMS"), + ScaleDistributedDbGsms("SCALE_DISTRIBUTED_DB_GSMS"), ConfigureDistributedDbSharding("CONFIGURE_DISTRIBUTED_DB_SHARDING"), RotateDistributedDbPasswords("ROTATE_DISTRIBUTED_DB_PASSWORDS"), StartDistributedDb("START_DISTRIBUTED_DB"), diff --git a/bmc-dns/pom.xml b/bmc-dns/pom.xml index c6f14625316..19b84048699 100644 --- a/bmc-dns/pom.xml +++ b/bmc-dns/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml @@ -18,12 +18,12 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 com.oracle.oci.sdk oci-java-sdk-workrequests - 3.102.0 + 3.103.0 diff --git a/bmc-email/pom.xml b/bmc-email/pom.xml index c58b26f5149..29f4b45edd9 100644 --- a/bmc-email/pom.xml +++ b/bmc-email/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 diff --git a/bmc-emaildataplane/pom.xml b/bmc-emaildataplane/pom.xml index 7dae535763d..5d716566884 100644 --- a/bmc-emaildataplane/pom.xml +++ b/bmc-emaildataplane/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-emaildataplane @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-emwarehouse/pom.xml b/bmc-emwarehouse/pom.xml index 14872fe819c..77e07d2a5e2 100644 --- a/bmc-emwarehouse/pom.xml +++ b/bmc-emwarehouse/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-emwarehouse @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-encryption/pom.xml b/bmc-encryption/pom.xml index 587eadb3f16..cca625414e3 100644 --- a/bmc-encryption/pom.xml +++ b/bmc-encryption/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml @@ -18,17 +18,17 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 com.oracle.oci.sdk oci-java-sdk-common-httpclient - 3.102.0 + 3.103.0 com.oracle.oci.sdk oci-java-sdk-keymanagement - 3.102.0 + 3.103.0 com.fasterxml.jackson.core @@ -48,7 +48,7 @@ com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.102.0 + 3.103.0 test diff --git a/bmc-enforcer-rules/pom.xml b/bmc-enforcer-rules/pom.xml index d08be1ce84b..ec612c46be8 100644 --- a/bmc-enforcer-rules/pom.xml +++ b/bmc-enforcer-rules/pom.xml @@ -6,7 +6,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 oci-java-sdk-enforcer-rules diff --git a/bmc-events/pom.xml b/bmc-events/pom.xml index a4949f31ede..97630b20eae 100644 --- a/bmc-events/pom.xml +++ b/bmc-events/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-events @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-examples/pom.xml b/bmc-examples/pom.xml index 2de4bb30c62..d86c0afba4c 100644 --- a/bmc-examples/pom.xml +++ b/bmc-examples/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-examples @@ -71,14 +71,14 @@ com.oracle.oci.sdk oci-java-sdk-bom - 3.102.0 + 3.103.0 pom import com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.102.0 + 3.103.0 pom import diff --git a/bmc-filestorage/pom.xml b/bmc-filestorage/pom.xml index c859d78eae9..54d05ee101f 100644 --- a/bmc-filestorage/pom.xml +++ b/bmc-filestorage/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 diff --git a/bmc-fleetappsmanagement/pom.xml b/bmc-fleetappsmanagement/pom.xml index 4675875282a..c87fb3b4fe2 100644 --- a/bmc-fleetappsmanagement/pom.xml +++ b/bmc-fleetappsmanagement/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-fleetappsmanagement @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-fleetsoftwareupdate/pom.xml b/bmc-fleetsoftwareupdate/pom.xml index 2f64bd8a1dc..a71980b0085 100644 --- a/bmc-fleetsoftwareupdate/pom.xml +++ b/bmc-fleetsoftwareupdate/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-fleetsoftwareupdate @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-full/pom.xml b/bmc-full/pom.xml index 1ef07927b1a..5574634a3f5 100644 --- a/bmc-full/pom.xml +++ b/bmc-full/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-full @@ -16,7 +16,7 @@ com.oracle.oci.sdk oci-java-sdk-bom - 3.102.0 + 3.103.0 pom import diff --git a/bmc-functions/pom.xml b/bmc-functions/pom.xml index 75f8b676ab8..ecd88646053 100644 --- a/bmc-functions/pom.xml +++ b/bmc-functions/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-functions @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-fusionapps/pom.xml b/bmc-fusionapps/pom.xml index aa1d720708c..853843618f9 100644 --- a/bmc-fusionapps/pom.xml +++ b/bmc-fusionapps/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-fusionapps @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-gdp/pom.xml b/bmc-gdp/pom.xml index f3bc5aa2c97..afa3ee17912 100644 --- a/bmc-gdp/pom.xml +++ b/bmc-gdp/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-gdp @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-generativeai/pom.xml b/bmc-generativeai/pom.xml index 177a65ecebe..3ea4b449fec 100644 --- a/bmc-generativeai/pom.xml +++ b/bmc-generativeai/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-generativeai @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-generativeaiagent/pom.xml b/bmc-generativeaiagent/pom.xml index 6f7bc6c476a..4184cb1e1e9 100644 --- a/bmc-generativeaiagent/pom.xml +++ b/bmc-generativeaiagent/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-generativeaiagent @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-generativeaiagentruntime/pom.xml b/bmc-generativeaiagentruntime/pom.xml index 40011535138..5cf9c99cdff 100644 --- a/bmc-generativeaiagentruntime/pom.xml +++ b/bmc-generativeaiagentruntime/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-generativeaiagentruntime @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-generativeaidata/pom.xml b/bmc-generativeaidata/pom.xml index bdb7cd61303..c9f2e4c70b3 100644 --- a/bmc-generativeaidata/pom.xml +++ b/bmc-generativeaidata/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-generativeaidata @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-generativeaiinference/pom.xml b/bmc-generativeaiinference/pom.xml index bdfd5c5b491..090c7bb3605 100644 --- a/bmc-generativeaiinference/pom.xml +++ b/bmc-generativeaiinference/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-generativeaiinference @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-generativeaisandbox/pom.xml b/bmc-generativeaisandbox/pom.xml index 67054ae3ade..2fc6c7e6180 100644 --- a/bmc-generativeaisandbox/pom.xml +++ b/bmc-generativeaisandbox/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-generativeaisandbox @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-genericartifactscontent/pom.xml b/bmc-genericartifactscontent/pom.xml index 642fa269614..4b8e07113c7 100644 --- a/bmc-genericartifactscontent/pom.xml +++ b/bmc-genericartifactscontent/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-genericartifactscontent @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-goldengate/pom.xml b/bmc-goldengate/pom.xml index 5602bd7e0ac..4a8d43f38fb 100644 --- a/bmc-goldengate/pom.xml +++ b/bmc-goldengate/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-goldengate @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/GoldenGate.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/GoldenGate.java index 6b6d3d8f976..aefbf3b9bd8 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/GoldenGate.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/GoldenGate.java @@ -201,7 +201,7 @@ ChangeConnectionCompartmentResponse changeConnectionCompartment( ChangeConnectionCompartmentRequest request); /** - * Associate a GoldanGate connection with a different subscription. + * Associate a GoldenGate connection with a different subscription. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/GoldenGateAsync.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/GoldenGateAsync.java index 84d7a88307b..600daafefe7 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/GoldenGateAsync.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/GoldenGateAsync.java @@ -196,7 +196,7 @@ java.util.concurrent.Future changeConnectio handler); /** - * Associate a GoldanGate connection with a different subscription. + * Associate a GoldenGate connection with a different subscription. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/AzureStorageIcebergStorage.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/AzureStorageIcebergStorage.java new file mode 100644 index 00000000000..d1c13fd2661 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/AzureStorageIcebergStorage.java @@ -0,0 +1,241 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * Represents an Azure Storage storage used in the Iceberg connection for an Oracle AI Data Catalog + * Iceberg catalogs.
+ * 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: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AzureStorageIcebergStorage.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "storageType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AzureStorageIcebergStorage extends IcebergStorage { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The Azure Storage account name. */ + @com.fasterxml.jackson.annotation.JsonProperty("accountName") + private String accountName; + + /** + * The Azure Storage account name. + * + * @param accountName the value to set + * @return this builder + */ + public Builder accountName(String accountName) { + this.accountName = accountName; + this.__explicitlySet__.add("accountName"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the Azure Storage account key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("accountKeySecretId") + private String accountKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the Azure Storage account key. + * + * @param accountKeySecretId the value to set + * @return this builder + */ + public Builder accountKeySecretId(String accountKeySecretId) { + this.accountKeySecretId = accountKeySecretId; + this.__explicitlySet__.add("accountKeySecretId"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties + * for the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + */ + @com.fasterxml.jackson.annotation.JsonProperty("propertiesSecretId") + private String propertiesSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties + * for the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * + * @param propertiesSecretId the value to set + * @return this builder + */ + public Builder propertiesSecretId(String propertiesSecretId) { + this.propertiesSecretId = propertiesSecretId; + this.__explicitlySet__.add("propertiesSecretId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AzureStorageIcebergStorage build() { + AzureStorageIcebergStorage model = + new AzureStorageIcebergStorage( + this.accountName, this.accountKeySecretId, this.propertiesSecretId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AzureStorageIcebergStorage model) { + if (model.wasPropertyExplicitlySet("accountName")) { + this.accountName(model.getAccountName()); + } + if (model.wasPropertyExplicitlySet("accountKeySecretId")) { + this.accountKeySecretId(model.getAccountKeySecretId()); + } + if (model.wasPropertyExplicitlySet("propertiesSecretId")) { + this.propertiesSecretId(model.getPropertiesSecretId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public AzureStorageIcebergStorage( + String accountName, String accountKeySecretId, String propertiesSecretId) { + super(); + this.accountName = accountName; + this.accountKeySecretId = accountKeySecretId; + this.propertiesSecretId = propertiesSecretId; + } + + /** The Azure Storage account name. */ + @com.fasterxml.jackson.annotation.JsonProperty("accountName") + private final String accountName; + + /** + * The Azure Storage account name. + * + * @return the value + */ + public String getAccountName() { + return accountName; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the Azure Storage account key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("accountKeySecretId") + private final String accountKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the Azure Storage account key. + * + * @return the value + */ + public String getAccountKeySecretId() { + return accountKeySecretId; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties for + * the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + */ + @com.fasterxml.jackson.annotation.JsonProperty("propertiesSecretId") + private final String propertiesSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties for + * the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * + * @return the value + */ + public String getPropertiesSecretId() { + return propertiesSecretId; + } + + @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("AzureStorageIcebergStorage("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", accountName=").append(String.valueOf(this.accountName)); + sb.append(", accountKeySecretId=").append(String.valueOf(this.accountKeySecretId)); + sb.append(", propertiesSecretId=").append(String.valueOf(this.propertiesSecretId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AzureStorageIcebergStorage)) { + return false; + } + + AzureStorageIcebergStorage other = (AzureStorageIcebergStorage) o; + return java.util.Objects.equals(this.accountName, other.accountName) + && java.util.Objects.equals(this.accountKeySecretId, other.accountKeySecretId) + && java.util.Objects.equals(this.propertiesSecretId, other.propertiesSecretId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.accountName == null ? 43 : this.accountName.hashCode()); + result = + (result * PRIME) + + (this.accountKeySecretId == null + ? 43 + : this.accountKeySecretId.hashCode()); + result = + (result * PRIME) + + (this.propertiesSecretId == null + ? 43 + : this.propertiesSecretId.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/AzureStorageIcebergStorageSummary.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/AzureStorageIcebergStorageSummary.java new file mode 100644 index 00000000000..b1356fc436a --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/AzureStorageIcebergStorageSummary.java @@ -0,0 +1,241 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * Summary of the Azure Storage storage used in the Iceberg connection for an Oracle AI Data Catalog + * Iceberg catalogs.
+ * 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: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AzureStorageIcebergStorageSummary.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "storageType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AzureStorageIcebergStorageSummary extends IcebergStorageSummary { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The Azure Storage account name. */ + @com.fasterxml.jackson.annotation.JsonProperty("accountName") + private String accountName; + + /** + * The Azure Storage account name. + * + * @param accountName the value to set + * @return this builder + */ + public Builder accountName(String accountName) { + this.accountName = accountName; + this.__explicitlySet__.add("accountName"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the Azure Storage account key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("accountKeySecretId") + private String accountKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the Azure Storage account key. + * + * @param accountKeySecretId the value to set + * @return this builder + */ + public Builder accountKeySecretId(String accountKeySecretId) { + this.accountKeySecretId = accountKeySecretId; + this.__explicitlySet__.add("accountKeySecretId"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties + * for the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + */ + @com.fasterxml.jackson.annotation.JsonProperty("propertiesSecretId") + private String propertiesSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties + * for the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * + * @param propertiesSecretId the value to set + * @return this builder + */ + public Builder propertiesSecretId(String propertiesSecretId) { + this.propertiesSecretId = propertiesSecretId; + this.__explicitlySet__.add("propertiesSecretId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AzureStorageIcebergStorageSummary build() { + AzureStorageIcebergStorageSummary model = + new AzureStorageIcebergStorageSummary( + this.accountName, this.accountKeySecretId, this.propertiesSecretId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AzureStorageIcebergStorageSummary model) { + if (model.wasPropertyExplicitlySet("accountName")) { + this.accountName(model.getAccountName()); + } + if (model.wasPropertyExplicitlySet("accountKeySecretId")) { + this.accountKeySecretId(model.getAccountKeySecretId()); + } + if (model.wasPropertyExplicitlySet("propertiesSecretId")) { + this.propertiesSecretId(model.getPropertiesSecretId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public AzureStorageIcebergStorageSummary( + String accountName, String accountKeySecretId, String propertiesSecretId) { + super(); + this.accountName = accountName; + this.accountKeySecretId = accountKeySecretId; + this.propertiesSecretId = propertiesSecretId; + } + + /** The Azure Storage account name. */ + @com.fasterxml.jackson.annotation.JsonProperty("accountName") + private final String accountName; + + /** + * The Azure Storage account name. + * + * @return the value + */ + public String getAccountName() { + return accountName; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the Azure Storage account key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("accountKeySecretId") + private final String accountKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the Azure Storage account key. + * + * @return the value + */ + public String getAccountKeySecretId() { + return accountKeySecretId; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties for + * the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + */ + @com.fasterxml.jackson.annotation.JsonProperty("propertiesSecretId") + private final String propertiesSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties for + * the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * + * @return the value + */ + public String getPropertiesSecretId() { + return propertiesSecretId; + } + + @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("AzureStorageIcebergStorageSummary("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", accountName=").append(String.valueOf(this.accountName)); + sb.append(", accountKeySecretId=").append(String.valueOf(this.accountKeySecretId)); + sb.append(", propertiesSecretId=").append(String.valueOf(this.propertiesSecretId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AzureStorageIcebergStorageSummary)) { + return false; + } + + AzureStorageIcebergStorageSummary other = (AzureStorageIcebergStorageSummary) o; + return java.util.Objects.equals(this.accountName, other.accountName) + && java.util.Objects.equals(this.accountKeySecretId, other.accountKeySecretId) + && java.util.Objects.equals(this.propertiesSecretId, other.propertiesSecretId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.accountName == null ? 43 : this.accountName.hashCode()); + result = + (result * PRIME) + + (this.accountKeySecretId == null + ? 43 + : this.accountKeySecretId.hashCode()); + result = + (result * PRIME) + + (this.propertiesSecretId == null + ? 43 + : this.propertiesSecretId.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/AzureStorageWarehouseStorage.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/AzureStorageWarehouseStorage.java new file mode 100644 index 00000000000..d4359c7bd39 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/AzureStorageWarehouseStorage.java @@ -0,0 +1,184 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * Represents an Azure Storage warehouse storage configuration for Oracle AI Data Catalog Storage + * connection.
+ * 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: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AzureStorageWarehouseStorage.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "storageType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AzureStorageWarehouseStorage extends WarehouseStorage { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The Azure Storage account name. */ + @com.fasterxml.jackson.annotation.JsonProperty("accountName") + private String accountName; + + /** + * The Azure Storage account name. + * + * @param accountName the value to set + * @return this builder + */ + public Builder accountName(String accountName) { + this.accountName = accountName; + this.__explicitlySet__.add("accountName"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the Azure Storage account key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("accountKeySecretId") + private String accountKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the Azure Storage account key. + * + * @param accountKeySecretId the value to set + * @return this builder + */ + public Builder accountKeySecretId(String accountKeySecretId) { + this.accountKeySecretId = accountKeySecretId; + this.__explicitlySet__.add("accountKeySecretId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AzureStorageWarehouseStorage build() { + AzureStorageWarehouseStorage model = + new AzureStorageWarehouseStorage(this.accountName, this.accountKeySecretId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AzureStorageWarehouseStorage model) { + if (model.wasPropertyExplicitlySet("accountName")) { + this.accountName(model.getAccountName()); + } + if (model.wasPropertyExplicitlySet("accountKeySecretId")) { + this.accountKeySecretId(model.getAccountKeySecretId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public AzureStorageWarehouseStorage(String accountName, String accountKeySecretId) { + super(); + this.accountName = accountName; + this.accountKeySecretId = accountKeySecretId; + } + + /** The Azure Storage account name. */ + @com.fasterxml.jackson.annotation.JsonProperty("accountName") + private final String accountName; + + /** + * The Azure Storage account name. + * + * @return the value + */ + public String getAccountName() { + return accountName; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the Azure Storage account key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("accountKeySecretId") + private final String accountKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the Azure Storage account key. + * + * @return the value + */ + public String getAccountKeySecretId() { + return accountKeySecretId; + } + + @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("AzureStorageWarehouseStorage("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", accountName=").append(String.valueOf(this.accountName)); + sb.append(", accountKeySecretId=").append(String.valueOf(this.accountKeySecretId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AzureStorageWarehouseStorage)) { + return false; + } + + AzureStorageWarehouseStorage other = (AzureStorageWarehouseStorage) o; + return java.util.Objects.equals(this.accountName, other.accountName) + && java.util.Objects.equals(this.accountKeySecretId, other.accountKeySecretId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.accountName == null ? 43 : this.accountName.hashCode()); + result = + (result * PRIME) + + (this.accountKeySecretId == null + ? 43 + : this.accountKeySecretId.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/AzureStorageWarehouseStorageSummary.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/AzureStorageWarehouseStorageSummary.java new file mode 100644 index 00000000000..a563358c596 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/AzureStorageWarehouseStorageSummary.java @@ -0,0 +1,185 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * Summary of the Azure Storage warehouse storage configuration for Oracle AI Data Catalog Storage + * connection.
+ * 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: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AzureStorageWarehouseStorageSummary.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "storageType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AzureStorageWarehouseStorageSummary extends WarehouseStorageSummary { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The Azure Storage account name. */ + @com.fasterxml.jackson.annotation.JsonProperty("accountName") + private String accountName; + + /** + * The Azure Storage account name. + * + * @param accountName the value to set + * @return this builder + */ + public Builder accountName(String accountName) { + this.accountName = accountName; + this.__explicitlySet__.add("accountName"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the Azure Storage account key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("accountKeySecretId") + private String accountKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the Azure Storage account key. + * + * @param accountKeySecretId the value to set + * @return this builder + */ + public Builder accountKeySecretId(String accountKeySecretId) { + this.accountKeySecretId = accountKeySecretId; + this.__explicitlySet__.add("accountKeySecretId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AzureStorageWarehouseStorageSummary build() { + AzureStorageWarehouseStorageSummary model = + new AzureStorageWarehouseStorageSummary( + this.accountName, this.accountKeySecretId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AzureStorageWarehouseStorageSummary model) { + if (model.wasPropertyExplicitlySet("accountName")) { + this.accountName(model.getAccountName()); + } + if (model.wasPropertyExplicitlySet("accountKeySecretId")) { + this.accountKeySecretId(model.getAccountKeySecretId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public AzureStorageWarehouseStorageSummary(String accountName, String accountKeySecretId) { + super(); + this.accountName = accountName; + this.accountKeySecretId = accountKeySecretId; + } + + /** The Azure Storage account name. */ + @com.fasterxml.jackson.annotation.JsonProperty("accountName") + private final String accountName; + + /** + * The Azure Storage account name. + * + * @return the value + */ + public String getAccountName() { + return accountName; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the Azure Storage account key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("accountKeySecretId") + private final String accountKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the Azure Storage account key. + * + * @return the value + */ + public String getAccountKeySecretId() { + return accountKeySecretId; + } + + @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("AzureStorageWarehouseStorageSummary("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", accountName=").append(String.valueOf(this.accountName)); + sb.append(", accountKeySecretId=").append(String.valueOf(this.accountKeySecretId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AzureStorageWarehouseStorageSummary)) { + return false; + } + + AzureStorageWarehouseStorageSummary other = (AzureStorageWarehouseStorageSummary) o; + return java.util.Objects.equals(this.accountName, other.accountName) + && java.util.Objects.equals(this.accountKeySecretId, other.accountKeySecretId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.accountName == null ? 43 : this.accountName.hashCode()); + result = + (result * PRIME) + + (this.accountKeySecretId == null + ? 43 + : this.accountKeySecretId.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/Connection.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/Connection.java index 76a56d267e4..56868bfd7a2 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/Connection.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/Connection.java @@ -66,6 +66,9 @@ @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = AzureSynapseConnection.class, name = "AZURE_SYNAPSE_ANALYTICS"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = OracleAiDataCatalogStorageConnection.class, + name = "ORACLE_AI_DATA_CATALOG_STORAGE"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = MicrosoftFabricConnection.class, name = "MICROSOFT_FABRIC"), diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/ConnectionSummary.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/ConnectionSummary.java index bc37c2edc08..19b1a1cc524 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/ConnectionSummary.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/ConnectionSummary.java @@ -85,6 +85,9 @@ @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = SparkConnectionSummary.class, name = "SPARK"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = OracleAiDataCatalogStorageConnectionSummary.class, + name = "ORACLE_AI_DATA_CATALOG_STORAGE"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = AzureDataLakeStorageConnectionSummary.class, name = "AZURE_DATA_LAKE_STORAGE"), diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/ConnectionType.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/ConnectionType.java index e9e7d89d275..ab05ef7bc86 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/ConnectionType.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/ConnectionType.java @@ -23,6 +23,7 @@ public enum ConnectionType implements com.oracle.bmc.http.internal.BmcEnum { Hdfs("HDFS"), OracleAiDataPlatform("ORACLE_AI_DATA_PLATFORM"), OracleAiDataPlatformEngine("ORACLE_AI_DATA_PLATFORM_ENGINE"), + OracleAiDataCatalogStorage("ORACLE_AI_DATA_CATALOG_STORAGE"), OracleNosql("ORACLE_NOSQL"), Mongodb("MONGODB"), AmazonKinesis("AMAZON_KINESIS"), diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateAzureStorageIcebergStorageDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateAzureStorageIcebergStorageDetails.java new file mode 100644 index 00000000000..68bad0c3fb4 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateAzureStorageIcebergStorageDetails.java @@ -0,0 +1,384 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * The information about a new Azure Storage storage used in the Iceberg connection for an Oracle AI + * Data Catalog Iceberg catalogs.
+ * 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: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = CreateAzureStorageIcebergStorageDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "storageType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class CreateAzureStorageIcebergStorageDetails extends CreateIcebergStorageDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The Azure Storage account name. */ + @com.fasterxml.jackson.annotation.JsonProperty("accountName") + private String accountName; + + /** + * The Azure Storage account name. + * + * @param accountName the value to set + * @return this builder + */ + public Builder accountName(String accountName) { + this.accountName = accountName; + this.__explicitlySet__.add("accountName"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the Azure Storage account key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("accountKeySecretId") + private String accountKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the Azure Storage account key. + * + * @param accountKeySecretId the value to set + * @return this builder + */ + public Builder accountKeySecretId(String accountKeySecretId) { + this.accountKeySecretId = accountKeySecretId; + this.__explicitlySet__.add("accountKeySecretId"); + return this; + } + /** The Azure Storage account key. */ + @com.fasterxml.jackson.annotation.JsonProperty("accountKey") + private char[] accountKey; + + /** + * The Azure Storage account key. + * + * @param accountKey the value to set + * @return this builder + */ + public Builder accountKey(char[] accountKey) { + this.accountKey = accountKey; + this.__explicitlySet__.add("accountKey"); + return this; + } + + public Builder accountKey(String accountKey) { + this.accountKey = accountKey != null ? accountKey.toCharArray() : null; + this.__explicitlySet__.add("accountKey"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties + * for the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + */ + @com.fasterxml.jackson.annotation.JsonProperty("propertiesSecretId") + private String propertiesSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties + * for the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * + * @param propertiesSecretId the value to set + * @return this builder + */ + public Builder propertiesSecretId(String propertiesSecretId) { + this.propertiesSecretId = propertiesSecretId; + this.__explicitlySet__.add("propertiesSecretId"); + return this; + } + /** + * The base64 encoded content of the configuration file containing additional properties for + * the REST catalog. + */ + @com.fasterxml.jackson.annotation.JsonProperty("properties") + private char[] properties; + + /** + * The base64 encoded content of the configuration file containing additional properties for + * the REST catalog. + * + * @param properties the value to set + * @return this builder + */ + public Builder properties(char[] properties) { + this.properties = properties; + this.__explicitlySet__.add("properties"); + return this; + } + + public Builder properties(String properties) { + this.properties = properties != null ? properties.toCharArray() : null; + this.__explicitlySet__.add("properties"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public CreateAzureStorageIcebergStorageDetails build() { + CreateAzureStorageIcebergStorageDetails model = + new CreateAzureStorageIcebergStorageDetails( + this.accountName, + this.accountKeySecretId, + this.accountKey, + this.propertiesSecretId, + this.properties); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(CreateAzureStorageIcebergStorageDetails model) { + if (model.wasPropertyExplicitlySet("accountName")) { + this.accountName(model.getAccountName()); + } + if (model.wasPropertyExplicitlySet("accountKeySecretId")) { + this.accountKeySecretId(model.getAccountKeySecretId()); + } + if (model.wasPropertyExplicitlySet("accountKey")) { + this.accountKey(model.getAccountKey()); + } + if (model.wasPropertyExplicitlySet("propertiesSecretId")) { + this.propertiesSecretId(model.getPropertiesSecretId()); + } + if (model.wasPropertyExplicitlySet("properties")) { + this.properties(model.getProperties()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public CreateAzureStorageIcebergStorageDetails( + String accountName, + String accountKeySecretId, + String accountKey, + String propertiesSecretId, + String properties) { + super(); + this.accountName = accountName; + this.accountKeySecretId = accountKeySecretId; + this.accountKey = accountKey != null ? accountKey.toCharArray() : null; + this.propertiesSecretId = propertiesSecretId; + this.properties = properties != null ? properties.toCharArray() : null; + } + + @com.fasterxml.jackson.annotation.JsonCreator + @Deprecated + public CreateAzureStorageIcebergStorageDetails( + @com.fasterxml.jackson.annotation.JsonProperty("accountName") String accountName, + @com.fasterxml.jackson.annotation.JsonProperty("accountKeySecretId") + String accountKeySecretId, + @com.fasterxml.jackson.annotation.JsonProperty("accountKey") char[] accountKey, + @com.fasterxml.jackson.annotation.JsonProperty("propertiesSecretId") + String propertiesSecretId, + @com.fasterxml.jackson.annotation.JsonProperty("properties") char[] properties) { + super(); + this.accountName = accountName; + this.accountKeySecretId = accountKeySecretId; + this.accountKey = accountKey; + this.propertiesSecretId = propertiesSecretId; + this.properties = properties; + } + + /** The Azure Storage account name. */ + @com.fasterxml.jackson.annotation.JsonProperty("accountName") + private final String accountName; + + /** + * The Azure Storage account name. + * + * @return the value + */ + public String getAccountName() { + return accountName; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the Azure Storage account key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("accountKeySecretId") + private final String accountKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the Azure Storage account key. + * + * @return the value + */ + public String getAccountKeySecretId() { + return accountKeySecretId; + } + + /** The Azure Storage account key. */ + @com.fasterxml.jackson.annotation.JsonProperty("accountKey") + private final char[] accountKey; + + /** + * The Azure Storage account key. + * + * @return the value + * @deprecated Use getAccountKey__AsCharArray() instead. + */ + @Deprecated + @com.fasterxml.jackson.annotation.JsonIgnore + public String getAccountKey() { + return accountKey != null ? new String(accountKey) : null; + } + + /** + * The Azure Storage account key. + * + * @return the value + */ + @com.fasterxml.jackson.annotation.JsonProperty("accountKey") + public char[] getAccountKey__AsCharArray() { + return accountKey; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties for + * the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + */ + @com.fasterxml.jackson.annotation.JsonProperty("propertiesSecretId") + private final String propertiesSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties for + * the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * + * @return the value + */ + public String getPropertiesSecretId() { + return propertiesSecretId; + } + + /** + * The base64 encoded content of the configuration file containing additional properties for the + * REST catalog. + */ + @com.fasterxml.jackson.annotation.JsonProperty("properties") + private final char[] properties; + + /** + * The base64 encoded content of the configuration file containing additional properties for the + * REST catalog. + * + * @return the value + * @deprecated Use getProperties__AsCharArray() instead. + */ + @Deprecated + @com.fasterxml.jackson.annotation.JsonIgnore + public String getProperties() { + return properties != null ? new String(properties) : null; + } + + /** + * The base64 encoded content of the configuration file containing additional properties for the + * REST catalog. + * + * @return the value + */ + @com.fasterxml.jackson.annotation.JsonProperty("properties") + public char[] getProperties__AsCharArray() { + return properties; + } + + @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("CreateAzureStorageIcebergStorageDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", accountName=").append(String.valueOf(this.accountName)); + sb.append(", accountKeySecretId=").append(String.valueOf(this.accountKeySecretId)); + sb.append(", accountKey=").append(""); + sb.append(", propertiesSecretId=").append(String.valueOf(this.propertiesSecretId)); + sb.append(", properties=").append(""); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CreateAzureStorageIcebergStorageDetails)) { + return false; + } + + CreateAzureStorageIcebergStorageDetails other = (CreateAzureStorageIcebergStorageDetails) o; + return java.util.Objects.equals(this.accountName, other.accountName) + && java.util.Objects.equals(this.accountKeySecretId, other.accountKeySecretId) + && java.util.Objects.equals(this.accountKey, other.accountKey) + && java.util.Objects.equals(this.propertiesSecretId, other.propertiesSecretId) + && java.util.Objects.equals(this.properties, other.properties) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.accountName == null ? 43 : this.accountName.hashCode()); + result = + (result * PRIME) + + (this.accountKeySecretId == null + ? 43 + : this.accountKeySecretId.hashCode()); + result = (result * PRIME) + (this.accountKey == null ? 43 : this.accountKey.hashCode()); + result = + (result * PRIME) + + (this.propertiesSecretId == null + ? 43 + : this.propertiesSecretId.hashCode()); + result = (result * PRIME) + (this.properties == null ? 43 : this.properties.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateAzureStorageWarehouseStorageDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateAzureStorageWarehouseStorageDetails.java new file mode 100644 index 00000000000..28855a9b051 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateAzureStorageWarehouseStorageDetails.java @@ -0,0 +1,254 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * The information about a new Azure Storage warehouse storage configuration for Oracle AI Data + * Catalog Storage connection.
+ * 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: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = CreateAzureStorageWarehouseStorageDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "storageType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class CreateAzureStorageWarehouseStorageDetails extends CreateWarehouseStorageDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The Azure Storage account name. */ + @com.fasterxml.jackson.annotation.JsonProperty("accountName") + private String accountName; + + /** + * The Azure Storage account name. + * + * @param accountName the value to set + * @return this builder + */ + public Builder accountName(String accountName) { + this.accountName = accountName; + this.__explicitlySet__.add("accountName"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the Azure Storage account key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("accountKeySecretId") + private String accountKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the Azure Storage account key. + * + * @param accountKeySecretId the value to set + * @return this builder + */ + public Builder accountKeySecretId(String accountKeySecretId) { + this.accountKeySecretId = accountKeySecretId; + this.__explicitlySet__.add("accountKeySecretId"); + return this; + } + /** The Azure Storage account key. */ + @com.fasterxml.jackson.annotation.JsonProperty("accountKey") + private char[] accountKey; + + /** + * The Azure Storage account key. + * + * @param accountKey the value to set + * @return this builder + */ + public Builder accountKey(char[] accountKey) { + this.accountKey = accountKey; + this.__explicitlySet__.add("accountKey"); + return this; + } + + public Builder accountKey(String accountKey) { + this.accountKey = accountKey != null ? accountKey.toCharArray() : null; + this.__explicitlySet__.add("accountKey"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public CreateAzureStorageWarehouseStorageDetails build() { + CreateAzureStorageWarehouseStorageDetails model = + new CreateAzureStorageWarehouseStorageDetails( + this.accountName, this.accountKeySecretId, this.accountKey); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(CreateAzureStorageWarehouseStorageDetails model) { + if (model.wasPropertyExplicitlySet("accountName")) { + this.accountName(model.getAccountName()); + } + if (model.wasPropertyExplicitlySet("accountKeySecretId")) { + this.accountKeySecretId(model.getAccountKeySecretId()); + } + if (model.wasPropertyExplicitlySet("accountKey")) { + this.accountKey(model.getAccountKey()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public CreateAzureStorageWarehouseStorageDetails( + String accountName, String accountKeySecretId, String accountKey) { + super(); + this.accountName = accountName; + this.accountKeySecretId = accountKeySecretId; + this.accountKey = accountKey != null ? accountKey.toCharArray() : null; + } + + @com.fasterxml.jackson.annotation.JsonCreator + @Deprecated + public CreateAzureStorageWarehouseStorageDetails( + @com.fasterxml.jackson.annotation.JsonProperty("accountName") String accountName, + @com.fasterxml.jackson.annotation.JsonProperty("accountKeySecretId") + String accountKeySecretId, + @com.fasterxml.jackson.annotation.JsonProperty("accountKey") char[] accountKey) { + super(); + this.accountName = accountName; + this.accountKeySecretId = accountKeySecretId; + this.accountKey = accountKey; + } + + /** The Azure Storage account name. */ + @com.fasterxml.jackson.annotation.JsonProperty("accountName") + private final String accountName; + + /** + * The Azure Storage account name. + * + * @return the value + */ + public String getAccountName() { + return accountName; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the Azure Storage account key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("accountKeySecretId") + private final String accountKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the Azure Storage account key. + * + * @return the value + */ + public String getAccountKeySecretId() { + return accountKeySecretId; + } + + /** The Azure Storage account key. */ + @com.fasterxml.jackson.annotation.JsonProperty("accountKey") + private final char[] accountKey; + + /** + * The Azure Storage account key. + * + * @return the value + * @deprecated Use getAccountKey__AsCharArray() instead. + */ + @Deprecated + @com.fasterxml.jackson.annotation.JsonIgnore + public String getAccountKey() { + return accountKey != null ? new String(accountKey) : null; + } + + /** + * The Azure Storage account key. + * + * @return the value + */ + @com.fasterxml.jackson.annotation.JsonProperty("accountKey") + public char[] getAccountKey__AsCharArray() { + return accountKey; + } + + @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("CreateAzureStorageWarehouseStorageDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", accountName=").append(String.valueOf(this.accountName)); + sb.append(", accountKeySecretId=").append(String.valueOf(this.accountKeySecretId)); + sb.append(", accountKey=").append(""); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CreateAzureStorageWarehouseStorageDetails)) { + return false; + } + + CreateAzureStorageWarehouseStorageDetails other = + (CreateAzureStorageWarehouseStorageDetails) o; + return java.util.Objects.equals(this.accountName, other.accountName) + && java.util.Objects.equals(this.accountKeySecretId, other.accountKeySecretId) + && java.util.Objects.equals(this.accountKey, other.accountKey) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.accountName == null ? 43 : this.accountName.hashCode()); + result = + (result * PRIME) + + (this.accountKeySecretId == null + ? 43 + : this.accountKeySecretId.hashCode()); + result = (result * PRIME) + (this.accountKey == null ? 43 : this.accountKey.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateConnectionDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateConnectionDetails.java index f3e6c0d16bf..b388cc5de72 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateConnectionDetails.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateConnectionDetails.java @@ -37,6 +37,9 @@ @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = CreateAzureDataLakeStorageConnectionDetails.class, name = "AZURE_DATA_LAKE_STORAGE"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = CreateOracleAiDataCatalogStorageConnectionDetails.class, + name = "ORACLE_AI_DATA_CATALOG_STORAGE"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = CreateOracleAiDataPlatformEngineConnectionDetails.class, name = "ORACLE_AI_DATA_PLATFORM_ENGINE"), diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateDbCredentialsOracleAiDataCatalogIcebergCatalogConfigDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateDbCredentialsOracleAiDataCatalogIcebergCatalogConfigDetails.java new file mode 100644 index 00000000000..ff38014ad9b --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateDbCredentialsOracleAiDataCatalogIcebergCatalogConfigDetails.java @@ -0,0 +1,395 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * The information about a new Oracle AI Data Catalog configuration based on database credentials. + *
+ * 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: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = CreateDbCredentialsOracleAiDataCatalogIcebergCatalogConfigDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "catalogConfigType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class CreateDbCredentialsOracleAiDataCatalogIcebergCatalogConfigDetails + extends CreateOracleAiDataCatalogIcebergCatalogConfigDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The database type where Oracle AI Data Catalog is configured. */ + @com.fasterxml.jackson.annotation.JsonProperty("databaseType") + private OracleAiDataCatalogIcebergCatalogDatabaseType databaseType; + + /** + * The database type where Oracle AI Data Catalog is configured. + * + * @param databaseType the value to set + * @return this builder + */ + public Builder databaseType(OracleAiDataCatalogIcebergCatalogDatabaseType databaseType) { + this.databaseType = databaseType; + this.__explicitlySet__.add("databaseType"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * database being referenced. + */ + @com.fasterxml.jackson.annotation.JsonProperty("databaseId") + private String databaseId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * database being referenced. + * + * @param databaseId the value to set + * @return this builder + */ + public Builder databaseId(String databaseId) { + this.databaseId = databaseId; + this.__explicitlySet__.add("databaseId"); + return this; + } + /** + * The username Oracle GoldenGate uses to connect the associated system of the given + * technology. This username must already exist and be available by the system/application + * to be connected to and must conform to the case sensitivty requirments defined in it. + */ + @com.fasterxml.jackson.annotation.JsonProperty("username") + private String username; + + /** + * The username Oracle GoldenGate uses to connect the associated system of the given + * technology. This username must already exist and be available by the system/application + * to be connected to and must conform to the case sensitivty requirments defined in it. + * + * @param username the value to set + * @return this builder + */ + public Builder username(String username) { + this.username = username; + this.__explicitlySet__.add("username"); + return this; + } + /** + * The password Oracle GoldenGate uses to connect the associated system of the given + * technology. It must conform to the specific security requirements including length, case + * sensitivity, and so on. Deprecated: This field is deprecated and replaced by + * "passwordSecretId". This change follows the GoldenGate "Plain Text Fields in Connections" + * deprecation: + * https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate + */ + @com.fasterxml.jackson.annotation.JsonProperty("password") + private char[] password; + + /** + * The password Oracle GoldenGate uses to connect the associated system of the given + * technology. It must conform to the specific security requirements including length, case + * sensitivity, and so on. Deprecated: This field is deprecated and replaced by + * "passwordSecretId". This change follows the GoldenGate "Plain Text Fields in Connections" + * deprecation: + * https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate + * + * @param password the value to set + * @return this builder + */ + public Builder password(char[] password) { + this.password = password; + this.__explicitlySet__.add("password"); + return this; + } + + public Builder password(String password) { + this.password = password != null ? password.toCharArray() : null; + this.__explicitlySet__.add("password"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret where the password is stored. The password Oracle GoldenGate uses to connect the + * associated system of the given technology. It must conform to the specific security + * requirements including length, case sensitivity, and so on. If secretId is used plaintext + * field must not be provided. Note: When provided, 'password' field must not be provided. + */ + @com.fasterxml.jackson.annotation.JsonProperty("passwordSecretId") + private String passwordSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret where the password is stored. The password Oracle GoldenGate uses to connect the + * associated system of the given technology. It must conform to the specific security + * requirements including length, case sensitivity, and so on. If secretId is used plaintext + * field must not be provided. Note: When provided, 'password' field must not be provided. + * + * @param passwordSecretId the value to set + * @return this builder + */ + public Builder passwordSecretId(String passwordSecretId) { + this.passwordSecretId = passwordSecretId; + this.__explicitlySet__.add("passwordSecretId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public CreateDbCredentialsOracleAiDataCatalogIcebergCatalogConfigDetails build() { + CreateDbCredentialsOracleAiDataCatalogIcebergCatalogConfigDetails model = + new CreateDbCredentialsOracleAiDataCatalogIcebergCatalogConfigDetails( + this.databaseType, + this.databaseId, + this.username, + this.password, + this.passwordSecretId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy( + CreateDbCredentialsOracleAiDataCatalogIcebergCatalogConfigDetails model) { + if (model.wasPropertyExplicitlySet("databaseType")) { + this.databaseType(model.getDatabaseType()); + } + if (model.wasPropertyExplicitlySet("databaseId")) { + this.databaseId(model.getDatabaseId()); + } + if (model.wasPropertyExplicitlySet("username")) { + this.username(model.getUsername()); + } + if (model.wasPropertyExplicitlySet("password")) { + this.password(model.getPassword()); + } + if (model.wasPropertyExplicitlySet("passwordSecretId")) { + this.passwordSecretId(model.getPasswordSecretId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public CreateDbCredentialsOracleAiDataCatalogIcebergCatalogConfigDetails( + OracleAiDataCatalogIcebergCatalogDatabaseType databaseType, + String databaseId, + String username, + String password, + String passwordSecretId) { + super(); + this.databaseType = databaseType; + this.databaseId = databaseId; + this.username = username; + this.password = password != null ? password.toCharArray() : null; + this.passwordSecretId = passwordSecretId; + } + + @com.fasterxml.jackson.annotation.JsonCreator + @Deprecated + public CreateDbCredentialsOracleAiDataCatalogIcebergCatalogConfigDetails( + @com.fasterxml.jackson.annotation.JsonProperty("databaseType") + OracleAiDataCatalogIcebergCatalogDatabaseType databaseType, + @com.fasterxml.jackson.annotation.JsonProperty("databaseId") String databaseId, + @com.fasterxml.jackson.annotation.JsonProperty("username") String username, + @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password, + @com.fasterxml.jackson.annotation.JsonProperty("passwordSecretId") + String passwordSecretId) { + super(); + this.databaseType = databaseType; + this.databaseId = databaseId; + this.username = username; + this.password = password; + this.passwordSecretId = passwordSecretId; + } + + /** The database type where Oracle AI Data Catalog is configured. */ + @com.fasterxml.jackson.annotation.JsonProperty("databaseType") + private final OracleAiDataCatalogIcebergCatalogDatabaseType databaseType; + + /** + * The database type where Oracle AI Data Catalog is configured. + * + * @return the value + */ + public OracleAiDataCatalogIcebergCatalogDatabaseType getDatabaseType() { + return databaseType; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * database being referenced. + */ + @com.fasterxml.jackson.annotation.JsonProperty("databaseId") + private final String databaseId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * database being referenced. + * + * @return the value + */ + public String getDatabaseId() { + return databaseId; + } + + /** + * The username Oracle GoldenGate uses to connect the associated system of the given technology. + * This username must already exist and be available by the system/application to be connected + * to and must conform to the case sensitivty requirments defined in it. + */ + @com.fasterxml.jackson.annotation.JsonProperty("username") + private final String username; + + /** + * The username Oracle GoldenGate uses to connect the associated system of the given technology. + * This username must already exist and be available by the system/application to be connected + * to and must conform to the case sensitivty requirments defined in it. + * + * @return the value + */ + public String getUsername() { + return username; + } + + /** + * The password Oracle GoldenGate uses to connect the associated system of the given technology. + * It must conform to the specific security requirements including length, case sensitivity, and + * so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This change + * follows the GoldenGate "Plain Text Fields in Connections" deprecation: + * https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate + */ + @com.fasterxml.jackson.annotation.JsonProperty("password") + private final char[] password; + + /** + * The password Oracle GoldenGate uses to connect the associated system of the given technology. + * It must conform to the specific security requirements including length, case sensitivity, and + * so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". + * This change follows the GoldenGate "Plain Text Fields in Connections" deprecation: + * https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate + * + * @return the value + * @deprecated Use getPassword__AsCharArray() instead. + */ + @Deprecated + @com.fasterxml.jackson.annotation.JsonIgnore + public String getPassword() { + return password != null ? new String(password) : null; + } + + /** + * The password Oracle GoldenGate uses to connect the associated system of the given technology. + * It must conform to the specific security requirements including length, case sensitivity, and + * so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This change + * follows the GoldenGate "Plain Text Fields in Connections" deprecation: + * https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate + * + * @return the value + */ + @com.fasterxml.jackson.annotation.JsonProperty("password") + public char[] getPassword__AsCharArray() { + return password; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret where the password is stored. The password Oracle GoldenGate uses to connect the + * associated system of the given technology. It must conform to the specific security + * requirements including length, case sensitivity, and so on. If secretId is used plaintext + * field must not be provided. Note: When provided, 'password' field must not be provided. + */ + @com.fasterxml.jackson.annotation.JsonProperty("passwordSecretId") + private final String passwordSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret where the password is stored. The password Oracle GoldenGate uses to connect the + * associated system of the given technology. It must conform to the specific security + * requirements including length, case sensitivity, and so on. If secretId is used plaintext + * field must not be provided. Note: When provided, 'password' field must not be provided. + * + * @return the value + */ + public String getPasswordSecretId() { + return passwordSecretId; + } + + @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("CreateDbCredentialsOracleAiDataCatalogIcebergCatalogConfigDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", databaseType=").append(String.valueOf(this.databaseType)); + sb.append(", databaseId=").append(String.valueOf(this.databaseId)); + sb.append(", username=").append(String.valueOf(this.username)); + sb.append(", password=").append(""); + sb.append(", passwordSecretId=").append(String.valueOf(this.passwordSecretId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CreateDbCredentialsOracleAiDataCatalogIcebergCatalogConfigDetails)) { + return false; + } + + CreateDbCredentialsOracleAiDataCatalogIcebergCatalogConfigDetails other = + (CreateDbCredentialsOracleAiDataCatalogIcebergCatalogConfigDetails) o; + return java.util.Objects.equals(this.databaseType, other.databaseType) + && java.util.Objects.equals(this.databaseId, other.databaseId) + && java.util.Objects.equals(this.username, other.username) + && java.util.Objects.equals(this.password, other.password) + && java.util.Objects.equals(this.passwordSecretId, other.passwordSecretId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.databaseType == null ? 43 : this.databaseType.hashCode()); + result = (result * PRIME) + (this.databaseId == null ? 43 : this.databaseId.hashCode()); + result = (result * PRIME) + (this.username == null ? 43 : this.username.hashCode()); + result = (result * PRIME) + (this.password == null ? 43 : this.password.hashCode()); + result = + (result * PRIME) + + (this.passwordSecretId == null ? 43 : this.passwordSecretId.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateIcebergCatalogDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateIcebergCatalogDetails.java index c41daaae962..c942690160c 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateIcebergCatalogDetails.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateIcebergCatalogDetails.java @@ -22,6 +22,9 @@ property = "catalogType", defaultImpl = CreateIcebergCatalogDetails.class) @com.fasterxml.jackson.annotation.JsonSubTypes({ + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = CreateOracleAiDataCatalogIcebergCatalogDetails.class, + name = "OADC"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = CreatePolarisIcebergCatalogDetails.class, name = "POLARIS"), diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateIcebergStorageDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateIcebergStorageDetails.java index 1dab60894e4..046378a7655 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateIcebergStorageDetails.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateIcebergStorageDetails.java @@ -22,15 +22,24 @@ property = "storageType", defaultImpl = CreateIcebergStorageDetails.class) @com.fasterxml.jackson.annotation.JsonSubTypes({ + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = CreateZfsIcebergStorageDetails.class, + name = "ZFS"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = CreateAzureDataLakeStorageIcebergStorageDetails.class, name = "AZURE_DATA_LAKE_STORAGE"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = CreateNoIcebergStorageDetails.class, name = "NONE"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = CreateAzureStorageIcebergStorageDetails.class, + name = "AZURE_STORAGE"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = CreateGoogleCloudStorageIcebergStorageDetails.class, name = "GOOGLE_CLOUD_STORAGE"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = CreateOciObjectStorageAccessKeyIcebergStorageDetails.class, + name = "OCI_OBJECT_STORAGE_ACCESS_KEY"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = CreateAmazonS3IcebergStorageDetails.class, name = "AMAZON_S3"), diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateOciGoldenGateOracleAiDataCatalogIcebergCatalogConfigDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateOciGoldenGateOracleAiDataCatalogIcebergCatalogConfigDetails.java new file mode 100644 index 00000000000..7161cdc2e25 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateOciGoldenGateOracleAiDataCatalogIcebergCatalogConfigDetails.java @@ -0,0 +1,149 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * The information about a new Oracle AI Data Catalog configuration based on an OCI GoldenGate + * deployment.
+ * 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: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = CreateOciGoldenGateOracleAiDataCatalogIcebergCatalogConfigDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "catalogConfigType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class CreateOciGoldenGateOracleAiDataCatalogIcebergCatalogConfigDetails + extends CreateOracleAiDataCatalogIcebergCatalogConfigDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * deployment being referenced. + */ + @com.fasterxml.jackson.annotation.JsonProperty("deploymentId") + private String deploymentId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * deployment being referenced. + * + * @param deploymentId the value to set + * @return this builder + */ + public Builder deploymentId(String deploymentId) { + this.deploymentId = deploymentId; + this.__explicitlySet__.add("deploymentId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public CreateOciGoldenGateOracleAiDataCatalogIcebergCatalogConfigDetails build() { + CreateOciGoldenGateOracleAiDataCatalogIcebergCatalogConfigDetails model = + new CreateOciGoldenGateOracleAiDataCatalogIcebergCatalogConfigDetails( + this.deploymentId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy( + CreateOciGoldenGateOracleAiDataCatalogIcebergCatalogConfigDetails model) { + if (model.wasPropertyExplicitlySet("deploymentId")) { + this.deploymentId(model.getDeploymentId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public CreateOciGoldenGateOracleAiDataCatalogIcebergCatalogConfigDetails(String deploymentId) { + super(); + this.deploymentId = deploymentId; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * deployment being referenced. + */ + @com.fasterxml.jackson.annotation.JsonProperty("deploymentId") + private final String deploymentId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * deployment being referenced. + * + * @return the value + */ + public String getDeploymentId() { + return deploymentId; + } + + @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("CreateOciGoldenGateOracleAiDataCatalogIcebergCatalogConfigDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", deploymentId=").append(String.valueOf(this.deploymentId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CreateOciGoldenGateOracleAiDataCatalogIcebergCatalogConfigDetails)) { + return false; + } + + CreateOciGoldenGateOracleAiDataCatalogIcebergCatalogConfigDetails other = + (CreateOciGoldenGateOracleAiDataCatalogIcebergCatalogConfigDetails) o; + return java.util.Objects.equals(this.deploymentId, other.deploymentId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.deploymentId == null ? 43 : this.deploymentId.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateOciObjectStorageAccessKeyIcebergStorageDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateOciObjectStorageAccessKeyIcebergStorageDetails.java new file mode 100644 index 00000000000..7c2895c994f --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateOciObjectStorageAccessKeyIcebergStorageDetails.java @@ -0,0 +1,391 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * The information about a new OCI Object Storage configuration for an Oracle AI Data Catalog + * Iceberg catalog using access-key/secret-key credentials.
+ * 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: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = CreateOciObjectStorageAccessKeyIcebergStorageDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "storageType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class CreateOciObjectStorageAccessKeyIcebergStorageDetails + extends CreateIcebergStorageDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The access key ID used to access the OCI Object Storage bucket. */ + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") + private String accessKeyId; + + /** + * The access key ID used to access the OCI Object Storage bucket. + * + * @param accessKeyId the value to set + * @return this builder + */ + public Builder accessKeyId(String accessKeyId) { + this.accessKeyId = accessKeyId; + this.__explicitlySet__.add("accessKeyId"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the OCI Object Storage secret access key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + private String secretAccessKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the OCI Object Storage secret access key. + * + * @param secretAccessKeySecretId the value to set + * @return this builder + */ + public Builder secretAccessKeySecretId(String secretAccessKeySecretId) { + this.secretAccessKeySecretId = secretAccessKeySecretId; + this.__explicitlySet__.add("secretAccessKeySecretId"); + return this; + } + /** The secret access key used to access the warehouse storage. */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey") + private char[] secretAccessKey; + + /** + * The secret access key used to access the warehouse storage. + * + * @param secretAccessKey the value to set + * @return this builder + */ + public Builder secretAccessKey(char[] secretAccessKey) { + this.secretAccessKey = secretAccessKey; + this.__explicitlySet__.add("secretAccessKey"); + return this; + } + + public Builder secretAccessKey(String secretAccessKey) { + this.secretAccessKey = secretAccessKey != null ? secretAccessKey.toCharArray() : null; + this.__explicitlySet__.add("secretAccessKey"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties + * for the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + */ + @com.fasterxml.jackson.annotation.JsonProperty("propertiesSecretId") + private String propertiesSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties + * for the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * + * @param propertiesSecretId the value to set + * @return this builder + */ + public Builder propertiesSecretId(String propertiesSecretId) { + this.propertiesSecretId = propertiesSecretId; + this.__explicitlySet__.add("propertiesSecretId"); + return this; + } + /** + * The base64 encoded content of the configuration file containing additional properties for + * the REST catalog. + */ + @com.fasterxml.jackson.annotation.JsonProperty("properties") + private char[] properties; + + /** + * The base64 encoded content of the configuration file containing additional properties for + * the REST catalog. + * + * @param properties the value to set + * @return this builder + */ + public Builder properties(char[] properties) { + this.properties = properties; + this.__explicitlySet__.add("properties"); + return this; + } + + public Builder properties(String properties) { + this.properties = properties != null ? properties.toCharArray() : null; + this.__explicitlySet__.add("properties"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public CreateOciObjectStorageAccessKeyIcebergStorageDetails build() { + CreateOciObjectStorageAccessKeyIcebergStorageDetails model = + new CreateOciObjectStorageAccessKeyIcebergStorageDetails( + this.accessKeyId, + this.secretAccessKeySecretId, + this.secretAccessKey, + this.propertiesSecretId, + this.properties); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(CreateOciObjectStorageAccessKeyIcebergStorageDetails model) { + if (model.wasPropertyExplicitlySet("accessKeyId")) { + this.accessKeyId(model.getAccessKeyId()); + } + if (model.wasPropertyExplicitlySet("secretAccessKeySecretId")) { + this.secretAccessKeySecretId(model.getSecretAccessKeySecretId()); + } + if (model.wasPropertyExplicitlySet("secretAccessKey")) { + this.secretAccessKey(model.getSecretAccessKey()); + } + if (model.wasPropertyExplicitlySet("propertiesSecretId")) { + this.propertiesSecretId(model.getPropertiesSecretId()); + } + if (model.wasPropertyExplicitlySet("properties")) { + this.properties(model.getProperties()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public CreateOciObjectStorageAccessKeyIcebergStorageDetails( + String accessKeyId, + String secretAccessKeySecretId, + String secretAccessKey, + String propertiesSecretId, + String properties) { + super(); + this.accessKeyId = accessKeyId; + this.secretAccessKeySecretId = secretAccessKeySecretId; + this.secretAccessKey = secretAccessKey != null ? secretAccessKey.toCharArray() : null; + this.propertiesSecretId = propertiesSecretId; + this.properties = properties != null ? properties.toCharArray() : null; + } + + @com.fasterxml.jackson.annotation.JsonCreator + @Deprecated + public CreateOciObjectStorageAccessKeyIcebergStorageDetails( + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") String accessKeyId, + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + String secretAccessKeySecretId, + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey") + char[] secretAccessKey, + @com.fasterxml.jackson.annotation.JsonProperty("propertiesSecretId") + String propertiesSecretId, + @com.fasterxml.jackson.annotation.JsonProperty("properties") char[] properties) { + super(); + this.accessKeyId = accessKeyId; + this.secretAccessKeySecretId = secretAccessKeySecretId; + this.secretAccessKey = secretAccessKey; + this.propertiesSecretId = propertiesSecretId; + this.properties = properties; + } + + /** The access key ID used to access the OCI Object Storage bucket. */ + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") + private final String accessKeyId; + + /** + * The access key ID used to access the OCI Object Storage bucket. + * + * @return the value + */ + public String getAccessKeyId() { + return accessKeyId; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the OCI Object Storage secret access key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + private final String secretAccessKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the OCI Object Storage secret access key. + * + * @return the value + */ + public String getSecretAccessKeySecretId() { + return secretAccessKeySecretId; + } + + /** The secret access key used to access the warehouse storage. */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey") + private final char[] secretAccessKey; + + /** + * The secret access key used to access the warehouse storage. + * + * @return the value + * @deprecated Use getSecretAccessKey__AsCharArray() instead. + */ + @Deprecated + @com.fasterxml.jackson.annotation.JsonIgnore + public String getSecretAccessKey() { + return secretAccessKey != null ? new String(secretAccessKey) : null; + } + + /** + * The secret access key used to access the warehouse storage. + * + * @return the value + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey") + public char[] getSecretAccessKey__AsCharArray() { + return secretAccessKey; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties for + * the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + */ + @com.fasterxml.jackson.annotation.JsonProperty("propertiesSecretId") + private final String propertiesSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties for + * the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * + * @return the value + */ + public String getPropertiesSecretId() { + return propertiesSecretId; + } + + /** + * The base64 encoded content of the configuration file containing additional properties for the + * REST catalog. + */ + @com.fasterxml.jackson.annotation.JsonProperty("properties") + private final char[] properties; + + /** + * The base64 encoded content of the configuration file containing additional properties for the + * REST catalog. + * + * @return the value + * @deprecated Use getProperties__AsCharArray() instead. + */ + @Deprecated + @com.fasterxml.jackson.annotation.JsonIgnore + public String getProperties() { + return properties != null ? new String(properties) : null; + } + + /** + * The base64 encoded content of the configuration file containing additional properties for the + * REST catalog. + * + * @return the value + */ + @com.fasterxml.jackson.annotation.JsonProperty("properties") + public char[] getProperties__AsCharArray() { + return properties; + } + + @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("CreateOciObjectStorageAccessKeyIcebergStorageDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", accessKeyId=").append(String.valueOf(this.accessKeyId)); + sb.append(", secretAccessKeySecretId=") + .append(String.valueOf(this.secretAccessKeySecretId)); + sb.append(", secretAccessKey=").append(""); + sb.append(", propertiesSecretId=").append(String.valueOf(this.propertiesSecretId)); + sb.append(", properties=").append(""); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CreateOciObjectStorageAccessKeyIcebergStorageDetails)) { + return false; + } + + CreateOciObjectStorageAccessKeyIcebergStorageDetails other = + (CreateOciObjectStorageAccessKeyIcebergStorageDetails) o; + return java.util.Objects.equals(this.accessKeyId, other.accessKeyId) + && java.util.Objects.equals( + this.secretAccessKeySecretId, other.secretAccessKeySecretId) + && java.util.Objects.equals(this.secretAccessKey, other.secretAccessKey) + && java.util.Objects.equals(this.propertiesSecretId, other.propertiesSecretId) + && java.util.Objects.equals(this.properties, other.properties) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.accessKeyId == null ? 43 : this.accessKeyId.hashCode()); + result = + (result * PRIME) + + (this.secretAccessKeySecretId == null + ? 43 + : this.secretAccessKeySecretId.hashCode()); + result = + (result * PRIME) + + (this.secretAccessKey == null ? 43 : this.secretAccessKey.hashCode()); + result = + (result * PRIME) + + (this.propertiesSecretId == null + ? 43 + : this.propertiesSecretId.hashCode()); + result = (result * PRIME) + (this.properties == null ? 43 : this.properties.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateOciObjectStorageAccessKeyWarehouseStorageDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateOciObjectStorageAccessKeyWarehouseStorageDetails.java new file mode 100644 index 00000000000..61223e6507a --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateOciObjectStorageAccessKeyWarehouseStorageDetails.java @@ -0,0 +1,352 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * The information about a new OCI Object Storage warehouse storage configuration for Oracle AI Data + * Catalog Storage Connection using access-key/secret-key credentials.
+ * 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: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = CreateOciObjectStorageAccessKeyWarehouseStorageDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "storageType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class CreateOciObjectStorageAccessKeyWarehouseStorageDetails + extends CreateWarehouseStorageDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** Name of namespace that serves as a container for all of your buckets */ + @com.fasterxml.jackson.annotation.JsonProperty("namespaceName") + private String namespaceName; + + /** + * Name of namespace that serves as a container for all of your buckets + * + * @param namespaceName the value to set + * @return this builder + */ + public Builder namespaceName(String namespaceName) { + this.namespaceName = namespaceName; + this.__explicitlySet__.add("namespaceName"); + return this; + } + /** + * The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will + * default to the current region. + */ + @com.fasterxml.jackson.annotation.JsonProperty("region") + private String region; + + /** + * The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will + * default to the current region. + * + * @param region the value to set + * @return this builder + */ + public Builder region(String region) { + this.region = region; + this.__explicitlySet__.add("region"); + return this; + } + /** The access key ID used to access the OCI Object Storage bucket. */ + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") + private String accessKeyId; + + /** + * The access key ID used to access the OCI Object Storage bucket. + * + * @param accessKeyId the value to set + * @return this builder + */ + public Builder accessKeyId(String accessKeyId) { + this.accessKeyId = accessKeyId; + this.__explicitlySet__.add("accessKeyId"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the OCI Object Storage secret access key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + private String secretAccessKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the OCI Object Storage secret access key. + * + * @param secretAccessKeySecretId the value to set + * @return this builder + */ + public Builder secretAccessKeySecretId(String secretAccessKeySecretId) { + this.secretAccessKeySecretId = secretAccessKeySecretId; + this.__explicitlySet__.add("secretAccessKeySecretId"); + return this; + } + /** The secret access key used to access the warehouse storage. */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey") + private char[] secretAccessKey; + + /** + * The secret access key used to access the warehouse storage. + * + * @param secretAccessKey the value to set + * @return this builder + */ + public Builder secretAccessKey(char[] secretAccessKey) { + this.secretAccessKey = secretAccessKey; + this.__explicitlySet__.add("secretAccessKey"); + return this; + } + + public Builder secretAccessKey(String secretAccessKey) { + this.secretAccessKey = secretAccessKey != null ? secretAccessKey.toCharArray() : null; + this.__explicitlySet__.add("secretAccessKey"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public CreateOciObjectStorageAccessKeyWarehouseStorageDetails build() { + CreateOciObjectStorageAccessKeyWarehouseStorageDetails model = + new CreateOciObjectStorageAccessKeyWarehouseStorageDetails( + this.namespaceName, + this.region, + this.accessKeyId, + this.secretAccessKeySecretId, + this.secretAccessKey); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(CreateOciObjectStorageAccessKeyWarehouseStorageDetails model) { + if (model.wasPropertyExplicitlySet("namespaceName")) { + this.namespaceName(model.getNamespaceName()); + } + if (model.wasPropertyExplicitlySet("region")) { + this.region(model.getRegion()); + } + if (model.wasPropertyExplicitlySet("accessKeyId")) { + this.accessKeyId(model.getAccessKeyId()); + } + if (model.wasPropertyExplicitlySet("secretAccessKeySecretId")) { + this.secretAccessKeySecretId(model.getSecretAccessKeySecretId()); + } + if (model.wasPropertyExplicitlySet("secretAccessKey")) { + this.secretAccessKey(model.getSecretAccessKey()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public CreateOciObjectStorageAccessKeyWarehouseStorageDetails( + String namespaceName, + String region, + String accessKeyId, + String secretAccessKeySecretId, + String secretAccessKey) { + super(); + this.namespaceName = namespaceName; + this.region = region; + this.accessKeyId = accessKeyId; + this.secretAccessKeySecretId = secretAccessKeySecretId; + this.secretAccessKey = secretAccessKey != null ? secretAccessKey.toCharArray() : null; + } + + @com.fasterxml.jackson.annotation.JsonCreator + @Deprecated + public CreateOciObjectStorageAccessKeyWarehouseStorageDetails( + @com.fasterxml.jackson.annotation.JsonProperty("namespaceName") String namespaceName, + @com.fasterxml.jackson.annotation.JsonProperty("region") String region, + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") String accessKeyId, + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + String secretAccessKeySecretId, + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey") + char[] secretAccessKey) { + super(); + this.namespaceName = namespaceName; + this.region = region; + this.accessKeyId = accessKeyId; + this.secretAccessKeySecretId = secretAccessKeySecretId; + this.secretAccessKey = secretAccessKey; + } + + /** Name of namespace that serves as a container for all of your buckets */ + @com.fasterxml.jackson.annotation.JsonProperty("namespaceName") + private final String namespaceName; + + /** + * Name of namespace that serves as a container for all of your buckets + * + * @return the value + */ + public String getNamespaceName() { + return namespaceName; + } + + /** + * The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will + * default to the current region. + */ + @com.fasterxml.jackson.annotation.JsonProperty("region") + private final String region; + + /** + * The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will + * default to the current region. + * + * @return the value + */ + public String getRegion() { + return region; + } + + /** The access key ID used to access the OCI Object Storage bucket. */ + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") + private final String accessKeyId; + + /** + * The access key ID used to access the OCI Object Storage bucket. + * + * @return the value + */ + public String getAccessKeyId() { + return accessKeyId; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the OCI Object Storage secret access key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + private final String secretAccessKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the OCI Object Storage secret access key. + * + * @return the value + */ + public String getSecretAccessKeySecretId() { + return secretAccessKeySecretId; + } + + /** The secret access key used to access the warehouse storage. */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey") + private final char[] secretAccessKey; + + /** + * The secret access key used to access the warehouse storage. + * + * @return the value + * @deprecated Use getSecretAccessKey__AsCharArray() instead. + */ + @Deprecated + @com.fasterxml.jackson.annotation.JsonIgnore + public String getSecretAccessKey() { + return secretAccessKey != null ? new String(secretAccessKey) : null; + } + + /** + * The secret access key used to access the warehouse storage. + * + * @return the value + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey") + public char[] getSecretAccessKey__AsCharArray() { + return secretAccessKey; + } + + @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("CreateOciObjectStorageAccessKeyWarehouseStorageDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", namespaceName=").append(String.valueOf(this.namespaceName)); + sb.append(", region=").append(String.valueOf(this.region)); + sb.append(", accessKeyId=").append(String.valueOf(this.accessKeyId)); + sb.append(", secretAccessKeySecretId=") + .append(String.valueOf(this.secretAccessKeySecretId)); + sb.append(", secretAccessKey=").append(""); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CreateOciObjectStorageAccessKeyWarehouseStorageDetails)) { + return false; + } + + CreateOciObjectStorageAccessKeyWarehouseStorageDetails other = + (CreateOciObjectStorageAccessKeyWarehouseStorageDetails) o; + return java.util.Objects.equals(this.namespaceName, other.namespaceName) + && java.util.Objects.equals(this.region, other.region) + && java.util.Objects.equals(this.accessKeyId, other.accessKeyId) + && java.util.Objects.equals( + this.secretAccessKeySecretId, other.secretAccessKeySecretId) + && java.util.Objects.equals(this.secretAccessKey, other.secretAccessKey) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.namespaceName == null ? 43 : this.namespaceName.hashCode()); + result = (result * PRIME) + (this.region == null ? 43 : this.region.hashCode()); + result = (result * PRIME) + (this.accessKeyId == null ? 43 : this.accessKeyId.hashCode()); + result = + (result * PRIME) + + (this.secretAccessKeySecretId == null + ? 43 + : this.secretAccessKeySecretId.hashCode()); + result = + (result * PRIME) + + (this.secretAccessKey == null ? 43 : this.secretAccessKey.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateOracleAiDataCatalogIcebergCatalogConfigDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateOracleAiDataCatalogIcebergCatalogConfigDetails.java new file mode 100644 index 00000000000..7639e22e807 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateOracleAiDataCatalogIcebergCatalogConfigDetails.java @@ -0,0 +1,83 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * The information about a new Oracle AI Data Catalog configuration of given type used in an Iceberg + * connection.
+ * 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: 20200407") +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "catalogConfigType", + defaultImpl = CreateOracleAiDataCatalogIcebergCatalogConfigDetails.class) +@com.fasterxml.jackson.annotation.JsonSubTypes({ + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = CreateOciGoldenGateOracleAiDataCatalogIcebergCatalogConfigDetails.class, + name = "OCI_GOLDENGATE"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = CreateDbCredentialsOracleAiDataCatalogIcebergCatalogConfigDetails.class, + name = "DB_CREDENTIALS") +}) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public class CreateOracleAiDataCatalogIcebergCatalogConfigDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({}) + protected CreateOracleAiDataCatalogIcebergCatalogConfigDetails() { + super(); + } + + @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("CreateOracleAiDataCatalogIcebergCatalogConfigDetails("); + sb.append("super=").append(super.toString()); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CreateOracleAiDataCatalogIcebergCatalogConfigDetails)) { + return false; + } + + CreateOracleAiDataCatalogIcebergCatalogConfigDetails other = + (CreateOracleAiDataCatalogIcebergCatalogConfigDetails) o; + return super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateOracleAiDataCatalogIcebergCatalogDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateOracleAiDataCatalogIcebergCatalogDetails.java new file mode 100644 index 00000000000..a3f2e76ef52 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateOracleAiDataCatalogIcebergCatalogDetails.java @@ -0,0 +1,130 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * The information about a new Oracle AI Data Catalog catalog used in the Iceberg connection.
+ * 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: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = CreateOracleAiDataCatalogIcebergCatalogDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "catalogType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class CreateOracleAiDataCatalogIcebergCatalogDetails + extends CreateIcebergCatalogDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + + @com.fasterxml.jackson.annotation.JsonProperty("catalogConfig") + private CreateOracleAiDataCatalogIcebergCatalogConfigDetails catalogConfig; + + public Builder catalogConfig( + CreateOracleAiDataCatalogIcebergCatalogConfigDetails catalogConfig) { + this.catalogConfig = catalogConfig; + this.__explicitlySet__.add("catalogConfig"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public CreateOracleAiDataCatalogIcebergCatalogDetails build() { + CreateOracleAiDataCatalogIcebergCatalogDetails model = + new CreateOracleAiDataCatalogIcebergCatalogDetails(this.catalogConfig); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(CreateOracleAiDataCatalogIcebergCatalogDetails model) { + if (model.wasPropertyExplicitlySet("catalogConfig")) { + this.catalogConfig(model.getCatalogConfig()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public CreateOracleAiDataCatalogIcebergCatalogDetails( + CreateOracleAiDataCatalogIcebergCatalogConfigDetails catalogConfig) { + super(); + this.catalogConfig = catalogConfig; + } + + @com.fasterxml.jackson.annotation.JsonProperty("catalogConfig") + private final CreateOracleAiDataCatalogIcebergCatalogConfigDetails catalogConfig; + + public CreateOracleAiDataCatalogIcebergCatalogConfigDetails getCatalogConfig() { + return catalogConfig; + } + + @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("CreateOracleAiDataCatalogIcebergCatalogDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", catalogConfig=").append(String.valueOf(this.catalogConfig)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CreateOracleAiDataCatalogIcebergCatalogDetails)) { + return false; + } + + CreateOracleAiDataCatalogIcebergCatalogDetails other = + (CreateOracleAiDataCatalogIcebergCatalogDetails) o; + return java.util.Objects.equals(this.catalogConfig, other.catalogConfig) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.catalogConfig == null ? 43 : this.catalogConfig.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateOracleAiDataCatalogStorageConnectionDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateOracleAiDataCatalogStorageConnectionDetails.java new file mode 100644 index 00000000000..1827807ce93 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateOracleAiDataCatalogStorageConnectionDetails.java @@ -0,0 +1,443 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * The information about a new Oracle AI Data Catalog Storage Connection.
+ * 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: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = CreateOracleAiDataCatalogStorageConnectionDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "connectionType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class CreateOracleAiDataCatalogStorageConnectionDetails + extends CreateConnectionDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("description") + private String description; + + public Builder description(String description) { + this.description = description; + this.__explicitlySet__.add("description"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private java.util.Map freeformTags; + + public Builder freeformTags(java.util.Map freeformTags) { + this.freeformTags = freeformTags; + this.__explicitlySet__.add("freeformTags"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private java.util.Map> definedTags; + + public Builder definedTags( + java.util.Map> definedTags) { + this.definedTags = definedTags; + this.__explicitlySet__.add("definedTags"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("locks") + private java.util.List locks; + + public Builder locks(java.util.List locks) { + this.locks = locks; + this.__explicitlySet__.add("locks"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("vaultId") + private String vaultId; + + public Builder vaultId(String vaultId) { + this.vaultId = vaultId; + this.__explicitlySet__.add("vaultId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("keyId") + private String keyId; + + public Builder keyId(String keyId) { + this.keyId = keyId; + this.__explicitlySet__.add("keyId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("nsgIds") + private java.util.List nsgIds; + + public Builder nsgIds(java.util.List nsgIds) { + this.nsgIds = nsgIds; + this.__explicitlySet__.add("nsgIds"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subnetId") + private String subnetId; + + public Builder subnetId(String subnetId) { + this.subnetId = subnetId; + this.__explicitlySet__.add("subnetId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("routingMethod") + private RoutingMethod routingMethod; + + public Builder routingMethod(RoutingMethod routingMethod) { + this.routingMethod = routingMethod; + this.__explicitlySet__.add("routingMethod"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("doesUseSecretIds") + private Boolean doesUseSecretIds; + + public Builder doesUseSecretIds(Boolean doesUseSecretIds) { + this.doesUseSecretIds = doesUseSecretIds; + this.__explicitlySet__.add("doesUseSecretIds"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") + private String subscriptionId; + + public Builder subscriptionId(String subscriptionId) { + this.subscriptionId = subscriptionId; + this.__explicitlySet__.add("subscriptionId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("clusterPlacementGroupId") + private String clusterPlacementGroupId; + + public Builder clusterPlacementGroupId(String clusterPlacementGroupId) { + this.clusterPlacementGroupId = clusterPlacementGroupId; + this.__explicitlySet__.add("clusterPlacementGroupId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("securityAttributes") + private java.util.Map> securityAttributes; + + public Builder securityAttributes( + java.util.Map> securityAttributes) { + this.securityAttributes = securityAttributes; + this.__explicitlySet__.add("securityAttributes"); + return this; + } + /** The Oracle AI Data Catalog Storage technology type. */ + @com.fasterxml.jackson.annotation.JsonProperty("technologyType") + private OracleAiDataCatalogStorageConnection.TechnologyType technologyType; + + /** + * The Oracle AI Data Catalog Storage technology type. + * + * @param technologyType the value to set + * @return this builder + */ + public Builder technologyType( + OracleAiDataCatalogStorageConnection.TechnologyType technologyType) { + this.technologyType = technologyType; + this.__explicitlySet__.add("technologyType"); + return this; + } + /** + * The name of the warehouse configured in the Oracle AI Data Catalog deployment. This value + * corresponds to the target bucket or container name. + */ + @com.fasterxml.jackson.annotation.JsonProperty("warehouseName") + private String warehouseName; + + /** + * The name of the warehouse configured in the Oracle AI Data Catalog deployment. This value + * corresponds to the target bucket or container name. + * + * @param warehouseName the value to set + * @return this builder + */ + public Builder warehouseName(String warehouseName) { + this.warehouseName = warehouseName; + this.__explicitlySet__.add("warehouseName"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("warehouseStorage") + private CreateWarehouseStorageDetails warehouseStorage; + + public Builder warehouseStorage(CreateWarehouseStorageDetails warehouseStorage) { + this.warehouseStorage = warehouseStorage; + this.__explicitlySet__.add("warehouseStorage"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public CreateOracleAiDataCatalogStorageConnectionDetails build() { + CreateOracleAiDataCatalogStorageConnectionDetails model = + new CreateOracleAiDataCatalogStorageConnectionDetails( + this.displayName, + this.description, + this.compartmentId, + this.freeformTags, + this.definedTags, + this.locks, + this.vaultId, + this.keyId, + this.nsgIds, + this.subnetId, + this.routingMethod, + this.doesUseSecretIds, + this.subscriptionId, + this.clusterPlacementGroupId, + this.securityAttributes, + this.technologyType, + this.warehouseName, + this.warehouseStorage); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(CreateOracleAiDataCatalogStorageConnectionDetails model) { + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + if (model.wasPropertyExplicitlySet("description")) { + this.description(model.getDescription()); + } + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } + if (model.wasPropertyExplicitlySet("locks")) { + this.locks(model.getLocks()); + } + if (model.wasPropertyExplicitlySet("vaultId")) { + this.vaultId(model.getVaultId()); + } + if (model.wasPropertyExplicitlySet("keyId")) { + this.keyId(model.getKeyId()); + } + if (model.wasPropertyExplicitlySet("nsgIds")) { + this.nsgIds(model.getNsgIds()); + } + if (model.wasPropertyExplicitlySet("subnetId")) { + this.subnetId(model.getSubnetId()); + } + if (model.wasPropertyExplicitlySet("routingMethod")) { + this.routingMethod(model.getRoutingMethod()); + } + if (model.wasPropertyExplicitlySet("doesUseSecretIds")) { + this.doesUseSecretIds(model.getDoesUseSecretIds()); + } + if (model.wasPropertyExplicitlySet("subscriptionId")) { + this.subscriptionId(model.getSubscriptionId()); + } + if (model.wasPropertyExplicitlySet("clusterPlacementGroupId")) { + this.clusterPlacementGroupId(model.getClusterPlacementGroupId()); + } + if (model.wasPropertyExplicitlySet("securityAttributes")) { + this.securityAttributes(model.getSecurityAttributes()); + } + if (model.wasPropertyExplicitlySet("technologyType")) { + this.technologyType(model.getTechnologyType()); + } + if (model.wasPropertyExplicitlySet("warehouseName")) { + this.warehouseName(model.getWarehouseName()); + } + if (model.wasPropertyExplicitlySet("warehouseStorage")) { + this.warehouseStorage(model.getWarehouseStorage()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public CreateOracleAiDataCatalogStorageConnectionDetails( + String displayName, + String description, + String compartmentId, + java.util.Map freeformTags, + java.util.Map> definedTags, + java.util.List locks, + String vaultId, + String keyId, + java.util.List nsgIds, + String subnetId, + RoutingMethod routingMethod, + Boolean doesUseSecretIds, + String subscriptionId, + String clusterPlacementGroupId, + java.util.Map> securityAttributes, + OracleAiDataCatalogStorageConnection.TechnologyType technologyType, + String warehouseName, + CreateWarehouseStorageDetails warehouseStorage) { + super( + displayName, + description, + compartmentId, + freeformTags, + definedTags, + locks, + vaultId, + keyId, + nsgIds, + subnetId, + routingMethod, + doesUseSecretIds, + subscriptionId, + clusterPlacementGroupId, + securityAttributes); + this.technologyType = technologyType; + this.warehouseName = warehouseName; + this.warehouseStorage = warehouseStorage; + } + + /** The Oracle AI Data Catalog Storage technology type. */ + @com.fasterxml.jackson.annotation.JsonProperty("technologyType") + private final OracleAiDataCatalogStorageConnection.TechnologyType technologyType; + + /** + * The Oracle AI Data Catalog Storage technology type. + * + * @return the value + */ + public OracleAiDataCatalogStorageConnection.TechnologyType getTechnologyType() { + return technologyType; + } + + /** + * The name of the warehouse configured in the Oracle AI Data Catalog deployment. This value + * corresponds to the target bucket or container name. + */ + @com.fasterxml.jackson.annotation.JsonProperty("warehouseName") + private final String warehouseName; + + /** + * The name of the warehouse configured in the Oracle AI Data Catalog deployment. This value + * corresponds to the target bucket or container name. + * + * @return the value + */ + public String getWarehouseName() { + return warehouseName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("warehouseStorage") + private final CreateWarehouseStorageDetails warehouseStorage; + + public CreateWarehouseStorageDetails getWarehouseStorage() { + return warehouseStorage; + } + + @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("CreateOracleAiDataCatalogStorageConnectionDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", technologyType=").append(String.valueOf(this.technologyType)); + sb.append(", warehouseName=").append(String.valueOf(this.warehouseName)); + sb.append(", warehouseStorage=").append(String.valueOf(this.warehouseStorage)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CreateOracleAiDataCatalogStorageConnectionDetails)) { + return false; + } + + CreateOracleAiDataCatalogStorageConnectionDetails other = + (CreateOracleAiDataCatalogStorageConnectionDetails) o; + return java.util.Objects.equals(this.technologyType, other.technologyType) + && java.util.Objects.equals(this.warehouseName, other.warehouseName) + && java.util.Objects.equals(this.warehouseStorage, other.warehouseStorage) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.technologyType == null ? 43 : this.technologyType.hashCode()); + result = + (result * PRIME) + + (this.warehouseName == null ? 43 : this.warehouseName.hashCode()); + result = + (result * PRIME) + + (this.warehouseStorage == null ? 43 : this.warehouseStorage.hashCode()); + return result; + } +} diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CloneOracleMigrationSettings.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateWarehouseStorageDetails.java similarity index 75% rename from bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CloneOracleMigrationSettings.java rename to bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateWarehouseStorageDetails.java index f648cca6718..6b2741c1470 100644 --- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CloneOracleMigrationSettings.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateWarehouseStorageDetails.java @@ -2,10 +2,11 @@ * Copyright (c) 2016, 2026, 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.databasemigration.model; +package com.oracle.bmc.goldengate.model; /** - * Discriminator-only base clone settings for Oracle migration methods.
+ * The information about a new warehouse storage of given type used in an Oracle AI Data Catalog + * Storage connection.
* 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 @@ -15,30 +16,30 @@ * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code * null}). */ -@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20230518") +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200407") @com.fasterxml.jackson.annotation.JsonTypeInfo( use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, - property = "migrationMethod", - defaultImpl = CloneOracleMigrationSettings.class) + property = "storageType", + defaultImpl = CreateWarehouseStorageDetails.class) @com.fasterxml.jackson.annotation.JsonSubTypes({ @com.fasterxml.jackson.annotation.JsonSubTypes.Type( - value = CloneOracleOfflineLogicalMigrationSettings.class, - name = "OFFLINE_LOGICAL"), + value = CreateZfsWarehouseStorageDetails.class, + name = "ZFS"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( - value = CloneOracleOnlineLogicalMigrationSettings.class, - name = "ONLINE_LOGICAL"), + value = CreateOciObjectStorageAccessKeyWarehouseStorageDetails.class, + name = "OCI_OBJECT_STORAGE_ACCESS_KEY"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( - value = CloneOracleOnlineStandbyMigrationSettings.class, - name = "ONLINE_STANDBY") + value = CreateAzureStorageWarehouseStorageDetails.class, + name = "AZURE_STORAGE") }) @com.fasterxml.jackson.annotation.JsonFilter( com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) -public class CloneOracleMigrationSettings +public class CreateWarehouseStorageDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated @java.beans.ConstructorProperties({}) - protected CloneOracleMigrationSettings() { + protected CreateWarehouseStorageDetails() { super(); } @@ -55,7 +56,7 @@ public String toString() { */ public String toString(boolean includeByteArrayContents) { java.lang.StringBuilder sb = new java.lang.StringBuilder(); - sb.append("CloneOracleMigrationSettings("); + sb.append("CreateWarehouseStorageDetails("); sb.append("super=").append(super.toString()); sb.append(")"); return sb.toString(); @@ -66,11 +67,11 @@ public boolean equals(Object o) { if (this == o) { return true; } - if (!(o instanceof CloneOracleMigrationSettings)) { + if (!(o instanceof CreateWarehouseStorageDetails)) { return false; } - CloneOracleMigrationSettings other = (CloneOracleMigrationSettings) o; + CreateWarehouseStorageDetails other = (CreateWarehouseStorageDetails) o; return super.equals(other); } diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateZfsIcebergStorageDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateZfsIcebergStorageDetails.java new file mode 100644 index 00000000000..90a13780e43 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateZfsIcebergStorageDetails.java @@ -0,0 +1,500 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * The information about a new ZFS storage used in the Iceberg connection for an Oracle AI Data + * Catalog Iceberg catalogs.
+ * 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: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = CreateZfsIcebergStorageDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "storageType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class CreateZfsIcebergStorageDetails extends CreateIcebergStorageDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The access key ID used to access the ZFS storage. */ + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") + private String accessKeyId; + + /** + * The access key ID used to access the ZFS storage. + * + * @param accessKeyId the value to set + * @return this builder + */ + public Builder accessKeyId(String accessKeyId) { + this.accessKeyId = accessKeyId; + this.__explicitlySet__.add("accessKeyId"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS secret access key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + private String secretAccessKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS secret access key. + * + * @param secretAccessKeySecretId the value to set + * @return this builder + */ + public Builder secretAccessKeySecretId(String secretAccessKeySecretId) { + this.secretAccessKeySecretId = secretAccessKeySecretId; + this.__explicitlySet__.add("secretAccessKeySecretId"); + return this; + } + /** The secret access key used to access the warehouse storage. */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey") + private char[] secretAccessKey; + + /** + * The secret access key used to access the warehouse storage. + * + * @param secretAccessKey the value to set + * @return this builder + */ + public Builder secretAccessKey(char[] secretAccessKey) { + this.secretAccessKey = secretAccessKey; + this.__explicitlySet__.add("secretAccessKey"); + return this; + } + + public Builder secretAccessKey(String secretAccessKey) { + this.secretAccessKey = secretAccessKey != null ? secretAccessKey.toCharArray() : null; + this.__explicitlySet__.add("secretAccessKey"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS storage trust store. Note: When provided, 'trustStore' field + * must not be provided. + */ + @com.fasterxml.jackson.annotation.JsonProperty("trustStoreSecretId") + private String trustStoreSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS storage trust store. Note: When provided, 'trustStore' field + * must not be provided. + * + * @param trustStoreSecretId the value to set + * @return this builder + */ + public Builder trustStoreSecretId(String trustStoreSecretId) { + this.trustStoreSecretId = trustStoreSecretId; + this.__explicitlySet__.add("trustStoreSecretId"); + return this; + } + /** + * The base64 encoded content of the ZFS storage TrustStore file. Deprecated: This field is + * deprecated and replaced by "trustStoreSecretId". This change follows the GoldenGate + * "Plain Text Fields in Connections" deprecation: + * https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate + */ + @com.fasterxml.jackson.annotation.JsonProperty("trustStore") + private String trustStore; + + /** + * The base64 encoded content of the ZFS storage TrustStore file. Deprecated: This field is + * deprecated and replaced by "trustStoreSecretId". This change follows the GoldenGate + * "Plain Text Fields in Connections" deprecation: + * https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate + * + * @param trustStore the value to set + * @return this builder + */ + public Builder trustStore(String trustStore) { + this.trustStore = trustStore; + this.__explicitlySet__.add("trustStore"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties + * for the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + */ + @com.fasterxml.jackson.annotation.JsonProperty("propertiesSecretId") + private String propertiesSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties + * for the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * + * @param propertiesSecretId the value to set + * @return this builder + */ + public Builder propertiesSecretId(String propertiesSecretId) { + this.propertiesSecretId = propertiesSecretId; + this.__explicitlySet__.add("propertiesSecretId"); + return this; + } + /** + * The base64 encoded content of the configuration file containing additional properties for + * the REST catalog. + */ + @com.fasterxml.jackson.annotation.JsonProperty("properties") + private char[] properties; + + /** + * The base64 encoded content of the configuration file containing additional properties for + * the REST catalog. + * + * @param properties the value to set + * @return this builder + */ + public Builder properties(char[] properties) { + this.properties = properties; + this.__explicitlySet__.add("properties"); + return this; + } + + public Builder properties(String properties) { + this.properties = properties != null ? properties.toCharArray() : null; + this.__explicitlySet__.add("properties"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public CreateZfsIcebergStorageDetails build() { + CreateZfsIcebergStorageDetails model = + new CreateZfsIcebergStorageDetails( + this.accessKeyId, + this.secretAccessKeySecretId, + this.secretAccessKey, + this.trustStoreSecretId, + this.trustStore, + this.propertiesSecretId, + this.properties); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(CreateZfsIcebergStorageDetails model) { + if (model.wasPropertyExplicitlySet("accessKeyId")) { + this.accessKeyId(model.getAccessKeyId()); + } + if (model.wasPropertyExplicitlySet("secretAccessKeySecretId")) { + this.secretAccessKeySecretId(model.getSecretAccessKeySecretId()); + } + if (model.wasPropertyExplicitlySet("secretAccessKey")) { + this.secretAccessKey(model.getSecretAccessKey()); + } + if (model.wasPropertyExplicitlySet("trustStoreSecretId")) { + this.trustStoreSecretId(model.getTrustStoreSecretId()); + } + if (model.wasPropertyExplicitlySet("trustStore")) { + this.trustStore(model.getTrustStore()); + } + if (model.wasPropertyExplicitlySet("propertiesSecretId")) { + this.propertiesSecretId(model.getPropertiesSecretId()); + } + if (model.wasPropertyExplicitlySet("properties")) { + this.properties(model.getProperties()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public CreateZfsIcebergStorageDetails( + String accessKeyId, + String secretAccessKeySecretId, + String secretAccessKey, + String trustStoreSecretId, + String trustStore, + String propertiesSecretId, + String properties) { + super(); + this.accessKeyId = accessKeyId; + this.secretAccessKeySecretId = secretAccessKeySecretId; + this.secretAccessKey = secretAccessKey != null ? secretAccessKey.toCharArray() : null; + this.trustStoreSecretId = trustStoreSecretId; + this.trustStore = trustStore; + this.propertiesSecretId = propertiesSecretId; + this.properties = properties != null ? properties.toCharArray() : null; + } + + @com.fasterxml.jackson.annotation.JsonCreator + @Deprecated + public CreateZfsIcebergStorageDetails( + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") String accessKeyId, + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + String secretAccessKeySecretId, + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey") + char[] secretAccessKey, + @com.fasterxml.jackson.annotation.JsonProperty("trustStoreSecretId") + String trustStoreSecretId, + @com.fasterxml.jackson.annotation.JsonProperty("trustStore") String trustStore, + @com.fasterxml.jackson.annotation.JsonProperty("propertiesSecretId") + String propertiesSecretId, + @com.fasterxml.jackson.annotation.JsonProperty("properties") char[] properties) { + super(); + this.accessKeyId = accessKeyId; + this.secretAccessKeySecretId = secretAccessKeySecretId; + this.secretAccessKey = secretAccessKey; + this.trustStoreSecretId = trustStoreSecretId; + this.trustStore = trustStore; + this.propertiesSecretId = propertiesSecretId; + this.properties = properties; + } + + /** The access key ID used to access the ZFS storage. */ + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") + private final String accessKeyId; + + /** + * The access key ID used to access the ZFS storage. + * + * @return the value + */ + public String getAccessKeyId() { + return accessKeyId; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS secret access key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + private final String secretAccessKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS secret access key. + * + * @return the value + */ + public String getSecretAccessKeySecretId() { + return secretAccessKeySecretId; + } + + /** The secret access key used to access the warehouse storage. */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey") + private final char[] secretAccessKey; + + /** + * The secret access key used to access the warehouse storage. + * + * @return the value + * @deprecated Use getSecretAccessKey__AsCharArray() instead. + */ + @Deprecated + @com.fasterxml.jackson.annotation.JsonIgnore + public String getSecretAccessKey() { + return secretAccessKey != null ? new String(secretAccessKey) : null; + } + + /** + * The secret access key used to access the warehouse storage. + * + * @return the value + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey") + public char[] getSecretAccessKey__AsCharArray() { + return secretAccessKey; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS storage trust store. Note: When provided, 'trustStore' field must + * not be provided. + */ + @com.fasterxml.jackson.annotation.JsonProperty("trustStoreSecretId") + private final String trustStoreSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS storage trust store. Note: When provided, 'trustStore' field must + * not be provided. + * + * @return the value + */ + public String getTrustStoreSecretId() { + return trustStoreSecretId; + } + + /** + * The base64 encoded content of the ZFS storage TrustStore file. Deprecated: This field is + * deprecated and replaced by "trustStoreSecretId". This change follows the GoldenGate "Plain + * Text Fields in Connections" deprecation: + * https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate + */ + @com.fasterxml.jackson.annotation.JsonProperty("trustStore") + private final String trustStore; + + /** + * The base64 encoded content of the ZFS storage TrustStore file. Deprecated: This field is + * deprecated and replaced by "trustStoreSecretId". This change follows the GoldenGate "Plain + * Text Fields in Connections" deprecation: + * https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate + * + * @return the value + */ + public String getTrustStore() { + return trustStore; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties for + * the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + */ + @com.fasterxml.jackson.annotation.JsonProperty("propertiesSecretId") + private final String propertiesSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties for + * the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * + * @return the value + */ + public String getPropertiesSecretId() { + return propertiesSecretId; + } + + /** + * The base64 encoded content of the configuration file containing additional properties for the + * REST catalog. + */ + @com.fasterxml.jackson.annotation.JsonProperty("properties") + private final char[] properties; + + /** + * The base64 encoded content of the configuration file containing additional properties for the + * REST catalog. + * + * @return the value + * @deprecated Use getProperties__AsCharArray() instead. + */ + @Deprecated + @com.fasterxml.jackson.annotation.JsonIgnore + public String getProperties() { + return properties != null ? new String(properties) : null; + } + + /** + * The base64 encoded content of the configuration file containing additional properties for the + * REST catalog. + * + * @return the value + */ + @com.fasterxml.jackson.annotation.JsonProperty("properties") + public char[] getProperties__AsCharArray() { + return properties; + } + + @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("CreateZfsIcebergStorageDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", accessKeyId=").append(String.valueOf(this.accessKeyId)); + sb.append(", secretAccessKeySecretId=") + .append(String.valueOf(this.secretAccessKeySecretId)); + sb.append(", secretAccessKey=").append(""); + sb.append(", trustStoreSecretId=").append(String.valueOf(this.trustStoreSecretId)); + sb.append(", trustStore=").append(String.valueOf(this.trustStore)); + sb.append(", propertiesSecretId=").append(String.valueOf(this.propertiesSecretId)); + sb.append(", properties=").append(""); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CreateZfsIcebergStorageDetails)) { + return false; + } + + CreateZfsIcebergStorageDetails other = (CreateZfsIcebergStorageDetails) o; + return java.util.Objects.equals(this.accessKeyId, other.accessKeyId) + && java.util.Objects.equals( + this.secretAccessKeySecretId, other.secretAccessKeySecretId) + && java.util.Objects.equals(this.secretAccessKey, other.secretAccessKey) + && java.util.Objects.equals(this.trustStoreSecretId, other.trustStoreSecretId) + && java.util.Objects.equals(this.trustStore, other.trustStore) + && java.util.Objects.equals(this.propertiesSecretId, other.propertiesSecretId) + && java.util.Objects.equals(this.properties, other.properties) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.accessKeyId == null ? 43 : this.accessKeyId.hashCode()); + result = + (result * PRIME) + + (this.secretAccessKeySecretId == null + ? 43 + : this.secretAccessKeySecretId.hashCode()); + result = + (result * PRIME) + + (this.secretAccessKey == null ? 43 : this.secretAccessKey.hashCode()); + result = + (result * PRIME) + + (this.trustStoreSecretId == null + ? 43 + : this.trustStoreSecretId.hashCode()); + result = (result * PRIME) + (this.trustStore == null ? 43 : this.trustStore.hashCode()); + result = + (result * PRIME) + + (this.propertiesSecretId == null + ? 43 + : this.propertiesSecretId.hashCode()); + result = (result * PRIME) + (this.properties == null ? 43 : this.properties.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateZfsWarehouseStorageDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateZfsWarehouseStorageDetails.java new file mode 100644 index 00000000000..885771b9b32 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateZfsWarehouseStorageDetails.java @@ -0,0 +1,412 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * The information about a new ZFS warehouse storage configuration for Oracle AI Data Catalog + * Storage connection.
+ * 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: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = CreateZfsWarehouseStorageDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "storageType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class CreateZfsWarehouseStorageDetails extends CreateWarehouseStorageDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The access key ID used to access the ZFS storage. */ + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") + private String accessKeyId; + + /** + * The access key ID used to access the ZFS storage. + * + * @param accessKeyId the value to set + * @return this builder + */ + public Builder accessKeyId(String accessKeyId) { + this.accessKeyId = accessKeyId; + this.__explicitlySet__.add("accessKeyId"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS secret access key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + private String secretAccessKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS secret access key. + * + * @param secretAccessKeySecretId the value to set + * @return this builder + */ + public Builder secretAccessKeySecretId(String secretAccessKeySecretId) { + this.secretAccessKeySecretId = secretAccessKeySecretId; + this.__explicitlySet__.add("secretAccessKeySecretId"); + return this; + } + /** The secret access key used to access the warehouse storage. */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey") + private char[] secretAccessKey; + + /** + * The secret access key used to access the warehouse storage. + * + * @param secretAccessKey the value to set + * @return this builder + */ + public Builder secretAccessKey(char[] secretAccessKey) { + this.secretAccessKey = secretAccessKey; + this.__explicitlySet__.add("secretAccessKey"); + return this; + } + + public Builder secretAccessKey(String secretAccessKey) { + this.secretAccessKey = secretAccessKey != null ? secretAccessKey.toCharArray() : null; + this.__explicitlySet__.add("secretAccessKey"); + return this; + } + /** The endpoint URL of the ZFS storage service. */ + @com.fasterxml.jackson.annotation.JsonProperty("endpointUrl") + private String endpointUrl; + + /** + * The endpoint URL of the ZFS storage service. + * + * @param endpointUrl the value to set + * @return this builder + */ + public Builder endpointUrl(String endpointUrl) { + this.endpointUrl = endpointUrl; + this.__explicitlySet__.add("endpointUrl"); + return this; + } + /** + * The base64 encoded content of the ZFS storage TrustStore file. Deprecated: This field is + * deprecated and replaced by "trustStoreSecretId". This change follows the GoldenGate + * "Plain Text Fields in Connections" deprecation: + * https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate + */ + @com.fasterxml.jackson.annotation.JsonProperty("trustStore") + private String trustStore; + + /** + * The base64 encoded content of the ZFS storage TrustStore file. Deprecated: This field is + * deprecated and replaced by "trustStoreSecretId". This change follows the GoldenGate + * "Plain Text Fields in Connections" deprecation: + * https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate + * + * @param trustStore the value to set + * @return this builder + */ + public Builder trustStore(String trustStore) { + this.trustStore = trustStore; + this.__explicitlySet__.add("trustStore"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS storage trust store. Note: When provided, 'trustStore' field + * must not be provided. + */ + @com.fasterxml.jackson.annotation.JsonProperty("trustStoreSecretId") + private String trustStoreSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS storage trust store. Note: When provided, 'trustStore' field + * must not be provided. + * + * @param trustStoreSecretId the value to set + * @return this builder + */ + public Builder trustStoreSecretId(String trustStoreSecretId) { + this.trustStoreSecretId = trustStoreSecretId; + this.__explicitlySet__.add("trustStoreSecretId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public CreateZfsWarehouseStorageDetails build() { + CreateZfsWarehouseStorageDetails model = + new CreateZfsWarehouseStorageDetails( + this.accessKeyId, + this.secretAccessKeySecretId, + this.secretAccessKey, + this.endpointUrl, + this.trustStore, + this.trustStoreSecretId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(CreateZfsWarehouseStorageDetails model) { + if (model.wasPropertyExplicitlySet("accessKeyId")) { + this.accessKeyId(model.getAccessKeyId()); + } + if (model.wasPropertyExplicitlySet("secretAccessKeySecretId")) { + this.secretAccessKeySecretId(model.getSecretAccessKeySecretId()); + } + if (model.wasPropertyExplicitlySet("secretAccessKey")) { + this.secretAccessKey(model.getSecretAccessKey()); + } + if (model.wasPropertyExplicitlySet("endpointUrl")) { + this.endpointUrl(model.getEndpointUrl()); + } + if (model.wasPropertyExplicitlySet("trustStore")) { + this.trustStore(model.getTrustStore()); + } + if (model.wasPropertyExplicitlySet("trustStoreSecretId")) { + this.trustStoreSecretId(model.getTrustStoreSecretId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public CreateZfsWarehouseStorageDetails( + String accessKeyId, + String secretAccessKeySecretId, + String secretAccessKey, + String endpointUrl, + String trustStore, + String trustStoreSecretId) { + super(); + this.accessKeyId = accessKeyId; + this.secretAccessKeySecretId = secretAccessKeySecretId; + this.secretAccessKey = secretAccessKey != null ? secretAccessKey.toCharArray() : null; + this.endpointUrl = endpointUrl; + this.trustStore = trustStore; + this.trustStoreSecretId = trustStoreSecretId; + } + + @com.fasterxml.jackson.annotation.JsonCreator + @Deprecated + public CreateZfsWarehouseStorageDetails( + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") String accessKeyId, + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + String secretAccessKeySecretId, + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey") + char[] secretAccessKey, + @com.fasterxml.jackson.annotation.JsonProperty("endpointUrl") String endpointUrl, + @com.fasterxml.jackson.annotation.JsonProperty("trustStore") String trustStore, + @com.fasterxml.jackson.annotation.JsonProperty("trustStoreSecretId") + String trustStoreSecretId) { + super(); + this.accessKeyId = accessKeyId; + this.secretAccessKeySecretId = secretAccessKeySecretId; + this.secretAccessKey = secretAccessKey; + this.endpointUrl = endpointUrl; + this.trustStore = trustStore; + this.trustStoreSecretId = trustStoreSecretId; + } + + /** The access key ID used to access the ZFS storage. */ + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") + private final String accessKeyId; + + /** + * The access key ID used to access the ZFS storage. + * + * @return the value + */ + public String getAccessKeyId() { + return accessKeyId; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS secret access key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + private final String secretAccessKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS secret access key. + * + * @return the value + */ + public String getSecretAccessKeySecretId() { + return secretAccessKeySecretId; + } + + /** The secret access key used to access the warehouse storage. */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey") + private final char[] secretAccessKey; + + /** + * The secret access key used to access the warehouse storage. + * + * @return the value + * @deprecated Use getSecretAccessKey__AsCharArray() instead. + */ + @Deprecated + @com.fasterxml.jackson.annotation.JsonIgnore + public String getSecretAccessKey() { + return secretAccessKey != null ? new String(secretAccessKey) : null; + } + + /** + * The secret access key used to access the warehouse storage. + * + * @return the value + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey") + public char[] getSecretAccessKey__AsCharArray() { + return secretAccessKey; + } + + /** The endpoint URL of the ZFS storage service. */ + @com.fasterxml.jackson.annotation.JsonProperty("endpointUrl") + private final String endpointUrl; + + /** + * The endpoint URL of the ZFS storage service. + * + * @return the value + */ + public String getEndpointUrl() { + return endpointUrl; + } + + /** + * The base64 encoded content of the ZFS storage TrustStore file. Deprecated: This field is + * deprecated and replaced by "trustStoreSecretId". This change follows the GoldenGate "Plain + * Text Fields in Connections" deprecation: + * https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate + */ + @com.fasterxml.jackson.annotation.JsonProperty("trustStore") + private final String trustStore; + + /** + * The base64 encoded content of the ZFS storage TrustStore file. Deprecated: This field is + * deprecated and replaced by "trustStoreSecretId". This change follows the GoldenGate "Plain + * Text Fields in Connections" deprecation: + * https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate + * + * @return the value + */ + public String getTrustStore() { + return trustStore; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS storage trust store. Note: When provided, 'trustStore' field must + * not be provided. + */ + @com.fasterxml.jackson.annotation.JsonProperty("trustStoreSecretId") + private final String trustStoreSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS storage trust store. Note: When provided, 'trustStore' field must + * not be provided. + * + * @return the value + */ + public String getTrustStoreSecretId() { + return trustStoreSecretId; + } + + @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("CreateZfsWarehouseStorageDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", accessKeyId=").append(String.valueOf(this.accessKeyId)); + sb.append(", secretAccessKeySecretId=") + .append(String.valueOf(this.secretAccessKeySecretId)); + sb.append(", secretAccessKey=").append(""); + sb.append(", endpointUrl=").append(String.valueOf(this.endpointUrl)); + sb.append(", trustStore=").append(String.valueOf(this.trustStore)); + sb.append(", trustStoreSecretId=").append(String.valueOf(this.trustStoreSecretId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CreateZfsWarehouseStorageDetails)) { + return false; + } + + CreateZfsWarehouseStorageDetails other = (CreateZfsWarehouseStorageDetails) o; + return java.util.Objects.equals(this.accessKeyId, other.accessKeyId) + && java.util.Objects.equals( + this.secretAccessKeySecretId, other.secretAccessKeySecretId) + && java.util.Objects.equals(this.secretAccessKey, other.secretAccessKey) + && java.util.Objects.equals(this.endpointUrl, other.endpointUrl) + && java.util.Objects.equals(this.trustStore, other.trustStore) + && java.util.Objects.equals(this.trustStoreSecretId, other.trustStoreSecretId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.accessKeyId == null ? 43 : this.accessKeyId.hashCode()); + result = + (result * PRIME) + + (this.secretAccessKeySecretId == null + ? 43 + : this.secretAccessKeySecretId.hashCode()); + result = + (result * PRIME) + + (this.secretAccessKey == null ? 43 : this.secretAccessKey.hashCode()); + result = (result * PRIME) + (this.endpointUrl == null ? 43 : this.endpointUrl.hashCode()); + result = (result * PRIME) + (this.trustStore == null ? 43 : this.trustStore.hashCode()); + result = + (result * PRIME) + + (this.trustStoreSecretId == null + ? 43 + : this.trustStoreSecretId.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DbCredentialsOracleAiDataCatalogIcebergCatalogConfig.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DbCredentialsOracleAiDataCatalogIcebergCatalogConfig.java new file mode 100644 index 00000000000..f5f8ae0da0f --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DbCredentialsOracleAiDataCatalogIcebergCatalogConfig.java @@ -0,0 +1,293 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * Represents an Oracle AI Data Catalog configuration based on database credentials.
+ * 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: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = DbCredentialsOracleAiDataCatalogIcebergCatalogConfig.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "catalogConfigType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class DbCredentialsOracleAiDataCatalogIcebergCatalogConfig + extends OracleAiDataCatalogIcebergCatalogConfig { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The database type where Oracle AI Data Catalog is configured. */ + @com.fasterxml.jackson.annotation.JsonProperty("databaseType") + private OracleAiDataCatalogIcebergCatalogDatabaseType databaseType; + + /** + * The database type where Oracle AI Data Catalog is configured. + * + * @param databaseType the value to set + * @return this builder + */ + public Builder databaseType(OracleAiDataCatalogIcebergCatalogDatabaseType databaseType) { + this.databaseType = databaseType; + this.__explicitlySet__.add("databaseType"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * database being referenced. + */ + @com.fasterxml.jackson.annotation.JsonProperty("databaseId") + private String databaseId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * database being referenced. + * + * @param databaseId the value to set + * @return this builder + */ + public Builder databaseId(String databaseId) { + this.databaseId = databaseId; + this.__explicitlySet__.add("databaseId"); + return this; + } + /** + * The username Oracle GoldenGate uses to connect the associated system of the given + * technology. This username must already exist and be available by the system/application + * to be connected to and must conform to the case sensitivty requirments defined in it. + */ + @com.fasterxml.jackson.annotation.JsonProperty("username") + private String username; + + /** + * The username Oracle GoldenGate uses to connect the associated system of the given + * technology. This username must already exist and be available by the system/application + * to be connected to and must conform to the case sensitivty requirments defined in it. + * + * @param username the value to set + * @return this builder + */ + public Builder username(String username) { + this.username = username; + this.__explicitlySet__.add("username"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret where the password is stored. The password Oracle GoldenGate uses to connect the + * associated system of the given technology. It must conform to the specific security + * requirements including length, case sensitivity, and so on. If secretId is used plaintext + * field must not be provided. Note: When provided, 'password' field must not be provided. + */ + @com.fasterxml.jackson.annotation.JsonProperty("passwordSecretId") + private String passwordSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret where the password is stored. The password Oracle GoldenGate uses to connect the + * associated system of the given technology. It must conform to the specific security + * requirements including length, case sensitivity, and so on. If secretId is used plaintext + * field must not be provided. Note: When provided, 'password' field must not be provided. + * + * @param passwordSecretId the value to set + * @return this builder + */ + public Builder passwordSecretId(String passwordSecretId) { + this.passwordSecretId = passwordSecretId; + this.__explicitlySet__.add("passwordSecretId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public DbCredentialsOracleAiDataCatalogIcebergCatalogConfig build() { + DbCredentialsOracleAiDataCatalogIcebergCatalogConfig model = + new DbCredentialsOracleAiDataCatalogIcebergCatalogConfig( + this.databaseType, + this.databaseId, + this.username, + this.passwordSecretId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(DbCredentialsOracleAiDataCatalogIcebergCatalogConfig model) { + if (model.wasPropertyExplicitlySet("databaseType")) { + this.databaseType(model.getDatabaseType()); + } + if (model.wasPropertyExplicitlySet("databaseId")) { + this.databaseId(model.getDatabaseId()); + } + if (model.wasPropertyExplicitlySet("username")) { + this.username(model.getUsername()); + } + if (model.wasPropertyExplicitlySet("passwordSecretId")) { + this.passwordSecretId(model.getPasswordSecretId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public DbCredentialsOracleAiDataCatalogIcebergCatalogConfig( + OracleAiDataCatalogIcebergCatalogDatabaseType databaseType, + String databaseId, + String username, + String passwordSecretId) { + super(); + this.databaseType = databaseType; + this.databaseId = databaseId; + this.username = username; + this.passwordSecretId = passwordSecretId; + } + + /** The database type where Oracle AI Data Catalog is configured. */ + @com.fasterxml.jackson.annotation.JsonProperty("databaseType") + private final OracleAiDataCatalogIcebergCatalogDatabaseType databaseType; + + /** + * The database type where Oracle AI Data Catalog is configured. + * + * @return the value + */ + public OracleAiDataCatalogIcebergCatalogDatabaseType getDatabaseType() { + return databaseType; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * database being referenced. + */ + @com.fasterxml.jackson.annotation.JsonProperty("databaseId") + private final String databaseId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * database being referenced. + * + * @return the value + */ + public String getDatabaseId() { + return databaseId; + } + + /** + * The username Oracle GoldenGate uses to connect the associated system of the given technology. + * This username must already exist and be available by the system/application to be connected + * to and must conform to the case sensitivty requirments defined in it. + */ + @com.fasterxml.jackson.annotation.JsonProperty("username") + private final String username; + + /** + * The username Oracle GoldenGate uses to connect the associated system of the given technology. + * This username must already exist and be available by the system/application to be connected + * to and must conform to the case sensitivty requirments defined in it. + * + * @return the value + */ + public String getUsername() { + return username; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret where the password is stored. The password Oracle GoldenGate uses to connect the + * associated system of the given technology. It must conform to the specific security + * requirements including length, case sensitivity, and so on. If secretId is used plaintext + * field must not be provided. Note: When provided, 'password' field must not be provided. + */ + @com.fasterxml.jackson.annotation.JsonProperty("passwordSecretId") + private final String passwordSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret where the password is stored. The password Oracle GoldenGate uses to connect the + * associated system of the given technology. It must conform to the specific security + * requirements including length, case sensitivity, and so on. If secretId is used plaintext + * field must not be provided. Note: When provided, 'password' field must not be provided. + * + * @return the value + */ + public String getPasswordSecretId() { + return passwordSecretId; + } + + @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("DbCredentialsOracleAiDataCatalogIcebergCatalogConfig("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", databaseType=").append(String.valueOf(this.databaseType)); + sb.append(", databaseId=").append(String.valueOf(this.databaseId)); + sb.append(", username=").append(String.valueOf(this.username)); + sb.append(", passwordSecretId=").append(String.valueOf(this.passwordSecretId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof DbCredentialsOracleAiDataCatalogIcebergCatalogConfig)) { + return false; + } + + DbCredentialsOracleAiDataCatalogIcebergCatalogConfig other = + (DbCredentialsOracleAiDataCatalogIcebergCatalogConfig) o; + return java.util.Objects.equals(this.databaseType, other.databaseType) + && java.util.Objects.equals(this.databaseId, other.databaseId) + && java.util.Objects.equals(this.username, other.username) + && java.util.Objects.equals(this.passwordSecretId, other.passwordSecretId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.databaseType == null ? 43 : this.databaseType.hashCode()); + result = (result * PRIME) + (this.databaseId == null ? 43 : this.databaseId.hashCode()); + result = (result * PRIME) + (this.username == null ? 43 : this.username.hashCode()); + result = + (result * PRIME) + + (this.passwordSecretId == null ? 43 : this.passwordSecretId.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DbCredentialsOracleAiDataCatalogIcebergCatalogConfigSummary.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DbCredentialsOracleAiDataCatalogIcebergCatalogConfigSummary.java new file mode 100644 index 00000000000..1a160ecfe4d --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DbCredentialsOracleAiDataCatalogIcebergCatalogConfigSummary.java @@ -0,0 +1,293 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * Summary of the Oracle AI Data Catalog configuration based on database credentials.
+ * 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: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = DbCredentialsOracleAiDataCatalogIcebergCatalogConfigSummary.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "catalogConfigType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class DbCredentialsOracleAiDataCatalogIcebergCatalogConfigSummary + extends OracleAiDataCatalogIcebergCatalogConfigSummary { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The database type where Oracle AI Data Catalog is configured. */ + @com.fasterxml.jackson.annotation.JsonProperty("databaseType") + private OracleAiDataCatalogIcebergCatalogDatabaseType databaseType; + + /** + * The database type where Oracle AI Data Catalog is configured. + * + * @param databaseType the value to set + * @return this builder + */ + public Builder databaseType(OracleAiDataCatalogIcebergCatalogDatabaseType databaseType) { + this.databaseType = databaseType; + this.__explicitlySet__.add("databaseType"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * database being referenced. + */ + @com.fasterxml.jackson.annotation.JsonProperty("databaseId") + private String databaseId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * database being referenced. + * + * @param databaseId the value to set + * @return this builder + */ + public Builder databaseId(String databaseId) { + this.databaseId = databaseId; + this.__explicitlySet__.add("databaseId"); + return this; + } + /** + * The username Oracle GoldenGate uses to connect the associated system of the given + * technology. This username must already exist and be available by the system/application + * to be connected to and must conform to the case sensitivty requirments defined in it. + */ + @com.fasterxml.jackson.annotation.JsonProperty("username") + private String username; + + /** + * The username Oracle GoldenGate uses to connect the associated system of the given + * technology. This username must already exist and be available by the system/application + * to be connected to and must conform to the case sensitivty requirments defined in it. + * + * @param username the value to set + * @return this builder + */ + public Builder username(String username) { + this.username = username; + this.__explicitlySet__.add("username"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret where the password is stored. The password Oracle GoldenGate uses to connect the + * associated system of the given technology. It must conform to the specific security + * requirements including length, case sensitivity, and so on. If secretId is used plaintext + * field must not be provided. Note: When provided, 'password' field must not be provided. + */ + @com.fasterxml.jackson.annotation.JsonProperty("passwordSecretId") + private String passwordSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret where the password is stored. The password Oracle GoldenGate uses to connect the + * associated system of the given technology. It must conform to the specific security + * requirements including length, case sensitivity, and so on. If secretId is used plaintext + * field must not be provided. Note: When provided, 'password' field must not be provided. + * + * @param passwordSecretId the value to set + * @return this builder + */ + public Builder passwordSecretId(String passwordSecretId) { + this.passwordSecretId = passwordSecretId; + this.__explicitlySet__.add("passwordSecretId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public DbCredentialsOracleAiDataCatalogIcebergCatalogConfigSummary build() { + DbCredentialsOracleAiDataCatalogIcebergCatalogConfigSummary model = + new DbCredentialsOracleAiDataCatalogIcebergCatalogConfigSummary( + this.databaseType, + this.databaseId, + this.username, + this.passwordSecretId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(DbCredentialsOracleAiDataCatalogIcebergCatalogConfigSummary model) { + if (model.wasPropertyExplicitlySet("databaseType")) { + this.databaseType(model.getDatabaseType()); + } + if (model.wasPropertyExplicitlySet("databaseId")) { + this.databaseId(model.getDatabaseId()); + } + if (model.wasPropertyExplicitlySet("username")) { + this.username(model.getUsername()); + } + if (model.wasPropertyExplicitlySet("passwordSecretId")) { + this.passwordSecretId(model.getPasswordSecretId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public DbCredentialsOracleAiDataCatalogIcebergCatalogConfigSummary( + OracleAiDataCatalogIcebergCatalogDatabaseType databaseType, + String databaseId, + String username, + String passwordSecretId) { + super(); + this.databaseType = databaseType; + this.databaseId = databaseId; + this.username = username; + this.passwordSecretId = passwordSecretId; + } + + /** The database type where Oracle AI Data Catalog is configured. */ + @com.fasterxml.jackson.annotation.JsonProperty("databaseType") + private final OracleAiDataCatalogIcebergCatalogDatabaseType databaseType; + + /** + * The database type where Oracle AI Data Catalog is configured. + * + * @return the value + */ + public OracleAiDataCatalogIcebergCatalogDatabaseType getDatabaseType() { + return databaseType; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * database being referenced. + */ + @com.fasterxml.jackson.annotation.JsonProperty("databaseId") + private final String databaseId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * database being referenced. + * + * @return the value + */ + public String getDatabaseId() { + return databaseId; + } + + /** + * The username Oracle GoldenGate uses to connect the associated system of the given technology. + * This username must already exist and be available by the system/application to be connected + * to and must conform to the case sensitivty requirments defined in it. + */ + @com.fasterxml.jackson.annotation.JsonProperty("username") + private final String username; + + /** + * The username Oracle GoldenGate uses to connect the associated system of the given technology. + * This username must already exist and be available by the system/application to be connected + * to and must conform to the case sensitivty requirments defined in it. + * + * @return the value + */ + public String getUsername() { + return username; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret where the password is stored. The password Oracle GoldenGate uses to connect the + * associated system of the given technology. It must conform to the specific security + * requirements including length, case sensitivity, and so on. If secretId is used plaintext + * field must not be provided. Note: When provided, 'password' field must not be provided. + */ + @com.fasterxml.jackson.annotation.JsonProperty("passwordSecretId") + private final String passwordSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret where the password is stored. The password Oracle GoldenGate uses to connect the + * associated system of the given technology. It must conform to the specific security + * requirements including length, case sensitivity, and so on. If secretId is used plaintext + * field must not be provided. Note: When provided, 'password' field must not be provided. + * + * @return the value + */ + public String getPasswordSecretId() { + return passwordSecretId; + } + + @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("DbCredentialsOracleAiDataCatalogIcebergCatalogConfigSummary("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", databaseType=").append(String.valueOf(this.databaseType)); + sb.append(", databaseId=").append(String.valueOf(this.databaseId)); + sb.append(", username=").append(String.valueOf(this.username)); + sb.append(", passwordSecretId=").append(String.valueOf(this.passwordSecretId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof DbCredentialsOracleAiDataCatalogIcebergCatalogConfigSummary)) { + return false; + } + + DbCredentialsOracleAiDataCatalogIcebergCatalogConfigSummary other = + (DbCredentialsOracleAiDataCatalogIcebergCatalogConfigSummary) o; + return java.util.Objects.equals(this.databaseType, other.databaseType) + && java.util.Objects.equals(this.databaseId, other.databaseId) + && java.util.Objects.equals(this.username, other.username) + && java.util.Objects.equals(this.passwordSecretId, other.passwordSecretId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.databaseType == null ? 43 : this.databaseType.hashCode()); + result = (result * PRIME) + (this.databaseId == null ? 43 : this.databaseId.hashCode()); + result = (result * PRIME) + (this.username == null ? 43 : this.username.hashCode()); + result = + (result * PRIME) + + (this.passwordSecretId == null ? 43 : this.passwordSecretId.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/Deployment.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/Deployment.java index ef80aa1fb89..35712512d35 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/Deployment.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/Deployment.java @@ -719,17 +719,17 @@ public Builder environmentType(EnvironmentType environmentType) { return this; } /** - * The deployment category defines the broad separation of the deployment type into four + * The deployment category defines the broad separation of the deployment type into five * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS', - * 'DATA_TRANSFORMS' and 'DATA_VERIFICATION'. + * 'DATA_TRANSFORMS', 'DATA_VERIFICATION' and 'DATA_CATALOG'. */ @com.fasterxml.jackson.annotation.JsonProperty("category") private DeploymentCategory category; /** - * The deployment category defines the broad separation of the deployment type into four + * The deployment category defines the broad separation of the deployment type into five * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS', - * 'DATA_TRANSFORMS' and 'DATA_VERIFICATION'. + * 'DATA_TRANSFORMS', 'DATA_VERIFICATION' and 'DATA_CATALOG'. * * @param category the value to set * @return this builder @@ -1989,17 +1989,17 @@ public EnvironmentType getEnvironmentType() { } /** - * The deployment category defines the broad separation of the deployment type into four + * The deployment category defines the broad separation of the deployment type into five * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS', - * 'DATA_TRANSFORMS' and 'DATA_VERIFICATION'. + * 'DATA_TRANSFORMS', 'DATA_VERIFICATION' and 'DATA_CATALOG'. */ @com.fasterxml.jackson.annotation.JsonProperty("category") private final DeploymentCategory category; /** - * The deployment category defines the broad separation of the deployment type into four + * The deployment category defines the broad separation of the deployment type into five * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS', - * 'DATA_TRANSFORMS' and 'DATA_VERIFICATION'. + * 'DATA_TRANSFORMS', 'DATA_VERIFICATION' and 'DATA_CATALOG'. * * @return the value */ diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentCategory.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentCategory.java index 4d1ad83933b..1fcac54dabd 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentCategory.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentCategory.java @@ -15,6 +15,7 @@ public enum DeploymentCategory implements com.oracle.bmc.http.internal.BmcEnum { StreamAnalytics("STREAM_ANALYTICS"), DataTransforms("DATA_TRANSFORMS"), DataVerification("DATA_VERIFICATION"), + DataCatalog("DATA_CATALOG"), /** * This value is used if a service returns a value for this enum that is not recognized by this diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentEnvironmentSummary.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentEnvironmentSummary.java index bf904804d45..3e62101c8a1 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentEnvironmentSummary.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentEnvironmentSummary.java @@ -81,17 +81,17 @@ public Builder environmentType(EnvironmentType environmentType) { return this; } /** - * The deployment category defines the broad separation of the deployment type into four + * The deployment category defines the broad separation of the deployment type into five * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS', - * 'DATA_TRANSFORMS' and 'DATA_VERIFICATION'. + * 'DATA_TRANSFORMS', 'DATA_VERIFICATION' and 'DATA_CATALOG'. */ @com.fasterxml.jackson.annotation.JsonProperty("category") private DeploymentCategory category; /** - * The deployment category defines the broad separation of the deployment type into four + * The deployment category defines the broad separation of the deployment type into five * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS', - * 'DATA_TRANSFORMS' and 'DATA_VERIFICATION'. + * 'DATA_TRANSFORMS', 'DATA_VERIFICATION' and 'DATA_CATALOG'. * * @param category the value to set * @return this builder @@ -305,17 +305,17 @@ public EnvironmentType getEnvironmentType() { } /** - * The deployment category defines the broad separation of the deployment type into four + * The deployment category defines the broad separation of the deployment type into five * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS', - * 'DATA_TRANSFORMS' and 'DATA_VERIFICATION'. + * 'DATA_TRANSFORMS', 'DATA_VERIFICATION' and 'DATA_CATALOG'. */ @com.fasterxml.jackson.annotation.JsonProperty("category") private final DeploymentCategory category; /** - * The deployment category defines the broad separation of the deployment type into four + * The deployment category defines the broad separation of the deployment type into five * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS', - * 'DATA_TRANSFORMS' and 'DATA_VERIFICATION'. + * 'DATA_TRANSFORMS', 'DATA_VERIFICATION' and 'DATA_CATALOG'. * * @return the value */ diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentSummary.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentSummary.java index 608e99eda7e..11518d566df 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentSummary.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentSummary.java @@ -498,17 +498,17 @@ public Builder environmentType(EnvironmentType environmentType) { return this; } /** - * The deployment category defines the broad separation of the deployment type into four + * The deployment category defines the broad separation of the deployment type into five * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS', - * 'DATA_TRANSFORMS' and 'DATA_VERIFICATION'. + * 'DATA_TRANSFORMS', 'DATA_VERIFICATION' and 'DATA_CATALOG'. */ @com.fasterxml.jackson.annotation.JsonProperty("category") private DeploymentCategory category; /** - * The deployment category defines the broad separation of the deployment type into four + * The deployment category defines the broad separation of the deployment type into five * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS', - * 'DATA_TRANSFORMS' and 'DATA_VERIFICATION'. + * 'DATA_TRANSFORMS', 'DATA_VERIFICATION' and 'DATA_CATALOG'. * * @param category the value to set * @return this builder @@ -1346,17 +1346,17 @@ public EnvironmentType getEnvironmentType() { } /** - * The deployment category defines the broad separation of the deployment type into four + * The deployment category defines the broad separation of the deployment type into five * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS', - * 'DATA_TRANSFORMS' and 'DATA_VERIFICATION'. + * 'DATA_TRANSFORMS', 'DATA_VERIFICATION' and 'DATA_CATALOG'. */ @com.fasterxml.jackson.annotation.JsonProperty("category") private final DeploymentCategory category; /** - * The deployment category defines the broad separation of the deployment type into four + * The deployment category defines the broad separation of the deployment type into five * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS', - * 'DATA_TRANSFORMS' and 'DATA_VERIFICATION'. + * 'DATA_TRANSFORMS', 'DATA_VERIFICATION' and 'DATA_CATALOG'. * * @return the value */ diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentType.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentType.java index 0e40230955f..9a2bb7afacf 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentType.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentType.java @@ -19,6 +19,7 @@ public enum DeploymentType implements com.oracle.bmc.http.internal.BmcEnum { DataTransforms("DATA_TRANSFORMS"), VeridataServer("VERIDATA_SERVER"), VeridataAgent("VERIDATA_AGENT"), + AiDataCatalog("AI_DATA_CATALOG"), /** * This value is used if a service returns a value for this enum that is not recognized by this diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentTypeSummary.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentTypeSummary.java index cee2eaf1c12..d1f7a193b47 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentTypeSummary.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentTypeSummary.java @@ -39,6 +39,7 @@ public final class DeploymentTypeSummary "supportedTechnologiesUrl", "defaultUsername", "supportedCapabilities", + "supportedCredentialStores", "supportedLicenseTypes" }) public DeploymentTypeSummary( @@ -52,6 +53,7 @@ public DeploymentTypeSummary( String supportedTechnologiesUrl, String defaultUsername, java.util.List supportedCapabilities, + java.util.List supportedCredentialStores, java.util.List supportedLicenseTypes) { super(); this.category = category; @@ -64,23 +66,24 @@ public DeploymentTypeSummary( this.supportedTechnologiesUrl = supportedTechnologiesUrl; this.defaultUsername = defaultUsername; this.supportedCapabilities = supportedCapabilities; + this.supportedCredentialStores = supportedCredentialStores; this.supportedLicenseTypes = supportedLicenseTypes; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The deployment category defines the broad separation of the deployment type into four + * The deployment category defines the broad separation of the deployment type into five * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS', - * 'DATA_TRANSFORMS' and 'DATA_VERIFICATION'. + * 'DATA_TRANSFORMS', 'DATA_VERIFICATION' and 'DATA_CATALOG'. */ @com.fasterxml.jackson.annotation.JsonProperty("category") private DeploymentCategory category; /** - * The deployment category defines the broad separation of the deployment type into four + * The deployment category defines the broad separation of the deployment type into five * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS', - * 'DATA_TRANSFORMS' and 'DATA_VERIFICATION'. + * 'DATA_TRANSFORMS', 'DATA_VERIFICATION' and 'DATA_CATALOG'. * * @param category the value to set * @return this builder @@ -248,6 +251,22 @@ public Builder supportedCapabilities( this.__explicitlySet__.add("supportedCapabilities"); return this; } + /** The list of credential stores supported by the deployment type. */ + @com.fasterxml.jackson.annotation.JsonProperty("supportedCredentialStores") + private java.util.List supportedCredentialStores; + + /** + * The list of credential stores supported by the deployment type. + * + * @param supportedCredentialStores the value to set + * @return this builder + */ + public Builder supportedCredentialStores( + java.util.List supportedCredentialStores) { + this.supportedCredentialStores = supportedCredentialStores; + this.__explicitlySet__.add("supportedCredentialStores"); + return this; + } /** The list of Oracle license models supported by the deployment type. */ @com.fasterxml.jackson.annotation.JsonProperty("supportedLicenseTypes") private java.util.List supportedLicenseTypes; @@ -280,6 +299,7 @@ public DeploymentTypeSummary build() { this.supportedTechnologiesUrl, this.defaultUsername, this.supportedCapabilities, + this.supportedCredentialStores, this.supportedLicenseTypes); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); @@ -319,6 +339,9 @@ public Builder copy(DeploymentTypeSummary model) { if (model.wasPropertyExplicitlySet("supportedCapabilities")) { this.supportedCapabilities(model.getSupportedCapabilities()); } + if (model.wasPropertyExplicitlySet("supportedCredentialStores")) { + this.supportedCredentialStores(model.getSupportedCredentialStores()); + } if (model.wasPropertyExplicitlySet("supportedLicenseTypes")) { this.supportedLicenseTypes(model.getSupportedLicenseTypes()); } @@ -336,17 +359,17 @@ public Builder toBuilder() { } /** - * The deployment category defines the broad separation of the deployment type into four + * The deployment category defines the broad separation of the deployment type into five * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS', - * 'DATA_TRANSFORMS' and 'DATA_VERIFICATION'. + * 'DATA_TRANSFORMS', 'DATA_VERIFICATION' and 'DATA_CATALOG'. */ @com.fasterxml.jackson.annotation.JsonProperty("category") private final DeploymentCategory category; /** - * The deployment category defines the broad separation of the deployment type into four + * The deployment category defines the broad separation of the deployment type into five * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS', - * 'DATA_TRANSFORMS' and 'DATA_VERIFICATION'. + * 'DATA_TRANSFORMS', 'DATA_VERIFICATION' and 'DATA_CATALOG'. * * @return the value */ @@ -489,6 +512,19 @@ public java.util.List getSupportedCapabilities() { return supportedCapabilities; } + /** The list of credential stores supported by the deployment type. */ + @com.fasterxml.jackson.annotation.JsonProperty("supportedCredentialStores") + private final java.util.List supportedCredentialStores; + + /** + * The list of credential stores supported by the deployment type. + * + * @return the value + */ + public java.util.List getSupportedCredentialStores() { + return supportedCredentialStores; + } + /** The list of Oracle license models supported by the deployment type. */ @com.fasterxml.jackson.annotation.JsonProperty("supportedLicenseTypes") private final java.util.List supportedLicenseTypes; @@ -528,6 +564,8 @@ public String toString(boolean includeByteArrayContents) { .append(String.valueOf(this.supportedTechnologiesUrl)); sb.append(", defaultUsername=").append(String.valueOf(this.defaultUsername)); sb.append(", supportedCapabilities=").append(String.valueOf(this.supportedCapabilities)); + sb.append(", supportedCredentialStores=") + .append(String.valueOf(this.supportedCredentialStores)); sb.append(", supportedLicenseTypes=").append(String.valueOf(this.supportedLicenseTypes)); sb.append(")"); return sb.toString(); @@ -554,6 +592,8 @@ public boolean equals(Object o) { this.supportedTechnologiesUrl, other.supportedTechnologiesUrl) && java.util.Objects.equals(this.defaultUsername, other.defaultUsername) && java.util.Objects.equals(this.supportedCapabilities, other.supportedCapabilities) + && java.util.Objects.equals( + this.supportedCredentialStores, other.supportedCredentialStores) && java.util.Objects.equals(this.supportedLicenseTypes, other.supportedLicenseTypes) && super.equals(other); } @@ -594,6 +634,11 @@ public int hashCode() { + (this.supportedCapabilities == null ? 43 : this.supportedCapabilities.hashCode()); + result = + (result * PRIME) + + (this.supportedCredentialStores == null + ? 43 + : this.supportedCredentialStores.hashCode()); result = (result * PRIME) + (this.supportedLicenseTypes == null diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/IcebergCatalog.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/IcebergCatalog.java index 38d3a6cdb66..941e36d47f1 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/IcebergCatalog.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/IcebergCatalog.java @@ -31,6 +31,9 @@ @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = RestIcebergCatalog.class, name = "REST"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = OracleAiDataCatalogIcebergCatalog.class, + name = "OADC"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = NessieIcebergCatalog.class, name = "NESSIE"), diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/IcebergCatalogSummary.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/IcebergCatalogSummary.java index 3012b1b2849..6e88d288b61 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/IcebergCatalogSummary.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/IcebergCatalogSummary.java @@ -36,7 +36,10 @@ name = "REST"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = HadoopIcebergCatalogSummary.class, - name = "HADOOP") + name = "HADOOP"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = OracleAiDataCatalogIcebergCatalogSummary.class, + name = "OADC") }) @com.fasterxml.jackson.annotation.JsonFilter( com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/IcebergCatalogType.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/IcebergCatalogType.java index 9f020d1be1c..e1e9c765f66 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/IcebergCatalogType.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/IcebergCatalogType.java @@ -12,6 +12,7 @@ public enum IcebergCatalogType implements com.oracle.bmc.http.internal.BmcEnum { Nessie("NESSIE"), Polaris("POLARIS"), Rest("REST"), + Oadc("OADC"), /** * This value is used if a service returns a value for this enum that is not recognized by this diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/IcebergStorage.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/IcebergStorage.java index 5bbb6bd43fb..990ed73f97e 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/IcebergStorage.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/IcebergStorage.java @@ -25,12 +25,21 @@ @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = OciObjectStorageS3ApiIcebergStorage.class, name = "OCI_OBJECT_STORAGE_S3_API"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = AzureStorageIcebergStorage.class, + name = "AZURE_STORAGE"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = AmazonS3IcebergStorage.class, name = "AMAZON_S3"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = ZfsIcebergStorage.class, + name = "ZFS"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = AzureDataLakeStorageIcebergStorage.class, name = "AZURE_DATA_LAKE_STORAGE"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = OciObjectStorageAccessKeyIcebergStorage.class, + name = "OCI_OBJECT_STORAGE_ACCESS_KEY"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = NoIcebergStorage.class, name = "NONE"), diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/IcebergStorageSummary.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/IcebergStorageSummary.java index 7c0672ab35b..621f7e0ac06 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/IcebergStorageSummary.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/IcebergStorageSummary.java @@ -28,15 +28,24 @@ @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = OciObjectStorageS3ApiIcebergStorageSummary.class, name = "OCI_OBJECT_STORAGE_S3_API"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = ZfsIcebergStorageSummary.class, + name = "ZFS"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = AzureDataLakeStorageIcebergStorageSummary.class, name = "AZURE_DATA_LAKE_STORAGE"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = OciObjectStorageAccessKeyIcebergStorageSummary.class, + name = "OCI_OBJECT_STORAGE_ACCESS_KEY"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = NoIcebergStorageSummary.class, name = "NONE"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = AmazonS3IcebergStorageSummary.class, - name = "AMAZON_S3") + name = "AMAZON_S3"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = AzureStorageIcebergStorageSummary.class, + name = "AZURE_STORAGE") }) @com.fasterxml.jackson.annotation.JsonFilter( com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/IcebergStorageType.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/IcebergStorageType.java index e8a8a228c16..9ba8c2d349f 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/IcebergStorageType.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/IcebergStorageType.java @@ -9,7 +9,8 @@ * AMAZON_S3. * HADOOP: AMAZON_S3, GOOGLE_CLOUD_STORAGE, AZURE_DATA_LAKE_STORAGE, or * OCI_OBJECT_STORAGE_S3_API. * NESSIE: AMAZON_S3, GOOGLE_CLOUD_STORAGE, or AZURE_DATA_LAKE_STORAGE. * * POLARIS: AMAZON_S3, GOOGLE_CLOUD_STORAGE, or AZURE_DATA_LAKE_STORAGE. * REST: AMAZON_S3, - * GOOGLE_CLOUD_STORAGE, AZURE_DATA_LAKE_STORAGE, or NONE. + * GOOGLE_CLOUD_STORAGE, AZURE_DATA_LAKE_STORAGE, or NONE. * OADC: OCI_OBJECT_STORAGE_ACCESS_KEY, + * AZURE_STORAGE, or ZFS. */ @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200407") public enum IcebergStorageType implements com.oracle.bmc.http.internal.BmcEnum { @@ -18,6 +19,9 @@ public enum IcebergStorageType implements com.oracle.bmc.http.internal.BmcEnum { AzureDataLakeStorage("AZURE_DATA_LAKE_STORAGE"), None("NONE"), OciObjectStorageS3Api("OCI_OBJECT_STORAGE_S3_API"), + OciObjectStorageAccessKey("OCI_OBJECT_STORAGE_ACCESS_KEY"), + AzureStorage("AZURE_STORAGE"), + Zfs("ZFS"), /** * This value is used if a service returns a value for this enum that is not recognized by this diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OciGoldenGateOracleAiDataCatalogIcebergCatalogConfig.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OciGoldenGateOracleAiDataCatalogIcebergCatalogConfig.java new file mode 100644 index 00000000000..23fda3fb7bf --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OciGoldenGateOracleAiDataCatalogIcebergCatalogConfig.java @@ -0,0 +1,146 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * Represents an Oracle AI Data Catalog configuration based on an OCI GoldenGate deployment.
+ * 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: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = OciGoldenGateOracleAiDataCatalogIcebergCatalogConfig.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "catalogConfigType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class OciGoldenGateOracleAiDataCatalogIcebergCatalogConfig + extends OracleAiDataCatalogIcebergCatalogConfig { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * deployment being referenced. + */ + @com.fasterxml.jackson.annotation.JsonProperty("deploymentId") + private String deploymentId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * deployment being referenced. + * + * @param deploymentId the value to set + * @return this builder + */ + public Builder deploymentId(String deploymentId) { + this.deploymentId = deploymentId; + this.__explicitlySet__.add("deploymentId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public OciGoldenGateOracleAiDataCatalogIcebergCatalogConfig build() { + OciGoldenGateOracleAiDataCatalogIcebergCatalogConfig model = + new OciGoldenGateOracleAiDataCatalogIcebergCatalogConfig(this.deploymentId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(OciGoldenGateOracleAiDataCatalogIcebergCatalogConfig model) { + if (model.wasPropertyExplicitlySet("deploymentId")) { + this.deploymentId(model.getDeploymentId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public OciGoldenGateOracleAiDataCatalogIcebergCatalogConfig(String deploymentId) { + super(); + this.deploymentId = deploymentId; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * deployment being referenced. + */ + @com.fasterxml.jackson.annotation.JsonProperty("deploymentId") + private final String deploymentId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * deployment being referenced. + * + * @return the value + */ + public String getDeploymentId() { + return deploymentId; + } + + @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("OciGoldenGateOracleAiDataCatalogIcebergCatalogConfig("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", deploymentId=").append(String.valueOf(this.deploymentId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof OciGoldenGateOracleAiDataCatalogIcebergCatalogConfig)) { + return false; + } + + OciGoldenGateOracleAiDataCatalogIcebergCatalogConfig other = + (OciGoldenGateOracleAiDataCatalogIcebergCatalogConfig) o; + return java.util.Objects.equals(this.deploymentId, other.deploymentId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.deploymentId == null ? 43 : this.deploymentId.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OciGoldenGateOracleAiDataCatalogIcebergCatalogConfigSummary.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OciGoldenGateOracleAiDataCatalogIcebergCatalogConfigSummary.java new file mode 100644 index 00000000000..b675426d682 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OciGoldenGateOracleAiDataCatalogIcebergCatalogConfigSummary.java @@ -0,0 +1,147 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * Summary of the Oracle AI Data Catalog configuration based on an OCI GoldenGate deployment.
+ * 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: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = OciGoldenGateOracleAiDataCatalogIcebergCatalogConfigSummary.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "catalogConfigType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class OciGoldenGateOracleAiDataCatalogIcebergCatalogConfigSummary + extends OracleAiDataCatalogIcebergCatalogConfigSummary { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * deployment being referenced. + */ + @com.fasterxml.jackson.annotation.JsonProperty("deploymentId") + private String deploymentId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * deployment being referenced. + * + * @param deploymentId the value to set + * @return this builder + */ + public Builder deploymentId(String deploymentId) { + this.deploymentId = deploymentId; + this.__explicitlySet__.add("deploymentId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public OciGoldenGateOracleAiDataCatalogIcebergCatalogConfigSummary build() { + OciGoldenGateOracleAiDataCatalogIcebergCatalogConfigSummary model = + new OciGoldenGateOracleAiDataCatalogIcebergCatalogConfigSummary( + this.deploymentId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(OciGoldenGateOracleAiDataCatalogIcebergCatalogConfigSummary model) { + if (model.wasPropertyExplicitlySet("deploymentId")) { + this.deploymentId(model.getDeploymentId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public OciGoldenGateOracleAiDataCatalogIcebergCatalogConfigSummary(String deploymentId) { + super(); + this.deploymentId = deploymentId; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * deployment being referenced. + */ + @com.fasterxml.jackson.annotation.JsonProperty("deploymentId") + private final String deploymentId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * deployment being referenced. + * + * @return the value + */ + public String getDeploymentId() { + return deploymentId; + } + + @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("OciGoldenGateOracleAiDataCatalogIcebergCatalogConfigSummary("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", deploymentId=").append(String.valueOf(this.deploymentId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof OciGoldenGateOracleAiDataCatalogIcebergCatalogConfigSummary)) { + return false; + } + + OciGoldenGateOracleAiDataCatalogIcebergCatalogConfigSummary other = + (OciGoldenGateOracleAiDataCatalogIcebergCatalogConfigSummary) o; + return java.util.Objects.equals(this.deploymentId, other.deploymentId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.deploymentId == null ? 43 : this.deploymentId.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OciObjectStorageAccessKeyIcebergStorage.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OciObjectStorageAccessKeyIcebergStorage.java new file mode 100644 index 00000000000..6edeb73a4e5 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OciObjectStorageAccessKeyIcebergStorage.java @@ -0,0 +1,245 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * Represents OCI Object Storage configuration for an Oracle AI Data Catalog Iceberg catalog using + * access-key/secret-key credentials.
+ * 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: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = OciObjectStorageAccessKeyIcebergStorage.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "storageType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class OciObjectStorageAccessKeyIcebergStorage extends IcebergStorage { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The access key ID used to access the OCI Object Storage bucket. */ + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") + private String accessKeyId; + + /** + * The access key ID used to access the OCI Object Storage bucket. + * + * @param accessKeyId the value to set + * @return this builder + */ + public Builder accessKeyId(String accessKeyId) { + this.accessKeyId = accessKeyId; + this.__explicitlySet__.add("accessKeyId"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the OCI Object Storage secret access key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + private String secretAccessKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the OCI Object Storage secret access key. + * + * @param secretAccessKeySecretId the value to set + * @return this builder + */ + public Builder secretAccessKeySecretId(String secretAccessKeySecretId) { + this.secretAccessKeySecretId = secretAccessKeySecretId; + this.__explicitlySet__.add("secretAccessKeySecretId"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties + * for the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + */ + @com.fasterxml.jackson.annotation.JsonProperty("propertiesSecretId") + private String propertiesSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties + * for the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * + * @param propertiesSecretId the value to set + * @return this builder + */ + public Builder propertiesSecretId(String propertiesSecretId) { + this.propertiesSecretId = propertiesSecretId; + this.__explicitlySet__.add("propertiesSecretId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public OciObjectStorageAccessKeyIcebergStorage build() { + OciObjectStorageAccessKeyIcebergStorage model = + new OciObjectStorageAccessKeyIcebergStorage( + this.accessKeyId, + this.secretAccessKeySecretId, + this.propertiesSecretId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(OciObjectStorageAccessKeyIcebergStorage model) { + if (model.wasPropertyExplicitlySet("accessKeyId")) { + this.accessKeyId(model.getAccessKeyId()); + } + if (model.wasPropertyExplicitlySet("secretAccessKeySecretId")) { + this.secretAccessKeySecretId(model.getSecretAccessKeySecretId()); + } + if (model.wasPropertyExplicitlySet("propertiesSecretId")) { + this.propertiesSecretId(model.getPropertiesSecretId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public OciObjectStorageAccessKeyIcebergStorage( + String accessKeyId, String secretAccessKeySecretId, String propertiesSecretId) { + super(); + this.accessKeyId = accessKeyId; + this.secretAccessKeySecretId = secretAccessKeySecretId; + this.propertiesSecretId = propertiesSecretId; + } + + /** The access key ID used to access the OCI Object Storage bucket. */ + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") + private final String accessKeyId; + + /** + * The access key ID used to access the OCI Object Storage bucket. + * + * @return the value + */ + public String getAccessKeyId() { + return accessKeyId; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the OCI Object Storage secret access key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + private final String secretAccessKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the OCI Object Storage secret access key. + * + * @return the value + */ + public String getSecretAccessKeySecretId() { + return secretAccessKeySecretId; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties for + * the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + */ + @com.fasterxml.jackson.annotation.JsonProperty("propertiesSecretId") + private final String propertiesSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties for + * the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * + * @return the value + */ + public String getPropertiesSecretId() { + return propertiesSecretId; + } + + @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("OciObjectStorageAccessKeyIcebergStorage("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", accessKeyId=").append(String.valueOf(this.accessKeyId)); + sb.append(", secretAccessKeySecretId=") + .append(String.valueOf(this.secretAccessKeySecretId)); + sb.append(", propertiesSecretId=").append(String.valueOf(this.propertiesSecretId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof OciObjectStorageAccessKeyIcebergStorage)) { + return false; + } + + OciObjectStorageAccessKeyIcebergStorage other = (OciObjectStorageAccessKeyIcebergStorage) o; + return java.util.Objects.equals(this.accessKeyId, other.accessKeyId) + && java.util.Objects.equals( + this.secretAccessKeySecretId, other.secretAccessKeySecretId) + && java.util.Objects.equals(this.propertiesSecretId, other.propertiesSecretId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.accessKeyId == null ? 43 : this.accessKeyId.hashCode()); + result = + (result * PRIME) + + (this.secretAccessKeySecretId == null + ? 43 + : this.secretAccessKeySecretId.hashCode()); + result = + (result * PRIME) + + (this.propertiesSecretId == null + ? 43 + : this.propertiesSecretId.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OciObjectStorageAccessKeyIcebergStorageSummary.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OciObjectStorageAccessKeyIcebergStorageSummary.java new file mode 100644 index 00000000000..0e67ffcc22a --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OciObjectStorageAccessKeyIcebergStorageSummary.java @@ -0,0 +1,246 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * Summary of the OCI Object Storage configuration used for an Oracle AI Data Catalog Iceberg + * catalog.
+ * 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: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = OciObjectStorageAccessKeyIcebergStorageSummary.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "storageType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class OciObjectStorageAccessKeyIcebergStorageSummary extends IcebergStorageSummary { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The access key ID used to access the OCI Object Storage bucket. */ + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") + private String accessKeyId; + + /** + * The access key ID used to access the OCI Object Storage bucket. + * + * @param accessKeyId the value to set + * @return this builder + */ + public Builder accessKeyId(String accessKeyId) { + this.accessKeyId = accessKeyId; + this.__explicitlySet__.add("accessKeyId"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the OCI Object Storage secret access key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + private String secretAccessKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the OCI Object Storage secret access key. + * + * @param secretAccessKeySecretId the value to set + * @return this builder + */ + public Builder secretAccessKeySecretId(String secretAccessKeySecretId) { + this.secretAccessKeySecretId = secretAccessKeySecretId; + this.__explicitlySet__.add("secretAccessKeySecretId"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties + * for the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + */ + @com.fasterxml.jackson.annotation.JsonProperty("propertiesSecretId") + private String propertiesSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties + * for the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * + * @param propertiesSecretId the value to set + * @return this builder + */ + public Builder propertiesSecretId(String propertiesSecretId) { + this.propertiesSecretId = propertiesSecretId; + this.__explicitlySet__.add("propertiesSecretId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public OciObjectStorageAccessKeyIcebergStorageSummary build() { + OciObjectStorageAccessKeyIcebergStorageSummary model = + new OciObjectStorageAccessKeyIcebergStorageSummary( + this.accessKeyId, + this.secretAccessKeySecretId, + this.propertiesSecretId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(OciObjectStorageAccessKeyIcebergStorageSummary model) { + if (model.wasPropertyExplicitlySet("accessKeyId")) { + this.accessKeyId(model.getAccessKeyId()); + } + if (model.wasPropertyExplicitlySet("secretAccessKeySecretId")) { + this.secretAccessKeySecretId(model.getSecretAccessKeySecretId()); + } + if (model.wasPropertyExplicitlySet("propertiesSecretId")) { + this.propertiesSecretId(model.getPropertiesSecretId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public OciObjectStorageAccessKeyIcebergStorageSummary( + String accessKeyId, String secretAccessKeySecretId, String propertiesSecretId) { + super(); + this.accessKeyId = accessKeyId; + this.secretAccessKeySecretId = secretAccessKeySecretId; + this.propertiesSecretId = propertiesSecretId; + } + + /** The access key ID used to access the OCI Object Storage bucket. */ + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") + private final String accessKeyId; + + /** + * The access key ID used to access the OCI Object Storage bucket. + * + * @return the value + */ + public String getAccessKeyId() { + return accessKeyId; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the OCI Object Storage secret access key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + private final String secretAccessKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the OCI Object Storage secret access key. + * + * @return the value + */ + public String getSecretAccessKeySecretId() { + return secretAccessKeySecretId; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties for + * the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + */ + @com.fasterxml.jackson.annotation.JsonProperty("propertiesSecretId") + private final String propertiesSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties for + * the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * + * @return the value + */ + public String getPropertiesSecretId() { + return propertiesSecretId; + } + + @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("OciObjectStorageAccessKeyIcebergStorageSummary("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", accessKeyId=").append(String.valueOf(this.accessKeyId)); + sb.append(", secretAccessKeySecretId=") + .append(String.valueOf(this.secretAccessKeySecretId)); + sb.append(", propertiesSecretId=").append(String.valueOf(this.propertiesSecretId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof OciObjectStorageAccessKeyIcebergStorageSummary)) { + return false; + } + + OciObjectStorageAccessKeyIcebergStorageSummary other = + (OciObjectStorageAccessKeyIcebergStorageSummary) o; + return java.util.Objects.equals(this.accessKeyId, other.accessKeyId) + && java.util.Objects.equals( + this.secretAccessKeySecretId, other.secretAccessKeySecretId) + && java.util.Objects.equals(this.propertiesSecretId, other.propertiesSecretId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.accessKeyId == null ? 43 : this.accessKeyId.hashCode()); + result = + (result * PRIME) + + (this.secretAccessKeySecretId == null + ? 43 + : this.secretAccessKeySecretId.hashCode()); + result = + (result * PRIME) + + (this.propertiesSecretId == null + ? 43 + : this.propertiesSecretId.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OciObjectStorageAccessKeyWarehouseStorage.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OciObjectStorageAccessKeyWarehouseStorage.java new file mode 100644 index 00000000000..dda6dcc17db --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OciObjectStorageAccessKeyWarehouseStorage.java @@ -0,0 +1,275 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * Represents OCI Object Storage warehouse storage configuration for Oracle AI Data Catalog Storage + * Connection using access-key/secret-key credentials.
+ * 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: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = OciObjectStorageAccessKeyWarehouseStorage.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "storageType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class OciObjectStorageAccessKeyWarehouseStorage extends WarehouseStorage { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** Name of namespace that serves as a container for all of your buckets */ + @com.fasterxml.jackson.annotation.JsonProperty("namespaceName") + private String namespaceName; + + /** + * Name of namespace that serves as a container for all of your buckets + * + * @param namespaceName the value to set + * @return this builder + */ + public Builder namespaceName(String namespaceName) { + this.namespaceName = namespaceName; + this.__explicitlySet__.add("namespaceName"); + return this; + } + /** + * The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will + * default to the current region. + */ + @com.fasterxml.jackson.annotation.JsonProperty("region") + private String region; + + /** + * The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will + * default to the current region. + * + * @param region the value to set + * @return this builder + */ + public Builder region(String region) { + this.region = region; + this.__explicitlySet__.add("region"); + return this; + } + /** The access key ID used to access the OCI Object Storage bucket. */ + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") + private String accessKeyId; + + /** + * The access key ID used to access the OCI Object Storage bucket. + * + * @param accessKeyId the value to set + * @return this builder + */ + public Builder accessKeyId(String accessKeyId) { + this.accessKeyId = accessKeyId; + this.__explicitlySet__.add("accessKeyId"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the OCI Object Storage secret access key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + private String secretAccessKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the OCI Object Storage secret access key. + * + * @param secretAccessKeySecretId the value to set + * @return this builder + */ + public Builder secretAccessKeySecretId(String secretAccessKeySecretId) { + this.secretAccessKeySecretId = secretAccessKeySecretId; + this.__explicitlySet__.add("secretAccessKeySecretId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public OciObjectStorageAccessKeyWarehouseStorage build() { + OciObjectStorageAccessKeyWarehouseStorage model = + new OciObjectStorageAccessKeyWarehouseStorage( + this.namespaceName, + this.region, + this.accessKeyId, + this.secretAccessKeySecretId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(OciObjectStorageAccessKeyWarehouseStorage model) { + if (model.wasPropertyExplicitlySet("namespaceName")) { + this.namespaceName(model.getNamespaceName()); + } + if (model.wasPropertyExplicitlySet("region")) { + this.region(model.getRegion()); + } + if (model.wasPropertyExplicitlySet("accessKeyId")) { + this.accessKeyId(model.getAccessKeyId()); + } + if (model.wasPropertyExplicitlySet("secretAccessKeySecretId")) { + this.secretAccessKeySecretId(model.getSecretAccessKeySecretId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public OciObjectStorageAccessKeyWarehouseStorage( + String namespaceName, + String region, + String accessKeyId, + String secretAccessKeySecretId) { + super(); + this.namespaceName = namespaceName; + this.region = region; + this.accessKeyId = accessKeyId; + this.secretAccessKeySecretId = secretAccessKeySecretId; + } + + /** Name of namespace that serves as a container for all of your buckets */ + @com.fasterxml.jackson.annotation.JsonProperty("namespaceName") + private final String namespaceName; + + /** + * Name of namespace that serves as a container for all of your buckets + * + * @return the value + */ + public String getNamespaceName() { + return namespaceName; + } + + /** + * The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will + * default to the current region. + */ + @com.fasterxml.jackson.annotation.JsonProperty("region") + private final String region; + + /** + * The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will + * default to the current region. + * + * @return the value + */ + public String getRegion() { + return region; + } + + /** The access key ID used to access the OCI Object Storage bucket. */ + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") + private final String accessKeyId; + + /** + * The access key ID used to access the OCI Object Storage bucket. + * + * @return the value + */ + public String getAccessKeyId() { + return accessKeyId; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the OCI Object Storage secret access key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + private final String secretAccessKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the OCI Object Storage secret access key. + * + * @return the value + */ + public String getSecretAccessKeySecretId() { + return secretAccessKeySecretId; + } + + @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("OciObjectStorageAccessKeyWarehouseStorage("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", namespaceName=").append(String.valueOf(this.namespaceName)); + sb.append(", region=").append(String.valueOf(this.region)); + sb.append(", accessKeyId=").append(String.valueOf(this.accessKeyId)); + sb.append(", secretAccessKeySecretId=") + .append(String.valueOf(this.secretAccessKeySecretId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof OciObjectStorageAccessKeyWarehouseStorage)) { + return false; + } + + OciObjectStorageAccessKeyWarehouseStorage other = + (OciObjectStorageAccessKeyWarehouseStorage) o; + return java.util.Objects.equals(this.namespaceName, other.namespaceName) + && java.util.Objects.equals(this.region, other.region) + && java.util.Objects.equals(this.accessKeyId, other.accessKeyId) + && java.util.Objects.equals( + this.secretAccessKeySecretId, other.secretAccessKeySecretId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.namespaceName == null ? 43 : this.namespaceName.hashCode()); + result = (result * PRIME) + (this.region == null ? 43 : this.region.hashCode()); + result = (result * PRIME) + (this.accessKeyId == null ? 43 : this.accessKeyId.hashCode()); + result = + (result * PRIME) + + (this.secretAccessKeySecretId == null + ? 43 + : this.secretAccessKeySecretId.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OciObjectStorageAccessKeyWarehouseStorageSummary.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OciObjectStorageAccessKeyWarehouseStorageSummary.java new file mode 100644 index 00000000000..bb13afe32d9 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OciObjectStorageAccessKeyWarehouseStorageSummary.java @@ -0,0 +1,276 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * Summary of the OCI Object Storage warehouse storage configuration for Oracle AI Data Catalog + * Storage Connection.
+ * 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: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = OciObjectStorageAccessKeyWarehouseStorageSummary.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "storageType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class OciObjectStorageAccessKeyWarehouseStorageSummary + extends WarehouseStorageSummary { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** Name of namespace that serves as a container for all of your buckets */ + @com.fasterxml.jackson.annotation.JsonProperty("namespaceName") + private String namespaceName; + + /** + * Name of namespace that serves as a container for all of your buckets + * + * @param namespaceName the value to set + * @return this builder + */ + public Builder namespaceName(String namespaceName) { + this.namespaceName = namespaceName; + this.__explicitlySet__.add("namespaceName"); + return this; + } + /** + * The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will + * default to the current region. + */ + @com.fasterxml.jackson.annotation.JsonProperty("region") + private String region; + + /** + * The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will + * default to the current region. + * + * @param region the value to set + * @return this builder + */ + public Builder region(String region) { + this.region = region; + this.__explicitlySet__.add("region"); + return this; + } + /** The access key ID used to access the OCI Object Storage bucket. */ + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") + private String accessKeyId; + + /** + * The access key ID used to access the OCI Object Storage bucket. + * + * @param accessKeyId the value to set + * @return this builder + */ + public Builder accessKeyId(String accessKeyId) { + this.accessKeyId = accessKeyId; + this.__explicitlySet__.add("accessKeyId"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the OCI Object Storage secret access key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + private String secretAccessKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the OCI Object Storage secret access key. + * + * @param secretAccessKeySecretId the value to set + * @return this builder + */ + public Builder secretAccessKeySecretId(String secretAccessKeySecretId) { + this.secretAccessKeySecretId = secretAccessKeySecretId; + this.__explicitlySet__.add("secretAccessKeySecretId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public OciObjectStorageAccessKeyWarehouseStorageSummary build() { + OciObjectStorageAccessKeyWarehouseStorageSummary model = + new OciObjectStorageAccessKeyWarehouseStorageSummary( + this.namespaceName, + this.region, + this.accessKeyId, + this.secretAccessKeySecretId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(OciObjectStorageAccessKeyWarehouseStorageSummary model) { + if (model.wasPropertyExplicitlySet("namespaceName")) { + this.namespaceName(model.getNamespaceName()); + } + if (model.wasPropertyExplicitlySet("region")) { + this.region(model.getRegion()); + } + if (model.wasPropertyExplicitlySet("accessKeyId")) { + this.accessKeyId(model.getAccessKeyId()); + } + if (model.wasPropertyExplicitlySet("secretAccessKeySecretId")) { + this.secretAccessKeySecretId(model.getSecretAccessKeySecretId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public OciObjectStorageAccessKeyWarehouseStorageSummary( + String namespaceName, + String region, + String accessKeyId, + String secretAccessKeySecretId) { + super(); + this.namespaceName = namespaceName; + this.region = region; + this.accessKeyId = accessKeyId; + this.secretAccessKeySecretId = secretAccessKeySecretId; + } + + /** Name of namespace that serves as a container for all of your buckets */ + @com.fasterxml.jackson.annotation.JsonProperty("namespaceName") + private final String namespaceName; + + /** + * Name of namespace that serves as a container for all of your buckets + * + * @return the value + */ + public String getNamespaceName() { + return namespaceName; + } + + /** + * The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will + * default to the current region. + */ + @com.fasterxml.jackson.annotation.JsonProperty("region") + private final String region; + + /** + * The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will + * default to the current region. + * + * @return the value + */ + public String getRegion() { + return region; + } + + /** The access key ID used to access the OCI Object Storage bucket. */ + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") + private final String accessKeyId; + + /** + * The access key ID used to access the OCI Object Storage bucket. + * + * @return the value + */ + public String getAccessKeyId() { + return accessKeyId; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the OCI Object Storage secret access key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + private final String secretAccessKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the OCI Object Storage secret access key. + * + * @return the value + */ + public String getSecretAccessKeySecretId() { + return secretAccessKeySecretId; + } + + @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("OciObjectStorageAccessKeyWarehouseStorageSummary("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", namespaceName=").append(String.valueOf(this.namespaceName)); + sb.append(", region=").append(String.valueOf(this.region)); + sb.append(", accessKeyId=").append(String.valueOf(this.accessKeyId)); + sb.append(", secretAccessKeySecretId=") + .append(String.valueOf(this.secretAccessKeySecretId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof OciObjectStorageAccessKeyWarehouseStorageSummary)) { + return false; + } + + OciObjectStorageAccessKeyWarehouseStorageSummary other = + (OciObjectStorageAccessKeyWarehouseStorageSummary) o; + return java.util.Objects.equals(this.namespaceName, other.namespaceName) + && java.util.Objects.equals(this.region, other.region) + && java.util.Objects.equals(this.accessKeyId, other.accessKeyId) + && java.util.Objects.equals( + this.secretAccessKeySecretId, other.secretAccessKeySecretId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.namespaceName == null ? 43 : this.namespaceName.hashCode()); + result = (result * PRIME) + (this.region == null ? 43 : this.region.hashCode()); + result = (result * PRIME) + (this.accessKeyId == null ? 43 : this.accessKeyId.hashCode()); + result = + (result * PRIME) + + (this.secretAccessKeySecretId == null + ? 43 + : this.secretAccessKeySecretId.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OracleAiDataCatalogIcebergCatalog.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OracleAiDataCatalogIcebergCatalog.java new file mode 100644 index 00000000000..520eac516f5 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OracleAiDataCatalogIcebergCatalog.java @@ -0,0 +1,127 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * Represents an Oracle AI Data Catalog catalog used in the Iceberg connection.
+ * 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: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = OracleAiDataCatalogIcebergCatalog.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "catalogType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class OracleAiDataCatalogIcebergCatalog extends IcebergCatalog { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + + @com.fasterxml.jackson.annotation.JsonProperty("catalogConfig") + private OracleAiDataCatalogIcebergCatalogConfig catalogConfig; + + public Builder catalogConfig(OracleAiDataCatalogIcebergCatalogConfig catalogConfig) { + this.catalogConfig = catalogConfig; + this.__explicitlySet__.add("catalogConfig"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public OracleAiDataCatalogIcebergCatalog build() { + OracleAiDataCatalogIcebergCatalog model = + new OracleAiDataCatalogIcebergCatalog(this.catalogConfig); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(OracleAiDataCatalogIcebergCatalog model) { + if (model.wasPropertyExplicitlySet("catalogConfig")) { + this.catalogConfig(model.getCatalogConfig()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public OracleAiDataCatalogIcebergCatalog( + OracleAiDataCatalogIcebergCatalogConfig catalogConfig) { + super(); + this.catalogConfig = catalogConfig; + } + + @com.fasterxml.jackson.annotation.JsonProperty("catalogConfig") + private final OracleAiDataCatalogIcebergCatalogConfig catalogConfig; + + public OracleAiDataCatalogIcebergCatalogConfig getCatalogConfig() { + return catalogConfig; + } + + @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("OracleAiDataCatalogIcebergCatalog("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", catalogConfig=").append(String.valueOf(this.catalogConfig)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof OracleAiDataCatalogIcebergCatalog)) { + return false; + } + + OracleAiDataCatalogIcebergCatalog other = (OracleAiDataCatalogIcebergCatalog) o; + return java.util.Objects.equals(this.catalogConfig, other.catalogConfig) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.catalogConfig == null ? 43 : this.catalogConfig.hashCode()); + return result; + } +} diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleMigrationSettings.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OracleAiDataCatalogIcebergCatalogConfig.java similarity index 74% rename from bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleMigrationSettings.java rename to bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OracleAiDataCatalogIcebergCatalogConfig.java index 5927ed6680c..0bd2e5f2094 100644 --- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleMigrationSettings.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OracleAiDataCatalogIcebergCatalogConfig.java @@ -2,10 +2,11 @@ * Copyright (c) 2016, 2026, 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.databasemigration.model; +package com.oracle.bmc.goldengate.model; /** - * Discriminator-only base create settings for Oracle migration methods.
+ * Represents the Oracle AI Data Catalog configuration of given type used in an Iceberg connection. + *
* 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 @@ -15,30 +16,27 @@ * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code * null}). */ -@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20230518") +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200407") @com.fasterxml.jackson.annotation.JsonTypeInfo( use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, - property = "migrationMethod", - defaultImpl = CreateOracleMigrationSettings.class) + property = "catalogConfigType", + defaultImpl = OracleAiDataCatalogIcebergCatalogConfig.class) @com.fasterxml.jackson.annotation.JsonSubTypes({ @com.fasterxml.jackson.annotation.JsonSubTypes.Type( - value = CreateOracleOfflineLogicalMigrationSettings.class, - name = "OFFLINE_LOGICAL"), + value = OciGoldenGateOracleAiDataCatalogIcebergCatalogConfig.class, + name = "OCI_GOLDENGATE"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( - value = CreateOracleOnlineStandbyMigrationSettings.class, - name = "ONLINE_STANDBY"), - @com.fasterxml.jackson.annotation.JsonSubTypes.Type( - value = CreateOracleOnlineLogicalMigrationSettings.class, - name = "ONLINE_LOGICAL") + value = DbCredentialsOracleAiDataCatalogIcebergCatalogConfig.class, + name = "DB_CREDENTIALS") }) @com.fasterxml.jackson.annotation.JsonFilter( com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) -public class CreateOracleMigrationSettings +public class OracleAiDataCatalogIcebergCatalogConfig extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated @java.beans.ConstructorProperties({}) - protected CreateOracleMigrationSettings() { + protected OracleAiDataCatalogIcebergCatalogConfig() { super(); } @@ -55,7 +53,7 @@ public String toString() { */ public String toString(boolean includeByteArrayContents) { java.lang.StringBuilder sb = new java.lang.StringBuilder(); - sb.append("CreateOracleMigrationSettings("); + sb.append("OracleAiDataCatalogIcebergCatalogConfig("); sb.append("super=").append(super.toString()); sb.append(")"); return sb.toString(); @@ -66,11 +64,11 @@ public boolean equals(Object o) { if (this == o) { return true; } - if (!(o instanceof CreateOracleMigrationSettings)) { + if (!(o instanceof OracleAiDataCatalogIcebergCatalogConfig)) { return false; } - CreateOracleMigrationSettings other = (CreateOracleMigrationSettings) o; + OracleAiDataCatalogIcebergCatalogConfig other = (OracleAiDataCatalogIcebergCatalogConfig) o; return super.equals(other); } diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OracleAiDataCatalogIcebergCatalogConfigSummary.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OracleAiDataCatalogIcebergCatalogConfigSummary.java new file mode 100644 index 00000000000..abab02ad288 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OracleAiDataCatalogIcebergCatalogConfigSummary.java @@ -0,0 +1,83 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * Summary of the Oracle AI Data Catalog configuration of given type used in an Iceberg connection. + *
+ * 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: 20200407") +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "catalogConfigType", + defaultImpl = OracleAiDataCatalogIcebergCatalogConfigSummary.class) +@com.fasterxml.jackson.annotation.JsonSubTypes({ + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = DbCredentialsOracleAiDataCatalogIcebergCatalogConfigSummary.class, + name = "DB_CREDENTIALS"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = OciGoldenGateOracleAiDataCatalogIcebergCatalogConfigSummary.class, + name = "OCI_GOLDENGATE") +}) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public class OracleAiDataCatalogIcebergCatalogConfigSummary + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({}) + protected OracleAiDataCatalogIcebergCatalogConfigSummary() { + super(); + } + + @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("OracleAiDataCatalogIcebergCatalogConfigSummary("); + sb.append("super=").append(super.toString()); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof OracleAiDataCatalogIcebergCatalogConfigSummary)) { + return false; + } + + OracleAiDataCatalogIcebergCatalogConfigSummary other = + (OracleAiDataCatalogIcebergCatalogConfigSummary) o; + return super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OracleAiDataCatalogIcebergCatalogConfigType.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OracleAiDataCatalogIcebergCatalogConfigType.java new file mode 100644 index 00000000000..4aff9598ecd --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OracleAiDataCatalogIcebergCatalogConfigType.java @@ -0,0 +1,55 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** The Oracle AI Data Catalog configuration type. */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200407") +public enum OracleAiDataCatalogIcebergCatalogConfigType + implements com.oracle.bmc.http.internal.BmcEnum { + OciGoldengate("OCI_GOLDENGATE"), + DbCredentials("DB_CREDENTIALS"), + + /** + * 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(OracleAiDataCatalogIcebergCatalogConfigType.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (OracleAiDataCatalogIcebergCatalogConfigType v : + OracleAiDataCatalogIcebergCatalogConfigType.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + OracleAiDataCatalogIcebergCatalogConfigType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static OracleAiDataCatalogIcebergCatalogConfigType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'OracleAiDataCatalogIcebergCatalogConfigType', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OracleAiDataCatalogIcebergCatalogDatabaseType.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OracleAiDataCatalogIcebergCatalogDatabaseType.java new file mode 100644 index 00000000000..58cc0bd9d47 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OracleAiDataCatalogIcebergCatalogDatabaseType.java @@ -0,0 +1,54 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** The database type where Oracle AI Data Catalog is configured. */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200407") +public enum OracleAiDataCatalogIcebergCatalogDatabaseType + implements com.oracle.bmc.http.internal.BmcEnum { + Adb("ADB"), + + /** + * 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(OracleAiDataCatalogIcebergCatalogDatabaseType.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (OracleAiDataCatalogIcebergCatalogDatabaseType v : + OracleAiDataCatalogIcebergCatalogDatabaseType.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + OracleAiDataCatalogIcebergCatalogDatabaseType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static OracleAiDataCatalogIcebergCatalogDatabaseType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'OracleAiDataCatalogIcebergCatalogDatabaseType', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OracleAiDataCatalogIcebergCatalogSummary.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OracleAiDataCatalogIcebergCatalogSummary.java new file mode 100644 index 00000000000..3a42ba6dc22 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OracleAiDataCatalogIcebergCatalogSummary.java @@ -0,0 +1,128 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * Summary of the Oracle AI Data Catalog catalog used in the Iceberg connection.
+ * 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: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = OracleAiDataCatalogIcebergCatalogSummary.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "catalogType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class OracleAiDataCatalogIcebergCatalogSummary extends IcebergCatalogSummary { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + + @com.fasterxml.jackson.annotation.JsonProperty("catalogConfig") + private OracleAiDataCatalogIcebergCatalogConfigSummary catalogConfig; + + public Builder catalogConfig(OracleAiDataCatalogIcebergCatalogConfigSummary catalogConfig) { + this.catalogConfig = catalogConfig; + this.__explicitlySet__.add("catalogConfig"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public OracleAiDataCatalogIcebergCatalogSummary build() { + OracleAiDataCatalogIcebergCatalogSummary model = + new OracleAiDataCatalogIcebergCatalogSummary(this.catalogConfig); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(OracleAiDataCatalogIcebergCatalogSummary model) { + if (model.wasPropertyExplicitlySet("catalogConfig")) { + this.catalogConfig(model.getCatalogConfig()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public OracleAiDataCatalogIcebergCatalogSummary( + OracleAiDataCatalogIcebergCatalogConfigSummary catalogConfig) { + super(); + this.catalogConfig = catalogConfig; + } + + @com.fasterxml.jackson.annotation.JsonProperty("catalogConfig") + private final OracleAiDataCatalogIcebergCatalogConfigSummary catalogConfig; + + public OracleAiDataCatalogIcebergCatalogConfigSummary getCatalogConfig() { + return catalogConfig; + } + + @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("OracleAiDataCatalogIcebergCatalogSummary("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", catalogConfig=").append(String.valueOf(this.catalogConfig)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof OracleAiDataCatalogIcebergCatalogSummary)) { + return false; + } + + OracleAiDataCatalogIcebergCatalogSummary other = + (OracleAiDataCatalogIcebergCatalogSummary) o; + return java.util.Objects.equals(this.catalogConfig, other.catalogConfig) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.catalogConfig == null ? 43 : this.catalogConfig.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OracleAiDataCatalogStorageConnection.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OracleAiDataCatalogStorageConnection.java new file mode 100644 index 00000000000..ad23719a57e --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OracleAiDataCatalogStorageConnection.java @@ -0,0 +1,590 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * Represents the metadata of an Oracle AI Data Catalog Storage Connection.
+ * 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: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = OracleAiDataCatalogStorageConnection.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "connectionType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class OracleAiDataCatalogStorageConnection extends Connection { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + @com.fasterxml.jackson.annotation.JsonProperty("id") + private String id; + + public Builder id(String id) { + this.id = id; + this.__explicitlySet__.add("id"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("description") + private String description; + + public Builder description(String description) { + this.description = description; + this.__explicitlySet__.add("description"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private java.util.Map freeformTags; + + public Builder freeformTags(java.util.Map freeformTags) { + this.freeformTags = freeformTags; + this.__explicitlySet__.add("freeformTags"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private java.util.Map> definedTags; + + public Builder definedTags( + java.util.Map> definedTags) { + this.definedTags = definedTags; + this.__explicitlySet__.add("definedTags"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("systemTags") + private java.util.Map> systemTags; + + public Builder systemTags(java.util.Map> systemTags) { + this.systemTags = systemTags; + this.__explicitlySet__.add("systemTags"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") + private LifecycleState lifecycleState; + + public Builder lifecycleState(LifecycleState lifecycleState) { + this.lifecycleState = lifecycleState; + this.__explicitlySet__.add("lifecycleState"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleDetails") + private String lifecycleDetails; + + public Builder lifecycleDetails(String lifecycleDetails) { + this.lifecycleDetails = lifecycleDetails; + this.__explicitlySet__.add("lifecycleDetails"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") + private java.util.Date timeCreated; + + public Builder timeCreated(java.util.Date timeCreated) { + this.timeCreated = timeCreated; + this.__explicitlySet__.add("timeCreated"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeUpdated") + private java.util.Date timeUpdated; + + public Builder timeUpdated(java.util.Date timeUpdated) { + this.timeUpdated = timeUpdated; + this.__explicitlySet__.add("timeUpdated"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("locks") + private java.util.List locks; + + public Builder locks(java.util.List locks) { + this.locks = locks; + this.__explicitlySet__.add("locks"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("vaultId") + private String vaultId; + + public Builder vaultId(String vaultId) { + this.vaultId = vaultId; + this.__explicitlySet__.add("vaultId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("keyId") + private String keyId; + + public Builder keyId(String keyId) { + this.keyId = keyId; + this.__explicitlySet__.add("keyId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("ingressIps") + private java.util.List ingressIps; + + public Builder ingressIps(java.util.List ingressIps) { + this.ingressIps = ingressIps; + this.__explicitlySet__.add("ingressIps"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("nsgIds") + private java.util.List nsgIds; + + public Builder nsgIds(java.util.List nsgIds) { + this.nsgIds = nsgIds; + this.__explicitlySet__.add("nsgIds"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subnetId") + private String subnetId; + + public Builder subnetId(String subnetId) { + this.subnetId = subnetId; + this.__explicitlySet__.add("subnetId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("routingMethod") + private RoutingMethod routingMethod; + + public Builder routingMethod(RoutingMethod routingMethod) { + this.routingMethod = routingMethod; + this.__explicitlySet__.add("routingMethod"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("doesUseSecretIds") + private Boolean doesUseSecretIds; + + public Builder doesUseSecretIds(Boolean doesUseSecretIds) { + this.doesUseSecretIds = doesUseSecretIds; + this.__explicitlySet__.add("doesUseSecretIds"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") + private String subscriptionId; + + public Builder subscriptionId(String subscriptionId) { + this.subscriptionId = subscriptionId; + this.__explicitlySet__.add("subscriptionId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("clusterPlacementGroupId") + private String clusterPlacementGroupId; + + public Builder clusterPlacementGroupId(String clusterPlacementGroupId) { + this.clusterPlacementGroupId = clusterPlacementGroupId; + this.__explicitlySet__.add("clusterPlacementGroupId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("securityAttributes") + private java.util.Map> securityAttributes; + + public Builder securityAttributes( + java.util.Map> securityAttributes) { + this.securityAttributes = securityAttributes; + this.__explicitlySet__.add("securityAttributes"); + return this; + } + /** The Oracle AI Data Catalog Storage technology type. */ + @com.fasterxml.jackson.annotation.JsonProperty("technologyType") + private TechnologyType technologyType; + + /** + * The Oracle AI Data Catalog Storage technology type. + * + * @param technologyType the value to set + * @return this builder + */ + public Builder technologyType(TechnologyType technologyType) { + this.technologyType = technologyType; + this.__explicitlySet__.add("technologyType"); + return this; + } + /** + * The name of the warehouse configured in the Oracle AI Data Catalog deployment. This value + * corresponds to the target bucket or container name. + */ + @com.fasterxml.jackson.annotation.JsonProperty("warehouseName") + private String warehouseName; + + /** + * The name of the warehouse configured in the Oracle AI Data Catalog deployment. This value + * corresponds to the target bucket or container name. + * + * @param warehouseName the value to set + * @return this builder + */ + public Builder warehouseName(String warehouseName) { + this.warehouseName = warehouseName; + this.__explicitlySet__.add("warehouseName"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("warehouseStorage") + private WarehouseStorage warehouseStorage; + + public Builder warehouseStorage(WarehouseStorage warehouseStorage) { + this.warehouseStorage = warehouseStorage; + this.__explicitlySet__.add("warehouseStorage"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public OracleAiDataCatalogStorageConnection build() { + OracleAiDataCatalogStorageConnection model = + new OracleAiDataCatalogStorageConnection( + this.id, + this.displayName, + this.description, + this.compartmentId, + this.freeformTags, + this.definedTags, + this.systemTags, + this.lifecycleState, + this.lifecycleDetails, + this.timeCreated, + this.timeUpdated, + this.locks, + this.vaultId, + this.keyId, + this.ingressIps, + this.nsgIds, + this.subnetId, + this.routingMethod, + this.doesUseSecretIds, + this.subscriptionId, + this.clusterPlacementGroupId, + this.securityAttributes, + this.technologyType, + this.warehouseName, + this.warehouseStorage); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(OracleAiDataCatalogStorageConnection model) { + if (model.wasPropertyExplicitlySet("id")) { + this.id(model.getId()); + } + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + if (model.wasPropertyExplicitlySet("description")) { + this.description(model.getDescription()); + } + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } + if (model.wasPropertyExplicitlySet("systemTags")) { + this.systemTags(model.getSystemTags()); + } + if (model.wasPropertyExplicitlySet("lifecycleState")) { + this.lifecycleState(model.getLifecycleState()); + } + if (model.wasPropertyExplicitlySet("lifecycleDetails")) { + this.lifecycleDetails(model.getLifecycleDetails()); + } + if (model.wasPropertyExplicitlySet("timeCreated")) { + this.timeCreated(model.getTimeCreated()); + } + if (model.wasPropertyExplicitlySet("timeUpdated")) { + this.timeUpdated(model.getTimeUpdated()); + } + if (model.wasPropertyExplicitlySet("locks")) { + this.locks(model.getLocks()); + } + if (model.wasPropertyExplicitlySet("vaultId")) { + this.vaultId(model.getVaultId()); + } + if (model.wasPropertyExplicitlySet("keyId")) { + this.keyId(model.getKeyId()); + } + if (model.wasPropertyExplicitlySet("ingressIps")) { + this.ingressIps(model.getIngressIps()); + } + if (model.wasPropertyExplicitlySet("nsgIds")) { + this.nsgIds(model.getNsgIds()); + } + if (model.wasPropertyExplicitlySet("subnetId")) { + this.subnetId(model.getSubnetId()); + } + if (model.wasPropertyExplicitlySet("routingMethod")) { + this.routingMethod(model.getRoutingMethod()); + } + if (model.wasPropertyExplicitlySet("doesUseSecretIds")) { + this.doesUseSecretIds(model.getDoesUseSecretIds()); + } + if (model.wasPropertyExplicitlySet("subscriptionId")) { + this.subscriptionId(model.getSubscriptionId()); + } + if (model.wasPropertyExplicitlySet("clusterPlacementGroupId")) { + this.clusterPlacementGroupId(model.getClusterPlacementGroupId()); + } + if (model.wasPropertyExplicitlySet("securityAttributes")) { + this.securityAttributes(model.getSecurityAttributes()); + } + if (model.wasPropertyExplicitlySet("technologyType")) { + this.technologyType(model.getTechnologyType()); + } + if (model.wasPropertyExplicitlySet("warehouseName")) { + this.warehouseName(model.getWarehouseName()); + } + if (model.wasPropertyExplicitlySet("warehouseStorage")) { + this.warehouseStorage(model.getWarehouseStorage()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public OracleAiDataCatalogStorageConnection( + String id, + String displayName, + String description, + String compartmentId, + java.util.Map freeformTags, + java.util.Map> definedTags, + java.util.Map> systemTags, + LifecycleState lifecycleState, + String lifecycleDetails, + java.util.Date timeCreated, + java.util.Date timeUpdated, + java.util.List locks, + String vaultId, + String keyId, + java.util.List ingressIps, + java.util.List nsgIds, + String subnetId, + RoutingMethod routingMethod, + Boolean doesUseSecretIds, + String subscriptionId, + String clusterPlacementGroupId, + java.util.Map> securityAttributes, + TechnologyType technologyType, + String warehouseName, + WarehouseStorage warehouseStorage) { + super( + id, + displayName, + description, + compartmentId, + freeformTags, + definedTags, + systemTags, + lifecycleState, + lifecycleDetails, + timeCreated, + timeUpdated, + locks, + vaultId, + keyId, + ingressIps, + nsgIds, + subnetId, + routingMethod, + doesUseSecretIds, + subscriptionId, + clusterPlacementGroupId, + securityAttributes); + this.technologyType = technologyType; + this.warehouseName = warehouseName; + this.warehouseStorage = warehouseStorage; + } + + /** The Oracle AI Data Catalog Storage technology type. */ + public enum TechnologyType implements com.oracle.bmc.http.internal.BmcEnum { + OracleAiDataCatalogStorage("ORACLE_AI_DATA_CATALOG_STORAGE"), + + /** + * 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(TechnologyType.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (TechnologyType v : TechnologyType.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + TechnologyType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static TechnologyType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'TechnologyType', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** The Oracle AI Data Catalog Storage technology type. */ + @com.fasterxml.jackson.annotation.JsonProperty("technologyType") + private final TechnologyType technologyType; + + /** + * The Oracle AI Data Catalog Storage technology type. + * + * @return the value + */ + public TechnologyType getTechnologyType() { + return technologyType; + } + + /** + * The name of the warehouse configured in the Oracle AI Data Catalog deployment. This value + * corresponds to the target bucket or container name. + */ + @com.fasterxml.jackson.annotation.JsonProperty("warehouseName") + private final String warehouseName; + + /** + * The name of the warehouse configured in the Oracle AI Data Catalog deployment. This value + * corresponds to the target bucket or container name. + * + * @return the value + */ + public String getWarehouseName() { + return warehouseName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("warehouseStorage") + private final WarehouseStorage warehouseStorage; + + public WarehouseStorage getWarehouseStorage() { + return warehouseStorage; + } + + @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("OracleAiDataCatalogStorageConnection("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", technologyType=").append(String.valueOf(this.technologyType)); + sb.append(", warehouseName=").append(String.valueOf(this.warehouseName)); + sb.append(", warehouseStorage=").append(String.valueOf(this.warehouseStorage)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof OracleAiDataCatalogStorageConnection)) { + return false; + } + + OracleAiDataCatalogStorageConnection other = (OracleAiDataCatalogStorageConnection) o; + return java.util.Objects.equals(this.technologyType, other.technologyType) + && java.util.Objects.equals(this.warehouseName, other.warehouseName) + && java.util.Objects.equals(this.warehouseStorage, other.warehouseStorage) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.technologyType == null ? 43 : this.technologyType.hashCode()); + result = + (result * PRIME) + + (this.warehouseName == null ? 43 : this.warehouseName.hashCode()); + result = + (result * PRIME) + + (this.warehouseStorage == null ? 43 : this.warehouseStorage.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OracleAiDataCatalogStorageConnectionSummary.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OracleAiDataCatalogStorageConnectionSummary.java new file mode 100644 index 00000000000..fff0bcb7ca7 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OracleAiDataCatalogStorageConnectionSummary.java @@ -0,0 +1,547 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * Summary of the Oracle AI Data Catalog Storage Connection.
+ * 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: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = OracleAiDataCatalogStorageConnectionSummary.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "connectionType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class OracleAiDataCatalogStorageConnectionSummary extends ConnectionSummary { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + @com.fasterxml.jackson.annotation.JsonProperty("id") + private String id; + + public Builder id(String id) { + this.id = id; + this.__explicitlySet__.add("id"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("description") + private String description; + + public Builder description(String description) { + this.description = description; + this.__explicitlySet__.add("description"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private java.util.Map freeformTags; + + public Builder freeformTags(java.util.Map freeformTags) { + this.freeformTags = freeformTags; + this.__explicitlySet__.add("freeformTags"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private java.util.Map> definedTags; + + public Builder definedTags( + java.util.Map> definedTags) { + this.definedTags = definedTags; + this.__explicitlySet__.add("definedTags"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("systemTags") + private java.util.Map> systemTags; + + public Builder systemTags(java.util.Map> systemTags) { + this.systemTags = systemTags; + this.__explicitlySet__.add("systemTags"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") + private Connection.LifecycleState lifecycleState; + + public Builder lifecycleState(Connection.LifecycleState lifecycleState) { + this.lifecycleState = lifecycleState; + this.__explicitlySet__.add("lifecycleState"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleDetails") + private String lifecycleDetails; + + public Builder lifecycleDetails(String lifecycleDetails) { + this.lifecycleDetails = lifecycleDetails; + this.__explicitlySet__.add("lifecycleDetails"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") + private java.util.Date timeCreated; + + public Builder timeCreated(java.util.Date timeCreated) { + this.timeCreated = timeCreated; + this.__explicitlySet__.add("timeCreated"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeUpdated") + private java.util.Date timeUpdated; + + public Builder timeUpdated(java.util.Date timeUpdated) { + this.timeUpdated = timeUpdated; + this.__explicitlySet__.add("timeUpdated"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("vaultId") + private String vaultId; + + public Builder vaultId(String vaultId) { + this.vaultId = vaultId; + this.__explicitlySet__.add("vaultId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("keyId") + private String keyId; + + public Builder keyId(String keyId) { + this.keyId = keyId; + this.__explicitlySet__.add("keyId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("ingressIps") + private java.util.List ingressIps; + + public Builder ingressIps(java.util.List ingressIps) { + this.ingressIps = ingressIps; + this.__explicitlySet__.add("ingressIps"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("nsgIds") + private java.util.List nsgIds; + + public Builder nsgIds(java.util.List nsgIds) { + this.nsgIds = nsgIds; + this.__explicitlySet__.add("nsgIds"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subnetId") + private String subnetId; + + public Builder subnetId(String subnetId) { + this.subnetId = subnetId; + this.__explicitlySet__.add("subnetId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("routingMethod") + private RoutingMethod routingMethod; + + public Builder routingMethod(RoutingMethod routingMethod) { + this.routingMethod = routingMethod; + this.__explicitlySet__.add("routingMethod"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("locks") + private java.util.List locks; + + public Builder locks(java.util.List locks) { + this.locks = locks; + this.__explicitlySet__.add("locks"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("doesUseSecretIds") + private Boolean doesUseSecretIds; + + public Builder doesUseSecretIds(Boolean doesUseSecretIds) { + this.doesUseSecretIds = doesUseSecretIds; + this.__explicitlySet__.add("doesUseSecretIds"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") + private String subscriptionId; + + public Builder subscriptionId(String subscriptionId) { + this.subscriptionId = subscriptionId; + this.__explicitlySet__.add("subscriptionId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("clusterPlacementGroupId") + private String clusterPlacementGroupId; + + public Builder clusterPlacementGroupId(String clusterPlacementGroupId) { + this.clusterPlacementGroupId = clusterPlacementGroupId; + this.__explicitlySet__.add("clusterPlacementGroupId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("securityAttributes") + private java.util.Map> securityAttributes; + + public Builder securityAttributes( + java.util.Map> securityAttributes) { + this.securityAttributes = securityAttributes; + this.__explicitlySet__.add("securityAttributes"); + return this; + } + /** The Oracle AI Data Catalog Storage technology type. */ + @com.fasterxml.jackson.annotation.JsonProperty("technologyType") + private OracleAiDataCatalogStorageConnection.TechnologyType technologyType; + + /** + * The Oracle AI Data Catalog Storage technology type. + * + * @param technologyType the value to set + * @return this builder + */ + public Builder technologyType( + OracleAiDataCatalogStorageConnection.TechnologyType technologyType) { + this.technologyType = technologyType; + this.__explicitlySet__.add("technologyType"); + return this; + } + /** + * The name of the warehouse configured in the Oracle AI Data Catalog deployment. This value + * corresponds to the target bucket or container name. + */ + @com.fasterxml.jackson.annotation.JsonProperty("warehouseName") + private String warehouseName; + + /** + * The name of the warehouse configured in the Oracle AI Data Catalog deployment. This value + * corresponds to the target bucket or container name. + * + * @param warehouseName the value to set + * @return this builder + */ + public Builder warehouseName(String warehouseName) { + this.warehouseName = warehouseName; + this.__explicitlySet__.add("warehouseName"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("warehouseStorage") + private WarehouseStorageSummary warehouseStorage; + + public Builder warehouseStorage(WarehouseStorageSummary warehouseStorage) { + this.warehouseStorage = warehouseStorage; + this.__explicitlySet__.add("warehouseStorage"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public OracleAiDataCatalogStorageConnectionSummary build() { + OracleAiDataCatalogStorageConnectionSummary model = + new OracleAiDataCatalogStorageConnectionSummary( + this.id, + this.displayName, + this.description, + this.compartmentId, + this.freeformTags, + this.definedTags, + this.systemTags, + this.lifecycleState, + this.lifecycleDetails, + this.timeCreated, + this.timeUpdated, + this.vaultId, + this.keyId, + this.ingressIps, + this.nsgIds, + this.subnetId, + this.routingMethod, + this.locks, + this.doesUseSecretIds, + this.subscriptionId, + this.clusterPlacementGroupId, + this.securityAttributes, + this.technologyType, + this.warehouseName, + this.warehouseStorage); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(OracleAiDataCatalogStorageConnectionSummary model) { + if (model.wasPropertyExplicitlySet("id")) { + this.id(model.getId()); + } + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + if (model.wasPropertyExplicitlySet("description")) { + this.description(model.getDescription()); + } + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } + if (model.wasPropertyExplicitlySet("systemTags")) { + this.systemTags(model.getSystemTags()); + } + if (model.wasPropertyExplicitlySet("lifecycleState")) { + this.lifecycleState(model.getLifecycleState()); + } + if (model.wasPropertyExplicitlySet("lifecycleDetails")) { + this.lifecycleDetails(model.getLifecycleDetails()); + } + if (model.wasPropertyExplicitlySet("timeCreated")) { + this.timeCreated(model.getTimeCreated()); + } + if (model.wasPropertyExplicitlySet("timeUpdated")) { + this.timeUpdated(model.getTimeUpdated()); + } + if (model.wasPropertyExplicitlySet("vaultId")) { + this.vaultId(model.getVaultId()); + } + if (model.wasPropertyExplicitlySet("keyId")) { + this.keyId(model.getKeyId()); + } + if (model.wasPropertyExplicitlySet("ingressIps")) { + this.ingressIps(model.getIngressIps()); + } + if (model.wasPropertyExplicitlySet("nsgIds")) { + this.nsgIds(model.getNsgIds()); + } + if (model.wasPropertyExplicitlySet("subnetId")) { + this.subnetId(model.getSubnetId()); + } + if (model.wasPropertyExplicitlySet("routingMethod")) { + this.routingMethod(model.getRoutingMethod()); + } + if (model.wasPropertyExplicitlySet("locks")) { + this.locks(model.getLocks()); + } + if (model.wasPropertyExplicitlySet("doesUseSecretIds")) { + this.doesUseSecretIds(model.getDoesUseSecretIds()); + } + if (model.wasPropertyExplicitlySet("subscriptionId")) { + this.subscriptionId(model.getSubscriptionId()); + } + if (model.wasPropertyExplicitlySet("clusterPlacementGroupId")) { + this.clusterPlacementGroupId(model.getClusterPlacementGroupId()); + } + if (model.wasPropertyExplicitlySet("securityAttributes")) { + this.securityAttributes(model.getSecurityAttributes()); + } + if (model.wasPropertyExplicitlySet("technologyType")) { + this.technologyType(model.getTechnologyType()); + } + if (model.wasPropertyExplicitlySet("warehouseName")) { + this.warehouseName(model.getWarehouseName()); + } + if (model.wasPropertyExplicitlySet("warehouseStorage")) { + this.warehouseStorage(model.getWarehouseStorage()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public OracleAiDataCatalogStorageConnectionSummary( + String id, + String displayName, + String description, + String compartmentId, + java.util.Map freeformTags, + java.util.Map> definedTags, + java.util.Map> systemTags, + Connection.LifecycleState lifecycleState, + String lifecycleDetails, + java.util.Date timeCreated, + java.util.Date timeUpdated, + String vaultId, + String keyId, + java.util.List ingressIps, + java.util.List nsgIds, + String subnetId, + RoutingMethod routingMethod, + java.util.List locks, + Boolean doesUseSecretIds, + String subscriptionId, + String clusterPlacementGroupId, + java.util.Map> securityAttributes, + OracleAiDataCatalogStorageConnection.TechnologyType technologyType, + String warehouseName, + WarehouseStorageSummary warehouseStorage) { + super( + id, + displayName, + description, + compartmentId, + freeformTags, + definedTags, + systemTags, + lifecycleState, + lifecycleDetails, + timeCreated, + timeUpdated, + vaultId, + keyId, + ingressIps, + nsgIds, + subnetId, + routingMethod, + locks, + doesUseSecretIds, + subscriptionId, + clusterPlacementGroupId, + securityAttributes); + this.technologyType = technologyType; + this.warehouseName = warehouseName; + this.warehouseStorage = warehouseStorage; + } + + /** The Oracle AI Data Catalog Storage technology type. */ + @com.fasterxml.jackson.annotation.JsonProperty("technologyType") + private final OracleAiDataCatalogStorageConnection.TechnologyType technologyType; + + /** + * The Oracle AI Data Catalog Storage technology type. + * + * @return the value + */ + public OracleAiDataCatalogStorageConnection.TechnologyType getTechnologyType() { + return technologyType; + } + + /** + * The name of the warehouse configured in the Oracle AI Data Catalog deployment. This value + * corresponds to the target bucket or container name. + */ + @com.fasterxml.jackson.annotation.JsonProperty("warehouseName") + private final String warehouseName; + + /** + * The name of the warehouse configured in the Oracle AI Data Catalog deployment. This value + * corresponds to the target bucket or container name. + * + * @return the value + */ + public String getWarehouseName() { + return warehouseName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("warehouseStorage") + private final WarehouseStorageSummary warehouseStorage; + + public WarehouseStorageSummary getWarehouseStorage() { + return warehouseStorage; + } + + @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("OracleAiDataCatalogStorageConnectionSummary("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", technologyType=").append(String.valueOf(this.technologyType)); + sb.append(", warehouseName=").append(String.valueOf(this.warehouseName)); + sb.append(", warehouseStorage=").append(String.valueOf(this.warehouseStorage)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof OracleAiDataCatalogStorageConnectionSummary)) { + return false; + } + + OracleAiDataCatalogStorageConnectionSummary other = + (OracleAiDataCatalogStorageConnectionSummary) o; + return java.util.Objects.equals(this.technologyType, other.technologyType) + && java.util.Objects.equals(this.warehouseName, other.warehouseName) + && java.util.Objects.equals(this.warehouseStorage, other.warehouseStorage) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.technologyType == null ? 43 : this.technologyType.hashCode()); + result = + (result * PRIME) + + (this.warehouseName == null ? 43 : this.warehouseName.hashCode()); + result = + (result * PRIME) + + (this.warehouseStorage == null ? 43 : this.warehouseStorage.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/SupportedCapabilities.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/SupportedCapabilities.java index beb84dc1c53..f98429206fd 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/SupportedCapabilities.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/SupportedCapabilities.java @@ -8,6 +8,7 @@ @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200407") public enum SupportedCapabilities implements com.oracle.bmc.http.internal.BmcEnum { GroupToRole("GROUP_TO_ROLE"), + GroupToRoleRequired("GROUP_TO_ROLE_REQUIRED"), BackupRestore("BACKUP_RESTORE"), CopyBackup("COPY_BACKUP"), ManualBackup("MANUAL_BACKUP"), diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/TechnologyType.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/TechnologyType.java index 79241069f67..d3cdb6eacd2 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/TechnologyType.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/TechnologyType.java @@ -31,6 +31,7 @@ public enum TechnologyType implements com.oracle.bmc.http.internal.BmcEnum { OracleAutonomousDatabaseAtAws("ORACLE_AUTONOMOUS_DATABASE_AT_AWS"), OracleAiDataPlatform("ORACLE_AI_DATA_PLATFORM"), OracleAiDataPlatformEngine("ORACLE_AI_DATA_PLATFORM_ENGINE"), + OracleAiDataCatalogStorage("ORACLE_AI_DATA_CATALOG_STORAGE"), OracleNosql("ORACLE_NOSQL"), OracleRestDataServices("ORACLE_REST_DATA_SERVICES"), OracleWeblogicJms("ORACLE_WEBLOGIC_JMS"), diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateAzureStorageIcebergStorageDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateAzureStorageIcebergStorageDetails.java new file mode 100644 index 00000000000..13b0d4af814 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateAzureStorageIcebergStorageDetails.java @@ -0,0 +1,384 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * The information to update the Azure Storage storage used in the Iceberg connection for an Oracle + * AI Data Catalog Iceberg catalogs.
+ * 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: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = UpdateAzureStorageIcebergStorageDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "storageType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class UpdateAzureStorageIcebergStorageDetails extends UpdateIcebergStorageDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The Azure Storage account name. */ + @com.fasterxml.jackson.annotation.JsonProperty("accountName") + private String accountName; + + /** + * The Azure Storage account name. + * + * @param accountName the value to set + * @return this builder + */ + public Builder accountName(String accountName) { + this.accountName = accountName; + this.__explicitlySet__.add("accountName"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the Azure Storage account key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("accountKeySecretId") + private String accountKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the Azure Storage account key. + * + * @param accountKeySecretId the value to set + * @return this builder + */ + public Builder accountKeySecretId(String accountKeySecretId) { + this.accountKeySecretId = accountKeySecretId; + this.__explicitlySet__.add("accountKeySecretId"); + return this; + } + /** The Azure Storage account key. */ + @com.fasterxml.jackson.annotation.JsonProperty("accountKey") + private char[] accountKey; + + /** + * The Azure Storage account key. + * + * @param accountKey the value to set + * @return this builder + */ + public Builder accountKey(char[] accountKey) { + this.accountKey = accountKey; + this.__explicitlySet__.add("accountKey"); + return this; + } + + public Builder accountKey(String accountKey) { + this.accountKey = accountKey != null ? accountKey.toCharArray() : null; + this.__explicitlySet__.add("accountKey"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties + * for the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + */ + @com.fasterxml.jackson.annotation.JsonProperty("propertiesSecretId") + private String propertiesSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties + * for the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * + * @param propertiesSecretId the value to set + * @return this builder + */ + public Builder propertiesSecretId(String propertiesSecretId) { + this.propertiesSecretId = propertiesSecretId; + this.__explicitlySet__.add("propertiesSecretId"); + return this; + } + /** + * The base64 encoded content of the configuration file containing additional properties for + * the REST catalog. + */ + @com.fasterxml.jackson.annotation.JsonProperty("properties") + private char[] properties; + + /** + * The base64 encoded content of the configuration file containing additional properties for + * the REST catalog. + * + * @param properties the value to set + * @return this builder + */ + public Builder properties(char[] properties) { + this.properties = properties; + this.__explicitlySet__.add("properties"); + return this; + } + + public Builder properties(String properties) { + this.properties = properties != null ? properties.toCharArray() : null; + this.__explicitlySet__.add("properties"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public UpdateAzureStorageIcebergStorageDetails build() { + UpdateAzureStorageIcebergStorageDetails model = + new UpdateAzureStorageIcebergStorageDetails( + this.accountName, + this.accountKeySecretId, + this.accountKey, + this.propertiesSecretId, + this.properties); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(UpdateAzureStorageIcebergStorageDetails model) { + if (model.wasPropertyExplicitlySet("accountName")) { + this.accountName(model.getAccountName()); + } + if (model.wasPropertyExplicitlySet("accountKeySecretId")) { + this.accountKeySecretId(model.getAccountKeySecretId()); + } + if (model.wasPropertyExplicitlySet("accountKey")) { + this.accountKey(model.getAccountKey()); + } + if (model.wasPropertyExplicitlySet("propertiesSecretId")) { + this.propertiesSecretId(model.getPropertiesSecretId()); + } + if (model.wasPropertyExplicitlySet("properties")) { + this.properties(model.getProperties()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public UpdateAzureStorageIcebergStorageDetails( + String accountName, + String accountKeySecretId, + String accountKey, + String propertiesSecretId, + String properties) { + super(); + this.accountName = accountName; + this.accountKeySecretId = accountKeySecretId; + this.accountKey = accountKey != null ? accountKey.toCharArray() : null; + this.propertiesSecretId = propertiesSecretId; + this.properties = properties != null ? properties.toCharArray() : null; + } + + @com.fasterxml.jackson.annotation.JsonCreator + @Deprecated + public UpdateAzureStorageIcebergStorageDetails( + @com.fasterxml.jackson.annotation.JsonProperty("accountName") String accountName, + @com.fasterxml.jackson.annotation.JsonProperty("accountKeySecretId") + String accountKeySecretId, + @com.fasterxml.jackson.annotation.JsonProperty("accountKey") char[] accountKey, + @com.fasterxml.jackson.annotation.JsonProperty("propertiesSecretId") + String propertiesSecretId, + @com.fasterxml.jackson.annotation.JsonProperty("properties") char[] properties) { + super(); + this.accountName = accountName; + this.accountKeySecretId = accountKeySecretId; + this.accountKey = accountKey; + this.propertiesSecretId = propertiesSecretId; + this.properties = properties; + } + + /** The Azure Storage account name. */ + @com.fasterxml.jackson.annotation.JsonProperty("accountName") + private final String accountName; + + /** + * The Azure Storage account name. + * + * @return the value + */ + public String getAccountName() { + return accountName; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the Azure Storage account key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("accountKeySecretId") + private final String accountKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the Azure Storage account key. + * + * @return the value + */ + public String getAccountKeySecretId() { + return accountKeySecretId; + } + + /** The Azure Storage account key. */ + @com.fasterxml.jackson.annotation.JsonProperty("accountKey") + private final char[] accountKey; + + /** + * The Azure Storage account key. + * + * @return the value + * @deprecated Use getAccountKey__AsCharArray() instead. + */ + @Deprecated + @com.fasterxml.jackson.annotation.JsonIgnore + public String getAccountKey() { + return accountKey != null ? new String(accountKey) : null; + } + + /** + * The Azure Storage account key. + * + * @return the value + */ + @com.fasterxml.jackson.annotation.JsonProperty("accountKey") + public char[] getAccountKey__AsCharArray() { + return accountKey; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties for + * the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + */ + @com.fasterxml.jackson.annotation.JsonProperty("propertiesSecretId") + private final String propertiesSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties for + * the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * + * @return the value + */ + public String getPropertiesSecretId() { + return propertiesSecretId; + } + + /** + * The base64 encoded content of the configuration file containing additional properties for the + * REST catalog. + */ + @com.fasterxml.jackson.annotation.JsonProperty("properties") + private final char[] properties; + + /** + * The base64 encoded content of the configuration file containing additional properties for the + * REST catalog. + * + * @return the value + * @deprecated Use getProperties__AsCharArray() instead. + */ + @Deprecated + @com.fasterxml.jackson.annotation.JsonIgnore + public String getProperties() { + return properties != null ? new String(properties) : null; + } + + /** + * The base64 encoded content of the configuration file containing additional properties for the + * REST catalog. + * + * @return the value + */ + @com.fasterxml.jackson.annotation.JsonProperty("properties") + public char[] getProperties__AsCharArray() { + return properties; + } + + @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("UpdateAzureStorageIcebergStorageDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", accountName=").append(String.valueOf(this.accountName)); + sb.append(", accountKeySecretId=").append(String.valueOf(this.accountKeySecretId)); + sb.append(", accountKey=").append(""); + sb.append(", propertiesSecretId=").append(String.valueOf(this.propertiesSecretId)); + sb.append(", properties=").append(""); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof UpdateAzureStorageIcebergStorageDetails)) { + return false; + } + + UpdateAzureStorageIcebergStorageDetails other = (UpdateAzureStorageIcebergStorageDetails) o; + return java.util.Objects.equals(this.accountName, other.accountName) + && java.util.Objects.equals(this.accountKeySecretId, other.accountKeySecretId) + && java.util.Objects.equals(this.accountKey, other.accountKey) + && java.util.Objects.equals(this.propertiesSecretId, other.propertiesSecretId) + && java.util.Objects.equals(this.properties, other.properties) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.accountName == null ? 43 : this.accountName.hashCode()); + result = + (result * PRIME) + + (this.accountKeySecretId == null + ? 43 + : this.accountKeySecretId.hashCode()); + result = (result * PRIME) + (this.accountKey == null ? 43 : this.accountKey.hashCode()); + result = + (result * PRIME) + + (this.propertiesSecretId == null + ? 43 + : this.propertiesSecretId.hashCode()); + result = (result * PRIME) + (this.properties == null ? 43 : this.properties.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateAzureStorageWarehouseStorageDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateAzureStorageWarehouseStorageDetails.java new file mode 100644 index 00000000000..f8502ad61ee --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateAzureStorageWarehouseStorageDetails.java @@ -0,0 +1,254 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * The information to update the Azure Storage warehouse storage configuration for Oracle AI Data + * Catalog Storage connection.
+ * 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: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = UpdateAzureStorageWarehouseStorageDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "storageType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class UpdateAzureStorageWarehouseStorageDetails extends UpdateWarehouseStorageDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The Azure Storage account name. */ + @com.fasterxml.jackson.annotation.JsonProperty("accountName") + private String accountName; + + /** + * The Azure Storage account name. + * + * @param accountName the value to set + * @return this builder + */ + public Builder accountName(String accountName) { + this.accountName = accountName; + this.__explicitlySet__.add("accountName"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the Azure Storage account key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("accountKeySecretId") + private String accountKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the Azure Storage account key. + * + * @param accountKeySecretId the value to set + * @return this builder + */ + public Builder accountKeySecretId(String accountKeySecretId) { + this.accountKeySecretId = accountKeySecretId; + this.__explicitlySet__.add("accountKeySecretId"); + return this; + } + /** The Azure Storage account key. */ + @com.fasterxml.jackson.annotation.JsonProperty("accountKey") + private char[] accountKey; + + /** + * The Azure Storage account key. + * + * @param accountKey the value to set + * @return this builder + */ + public Builder accountKey(char[] accountKey) { + this.accountKey = accountKey; + this.__explicitlySet__.add("accountKey"); + return this; + } + + public Builder accountKey(String accountKey) { + this.accountKey = accountKey != null ? accountKey.toCharArray() : null; + this.__explicitlySet__.add("accountKey"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public UpdateAzureStorageWarehouseStorageDetails build() { + UpdateAzureStorageWarehouseStorageDetails model = + new UpdateAzureStorageWarehouseStorageDetails( + this.accountName, this.accountKeySecretId, this.accountKey); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(UpdateAzureStorageWarehouseStorageDetails model) { + if (model.wasPropertyExplicitlySet("accountName")) { + this.accountName(model.getAccountName()); + } + if (model.wasPropertyExplicitlySet("accountKeySecretId")) { + this.accountKeySecretId(model.getAccountKeySecretId()); + } + if (model.wasPropertyExplicitlySet("accountKey")) { + this.accountKey(model.getAccountKey()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public UpdateAzureStorageWarehouseStorageDetails( + String accountName, String accountKeySecretId, String accountKey) { + super(); + this.accountName = accountName; + this.accountKeySecretId = accountKeySecretId; + this.accountKey = accountKey != null ? accountKey.toCharArray() : null; + } + + @com.fasterxml.jackson.annotation.JsonCreator + @Deprecated + public UpdateAzureStorageWarehouseStorageDetails( + @com.fasterxml.jackson.annotation.JsonProperty("accountName") String accountName, + @com.fasterxml.jackson.annotation.JsonProperty("accountKeySecretId") + String accountKeySecretId, + @com.fasterxml.jackson.annotation.JsonProperty("accountKey") char[] accountKey) { + super(); + this.accountName = accountName; + this.accountKeySecretId = accountKeySecretId; + this.accountKey = accountKey; + } + + /** The Azure Storage account name. */ + @com.fasterxml.jackson.annotation.JsonProperty("accountName") + private final String accountName; + + /** + * The Azure Storage account name. + * + * @return the value + */ + public String getAccountName() { + return accountName; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the Azure Storage account key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("accountKeySecretId") + private final String accountKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the Azure Storage account key. + * + * @return the value + */ + public String getAccountKeySecretId() { + return accountKeySecretId; + } + + /** The Azure Storage account key. */ + @com.fasterxml.jackson.annotation.JsonProperty("accountKey") + private final char[] accountKey; + + /** + * The Azure Storage account key. + * + * @return the value + * @deprecated Use getAccountKey__AsCharArray() instead. + */ + @Deprecated + @com.fasterxml.jackson.annotation.JsonIgnore + public String getAccountKey() { + return accountKey != null ? new String(accountKey) : null; + } + + /** + * The Azure Storage account key. + * + * @return the value + */ + @com.fasterxml.jackson.annotation.JsonProperty("accountKey") + public char[] getAccountKey__AsCharArray() { + return accountKey; + } + + @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("UpdateAzureStorageWarehouseStorageDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", accountName=").append(String.valueOf(this.accountName)); + sb.append(", accountKeySecretId=").append(String.valueOf(this.accountKeySecretId)); + sb.append(", accountKey=").append(""); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof UpdateAzureStorageWarehouseStorageDetails)) { + return false; + } + + UpdateAzureStorageWarehouseStorageDetails other = + (UpdateAzureStorageWarehouseStorageDetails) o; + return java.util.Objects.equals(this.accountName, other.accountName) + && java.util.Objects.equals(this.accountKeySecretId, other.accountKeySecretId) + && java.util.Objects.equals(this.accountKey, other.accountKey) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.accountName == null ? 43 : this.accountName.hashCode()); + result = + (result * PRIME) + + (this.accountKeySecretId == null + ? 43 + : this.accountKeySecretId.hashCode()); + result = (result * PRIME) + (this.accountKey == null ? 43 : this.accountKey.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateConnectionDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateConnectionDetails.java index 674a24bac17..865705eae1e 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateConnectionDetails.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateConnectionDetails.java @@ -67,6 +67,9 @@ @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = UpdateSnowflakeConnectionDetails.class, name = "SNOWFLAKE"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = UpdateOracleAiDataCatalogStorageConnectionDetails.class, + name = "ORACLE_AI_DATA_CATALOG_STORAGE"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = UpdateHdfsConnectionDetails.class, name = "HDFS"), diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateDbCredentialsOracleAiDataCatalogIcebergCatalogConfigDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateDbCredentialsOracleAiDataCatalogIcebergCatalogConfigDetails.java new file mode 100644 index 00000000000..03d0c0b9548 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateDbCredentialsOracleAiDataCatalogIcebergCatalogConfigDetails.java @@ -0,0 +1,395 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * The information to update an Oracle AI Data Catalog configuration based on database credentials. + *
+ * 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: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = UpdateDbCredentialsOracleAiDataCatalogIcebergCatalogConfigDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "catalogConfigType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class UpdateDbCredentialsOracleAiDataCatalogIcebergCatalogConfigDetails + extends UpdateOracleAiDataCatalogIcebergCatalogConfigDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The database type where Oracle AI Data Catalog is configured. */ + @com.fasterxml.jackson.annotation.JsonProperty("databaseType") + private OracleAiDataCatalogIcebergCatalogDatabaseType databaseType; + + /** + * The database type where Oracle AI Data Catalog is configured. + * + * @param databaseType the value to set + * @return this builder + */ + public Builder databaseType(OracleAiDataCatalogIcebergCatalogDatabaseType databaseType) { + this.databaseType = databaseType; + this.__explicitlySet__.add("databaseType"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * database being referenced. + */ + @com.fasterxml.jackson.annotation.JsonProperty("databaseId") + private String databaseId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * database being referenced. + * + * @param databaseId the value to set + * @return this builder + */ + public Builder databaseId(String databaseId) { + this.databaseId = databaseId; + this.__explicitlySet__.add("databaseId"); + return this; + } + /** + * The username Oracle GoldenGate uses to connect the associated system of the given + * technology. This username must already exist and be available by the system/application + * to be connected to and must conform to the case sensitivty requirments defined in it. + */ + @com.fasterxml.jackson.annotation.JsonProperty("username") + private String username; + + /** + * The username Oracle GoldenGate uses to connect the associated system of the given + * technology. This username must already exist and be available by the system/application + * to be connected to and must conform to the case sensitivty requirments defined in it. + * + * @param username the value to set + * @return this builder + */ + public Builder username(String username) { + this.username = username; + this.__explicitlySet__.add("username"); + return this; + } + /** + * The password Oracle GoldenGate uses to connect the associated system of the given + * technology. It must conform to the specific security requirements including length, case + * sensitivity, and so on. Deprecated: This field is deprecated and replaced by + * "passwordSecretId". This change follows the GoldenGate "Plain Text Fields in Connections" + * deprecation: + * https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate + */ + @com.fasterxml.jackson.annotation.JsonProperty("password") + private char[] password; + + /** + * The password Oracle GoldenGate uses to connect the associated system of the given + * technology. It must conform to the specific security requirements including length, case + * sensitivity, and so on. Deprecated: This field is deprecated and replaced by + * "passwordSecretId". This change follows the GoldenGate "Plain Text Fields in Connections" + * deprecation: + * https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate + * + * @param password the value to set + * @return this builder + */ + public Builder password(char[] password) { + this.password = password; + this.__explicitlySet__.add("password"); + return this; + } + + public Builder password(String password) { + this.password = password != null ? password.toCharArray() : null; + this.__explicitlySet__.add("password"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret where the password is stored. The password Oracle GoldenGate uses to connect the + * associated system of the given technology. It must conform to the specific security + * requirements including length, case sensitivity, and so on. If secretId is used plaintext + * field must not be provided. Note: When provided, 'password' field must not be provided. + */ + @com.fasterxml.jackson.annotation.JsonProperty("passwordSecretId") + private String passwordSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret where the password is stored. The password Oracle GoldenGate uses to connect the + * associated system of the given technology. It must conform to the specific security + * requirements including length, case sensitivity, and so on. If secretId is used plaintext + * field must not be provided. Note: When provided, 'password' field must not be provided. + * + * @param passwordSecretId the value to set + * @return this builder + */ + public Builder passwordSecretId(String passwordSecretId) { + this.passwordSecretId = passwordSecretId; + this.__explicitlySet__.add("passwordSecretId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public UpdateDbCredentialsOracleAiDataCatalogIcebergCatalogConfigDetails build() { + UpdateDbCredentialsOracleAiDataCatalogIcebergCatalogConfigDetails model = + new UpdateDbCredentialsOracleAiDataCatalogIcebergCatalogConfigDetails( + this.databaseType, + this.databaseId, + this.username, + this.password, + this.passwordSecretId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy( + UpdateDbCredentialsOracleAiDataCatalogIcebergCatalogConfigDetails model) { + if (model.wasPropertyExplicitlySet("databaseType")) { + this.databaseType(model.getDatabaseType()); + } + if (model.wasPropertyExplicitlySet("databaseId")) { + this.databaseId(model.getDatabaseId()); + } + if (model.wasPropertyExplicitlySet("username")) { + this.username(model.getUsername()); + } + if (model.wasPropertyExplicitlySet("password")) { + this.password(model.getPassword()); + } + if (model.wasPropertyExplicitlySet("passwordSecretId")) { + this.passwordSecretId(model.getPasswordSecretId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public UpdateDbCredentialsOracleAiDataCatalogIcebergCatalogConfigDetails( + OracleAiDataCatalogIcebergCatalogDatabaseType databaseType, + String databaseId, + String username, + String password, + String passwordSecretId) { + super(); + this.databaseType = databaseType; + this.databaseId = databaseId; + this.username = username; + this.password = password != null ? password.toCharArray() : null; + this.passwordSecretId = passwordSecretId; + } + + @com.fasterxml.jackson.annotation.JsonCreator + @Deprecated + public UpdateDbCredentialsOracleAiDataCatalogIcebergCatalogConfigDetails( + @com.fasterxml.jackson.annotation.JsonProperty("databaseType") + OracleAiDataCatalogIcebergCatalogDatabaseType databaseType, + @com.fasterxml.jackson.annotation.JsonProperty("databaseId") String databaseId, + @com.fasterxml.jackson.annotation.JsonProperty("username") String username, + @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password, + @com.fasterxml.jackson.annotation.JsonProperty("passwordSecretId") + String passwordSecretId) { + super(); + this.databaseType = databaseType; + this.databaseId = databaseId; + this.username = username; + this.password = password; + this.passwordSecretId = passwordSecretId; + } + + /** The database type where Oracle AI Data Catalog is configured. */ + @com.fasterxml.jackson.annotation.JsonProperty("databaseType") + private final OracleAiDataCatalogIcebergCatalogDatabaseType databaseType; + + /** + * The database type where Oracle AI Data Catalog is configured. + * + * @return the value + */ + public OracleAiDataCatalogIcebergCatalogDatabaseType getDatabaseType() { + return databaseType; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * database being referenced. + */ + @com.fasterxml.jackson.annotation.JsonProperty("databaseId") + private final String databaseId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * database being referenced. + * + * @return the value + */ + public String getDatabaseId() { + return databaseId; + } + + /** + * The username Oracle GoldenGate uses to connect the associated system of the given technology. + * This username must already exist and be available by the system/application to be connected + * to and must conform to the case sensitivty requirments defined in it. + */ + @com.fasterxml.jackson.annotation.JsonProperty("username") + private final String username; + + /** + * The username Oracle GoldenGate uses to connect the associated system of the given technology. + * This username must already exist and be available by the system/application to be connected + * to and must conform to the case sensitivty requirments defined in it. + * + * @return the value + */ + public String getUsername() { + return username; + } + + /** + * The password Oracle GoldenGate uses to connect the associated system of the given technology. + * It must conform to the specific security requirements including length, case sensitivity, and + * so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This change + * follows the GoldenGate "Plain Text Fields in Connections" deprecation: + * https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate + */ + @com.fasterxml.jackson.annotation.JsonProperty("password") + private final char[] password; + + /** + * The password Oracle GoldenGate uses to connect the associated system of the given technology. + * It must conform to the specific security requirements including length, case sensitivity, and + * so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". + * This change follows the GoldenGate "Plain Text Fields in Connections" deprecation: + * https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate + * + * @return the value + * @deprecated Use getPassword__AsCharArray() instead. + */ + @Deprecated + @com.fasterxml.jackson.annotation.JsonIgnore + public String getPassword() { + return password != null ? new String(password) : null; + } + + /** + * The password Oracle GoldenGate uses to connect the associated system of the given technology. + * It must conform to the specific security requirements including length, case sensitivity, and + * so on. Deprecated: This field is deprecated and replaced by "passwordSecretId". This change + * follows the GoldenGate "Plain Text Fields in Connections" deprecation: + * https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate + * + * @return the value + */ + @com.fasterxml.jackson.annotation.JsonProperty("password") + public char[] getPassword__AsCharArray() { + return password; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret where the password is stored. The password Oracle GoldenGate uses to connect the + * associated system of the given technology. It must conform to the specific security + * requirements including length, case sensitivity, and so on. If secretId is used plaintext + * field must not be provided. Note: When provided, 'password' field must not be provided. + */ + @com.fasterxml.jackson.annotation.JsonProperty("passwordSecretId") + private final String passwordSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret where the password is stored. The password Oracle GoldenGate uses to connect the + * associated system of the given technology. It must conform to the specific security + * requirements including length, case sensitivity, and so on. If secretId is used plaintext + * field must not be provided. Note: When provided, 'password' field must not be provided. + * + * @return the value + */ + public String getPasswordSecretId() { + return passwordSecretId; + } + + @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("UpdateDbCredentialsOracleAiDataCatalogIcebergCatalogConfigDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", databaseType=").append(String.valueOf(this.databaseType)); + sb.append(", databaseId=").append(String.valueOf(this.databaseId)); + sb.append(", username=").append(String.valueOf(this.username)); + sb.append(", password=").append(""); + sb.append(", passwordSecretId=").append(String.valueOf(this.passwordSecretId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof UpdateDbCredentialsOracleAiDataCatalogIcebergCatalogConfigDetails)) { + return false; + } + + UpdateDbCredentialsOracleAiDataCatalogIcebergCatalogConfigDetails other = + (UpdateDbCredentialsOracleAiDataCatalogIcebergCatalogConfigDetails) o; + return java.util.Objects.equals(this.databaseType, other.databaseType) + && java.util.Objects.equals(this.databaseId, other.databaseId) + && java.util.Objects.equals(this.username, other.username) + && java.util.Objects.equals(this.password, other.password) + && java.util.Objects.equals(this.passwordSecretId, other.passwordSecretId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.databaseType == null ? 43 : this.databaseType.hashCode()); + result = (result * PRIME) + (this.databaseId == null ? 43 : this.databaseId.hashCode()); + result = (result * PRIME) + (this.username == null ? 43 : this.username.hashCode()); + result = (result * PRIME) + (this.password == null ? 43 : this.password.hashCode()); + result = + (result * PRIME) + + (this.passwordSecretId == null ? 43 : this.passwordSecretId.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateIcebergCatalogDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateIcebergCatalogDetails.java index b028abf5c4a..87ee70c9e96 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateIcebergCatalogDetails.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateIcebergCatalogDetails.java @@ -34,6 +34,9 @@ @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = UpdateHadoopIcebergCatalogDetails.class, name = "HADOOP"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = UpdateOracleAiDataCatalogIcebergCatalogDetails.class, + name = "OADC"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = UpdateGlueIcebergCatalogDetails.class, name = "GLUE") diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateIcebergStorageDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateIcebergStorageDetails.java index cb811225442..2b892b28daf 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateIcebergStorageDetails.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateIcebergStorageDetails.java @@ -34,9 +34,18 @@ @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = UpdateGoogleCloudStorageIcebergStorageDetails.class, name = "GOOGLE_CLOUD_STORAGE"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = UpdateOciObjectStorageAccessKeyIcebergStorageDetails.class, + name = "OCI_OBJECT_STORAGE_ACCESS_KEY"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = UpdateAzureDataLakeStorageIcebergStorageDetails.class, - name = "AZURE_DATA_LAKE_STORAGE") + name = "AZURE_DATA_LAKE_STORAGE"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = UpdateAzureStorageIcebergStorageDetails.class, + name = "AZURE_STORAGE"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = UpdateZfsIcebergStorageDetails.class, + name = "ZFS") }) @com.fasterxml.jackson.annotation.JsonFilter( com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateOciGoldenGateOracleAiDataCatalogIcebergCatalogConfigDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateOciGoldenGateOracleAiDataCatalogIcebergCatalogConfigDetails.java new file mode 100644 index 00000000000..8feb22d99c2 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateOciGoldenGateOracleAiDataCatalogIcebergCatalogConfigDetails.java @@ -0,0 +1,149 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * The information to update an Oracle AI Data Catalog configuration based on an OCI GoldenGate + * deployment.
+ * 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: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = UpdateOciGoldenGateOracleAiDataCatalogIcebergCatalogConfigDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "catalogConfigType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class UpdateOciGoldenGateOracleAiDataCatalogIcebergCatalogConfigDetails + extends UpdateOracleAiDataCatalogIcebergCatalogConfigDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * deployment being referenced. + */ + @com.fasterxml.jackson.annotation.JsonProperty("deploymentId") + private String deploymentId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * deployment being referenced. + * + * @param deploymentId the value to set + * @return this builder + */ + public Builder deploymentId(String deploymentId) { + this.deploymentId = deploymentId; + this.__explicitlySet__.add("deploymentId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public UpdateOciGoldenGateOracleAiDataCatalogIcebergCatalogConfigDetails build() { + UpdateOciGoldenGateOracleAiDataCatalogIcebergCatalogConfigDetails model = + new UpdateOciGoldenGateOracleAiDataCatalogIcebergCatalogConfigDetails( + this.deploymentId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy( + UpdateOciGoldenGateOracleAiDataCatalogIcebergCatalogConfigDetails model) { + if (model.wasPropertyExplicitlySet("deploymentId")) { + this.deploymentId(model.getDeploymentId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public UpdateOciGoldenGateOracleAiDataCatalogIcebergCatalogConfigDetails(String deploymentId) { + super(); + this.deploymentId = deploymentId; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * deployment being referenced. + */ + @com.fasterxml.jackson.annotation.JsonProperty("deploymentId") + private final String deploymentId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * deployment being referenced. + * + * @return the value + */ + public String getDeploymentId() { + return deploymentId; + } + + @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("UpdateOciGoldenGateOracleAiDataCatalogIcebergCatalogConfigDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", deploymentId=").append(String.valueOf(this.deploymentId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof UpdateOciGoldenGateOracleAiDataCatalogIcebergCatalogConfigDetails)) { + return false; + } + + UpdateOciGoldenGateOracleAiDataCatalogIcebergCatalogConfigDetails other = + (UpdateOciGoldenGateOracleAiDataCatalogIcebergCatalogConfigDetails) o; + return java.util.Objects.equals(this.deploymentId, other.deploymentId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.deploymentId == null ? 43 : this.deploymentId.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateOciObjectStorageAccessKeyIcebergStorageDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateOciObjectStorageAccessKeyIcebergStorageDetails.java new file mode 100644 index 00000000000..c82d7bae43a --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateOciObjectStorageAccessKeyIcebergStorageDetails.java @@ -0,0 +1,391 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * The information to update the OCI Object Storage configuration for an Oracle AI Data Catalog + * Iceberg catalog using access-key/secret-key credentials.
+ * 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: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = UpdateOciObjectStorageAccessKeyIcebergStorageDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "storageType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class UpdateOciObjectStorageAccessKeyIcebergStorageDetails + extends UpdateIcebergStorageDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The access key ID used to access the OCI Object Storage bucket. */ + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") + private String accessKeyId; + + /** + * The access key ID used to access the OCI Object Storage bucket. + * + * @param accessKeyId the value to set + * @return this builder + */ + public Builder accessKeyId(String accessKeyId) { + this.accessKeyId = accessKeyId; + this.__explicitlySet__.add("accessKeyId"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the OCI Object Storage secret access key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + private String secretAccessKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the OCI Object Storage secret access key. + * + * @param secretAccessKeySecretId the value to set + * @return this builder + */ + public Builder secretAccessKeySecretId(String secretAccessKeySecretId) { + this.secretAccessKeySecretId = secretAccessKeySecretId; + this.__explicitlySet__.add("secretAccessKeySecretId"); + return this; + } + /** The secret access key used to access the warehouse storage. */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey") + private char[] secretAccessKey; + + /** + * The secret access key used to access the warehouse storage. + * + * @param secretAccessKey the value to set + * @return this builder + */ + public Builder secretAccessKey(char[] secretAccessKey) { + this.secretAccessKey = secretAccessKey; + this.__explicitlySet__.add("secretAccessKey"); + return this; + } + + public Builder secretAccessKey(String secretAccessKey) { + this.secretAccessKey = secretAccessKey != null ? secretAccessKey.toCharArray() : null; + this.__explicitlySet__.add("secretAccessKey"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties + * for the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + */ + @com.fasterxml.jackson.annotation.JsonProperty("propertiesSecretId") + private String propertiesSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties + * for the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * + * @param propertiesSecretId the value to set + * @return this builder + */ + public Builder propertiesSecretId(String propertiesSecretId) { + this.propertiesSecretId = propertiesSecretId; + this.__explicitlySet__.add("propertiesSecretId"); + return this; + } + /** + * The base64 encoded content of the configuration file containing additional properties for + * the REST catalog. + */ + @com.fasterxml.jackson.annotation.JsonProperty("properties") + private char[] properties; + + /** + * The base64 encoded content of the configuration file containing additional properties for + * the REST catalog. + * + * @param properties the value to set + * @return this builder + */ + public Builder properties(char[] properties) { + this.properties = properties; + this.__explicitlySet__.add("properties"); + return this; + } + + public Builder properties(String properties) { + this.properties = properties != null ? properties.toCharArray() : null; + this.__explicitlySet__.add("properties"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public UpdateOciObjectStorageAccessKeyIcebergStorageDetails build() { + UpdateOciObjectStorageAccessKeyIcebergStorageDetails model = + new UpdateOciObjectStorageAccessKeyIcebergStorageDetails( + this.accessKeyId, + this.secretAccessKeySecretId, + this.secretAccessKey, + this.propertiesSecretId, + this.properties); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(UpdateOciObjectStorageAccessKeyIcebergStorageDetails model) { + if (model.wasPropertyExplicitlySet("accessKeyId")) { + this.accessKeyId(model.getAccessKeyId()); + } + if (model.wasPropertyExplicitlySet("secretAccessKeySecretId")) { + this.secretAccessKeySecretId(model.getSecretAccessKeySecretId()); + } + if (model.wasPropertyExplicitlySet("secretAccessKey")) { + this.secretAccessKey(model.getSecretAccessKey()); + } + if (model.wasPropertyExplicitlySet("propertiesSecretId")) { + this.propertiesSecretId(model.getPropertiesSecretId()); + } + if (model.wasPropertyExplicitlySet("properties")) { + this.properties(model.getProperties()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public UpdateOciObjectStorageAccessKeyIcebergStorageDetails( + String accessKeyId, + String secretAccessKeySecretId, + String secretAccessKey, + String propertiesSecretId, + String properties) { + super(); + this.accessKeyId = accessKeyId; + this.secretAccessKeySecretId = secretAccessKeySecretId; + this.secretAccessKey = secretAccessKey != null ? secretAccessKey.toCharArray() : null; + this.propertiesSecretId = propertiesSecretId; + this.properties = properties != null ? properties.toCharArray() : null; + } + + @com.fasterxml.jackson.annotation.JsonCreator + @Deprecated + public UpdateOciObjectStorageAccessKeyIcebergStorageDetails( + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") String accessKeyId, + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + String secretAccessKeySecretId, + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey") + char[] secretAccessKey, + @com.fasterxml.jackson.annotation.JsonProperty("propertiesSecretId") + String propertiesSecretId, + @com.fasterxml.jackson.annotation.JsonProperty("properties") char[] properties) { + super(); + this.accessKeyId = accessKeyId; + this.secretAccessKeySecretId = secretAccessKeySecretId; + this.secretAccessKey = secretAccessKey; + this.propertiesSecretId = propertiesSecretId; + this.properties = properties; + } + + /** The access key ID used to access the OCI Object Storage bucket. */ + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") + private final String accessKeyId; + + /** + * The access key ID used to access the OCI Object Storage bucket. + * + * @return the value + */ + public String getAccessKeyId() { + return accessKeyId; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the OCI Object Storage secret access key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + private final String secretAccessKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the OCI Object Storage secret access key. + * + * @return the value + */ + public String getSecretAccessKeySecretId() { + return secretAccessKeySecretId; + } + + /** The secret access key used to access the warehouse storage. */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey") + private final char[] secretAccessKey; + + /** + * The secret access key used to access the warehouse storage. + * + * @return the value + * @deprecated Use getSecretAccessKey__AsCharArray() instead. + */ + @Deprecated + @com.fasterxml.jackson.annotation.JsonIgnore + public String getSecretAccessKey() { + return secretAccessKey != null ? new String(secretAccessKey) : null; + } + + /** + * The secret access key used to access the warehouse storage. + * + * @return the value + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey") + public char[] getSecretAccessKey__AsCharArray() { + return secretAccessKey; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties for + * the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + */ + @com.fasterxml.jackson.annotation.JsonProperty("propertiesSecretId") + private final String propertiesSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties for + * the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * + * @return the value + */ + public String getPropertiesSecretId() { + return propertiesSecretId; + } + + /** + * The base64 encoded content of the configuration file containing additional properties for the + * REST catalog. + */ + @com.fasterxml.jackson.annotation.JsonProperty("properties") + private final char[] properties; + + /** + * The base64 encoded content of the configuration file containing additional properties for the + * REST catalog. + * + * @return the value + * @deprecated Use getProperties__AsCharArray() instead. + */ + @Deprecated + @com.fasterxml.jackson.annotation.JsonIgnore + public String getProperties() { + return properties != null ? new String(properties) : null; + } + + /** + * The base64 encoded content of the configuration file containing additional properties for the + * REST catalog. + * + * @return the value + */ + @com.fasterxml.jackson.annotation.JsonProperty("properties") + public char[] getProperties__AsCharArray() { + return properties; + } + + @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("UpdateOciObjectStorageAccessKeyIcebergStorageDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", accessKeyId=").append(String.valueOf(this.accessKeyId)); + sb.append(", secretAccessKeySecretId=") + .append(String.valueOf(this.secretAccessKeySecretId)); + sb.append(", secretAccessKey=").append(""); + sb.append(", propertiesSecretId=").append(String.valueOf(this.propertiesSecretId)); + sb.append(", properties=").append(""); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof UpdateOciObjectStorageAccessKeyIcebergStorageDetails)) { + return false; + } + + UpdateOciObjectStorageAccessKeyIcebergStorageDetails other = + (UpdateOciObjectStorageAccessKeyIcebergStorageDetails) o; + return java.util.Objects.equals(this.accessKeyId, other.accessKeyId) + && java.util.Objects.equals( + this.secretAccessKeySecretId, other.secretAccessKeySecretId) + && java.util.Objects.equals(this.secretAccessKey, other.secretAccessKey) + && java.util.Objects.equals(this.propertiesSecretId, other.propertiesSecretId) + && java.util.Objects.equals(this.properties, other.properties) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.accessKeyId == null ? 43 : this.accessKeyId.hashCode()); + result = + (result * PRIME) + + (this.secretAccessKeySecretId == null + ? 43 + : this.secretAccessKeySecretId.hashCode()); + result = + (result * PRIME) + + (this.secretAccessKey == null ? 43 : this.secretAccessKey.hashCode()); + result = + (result * PRIME) + + (this.propertiesSecretId == null + ? 43 + : this.propertiesSecretId.hashCode()); + result = (result * PRIME) + (this.properties == null ? 43 : this.properties.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateOciObjectStorageAccessKeyWarehouseStorageDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateOciObjectStorageAccessKeyWarehouseStorageDetails.java new file mode 100644 index 00000000000..9c4d668a70d --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateOciObjectStorageAccessKeyWarehouseStorageDetails.java @@ -0,0 +1,352 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * The information to update the OCI Object Storage warehouse storage configuration for Oracle AI + * Data Catalog Storage Connection using access-key/secret-key credentials.
+ * 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: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = UpdateOciObjectStorageAccessKeyWarehouseStorageDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "storageType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class UpdateOciObjectStorageAccessKeyWarehouseStorageDetails + extends UpdateWarehouseStorageDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** Name of namespace that serves as a container for all of your buckets */ + @com.fasterxml.jackson.annotation.JsonProperty("namespaceName") + private String namespaceName; + + /** + * Name of namespace that serves as a container for all of your buckets + * + * @param namespaceName the value to set + * @return this builder + */ + public Builder namespaceName(String namespaceName) { + this.namespaceName = namespaceName; + this.__explicitlySet__.add("namespaceName"); + return this; + } + /** + * The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will + * default to the current region. + */ + @com.fasterxml.jackson.annotation.JsonProperty("region") + private String region; + + /** + * The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will + * default to the current region. + * + * @param region the value to set + * @return this builder + */ + public Builder region(String region) { + this.region = region; + this.__explicitlySet__.add("region"); + return this; + } + /** The access key ID used to access the OCI Object Storage bucket. */ + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") + private String accessKeyId; + + /** + * The access key ID used to access the OCI Object Storage bucket. + * + * @param accessKeyId the value to set + * @return this builder + */ + public Builder accessKeyId(String accessKeyId) { + this.accessKeyId = accessKeyId; + this.__explicitlySet__.add("accessKeyId"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the OCI Object Storage secret access key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + private String secretAccessKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the OCI Object Storage secret access key. + * + * @param secretAccessKeySecretId the value to set + * @return this builder + */ + public Builder secretAccessKeySecretId(String secretAccessKeySecretId) { + this.secretAccessKeySecretId = secretAccessKeySecretId; + this.__explicitlySet__.add("secretAccessKeySecretId"); + return this; + } + /** The secret access key used to access the warehouse storage. */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey") + private char[] secretAccessKey; + + /** + * The secret access key used to access the warehouse storage. + * + * @param secretAccessKey the value to set + * @return this builder + */ + public Builder secretAccessKey(char[] secretAccessKey) { + this.secretAccessKey = secretAccessKey; + this.__explicitlySet__.add("secretAccessKey"); + return this; + } + + public Builder secretAccessKey(String secretAccessKey) { + this.secretAccessKey = secretAccessKey != null ? secretAccessKey.toCharArray() : null; + this.__explicitlySet__.add("secretAccessKey"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public UpdateOciObjectStorageAccessKeyWarehouseStorageDetails build() { + UpdateOciObjectStorageAccessKeyWarehouseStorageDetails model = + new UpdateOciObjectStorageAccessKeyWarehouseStorageDetails( + this.namespaceName, + this.region, + this.accessKeyId, + this.secretAccessKeySecretId, + this.secretAccessKey); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(UpdateOciObjectStorageAccessKeyWarehouseStorageDetails model) { + if (model.wasPropertyExplicitlySet("namespaceName")) { + this.namespaceName(model.getNamespaceName()); + } + if (model.wasPropertyExplicitlySet("region")) { + this.region(model.getRegion()); + } + if (model.wasPropertyExplicitlySet("accessKeyId")) { + this.accessKeyId(model.getAccessKeyId()); + } + if (model.wasPropertyExplicitlySet("secretAccessKeySecretId")) { + this.secretAccessKeySecretId(model.getSecretAccessKeySecretId()); + } + if (model.wasPropertyExplicitlySet("secretAccessKey")) { + this.secretAccessKey(model.getSecretAccessKey()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public UpdateOciObjectStorageAccessKeyWarehouseStorageDetails( + String namespaceName, + String region, + String accessKeyId, + String secretAccessKeySecretId, + String secretAccessKey) { + super(); + this.namespaceName = namespaceName; + this.region = region; + this.accessKeyId = accessKeyId; + this.secretAccessKeySecretId = secretAccessKeySecretId; + this.secretAccessKey = secretAccessKey != null ? secretAccessKey.toCharArray() : null; + } + + @com.fasterxml.jackson.annotation.JsonCreator + @Deprecated + public UpdateOciObjectStorageAccessKeyWarehouseStorageDetails( + @com.fasterxml.jackson.annotation.JsonProperty("namespaceName") String namespaceName, + @com.fasterxml.jackson.annotation.JsonProperty("region") String region, + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") String accessKeyId, + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + String secretAccessKeySecretId, + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey") + char[] secretAccessKey) { + super(); + this.namespaceName = namespaceName; + this.region = region; + this.accessKeyId = accessKeyId; + this.secretAccessKeySecretId = secretAccessKeySecretId; + this.secretAccessKey = secretAccessKey; + } + + /** Name of namespace that serves as a container for all of your buckets */ + @com.fasterxml.jackson.annotation.JsonProperty("namespaceName") + private final String namespaceName; + + /** + * Name of namespace that serves as a container for all of your buckets + * + * @return the value + */ + public String getNamespaceName() { + return namespaceName; + } + + /** + * The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will + * default to the current region. + */ + @com.fasterxml.jackson.annotation.JsonProperty("region") + private final String region; + + /** + * The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will + * default to the current region. + * + * @return the value + */ + public String getRegion() { + return region; + } + + /** The access key ID used to access the OCI Object Storage bucket. */ + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") + private final String accessKeyId; + + /** + * The access key ID used to access the OCI Object Storage bucket. + * + * @return the value + */ + public String getAccessKeyId() { + return accessKeyId; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the OCI Object Storage secret access key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + private final String secretAccessKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the OCI Object Storage secret access key. + * + * @return the value + */ + public String getSecretAccessKeySecretId() { + return secretAccessKeySecretId; + } + + /** The secret access key used to access the warehouse storage. */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey") + private final char[] secretAccessKey; + + /** + * The secret access key used to access the warehouse storage. + * + * @return the value + * @deprecated Use getSecretAccessKey__AsCharArray() instead. + */ + @Deprecated + @com.fasterxml.jackson.annotation.JsonIgnore + public String getSecretAccessKey() { + return secretAccessKey != null ? new String(secretAccessKey) : null; + } + + /** + * The secret access key used to access the warehouse storage. + * + * @return the value + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey") + public char[] getSecretAccessKey__AsCharArray() { + return secretAccessKey; + } + + @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("UpdateOciObjectStorageAccessKeyWarehouseStorageDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", namespaceName=").append(String.valueOf(this.namespaceName)); + sb.append(", region=").append(String.valueOf(this.region)); + sb.append(", accessKeyId=").append(String.valueOf(this.accessKeyId)); + sb.append(", secretAccessKeySecretId=") + .append(String.valueOf(this.secretAccessKeySecretId)); + sb.append(", secretAccessKey=").append(""); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof UpdateOciObjectStorageAccessKeyWarehouseStorageDetails)) { + return false; + } + + UpdateOciObjectStorageAccessKeyWarehouseStorageDetails other = + (UpdateOciObjectStorageAccessKeyWarehouseStorageDetails) o; + return java.util.Objects.equals(this.namespaceName, other.namespaceName) + && java.util.Objects.equals(this.region, other.region) + && java.util.Objects.equals(this.accessKeyId, other.accessKeyId) + && java.util.Objects.equals( + this.secretAccessKeySecretId, other.secretAccessKeySecretId) + && java.util.Objects.equals(this.secretAccessKey, other.secretAccessKey) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.namespaceName == null ? 43 : this.namespaceName.hashCode()); + result = (result * PRIME) + (this.region == null ? 43 : this.region.hashCode()); + result = (result * PRIME) + (this.accessKeyId == null ? 43 : this.accessKeyId.hashCode()); + result = + (result * PRIME) + + (this.secretAccessKeySecretId == null + ? 43 + : this.secretAccessKeySecretId.hashCode()); + result = + (result * PRIME) + + (this.secretAccessKey == null ? 43 : this.secretAccessKey.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateOracleAiDataCatalogIcebergCatalogConfigDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateOracleAiDataCatalogIcebergCatalogConfigDetails.java new file mode 100644 index 00000000000..7cc6860b28f --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateOracleAiDataCatalogIcebergCatalogConfigDetails.java @@ -0,0 +1,83 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * The information to update an Oracle AI Data Catalog configuration of given type used in an + * Iceberg connection.
+ * 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: 20200407") +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "catalogConfigType", + defaultImpl = UpdateOracleAiDataCatalogIcebergCatalogConfigDetails.class) +@com.fasterxml.jackson.annotation.JsonSubTypes({ + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = UpdateDbCredentialsOracleAiDataCatalogIcebergCatalogConfigDetails.class, + name = "DB_CREDENTIALS"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = UpdateOciGoldenGateOracleAiDataCatalogIcebergCatalogConfigDetails.class, + name = "OCI_GOLDENGATE") +}) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public class UpdateOracleAiDataCatalogIcebergCatalogConfigDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({}) + protected UpdateOracleAiDataCatalogIcebergCatalogConfigDetails() { + super(); + } + + @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("UpdateOracleAiDataCatalogIcebergCatalogConfigDetails("); + sb.append("super=").append(super.toString()); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof UpdateOracleAiDataCatalogIcebergCatalogConfigDetails)) { + return false; + } + + UpdateOracleAiDataCatalogIcebergCatalogConfigDetails other = + (UpdateOracleAiDataCatalogIcebergCatalogConfigDetails) o; + return super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateOracleAiDataCatalogIcebergCatalogDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateOracleAiDataCatalogIcebergCatalogDetails.java new file mode 100644 index 00000000000..2495b55df55 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateOracleAiDataCatalogIcebergCatalogDetails.java @@ -0,0 +1,130 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * The information to update an Oracle AI Data Catalog catalog used in the Iceberg connection.
+ * 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: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = UpdateOracleAiDataCatalogIcebergCatalogDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "catalogType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class UpdateOracleAiDataCatalogIcebergCatalogDetails + extends UpdateIcebergCatalogDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + + @com.fasterxml.jackson.annotation.JsonProperty("catalogConfig") + private UpdateOracleAiDataCatalogIcebergCatalogConfigDetails catalogConfig; + + public Builder catalogConfig( + UpdateOracleAiDataCatalogIcebergCatalogConfigDetails catalogConfig) { + this.catalogConfig = catalogConfig; + this.__explicitlySet__.add("catalogConfig"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public UpdateOracleAiDataCatalogIcebergCatalogDetails build() { + UpdateOracleAiDataCatalogIcebergCatalogDetails model = + new UpdateOracleAiDataCatalogIcebergCatalogDetails(this.catalogConfig); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(UpdateOracleAiDataCatalogIcebergCatalogDetails model) { + if (model.wasPropertyExplicitlySet("catalogConfig")) { + this.catalogConfig(model.getCatalogConfig()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public UpdateOracleAiDataCatalogIcebergCatalogDetails( + UpdateOracleAiDataCatalogIcebergCatalogConfigDetails catalogConfig) { + super(); + this.catalogConfig = catalogConfig; + } + + @com.fasterxml.jackson.annotation.JsonProperty("catalogConfig") + private final UpdateOracleAiDataCatalogIcebergCatalogConfigDetails catalogConfig; + + public UpdateOracleAiDataCatalogIcebergCatalogConfigDetails getCatalogConfig() { + return catalogConfig; + } + + @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("UpdateOracleAiDataCatalogIcebergCatalogDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", catalogConfig=").append(String.valueOf(this.catalogConfig)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof UpdateOracleAiDataCatalogIcebergCatalogDetails)) { + return false; + } + + UpdateOracleAiDataCatalogIcebergCatalogDetails other = + (UpdateOracleAiDataCatalogIcebergCatalogDetails) o; + return java.util.Objects.equals(this.catalogConfig, other.catalogConfig) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.catalogConfig == null ? 43 : this.catalogConfig.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateOracleAiDataCatalogStorageConnectionDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateOracleAiDataCatalogStorageConnectionDetails.java new file mode 100644 index 00000000000..a3bbf036bb6 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateOracleAiDataCatalogStorageConnectionDetails.java @@ -0,0 +1,343 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * The information to update an Oracle AI Data Catalog Storage Connection.
+ * 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: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = UpdateOracleAiDataCatalogStorageConnectionDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "connectionType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class UpdateOracleAiDataCatalogStorageConnectionDetails + extends UpdateConnectionDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("description") + private String description; + + public Builder description(String description) { + this.description = description; + this.__explicitlySet__.add("description"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private java.util.Map freeformTags; + + public Builder freeformTags(java.util.Map freeformTags) { + this.freeformTags = freeformTags; + this.__explicitlySet__.add("freeformTags"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private java.util.Map> definedTags; + + public Builder definedTags( + java.util.Map> definedTags) { + this.definedTags = definedTags; + this.__explicitlySet__.add("definedTags"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("vaultId") + private String vaultId; + + public Builder vaultId(String vaultId) { + this.vaultId = vaultId; + this.__explicitlySet__.add("vaultId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("keyId") + private String keyId; + + public Builder keyId(String keyId) { + this.keyId = keyId; + this.__explicitlySet__.add("keyId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("nsgIds") + private java.util.List nsgIds; + + public Builder nsgIds(java.util.List nsgIds) { + this.nsgIds = nsgIds; + this.__explicitlySet__.add("nsgIds"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subnetId") + private String subnetId; + + public Builder subnetId(String subnetId) { + this.subnetId = subnetId; + this.__explicitlySet__.add("subnetId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("routingMethod") + private RoutingMethod routingMethod; + + public Builder routingMethod(RoutingMethod routingMethod) { + this.routingMethod = routingMethod; + this.__explicitlySet__.add("routingMethod"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("doesUseSecretIds") + private Boolean doesUseSecretIds; + + public Builder doesUseSecretIds(Boolean doesUseSecretIds) { + this.doesUseSecretIds = doesUseSecretIds; + this.__explicitlySet__.add("doesUseSecretIds"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("securityAttributes") + private java.util.Map> securityAttributes; + + public Builder securityAttributes( + java.util.Map> securityAttributes) { + this.securityAttributes = securityAttributes; + this.__explicitlySet__.add("securityAttributes"); + return this; + } + /** + * The name of the warehouse configured in the Oracle AI Data Catalog deployment. This value + * corresponds to the target bucket or container name. + */ + @com.fasterxml.jackson.annotation.JsonProperty("warehouseName") + private String warehouseName; + + /** + * The name of the warehouse configured in the Oracle AI Data Catalog deployment. This value + * corresponds to the target bucket or container name. + * + * @param warehouseName the value to set + * @return this builder + */ + public Builder warehouseName(String warehouseName) { + this.warehouseName = warehouseName; + this.__explicitlySet__.add("warehouseName"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("warehouseStorage") + private UpdateWarehouseStorageDetails warehouseStorage; + + public Builder warehouseStorage(UpdateWarehouseStorageDetails warehouseStorage) { + this.warehouseStorage = warehouseStorage; + this.__explicitlySet__.add("warehouseStorage"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public UpdateOracleAiDataCatalogStorageConnectionDetails build() { + UpdateOracleAiDataCatalogStorageConnectionDetails model = + new UpdateOracleAiDataCatalogStorageConnectionDetails( + this.displayName, + this.description, + this.freeformTags, + this.definedTags, + this.vaultId, + this.keyId, + this.nsgIds, + this.subnetId, + this.routingMethod, + this.doesUseSecretIds, + this.securityAttributes, + this.warehouseName, + this.warehouseStorage); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(UpdateOracleAiDataCatalogStorageConnectionDetails model) { + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + if (model.wasPropertyExplicitlySet("description")) { + this.description(model.getDescription()); + } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } + if (model.wasPropertyExplicitlySet("vaultId")) { + this.vaultId(model.getVaultId()); + } + if (model.wasPropertyExplicitlySet("keyId")) { + this.keyId(model.getKeyId()); + } + if (model.wasPropertyExplicitlySet("nsgIds")) { + this.nsgIds(model.getNsgIds()); + } + if (model.wasPropertyExplicitlySet("subnetId")) { + this.subnetId(model.getSubnetId()); + } + if (model.wasPropertyExplicitlySet("routingMethod")) { + this.routingMethod(model.getRoutingMethod()); + } + if (model.wasPropertyExplicitlySet("doesUseSecretIds")) { + this.doesUseSecretIds(model.getDoesUseSecretIds()); + } + if (model.wasPropertyExplicitlySet("securityAttributes")) { + this.securityAttributes(model.getSecurityAttributes()); + } + if (model.wasPropertyExplicitlySet("warehouseName")) { + this.warehouseName(model.getWarehouseName()); + } + if (model.wasPropertyExplicitlySet("warehouseStorage")) { + this.warehouseStorage(model.getWarehouseStorage()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public UpdateOracleAiDataCatalogStorageConnectionDetails( + String displayName, + String description, + java.util.Map freeformTags, + java.util.Map> definedTags, + String vaultId, + String keyId, + java.util.List nsgIds, + String subnetId, + RoutingMethod routingMethod, + Boolean doesUseSecretIds, + java.util.Map> securityAttributes, + String warehouseName, + UpdateWarehouseStorageDetails warehouseStorage) { + super( + displayName, + description, + freeformTags, + definedTags, + vaultId, + keyId, + nsgIds, + subnetId, + routingMethod, + doesUseSecretIds, + securityAttributes); + this.warehouseName = warehouseName; + this.warehouseStorage = warehouseStorage; + } + + /** + * The name of the warehouse configured in the Oracle AI Data Catalog deployment. This value + * corresponds to the target bucket or container name. + */ + @com.fasterxml.jackson.annotation.JsonProperty("warehouseName") + private final String warehouseName; + + /** + * The name of the warehouse configured in the Oracle AI Data Catalog deployment. This value + * corresponds to the target bucket or container name. + * + * @return the value + */ + public String getWarehouseName() { + return warehouseName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("warehouseStorage") + private final UpdateWarehouseStorageDetails warehouseStorage; + + public UpdateWarehouseStorageDetails getWarehouseStorage() { + return warehouseStorage; + } + + @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("UpdateOracleAiDataCatalogStorageConnectionDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", warehouseName=").append(String.valueOf(this.warehouseName)); + sb.append(", warehouseStorage=").append(String.valueOf(this.warehouseStorage)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof UpdateOracleAiDataCatalogStorageConnectionDetails)) { + return false; + } + + UpdateOracleAiDataCatalogStorageConnectionDetails other = + (UpdateOracleAiDataCatalogStorageConnectionDetails) o; + return java.util.Objects.equals(this.warehouseName, other.warehouseName) + && java.util.Objects.equals(this.warehouseStorage, other.warehouseStorage) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.warehouseName == null ? 43 : this.warehouseName.hashCode()); + result = + (result * PRIME) + + (this.warehouseStorage == null ? 43 : this.warehouseStorage.hashCode()); + return result; + } +} diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleMigrationSettingsSummary.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateWarehouseStorageDetails.java similarity index 75% rename from bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleMigrationSettingsSummary.java rename to bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateWarehouseStorageDetails.java index 2522933df36..f3ec0a2ad80 100644 --- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleMigrationSettingsSummary.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateWarehouseStorageDetails.java @@ -2,10 +2,11 @@ * Copyright (c) 2016, 2026, 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.databasemigration.model; +package com.oracle.bmc.goldengate.model; /** - * Discriminator-only base Oracle migration summary settings.
+ * The information to update a warehouse storage of given type used in an Oracle AI Data Catalog + * Storage connection.
* 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 @@ -15,30 +16,30 @@ * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code * null}). */ -@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20230518") +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200407") @com.fasterxml.jackson.annotation.JsonTypeInfo( use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, - property = "migrationMethod", - defaultImpl = OracleMigrationSettingsSummary.class) + property = "storageType", + defaultImpl = UpdateWarehouseStorageDetails.class) @com.fasterxml.jackson.annotation.JsonSubTypes({ @com.fasterxml.jackson.annotation.JsonSubTypes.Type( - value = OracleOfflineLogicalMigrationSettingsSummary.class, - name = "OFFLINE_LOGICAL"), + value = UpdateOciObjectStorageAccessKeyWarehouseStorageDetails.class, + name = "OCI_OBJECT_STORAGE_ACCESS_KEY"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( - value = OracleOnlineStandbyMigrationSettingsSummary.class, - name = "ONLINE_STANDBY"), + value = UpdateZfsWarehouseStorageDetails.class, + name = "ZFS"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( - value = OracleOnlineLogicalMigrationSettingsSummary.class, - name = "ONLINE_LOGICAL") + value = UpdateAzureStorageWarehouseStorageDetails.class, + name = "AZURE_STORAGE") }) @com.fasterxml.jackson.annotation.JsonFilter( com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) -public class OracleMigrationSettingsSummary +public class UpdateWarehouseStorageDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated @java.beans.ConstructorProperties({}) - protected OracleMigrationSettingsSummary() { + protected UpdateWarehouseStorageDetails() { super(); } @@ -55,7 +56,7 @@ public String toString() { */ public String toString(boolean includeByteArrayContents) { java.lang.StringBuilder sb = new java.lang.StringBuilder(); - sb.append("OracleMigrationSettingsSummary("); + sb.append("UpdateWarehouseStorageDetails("); sb.append("super=").append(super.toString()); sb.append(")"); return sb.toString(); @@ -66,11 +67,11 @@ public boolean equals(Object o) { if (this == o) { return true; } - if (!(o instanceof OracleMigrationSettingsSummary)) { + if (!(o instanceof UpdateWarehouseStorageDetails)) { return false; } - OracleMigrationSettingsSummary other = (OracleMigrationSettingsSummary) o; + UpdateWarehouseStorageDetails other = (UpdateWarehouseStorageDetails) o; return super.equals(other); } diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateZfsIcebergStorageDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateZfsIcebergStorageDetails.java new file mode 100644 index 00000000000..a6d21d83056 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateZfsIcebergStorageDetails.java @@ -0,0 +1,500 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * The information to update the ZFS storage used in the Iceberg connection for an Oracle AI Data + * Catalog Iceberg catalogs.
+ * 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: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = UpdateZfsIcebergStorageDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "storageType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class UpdateZfsIcebergStorageDetails extends UpdateIcebergStorageDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The access key ID used to access the ZFS storage. */ + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") + private String accessKeyId; + + /** + * The access key ID used to access the ZFS storage. + * + * @param accessKeyId the value to set + * @return this builder + */ + public Builder accessKeyId(String accessKeyId) { + this.accessKeyId = accessKeyId; + this.__explicitlySet__.add("accessKeyId"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS secret access key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + private String secretAccessKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS secret access key. + * + * @param secretAccessKeySecretId the value to set + * @return this builder + */ + public Builder secretAccessKeySecretId(String secretAccessKeySecretId) { + this.secretAccessKeySecretId = secretAccessKeySecretId; + this.__explicitlySet__.add("secretAccessKeySecretId"); + return this; + } + /** The secret access key used to access the warehouse storage. */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey") + private char[] secretAccessKey; + + /** + * The secret access key used to access the warehouse storage. + * + * @param secretAccessKey the value to set + * @return this builder + */ + public Builder secretAccessKey(char[] secretAccessKey) { + this.secretAccessKey = secretAccessKey; + this.__explicitlySet__.add("secretAccessKey"); + return this; + } + + public Builder secretAccessKey(String secretAccessKey) { + this.secretAccessKey = secretAccessKey != null ? secretAccessKey.toCharArray() : null; + this.__explicitlySet__.add("secretAccessKey"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS storage trust store. Note: When provided, 'trustStore' field + * must not be provided. + */ + @com.fasterxml.jackson.annotation.JsonProperty("trustStoreSecretId") + private String trustStoreSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS storage trust store. Note: When provided, 'trustStore' field + * must not be provided. + * + * @param trustStoreSecretId the value to set + * @return this builder + */ + public Builder trustStoreSecretId(String trustStoreSecretId) { + this.trustStoreSecretId = trustStoreSecretId; + this.__explicitlySet__.add("trustStoreSecretId"); + return this; + } + /** + * The base64 encoded content of the ZFS storage TrustStore file. Deprecated: This field is + * deprecated and replaced by "trustStoreSecretId". This change follows the GoldenGate + * "Plain Text Fields in Connections" deprecation: + * https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate + */ + @com.fasterxml.jackson.annotation.JsonProperty("trustStore") + private String trustStore; + + /** + * The base64 encoded content of the ZFS storage TrustStore file. Deprecated: This field is + * deprecated and replaced by "trustStoreSecretId". This change follows the GoldenGate + * "Plain Text Fields in Connections" deprecation: + * https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate + * + * @param trustStore the value to set + * @return this builder + */ + public Builder trustStore(String trustStore) { + this.trustStore = trustStore; + this.__explicitlySet__.add("trustStore"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties + * for the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + */ + @com.fasterxml.jackson.annotation.JsonProperty("propertiesSecretId") + private String propertiesSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties + * for the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * + * @param propertiesSecretId the value to set + * @return this builder + */ + public Builder propertiesSecretId(String propertiesSecretId) { + this.propertiesSecretId = propertiesSecretId; + this.__explicitlySet__.add("propertiesSecretId"); + return this; + } + /** + * The base64 encoded content of the configuration file containing additional properties for + * the REST catalog. + */ + @com.fasterxml.jackson.annotation.JsonProperty("properties") + private char[] properties; + + /** + * The base64 encoded content of the configuration file containing additional properties for + * the REST catalog. + * + * @param properties the value to set + * @return this builder + */ + public Builder properties(char[] properties) { + this.properties = properties; + this.__explicitlySet__.add("properties"); + return this; + } + + public Builder properties(String properties) { + this.properties = properties != null ? properties.toCharArray() : null; + this.__explicitlySet__.add("properties"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public UpdateZfsIcebergStorageDetails build() { + UpdateZfsIcebergStorageDetails model = + new UpdateZfsIcebergStorageDetails( + this.accessKeyId, + this.secretAccessKeySecretId, + this.secretAccessKey, + this.trustStoreSecretId, + this.trustStore, + this.propertiesSecretId, + this.properties); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(UpdateZfsIcebergStorageDetails model) { + if (model.wasPropertyExplicitlySet("accessKeyId")) { + this.accessKeyId(model.getAccessKeyId()); + } + if (model.wasPropertyExplicitlySet("secretAccessKeySecretId")) { + this.secretAccessKeySecretId(model.getSecretAccessKeySecretId()); + } + if (model.wasPropertyExplicitlySet("secretAccessKey")) { + this.secretAccessKey(model.getSecretAccessKey()); + } + if (model.wasPropertyExplicitlySet("trustStoreSecretId")) { + this.trustStoreSecretId(model.getTrustStoreSecretId()); + } + if (model.wasPropertyExplicitlySet("trustStore")) { + this.trustStore(model.getTrustStore()); + } + if (model.wasPropertyExplicitlySet("propertiesSecretId")) { + this.propertiesSecretId(model.getPropertiesSecretId()); + } + if (model.wasPropertyExplicitlySet("properties")) { + this.properties(model.getProperties()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public UpdateZfsIcebergStorageDetails( + String accessKeyId, + String secretAccessKeySecretId, + String secretAccessKey, + String trustStoreSecretId, + String trustStore, + String propertiesSecretId, + String properties) { + super(); + this.accessKeyId = accessKeyId; + this.secretAccessKeySecretId = secretAccessKeySecretId; + this.secretAccessKey = secretAccessKey != null ? secretAccessKey.toCharArray() : null; + this.trustStoreSecretId = trustStoreSecretId; + this.trustStore = trustStore; + this.propertiesSecretId = propertiesSecretId; + this.properties = properties != null ? properties.toCharArray() : null; + } + + @com.fasterxml.jackson.annotation.JsonCreator + @Deprecated + public UpdateZfsIcebergStorageDetails( + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") String accessKeyId, + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + String secretAccessKeySecretId, + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey") + char[] secretAccessKey, + @com.fasterxml.jackson.annotation.JsonProperty("trustStoreSecretId") + String trustStoreSecretId, + @com.fasterxml.jackson.annotation.JsonProperty("trustStore") String trustStore, + @com.fasterxml.jackson.annotation.JsonProperty("propertiesSecretId") + String propertiesSecretId, + @com.fasterxml.jackson.annotation.JsonProperty("properties") char[] properties) { + super(); + this.accessKeyId = accessKeyId; + this.secretAccessKeySecretId = secretAccessKeySecretId; + this.secretAccessKey = secretAccessKey; + this.trustStoreSecretId = trustStoreSecretId; + this.trustStore = trustStore; + this.propertiesSecretId = propertiesSecretId; + this.properties = properties; + } + + /** The access key ID used to access the ZFS storage. */ + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") + private final String accessKeyId; + + /** + * The access key ID used to access the ZFS storage. + * + * @return the value + */ + public String getAccessKeyId() { + return accessKeyId; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS secret access key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + private final String secretAccessKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS secret access key. + * + * @return the value + */ + public String getSecretAccessKeySecretId() { + return secretAccessKeySecretId; + } + + /** The secret access key used to access the warehouse storage. */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey") + private final char[] secretAccessKey; + + /** + * The secret access key used to access the warehouse storage. + * + * @return the value + * @deprecated Use getSecretAccessKey__AsCharArray() instead. + */ + @Deprecated + @com.fasterxml.jackson.annotation.JsonIgnore + public String getSecretAccessKey() { + return secretAccessKey != null ? new String(secretAccessKey) : null; + } + + /** + * The secret access key used to access the warehouse storage. + * + * @return the value + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey") + public char[] getSecretAccessKey__AsCharArray() { + return secretAccessKey; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS storage trust store. Note: When provided, 'trustStore' field must + * not be provided. + */ + @com.fasterxml.jackson.annotation.JsonProperty("trustStoreSecretId") + private final String trustStoreSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS storage trust store. Note: When provided, 'trustStore' field must + * not be provided. + * + * @return the value + */ + public String getTrustStoreSecretId() { + return trustStoreSecretId; + } + + /** + * The base64 encoded content of the ZFS storage TrustStore file. Deprecated: This field is + * deprecated and replaced by "trustStoreSecretId". This change follows the GoldenGate "Plain + * Text Fields in Connections" deprecation: + * https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate + */ + @com.fasterxml.jackson.annotation.JsonProperty("trustStore") + private final String trustStore; + + /** + * The base64 encoded content of the ZFS storage TrustStore file. Deprecated: This field is + * deprecated and replaced by "trustStoreSecretId". This change follows the GoldenGate "Plain + * Text Fields in Connections" deprecation: + * https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate + * + * @return the value + */ + public String getTrustStore() { + return trustStore; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties for + * the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + */ + @com.fasterxml.jackson.annotation.JsonProperty("propertiesSecretId") + private final String propertiesSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties for + * the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * + * @return the value + */ + public String getPropertiesSecretId() { + return propertiesSecretId; + } + + /** + * The base64 encoded content of the configuration file containing additional properties for the + * REST catalog. + */ + @com.fasterxml.jackson.annotation.JsonProperty("properties") + private final char[] properties; + + /** + * The base64 encoded content of the configuration file containing additional properties for the + * REST catalog. + * + * @return the value + * @deprecated Use getProperties__AsCharArray() instead. + */ + @Deprecated + @com.fasterxml.jackson.annotation.JsonIgnore + public String getProperties() { + return properties != null ? new String(properties) : null; + } + + /** + * The base64 encoded content of the configuration file containing additional properties for the + * REST catalog. + * + * @return the value + */ + @com.fasterxml.jackson.annotation.JsonProperty("properties") + public char[] getProperties__AsCharArray() { + return properties; + } + + @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("UpdateZfsIcebergStorageDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", accessKeyId=").append(String.valueOf(this.accessKeyId)); + sb.append(", secretAccessKeySecretId=") + .append(String.valueOf(this.secretAccessKeySecretId)); + sb.append(", secretAccessKey=").append(""); + sb.append(", trustStoreSecretId=").append(String.valueOf(this.trustStoreSecretId)); + sb.append(", trustStore=").append(String.valueOf(this.trustStore)); + sb.append(", propertiesSecretId=").append(String.valueOf(this.propertiesSecretId)); + sb.append(", properties=").append(""); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof UpdateZfsIcebergStorageDetails)) { + return false; + } + + UpdateZfsIcebergStorageDetails other = (UpdateZfsIcebergStorageDetails) o; + return java.util.Objects.equals(this.accessKeyId, other.accessKeyId) + && java.util.Objects.equals( + this.secretAccessKeySecretId, other.secretAccessKeySecretId) + && java.util.Objects.equals(this.secretAccessKey, other.secretAccessKey) + && java.util.Objects.equals(this.trustStoreSecretId, other.trustStoreSecretId) + && java.util.Objects.equals(this.trustStore, other.trustStore) + && java.util.Objects.equals(this.propertiesSecretId, other.propertiesSecretId) + && java.util.Objects.equals(this.properties, other.properties) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.accessKeyId == null ? 43 : this.accessKeyId.hashCode()); + result = + (result * PRIME) + + (this.secretAccessKeySecretId == null + ? 43 + : this.secretAccessKeySecretId.hashCode()); + result = + (result * PRIME) + + (this.secretAccessKey == null ? 43 : this.secretAccessKey.hashCode()); + result = + (result * PRIME) + + (this.trustStoreSecretId == null + ? 43 + : this.trustStoreSecretId.hashCode()); + result = (result * PRIME) + (this.trustStore == null ? 43 : this.trustStore.hashCode()); + result = + (result * PRIME) + + (this.propertiesSecretId == null + ? 43 + : this.propertiesSecretId.hashCode()); + result = (result * PRIME) + (this.properties == null ? 43 : this.properties.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateZfsWarehouseStorageDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateZfsWarehouseStorageDetails.java new file mode 100644 index 00000000000..1accd44cb50 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateZfsWarehouseStorageDetails.java @@ -0,0 +1,412 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * The information to update the ZFS warehouse storage configuration for Oracle AI Data Catalog + * Storage connection.
+ * 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: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = UpdateZfsWarehouseStorageDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "storageType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class UpdateZfsWarehouseStorageDetails extends UpdateWarehouseStorageDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The access key ID used to access the ZFS storage. */ + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") + private String accessKeyId; + + /** + * The access key ID used to access the ZFS storage. + * + * @param accessKeyId the value to set + * @return this builder + */ + public Builder accessKeyId(String accessKeyId) { + this.accessKeyId = accessKeyId; + this.__explicitlySet__.add("accessKeyId"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS secret access key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + private String secretAccessKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS secret access key. + * + * @param secretAccessKeySecretId the value to set + * @return this builder + */ + public Builder secretAccessKeySecretId(String secretAccessKeySecretId) { + this.secretAccessKeySecretId = secretAccessKeySecretId; + this.__explicitlySet__.add("secretAccessKeySecretId"); + return this; + } + /** The secret access key used to access the warehouse storage. */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey") + private char[] secretAccessKey; + + /** + * The secret access key used to access the warehouse storage. + * + * @param secretAccessKey the value to set + * @return this builder + */ + public Builder secretAccessKey(char[] secretAccessKey) { + this.secretAccessKey = secretAccessKey; + this.__explicitlySet__.add("secretAccessKey"); + return this; + } + + public Builder secretAccessKey(String secretAccessKey) { + this.secretAccessKey = secretAccessKey != null ? secretAccessKey.toCharArray() : null; + this.__explicitlySet__.add("secretAccessKey"); + return this; + } + /** The endpoint URL of the ZFS storage service. */ + @com.fasterxml.jackson.annotation.JsonProperty("endpointUrl") + private String endpointUrl; + + /** + * The endpoint URL of the ZFS storage service. + * + * @param endpointUrl the value to set + * @return this builder + */ + public Builder endpointUrl(String endpointUrl) { + this.endpointUrl = endpointUrl; + this.__explicitlySet__.add("endpointUrl"); + return this; + } + /** + * The base64 encoded content of the ZFS storage TrustStore file. Deprecated: This field is + * deprecated and replaced by "trustStoreSecretId". This change follows the GoldenGate + * "Plain Text Fields in Connections" deprecation: + * https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate + */ + @com.fasterxml.jackson.annotation.JsonProperty("trustStore") + private String trustStore; + + /** + * The base64 encoded content of the ZFS storage TrustStore file. Deprecated: This field is + * deprecated and replaced by "trustStoreSecretId". This change follows the GoldenGate + * "Plain Text Fields in Connections" deprecation: + * https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate + * + * @param trustStore the value to set + * @return this builder + */ + public Builder trustStore(String trustStore) { + this.trustStore = trustStore; + this.__explicitlySet__.add("trustStore"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS storage trust store. Note: When provided, 'trustStore' field + * must not be provided. + */ + @com.fasterxml.jackson.annotation.JsonProperty("trustStoreSecretId") + private String trustStoreSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS storage trust store. Note: When provided, 'trustStore' field + * must not be provided. + * + * @param trustStoreSecretId the value to set + * @return this builder + */ + public Builder trustStoreSecretId(String trustStoreSecretId) { + this.trustStoreSecretId = trustStoreSecretId; + this.__explicitlySet__.add("trustStoreSecretId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public UpdateZfsWarehouseStorageDetails build() { + UpdateZfsWarehouseStorageDetails model = + new UpdateZfsWarehouseStorageDetails( + this.accessKeyId, + this.secretAccessKeySecretId, + this.secretAccessKey, + this.endpointUrl, + this.trustStore, + this.trustStoreSecretId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(UpdateZfsWarehouseStorageDetails model) { + if (model.wasPropertyExplicitlySet("accessKeyId")) { + this.accessKeyId(model.getAccessKeyId()); + } + if (model.wasPropertyExplicitlySet("secretAccessKeySecretId")) { + this.secretAccessKeySecretId(model.getSecretAccessKeySecretId()); + } + if (model.wasPropertyExplicitlySet("secretAccessKey")) { + this.secretAccessKey(model.getSecretAccessKey()); + } + if (model.wasPropertyExplicitlySet("endpointUrl")) { + this.endpointUrl(model.getEndpointUrl()); + } + if (model.wasPropertyExplicitlySet("trustStore")) { + this.trustStore(model.getTrustStore()); + } + if (model.wasPropertyExplicitlySet("trustStoreSecretId")) { + this.trustStoreSecretId(model.getTrustStoreSecretId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public UpdateZfsWarehouseStorageDetails( + String accessKeyId, + String secretAccessKeySecretId, + String secretAccessKey, + String endpointUrl, + String trustStore, + String trustStoreSecretId) { + super(); + this.accessKeyId = accessKeyId; + this.secretAccessKeySecretId = secretAccessKeySecretId; + this.secretAccessKey = secretAccessKey != null ? secretAccessKey.toCharArray() : null; + this.endpointUrl = endpointUrl; + this.trustStore = trustStore; + this.trustStoreSecretId = trustStoreSecretId; + } + + @com.fasterxml.jackson.annotation.JsonCreator + @Deprecated + public UpdateZfsWarehouseStorageDetails( + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") String accessKeyId, + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + String secretAccessKeySecretId, + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey") + char[] secretAccessKey, + @com.fasterxml.jackson.annotation.JsonProperty("endpointUrl") String endpointUrl, + @com.fasterxml.jackson.annotation.JsonProperty("trustStore") String trustStore, + @com.fasterxml.jackson.annotation.JsonProperty("trustStoreSecretId") + String trustStoreSecretId) { + super(); + this.accessKeyId = accessKeyId; + this.secretAccessKeySecretId = secretAccessKeySecretId; + this.secretAccessKey = secretAccessKey; + this.endpointUrl = endpointUrl; + this.trustStore = trustStore; + this.trustStoreSecretId = trustStoreSecretId; + } + + /** The access key ID used to access the ZFS storage. */ + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") + private final String accessKeyId; + + /** + * The access key ID used to access the ZFS storage. + * + * @return the value + */ + public String getAccessKeyId() { + return accessKeyId; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS secret access key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + private final String secretAccessKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS secret access key. + * + * @return the value + */ + public String getSecretAccessKeySecretId() { + return secretAccessKeySecretId; + } + + /** The secret access key used to access the warehouse storage. */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey") + private final char[] secretAccessKey; + + /** + * The secret access key used to access the warehouse storage. + * + * @return the value + * @deprecated Use getSecretAccessKey__AsCharArray() instead. + */ + @Deprecated + @com.fasterxml.jackson.annotation.JsonIgnore + public String getSecretAccessKey() { + return secretAccessKey != null ? new String(secretAccessKey) : null; + } + + /** + * The secret access key used to access the warehouse storage. + * + * @return the value + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey") + public char[] getSecretAccessKey__AsCharArray() { + return secretAccessKey; + } + + /** The endpoint URL of the ZFS storage service. */ + @com.fasterxml.jackson.annotation.JsonProperty("endpointUrl") + private final String endpointUrl; + + /** + * The endpoint URL of the ZFS storage service. + * + * @return the value + */ + public String getEndpointUrl() { + return endpointUrl; + } + + /** + * The base64 encoded content of the ZFS storage TrustStore file. Deprecated: This field is + * deprecated and replaced by "trustStoreSecretId". This change follows the GoldenGate "Plain + * Text Fields in Connections" deprecation: + * https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate + */ + @com.fasterxml.jackson.annotation.JsonProperty("trustStore") + private final String trustStore; + + /** + * The base64 encoded content of the ZFS storage TrustStore file. Deprecated: This field is + * deprecated and replaced by "trustStoreSecretId". This change follows the GoldenGate "Plain + * Text Fields in Connections" deprecation: + * https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate + * + * @return the value + */ + public String getTrustStore() { + return trustStore; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS storage trust store. Note: When provided, 'trustStore' field must + * not be provided. + */ + @com.fasterxml.jackson.annotation.JsonProperty("trustStoreSecretId") + private final String trustStoreSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS storage trust store. Note: When provided, 'trustStore' field must + * not be provided. + * + * @return the value + */ + public String getTrustStoreSecretId() { + return trustStoreSecretId; + } + + @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("UpdateZfsWarehouseStorageDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", accessKeyId=").append(String.valueOf(this.accessKeyId)); + sb.append(", secretAccessKeySecretId=") + .append(String.valueOf(this.secretAccessKeySecretId)); + sb.append(", secretAccessKey=").append(""); + sb.append(", endpointUrl=").append(String.valueOf(this.endpointUrl)); + sb.append(", trustStore=").append(String.valueOf(this.trustStore)); + sb.append(", trustStoreSecretId=").append(String.valueOf(this.trustStoreSecretId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof UpdateZfsWarehouseStorageDetails)) { + return false; + } + + UpdateZfsWarehouseStorageDetails other = (UpdateZfsWarehouseStorageDetails) o; + return java.util.Objects.equals(this.accessKeyId, other.accessKeyId) + && java.util.Objects.equals( + this.secretAccessKeySecretId, other.secretAccessKeySecretId) + && java.util.Objects.equals(this.secretAccessKey, other.secretAccessKey) + && java.util.Objects.equals(this.endpointUrl, other.endpointUrl) + && java.util.Objects.equals(this.trustStore, other.trustStore) + && java.util.Objects.equals(this.trustStoreSecretId, other.trustStoreSecretId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.accessKeyId == null ? 43 : this.accessKeyId.hashCode()); + result = + (result * PRIME) + + (this.secretAccessKeySecretId == null + ? 43 + : this.secretAccessKeySecretId.hashCode()); + result = + (result * PRIME) + + (this.secretAccessKey == null ? 43 : this.secretAccessKey.hashCode()); + result = (result * PRIME) + (this.endpointUrl == null ? 43 : this.endpointUrl.hashCode()); + result = (result * PRIME) + (this.trustStore == null ? 43 : this.trustStore.hashCode()); + result = + (result * PRIME) + + (this.trustStoreSecretId == null + ? 43 + : this.trustStoreSecretId.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/WarehouseStorage.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/WarehouseStorage.java new file mode 100644 index 00000000000..ede4623cab6 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/WarehouseStorage.java @@ -0,0 +1,84 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * Represents the warehouse storage of given type used in an Oracle AI Data Catalog Storage + * connection.
+ * 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: 20200407") +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "storageType", + defaultImpl = WarehouseStorage.class) +@com.fasterxml.jackson.annotation.JsonSubTypes({ + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = OciObjectStorageAccessKeyWarehouseStorage.class, + name = "OCI_OBJECT_STORAGE_ACCESS_KEY"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = AzureStorageWarehouseStorage.class, + name = "AZURE_STORAGE"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = ZfsWarehouseStorage.class, + name = "ZFS") +}) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public class WarehouseStorage extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({}) + protected WarehouseStorage() { + super(); + } + + @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("WarehouseStorage("); + sb.append("super=").append(super.toString()); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof WarehouseStorage)) { + return false; + } + + WarehouseStorage other = (WarehouseStorage) o; + return super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleMigrationSettings.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/WarehouseStorageSummary.java similarity index 76% rename from bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleMigrationSettings.java rename to bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/WarehouseStorageSummary.java index 0e4bddfe525..6b66166a653 100644 --- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleMigrationSettings.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/WarehouseStorageSummary.java @@ -2,10 +2,11 @@ * Copyright (c) 2016, 2026, 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.databasemigration.model; +package com.oracle.bmc.goldengate.model; /** - * Discriminator-only base Oracle migration settings.
+ * Summary of the warehouse storage of given type used in an Oracle AI Data Catalog Storage + * connection.
* 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 @@ -15,30 +16,30 @@ * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code * null}). */ -@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20230518") +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200407") @com.fasterxml.jackson.annotation.JsonTypeInfo( use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, - property = "migrationMethod", - defaultImpl = OracleMigrationSettings.class) + property = "storageType", + defaultImpl = WarehouseStorageSummary.class) @com.fasterxml.jackson.annotation.JsonSubTypes({ @com.fasterxml.jackson.annotation.JsonSubTypes.Type( - value = OracleOnlineStandbyMigrationSettings.class, - name = "ONLINE_STANDBY"), + value = AzureStorageWarehouseStorageSummary.class, + name = "AZURE_STORAGE"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( - value = OracleOfflineLogicalMigrationSettings.class, - name = "OFFLINE_LOGICAL"), + value = ZfsWarehouseStorageSummary.class, + name = "ZFS"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( - value = OracleOnlineLogicalMigrationSettings.class, - name = "ONLINE_LOGICAL") + value = OciObjectStorageAccessKeyWarehouseStorageSummary.class, + name = "OCI_OBJECT_STORAGE_ACCESS_KEY") }) @com.fasterxml.jackson.annotation.JsonFilter( com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) -public class OracleMigrationSettings +public class WarehouseStorageSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated @java.beans.ConstructorProperties({}) - protected OracleMigrationSettings() { + protected WarehouseStorageSummary() { super(); } @@ -55,7 +56,7 @@ public String toString() { */ public String toString(boolean includeByteArrayContents) { java.lang.StringBuilder sb = new java.lang.StringBuilder(); - sb.append("OracleMigrationSettings("); + sb.append("WarehouseStorageSummary("); sb.append("super=").append(super.toString()); sb.append(")"); return sb.toString(); @@ -66,11 +67,11 @@ public boolean equals(Object o) { if (this == o) { return true; } - if (!(o instanceof OracleMigrationSettings)) { + if (!(o instanceof WarehouseStorageSummary)) { return false; } - OracleMigrationSettings other = (OracleMigrationSettings) o; + WarehouseStorageSummary other = (WarehouseStorageSummary) o; return super.equals(other); } diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleMigrationMethods.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/WarehouseStorageType.java similarity index 60% rename from bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleMigrationMethods.java rename to bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/WarehouseStorageType.java index 66bdd04fe6b..e889ae56bc5 100644 --- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleMigrationMethods.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/WarehouseStorageType.java @@ -2,14 +2,14 @@ * Copyright (c) 2016, 2026, 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.databasemigration.model; +package com.oracle.bmc.goldengate.model; -/** Supported Oracle migration methods. */ -@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20230518") -public enum OracleMigrationMethods implements com.oracle.bmc.http.internal.BmcEnum { - OnlineLogical("ONLINE_LOGICAL"), - OfflineLogical("OFFLINE_LOGICAL"), - OnlineStandby("ONLINE_STANDBY"), +/** The warehouse storage type used in the Oracle AI Data Catalog Storage connection. */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200407") +public enum WarehouseStorageType implements com.oracle.bmc.http.internal.BmcEnum { + OciObjectStorageAccessKey("OCI_OBJECT_STORAGE_ACCESS_KEY"), + Zfs("ZFS"), + AzureStorage("AZURE_STORAGE"), /** * This value is used if a service returns a value for this enum that is not recognized by this @@ -18,21 +18,21 @@ public enum OracleMigrationMethods implements com.oracle.bmc.http.internal.BmcEn UnknownEnumValue(null); private static final org.slf4j.Logger LOG = - org.slf4j.LoggerFactory.getLogger(OracleMigrationMethods.class); + org.slf4j.LoggerFactory.getLogger(WarehouseStorageType.class); private final String value; - private static java.util.Map map; + private static java.util.Map map; static { map = new java.util.HashMap<>(); - for (OracleMigrationMethods v : OracleMigrationMethods.values()) { + for (WarehouseStorageType v : WarehouseStorageType.values()) { if (v != UnknownEnumValue) { map.put(v.getValue(), v); } } } - OracleMigrationMethods(String value) { + WarehouseStorageType(String value) { this.value = value; } @@ -42,12 +42,12 @@ public String getValue() { } @com.fasterxml.jackson.annotation.JsonCreator - public static OracleMigrationMethods create(String key) { + public static WarehouseStorageType create(String key) { if (map.containsKey(key)) { return map.get(key); } LOG.warn( - "Received unknown value '{}' for enum 'OracleMigrationMethods', returning UnknownEnumValue", + "Received unknown value '{}' for enum 'WarehouseStorageType', returning UnknownEnumValue", key); return UnknownEnumValue; } diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/ZfsIcebergStorage.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/ZfsIcebergStorage.java new file mode 100644 index 00000000000..9acbf36e17f --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/ZfsIcebergStorage.java @@ -0,0 +1,300 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * Represents a ZFS storage used in the Iceberg connection for an Oracle AI Data Catalog Iceberg + * catalogs.
+ * 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: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ZfsIcebergStorage.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "storageType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ZfsIcebergStorage extends IcebergStorage { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The access key ID used to access the ZFS storage. */ + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") + private String accessKeyId; + + /** + * The access key ID used to access the ZFS storage. + * + * @param accessKeyId the value to set + * @return this builder + */ + public Builder accessKeyId(String accessKeyId) { + this.accessKeyId = accessKeyId; + this.__explicitlySet__.add("accessKeyId"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS secret access key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + private String secretAccessKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS secret access key. + * + * @param secretAccessKeySecretId the value to set + * @return this builder + */ + public Builder secretAccessKeySecretId(String secretAccessKeySecretId) { + this.secretAccessKeySecretId = secretAccessKeySecretId; + this.__explicitlySet__.add("secretAccessKeySecretId"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS storage trust store. Note: When provided, 'trustStore' field + * must not be provided. + */ + @com.fasterxml.jackson.annotation.JsonProperty("trustStoreSecretId") + private String trustStoreSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS storage trust store. Note: When provided, 'trustStore' field + * must not be provided. + * + * @param trustStoreSecretId the value to set + * @return this builder + */ + public Builder trustStoreSecretId(String trustStoreSecretId) { + this.trustStoreSecretId = trustStoreSecretId; + this.__explicitlySet__.add("trustStoreSecretId"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties + * for the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + */ + @com.fasterxml.jackson.annotation.JsonProperty("propertiesSecretId") + private String propertiesSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties + * for the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * + * @param propertiesSecretId the value to set + * @return this builder + */ + public Builder propertiesSecretId(String propertiesSecretId) { + this.propertiesSecretId = propertiesSecretId; + this.__explicitlySet__.add("propertiesSecretId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ZfsIcebergStorage build() { + ZfsIcebergStorage model = + new ZfsIcebergStorage( + this.accessKeyId, + this.secretAccessKeySecretId, + this.trustStoreSecretId, + this.propertiesSecretId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ZfsIcebergStorage model) { + if (model.wasPropertyExplicitlySet("accessKeyId")) { + this.accessKeyId(model.getAccessKeyId()); + } + if (model.wasPropertyExplicitlySet("secretAccessKeySecretId")) { + this.secretAccessKeySecretId(model.getSecretAccessKeySecretId()); + } + if (model.wasPropertyExplicitlySet("trustStoreSecretId")) { + this.trustStoreSecretId(model.getTrustStoreSecretId()); + } + if (model.wasPropertyExplicitlySet("propertiesSecretId")) { + this.propertiesSecretId(model.getPropertiesSecretId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public ZfsIcebergStorage( + String accessKeyId, + String secretAccessKeySecretId, + String trustStoreSecretId, + String propertiesSecretId) { + super(); + this.accessKeyId = accessKeyId; + this.secretAccessKeySecretId = secretAccessKeySecretId; + this.trustStoreSecretId = trustStoreSecretId; + this.propertiesSecretId = propertiesSecretId; + } + + /** The access key ID used to access the ZFS storage. */ + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") + private final String accessKeyId; + + /** + * The access key ID used to access the ZFS storage. + * + * @return the value + */ + public String getAccessKeyId() { + return accessKeyId; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS secret access key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + private final String secretAccessKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS secret access key. + * + * @return the value + */ + public String getSecretAccessKeySecretId() { + return secretAccessKeySecretId; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS storage trust store. Note: When provided, 'trustStore' field must + * not be provided. + */ + @com.fasterxml.jackson.annotation.JsonProperty("trustStoreSecretId") + private final String trustStoreSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS storage trust store. Note: When provided, 'trustStore' field must + * not be provided. + * + * @return the value + */ + public String getTrustStoreSecretId() { + return trustStoreSecretId; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties for + * the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + */ + @com.fasterxml.jackson.annotation.JsonProperty("propertiesSecretId") + private final String propertiesSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties for + * the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * + * @return the value + */ + public String getPropertiesSecretId() { + return propertiesSecretId; + } + + @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("ZfsIcebergStorage("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", accessKeyId=").append(String.valueOf(this.accessKeyId)); + sb.append(", secretAccessKeySecretId=") + .append(String.valueOf(this.secretAccessKeySecretId)); + sb.append(", trustStoreSecretId=").append(String.valueOf(this.trustStoreSecretId)); + sb.append(", propertiesSecretId=").append(String.valueOf(this.propertiesSecretId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ZfsIcebergStorage)) { + return false; + } + + ZfsIcebergStorage other = (ZfsIcebergStorage) o; + return java.util.Objects.equals(this.accessKeyId, other.accessKeyId) + && java.util.Objects.equals( + this.secretAccessKeySecretId, other.secretAccessKeySecretId) + && java.util.Objects.equals(this.trustStoreSecretId, other.trustStoreSecretId) + && java.util.Objects.equals(this.propertiesSecretId, other.propertiesSecretId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.accessKeyId == null ? 43 : this.accessKeyId.hashCode()); + result = + (result * PRIME) + + (this.secretAccessKeySecretId == null + ? 43 + : this.secretAccessKeySecretId.hashCode()); + result = + (result * PRIME) + + (this.trustStoreSecretId == null + ? 43 + : this.trustStoreSecretId.hashCode()); + result = + (result * PRIME) + + (this.propertiesSecretId == null + ? 43 + : this.propertiesSecretId.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/ZfsIcebergStorageSummary.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/ZfsIcebergStorageSummary.java new file mode 100644 index 00000000000..fd5b64a8d15 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/ZfsIcebergStorageSummary.java @@ -0,0 +1,300 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * Summary of the ZFS storage used in the Iceberg connection for an Oracle AI Data Catalog Iceberg + * catalogs.
+ * 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: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ZfsIcebergStorageSummary.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "storageType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ZfsIcebergStorageSummary extends IcebergStorageSummary { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The access key ID used to access the ZFS storage. */ + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") + private String accessKeyId; + + /** + * The access key ID used to access the ZFS storage. + * + * @param accessKeyId the value to set + * @return this builder + */ + public Builder accessKeyId(String accessKeyId) { + this.accessKeyId = accessKeyId; + this.__explicitlySet__.add("accessKeyId"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS secret access key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + private String secretAccessKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS secret access key. + * + * @param secretAccessKeySecretId the value to set + * @return this builder + */ + public Builder secretAccessKeySecretId(String secretAccessKeySecretId) { + this.secretAccessKeySecretId = secretAccessKeySecretId; + this.__explicitlySet__.add("secretAccessKeySecretId"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS storage trust store. Note: When provided, 'trustStore' field + * must not be provided. + */ + @com.fasterxml.jackson.annotation.JsonProperty("trustStoreSecretId") + private String trustStoreSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS storage trust store. Note: When provided, 'trustStore' field + * must not be provided. + * + * @param trustStoreSecretId the value to set + * @return this builder + */ + public Builder trustStoreSecretId(String trustStoreSecretId) { + this.trustStoreSecretId = trustStoreSecretId; + this.__explicitlySet__.add("trustStoreSecretId"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties + * for the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + */ + @com.fasterxml.jackson.annotation.JsonProperty("propertiesSecretId") + private String propertiesSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties + * for the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * + * @param propertiesSecretId the value to set + * @return this builder + */ + public Builder propertiesSecretId(String propertiesSecretId) { + this.propertiesSecretId = propertiesSecretId; + this.__explicitlySet__.add("propertiesSecretId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ZfsIcebergStorageSummary build() { + ZfsIcebergStorageSummary model = + new ZfsIcebergStorageSummary( + this.accessKeyId, + this.secretAccessKeySecretId, + this.trustStoreSecretId, + this.propertiesSecretId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ZfsIcebergStorageSummary model) { + if (model.wasPropertyExplicitlySet("accessKeyId")) { + this.accessKeyId(model.getAccessKeyId()); + } + if (model.wasPropertyExplicitlySet("secretAccessKeySecretId")) { + this.secretAccessKeySecretId(model.getSecretAccessKeySecretId()); + } + if (model.wasPropertyExplicitlySet("trustStoreSecretId")) { + this.trustStoreSecretId(model.getTrustStoreSecretId()); + } + if (model.wasPropertyExplicitlySet("propertiesSecretId")) { + this.propertiesSecretId(model.getPropertiesSecretId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public ZfsIcebergStorageSummary( + String accessKeyId, + String secretAccessKeySecretId, + String trustStoreSecretId, + String propertiesSecretId) { + super(); + this.accessKeyId = accessKeyId; + this.secretAccessKeySecretId = secretAccessKeySecretId; + this.trustStoreSecretId = trustStoreSecretId; + this.propertiesSecretId = propertiesSecretId; + } + + /** The access key ID used to access the ZFS storage. */ + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") + private final String accessKeyId; + + /** + * The access key ID used to access the ZFS storage. + * + * @return the value + */ + public String getAccessKeyId() { + return accessKeyId; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS secret access key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + private final String secretAccessKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS secret access key. + * + * @return the value + */ + public String getSecretAccessKeySecretId() { + return secretAccessKeySecretId; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS storage trust store. Note: When provided, 'trustStore' field must + * not be provided. + */ + @com.fasterxml.jackson.annotation.JsonProperty("trustStoreSecretId") + private final String trustStoreSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS storage trust store. Note: When provided, 'trustStore' field must + * not be provided. + * + * @return the value + */ + public String getTrustStoreSecretId() { + return trustStoreSecretId; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties for + * the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + */ + @com.fasterxml.jackson.annotation.JsonProperty("propertiesSecretId") + private final String propertiesSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the content of the configuration file containing additional properties for + * the REST catalog. See documentation: + * https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * + * @return the value + */ + public String getPropertiesSecretId() { + return propertiesSecretId; + } + + @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("ZfsIcebergStorageSummary("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", accessKeyId=").append(String.valueOf(this.accessKeyId)); + sb.append(", secretAccessKeySecretId=") + .append(String.valueOf(this.secretAccessKeySecretId)); + sb.append(", trustStoreSecretId=").append(String.valueOf(this.trustStoreSecretId)); + sb.append(", propertiesSecretId=").append(String.valueOf(this.propertiesSecretId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ZfsIcebergStorageSummary)) { + return false; + } + + ZfsIcebergStorageSummary other = (ZfsIcebergStorageSummary) o; + return java.util.Objects.equals(this.accessKeyId, other.accessKeyId) + && java.util.Objects.equals( + this.secretAccessKeySecretId, other.secretAccessKeySecretId) + && java.util.Objects.equals(this.trustStoreSecretId, other.trustStoreSecretId) + && java.util.Objects.equals(this.propertiesSecretId, other.propertiesSecretId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.accessKeyId == null ? 43 : this.accessKeyId.hashCode()); + result = + (result * PRIME) + + (this.secretAccessKeySecretId == null + ? 43 + : this.secretAccessKeySecretId.hashCode()); + result = + (result * PRIME) + + (this.trustStoreSecretId == null + ? 43 + : this.trustStoreSecretId.hashCode()); + result = + (result * PRIME) + + (this.propertiesSecretId == null + ? 43 + : this.propertiesSecretId.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/ZfsWarehouseStorage.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/ZfsWarehouseStorage.java new file mode 100644 index 00000000000..83760c0addd --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/ZfsWarehouseStorage.java @@ -0,0 +1,280 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * Represents a ZFS warehouse storage configuration for Oracle AI Data Catalog Storage connection. + *
+ * 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: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ZfsWarehouseStorage.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "storageType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ZfsWarehouseStorage extends WarehouseStorage { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The access key ID used to access the ZFS storage. */ + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") + private String accessKeyId; + + /** + * The access key ID used to access the ZFS storage. + * + * @param accessKeyId the value to set + * @return this builder + */ + public Builder accessKeyId(String accessKeyId) { + this.accessKeyId = accessKeyId; + this.__explicitlySet__.add("accessKeyId"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS secret access key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + private String secretAccessKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS secret access key. + * + * @param secretAccessKeySecretId the value to set + * @return this builder + */ + public Builder secretAccessKeySecretId(String secretAccessKeySecretId) { + this.secretAccessKeySecretId = secretAccessKeySecretId; + this.__explicitlySet__.add("secretAccessKeySecretId"); + return this; + } + /** The endpoint URL of the ZFS storage service. */ + @com.fasterxml.jackson.annotation.JsonProperty("endpointUrl") + private String endpointUrl; + + /** + * The endpoint URL of the ZFS storage service. + * + * @param endpointUrl the value to set + * @return this builder + */ + public Builder endpointUrl(String endpointUrl) { + this.endpointUrl = endpointUrl; + this.__explicitlySet__.add("endpointUrl"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS storage trust store. Note: When provided, 'trustStore' field + * must not be provided. + */ + @com.fasterxml.jackson.annotation.JsonProperty("trustStoreSecretId") + private String trustStoreSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS storage trust store. Note: When provided, 'trustStore' field + * must not be provided. + * + * @param trustStoreSecretId the value to set + * @return this builder + */ + public Builder trustStoreSecretId(String trustStoreSecretId) { + this.trustStoreSecretId = trustStoreSecretId; + this.__explicitlySet__.add("trustStoreSecretId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ZfsWarehouseStorage build() { + ZfsWarehouseStorage model = + new ZfsWarehouseStorage( + this.accessKeyId, + this.secretAccessKeySecretId, + this.endpointUrl, + this.trustStoreSecretId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ZfsWarehouseStorage model) { + if (model.wasPropertyExplicitlySet("accessKeyId")) { + this.accessKeyId(model.getAccessKeyId()); + } + if (model.wasPropertyExplicitlySet("secretAccessKeySecretId")) { + this.secretAccessKeySecretId(model.getSecretAccessKeySecretId()); + } + if (model.wasPropertyExplicitlySet("endpointUrl")) { + this.endpointUrl(model.getEndpointUrl()); + } + if (model.wasPropertyExplicitlySet("trustStoreSecretId")) { + this.trustStoreSecretId(model.getTrustStoreSecretId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public ZfsWarehouseStorage( + String accessKeyId, + String secretAccessKeySecretId, + String endpointUrl, + String trustStoreSecretId) { + super(); + this.accessKeyId = accessKeyId; + this.secretAccessKeySecretId = secretAccessKeySecretId; + this.endpointUrl = endpointUrl; + this.trustStoreSecretId = trustStoreSecretId; + } + + /** The access key ID used to access the ZFS storage. */ + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") + private final String accessKeyId; + + /** + * The access key ID used to access the ZFS storage. + * + * @return the value + */ + public String getAccessKeyId() { + return accessKeyId; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS secret access key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + private final String secretAccessKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS secret access key. + * + * @return the value + */ + public String getSecretAccessKeySecretId() { + return secretAccessKeySecretId; + } + + /** The endpoint URL of the ZFS storage service. */ + @com.fasterxml.jackson.annotation.JsonProperty("endpointUrl") + private final String endpointUrl; + + /** + * The endpoint URL of the ZFS storage service. + * + * @return the value + */ + public String getEndpointUrl() { + return endpointUrl; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS storage trust store. Note: When provided, 'trustStore' field must + * not be provided. + */ + @com.fasterxml.jackson.annotation.JsonProperty("trustStoreSecretId") + private final String trustStoreSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS storage trust store. Note: When provided, 'trustStore' field must + * not be provided. + * + * @return the value + */ + public String getTrustStoreSecretId() { + return trustStoreSecretId; + } + + @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("ZfsWarehouseStorage("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", accessKeyId=").append(String.valueOf(this.accessKeyId)); + sb.append(", secretAccessKeySecretId=") + .append(String.valueOf(this.secretAccessKeySecretId)); + sb.append(", endpointUrl=").append(String.valueOf(this.endpointUrl)); + sb.append(", trustStoreSecretId=").append(String.valueOf(this.trustStoreSecretId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ZfsWarehouseStorage)) { + return false; + } + + ZfsWarehouseStorage other = (ZfsWarehouseStorage) o; + return java.util.Objects.equals(this.accessKeyId, other.accessKeyId) + && java.util.Objects.equals( + this.secretAccessKeySecretId, other.secretAccessKeySecretId) + && java.util.Objects.equals(this.endpointUrl, other.endpointUrl) + && java.util.Objects.equals(this.trustStoreSecretId, other.trustStoreSecretId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.accessKeyId == null ? 43 : this.accessKeyId.hashCode()); + result = + (result * PRIME) + + (this.secretAccessKeySecretId == null + ? 43 + : this.secretAccessKeySecretId.hashCode()); + result = (result * PRIME) + (this.endpointUrl == null ? 43 : this.endpointUrl.hashCode()); + result = + (result * PRIME) + + (this.trustStoreSecretId == null + ? 43 + : this.trustStoreSecretId.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/ZfsWarehouseStorageSummary.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/ZfsWarehouseStorageSummary.java new file mode 100644 index 00000000000..d592f13d9bb --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/ZfsWarehouseStorageSummary.java @@ -0,0 +1,280 @@ +/** + * Copyright (c) 2016, 2026, 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.goldengate.model; + +/** + * Summary of the ZFS warehouse storage configuration for Oracle AI Data Catalog Storage connection. + *
+ * 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: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ZfsWarehouseStorageSummary.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "storageType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ZfsWarehouseStorageSummary extends WarehouseStorageSummary { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The access key ID used to access the ZFS storage. */ + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") + private String accessKeyId; + + /** + * The access key ID used to access the ZFS storage. + * + * @param accessKeyId the value to set + * @return this builder + */ + public Builder accessKeyId(String accessKeyId) { + this.accessKeyId = accessKeyId; + this.__explicitlySet__.add("accessKeyId"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS secret access key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + private String secretAccessKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS secret access key. + * + * @param secretAccessKeySecretId the value to set + * @return this builder + */ + public Builder secretAccessKeySecretId(String secretAccessKeySecretId) { + this.secretAccessKeySecretId = secretAccessKeySecretId; + this.__explicitlySet__.add("secretAccessKeySecretId"); + return this; + } + /** The endpoint URL of the ZFS storage service. */ + @com.fasterxml.jackson.annotation.JsonProperty("endpointUrl") + private String endpointUrl; + + /** + * The endpoint URL of the ZFS storage service. + * + * @param endpointUrl the value to set + * @return this builder + */ + public Builder endpointUrl(String endpointUrl) { + this.endpointUrl = endpointUrl; + this.__explicitlySet__.add("endpointUrl"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS storage trust store. Note: When provided, 'trustStore' field + * must not be provided. + */ + @com.fasterxml.jackson.annotation.JsonProperty("trustStoreSecretId") + private String trustStoreSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS storage trust store. Note: When provided, 'trustStore' field + * must not be provided. + * + * @param trustStoreSecretId the value to set + * @return this builder + */ + public Builder trustStoreSecretId(String trustStoreSecretId) { + this.trustStoreSecretId = trustStoreSecretId; + this.__explicitlySet__.add("trustStoreSecretId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ZfsWarehouseStorageSummary build() { + ZfsWarehouseStorageSummary model = + new ZfsWarehouseStorageSummary( + this.accessKeyId, + this.secretAccessKeySecretId, + this.endpointUrl, + this.trustStoreSecretId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ZfsWarehouseStorageSummary model) { + if (model.wasPropertyExplicitlySet("accessKeyId")) { + this.accessKeyId(model.getAccessKeyId()); + } + if (model.wasPropertyExplicitlySet("secretAccessKeySecretId")) { + this.secretAccessKeySecretId(model.getSecretAccessKeySecretId()); + } + if (model.wasPropertyExplicitlySet("endpointUrl")) { + this.endpointUrl(model.getEndpointUrl()); + } + if (model.wasPropertyExplicitlySet("trustStoreSecretId")) { + this.trustStoreSecretId(model.getTrustStoreSecretId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public ZfsWarehouseStorageSummary( + String accessKeyId, + String secretAccessKeySecretId, + String endpointUrl, + String trustStoreSecretId) { + super(); + this.accessKeyId = accessKeyId; + this.secretAccessKeySecretId = secretAccessKeySecretId; + this.endpointUrl = endpointUrl; + this.trustStoreSecretId = trustStoreSecretId; + } + + /** The access key ID used to access the ZFS storage. */ + @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") + private final String accessKeyId; + + /** + * The access key ID used to access the ZFS storage. + * + * @return the value + */ + public String getAccessKeyId() { + return accessKeyId; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS secret access key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId") + private final String secretAccessKeySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS secret access key. + * + * @return the value + */ + public String getSecretAccessKeySecretId() { + return secretAccessKeySecretId; + } + + /** The endpoint URL of the ZFS storage service. */ + @com.fasterxml.jackson.annotation.JsonProperty("endpointUrl") + private final String endpointUrl; + + /** + * The endpoint URL of the ZFS storage service. + * + * @return the value + */ + public String getEndpointUrl() { + return endpointUrl; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS storage trust store. Note: When provided, 'trustStore' field must + * not be provided. + */ + @com.fasterxml.jackson.annotation.JsonProperty("trustStoreSecretId") + private final String trustStoreSecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret that stores the ZFS storage trust store. Note: When provided, 'trustStore' field must + * not be provided. + * + * @return the value + */ + public String getTrustStoreSecretId() { + return trustStoreSecretId; + } + + @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("ZfsWarehouseStorageSummary("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", accessKeyId=").append(String.valueOf(this.accessKeyId)); + sb.append(", secretAccessKeySecretId=") + .append(String.valueOf(this.secretAccessKeySecretId)); + sb.append(", endpointUrl=").append(String.valueOf(this.endpointUrl)); + sb.append(", trustStoreSecretId=").append(String.valueOf(this.trustStoreSecretId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ZfsWarehouseStorageSummary)) { + return false; + } + + ZfsWarehouseStorageSummary other = (ZfsWarehouseStorageSummary) o; + return java.util.Objects.equals(this.accessKeyId, other.accessKeyId) + && java.util.Objects.equals( + this.secretAccessKeySecretId, other.secretAccessKeySecretId) + && java.util.Objects.equals(this.endpointUrl, other.endpointUrl) + && java.util.Objects.equals(this.trustStoreSecretId, other.trustStoreSecretId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.accessKeyId == null ? 43 : this.accessKeyId.hashCode()); + result = + (result * PRIME) + + (this.secretAccessKeySecretId == null + ? 43 + : this.secretAccessKeySecretId.hashCode()); + result = (result * PRIME) + (this.endpointUrl == null ? 43 : this.endpointUrl.hashCode()); + result = + (result * PRIME) + + (this.trustStoreSecretId == null + ? 43 + : this.trustStoreSecretId.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-goldengate/reflect-config.json b/bmc-goldengate/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-goldengate/reflect-config.json index 1ebf5417c5e..4dbcf770e63 100644 --- a/bmc-goldengate/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-goldengate/reflect-config.json +++ b/bmc-goldengate/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-goldengate/reflect-config.json @@ -467,6 +467,62 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.AzureStorageIcebergStorage", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.AzureStorageIcebergStorage$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.AzureStorageIcebergStorageSummary", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.AzureStorageIcebergStorageSummary$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.AzureStorageWarehouseStorage", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.AzureStorageWarehouseStorage$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.AzureStorageWarehouseStorageSummary", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.AzureStorageWarehouseStorageSummary$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.goldengate.model.AzureSynapseConnection", @@ -1016,6 +1072,34 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.CreateAzureStorageIcebergStorageDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.CreateAzureStorageIcebergStorageDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.CreateAzureStorageWarehouseStorageDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.CreateAzureStorageWarehouseStorageDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.goldengate.model.CreateAzureSynapseConnectionDetails", @@ -1217,6 +1301,20 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.CreateDbCredentialsOracleAiDataCatalogIcebergCatalogConfigDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.CreateDbCredentialsOracleAiDataCatalogIcebergCatalogConfigDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.goldengate.model.CreateDeploymentBackupDetails", @@ -1595,6 +1693,48 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.CreateOciGoldenGateOracleAiDataCatalogIcebergCatalogConfigDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.CreateOciGoldenGateOracleAiDataCatalogIcebergCatalogConfigDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.CreateOciObjectStorageAccessKeyIcebergStorageDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.CreateOciObjectStorageAccessKeyIcebergStorageDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.CreateOciObjectStorageAccessKeyWarehouseStorageDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.CreateOciObjectStorageAccessKeyWarehouseStorageDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.goldengate.model.CreateOciObjectStorageConnectionDetails", @@ -1665,6 +1805,41 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.CreateOracleAiDataCatalogIcebergCatalogConfigDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.CreateOracleAiDataCatalogIcebergCatalogDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.CreateOracleAiDataCatalogIcebergCatalogDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.CreateOracleAiDataCatalogStorageConnectionDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.CreateOracleAiDataCatalogStorageConnectionDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.goldengate.model.CreateOracleAiDataPlatformConnectionDetails", @@ -1896,6 +2071,13 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.CreateWarehouseStorageDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.goldengate.model.CreateZeroEtlPipelineDetails", @@ -1910,6 +2092,34 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.CreateZfsIcebergStorageDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.CreateZfsIcebergStorageDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.CreateZfsWarehouseStorageDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.CreateZfsWarehouseStorageDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.goldengate.model.CredentialStore", @@ -2185,6 +2395,34 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.DbCredentialsOracleAiDataCatalogIcebergCatalogConfig", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.DbCredentialsOracleAiDataCatalogIcebergCatalogConfig$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.DbCredentialsOracleAiDataCatalogIcebergCatalogConfigSummary", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.DbCredentialsOracleAiDataCatalogIcebergCatalogConfigSummary$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.goldengate.model.DefaultCancelDeploymentBackupDetails", @@ -3952,165 +4190,337 @@ }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.goldengate.model.OciObjectStorageConnection", + "name": "com.oracle.bmc.goldengate.model.OciGoldenGateOracleAiDataCatalogIcebergCatalogConfig", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.goldengate.model.OciObjectStorageConnection$Builder", + "name": "com.oracle.bmc.goldengate.model.OciGoldenGateOracleAiDataCatalogIcebergCatalogConfig$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.goldengate.model.OciObjectStorageConnection$TechnologyType", - "allDeclaredFields": true, - "allDeclaredMethods": true - }, - { - "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.goldengate.model.OciObjectStorageConnectionSummary", + "name": "com.oracle.bmc.goldengate.model.OciGoldenGateOracleAiDataCatalogIcebergCatalogConfigSummary", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.goldengate.model.OciObjectStorageConnectionSummary$Builder", + "name": "com.oracle.bmc.goldengate.model.OciGoldenGateOracleAiDataCatalogIcebergCatalogConfigSummary$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.goldengate.model.OciObjectStorageDatabricksEngineArtifactLocation", + "name": "com.oracle.bmc.goldengate.model.OciObjectStorageAccessKeyIcebergStorage", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.goldengate.model.OciObjectStorageDatabricksEngineArtifactLocation$Builder", + "name": "com.oracle.bmc.goldengate.model.OciObjectStorageAccessKeyIcebergStorage$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.goldengate.model.OciObjectStorageDatabricksEngineArtifactLocationSummary", + "name": "com.oracle.bmc.goldengate.model.OciObjectStorageAccessKeyIcebergStorageSummary", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.goldengate.model.OciObjectStorageDatabricksEngineArtifactLocationSummary$Builder", + "name": "com.oracle.bmc.goldengate.model.OciObjectStorageAccessKeyIcebergStorageSummary$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.goldengate.model.OciObjectStorageS3ApiIcebergStorage", + "name": "com.oracle.bmc.goldengate.model.OciObjectStorageAccessKeyWarehouseStorage", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.goldengate.model.OciObjectStorageS3ApiIcebergStorage$Builder", + "name": "com.oracle.bmc.goldengate.model.OciObjectStorageAccessKeyWarehouseStorage$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.goldengate.model.OciObjectStorageS3ApiIcebergStorageSummary", + "name": "com.oracle.bmc.goldengate.model.OciObjectStorageAccessKeyWarehouseStorageSummary", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.goldengate.model.OciObjectStorageS3ApiIcebergStorageSummary$Builder", + "name": "com.oracle.bmc.goldengate.model.OciObjectStorageAccessKeyWarehouseStorageSummary$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.goldengate.model.OciObjectStorageSparkArtifactLocation", + "name": "com.oracle.bmc.goldengate.model.OciObjectStorageConnection", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.goldengate.model.OciObjectStorageSparkArtifactLocation$Builder", + "name": "com.oracle.bmc.goldengate.model.OciObjectStorageConnection$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.goldengate.model.OciObjectStorageSparkArtifactLocationSummary", + "name": "com.oracle.bmc.goldengate.model.OciObjectStorageConnection$TechnologyType", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.OciObjectStorageConnectionSummary", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.goldengate.model.OciObjectStorageSparkArtifactLocationSummary$Builder", + "name": "com.oracle.bmc.goldengate.model.OciObjectStorageConnectionSummary$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.goldengate.model.OggDeployment", + "name": "com.oracle.bmc.goldengate.model.OciObjectStorageDatabricksEngineArtifactLocation", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.goldengate.model.OggDeployment$Builder", + "name": "com.oracle.bmc.goldengate.model.OciObjectStorageDatabricksEngineArtifactLocation$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.goldengate.model.OperationStatus", + "name": "com.oracle.bmc.goldengate.model.OciObjectStorageDatabricksEngineArtifactLocationSummary", "allDeclaredFields": true, - "allDeclaredMethods": true + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.goldengate.model.OperationType", + "name": "com.oracle.bmc.goldengate.model.OciObjectStorageDatabricksEngineArtifactLocationSummary$Builder", "allDeclaredFields": true, - "allDeclaredMethods": true + "allDeclaredMethods": true, + "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.goldengate.model.OracleAiDataPlatformConnection", + "name": "com.oracle.bmc.goldengate.model.OciObjectStorageS3ApiIcebergStorage", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.goldengate.model.OracleAiDataPlatformConnection$Builder", + "name": "com.oracle.bmc.goldengate.model.OciObjectStorageS3ApiIcebergStorage$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.goldengate.model.OracleAiDataPlatformConnection$TechnologyType", + "name": "com.oracle.bmc.goldengate.model.OciObjectStorageS3ApiIcebergStorageSummary", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.OciObjectStorageS3ApiIcebergStorageSummary$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.OciObjectStorageSparkArtifactLocation", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.OciObjectStorageSparkArtifactLocation$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.OciObjectStorageSparkArtifactLocationSummary", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.OciObjectStorageSparkArtifactLocationSummary$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.OggDeployment", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.OggDeployment$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.OperationStatus", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.OperationType", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.OracleAiDataCatalogIcebergCatalog", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.OracleAiDataCatalogIcebergCatalog$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.OracleAiDataCatalogIcebergCatalogConfig", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.OracleAiDataCatalogIcebergCatalogConfigSummary", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.OracleAiDataCatalogIcebergCatalogConfigType", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.OracleAiDataCatalogIcebergCatalogDatabaseType", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.OracleAiDataCatalogIcebergCatalogSummary", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.OracleAiDataCatalogIcebergCatalogSummary$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.OracleAiDataCatalogStorageConnection", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.OracleAiDataCatalogStorageConnection$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.OracleAiDataCatalogStorageConnection$TechnologyType", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.OracleAiDataCatalogStorageConnectionSummary", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.OracleAiDataCatalogStorageConnectionSummary$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.OracleAiDataPlatformConnection", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.OracleAiDataPlatformConnection$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.OracleAiDataPlatformConnection$TechnologyType", "allDeclaredFields": true, "allDeclaredMethods": true }, @@ -5524,6 +5934,34 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.UpdateAzureStorageIcebergStorageDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.UpdateAzureStorageIcebergStorageDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.UpdateAzureStorageWarehouseStorageDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.UpdateAzureStorageWarehouseStorageDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.goldengate.model.UpdateAzureSynapseConnectionDetails", @@ -5697,6 +6135,20 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.UpdateDbCredentialsOracleAiDataCatalogIcebergCatalogConfigDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.UpdateDbCredentialsOracleAiDataCatalogIcebergCatalogConfigDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.goldengate.model.UpdateDeploymentBackupDetails", @@ -6075,6 +6527,48 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.UpdateOciGoldenGateOracleAiDataCatalogIcebergCatalogConfigDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.UpdateOciGoldenGateOracleAiDataCatalogIcebergCatalogConfigDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.UpdateOciObjectStorageAccessKeyIcebergStorageDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.UpdateOciObjectStorageAccessKeyIcebergStorageDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.UpdateOciObjectStorageAccessKeyWarehouseStorageDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.UpdateOciObjectStorageAccessKeyWarehouseStorageDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.goldengate.model.UpdateOciObjectStorageConnectionDetails", @@ -6145,6 +6639,41 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.UpdateOracleAiDataCatalogIcebergCatalogConfigDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.UpdateOracleAiDataCatalogIcebergCatalogDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.UpdateOracleAiDataCatalogIcebergCatalogDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.UpdateOracleAiDataCatalogStorageConnectionDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.UpdateOracleAiDataCatalogStorageConnectionDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.goldengate.model.UpdateOracleAiDataPlatformConnectionDetails", @@ -6376,6 +6905,13 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.UpdateWarehouseStorageDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.goldengate.model.UpdateZeroEtlPipelineDetails", @@ -6390,6 +6926,34 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.UpdateZfsIcebergStorageDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.UpdateZfsIcebergStorageDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.UpdateZfsWarehouseStorageDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.UpdateZfsWarehouseStorageDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.goldengate.model.UpgradeDeploymentCurrentReleaseDetails", @@ -6450,6 +7014,26 @@ "allDeclaredFields": true, "allDeclaredMethods": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.WarehouseStorage", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.WarehouseStorageSummary", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.WarehouseStorageType", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.goldengate.model.WorkRequest", @@ -6533,5 +7117,61 @@ "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.ZfsIcebergStorage", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.ZfsIcebergStorage$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.ZfsIcebergStorageSummary", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.ZfsIcebergStorageSummary$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.ZfsWarehouseStorage", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.ZfsWarehouseStorage$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.ZfsWarehouseStorageSummary", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.ZfsWarehouseStorageSummary$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true } ] \ No newline at end of file diff --git a/bmc-governancerulescontrolplane/pom.xml b/bmc-governancerulescontrolplane/pom.xml index 35afec274aa..2cd973911e3 100644 --- a/bmc-governancerulescontrolplane/pom.xml +++ b/bmc-governancerulescontrolplane/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-governancerulescontrolplane @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-healthchecks/pom.xml b/bmc-healthchecks/pom.xml index 9ee43d0e764..2a6355200d6 100644 --- a/bmc-healthchecks/pom.xml +++ b/bmc-healthchecks/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-healthchecks @@ -16,7 +16,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-identity/pom.xml b/bmc-identity/pom.xml index 263d9a57b5c..a3a0cfe24d2 100644 --- a/bmc-identity/pom.xml +++ b/bmc-identity/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 diff --git a/bmc-identitydataplane/pom.xml b/bmc-identitydataplane/pom.xml index 0f982a3a979..7071bb16cc4 100644 --- a/bmc-identitydataplane/pom.xml +++ b/bmc-identitydataplane/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-identitydataplane @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-identitydomains/pom.xml b/bmc-identitydomains/pom.xml index 3679f55ad26..4b9b23a1906 100644 --- a/bmc-identitydomains/pom.xml +++ b/bmc-identitydomains/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-identitydomains @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-integration/pom.xml b/bmc-integration/pom.xml index 3bee4dffaae..499770d9143 100644 --- a/bmc-integration/pom.xml +++ b/bmc-integration/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-integration @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-iot/pom.xml b/bmc-iot/pom.xml index a7b71028942..d7852f9ad3a 100644 --- a/bmc-iot/pom.xml +++ b/bmc-iot/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-iot @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-jms/pom.xml b/bmc-jms/pom.xml index abdae36f9bc..5a108ff3834 100644 --- a/bmc-jms/pom.xml +++ b/bmc-jms/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-jms @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-jmsjavadownloads/pom.xml b/bmc-jmsjavadownloads/pom.xml index cad0bced468..c88d0106f80 100644 --- a/bmc-jmsjavadownloads/pom.xml +++ b/bmc-jmsjavadownloads/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-jmsjavadownloads @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-jmsutils/pom.xml b/bmc-jmsutils/pom.xml index cfdeb729ff9..c425aafbdfa 100644 --- a/bmc-jmsutils/pom.xml +++ b/bmc-jmsutils/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-jmsutils @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-keymanagement/pom.xml b/bmc-keymanagement/pom.xml index e015a2ebc32..fac46c0c173 100644 --- a/bmc-keymanagement/pom.xml +++ b/bmc-keymanagement/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-keymanagement @@ -16,7 +16,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-licensemanager/pom.xml b/bmc-licensemanager/pom.xml index 1509430eb6f..4b5deae3057 100644 --- a/bmc-licensemanager/pom.xml +++ b/bmc-licensemanager/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-licensemanager @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-limits/pom.xml b/bmc-limits/pom.xml index 8c269f569e2..f7cbdcd527c 100644 --- a/bmc-limits/pom.xml +++ b/bmc-limits/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-limits @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-limitsincrease/pom.xml b/bmc-limitsincrease/pom.xml index d9c5e44e899..3a38a3d5e39 100644 --- a/bmc-limitsincrease/pom.xml +++ b/bmc-limitsincrease/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-limitsincrease @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-loadbalancer/pom.xml b/bmc-loadbalancer/pom.xml index a77b8ea9cb5..e78213cb2dc 100644 --- a/bmc-loadbalancer/pom.xml +++ b/bmc-loadbalancer/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 diff --git a/bmc-lockbox/pom.xml b/bmc-lockbox/pom.xml index b3353c7928f..a9ff060e0ee 100644 --- a/bmc-lockbox/pom.xml +++ b/bmc-lockbox/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-lockbox @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-loganalytics/pom.xml b/bmc-loganalytics/pom.xml index e32e24eb3b1..919c148e641 100644 --- a/bmc-loganalytics/pom.xml +++ b/bmc-loganalytics/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-loganalytics @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-logging/pom.xml b/bmc-logging/pom.xml index 49b77541063..52394224b56 100644 --- a/bmc-logging/pom.xml +++ b/bmc-logging/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-logging @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-loggingingestion/pom.xml b/bmc-loggingingestion/pom.xml index d19eb3453ce..c2a6d6c3d18 100644 --- a/bmc-loggingingestion/pom.xml +++ b/bmc-loggingingestion/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-loggingingestion @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-loggingsearch/pom.xml b/bmc-loggingsearch/pom.xml index 14171115e63..2fae93f626f 100644 --- a/bmc-loggingsearch/pom.xml +++ b/bmc-loggingsearch/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-loggingsearch @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-lustrefilestorage/pom.xml b/bmc-lustrefilestorage/pom.xml index e9c8e1ee42a..29418b8f3dd 100644 --- a/bmc-lustrefilestorage/pom.xml +++ b/bmc-lustrefilestorage/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-lustrefilestorage @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-managedkafka/pom.xml b/bmc-managedkafka/pom.xml index 0ba0c210dbf..c9bae933ca4 100644 --- a/bmc-managedkafka/pom.xml +++ b/bmc-managedkafka/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-managedkafka @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-managementagent/pom.xml b/bmc-managementagent/pom.xml index be956f74b83..6627de75de2 100644 --- a/bmc-managementagent/pom.xml +++ b/bmc-managementagent/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-managementagent @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-managementdashboard/pom.xml b/bmc-managementdashboard/pom.xml index f344ec993c2..c3fb927dfb0 100644 --- a/bmc-managementdashboard/pom.xml +++ b/bmc-managementdashboard/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-managementdashboard @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-marketplace/pom.xml b/bmc-marketplace/pom.xml index a190c19d319..e6fe397b4af 100644 --- a/bmc-marketplace/pom.xml +++ b/bmc-marketplace/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-marketplace @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-marketplaceprivateoffer/pom.xml b/bmc-marketplaceprivateoffer/pom.xml index 3a3d498fd37..af622bdd181 100644 --- a/bmc-marketplaceprivateoffer/pom.xml +++ b/bmc-marketplaceprivateoffer/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-marketplaceprivateoffer @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-marketplacepublisher/pom.xml b/bmc-marketplacepublisher/pom.xml index db7468e0632..7d638a3132c 100644 --- a/bmc-marketplacepublisher/pom.xml +++ b/bmc-marketplacepublisher/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-marketplacepublisher @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-mediaservices/pom.xml b/bmc-mediaservices/pom.xml index 13040aadcfc..9a498c42b9c 100644 --- a/bmc-mediaservices/pom.xml +++ b/bmc-mediaservices/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-mediaservices @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-mngdmac/pom.xml b/bmc-mngdmac/pom.xml index a05318f9b86..bbea453e855 100644 --- a/bmc-mngdmac/pom.xml +++ b/bmc-mngdmac/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-mngdmac @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-modeldeployment/pom.xml b/bmc-modeldeployment/pom.xml index ee80ceab56a..85fccfaf302 100644 --- a/bmc-modeldeployment/pom.xml +++ b/bmc-modeldeployment/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-modeldeployment @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-monitoring/pom.xml b/bmc-monitoring/pom.xml index a05db44918f..3611c2d7b7a 100644 --- a/bmc-monitoring/pom.xml +++ b/bmc-monitoring/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-monitoring @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-multicloud/pom.xml b/bmc-multicloud/pom.xml index ddd86ccb139..9445fbf9ac1 100644 --- a/bmc-multicloud/pom.xml +++ b/bmc-multicloud/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-multicloud @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-mysql/pom.xml b/bmc-mysql/pom.xml index 4249f3e9db1..14e0eeb4238 100644 --- a/bmc-mysql/pom.xml +++ b/bmc-mysql/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-mysql @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-networkfirewall/pom.xml b/bmc-networkfirewall/pom.xml index f76a5dc5e9b..9e863ccd432 100644 --- a/bmc-networkfirewall/pom.xml +++ b/bmc-networkfirewall/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-networkfirewall @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-networkloadbalancer/pom.xml b/bmc-networkloadbalancer/pom.xml index 7899120a890..6ed1fd5c662 100644 --- a/bmc-networkloadbalancer/pom.xml +++ b/bmc-networkloadbalancer/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-networkloadbalancer @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-nosql/pom.xml b/bmc-nosql/pom.xml index 65580744f64..775bd43ad13 100644 --- a/bmc-nosql/pom.xml +++ b/bmc-nosql/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-nosql @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-objectstorage/bmc-objectstorage-combined/pom.xml b/bmc-objectstorage/bmc-objectstorage-combined/pom.xml index ea93d82d4f6..5157691fe82 100644 --- a/bmc-objectstorage/bmc-objectstorage-combined/pom.xml +++ b/bmc-objectstorage/bmc-objectstorage-combined/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk-objectstorage-parent - 3.102.0 + 3.103.0 ../pom.xml @@ -18,12 +18,12 @@ com.oracle.oci.sdk oci-java-sdk-objectstorage-generated - 3.102.0 + 3.103.0 com.oracle.oci.sdk oci-java-sdk-objectstorage-extensions - 3.102.0 + 3.103.0 diff --git a/bmc-objectstorage/bmc-objectstorage-extensions/pom.xml b/bmc-objectstorage/bmc-objectstorage-extensions/pom.xml index c77dba744ad..9e9fb19120b 100644 --- a/bmc-objectstorage/bmc-objectstorage-extensions/pom.xml +++ b/bmc-objectstorage/bmc-objectstorage-extensions/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk-objectstorage-parent - 3.102.0 + 3.103.0 ../pom.xml @@ -25,17 +25,17 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 com.oracle.oci.sdk oci-java-sdk-common-httpclient - 3.102.0 + 3.103.0 com.oracle.oci.sdk oci-java-sdk-objectstorage-generated - 3.102.0 + 3.103.0 org.slf4j diff --git a/bmc-objectstorage/bmc-objectstorage-generated/pom.xml b/bmc-objectstorage/bmc-objectstorage-generated/pom.xml index a84c45769c6..efef18e5184 100644 --- a/bmc-objectstorage/bmc-objectstorage-generated/pom.xml +++ b/bmc-objectstorage/bmc-objectstorage-generated/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk-objectstorage-parent - 3.102.0 + 3.103.0 ../pom.xml @@ -19,7 +19,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 diff --git a/bmc-objectstorage/pom.xml b/bmc-objectstorage/pom.xml index 15ddc08ed0a..af4fce378fe 100644 --- a/bmc-objectstorage/pom.xml +++ b/bmc-objectstorage/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml diff --git a/bmc-oce/pom.xml b/bmc-oce/pom.xml index cdccdead7de..d5d1dc5abe8 100644 --- a/bmc-oce/pom.xml +++ b/bmc-oce/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-oce @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-ocicontrolcenter/pom.xml b/bmc-ocicontrolcenter/pom.xml index afe900565c1..1d2ec9b0eae 100644 --- a/bmc-ocicontrolcenter/pom.xml +++ b/bmc-ocicontrolcenter/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-ocicontrolcenter @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-ociproductcatalog/pom.xml b/bmc-ociproductcatalog/pom.xml index 8abd11cae2b..c5379745cba 100644 --- a/bmc-ociproductcatalog/pom.xml +++ b/bmc-ociproductcatalog/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-ociproductcatalog @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-ocvp/pom.xml b/bmc-ocvp/pom.xml index c94f5ffc859..b76ae620f70 100644 --- a/bmc-ocvp/pom.xml +++ b/bmc-ocvp/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-ocvp @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-oda/pom.xml b/bmc-oda/pom.xml index 6e1ce7a4233..b2dde2eeef5 100644 --- a/bmc-oda/pom.xml +++ b/bmc-oda/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-oda @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-onesubscription/pom.xml b/bmc-onesubscription/pom.xml index 458192f59f6..227fe5ba89b 100644 --- a/bmc-onesubscription/pom.xml +++ b/bmc-onesubscription/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-onesubscription @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-ons/pom.xml b/bmc-ons/pom.xml index 46ad9992fc6..bb45be173c9 100644 --- a/bmc-ons/pom.xml +++ b/bmc-ons/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-ons @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-opa/pom.xml b/bmc-opa/pom.xml index 553220c83d8..f2990edb167 100644 --- a/bmc-opa/pom.xml +++ b/bmc-opa/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-opa @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-opensearch/pom.xml b/bmc-opensearch/pom.xml index 8e02f9756cb..aeb5089aab5 100644 --- a/bmc-opensearch/pom.xml +++ b/bmc-opensearch/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-opensearch @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-operatoraccesscontrol/pom.xml b/bmc-operatoraccesscontrol/pom.xml index bad830ce829..2f0f8ee5918 100644 --- a/bmc-operatoraccesscontrol/pom.xml +++ b/bmc-operatoraccesscontrol/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-operatoraccesscontrol @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-opsi/pom.xml b/bmc-opsi/pom.xml index f394293572d..fb38a11b6e3 100644 --- a/bmc-opsi/pom.xml +++ b/bmc-opsi/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-opsi @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-optimizer/pom.xml b/bmc-optimizer/pom.xml index 4d2764e24e8..fc3189dacb6 100644 --- a/bmc-optimizer/pom.xml +++ b/bmc-optimizer/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-optimizer @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-osmanagementhub/pom.xml b/bmc-osmanagementhub/pom.xml index d133f4a9f9f..b929af887a2 100644 --- a/bmc-osmanagementhub/pom.xml +++ b/bmc-osmanagementhub/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-osmanagementhub @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-ospgateway/pom.xml b/bmc-ospgateway/pom.xml index 3f45e92d2ab..5dc5d109057 100644 --- a/bmc-ospgateway/pom.xml +++ b/bmc-ospgateway/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-ospgateway @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-osubbillingschedule/pom.xml b/bmc-osubbillingschedule/pom.xml index afb477faa94..ffe2ce10d5a 100644 --- a/bmc-osubbillingschedule/pom.xml +++ b/bmc-osubbillingschedule/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-osubbillingschedule @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-osuborganizationsubscription/pom.xml b/bmc-osuborganizationsubscription/pom.xml index 1e45d4970de..3e3b21cf5b9 100644 --- a/bmc-osuborganizationsubscription/pom.xml +++ b/bmc-osuborganizationsubscription/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-osuborganizationsubscription @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-osubsubscription/pom.xml b/bmc-osubsubscription/pom.xml index 8dbec861f35..ca285b63a9f 100644 --- a/bmc-osubsubscription/pom.xml +++ b/bmc-osubsubscription/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-osubsubscription @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-osubusage/pom.xml b/bmc-osubusage/pom.xml index 1740ac1678f..4b01a678ea8 100644 --- a/bmc-osubusage/pom.xml +++ b/bmc-osubusage/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-osubusage @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-other-examples/bmc-jersey-examples/pom.xml b/bmc-other-examples/bmc-jersey-examples/pom.xml index c9448476446..c344e774a6c 100644 --- a/bmc-other-examples/bmc-jersey-examples/pom.xml +++ b/bmc-other-examples/bmc-jersey-examples/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.oracle.oci.sdk oci-java-sdk-jersey-examples - 3.102.0 + 3.103.0 Oracle Cloud Infrastructure SDK - Examples using Jersey 2 HTTP client This project contains the examples on how to use the SDK used for Oracle Cloud Infrastructure with the Jersey 2 HTTP client https://docs.oracle.com/iaas/Content/API/SDKDocs/javasdk.htm @@ -58,7 +58,7 @@ com.oracle.oci.sdk oci-java-sdk-enforcer-rules - 3.102.0 + 3.103.0 false @@ -95,14 +95,14 @@ com.oracle.oci.sdk oci-java-sdk-bom - 3.102.0 + 3.103.0 pom import com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.102.0 + 3.103.0 pom import diff --git a/bmc-other-examples/bmc-jersey3-examples/pom.xml b/bmc-other-examples/bmc-jersey3-examples/pom.xml index 6dffbcf2921..cbec6dc0ec0 100644 --- a/bmc-other-examples/bmc-jersey3-examples/pom.xml +++ b/bmc-other-examples/bmc-jersey3-examples/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.oracle.oci.sdk oci-java-sdk-jersey3-examples - 3.102.0 + 3.103.0 Oracle Cloud Infrastructure SDK - Examples using Jersey 3 HTTP client This project contains the examples on how to use the SDK used for Oracle Cloud Infrastructure with the Jersey 3 HTTP client https://docs.oracle.com/iaas/Content/API/SDKDocs/javasdk.htm @@ -58,7 +58,7 @@ com.oracle.oci.sdk oci-java-sdk-enforcer-rules - 3.102.0 + 3.103.0 false @@ -95,14 +95,14 @@ com.oracle.oci.sdk oci-java-sdk-bom - 3.102.0 + 3.103.0 pom import com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey3 - 3.102.0 + 3.103.0 pom import diff --git a/bmc-other-examples/native-maven-example/pom.xml b/bmc-other-examples/native-maven-example/pom.xml index f2c54d2f0a6..98387c6a094 100644 --- a/bmc-other-examples/native-maven-example/pom.xml +++ b/bmc-other-examples/native-maven-example/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.oracle.oci.sdk oci-java-sdk-examples-native - 3.102.0 + 3.103.0 Oracle Cloud Infrastructure SDK - Native Example This project contains an example on how to use the SDK used for Oracle Cloud Infrastructure in a native executable https://docs.oracle.com/iaas/Content/API/SDKDocs/javasdk.htm @@ -98,14 +98,14 @@ com.oracle.oci.sdk oci-java-sdk-bom - 3.102.0 + 3.103.0 pom import com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.102.0 + 3.103.0 pom import diff --git a/bmc-other-examples/pom.xml b/bmc-other-examples/pom.xml index b6dda16fa08..f8d021bbae1 100644 --- a/bmc-other-examples/pom.xml +++ b/bmc-other-examples/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml diff --git a/bmc-psa/pom.xml b/bmc-psa/pom.xml index 3cce24355be..5fb709d57b5 100644 --- a/bmc-psa/pom.xml +++ b/bmc-psa/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-psa @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-psql/pom.xml b/bmc-psql/pom.xml index bd2159341f0..c13d5445e76 100644 --- a/bmc-psql/pom.xml +++ b/bmc-psql/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-psql @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-pss/pom.xml b/bmc-pss/pom.xml index c6ef2fdca03..0218da90daa 100644 --- a/bmc-pss/pom.xml +++ b/bmc-pss/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-pss @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-queue/pom.xml b/bmc-queue/pom.xml index d61cd5089c0..b864dbfa1fd 100644 --- a/bmc-queue/pom.xml +++ b/bmc-queue/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-queue @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-recovery/pom.xml b/bmc-recovery/pom.xml index 9bd2ec4af94..6c2d97cded5 100644 --- a/bmc-recovery/pom.xml +++ b/bmc-recovery/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-recovery @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-redis/pom.xml b/bmc-redis/pom.xml index 106e6d2d708..64f7ce95235 100644 --- a/bmc-redis/pom.xml +++ b/bmc-redis/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-redis @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-resourceanalytics/pom.xml b/bmc-resourceanalytics/pom.xml index a951fcde9a3..7109a7a51b4 100644 --- a/bmc-resourceanalytics/pom.xml +++ b/bmc-resourceanalytics/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-resourceanalytics @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-resourcemanager/pom.xml b/bmc-resourcemanager/pom.xml index 72ac772b9b0..6307cf066ac 100644 --- a/bmc-resourcemanager/pom.xml +++ b/bmc-resourcemanager/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-resourcemanager @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-resourcescheduler/pom.xml b/bmc-resourcescheduler/pom.xml index 916e85f7825..bf573ac7fd1 100644 --- a/bmc-resourcescheduler/pom.xml +++ b/bmc-resourcescheduler/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-resourcescheduler @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-resourcesearch/pom.xml b/bmc-resourcesearch/pom.xml index 5dbe866ff27..bf02b7a5d32 100644 --- a/bmc-resourcesearch/pom.xml +++ b/bmc-resourcesearch/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-resourcesearch @@ -16,7 +16,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-rover/pom.xml b/bmc-rover/pom.xml index 904703ab5d8..6f99f1ecfef 100644 --- a/bmc-rover/pom.xml +++ b/bmc-rover/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-rover @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-sch/pom.xml b/bmc-sch/pom.xml index 5ae4073b15e..ad106745fe0 100644 --- a/bmc-sch/pom.xml +++ b/bmc-sch/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-sch @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-secrets/pom.xml b/bmc-secrets/pom.xml index 48f4d6556d5..29cb4441b6a 100644 --- a/bmc-secrets/pom.xml +++ b/bmc-secrets/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-secrets @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-securityattribute/pom.xml b/bmc-securityattribute/pom.xml index 745ac873de8..e5de55c250e 100644 --- a/bmc-securityattribute/pom.xml +++ b/bmc-securityattribute/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-securityattribute @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-self/pom.xml b/bmc-self/pom.xml index f73b723800c..c0992afa75f 100644 --- a/bmc-self/pom.xml +++ b/bmc-self/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-self @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-servicecatalog/pom.xml b/bmc-servicecatalog/pom.xml index aa68373482f..09e2cbbc0ee 100644 --- a/bmc-servicecatalog/pom.xml +++ b/bmc-servicecatalog/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-servicecatalog @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-servicemanagerproxy/pom.xml b/bmc-servicemanagerproxy/pom.xml index 890e425c10e..0306ad1db61 100644 --- a/bmc-servicemanagerproxy/pom.xml +++ b/bmc-servicemanagerproxy/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-servicemanagerproxy @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-shaded/bmc-shaded-full/pom.xml b/bmc-shaded/bmc-shaded-full/pom.xml index 849052cd4bb..f5d84db4c9c 100644 --- a/bmc-shaded/bmc-shaded-full/pom.xml +++ b/bmc-shaded/bmc-shaded-full/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk-shaded - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-shaded-full diff --git a/bmc-shaded/pom.xml b/bmc-shaded/pom.xml index 01ecfb6f187..ec1fa84c96c 100644 --- a/bmc-shaded/pom.xml +++ b/bmc-shaded/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml diff --git a/bmc-stackmonitoring/pom.xml b/bmc-stackmonitoring/pom.xml index 33382b8c70c..c57e59c9421 100644 --- a/bmc-stackmonitoring/pom.xml +++ b/bmc-stackmonitoring/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-stackmonitoring @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-streaming/pom.xml b/bmc-streaming/pom.xml index 5ec0196d099..e901e01270e 100644 --- a/bmc-streaming/pom.xml +++ b/bmc-streaming/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-streaming @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-tenantmanagercontrolplane/pom.xml b/bmc-tenantmanagercontrolplane/pom.xml index e470440a47a..d3d9b08ab24 100644 --- a/bmc-tenantmanagercontrolplane/pom.xml +++ b/bmc-tenantmanagercontrolplane/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-tenantmanagercontrolplane @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-threatintelligence/pom.xml b/bmc-threatintelligence/pom.xml index 8f426f8abcf..431d02dda09 100644 --- a/bmc-threatintelligence/pom.xml +++ b/bmc-threatintelligence/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-threatintelligence @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-usage/pom.xml b/bmc-usage/pom.xml index b6dfa5cbd04..030093f8c1e 100644 --- a/bmc-usage/pom.xml +++ b/bmc-usage/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-usage @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-usageapi/pom.xml b/bmc-usageapi/pom.xml index d63e000f8e6..b93d42c3837 100644 --- a/bmc-usageapi/pom.xml +++ b/bmc-usageapi/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-usageapi @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-vault/pom.xml b/bmc-vault/pom.xml index 3ec3c1720fa..f5a31e749cc 100644 --- a/bmc-vault/pom.xml +++ b/bmc-vault/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-vault @@ -15,12 +15,12 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 com.oracle.oci.sdk oci-java-sdk-workrequests - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-vbsinst/pom.xml b/bmc-vbsinst/pom.xml index d00c7a828a1..b88aa53a0c4 100644 --- a/bmc-vbsinst/pom.xml +++ b/bmc-vbsinst/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-vbsinst @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-visualbuilder/pom.xml b/bmc-visualbuilder/pom.xml index 591b73fe235..6b0ba1e8334 100644 --- a/bmc-visualbuilder/pom.xml +++ b/bmc-visualbuilder/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-visualbuilder @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-vnmonitoring/pom.xml b/bmc-vnmonitoring/pom.xml index f962be8bb85..0d285664390 100644 --- a/bmc-vnmonitoring/pom.xml +++ b/bmc-vnmonitoring/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-vnmonitoring @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-vulnerabilityscanning/pom.xml b/bmc-vulnerabilityscanning/pom.xml index 3f7ea843e86..246a069a41c 100644 --- a/bmc-vulnerabilityscanning/pom.xml +++ b/bmc-vulnerabilityscanning/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-vulnerabilityscanning @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-waa/pom.xml b/bmc-waa/pom.xml index 52ae181042e..430247ebad9 100644 --- a/bmc-waa/pom.xml +++ b/bmc-waa/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-waa @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-waas/pom.xml b/bmc-waas/pom.xml index 0762d99e51f..375d484dda6 100644 --- a/bmc-waas/pom.xml +++ b/bmc-waas/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-waas @@ -16,7 +16,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-waf/pom.xml b/bmc-waf/pom.xml index 6ad58c188d9..b44fced76cf 100644 --- a/bmc-waf/pom.xml +++ b/bmc-waf/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-waf @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-wlms/pom.xml b/bmc-wlms/pom.xml index 9e0e47532b4..14a58f144b5 100644 --- a/bmc-wlms/pom.xml +++ b/bmc-wlms/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-wlms @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-workrequests/pom.xml b/bmc-workrequests/pom.xml index f0ee0adf893..ce4b7940351 100644 --- a/bmc-workrequests/pom.xml +++ b/bmc-workrequests/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-workrequests @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/bmc-zpr/pom.xml b/bmc-zpr/pom.xml index 2f265755875..759b75a2180 100644 --- a/bmc-zpr/pom.xml +++ b/bmc-zpr/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 ../pom.xml oci-java-sdk-zpr @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.102.0 + 3.103.0 \ No newline at end of file diff --git a/pom.xml b/pom.xml index 96b19ceca09..4933f9b4845 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.oracle.oci.sdk oci-java-sdk - 3.102.0 + 3.103.0 pom Oracle Cloud Infrastructure SDK This project contains the SDK used for Oracle Cloud Infrastructure @@ -36,7 +36,7 @@ UTF-8 2.21 2.21.7 - 2.21.7 + 2.21.8 2.47 4.5.14 4.5.14