From 33ae23b9ebd3288a501231312da109207652f621 Mon Sep 17 00:00:00 2001 From: omkar07 Date: Tue, 8 Dec 2020 16:38:27 +0000 Subject: [PATCH] Releasing version 1.27.1 --- CHANGELOG.md | 8 ++ .../bmc-apache-connector-provider/pom.xml | 8 +- .../bmc-resteasy-client-configurator/pom.xml | 4 +- bmc-addons/bmc-sasl/pom.xml | 4 +- bmc-addons/pom.xml | 2 +- bmc-analytics/pom.xml | 4 +- bmc-announcementsservice/pom.xml | 4 +- bmc-apigateway/pom.xml | 4 +- bmc-applicationmigration/pom.xml | 4 +- bmc-audit/pom.xml | 4 +- bmc-autoscaling/pom.xml | 4 +- bmc-bds/pom.xml | 4 +- bmc-blockchain/pom.xml | 4 +- bmc-bom/pom.xml | 134 +++++++++--------- bmc-budget/pom.xml | 4 +- bmc-cims/pom.xml | 4 +- bmc-circuitbreaker/pom.xml | 2 +- bmc-cloudguard/pom.xml | 4 +- bmc-common/pom.xml | 4 +- bmc-computeinstanceagent/pom.xml | 4 +- bmc-containerengine/pom.xml | 4 +- bmc-core/pom.xml | 6 +- bmc-database/pom.xml | 6 +- .../com/oracle/bmc/database/Database.java | 117 +++++++++------ .../oracle/bmc/database/DatabaseAsync.java | 131 +++++++++++------ .../bmc/database/DatabaseAsyncClient.java | 80 +++++++++++ .../oracle/bmc/database/DatabaseClient.java | 60 ++++++++ .../oracle/bmc/database/DatabaseWaiters.java | 112 +++++++++++++++ .../http/RotateOrdsCertsConverter.java | 127 +++++++++++++++++ .../http/RotateSslCertsConverter.java | 127 +++++++++++++++++ .../ActivateExadataInfrastructureDetails.java | 3 +- .../model/AutonomousContainerDatabase.java | 4 +- ...ContainerDatabaseDataguardAssociation.java | 8 +- .../AutonomousContainerDatabaseSummary.java | 4 +- .../database/model/AutonomousDatabase.java | 4 +- ...utonomousDatabaseDataguardAssociation.java | 8 +- .../model/AutonomousDatabaseSummary.java | 4 +- ...adataInfrastructureCompartmentDetails.java | 2 +- ...hangeCloudVmClusterCompartmentDetails.java | 2 +- .../model/CloudExadataInfrastructure.java | 3 +- .../CloudExadataInfrastructureSummary.java | 3 +- .../bmc/database/model/CloudVmCluster.java | 2 +- .../database/model/CloudVmClusterSummary.java | 2 +- ...ateAutonomousContainerDatabaseDetails.java | 2 +- ...eateCloudExadataInfrastructureDetails.java | 2 +- .../model/CreateCloudVmClusterDetails.java | 3 +- .../CreateExadataInfrastructureDetails.java | 17 ++- .../model/CreateVmClusterDetails.java | 3 +- .../model/ExadataDbSystemMigration.java | 2 +- .../ExadataDbSystemMigrationSummary.java | 2 +- .../database/model/ExadataInfrastructure.java | 15 ++ .../model/ExadataInfrastructureSummary.java | 19 ++- .../GenerateRecommendedNetworkDetails.java | 2 +- .../bmc/database/model/MaintenanceRun.java | 1 + .../database/model/MaintenanceRunSummary.java | 1 + ...ateAutonomousContainerDatabaseDetails.java | 2 +- ...dateCloudExadataInfrastructureDetails.java | 2 +- .../model/UpdateCloudVmClusterDetails.java | 7 +- .../bmc/database/model/UpdateDetails.java | 2 +- .../UpdateExadataInfrastructureDetails.java | 17 ++- .../model/UpdateHistoryEntrySummary.java | 3 +- .../bmc/database/model/UpdateSummary.java | 2 +- .../model/UpdateVmClusterDetails.java | 4 +- .../model/UpdateVmClusterNetworkDetails.java | 2 +- .../oracle/bmc/database/model/VmCluster.java | 3 +- .../model/VmClusterNetworkDetails.java | 2 +- .../model/VmClusterNetworkSummary.java | 3 +- .../bmc/database/model/VmClusterSummary.java | 1 + .../bmc/database/model/VmNetworkDetails.java | 3 +- ...eateCloudExadataInfrastructureRequest.java | 3 +- .../requests/CreateCloudVmClusterRequest.java | 3 +- .../requests/CreateVmClusterRequest.java | 4 +- .../requests/RotateOrdsCertsRequest.java | 104 ++++++++++++++ .../requests/RotateSslCertsRequest.java | 104 ++++++++++++++ ...ousDatabaseOperationsInsightsResponse.java | 4 +- .../responses/RotateOrdsCertsResponse.java | 39 +++++ .../responses/RotateSslCertsResponse.java | 39 +++++ bmc-datacatalog/pom.xml | 4 +- bmc-dataflow/pom.xml | 4 +- bmc-dataintegration/pom.xml | 4 +- bmc-datasafe/pom.xml | 4 +- bmc-datascience/pom.xml | 4 +- bmc-dns/pom.xml | 4 +- bmc-dts/pom.xml | 4 +- bmc-email/pom.xml | 4 +- bmc-encryption/pom.xml | 8 +- bmc-events/pom.xml | 4 +- bmc-examples/pom.xml | 4 +- bmc-filestorage/pom.xml | 4 +- bmc-full/pom.xml | 4 +- bmc-functions/pom.xml | 4 +- bmc-healthchecks/pom.xml | 4 +- bmc-identity/pom.xml | 4 +- .../identity/model/Saml2IdentityProvider.java | 20 +++ bmc-integration/pom.xml | 4 +- .../model/CreateCustomEndpointDetails.java | 91 ++++++++++++ .../CreateIntegrationInstanceDetails.java | 51 +++++++ .../model/CustomEndpointDetails.java | 108 ++++++++++++++ .../model/IntegrationInstance.java | 50 +++++++ .../model/IntegrationInstanceSummary.java | 50 +++++++ .../model/UpdateCustomEndpointDetails.java | 91 ++++++++++++ .../UpdateIntegrationInstanceDetails.java | 55 ++++++- bmc-keymanagement/pom.xml | 4 +- bmc-limits/pom.xml | 4 +- bmc-loadbalancer/pom.xml | 4 +- bmc-loganalytics/pom.xml | 4 +- bmc-logging/pom.xml | 4 +- bmc-loggingingestion/pom.xml | 4 +- bmc-loggingsearch/pom.xml | 4 +- bmc-managementagent/pom.xml | 4 +- bmc-managementdashboard/pom.xml | 4 +- bmc-marketplace/pom.xml | 4 +- bmc-monitoring/pom.xml | 4 +- bmc-mysql/pom.xml | 4 +- bmc-nosql/pom.xml | 4 +- .../bmc-objectstorage-combined/pom.xml | 6 +- .../bmc-objectstorage-extensions/pom.xml | 6 +- .../transfer/MultipartManifest.java | 7 + .../internal/MultipartManifestImpl.java | 28 ++++ .../internal/MultipartTransferManager.java | 2 +- .../MultipartUploadFailedPartDetails.java | 15 ++ .../MultipartObjectAssemblerTest.java | 8 +- .../bmc-objectstorage-generated/pom.xml | 4 +- bmc-objectstorage/pom.xml | 2 +- bmc-oce/pom.xml | 4 +- bmc-ocvp/pom.xml | 4 +- bmc-oda/pom.xml | 4 +- bmc-ons/pom.xml | 4 +- bmc-opsi/pom.xml | 4 +- .../bmc/opsi/model/SqlInsightAggregation.java | 3 +- .../bmc/opsi/model/SqlInsightThresholds.java | 22 ++- .../SummarizeSqlStatisticsRequest.java | 1 + bmc-optimizer/pom.xml | 4 +- bmc-osmanagement/pom.xml | 4 +- bmc-resourcemanager/pom.xml | 4 +- bmc-resourcesearch/pom.xml | 4 +- bmc-sch/pom.xml | 4 +- bmc-secrets/pom.xml | 4 +- bmc-shaded/bmc-shaded-full/pom.xml | 2 +- bmc-shaded/pom.xml | 2 +- bmc-streaming/pom.xml | 4 +- bmc-tenantmanagercontrolplane/pom.xml | 4 +- bmc-usageapi/pom.xml | 4 +- bmc-vault/pom.xml | 4 +- bmc-waas/pom.xml | 4 +- bmc-workrequests/pom.xml | 4 +- pom.xml | 14 +- 147 files changed, 1917 insertions(+), 368 deletions(-) create mode 100644 bmc-database/src/main/java/com/oracle/bmc/database/internal/http/RotateOrdsCertsConverter.java create mode 100644 bmc-database/src/main/java/com/oracle/bmc/database/internal/http/RotateSslCertsConverter.java create mode 100644 bmc-database/src/main/java/com/oracle/bmc/database/requests/RotateOrdsCertsRequest.java create mode 100644 bmc-database/src/main/java/com/oracle/bmc/database/requests/RotateSslCertsRequest.java create mode 100644 bmc-database/src/main/java/com/oracle/bmc/database/responses/RotateOrdsCertsResponse.java create mode 100644 bmc-database/src/main/java/com/oracle/bmc/database/responses/RotateSslCertsResponse.java create mode 100644 bmc-integration/src/main/java/com/oracle/bmc/integration/model/CreateCustomEndpointDetails.java create mode 100644 bmc-integration/src/main/java/com/oracle/bmc/integration/model/CustomEndpointDetails.java create mode 100644 bmc-integration/src/main/java/com/oracle/bmc/integration/model/UpdateCustomEndpointDetails.java create mode 100644 bmc-objectstorage/bmc-objectstorage-extensions/src/main/java/com/oracle/bmc/objectstorage/transfer/internal/MultipartUploadFailedPartDetails.java diff --git a/CHANGELOG.md b/CHANGELOG.md index 664624e637d..5d8d04e564c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/). +## 1.27.1 - 2020-12-08 +### Added +- Support for Integration Service custom endpoint feature +- Support for metadata field in IdentityProvider Get and List response +- Support for fine-grained data analysis and improved SQL insights +- Support for ADB Dedicated - ORDS and SSL cert rotation at AEI +- Support for Maintenance Schedule feature for Exadata Infrastructure resources for ExaCC + ## 1.27.0 - 2020-12-1 ### Added - Support for calling Oracle Cloud Infrastructure services in the sa-santiago-1 region diff --git a/bmc-addons/bmc-apache-connector-provider/pom.xml b/bmc-addons/bmc-apache-connector-provider/pom.xml index ccafd993fb0..edbaaa29b85 100644 --- a/bmc-addons/bmc-apache-connector-provider/pom.xml +++ b/bmc-addons/bmc-apache-connector-provider/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk-addons - 1.27.0 + 1.27.1 ../pom.xml @@ -42,7 +42,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 com.oracle.oci.sdk oci-java-sdk-audit - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-containerengine - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-core - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-database - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-dns - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-email - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-filestorage - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-identity - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-loadbalancer - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-objectstorage - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-addons-resteasy-client-configurator - 1.27.0 + 1.27.1 com.oracle.oci.sdk oci-java-sdk-addons-sasl - 1.27.0 + 1.27.1 com.oracle.oci.sdk oci-java-sdk-resourcesearch - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-addons-apache - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-keymanagement - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-announcementsservice - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-healthchecks - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-waas - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-streaming - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-resourcemanager - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-monitoring - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-ons - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-autoscaling - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-budget - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-workrequests - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-limits - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-functions - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-events - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-dts - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-oce - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-oda - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-analytics - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-integration - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-osmanagement - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-marketplace - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-apigateway - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-applicationmigration - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-datacatalog - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-dataflow - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-datascience - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-nosql - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-secrets - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-vault - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-bds - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-encryption - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-cims - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-datasafe - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-mysql - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-dataintegration - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-ocvp - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-usageapi - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-blockchain - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-loggingingestion - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-logging - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-loganalytics - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-managementdashboard - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-sch - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-loggingsearch - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-managementagent - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-cloudguard - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-opsi - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-computeinstanceagent - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-optimizer - 1.27.0 + 1.27.1 false com.oracle.oci.sdk oci-java-sdk-tenantmanagercontrolplane - 1.27.0 + 1.27.1 false diff --git a/bmc-budget/pom.xml b/bmc-budget/pom.xml index a8f95c606fd..a355a424e67 100644 --- a/bmc-budget/pom.xml +++ b/bmc-budget/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-budget @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 \ No newline at end of file diff --git a/bmc-cims/pom.xml b/bmc-cims/pom.xml index 4437d1d67a9..689dbfba4b6 100644 --- a/bmc-cims/pom.xml +++ b/bmc-cims/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-cims @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 \ No newline at end of file diff --git a/bmc-circuitbreaker/pom.xml b/bmc-circuitbreaker/pom.xml index 6adc0837fe3..a8bcc4ba80f 100644 --- a/bmc-circuitbreaker/pom.xml +++ b/bmc-circuitbreaker/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-circuitbreaker diff --git a/bmc-cloudguard/pom.xml b/bmc-cloudguard/pom.xml index b074bdccdc1..7d3a6950c87 100644 --- a/bmc-cloudguard/pom.xml +++ b/bmc-cloudguard/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-cloudguard @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 \ No newline at end of file diff --git a/bmc-common/pom.xml b/bmc-common/pom.xml index 89b760ccdd7..435f894506d 100644 --- a/bmc-common/pom.xml +++ b/bmc-common/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml @@ -94,7 +94,7 @@ com.oracle.oci.sdk oci-java-sdk-circuitbreaker - 1.27.0 + 1.27.1 diff --git a/bmc-computeinstanceagent/pom.xml b/bmc-computeinstanceagent/pom.xml index ddfa3228583..6ff8e368408 100644 --- a/bmc-computeinstanceagent/pom.xml +++ b/bmc-computeinstanceagent/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-computeinstanceagent @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 \ No newline at end of file diff --git a/bmc-containerengine/pom.xml b/bmc-containerengine/pom.xml index a179c196a20..3c6783267a8 100644 --- a/bmc-containerengine/pom.xml +++ b/bmc-containerengine/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml @@ -19,7 +19,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 diff --git a/bmc-core/pom.xml b/bmc-core/pom.xml index 9d45f917f6e..51da452d01a 100644 --- a/bmc-core/pom.xml +++ b/bmc-core/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml @@ -19,12 +19,12 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 com.oracle.oci.sdk oci-java-sdk-workrequests - 1.27.0 + 1.27.1 diff --git a/bmc-database/pom.xml b/bmc-database/pom.xml index 0880b1085cc..4094dac04ea 100644 --- a/bmc-database/pom.xml +++ b/bmc-database/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml @@ -19,12 +19,12 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 com.oracle.oci.sdk oci-java-sdk-workrequests - 1.27.0 + 1.27.1 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 a4e7fecce98..7befa4dfc1b 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 @@ -47,7 +47,8 @@ public interface Database extends AutoCloseable { void setRegion(String regionId); /** - * Activates the specified Exadata Cloud@Customer infrastructure. + * Activates the specified Exadata infrastructure resource. Applies to Exadata Cloud@Customer instances only. + * * @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. @@ -127,8 +128,7 @@ ChangeBackupDestinationCompartmentResponse changeBackupDestinationCompartment( ChangeBackupDestinationCompartmentRequest request); /** - * To move a cloud Exadata infrastructure resource and its dependent resources to another compartment, use the - * {@link #changeCloudExadataInfrastructureCompartment(ChangeCloudExadataInfrastructureCompartmentRequest) changeCloudExadataInfrastructureCompartment} operation. + * Moves a cloud Exadata infrastructure resource and its dependent resources to another compartment. Applies to Exadata Cloud Service instances only. For more information about moving resources to a different compartment, see [Moving Database Resources to a Different Compartment](https://docs.cloud.oracle.com/Content/Database/Concepts/databaseoverview.htm#moveRes). * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -138,8 +138,7 @@ ChangeCloudExadataInfrastructureCompartmentResponse changeCloudExadataInfrastruc ChangeCloudExadataInfrastructureCompartmentRequest request); /** - * To move a cloud VM cluster and its dependent resources to another compartment, use the - * {@link #changeCloudVmClusterCompartment(ChangeCloudVmClusterCompartmentRequest) changeCloudVmClusterCompartment} operation. + * Moves a cloud VM cluster and its dependent resources to another compartment. Applies to Exadata Cloud Service instances only. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -161,7 +160,7 @@ ChangeDatabaseSoftwareImageCompartmentResponse changeDatabaseSoftwareImageCompar ChangeDatabaseSoftwareImageCompartmentRequest request); /** - * Move the DB system and its dependent resources to the specified compartment. + * Moves the DB system and its dependent resources to the specified compartment. * For more information about moving DB systems, see * [Moving Database Resources to a Different Compartment](https://docs.cloud.oracle.com/Content/Database/Concepts/databaseoverview.htm#moveRes). * @@ -173,8 +172,8 @@ ChangeDbSystemCompartmentResponse changeDbSystemCompartment( ChangeDbSystemCompartmentRequest request); /** - * To move an Exadata Cloud@Customer infrastructure resource and its dependent resources to another compartment, use the - * {@link #changeExadataInfrastructureCompartment(ChangeExadataInfrastructureCompartmentRequest) changeExadataInfrastructureCompartment} operation. + * Moves an Exadata infrastructure resource and its dependent resources to another compartment. Applies to Exadata Cloud@Customer instances only. + * To move an Exadata Cloud Service infrastructure resource to another compartment, use the {@link #changeCloudExadataInfrastructureCompartment(ChangeCloudExadataInfrastructureCompartmentRequest) changeCloudExadataInfrastructureCompartment} operation. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -196,8 +195,8 @@ ChangeKeyStoreCompartmentResponse changeKeyStoreCompartment( ChangeKeyStoreCompartmentRequest request); /** - * To move an Exadata Cloud@Customer VM cluster and its dependent resources to another compartment, use the - * {@link #changeVmClusterCompartment(ChangeVmClusterCompartmentRequest) changeVmClusterCompartment} operation. + * Moves a VM cluster and its dependent resources to another compartment. Applies to Exadata Cloud@Customer instances only. + * To move a cloud VM cluster in an Exadata Cloud Service instance to another compartment, use the {@link #changeCloudVmClusterCompartment(ChangeCloudVmClusterCompartmentRequest) changeCloudVmClusterCompartment} operation. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -297,7 +296,8 @@ CreateAutonomousVmClusterResponse createAutonomousVmCluster( CreateBackupDestinationResponse createBackupDestination(CreateBackupDestinationRequest request); /** - * Creates a cloud Exadata infrastructure resource. + * Creates a cloud Exadata infrastructure resource. This resource is used to create an [Exadata Cloud Service](https://docs.cloud.oracle.com/Content/Database/Concepts/exaoverview.htm) instance. + * * @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. @@ -371,7 +371,9 @@ CreateDatabaseSoftwareImageResponse createDatabaseSoftwareImage( CreateDbHomeResponse createDbHome(CreateDbHomeRequest request); /** - * Creates Exadata Cloud@Customer infrastructure. + * Creates an Exadata infrastructure resource. Applies to Exadata Cloud@Customer instances only. + * To create an Exadata Cloud Service infrastructure resource, use the {@link #createCloudExadataInfrastructure(CreateCloudExadataInfrastructureRequest) createCloudExadataInfrastructure} operation. + * * @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. @@ -409,7 +411,8 @@ CreateExadataInfrastructureResponse createExadataInfrastructure( CreateVmClusterResponse createVmCluster(CreateVmClusterRequest request); /** - * Creates the Exadata Cloud@Customer VM cluster network. + * Creates the VM cluster network. Applies to Exadata Cloud@Customer instances only. + * To create a cloud VM cluster in an Exadata Cloud Service instance, use the {@link #createCloudVmCluster(CreateCloudVmClusterRequest) createCloudVmCluster} operation. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -486,7 +489,7 @@ DeleteAutonomousVmClusterResponse deleteAutonomousVmCluster( DeleteBackupDestinationResponse deleteBackupDestination(DeleteBackupDestinationRequest request); /** - * Deletes the cloud Exadata infrastructure resource. + * Deletes the cloud Exadata infrastructure resource. Applies to Exadata Cloud Service instances only. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -496,7 +499,7 @@ DeleteCloudExadataInfrastructureResponse deleteCloudExadataInfrastructure( DeleteCloudExadataInfrastructureRequest request); /** - * Deletes the specified cloud VM cluster. + * Deletes the specified cloud VM cluster. Applies to Exadata Cloud Service instances only. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -563,7 +566,7 @@ DeleteExadataInfrastructureResponse deleteExadataInfrastructure( DeleteKeyStoreResponse deleteKeyStore(DeleteKeyStoreRequest request); /** - * Deletes the specified Exadata Cloud@Customer VM cluster. + * Deletes the specified VM cluster. Applies to Exadata Cloud@Customer instances only. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -572,7 +575,8 @@ DeleteExadataInfrastructureResponse deleteExadataInfrastructure( DeleteVmClusterResponse deleteVmCluster(DeleteVmClusterRequest request); /** - * Deletes the specified Exadata Cloud@Customer VM cluster network. + * Deletes the specified VM cluster network. Applies to Exadata Cloud@Customer instances only. + * To delete a cloud VM cluster in an Exadata Cloud Service instance, use the {@link #deleteCloudVmCluster(DeleteCloudVmClusterRequest) deleteCloudVmCluster} operation. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -611,7 +615,7 @@ DownloadExadataInfrastructureConfigFileResponse downloadExadataInfrastructureCon DownloadExadataInfrastructureConfigFileRequest request); /** - * Downloads the configuration file for the specified Exadata Cloud@Customer VM cluster network. + * Downloads the configuration file for the specified VM cluster network. Applies to Exadata Cloud@Customer instances only. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -828,7 +832,8 @@ GetAutonomousExadataInfrastructureResponse getAutonomousExadataInfrastructure( GetBackupDestinationResponse getBackupDestination(GetBackupDestinationRequest request); /** - * Gets information about the specified cloud Exadata infrastructure resource. + * Gets information about the specified cloud Exadata infrastructure resource. Applies to Exadata Cloud Service instances only. + * * @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. @@ -837,7 +842,8 @@ GetCloudExadataInfrastructureResponse getCloudExadataInfrastructure( GetCloudExadataInfrastructureRequest request); /** - * Gets information about the specified cloud VM cluster. + * Gets information about the specified cloud VM cluster. Applies to Exadata Cloud Service instances only. + * * @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. @@ -845,7 +851,7 @@ GetCloudExadataInfrastructureResponse getCloudExadataInfrastructure( GetCloudVmClusterResponse getCloudVmCluster(GetCloudVmClusterRequest request); /** - * Gets the IORM configuration for the specified cloud VM cluster. + * Gets the IORM configuration for the specified cloud VM cluster in an Exadata Cloud Service instance. * If you have not specified an IORM configuration, the default configuration is returned. * * @param request The request object containing the details to send @@ -856,7 +862,7 @@ GetCloudVmClusterIormConfigResponse getCloudVmClusterIormConfig( GetCloudVmClusterIormConfigRequest request); /** - * Gets information about a specified maintenance update package. + * Gets information about a specified maintenance update package for a cloud VM cluster. Applies to Exadata Cloud Service instances only. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -865,7 +871,7 @@ GetCloudVmClusterIormConfigResponse getCloudVmClusterIormConfig( GetCloudVmClusterUpdateResponse getCloudVmClusterUpdate(GetCloudVmClusterUpdateRequest request); /** - * Gets the maintenance update history details for the specified update history entry. + * Gets the maintenance update history details for the specified update history entry. Applies to Exadata Cloud Service instances only. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -981,7 +987,9 @@ GetDbSystemPatchHistoryEntryResponse getDbSystemPatchHistoryEntry( GetDbSystemPatchHistoryEntryRequest request); /** - * Gets information about the specified Exadata Cloud@Customer infrastructure. + * Gets information about the specified Exadata infrastructure. Applies to Exadata Cloud@Customer instances only. + * To get information on an Exadata Cloud Service infrastructure resource, use the {@link #getCloudExadataInfrastructure(GetCloudExadataInfrastructureRequest) getCloudExadataInfrastructure} operation. + * * @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. @@ -1038,7 +1046,8 @@ GetExadataInfrastructureOcpusResponse getExadataInfrastructureOcpus( GetMaintenanceRunResponse getMaintenanceRun(GetMaintenanceRunRequest request); /** - * Gets information about the specified Exadata Cloud@Customer VM cluster. + * Gets information about the VM cluster. Applies to Exadata Cloud@Customer instances only. + * * @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. @@ -1046,7 +1055,9 @@ GetExadataInfrastructureOcpusResponse getExadataInfrastructureOcpus( GetVmClusterResponse getVmCluster(GetVmClusterRequest request); /** - * Gets information about the specified Exadata Cloud@Customer VM cluster network. + * Gets information about the specified VM cluster network. Applies to Exadata Cloud@Customer instances only. + * To get information about a cloud VM cluster in an Exadata Cloud Service instance, use the {@link #getCloudVmCluster(GetCloudVmClusterRequest) getCloudVmCluster} operation. + * * @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. @@ -1099,7 +1110,7 @@ LaunchAutonomousExadataInfrastructureResponse launchAutonomousExadataInfrastruct LaunchDbSystemResponse launchDbSystem(LaunchDbSystemRequest request); /** - * Gets a list of the Autonomous Container Databases with Autonomous Data Guard enabled associated with the specified Autonomous Container Database. + * Gets a list of the Autonomous Container Databases with Autonomous Data Guard-enabled associated with the specified Autonomous Container Database. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1246,7 +1257,7 @@ ListAutonomousVmClustersResponse listAutonomousVmClusters( ListBackupsResponse listBackups(ListBackupsRequest request); /** - * Gets a list of the cloud Exadata infrastructure in the specified compartment. + * Gets a list of the cloud Exadata infrastructure resources in the specified compartment. Applies to Exadata Cloud Service instances only. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1256,7 +1267,7 @@ ListCloudExadataInfrastructuresResponse listCloudExadataInfrastructures( ListCloudExadataInfrastructuresRequest request); /** - * Gets the history of the maintenance update actions performed on the specified cloud VM cluster. + * Gets the history of the maintenance update actions performed on the specified cloud VM cluster. Applies to Exadata Cloud Service instances only. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1266,7 +1277,7 @@ ListCloudVmClusterUpdateHistoryEntriesResponse listCloudVmClusterUpdateHistoryEn ListCloudVmClusterUpdateHistoryEntriesRequest request); /** - * Lists the maintenance updates that can be applied to the requested cloud VM cluster. + * Lists the maintenance updates that can be applied to the specified cloud VM cluster. Applies to Exadata Cloud Service instances only. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1276,7 +1287,7 @@ ListCloudVmClusterUpdatesResponse listCloudVmClusterUpdates( ListCloudVmClusterUpdatesRequest request); /** - * Gets a list of the cloud VM clusters in the specified compartment. + * Gets a list of the cloud VM clusters in the specified compartment. Applies to Exadata Cloud Service instances only. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1424,7 +1435,8 @@ ListDbSystemPatchHistoryEntriesResponse listDbSystemPatchHistoryEntries( ListDbVersionsResponse listDbVersions(ListDbVersionsRequest request); /** - * Gets a list of the Exadata Cloud@Customer infrastructure resources in the specified compartment. + * Lists the Exadata infrastructure resources in the specified compartment. Applies to Exadata Cloud@Customer instances only. + * To list the Exadata Cloud Service infrastructure resources in a compartment, use the {@link #listCloudExadataInfrastructures(ListCloudExadataInfrastructuresRequest) listCloudExadataInfrastructures} operation. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1460,7 +1472,7 @@ ListExadataInfrastructuresResponse listExadataInfrastructures( ListMaintenanceRunsResponse listMaintenanceRuns(ListMaintenanceRunsRequest request); /** - * Gets a list of the Exadata Cloud@Customer VM cluster networks in the specified compartment. + * Gets a list of the VM cluster networks in the specified compartment. Applies to Exadata Cloud@Customer instances only. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1488,7 +1500,8 @@ ListVmClusterPatchHistoryEntriesResponse listVmClusterPatchHistoryEntries( ListVmClusterPatchesResponse listVmClusterPatches(ListVmClusterPatchesRequest request); /** - * Gets a list of the Exadata Cloud@Customer VM clusters in the specified compartment. + * Lists the VM clusters in the specified compartment. Applies to Exadata Cloud@Customer instances only. + * To list the cloud VM clusters in an Exadata Cloud Service instance, use the {@link #listCloudVmClusters(ListCloudVmClustersRequest) listCloudVmClusters} operation. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1605,6 +1618,24 @@ RestoreAutonomousDatabaseResponse restoreAutonomousDatabase( RotateAutonomousDatabaseEncryptionKeyResponse rotateAutonomousDatabaseEncryptionKey( RotateAutonomousDatabaseEncryptionKeyRequest request); + /** + * Rotates Oracle REST Data Services (ORDS) certs for an Autonomous Exadata Infrastructure resource. + * + * @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. + */ + RotateOrdsCertsResponse rotateOrdsCerts(RotateOrdsCertsRequest request); + + /** + * Rotates SSL certs for an Autonomous Exadata Infrastructure resource. + * + * @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. + */ + RotateSslCertsResponse rotateSslCerts(RotateSslCertsRequest request); + /** * **Deprecated.** To start an Autonomous Data Warehouse, use the {@link #startAutonomousDatabase(StartAutonomousDatabaseRequest) startAutonomousDatabase} operation. * @@ -1644,7 +1675,7 @@ StopAutonomousDataWarehouseResponse stopAutonomousDataWarehouse( StopAutonomousDatabaseResponse stopAutonomousDatabase(StopAutonomousDatabaseRequest request); /** - * Switches over the primary Autonomous Container Database of an Autonomous Data Guard peer association into a standby role. The standby Autonomous Container Database associated with autonomousContainerDatabaseDataguardAssociationId assumes the primary Autonomous Container Database role. + * Switches over the primary Autonomous Container Database of an Autonomous Data Guard peer association to standby role. The standby Autonomous Container Database associated with autonomousContainerDatabaseDataguardAssociationId assumes the primary Autonomous Container Database role. *

* A switchover incurs no data loss. * @@ -1785,7 +1816,7 @@ UpdateAutonomousVmClusterResponse updateAutonomousVmCluster( UpdateBackupDestinationResponse updateBackupDestination(UpdateBackupDestinationRequest request); /** - * Updates the Cloud Exadata infrastructure resource. + * Updates the Cloud Exadata infrastructure resource. Applies to Exadata Cloud Service instances only. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1795,7 +1826,7 @@ UpdateCloudExadataInfrastructureResponse updateCloudExadataInfrastructure( UpdateCloudExadataInfrastructureRequest request); /** - * Updates the specified cloud VM cluster. + * Updates the specified cloud VM cluster. Applies to Exadata Cloud Service instances only. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1804,7 +1835,7 @@ UpdateCloudExadataInfrastructureResponse updateCloudExadataInfrastructure( UpdateCloudVmClusterResponse updateCloudVmCluster(UpdateCloudVmClusterRequest request); /** - * Updates the IORM settings for the specified cloud VM cluster. + * Updates the IORM settings for the specified cloud VM cluster in an Exadata Cloud Service instance. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1848,7 +1879,8 @@ UpdateDatabaseSoftwareImageResponse updateDatabaseSoftwareImage( UpdateDbSystemResponse updateDbSystem(UpdateDbSystemRequest request); /** - * Updates the Exadata Cloud@Customer infrastructure. + * Updates the Exadata infrastructure resource. Applies to Exadata Cloud@Customer instances only. + * To update an Exadata Cloud Service infrastructure resource, use the {@link #updateCloudExadataInfrastructure(UpdateCloudExadataInfrastructureRequest) updateCloudExadataInfrastructure} operation. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1884,7 +1916,7 @@ UpdateExadataInfrastructureResponse updateExadataInfrastructure( UpdateMaintenanceRunResponse updateMaintenanceRun(UpdateMaintenanceRunRequest request); /** - * Updates the specified Exadata Cloud@Customer VM cluster. + * Updates the specified VM cluster. Applies to Exadata Cloud@Customer instances only. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1893,7 +1925,8 @@ UpdateExadataInfrastructureResponse updateExadataInfrastructure( UpdateVmClusterResponse updateVmCluster(UpdateVmClusterRequest request); /** - * Updates the specified Exadata Cloud@Customer VM cluster network. + * Updates the specified VM cluster network. Applies to Exadata Cloud@Customer instances only. + * To update a cloud VM cluster in an Exadata Cloud Service instance, use the {@link #updateCloudVmCluster(UpdateCloudVmClusterRequest) updateCloudVmCluster} operation. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1911,7 +1944,7 @@ UpdateExadataInfrastructureResponse updateExadataInfrastructure( UpgradeDatabaseResponse upgradeDatabase(UpgradeDatabaseRequest request); /** - * Validates the specified Exadata Cloud@Customer VM cluster network. + * Validates the specified VM cluster network. Applies to Exadata Cloud@Customer instances only. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation 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 750a090a77f..73b9fb1d0d9 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 @@ -47,7 +47,8 @@ public interface DatabaseAsync extends AutoCloseable { void setRegion(String regionId); /** - * Activates the specified Exadata Cloud@Customer infrastructure. + * Activates the specified Exadata infrastructure resource. Applies to Exadata Cloud@Customer instances only. + * * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -188,8 +189,7 @@ public interface DatabaseAsync extends AutoCloseable { handler); /** - * To move a cloud Exadata infrastructure resource and its dependent resources to another compartment, use the - * {@link #changeCloudExadataInfrastructureCompartment(ChangeCloudExadataInfrastructureCompartmentRequest, Consumer, Consumer) changeCloudExadataInfrastructureCompartment} operation. + * Moves a cloud Exadata infrastructure resource and its dependent resources to another compartment. Applies to Exadata Cloud Service instances only. For more information about moving resources to a different compartment, see [Moving Database Resources to a Different Compartment](https://docs.cloud.oracle.com/Content/Database/Concepts/databaseoverview.htm#moveRes). * * * @param request The request object containing the details to send @@ -208,8 +208,7 @@ public interface DatabaseAsync extends AutoCloseable { handler); /** - * To move a cloud VM cluster and its dependent resources to another compartment, use the - * {@link #changeCloudVmClusterCompartment(ChangeCloudVmClusterCompartmentRequest, Consumer, Consumer) changeCloudVmClusterCompartment} operation. + * Moves a cloud VM cluster and its dependent resources to another compartment. Applies to Exadata Cloud Service instances only. * * * @param request The request object containing the details to send @@ -249,7 +248,7 @@ public interface DatabaseAsync extends AutoCloseable { handler); /** - * Move the DB system and its dependent resources to the specified compartment. + * Moves the DB system and its dependent resources to the specified compartment. * For more information about moving DB systems, see * [Moving Database Resources to a Different Compartment](https://docs.cloud.oracle.com/Content/Database/Concepts/databaseoverview.htm#moveRes). * @@ -268,8 +267,8 @@ java.util.concurrent.Future changeDbSystemCom handler); /** - * To move an Exadata Cloud@Customer infrastructure resource and its dependent resources to another compartment, use the - * {@link #changeExadataInfrastructureCompartment(ChangeExadataInfrastructureCompartmentRequest, Consumer, Consumer) changeExadataInfrastructureCompartment} operation. + * Moves an Exadata infrastructure resource and its dependent resources to another compartment. Applies to Exadata Cloud@Customer instances only. + * To move an Exadata Cloud Service infrastructure resource to another compartment, use the {@link #changeCloudExadataInfrastructureCompartment(ChangeCloudExadataInfrastructureCompartmentRequest, Consumer, Consumer) changeCloudExadataInfrastructureCompartment} operation. * * * @param request The request object containing the details to send @@ -307,8 +306,8 @@ java.util.concurrent.Future changeKeyStoreCom handler); /** - * To move an Exadata Cloud@Customer VM cluster and its dependent resources to another compartment, use the - * {@link #changeVmClusterCompartment(ChangeVmClusterCompartmentRequest, Consumer, Consumer) changeVmClusterCompartment} operation. + * Moves a VM cluster and its dependent resources to another compartment. Applies to Exadata Cloud@Customer instances only. + * To move a cloud VM cluster in an Exadata Cloud Service instance to another compartment, use the {@link #changeCloudVmClusterCompartment(ChangeCloudVmClusterCompartmentRequest, Consumer, Consumer) changeCloudVmClusterCompartment} operation. * * * @param request The request object containing the details to send @@ -487,7 +486,8 @@ java.util.concurrent.Future createBackupDestina handler); /** - * Creates a cloud Exadata infrastructure resource. + * Creates a cloud Exadata infrastructure resource. This resource is used to create an [Exadata Cloud Service](https://docs.cloud.oracle.com/Content/Database/Concepts/exaoverview.htm) instance. + * * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -614,7 +614,9 @@ java.util.concurrent.Future createDbHome( handler); /** - * Creates Exadata Cloud@Customer infrastructure. + * Creates an Exadata infrastructure resource. Applies to Exadata Cloud@Customer instances only. + * To create an Exadata Cloud Service infrastructure resource, use the {@link #createCloudExadataInfrastructure(CreateCloudExadataInfrastructureRequest, Consumer, Consumer) createCloudExadataInfrastructure} operation. + * * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -681,7 +683,8 @@ java.util.concurrent.Future createVmCluster( handler); /** - * Creates the Exadata Cloud@Customer VM cluster network. + * Creates the VM cluster network. Applies to Exadata Cloud@Customer instances only. + * To create a cloud VM cluster in an Exadata Cloud Service instance, use the {@link #createCloudVmCluster(CreateCloudVmClusterRequest, Consumer, Consumer) createCloudVmCluster} operation. * * * @param request The request object containing the details to send @@ -811,7 +814,7 @@ java.util.concurrent.Future deleteBackupDestina handler); /** - * Deletes the cloud Exadata infrastructure resource. + * Deletes the cloud Exadata infrastructure resource. Applies to Exadata Cloud Service instances only. * * * @param request The request object containing the details to send @@ -830,7 +833,7 @@ java.util.concurrent.Future deleteBackupDestina handler); /** - * Deletes the specified cloud VM cluster. + * Deletes the specified cloud VM cluster. Applies to Exadata Cloud Service instances only. * * * @param request The request object containing the details to send @@ -948,7 +951,7 @@ java.util.concurrent.Future deleteKeyStore( handler); /** - * Deletes the specified Exadata Cloud@Customer VM cluster. + * Deletes the specified VM cluster. Applies to Exadata Cloud@Customer instances only. * * * @param request The request object containing the details to send @@ -964,7 +967,8 @@ java.util.concurrent.Future deleteVmCluster( handler); /** - * Deletes the specified Exadata Cloud@Customer VM cluster network. + * Deletes the specified VM cluster network. Applies to Exadata Cloud@Customer instances only. + * To delete a cloud VM cluster in an Exadata Cloud Service instance, use the {@link #deleteCloudVmCluster(DeleteCloudVmClusterRequest, Consumer, Consumer) deleteCloudVmCluster} operation. * * * @param request The request object containing the details to send @@ -1038,7 +1042,7 @@ java.util.concurrent.Future deleteVmClusterNetwo handler); /** - * Downloads the configuration file for the specified Exadata Cloud@Customer VM cluster network. + * Downloads the configuration file for the specified VM cluster network. Applies to Exadata Cloud@Customer instances only. * * * @param request The request object containing the details to send @@ -1435,7 +1439,8 @@ java.util.concurrent.Future getBackupDestination( handler); /** - * Gets information about the specified cloud Exadata infrastructure resource. + * Gets information about the specified cloud Exadata infrastructure resource. Applies to Exadata Cloud Service instances only. + * * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1453,7 +1458,8 @@ java.util.concurrent.Future getBackupDestination( handler); /** - * Gets information about the specified cloud VM cluster. + * Gets information about the specified cloud VM cluster. Applies to Exadata Cloud Service instances only. + * * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1469,7 +1475,7 @@ java.util.concurrent.Future getCloudVmCluster( handler); /** - * Gets the IORM configuration for the specified cloud VM cluster. + * Gets the IORM configuration for the specified cloud VM cluster in an Exadata Cloud Service instance. * If you have not specified an IORM configuration, the default configuration is returned. * * @@ -1487,7 +1493,7 @@ java.util.concurrent.Future getCloudVmClust handler); /** - * Gets information about a specified maintenance update package. + * Gets information about a specified maintenance update package for a cloud VM cluster. Applies to Exadata Cloud Service instances only. * * * @param request The request object containing the details to send @@ -1504,7 +1510,7 @@ java.util.concurrent.Future getCloudVmClusterUp handler); /** - * Gets the maintenance update history details for the specified update history entry. + * Gets the maintenance update history details for the specified update history entry. Applies to Exadata Cloud Service instances only. * * * @param request The request object containing the details to send @@ -1714,7 +1720,9 @@ java.util.concurrent.Future getDbSystemPat handler); /** - * Gets information about the specified Exadata Cloud@Customer infrastructure. + * Gets information about the specified Exadata infrastructure. Applies to Exadata Cloud@Customer instances only. + * To get information on an Exadata Cloud Service infrastructure resource, use the {@link #getCloudExadataInfrastructure(GetCloudExadataInfrastructureRequest, Consumer, Consumer) getCloudExadataInfrastructure} operation. + * * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1817,7 +1825,8 @@ java.util.concurrent.Future getMaintenanceRun( handler); /** - * Gets information about the specified Exadata Cloud@Customer VM cluster. + * Gets information about the VM cluster. Applies to Exadata Cloud@Customer instances only. + * * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1832,7 +1841,9 @@ java.util.concurrent.Future getVmCluster( handler); /** - * Gets information about the specified Exadata Cloud@Customer VM cluster network. + * Gets information about the specified VM cluster network. Applies to Exadata Cloud@Customer instances only. + * To get information about a cloud VM cluster in an Exadata Cloud Service instance, use the {@link #getCloudVmCluster(GetCloudVmClusterRequest, Consumer, Consumer) getCloudVmCluster} operation. + * * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1926,7 +1937,7 @@ java.util.concurrent.Future launchDbSystem( handler); /** - * Gets a list of the Autonomous Container Databases with Autonomous Data Guard enabled associated with the specified Autonomous Container Database. + * Gets a list of the Autonomous Container Databases with Autonomous Data Guard-enabled associated with the specified Autonomous Container Database. * * * @param request The request object containing the details to send @@ -2196,7 +2207,7 @@ java.util.concurrent.Future listBackups( com.oracle.bmc.responses.AsyncHandler handler); /** - * Gets a list of the cloud Exadata infrastructure in the specified compartment. + * Gets a list of the cloud Exadata infrastructure resources in the specified compartment. Applies to Exadata Cloud Service instances only. * * * @param request The request object containing the details to send @@ -2215,7 +2226,7 @@ java.util.concurrent.Future listBackups( handler); /** - * Gets the history of the maintenance update actions performed on the specified cloud VM cluster. + * Gets the history of the maintenance update actions performed on the specified cloud VM cluster. Applies to Exadata Cloud Service instances only. * * * @param request The request object containing the details to send @@ -2234,7 +2245,7 @@ java.util.concurrent.Future listBackups( handler); /** - * Lists the maintenance updates that can be applied to the requested cloud VM cluster. + * Lists the maintenance updates that can be applied to the specified cloud VM cluster. Applies to Exadata Cloud Service instances only. * * * @param request The request object containing the details to send @@ -2251,7 +2262,7 @@ java.util.concurrent.Future listCloudVmCluste handler); /** - * Gets a list of the cloud VM clusters in the specified compartment. + * Gets a list of the cloud VM clusters in the specified compartment. Applies to Exadata Cloud Service instances only. * * * @param request The request object containing the details to send @@ -2521,7 +2532,8 @@ java.util.concurrent.Future listDbVersions( handler); /** - * Gets a list of the Exadata Cloud@Customer infrastructure resources in the specified compartment. + * Lists the Exadata infrastructure resources in the specified compartment. Applies to Exadata Cloud@Customer instances only. + * To list the Exadata Cloud Service infrastructure resources in a compartment, use the {@link #listCloudExadataInfrastructures(ListCloudExadataInfrastructuresRequest, Consumer, Consumer) listCloudExadataInfrastructures} operation. * * * @param request The request object containing the details to send @@ -2586,7 +2598,7 @@ java.util.concurrent.Future listMaintenanceRuns( handler); /** - * Gets a list of the Exadata Cloud@Customer VM cluster networks in the specified compartment. + * Gets a list of the VM cluster networks in the specified compartment. Applies to Exadata Cloud@Customer instances only. * * * @param request The request object containing the details to send @@ -2639,7 +2651,8 @@ java.util.concurrent.Future listVmClusterPatches( handler); /** - * Gets a list of the Exadata Cloud@Customer VM clusters in the specified compartment. + * Lists the VM clusters in the specified compartment. Applies to Exadata Cloud@Customer instances only. + * To list the cloud VM clusters in an Exadata Cloud Service instance, use the {@link #listCloudVmClusters(ListCloudVmClustersRequest, Consumer, Consumer) listCloudVmClusters} operation. * * * @param request The request object containing the details to send @@ -2854,6 +2867,38 @@ java.util.concurrent.Future restoreDatabase( RotateAutonomousDatabaseEncryptionKeyResponse> handler); + /** + * Rotates Oracle REST Data Services (ORDS) certs for an Autonomous Exadata Infrastructure resource. + * + * + * @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 rotateOrdsCerts( + RotateOrdsCertsRequest request, + com.oracle.bmc.responses.AsyncHandler + handler); + + /** + * Rotates SSL certs for an Autonomous Exadata Infrastructure resource. + * + * + * @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 rotateSslCerts( + RotateSslCertsRequest request, + com.oracle.bmc.responses.AsyncHandler + handler); + /** * **Deprecated.** To start an Autonomous Data Warehouse, use the {@link #startAutonomousDatabase(StartAutonomousDatabaseRequest, Consumer, Consumer) startAutonomousDatabase} operation. * @@ -2924,7 +2969,7 @@ java.util.concurrent.Future stopAutonomousDataba handler); /** - * Switches over the primary Autonomous Container Database of an Autonomous Data Guard peer association into a standby role. The standby Autonomous Container Database associated with autonomousContainerDatabaseDataguardAssociationId assumes the primary Autonomous Container Database role. + * Switches over the primary Autonomous Container Database of an Autonomous Data Guard peer association to standby role. The standby Autonomous Container Database associated with autonomousContainerDatabaseDataguardAssociationId assumes the primary Autonomous Container Database role. *

* A switchover incurs no data loss. * @@ -3183,7 +3228,7 @@ java.util.concurrent.Future updateBackupDestina handler); /** - * Updates the Cloud Exadata infrastructure resource. + * Updates the Cloud Exadata infrastructure resource. Applies to Exadata Cloud Service instances only. * * * @param request The request object containing the details to send @@ -3202,7 +3247,7 @@ java.util.concurrent.Future updateBackupDestina handler); /** - * Updates the specified cloud VM cluster. + * Updates the specified cloud VM cluster. Applies to Exadata Cloud Service instances only. * * * @param request The request object containing the details to send @@ -3219,7 +3264,7 @@ java.util.concurrent.Future updateCloudVmCluster( handler); /** - * Updates the IORM settings for the specified cloud VM cluster. + * Updates the IORM settings for the specified cloud VM cluster in an Exadata Cloud Service instance. * * * @param request The request object containing the details to send @@ -3300,7 +3345,8 @@ java.util.concurrent.Future updateDbSystem( handler); /** - * Updates the Exadata Cloud@Customer infrastructure. + * Updates the Exadata infrastructure resource. Applies to Exadata Cloud@Customer instances only. + * To update an Exadata Cloud Service infrastructure resource, use the {@link #updateCloudExadataInfrastructure(UpdateCloudExadataInfrastructureRequest, Consumer, Consumer) updateCloudExadataInfrastructure} operation. * * * @param request The request object containing the details to send @@ -3366,7 +3412,7 @@ java.util.concurrent.Future updateMaintenanceRun( handler); /** - * Updates the specified Exadata Cloud@Customer VM cluster. + * Updates the specified VM cluster. Applies to Exadata Cloud@Customer instances only. * * * @param request The request object containing the details to send @@ -3382,7 +3428,8 @@ java.util.concurrent.Future updateVmCluster( handler); /** - * Updates the specified Exadata Cloud@Customer VM cluster network. + * Updates the specified VM cluster network. Applies to Exadata Cloud@Customer instances only. + * To update a cloud VM cluster in an Exadata Cloud Service instance, use the {@link #updateCloudVmCluster(UpdateCloudVmClusterRequest, Consumer, Consumer) updateCloudVmCluster} operation. * * * @param request The request object containing the details to send @@ -3415,7 +3462,7 @@ java.util.concurrent.Future upgradeDatabase( handler); /** - * Validates the specified Exadata Cloud@Customer VM cluster network. + * Validates the specified VM cluster network. Applies to Exadata Cloud@Customer instances only. * * * @param request The request object containing the details to send 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 05bac50cc6b..d6db1f5e62d 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 @@ -7171,6 +7171,86 @@ protected void beforeRetryAction() {} } } + @Override + public java.util.concurrent.Future rotateOrdsCerts( + RotateOrdsCertsRequest request, + final com.oracle.bmc.responses.AsyncHandler< + RotateOrdsCertsRequest, RotateOrdsCertsResponse> + handler) { + LOG.trace("Called async rotateOrdsCerts"); + final RotateOrdsCertsRequest interceptedRequest = + RotateOrdsCertsConverter.interceptRequest(request); + final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = + RotateOrdsCertsConverter.fromRequest(client, interceptedRequest); + final com.google.common.base.Function + transformer = RotateOrdsCertsConverter.fromResponse(); + com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib); + + com.oracle.bmc.responses.AsyncHandler + handlerToUse = handler; + + java.util.function.Function< + com.oracle.bmc.responses.AsyncHandler< + RotateOrdsCertsRequest, RotateOrdsCertsResponse>, + java.util.concurrent.Future> + futureSupplier = client.postFutureSupplier(interceptedRequest, ib, transformer); + + if (this.authenticationDetailsProvider + instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { + return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< + RotateOrdsCertsRequest, RotateOrdsCertsResponse>( + (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) + this.authenticationDetailsProvider, + handlerToUse, + futureSupplier) { + @Override + protected void beforeRetryAction() {} + }; + } else { + return futureSupplier.apply(handlerToUse); + } + } + + @Override + public java.util.concurrent.Future rotateSslCerts( + RotateSslCertsRequest request, + final com.oracle.bmc.responses.AsyncHandler< + RotateSslCertsRequest, RotateSslCertsResponse> + handler) { + LOG.trace("Called async rotateSslCerts"); + final RotateSslCertsRequest interceptedRequest = + RotateSslCertsConverter.interceptRequest(request); + final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = + RotateSslCertsConverter.fromRequest(client, interceptedRequest); + final com.google.common.base.Function + transformer = RotateSslCertsConverter.fromResponse(); + com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib); + + com.oracle.bmc.responses.AsyncHandler + handlerToUse = handler; + + java.util.function.Function< + com.oracle.bmc.responses.AsyncHandler< + RotateSslCertsRequest, RotateSslCertsResponse>, + java.util.concurrent.Future> + futureSupplier = client.postFutureSupplier(interceptedRequest, ib, transformer); + + if (this.authenticationDetailsProvider + instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { + return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< + RotateSslCertsRequest, RotateSslCertsResponse>( + (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) + this.authenticationDetailsProvider, + handlerToUse, + futureSupplier) { + @Override + protected void beforeRetryAction() {} + }; + } else { + return futureSupplier.apply(handlerToUse); + } + } + @Override public java.util.concurrent.Future startAutonomousDataWarehouse( 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 f392c3657c1..5b6fe0c1b84 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 @@ -5422,6 +5422,66 @@ public RotateAutonomousDatabaseEncryptionKeyResponse rotateAutonomousDatabaseEnc }); } + @Override + public RotateOrdsCertsResponse rotateOrdsCerts(RotateOrdsCertsRequest request) { + LOG.trace("Called rotateOrdsCerts"); + final RotateOrdsCertsRequest interceptedRequest = + RotateOrdsCertsConverter.interceptRequest(request); + com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = + RotateOrdsCertsConverter.fromRequest(client, interceptedRequest); + com.google.common.base.Function + transformer = RotateOrdsCertsConverter.fromResponse(); + + final com.oracle.bmc.retrier.BmcGenericRetrier retrier = + com.oracle.bmc.retrier.Retriers.createPreferredRetrier( + interceptedRequest.getRetryConfiguration(), retryConfiguration); + com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib); + return retrier.execute( + interceptedRequest, + retryRequest -> { + final com.oracle.bmc.retrier.TokenRefreshRetrier tokenRefreshRetrier = + new com.oracle.bmc.retrier.TokenRefreshRetrier( + authenticationDetailsProvider); + return tokenRefreshRetrier.execute( + retryRequest, + retriedRequest -> { + javax.ws.rs.core.Response response = + client.post(ib, retriedRequest); + return transformer.apply(response); + }); + }); + } + + @Override + public RotateSslCertsResponse rotateSslCerts(RotateSslCertsRequest request) { + LOG.trace("Called rotateSslCerts"); + final RotateSslCertsRequest interceptedRequest = + RotateSslCertsConverter.interceptRequest(request); + com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = + RotateSslCertsConverter.fromRequest(client, interceptedRequest); + com.google.common.base.Function + transformer = RotateSslCertsConverter.fromResponse(); + + final com.oracle.bmc.retrier.BmcGenericRetrier retrier = + com.oracle.bmc.retrier.Retriers.createPreferredRetrier( + interceptedRequest.getRetryConfiguration(), retryConfiguration); + com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib); + return retrier.execute( + interceptedRequest, + retryRequest -> { + final com.oracle.bmc.retrier.TokenRefreshRetrier tokenRefreshRetrier = + new com.oracle.bmc.retrier.TokenRefreshRetrier( + authenticationDetailsProvider); + return tokenRefreshRetrier.execute( + retryRequest, + retriedRequest -> { + javax.ws.rs.core.Response response = + client.post(ib, retriedRequest); + return transformer.apply(response); + }); + }); + } + @Override public StartAutonomousDataWarehouseResponse startAutonomousDataWarehouse( StartAutonomousDataWarehouseRequest request) { 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 0454cc00fda..3a4506ea87d 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 @@ -6753,6 +6753,118 @@ public RotateAutonomousDatabaseEncryptionKeyResponse 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 + forRotateOrdsCerts(RotateOrdsCertsRequest request) { + return forRotateOrdsCerts( + 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 + forRotateOrdsCerts( + RotateOrdsCertsRequest 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 RotateOrdsCertsResponse call() throws Exception { + final RotateOrdsCertsResponse response = client.rotateOrdsCerts(request); + + 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. + * + * @param request the request to send + * @return a new {@link com.oracle.bmc.waiter.Waiter} instance + */ + public com.oracle.bmc.waiter.Waiter + forRotateSslCerts(RotateSslCertsRequest request) { + return forRotateSslCerts( + 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 + forRotateSslCerts( + RotateSslCertsRequest 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 RotateSslCertsResponse call() throws Exception { + final RotateSslCertsResponse response = client.rotateSslCerts(request); + + 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/internal/http/RotateOrdsCertsConverter.java b/bmc-database/src/main/java/com/oracle/bmc/database/internal/http/RotateOrdsCertsConverter.java new file mode 100644 index 00000000000..6ef45860b93 --- /dev/null +++ b/bmc-database/src/main/java/com/oracle/bmc/database/internal/http/RotateOrdsCertsConverter.java @@ -0,0 +1,127 @@ +/** + * Copyright (c) 2016, 2020, 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.internal.http; + +import com.oracle.bmc.http.internal.ResponseHelper; +import com.oracle.bmc.database.model.*; +import com.oracle.bmc.database.requests.*; +import com.oracle.bmc.database.responses.*; +import org.apache.commons.lang3.Validate; + +@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@lombok.extern.slf4j.Slf4j +public class RotateOrdsCertsConverter { + private static final com.oracle.bmc.http.internal.ResponseConversionFunctionFactory + RESPONSE_CONVERSION_FACTORY = + new com.oracle.bmc.http.internal.ResponseConversionFunctionFactory(); + + public static com.oracle.bmc.database.requests.RotateOrdsCertsRequest interceptRequest( + com.oracle.bmc.database.requests.RotateOrdsCertsRequest request) { + + return request; + } + + public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest( + com.oracle.bmc.http.internal.RestClient client, + com.oracle.bmc.database.requests.RotateOrdsCertsRequest request) { + Validate.notNull(request, "request instance is required"); + Validate.notBlank( + request.getAutonomousExadataInfrastructureId(), + "autonomousExadataInfrastructureId must not be blank"); + + com.oracle.bmc.http.internal.WrappedWebTarget target = + client.getBaseTarget() + .path("/20160918") + .path("autonomousExadataInfrastructures") + .path( + com.oracle.bmc.util.internal.HttpUtils.encodePathSegment( + request.getAutonomousExadataInfrastructureId())) + .path("actions") + .path("rotateOrdsCerts"); + + com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request(); + + ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON); + + if (request.getOpcRequestId() != null) { + ib.header("opc-request-id", request.getOpcRequestId()); + } + + if (request.getOpcRetryToken() != null) { + ib.header("opc-retry-token", request.getOpcRetryToken()); + } + + if (request.getIfMatch() != null) { + ib.header("if-match", request.getIfMatch()); + } + + return ib; + } + + public static com.google.common.base.Function< + javax.ws.rs.core.Response, + com.oracle.bmc.database.responses.RotateOrdsCertsResponse> + fromResponse() { + final com.google.common.base.Function< + javax.ws.rs.core.Response, + com.oracle.bmc.database.responses.RotateOrdsCertsResponse> + transformer = + new com.google.common.base.Function< + javax.ws.rs.core.Response, + com.oracle.bmc.database.responses.RotateOrdsCertsResponse>() { + @Override + public com.oracle.bmc.database.responses.RotateOrdsCertsResponse apply( + javax.ws.rs.core.Response rawResponse) { + LOG.trace( + "Transform function invoked for com.oracle.bmc.database.responses.RotateOrdsCertsResponse"); + com.google.common.base.Function< + javax.ws.rs.core.Response, + com.oracle.bmc.http.internal.WithHeaders> + responseFn = RESPONSE_CONVERSION_FACTORY.create(); + + com.oracle.bmc.http.internal.WithHeaders response = + responseFn.apply(rawResponse); + javax.ws.rs.core.MultivaluedMap headers = + response.getHeaders(); + + com.oracle.bmc.database.responses.RotateOrdsCertsResponse.Builder + builder = + com.oracle.bmc.database.responses + .RotateOrdsCertsResponse.builder(); + + com.google.common.base.Optional> + opcWorkRequestIdHeader = + com.oracle.bmc.http.internal.HeaderUtils.get( + headers, "opc-work-request-id"); + if (opcWorkRequestIdHeader.isPresent()) { + builder.opcWorkRequestId( + com.oracle.bmc.http.internal.HeaderUtils.toValue( + "opc-work-request-id", + opcWorkRequestIdHeader.get().get(0), + String.class)); + } + + com.google.common.base.Optional> + opcRequestIdHeader = + com.oracle.bmc.http.internal.HeaderUtils.get( + headers, "opc-request-id"); + if (opcRequestIdHeader.isPresent()) { + builder.opcRequestId( + com.oracle.bmc.http.internal.HeaderUtils.toValue( + "opc-request-id", + opcRequestIdHeader.get().get(0), + String.class)); + } + + com.oracle.bmc.database.responses.RotateOrdsCertsResponse + responseWrapper = builder.build(); + + ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse); + return responseWrapper; + } + }; + return transformer; + } +} diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/internal/http/RotateSslCertsConverter.java b/bmc-database/src/main/java/com/oracle/bmc/database/internal/http/RotateSslCertsConverter.java new file mode 100644 index 00000000000..cd34d66b489 --- /dev/null +++ b/bmc-database/src/main/java/com/oracle/bmc/database/internal/http/RotateSslCertsConverter.java @@ -0,0 +1,127 @@ +/** + * Copyright (c) 2016, 2020, 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.internal.http; + +import com.oracle.bmc.http.internal.ResponseHelper; +import com.oracle.bmc.database.model.*; +import com.oracle.bmc.database.requests.*; +import com.oracle.bmc.database.responses.*; +import org.apache.commons.lang3.Validate; + +@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@lombok.extern.slf4j.Slf4j +public class RotateSslCertsConverter { + private static final com.oracle.bmc.http.internal.ResponseConversionFunctionFactory + RESPONSE_CONVERSION_FACTORY = + new com.oracle.bmc.http.internal.ResponseConversionFunctionFactory(); + + public static com.oracle.bmc.database.requests.RotateSslCertsRequest interceptRequest( + com.oracle.bmc.database.requests.RotateSslCertsRequest request) { + + return request; + } + + public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest( + com.oracle.bmc.http.internal.RestClient client, + com.oracle.bmc.database.requests.RotateSslCertsRequest request) { + Validate.notNull(request, "request instance is required"); + Validate.notBlank( + request.getAutonomousExadataInfrastructureId(), + "autonomousExadataInfrastructureId must not be blank"); + + com.oracle.bmc.http.internal.WrappedWebTarget target = + client.getBaseTarget() + .path("/20160918") + .path("autonomousExadataInfrastructures") + .path( + com.oracle.bmc.util.internal.HttpUtils.encodePathSegment( + request.getAutonomousExadataInfrastructureId())) + .path("actions") + .path("rotateSslCerts"); + + com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request(); + + ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON); + + if (request.getOpcRequestId() != null) { + ib.header("opc-request-id", request.getOpcRequestId()); + } + + if (request.getOpcRetryToken() != null) { + ib.header("opc-retry-token", request.getOpcRetryToken()); + } + + if (request.getIfMatch() != null) { + ib.header("if-match", request.getIfMatch()); + } + + return ib; + } + + public static com.google.common.base.Function< + javax.ws.rs.core.Response, + com.oracle.bmc.database.responses.RotateSslCertsResponse> + fromResponse() { + final com.google.common.base.Function< + javax.ws.rs.core.Response, + com.oracle.bmc.database.responses.RotateSslCertsResponse> + transformer = + new com.google.common.base.Function< + javax.ws.rs.core.Response, + com.oracle.bmc.database.responses.RotateSslCertsResponse>() { + @Override + public com.oracle.bmc.database.responses.RotateSslCertsResponse apply( + javax.ws.rs.core.Response rawResponse) { + LOG.trace( + "Transform function invoked for com.oracle.bmc.database.responses.RotateSslCertsResponse"); + com.google.common.base.Function< + javax.ws.rs.core.Response, + com.oracle.bmc.http.internal.WithHeaders> + responseFn = RESPONSE_CONVERSION_FACTORY.create(); + + com.oracle.bmc.http.internal.WithHeaders response = + responseFn.apply(rawResponse); + javax.ws.rs.core.MultivaluedMap headers = + response.getHeaders(); + + com.oracle.bmc.database.responses.RotateSslCertsResponse.Builder + builder = + com.oracle.bmc.database.responses + .RotateSslCertsResponse.builder(); + + com.google.common.base.Optional> + opcWorkRequestIdHeader = + com.oracle.bmc.http.internal.HeaderUtils.get( + headers, "opc-work-request-id"); + if (opcWorkRequestIdHeader.isPresent()) { + builder.opcWorkRequestId( + com.oracle.bmc.http.internal.HeaderUtils.toValue( + "opc-work-request-id", + opcWorkRequestIdHeader.get().get(0), + String.class)); + } + + com.google.common.base.Optional> + opcRequestIdHeader = + com.oracle.bmc.http.internal.HeaderUtils.get( + headers, "opc-request-id"); + if (opcRequestIdHeader.isPresent()) { + builder.opcRequestId( + com.oracle.bmc.http.internal.HeaderUtils.toValue( + "opc-request-id", + opcRequestIdHeader.get().get(0), + String.class)); + } + + com.oracle.bmc.database.responses.RotateSslCertsResponse + responseWrapper = builder.build(); + + ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse); + return responseWrapper; + } + }; + return transformer; + } +} diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/ActivateExadataInfrastructureDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/ActivateExadataInfrastructureDetails.java index adf5dda4a89..1bfb29fdcbc 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/ActivateExadataInfrastructureDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/ActivateExadataInfrastructureDetails.java @@ -5,7 +5,8 @@ package com.oracle.bmc.database.model; /** - * The activation details for the Exadata Cloud@Customer infrastructure. + * The activation details for the Exadata Cloud@Customer infrastructure. Applies to Exadata Cloud@Customer instances only. + * *
* 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 diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousContainerDatabase.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousContainerDatabase.java index c8623b6aea0..fe259d24719 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousContainerDatabase.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousContainerDatabase.java @@ -649,8 +649,8 @@ public static PatchModel create(String key) { MaintenanceWindow maintenanceWindow; /** - * The scheduling detail for the quarterly maintenance window of standby Autonomous Container Database. - * This value represents the number of days before the primary database maintenance schedule. + * The scheduling detail for the quarterly maintenance window of the standby Autonomous Container Database. + * This value represents the number of days before scheduled maintenance of the primary database. * **/ @com.fasterxml.jackson.annotation.JsonProperty("standbyMaintenanceBufferInDays") diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousContainerDatabaseDataguardAssociation.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousContainerDatabaseDataguardAssociation.java index 04348b02884..8d87591ca07 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousContainerDatabaseDataguardAssociation.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousContainerDatabaseDataguardAssociation.java @@ -298,7 +298,7 @@ public static Role create(String key) { @com.fasterxml.jackson.annotation.JsonProperty("role") Role role; /** - * The current state of the Autonomous Data Guard. + * The current state of Autonomous Data Guard. **/ @lombok.extern.slf4j.Slf4j public enum LifecycleState { @@ -348,7 +348,7 @@ public static LifecycleState create(String key) { } }; /** - * The current state of the Autonomous Data Guard. + * The current state of Autonomous Data Guard. **/ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") LifecycleState lifecycleState; @@ -426,7 +426,7 @@ public static PeerRole create(String key) { @com.fasterxml.jackson.annotation.JsonProperty("peerRole") PeerRole peerRole; /** - * The current state of the Autonomous Data Guard. + * The current state of Autonomous Data Guard. **/ @lombok.extern.slf4j.Slf4j public enum PeerLifecycleState { @@ -476,7 +476,7 @@ public static PeerLifecycleState create(String key) { } }; /** - * The current state of the Autonomous Data Guard. + * The current state of Autonomous Data Guard. **/ @com.fasterxml.jackson.annotation.JsonProperty("peerLifecycleState") PeerLifecycleState peerLifecycleState; diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousContainerDatabaseSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousContainerDatabaseSummary.java index 31c3f72633a..3633b65eb06 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousContainerDatabaseSummary.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousContainerDatabaseSummary.java @@ -650,8 +650,8 @@ public static PatchModel create(String key) { MaintenanceWindow maintenanceWindow; /** - * The scheduling detail for the quarterly maintenance window of standby Autonomous Container Database. - * This value represents the number of days before the primary database maintenance schedule. + * The scheduling detail for the quarterly maintenance window of the standby Autonomous Container Database. + * This value represents the number of days before scheduled maintenance of the primary database. * **/ @com.fasterxml.jackson.annotation.JsonProperty("standbyMaintenanceBufferInDays") diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabase.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabase.java index 98ea7257686..1aeea1f814a 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabase.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabase.java @@ -1198,7 +1198,7 @@ public static DataSafeStatus create(String key) { @com.fasterxml.jackson.annotation.JsonProperty("dataSafeStatus") DataSafeStatus dataSafeStatus; /** - * Status of the Operations Insights for this Autonomous Database. + * Status of Operations Insights for this Autonomous Database. **/ @lombok.extern.slf4j.Slf4j public enum OperationsInsightsStatus { @@ -1248,7 +1248,7 @@ public static OperationsInsightsStatus create(String key) { } }; /** - * Status of the Operations Insights for this Autonomous Database. + * Status of Operations Insights for this Autonomous Database. **/ @com.fasterxml.jackson.annotation.JsonProperty("operationsInsightsStatus") OperationsInsightsStatus operationsInsightsStatus; diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseDataguardAssociation.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseDataguardAssociation.java index 081e3211ff0..ab5ae136ac8 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseDataguardAssociation.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseDataguardAssociation.java @@ -286,7 +286,7 @@ public static Role create(String key) { @com.fasterxml.jackson.annotation.JsonProperty("role") Role role; /** - * The current state of the Autonomous Data Guard. + * The current state of Autonomous Data Guard. **/ @lombok.extern.slf4j.Slf4j public enum LifecycleState { @@ -336,7 +336,7 @@ public static LifecycleState create(String key) { } }; /** - * The current state of the Autonomous Data Guard. + * The current state of Autonomous Data Guard. **/ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") LifecycleState lifecycleState; @@ -407,7 +407,7 @@ public static PeerRole create(String key) { @com.fasterxml.jackson.annotation.JsonProperty("peerAutonomousDatabaseId") String peerAutonomousDatabaseId; /** - * The current state of the Autonomous Data Guard. + * The current state of Autonomous Data Guard. **/ @lombok.extern.slf4j.Slf4j public enum PeerAutonomousDatabaseLifeCycleState { @@ -458,7 +458,7 @@ public static PeerAutonomousDatabaseLifeCycleState create(String key) { } }; /** - * The current state of the Autonomous Data Guard. + * The current state of Autonomous Data Guard. **/ @com.fasterxml.jackson.annotation.JsonProperty("peerAutonomousDatabaseLifeCycleState") PeerAutonomousDatabaseLifeCycleState peerAutonomousDatabaseLifeCycleState; diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseSummary.java index a9620fec118..a6d884e2dc4 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseSummary.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseSummary.java @@ -1200,7 +1200,7 @@ public static DataSafeStatus create(String key) { @com.fasterxml.jackson.annotation.JsonProperty("dataSafeStatus") DataSafeStatus dataSafeStatus; /** - * Status of the Operations Insights for this Autonomous Database. + * Status of Operations Insights for this Autonomous Database. **/ @lombok.extern.slf4j.Slf4j public enum OperationsInsightsStatus { @@ -1250,7 +1250,7 @@ public static OperationsInsightsStatus create(String key) { } }; /** - * Status of the Operations Insights for this Autonomous Database. + * Status of Operations Insights for this Autonomous Database. **/ @com.fasterxml.jackson.annotation.JsonProperty("operationsInsightsStatus") OperationsInsightsStatus operationsInsightsStatus; diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/ChangeCloudExadataInfrastructureCompartmentDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/ChangeCloudExadataInfrastructureCompartmentDetails.java index ad4a67d0bab..2676c5af8f3 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/ChangeCloudExadataInfrastructureCompartmentDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/ChangeCloudExadataInfrastructureCompartmentDetails.java @@ -5,7 +5,7 @@ package com.oracle.bmc.database.model; /** - * The configuration details for moving the resource. + * The configuration details for moving the cloud Exadata infrastructure resource to another compartment. Applies to Exadata Cloud Service instances only. * *
* Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/ChangeCloudVmClusterCompartmentDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/ChangeCloudVmClusterCompartmentDetails.java index ed0cf0ca05b..bd9a36bfdfb 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/ChangeCloudVmClusterCompartmentDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/ChangeCloudVmClusterCompartmentDetails.java @@ -5,7 +5,7 @@ package com.oracle.bmc.database.model; /** - * The configuration details for moving the cloud VM cluster to another compartment. + * The configuration details for moving the cloud VM cluster to another compartment. Applies to Exadata Cloud Service instances only. * *
* Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudExadataInfrastructure.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudExadataInfrastructure.java index 6b39558b419..c004ad22430 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudExadataInfrastructure.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudExadataInfrastructure.java @@ -5,7 +5,8 @@ package com.oracle.bmc.database.model; /** - * Details of the cloud Exadata infrastructure resource. + * Details of the cloud Exadata infrastructure resource. Applies to Exadata Cloud Service instances only. + * *
* 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 diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudExadataInfrastructureSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudExadataInfrastructureSummary.java index cf456734f5b..b3f07839b6a 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudExadataInfrastructureSummary.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudExadataInfrastructureSummary.java @@ -5,7 +5,8 @@ package com.oracle.bmc.database.model; /** - * Details of the cloud Exadata infrastructure resource. + * Details of the cloud Exadata infrastructure resource. Applies to Exadata Cloud Service instances only. + * *
* 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 diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudVmCluster.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudVmCluster.java index 20b1862a320..472cec3a32d 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudVmCluster.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudVmCluster.java @@ -5,7 +5,7 @@ package com.oracle.bmc.database.model; /** - * Details of the cloud VM cluster. + * Details of the cloud VM cluster. Applies to Exadata Cloud Service instances only. * *
* Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudVmClusterSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudVmClusterSummary.java index 1ded438ab74..f2cc9d281d6 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudVmClusterSummary.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudVmClusterSummary.java @@ -5,7 +5,7 @@ package com.oracle.bmc.database.model; /** - * Details of the cloud VM cluster. + * Details of the cloud VM cluster. Applies to Exadata Cloud Service instances only. * *
* Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousContainerDatabaseDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousContainerDatabaseDetails.java index 41fe23c1e55..1b7920ee65e 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousContainerDatabaseDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousContainerDatabaseDetails.java @@ -504,7 +504,7 @@ public static PatchModel create(String key) { /** * The scheduling detail for the quarterly maintenance window of the standby Autonomous Container Database. - * This value represents the number of days before the primary database maintenance schedule. + * This value represents the number of days before scheduled maintenance of the primary database. * **/ @com.fasterxml.jackson.annotation.JsonProperty("standbyMaintenanceBufferInDays") diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCloudExadataInfrastructureDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCloudExadataInfrastructureDetails.java index bad280c5164..bdb54663a73 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCloudExadataInfrastructureDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCloudExadataInfrastructureDetails.java @@ -5,7 +5,7 @@ package com.oracle.bmc.database.model; /** - * Request to create cloud Exadata infrastructure. + * Request to create cloud Exadata infrastructure. Applies to Exadata Cloud Service instances only. * *
* Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCloudVmClusterDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCloudVmClusterDetails.java index a8033c1d9a1..da34e847af4 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCloudVmClusterDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCloudVmClusterDetails.java @@ -5,7 +5,7 @@ package com.oracle.bmc.database.model; /** - * Details for the create cloud VM cluster operation. + * Details for the create cloud VM cluster operation. Applies to Exadata Cloud Service instances only. * *
* Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields @@ -353,6 +353,7 @@ public static Builder builder() { * A domain name used for the cloud VM cluster. If the Oracle-provided internet and VCN * resolver is enabled for the specified subnet, the domain name for the subnet is used * (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted. + * Applies to Exadata Cloud Service instances only. * **/ @com.fasterxml.jackson.annotation.JsonProperty("domain") diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateExadataInfrastructureDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateExadataInfrastructureDetails.java index 454a2b7db6f..0d9353a0af5 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateExadataInfrastructureDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateExadataInfrastructureDetails.java @@ -5,7 +5,8 @@ package com.oracle.bmc.database.model; /** - * Request to create Exadata Cloud@Customer infrastructure resource. + * Request to create Exadata infrastructure resource. Applies to Exadata Cloud@Customer instances only. + * See {@link #createCloudExadataInfrastructureDetails(CreateCloudExadataInfrastructureDetailsRequest) createCloudExadataInfrastructureDetails} for information on creating a cloud Exadata infrastructure resource in an Exadata Cloud Service instance. * *
* Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields @@ -135,6 +136,15 @@ public Builder contacts(java.util.List contacts) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("maintenanceWindow") + private MaintenanceWindow maintenanceWindow; + + public Builder maintenanceWindow(MaintenanceWindow maintenanceWindow) { + this.maintenanceWindow = maintenanceWindow; + this.__explicitlySet__.add("maintenanceWindow"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("dnsServer") private java.util.List dnsServer; @@ -190,6 +200,7 @@ public CreateExadataInfrastructureDetails build() { infiniBandNetworkCIDR, corporateProxy, contacts, + maintenanceWindow, dnsServer, ntpServer, freeformTags, @@ -213,6 +224,7 @@ public Builder copy(CreateExadataInfrastructureDetails o) { .infiniBandNetworkCIDR(o.getInfiniBandNetworkCIDR()) .corporateProxy(o.getCorporateProxy()) .contacts(o.getContacts()) + .maintenanceWindow(o.getMaintenanceWindow()) .dnsServer(o.getDnsServer()) .ntpServer(o.getNtpServer()) .freeformTags(o.getFreeformTags()) @@ -308,6 +320,9 @@ public static Builder builder() { @com.fasterxml.jackson.annotation.JsonProperty("contacts") java.util.List contacts; + @com.fasterxml.jackson.annotation.JsonProperty("maintenanceWindow") + MaintenanceWindow maintenanceWindow; + /** * The list of DNS server IP addresses. Maximum of 3 allowed. **/ diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateVmClusterDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateVmClusterDetails.java index 383a0d4ed1c..218c547ae9d 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateVmClusterDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateVmClusterDetails.java @@ -5,7 +5,8 @@ package com.oracle.bmc.database.model; /** - * Details for the create Exadata Cloud@Customer VM cluster operation. + * Details for the create Exadata VM cluster operation. Applies to Exadata Cloud@Customer instances only. + * For details on the create cloud Exadata VM cluster operation used with Exadata Cloud Service instances, see {@link #createCloudVmClusterDetails(CreateCloudVmClusterDetailsRequest) createCloudVmClusterDetails} * *
* Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/ExadataDbSystemMigration.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/ExadataDbSystemMigration.java index 873c67e9603..8dab342703d 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/ExadataDbSystemMigration.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/ExadataDbSystemMigration.java @@ -5,7 +5,7 @@ package com.oracle.bmc.database.model; /** - * Information about the Exadata DB system migration. The migration is used to move the system to the Exadata infrastructure resource model. + * Information about the Exadata DB system migration. The migration is used to move the Exadata Cloud Service instance from the DB system resource model to the new cloud Exadata infrastructure resource model. * *
* Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/ExadataDbSystemMigrationSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/ExadataDbSystemMigrationSummary.java index 5d1b8bbdc8b..222128da4d4 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/ExadataDbSystemMigrationSummary.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/ExadataDbSystemMigrationSummary.java @@ -5,7 +5,7 @@ package com.oracle.bmc.database.model; /** - * Information about Exadata DB system migration. The migration is used to move the system to the Exadata infrastructure resource model. + * Information about the Exadata DB system migration. The migration is used to move the Exadata Cloud Service instance from the DB system resource model to the new cloud Exadata infrastructure resource model. * *
* Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/ExadataInfrastructure.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/ExadataInfrastructure.java index 1b0b75630d5..77bbdadfe83 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/ExadataInfrastructure.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/ExadataInfrastructure.java @@ -269,6 +269,15 @@ public Builder contacts(java.util.List contacts) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("maintenanceWindow") + private MaintenanceWindow maintenanceWindow; + + public Builder maintenanceWindow(MaintenanceWindow maintenanceWindow) { + this.maintenanceWindow = maintenanceWindow; + this.__explicitlySet__.add("maintenanceWindow"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") private java.util.Map freeformTags; @@ -321,6 +330,7 @@ public ExadataInfrastructure build() { lifecycleDetails, csiNumber, contacts, + maintenanceWindow, freeformTags, definedTags); __instance__.__explicitlySet__.addAll(__explicitlySet__); @@ -357,6 +367,7 @@ public Builder copy(ExadataInfrastructure o) { .lifecycleDetails(o.getLifecycleDetails()) .csiNumber(o.getCsiNumber()) .contacts(o.getContacts()) + .maintenanceWindow(o.getMaintenanceWindow()) .freeformTags(o.getFreeformTags()) .definedTags(o.getDefinedTags()); @@ -398,6 +409,7 @@ public enum LifecycleState { Deleting("DELETING"), Deleted("DELETED"), Disconnected("DISCONNECTED"), + MaintenanceInProgress("MAINTENANCE_IN_PROGRESS"), /** * This value is used if a service returns a value for this enum that is not recognized by this @@ -589,6 +601,9 @@ public static LifecycleState create(String key) { @com.fasterxml.jackson.annotation.JsonProperty("contacts") java.util.List contacts; + @com.fasterxml.jackson.annotation.JsonProperty("maintenanceWindow") + MaintenanceWindow maintenanceWindow; + /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. * For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/ExadataInfrastructureSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/ExadataInfrastructureSummary.java index fcc85edd5f3..57947e8cd01 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/ExadataInfrastructureSummary.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/ExadataInfrastructureSummary.java @@ -5,7 +5,9 @@ package com.oracle.bmc.database.model; /** - * Details of the Exadata Cloud@Customer infrastructure. + * Details of the Exadata Cloud@Customer infrastructure. Applies to Exadata Cloud@Customer instances only. + * See {@link #cloudExadataInfrastructureSummary(CloudExadataInfrastructureSummaryRequest) cloudExadataInfrastructureSummary} for details of the cloud Exadata infrastructure resource used by Exadata Cloud Service instances. + * *
* 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 @@ -269,6 +271,15 @@ public Builder contacts(java.util.List contacts) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("maintenanceWindow") + private MaintenanceWindow maintenanceWindow; + + public Builder maintenanceWindow(MaintenanceWindow maintenanceWindow) { + this.maintenanceWindow = maintenanceWindow; + this.__explicitlySet__.add("maintenanceWindow"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") private java.util.Map freeformTags; @@ -321,6 +332,7 @@ public ExadataInfrastructureSummary build() { lifecycleDetails, csiNumber, contacts, + maintenanceWindow, freeformTags, definedTags); __instance__.__explicitlySet__.addAll(__explicitlySet__); @@ -357,6 +369,7 @@ public Builder copy(ExadataInfrastructureSummary o) { .lifecycleDetails(o.getLifecycleDetails()) .csiNumber(o.getCsiNumber()) .contacts(o.getContacts()) + .maintenanceWindow(o.getMaintenanceWindow()) .freeformTags(o.getFreeformTags()) .definedTags(o.getDefinedTags()); @@ -398,6 +411,7 @@ public enum LifecycleState { Deleting("DELETING"), Deleted("DELETED"), Disconnected("DISCONNECTED"), + MaintenanceInProgress("MAINTENANCE_IN_PROGRESS"), /** * This value is used if a service returns a value for this enum that is not recognized by this @@ -589,6 +603,9 @@ public static LifecycleState create(String key) { @com.fasterxml.jackson.annotation.JsonProperty("contacts") java.util.List contacts; + @com.fasterxml.jackson.annotation.JsonProperty("maintenanceWindow") + MaintenanceWindow maintenanceWindow; + /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. * For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/GenerateRecommendedNetworkDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/GenerateRecommendedNetworkDetails.java index 26f277256e5..60f2880a691 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/GenerateRecommendedNetworkDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/GenerateRecommendedNetworkDetails.java @@ -5,7 +5,7 @@ package com.oracle.bmc.database.model; /** - * Generates a recommended VM cluster network configuration for an Exadata Cloud@Customer system. + * Generates a recommended VM cluster network configuration for an Exadata Cloud@Customer system. Applies to Exadata Cloud@Customer instances only. * *
* Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/MaintenanceRun.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/MaintenanceRun.java index 70b5f48eec5..564fab839c9 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/MaintenanceRun.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/MaintenanceRun.java @@ -329,6 +329,7 @@ public enum TargetResourceType { AutonomousContainerDatabase("AUTONOMOUS_CONTAINER_DATABASE"), ExadataDbSystem("EXADATA_DB_SYSTEM"), CloudExadataInfrastructure("CLOUD_EXADATA_INFRASTRUCTURE"), + ExaccInfrastructure("EXACC_INFRASTRUCTURE"), /** * This value is used if a service returns a value for this enum that is not recognized by this diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/MaintenanceRunSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/MaintenanceRunSummary.java index bc88e018e97..52b10ad064b 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/MaintenanceRunSummary.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/MaintenanceRunSummary.java @@ -331,6 +331,7 @@ public enum TargetResourceType { AutonomousContainerDatabase("AUTONOMOUS_CONTAINER_DATABASE"), ExadataDbSystem("EXADATA_DB_SYSTEM"), CloudExadataInfrastructure("CLOUD_EXADATA_INFRASTRUCTURE"), + ExaccInfrastructure("EXACC_INFRASTRUCTURE"), /** * This value is used if a service returns a value for this enum that is not recognized by this diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateAutonomousContainerDatabaseDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateAutonomousContainerDatabaseDetails.java index 2dae55bd09d..8bb059ef2ff 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateAutonomousContainerDatabaseDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateAutonomousContainerDatabaseDetails.java @@ -182,7 +182,7 @@ public static PatchModel create(String key) { /** * The scheduling detail for the quarterly maintenance window of the standby Autonomous Container Database. - * This value represents the number of days before the primary database maintenance schedule. + * This value represents the number of days before schedlued maintenance of the primary database. * **/ @com.fasterxml.jackson.annotation.JsonProperty("standbyMaintenanceBufferInDays") diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateCloudExadataInfrastructureDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateCloudExadataInfrastructureDetails.java index 9c3590a45f2..d678f77969a 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateCloudExadataInfrastructureDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateCloudExadataInfrastructureDetails.java @@ -5,7 +5,7 @@ package com.oracle.bmc.database.model; /** - * Updates the cloud Exadata infrastructure. + * Updates the cloud Exadata infrastructure. Applies to Exadata Cloud Service instances only. * *
* Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateCloudVmClusterDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateCloudVmClusterDetails.java index 652bf0f4504..45fb36420ea 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateCloudVmClusterDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateCloudVmClusterDetails.java @@ -5,7 +5,8 @@ package com.oracle.bmc.database.model; /** - * Details for updating the cloud VM cluster. + * Details for updating the cloud VM cluster. Applies to Exadata Cloud Service instances only. + * *
* 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 @@ -187,7 +188,7 @@ public static Builder builder() { @com.fasterxml.jackson.annotation.JsonProperty("cpuCoreCount") Integer cpuCoreCount; /** - * The Oracle license model that applies to the cloud VM cluster. The default is BRING_YOUR_OWN_LICENSE. + * The Oracle license model that applies to the cloud VM cluster. The default is BRING_YOUR_OWN_LICENSE. Applies to Exadata Cloud Service instances only. * **/ public enum LicenseModel { @@ -223,7 +224,7 @@ public static LicenseModel create(String key) { } }; /** - * The Oracle license model that applies to the cloud VM cluster. The default is BRING_YOUR_OWN_LICENSE. + * The Oracle license model that applies to the cloud VM cluster. The default is BRING_YOUR_OWN_LICENSE. Applies to Exadata Cloud Service instances only. * **/ @com.fasterxml.jackson.annotation.JsonProperty("licenseModel") diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateDetails.java index 6c4f8d78a9e..762551a504e 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateDetails.java @@ -5,7 +5,7 @@ package com.oracle.bmc.database.model; /** - * Details specifying which maintenance update to apply to the target and which actions are to be performed by the maintenance update. + * Details specifying which maintenance update to apply to the cloud VM cluster and which actions are to be performed by the maintenance update. Applies to Exadata Cloud Service instances only. * *
* Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateExadataInfrastructureDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateExadataInfrastructureDetails.java index 5949dc83511..f111802cdab 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateExadataInfrastructureDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateExadataInfrastructureDetails.java @@ -5,7 +5,8 @@ package com.oracle.bmc.database.model; /** - * Updates the Exadata Cloud@Customer infrastructure. + * Updates the Exadata infrastructure. Applies to Exadata Cloud@Customer instances only. + * See {@link #updateCloudExadataInfrastructureDetails(UpdateCloudExadataInfrastructureDetailsRequest) updateCloudExadataInfrastructureDetails} for information on updating Exadata Cloud Service cloud Exadata infrastructure resources. * *
* Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields @@ -99,6 +100,15 @@ public Builder contacts(java.util.List contacts) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("maintenanceWindow") + private MaintenanceWindow maintenanceWindow; + + public Builder maintenanceWindow(MaintenanceWindow maintenanceWindow) { + this.maintenanceWindow = maintenanceWindow; + this.__explicitlySet__.add("maintenanceWindow"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("dnsServer") private java.util.List dnsServer; @@ -159,6 +169,7 @@ public UpdateExadataInfrastructureDetails build() { infiniBandNetworkCIDR, corporateProxy, contacts, + maintenanceWindow, dnsServer, ntpServer, timeZone, @@ -179,6 +190,7 @@ public Builder copy(UpdateExadataInfrastructureDetails o) { .infiniBandNetworkCIDR(o.getInfiniBandNetworkCIDR()) .corporateProxy(o.getCorporateProxy()) .contacts(o.getContacts()) + .maintenanceWindow(o.getMaintenanceWindow()) .dnsServer(o.getDnsServer()) .ntpServer(o.getNtpServer()) .timeZone(o.getTimeZone()) @@ -245,6 +257,9 @@ public static Builder builder() { @com.fasterxml.jackson.annotation.JsonProperty("contacts") java.util.List contacts; + @com.fasterxml.jackson.annotation.JsonProperty("maintenanceWindow") + MaintenanceWindow maintenanceWindow; + /** * The list of DNS server IP addresses. Maximum of 3 allowed. **/ diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateHistoryEntrySummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateHistoryEntrySummary.java index b07237d97c1..c4fee548ac7 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateHistoryEntrySummary.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateHistoryEntrySummary.java @@ -5,7 +5,8 @@ package com.oracle.bmc.database.model; /** - * The record of an update action on a specified target. + * The record of an maintenance update action on a specified cloud VM cluster. Applies to Exadata Cloud Service instances only. + * *
* 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 diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateSummary.java index 3833da2d039..fcfd5343f49 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateSummary.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateSummary.java @@ -5,7 +5,7 @@ package com.oracle.bmc.database.model; /** - * A maintenance update for a cloud VM cluster. + * A maintenance update for a cloud VM cluster. Applies to Exadata Cloud Service instances only. *

* To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, * talk to an administrator. If you're an administrator who needs to write policies to give users access, diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateVmClusterDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateVmClusterDetails.java index d482cb55790..45cf7cb06d0 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateVmClusterDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateVmClusterDetails.java @@ -5,7 +5,9 @@ package com.oracle.bmc.database.model; /** - * Details for updating the Exadata Cloud@Customer VM cluster. + * Details for updating the VM cluster. Applies to Exadata Cloud@Customer instances only. + * For details on updating a cloud VM cluster in an Exadata Cloud Service instance, see {@link #updateCloudVmClusterDetails(UpdateCloudVmClusterDetailsRequest) updateCloudVmClusterDetails} + * *
* 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 diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateVmClusterNetworkDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateVmClusterNetworkDetails.java index a082225b623..251586ab95e 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateVmClusterNetworkDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateVmClusterNetworkDetails.java @@ -5,7 +5,7 @@ package com.oracle.bmc.database.model; /** - * Details for an Exadata Cloud@Customer VM cluster network. + * Details for an Exadata VM cluster network. Applies to Exadata Cloud@Customer instances only. * *
* Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/VmCluster.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/VmCluster.java index e3978c5b264..dbd6be545e7 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/VmCluster.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/VmCluster.java @@ -5,7 +5,7 @@ package com.oracle.bmc.database.model; /** - * Details of the Exadata Cloud@Customer VM cluster. + * Details of the VM cluster resource. Applies to Exadata Cloud@Customer instances only. * *
* Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields @@ -322,6 +322,7 @@ public enum LifecycleState { Terminating("TERMINATING"), Terminated("TERMINATED"), Failed("FAILED"), + MaintenanceInProgress("MAINTENANCE_IN_PROGRESS"), /** * This value is used if a service returns a value for this enum that is not recognized by this diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/VmClusterNetworkDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/VmClusterNetworkDetails.java index bac75829206..d00747d377b 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/VmClusterNetworkDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/VmClusterNetworkDetails.java @@ -5,7 +5,7 @@ package com.oracle.bmc.database.model; /** - * Details for an Exadata Cloud@Customer VM cluster network. + * Details for an Exadata VM cluster network. Applies to Exadata Cloud@Customer instances only. * *
* Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/VmClusterNetworkSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/VmClusterNetworkSummary.java index a5246e2a868..fc378672389 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/VmClusterNetworkSummary.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/VmClusterNetworkSummary.java @@ -5,7 +5,8 @@ package com.oracle.bmc.database.model; /** - * Details of the Exadata Cloud@Customer VM cluster network. + * Details of the VM cluster network. Applies to Exadata Cloud@Customer instances only. + * *
* 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 diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/VmClusterSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/VmClusterSummary.java index f5f01f94fda..271a99142d4 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/VmClusterSummary.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/VmClusterSummary.java @@ -322,6 +322,7 @@ public enum LifecycleState { Terminating("TERMINATING"), Terminated("TERMINATED"), Failed("FAILED"), + MaintenanceInProgress("MAINTENANCE_IN_PROGRESS"), /** * This value is used if a service returns a value for this enum that is not recognized by this diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/VmNetworkDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/VmNetworkDetails.java index 174e7e0393a..1bf5738351e 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/VmNetworkDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/VmNetworkDetails.java @@ -5,7 +5,8 @@ package com.oracle.bmc.database.model; /** - * Details of the client or backup networks in an Exadata Cloud@Customer VM cluster network. + * Details of the client or backup networks in an Exadata VM cluster network. Applies to Exadata Cloud@Customer instances only. + * *
* 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 diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/requests/CreateCloudExadataInfrastructureRequest.java b/bmc-database/src/main/java/com/oracle/bmc/database/requests/CreateCloudExadataInfrastructureRequest.java index 23ce1c8f577..c4583103c00 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/requests/CreateCloudExadataInfrastructureRequest.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/requests/CreateCloudExadataInfrastructureRequest.java @@ -13,7 +13,8 @@ public class CreateCloudExadataInfrastructureRequest extends com.oracle.bmc.requests.BmcRequest { /** - * Request to create cloud Exadata infrastructure. + * Request to create a cloud Exadata infrastructure resource in an [Exadata Cloud Service](https://docs.cloud.oracle.com/Content/Database/Concepts/exaoverview.htm) instance. + * */ private CreateCloudExadataInfrastructureDetails createCloudExadataInfrastructureDetails; diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/requests/CreateCloudVmClusterRequest.java b/bmc-database/src/main/java/com/oracle/bmc/database/requests/CreateCloudVmClusterRequest.java index 38f6975ec12..6827304f30c 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/requests/CreateCloudVmClusterRequest.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/requests/CreateCloudVmClusterRequest.java @@ -13,7 +13,8 @@ public class CreateCloudVmClusterRequest extends com.oracle.bmc.requests.BmcRequest { /** - * Request to create a cloud VM cluster. + * Request to create a cloud VM cluster. Applies to Exadata Cloud Service instances only. See [The New Exadata Cloud Service Resource Model](https://docs.cloud.oracle.com/iaas/Content/Database/Concepts/exaflexsystem.htm#exaflexsystem_topic-resource_model) for information on this resource type. + * */ private CreateCloudVmClusterDetails createCloudVmClusterDetails; diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/requests/CreateVmClusterRequest.java b/bmc-database/src/main/java/com/oracle/bmc/database/requests/CreateVmClusterRequest.java index cb94af1ad19..b606fa8f375 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/requests/CreateVmClusterRequest.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/requests/CreateVmClusterRequest.java @@ -13,7 +13,9 @@ public class CreateVmClusterRequest extends com.oracle.bmc.requests.BmcRequest { /** - * Request to create an Exadata Cloud@Customer VM cluster. + * Request to create a VM cluster. Applies to Exadata Cloud@Customer instances only. + * See {@link #createCloudVmClusterDetails(CreateCloudVmClusterDetailsRequest) createCloudVmClusterDetails} for details on creating a cloud VM cluster in an Exadata Cloud Service instance. + * */ private CreateVmClusterDetails createVmClusterDetails; diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/requests/RotateOrdsCertsRequest.java b/bmc-database/src/main/java/com/oracle/bmc/database/requests/RotateOrdsCertsRequest.java new file mode 100644 index 00000000000..5234c411621 --- /dev/null +++ b/bmc-database/src/main/java/com/oracle/bmc/database/requests/RotateOrdsCertsRequest.java @@ -0,0 +1,104 @@ +/** + * Copyright (c) 2016, 2020, 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.*; + +@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@lombok.Builder(builderClassName = "Builder", buildMethodName = "buildWithoutInvocationCallback") +@lombok.Getter +public class RotateOrdsCertsRequest extends com.oracle.bmc.requests.BmcRequest { + + /** + * The Autonomous Exadata Infrastructure [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). + */ + private String autonomousExadataInfrastructureId; + + /** + * Unique identifier for the request. + * + */ + private String 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; + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `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; + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + RotateOrdsCertsRequest, java.lang.Void> { + private com.oracle.bmc.util.internal.Consumer + invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * 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.util.internal.Consumer + 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(RotateOrdsCertsRequest o) { + autonomousExadataInfrastructureId(o.getAutonomousExadataInfrastructureId()); + opcRequestId(o.getOpcRequestId()); + opcRetryToken(o.getOpcRetryToken()); + ifMatch(o.getIfMatch()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of RotateOrdsCertsRequest as configured by this builder + * + * Note that this method takes calls to {@link Builder#invocationCallback(com.oracle.bmc.util.internal.Consumer)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + * This is the preferred method to build an instance. + * + * @return instance of RotateOrdsCertsRequest + */ + public RotateOrdsCertsRequest build() { + RotateOrdsCertsRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + } +} diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/requests/RotateSslCertsRequest.java b/bmc-database/src/main/java/com/oracle/bmc/database/requests/RotateSslCertsRequest.java new file mode 100644 index 00000000000..3dde4cb762e --- /dev/null +++ b/bmc-database/src/main/java/com/oracle/bmc/database/requests/RotateSslCertsRequest.java @@ -0,0 +1,104 @@ +/** + * Copyright (c) 2016, 2020, 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.*; + +@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@lombok.Builder(builderClassName = "Builder", buildMethodName = "buildWithoutInvocationCallback") +@lombok.Getter +public class RotateSslCertsRequest extends com.oracle.bmc.requests.BmcRequest { + + /** + * The Autonomous Exadata Infrastructure [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). + */ + private String autonomousExadataInfrastructureId; + + /** + * Unique identifier for the request. + * + */ + private String 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; + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `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; + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + RotateSslCertsRequest, java.lang.Void> { + private com.oracle.bmc.util.internal.Consumer + invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * 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.util.internal.Consumer + 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(RotateSslCertsRequest o) { + autonomousExadataInfrastructureId(o.getAutonomousExadataInfrastructureId()); + opcRequestId(o.getOpcRequestId()); + opcRetryToken(o.getOpcRetryToken()); + ifMatch(o.getIfMatch()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of RotateSslCertsRequest as configured by this builder + * + * Note that this method takes calls to {@link Builder#invocationCallback(com.oracle.bmc.util.internal.Consumer)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + * This is the preferred method to build an instance. + * + * @return instance of RotateSslCertsRequest + */ + public RotateSslCertsRequest build() { + RotateSslCertsRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + } +} diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/responses/DisableAutonomousDatabaseOperationsInsightsResponse.java b/bmc-database/src/main/java/com/oracle/bmc/database/responses/DisableAutonomousDatabaseOperationsInsightsResponse.java index 49e5c4c93ad..43e0b19dfb7 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/responses/DisableAutonomousDatabaseOperationsInsightsResponse.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/responses/DisableAutonomousDatabaseOperationsInsightsResponse.java @@ -18,8 +18,8 @@ public class DisableAutonomousDatabaseOperationsInsightsResponse { private String opcWorkRequestId; /** - * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about - * a particular request, please provide the request ID. + * Unique Oracle-assigned identifier for the request. If you must contact Oracle about + * a particular request, then provide the request ID. * */ private String opcRequestId; diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/responses/RotateOrdsCertsResponse.java b/bmc-database/src/main/java/com/oracle/bmc/database/responses/RotateOrdsCertsResponse.java new file mode 100644 index 00000000000..d0de14e7316 --- /dev/null +++ b/bmc-database/src/main/java/com/oracle/bmc/database/responses/RotateOrdsCertsResponse.java @@ -0,0 +1,39 @@ +/** + * Copyright (c) 2016, 2020, 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.*; + +@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@lombok.Builder(builderClassName = "Builder") +@lombok.Getter +public class RotateOrdsCertsResponse { + + /** + * The [OCID](https://docs.cloud.oracle.com/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; + + /** + * 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; + + public static class Builder { + /** + * Copy method to populate the builder with values from the given instance. + * @return this builder instance + */ + public Builder copy(RotateOrdsCertsResponse o) { + opcWorkRequestId(o.getOpcWorkRequestId()); + opcRequestId(o.getOpcRequestId()); + + return this; + } + } +} diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/responses/RotateSslCertsResponse.java b/bmc-database/src/main/java/com/oracle/bmc/database/responses/RotateSslCertsResponse.java new file mode 100644 index 00000000000..140bca43821 --- /dev/null +++ b/bmc-database/src/main/java/com/oracle/bmc/database/responses/RotateSslCertsResponse.java @@ -0,0 +1,39 @@ +/** + * Copyright (c) 2016, 2020, 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.*; + +@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@lombok.Builder(builderClassName = "Builder") +@lombok.Getter +public class RotateSslCertsResponse { + + /** + * The [OCID](https://docs.cloud.oracle.com/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; + + /** + * 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; + + public static class Builder { + /** + * Copy method to populate the builder with values from the given instance. + * @return this builder instance + */ + public Builder copy(RotateSslCertsResponse o) { + opcWorkRequestId(o.getOpcWorkRequestId()); + opcRequestId(o.getOpcRequestId()); + + return this; + } + } +} diff --git a/bmc-datacatalog/pom.xml b/bmc-datacatalog/pom.xml index f64d6b5e365..98b0156739d 100644 --- a/bmc-datacatalog/pom.xml +++ b/bmc-datacatalog/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-datacatalog @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 \ No newline at end of file diff --git a/bmc-dataflow/pom.xml b/bmc-dataflow/pom.xml index 69bcb571637..0488697749a 100644 --- a/bmc-dataflow/pom.xml +++ b/bmc-dataflow/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-dataflow @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 \ No newline at end of file diff --git a/bmc-dataintegration/pom.xml b/bmc-dataintegration/pom.xml index 168aeb8b809..3455c70166e 100644 --- a/bmc-dataintegration/pom.xml +++ b/bmc-dataintegration/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-dataintegration @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 \ No newline at end of file diff --git a/bmc-datasafe/pom.xml b/bmc-datasafe/pom.xml index 5099e923df7..2d36e47dded 100644 --- a/bmc-datasafe/pom.xml +++ b/bmc-datasafe/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-datasafe @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 \ No newline at end of file diff --git a/bmc-datascience/pom.xml b/bmc-datascience/pom.xml index 5d9162a00d0..cdafc6690aa 100644 --- a/bmc-datascience/pom.xml +++ b/bmc-datascience/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-datascience @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 \ No newline at end of file diff --git a/bmc-dns/pom.xml b/bmc-dns/pom.xml index 565b82a0ed8..908f279ec8d 100644 --- a/bmc-dns/pom.xml +++ b/bmc-dns/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml @@ -19,7 +19,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 diff --git a/bmc-dts/pom.xml b/bmc-dts/pom.xml index ec5bac3ffbd..69bd74cc7ee 100644 --- a/bmc-dts/pom.xml +++ b/bmc-dts/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-dts @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 \ No newline at end of file diff --git a/bmc-email/pom.xml b/bmc-email/pom.xml index 8aaf6a0b468..1480646a9b2 100644 --- a/bmc-email/pom.xml +++ b/bmc-email/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 diff --git a/bmc-encryption/pom.xml b/bmc-encryption/pom.xml index e9caa62deaa..826f0f3624e 100644 --- a/bmc-encryption/pom.xml +++ b/bmc-encryption/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml @@ -25,17 +25,17 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 com.oracle.oci.sdk oci-java-sdk-circuitbreaker - 1.27.0 + 1.27.1 com.oracle.oci.sdk oci-java-sdk-keymanagement - 1.27.0 + 1.27.1 com.fasterxml.jackson.datatype diff --git a/bmc-events/pom.xml b/bmc-events/pom.xml index 53f15807ed3..5a55bf0df8a 100644 --- a/bmc-events/pom.xml +++ b/bmc-events/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-events @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 \ No newline at end of file diff --git a/bmc-examples/pom.xml b/bmc-examples/pom.xml index 96610d22b59..097874b7ad3 100644 --- a/bmc-examples/pom.xml +++ b/bmc-examples/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml @@ -31,7 +31,7 @@ com.oracle.oci.sdk oci-java-sdk-bom - 1.27.0 + 1.27.1 pom import diff --git a/bmc-filestorage/pom.xml b/bmc-filestorage/pom.xml index 6b06b35db6d..359db0c94bc 100644 --- a/bmc-filestorage/pom.xml +++ b/bmc-filestorage/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml @@ -19,7 +19,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 diff --git a/bmc-full/pom.xml b/bmc-full/pom.xml index 307e0b05c22..2c51bc46aea 100644 --- a/bmc-full/pom.xml +++ b/bmc-full/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-full @@ -16,7 +16,7 @@ com.oracle.oci.sdk oci-java-sdk-bom - 1.27.0 + 1.27.1 pom import diff --git a/bmc-functions/pom.xml b/bmc-functions/pom.xml index 62f9971820c..4aa198801c7 100644 --- a/bmc-functions/pom.xml +++ b/bmc-functions/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-functions @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 \ No newline at end of file diff --git a/bmc-healthchecks/pom.xml b/bmc-healthchecks/pom.xml index 98fc2d5de87..1be57c2f1ba 100644 --- a/bmc-healthchecks/pom.xml +++ b/bmc-healthchecks/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-healthchecks @@ -17,7 +17,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 diff --git a/bmc-identity/pom.xml b/bmc-identity/pom.xml index b5f4db33754..53d3c96cb27 100644 --- a/bmc-identity/pom.xml +++ b/bmc-identity/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml @@ -19,7 +19,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 diff --git a/bmc-identity/src/main/java/com/oracle/bmc/identity/model/Saml2IdentityProvider.java b/bmc-identity/src/main/java/com/oracle/bmc/identity/model/Saml2IdentityProvider.java index 093649ebd64..f28c8a3aac3 100644 --- a/bmc-identity/src/main/java/com/oracle/bmc/identity/model/Saml2IdentityProvider.java +++ b/bmc-identity/src/main/java/com/oracle/bmc/identity/model/Saml2IdentityProvider.java @@ -135,6 +135,15 @@ public Builder metadataUrl(String metadataUrl) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("metadata") + private String metadata; + + public Builder metadata(String metadata) { + this.metadata = metadata; + this.__explicitlySet__.add("metadata"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("signingCertificate") private String signingCertificate; @@ -179,6 +188,7 @@ public Saml2IdentityProvider build() { freeformTags, definedTags, metadataUrl, + metadata, signingCertificate, redirectUrl, freeformAttributes); @@ -200,6 +210,7 @@ public Builder copy(Saml2IdentityProvider o) { .freeformTags(o.getFreeformTags()) .definedTags(o.getDefinedTags()) .metadataUrl(o.getMetadataUrl()) + .metadata(o.getMetadata()) .signingCertificate(o.getSigningCertificate()) .redirectUrl(o.getRedirectUrl()) .freeformAttributes(o.getFreeformAttributes()); @@ -229,6 +240,7 @@ public Saml2IdentityProvider( java.util.Map freeformTags, java.util.Map> definedTags, String metadataUrl, + String metadata, String signingCertificate, String redirectUrl, java.util.Map freeformAttributes) { @@ -244,6 +256,7 @@ public Saml2IdentityProvider( freeformTags, definedTags); this.metadataUrl = metadataUrl; + this.metadata = metadata; this.signingCertificate = signingCertificate; this.redirectUrl = redirectUrl; this.freeformAttributes = freeformAttributes; @@ -257,6 +270,13 @@ public Saml2IdentityProvider( @com.fasterxml.jackson.annotation.JsonProperty("metadataUrl") String metadataUrl; + /** + * The XML that contains the information required for federating Identity with SAML2 Identity Provider. + * + **/ + @com.fasterxml.jackson.annotation.JsonProperty("metadata") + String metadata; + /** * The identity provider's signing certificate used by the IAM Service * to validate the SAML2 token. diff --git a/bmc-integration/pom.xml b/bmc-integration/pom.xml index 3061561276c..4209f16dc98 100644 --- a/bmc-integration/pom.xml +++ b/bmc-integration/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-integration @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 \ No newline at end of file diff --git a/bmc-integration/src/main/java/com/oracle/bmc/integration/model/CreateCustomEndpointDetails.java b/bmc-integration/src/main/java/com/oracle/bmc/integration/model/CreateCustomEndpointDetails.java new file mode 100644 index 00000000000..f46a07ea507 --- /dev/null +++ b/bmc-integration/src/main/java/com/oracle/bmc/integration/model/CreateCustomEndpointDetails.java @@ -0,0 +1,91 @@ +/** + * Copyright (c) 2016, 2020, 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.integration.model; + +/** + * Details for a custom endpoint for the integration instance (update). + *
+ * 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 #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take + * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__} + * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}). + **/ +@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190131") +@lombok.AllArgsConstructor(onConstructor = @__({@Deprecated})) +@lombok.Value +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = CreateCustomEndpointDetails.Builder.class +) +@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME) +@lombok.Builder(builderClassName = "Builder", toBuilder = true) +public class CreateCustomEndpointDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + @lombok.experimental.Accessors(fluent = true) + public static class Builder { + @com.fasterxml.jackson.annotation.JsonProperty("hostname") + private String hostname; + + public Builder hostname(String hostname) { + this.hostname = hostname; + this.__explicitlySet__.add("hostname"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("certificateSecretId") + private String certificateSecretId; + + public Builder certificateSecretId(String certificateSecretId) { + this.certificateSecretId = certificateSecretId; + this.__explicitlySet__.add("certificateSecretId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public CreateCustomEndpointDetails build() { + CreateCustomEndpointDetails __instance__ = + new CreateCustomEndpointDetails(hostname, certificateSecretId); + __instance__.__explicitlySet__.addAll(__explicitlySet__); + return __instance__; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(CreateCustomEndpointDetails o) { + Builder copiedBuilder = + hostname(o.getHostname()).certificateSecretId(o.getCertificateSecretId()); + + copiedBuilder.__explicitlySet__.retainAll(o.__explicitlySet__); + return copiedBuilder; + } + } + + /** + * Create a new builder. + */ + public static Builder builder() { + return new Builder(); + } + + /** + * A custom hostname to be used for the integration instance URL, in FQDN format. + **/ + @com.fasterxml.jackson.annotation.JsonProperty("hostname") + String hostname; + + /** + * Optional OCID of a vault/secret containing a private SSL certificate bundle to be used for the custom hostname. + * All certificates should be stored in a single base64 encoded secret + * Note the update will fail if this is not a valid certificate. + * + **/ + @com.fasterxml.jackson.annotation.JsonProperty("certificateSecretId") + String certificateSecretId; + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); +} diff --git a/bmc-integration/src/main/java/com/oracle/bmc/integration/model/CreateIntegrationInstanceDetails.java b/bmc-integration/src/main/java/com/oracle/bmc/integration/model/CreateIntegrationInstanceDetails.java index cd1b4779586..d4e503f56f3 100644 --- a/bmc-integration/src/main/java/com/oracle/bmc/integration/model/CreateIntegrationInstanceDetails.java +++ b/bmc-integration/src/main/java/com/oracle/bmc/integration/model/CreateIntegrationInstanceDetails.java @@ -99,6 +99,34 @@ public Builder messagePacks(Integer messagePacks) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("isVisualBuilderEnabled") + private Boolean isVisualBuilderEnabled; + + public Builder isVisualBuilderEnabled(Boolean isVisualBuilderEnabled) { + this.isVisualBuilderEnabled = isVisualBuilderEnabled; + this.__explicitlySet__.add("isVisualBuilderEnabled"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("customEndpoint") + private CreateCustomEndpointDetails customEndpoint; + + public Builder customEndpoint(CreateCustomEndpointDetails customEndpoint) { + this.customEndpoint = customEndpoint; + this.__explicitlySet__.add("customEndpoint"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("alternateCustomEndpoints") + private java.util.List alternateCustomEndpoints; + + public Builder alternateCustomEndpoints( + java.util.List alternateCustomEndpoints) { + this.alternateCustomEndpoints = alternateCustomEndpoints; + this.__explicitlySet__.add("alternateCustomEndpoints"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("consumptionModel") private ConsumptionModel consumptionModel; @@ -131,6 +159,9 @@ public CreateIntegrationInstanceDetails build() { isByol, idcsAt, messagePacks, + isVisualBuilderEnabled, + customEndpoint, + alternateCustomEndpoints, consumptionModel, isFileServerEnabled); __instance__.__explicitlySet__.addAll(__explicitlySet__); @@ -148,6 +179,9 @@ public Builder copy(CreateIntegrationInstanceDetails o) { .isByol(o.getIsByol()) .idcsAt(o.getIdcsAt()) .messagePacks(o.getMessagePacks()) + .isVisualBuilderEnabled(o.getIsVisualBuilderEnabled()) + .customEndpoint(o.getCustomEndpoint()) + .alternateCustomEndpoints(o.getAlternateCustomEndpoints()) .consumptionModel(o.getConsumptionModel()) .isFileServerEnabled(o.getIsFileServerEnabled()); @@ -250,6 +284,23 @@ public static IntegrationInstanceType create(String key) { **/ @com.fasterxml.jackson.annotation.JsonProperty("messagePacks") Integer messagePacks; + + /** + * Visual Builder is enabled or not. + **/ + @com.fasterxml.jackson.annotation.JsonProperty("isVisualBuilderEnabled") + Boolean isVisualBuilderEnabled; + + @com.fasterxml.jackson.annotation.JsonProperty("customEndpoint") + CreateCustomEndpointDetails customEndpoint; + + /** + * A list of alternate custom endpoints to be used for the integration instance URL + * (contact Oracle for alternateCustomEndpoints availability for a specific instance). + * + **/ + @com.fasterxml.jackson.annotation.JsonProperty("alternateCustomEndpoints") + java.util.List alternateCustomEndpoints; /** * Optional parameter specifying which entitlement to use for billing purposes. Only required if the account possesses more than one entitlement. **/ diff --git a/bmc-integration/src/main/java/com/oracle/bmc/integration/model/CustomEndpointDetails.java b/bmc-integration/src/main/java/com/oracle/bmc/integration/model/CustomEndpointDetails.java new file mode 100644 index 00000000000..e65d6e6539a --- /dev/null +++ b/bmc-integration/src/main/java/com/oracle/bmc/integration/model/CustomEndpointDetails.java @@ -0,0 +1,108 @@ +/** + * Copyright (c) 2016, 2020, 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.integration.model; + +/** + * Details for a custom endpoint for the integration instance. + *
+ * 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 #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take + * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__} + * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}). + **/ +@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190131") +@lombok.AllArgsConstructor(onConstructor = @__({@Deprecated})) +@lombok.Value +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = CustomEndpointDetails.Builder.class +) +@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME) +@lombok.Builder(builderClassName = "Builder", toBuilder = true) +public class CustomEndpointDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + @lombok.experimental.Accessors(fluent = true) + public static class Builder { + @com.fasterxml.jackson.annotation.JsonProperty("hostname") + private String hostname; + + public Builder hostname(String hostname) { + this.hostname = hostname; + this.__explicitlySet__.add("hostname"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("certificateSecretId") + private String certificateSecretId; + + public Builder certificateSecretId(String certificateSecretId) { + this.certificateSecretId = certificateSecretId; + this.__explicitlySet__.add("certificateSecretId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("certificateSecretVersion") + private Integer certificateSecretVersion; + + public Builder certificateSecretVersion(Integer certificateSecretVersion) { + this.certificateSecretVersion = certificateSecretVersion; + this.__explicitlySet__.add("certificateSecretVersion"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public CustomEndpointDetails build() { + CustomEndpointDetails __instance__ = + new CustomEndpointDetails( + hostname, certificateSecretId, certificateSecretVersion); + __instance__.__explicitlySet__.addAll(__explicitlySet__); + return __instance__; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(CustomEndpointDetails o) { + Builder copiedBuilder = + hostname(o.getHostname()) + .certificateSecretId(o.getCertificateSecretId()) + .certificateSecretVersion(o.getCertificateSecretVersion()); + + copiedBuilder.__explicitlySet__.retainAll(o.__explicitlySet__); + return copiedBuilder; + } + } + + /** + * Create a new builder. + */ + public static Builder builder() { + return new Builder(); + } + + /** + * A custom hostname to be used for the integration instance URL, in FQDN format. + **/ + @com.fasterxml.jackson.annotation.JsonProperty("hostname") + String hostname; + + /** + * Optional OCID of a vault/secret containing a private SSL certificate bundle to be used for the custom hostname. + * + **/ + @com.fasterxml.jackson.annotation.JsonProperty("certificateSecretId") + String certificateSecretId; + + /** + * The secret version used for the certificate-secret-id (if certificate-secret-id is specified). + * + **/ + @com.fasterxml.jackson.annotation.JsonProperty("certificateSecretVersion") + Integer certificateSecretVersion; + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); +} diff --git a/bmc-integration/src/main/java/com/oracle/bmc/integration/model/IntegrationInstance.java b/bmc-integration/src/main/java/com/oracle/bmc/integration/model/IntegrationInstance.java index 0e3b7c514d2..9b442766c6a 100644 --- a/bmc-integration/src/main/java/com/oracle/bmc/integration/model/IntegrationInstance.java +++ b/bmc-integration/src/main/java/com/oracle/bmc/integration/model/IntegrationInstance.java @@ -153,6 +153,34 @@ public Builder isFileServerEnabled(Boolean isFileServerEnabled) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("isVisualBuilderEnabled") + private Boolean isVisualBuilderEnabled; + + public Builder isVisualBuilderEnabled(Boolean isVisualBuilderEnabled) { + this.isVisualBuilderEnabled = isVisualBuilderEnabled; + this.__explicitlySet__.add("isVisualBuilderEnabled"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("customEndpoint") + private CustomEndpointDetails customEndpoint; + + public Builder customEndpoint(CustomEndpointDetails customEndpoint) { + this.customEndpoint = customEndpoint; + this.__explicitlySet__.add("customEndpoint"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("alternateCustomEndpoints") + private java.util.List alternateCustomEndpoints; + + public Builder alternateCustomEndpoints( + java.util.List alternateCustomEndpoints) { + this.alternateCustomEndpoints = alternateCustomEndpoints; + this.__explicitlySet__.add("alternateCustomEndpoints"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("consumptionModel") private ConsumptionModel consumptionModel; @@ -182,6 +210,9 @@ public IntegrationInstance build() { instanceUrl, messagePacks, isFileServerEnabled, + isVisualBuilderEnabled, + customEndpoint, + alternateCustomEndpoints, consumptionModel); __instance__.__explicitlySet__.addAll(__explicitlySet__); return __instance__; @@ -204,6 +235,9 @@ public Builder copy(IntegrationInstance o) { .instanceUrl(o.getInstanceUrl()) .messagePacks(o.getMessagePacks()) .isFileServerEnabled(o.getIsFileServerEnabled()) + .isVisualBuilderEnabled(o.getIsVisualBuilderEnabled()) + .customEndpoint(o.getCustomEndpoint()) + .alternateCustomEndpoints(o.getAlternateCustomEndpoints()) .consumptionModel(o.getConsumptionModel()); copiedBuilder.__explicitlySet__.retainAll(o.__explicitlySet__); @@ -402,6 +436,22 @@ public static LifecycleState create(String key) { **/ @com.fasterxml.jackson.annotation.JsonProperty("isFileServerEnabled") Boolean isFileServerEnabled; + + /** + * VisualBuilder is enabled or not. + **/ + @com.fasterxml.jackson.annotation.JsonProperty("isVisualBuilderEnabled") + Boolean isVisualBuilderEnabled; + + @com.fasterxml.jackson.annotation.JsonProperty("customEndpoint") + CustomEndpointDetails customEndpoint; + + /** + * A list of alternate custom endpoints used for the integration instance URL. + * + **/ + @com.fasterxml.jackson.annotation.JsonProperty("alternateCustomEndpoints") + java.util.List alternateCustomEndpoints; /** * The entitlement used for billing purposes. **/ diff --git a/bmc-integration/src/main/java/com/oracle/bmc/integration/model/IntegrationInstanceSummary.java b/bmc-integration/src/main/java/com/oracle/bmc/integration/model/IntegrationInstanceSummary.java index dca06b1b674..40921667615 100644 --- a/bmc-integration/src/main/java/com/oracle/bmc/integration/model/IntegrationInstanceSummary.java +++ b/bmc-integration/src/main/java/com/oracle/bmc/integration/model/IntegrationInstanceSummary.java @@ -134,6 +134,34 @@ public Builder isFileServerEnabled(Boolean isFileServerEnabled) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("isVisualBuilderEnabled") + private Boolean isVisualBuilderEnabled; + + public Builder isVisualBuilderEnabled(Boolean isVisualBuilderEnabled) { + this.isVisualBuilderEnabled = isVisualBuilderEnabled; + this.__explicitlySet__.add("isVisualBuilderEnabled"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("customEndpoint") + private CustomEndpointDetails customEndpoint; + + public Builder customEndpoint(CustomEndpointDetails customEndpoint) { + this.customEndpoint = customEndpoint; + this.__explicitlySet__.add("customEndpoint"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("alternateCustomEndpoints") + private java.util.List alternateCustomEndpoints; + + public Builder alternateCustomEndpoints( + java.util.List alternateCustomEndpoints) { + this.alternateCustomEndpoints = alternateCustomEndpoints; + this.__explicitlySet__.add("alternateCustomEndpoints"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("consumptionModel") private ConsumptionModel consumptionModel; @@ -161,6 +189,9 @@ public IntegrationInstanceSummary build() { instanceUrl, messagePacks, isFileServerEnabled, + isVisualBuilderEnabled, + customEndpoint, + alternateCustomEndpoints, consumptionModel); __instance__.__explicitlySet__.addAll(__explicitlySet__); return __instance__; @@ -181,6 +212,9 @@ public Builder copy(IntegrationInstanceSummary o) { .instanceUrl(o.getInstanceUrl()) .messagePacks(o.getMessagePacks()) .isFileServerEnabled(o.getIsFileServerEnabled()) + .isVisualBuilderEnabled(o.getIsVisualBuilderEnabled()) + .customEndpoint(o.getCustomEndpoint()) + .alternateCustomEndpoints(o.getAlternateCustomEndpoints()) .consumptionModel(o.getConsumptionModel()); copiedBuilder.__explicitlySet__.retainAll(o.__explicitlySet__); @@ -361,6 +395,22 @@ public static LifecycleState create(String key) { **/ @com.fasterxml.jackson.annotation.JsonProperty("isFileServerEnabled") Boolean isFileServerEnabled; + + /** + * Visual Builder is enabled or not. + **/ + @com.fasterxml.jackson.annotation.JsonProperty("isVisualBuilderEnabled") + Boolean isVisualBuilderEnabled; + + @com.fasterxml.jackson.annotation.JsonProperty("customEndpoint") + CustomEndpointDetails customEndpoint; + + /** + * A list of alternate custom endpoints used for the integration instance URL. + * + **/ + @com.fasterxml.jackson.annotation.JsonProperty("alternateCustomEndpoints") + java.util.List alternateCustomEndpoints; /** * The entitlement used for billing purposes. **/ diff --git a/bmc-integration/src/main/java/com/oracle/bmc/integration/model/UpdateCustomEndpointDetails.java b/bmc-integration/src/main/java/com/oracle/bmc/integration/model/UpdateCustomEndpointDetails.java new file mode 100644 index 00000000000..1d10d94d29f --- /dev/null +++ b/bmc-integration/src/main/java/com/oracle/bmc/integration/model/UpdateCustomEndpointDetails.java @@ -0,0 +1,91 @@ +/** + * Copyright (c) 2016, 2020, 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.integration.model; + +/** + * Details for a custom endpoint for the integration instance (update). + *
+ * 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 #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take + * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__} + * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}). + **/ +@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190131") +@lombok.AllArgsConstructor(onConstructor = @__({@Deprecated})) +@lombok.Value +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = UpdateCustomEndpointDetails.Builder.class +) +@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME) +@lombok.Builder(builderClassName = "Builder", toBuilder = true) +public class UpdateCustomEndpointDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + @lombok.experimental.Accessors(fluent = true) + public static class Builder { + @com.fasterxml.jackson.annotation.JsonProperty("hostname") + private String hostname; + + public Builder hostname(String hostname) { + this.hostname = hostname; + this.__explicitlySet__.add("hostname"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("certificateSecretId") + private String certificateSecretId; + + public Builder certificateSecretId(String certificateSecretId) { + this.certificateSecretId = certificateSecretId; + this.__explicitlySet__.add("certificateSecretId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public UpdateCustomEndpointDetails build() { + UpdateCustomEndpointDetails __instance__ = + new UpdateCustomEndpointDetails(hostname, certificateSecretId); + __instance__.__explicitlySet__.addAll(__explicitlySet__); + return __instance__; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(UpdateCustomEndpointDetails o) { + Builder copiedBuilder = + hostname(o.getHostname()).certificateSecretId(o.getCertificateSecretId()); + + copiedBuilder.__explicitlySet__.retainAll(o.__explicitlySet__); + return copiedBuilder; + } + } + + /** + * Create a new builder. + */ + public static Builder builder() { + return new Builder(); + } + + /** + * A custom hostname to be used for the integration instance URL, in FQDN format. + **/ + @com.fasterxml.jackson.annotation.JsonProperty("hostname") + String hostname; + + /** + * Optional OCID of a vault/secret containing a private SSL certificate bundle to be used for the custom hostname. + * All certificates should be stored in a single base64 encoded secret. + * Note the update will fail if this is not a valid certificate. + * + **/ + @com.fasterxml.jackson.annotation.JsonProperty("certificateSecretId") + String certificateSecretId; + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); +} diff --git a/bmc-integration/src/main/java/com/oracle/bmc/integration/model/UpdateIntegrationInstanceDetails.java b/bmc-integration/src/main/java/com/oracle/bmc/integration/model/UpdateIntegrationInstanceDetails.java index 84a5b17e5ee..02432fab2ea 100644 --- a/bmc-integration/src/main/java/com/oracle/bmc/integration/model/UpdateIntegrationInstanceDetails.java +++ b/bmc-integration/src/main/java/com/oracle/bmc/integration/model/UpdateIntegrationInstanceDetails.java @@ -90,6 +90,34 @@ public Builder isFileServerEnabled(Boolean isFileServerEnabled) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("isVisualBuilderEnabled") + private Boolean isVisualBuilderEnabled; + + public Builder isVisualBuilderEnabled(Boolean isVisualBuilderEnabled) { + this.isVisualBuilderEnabled = isVisualBuilderEnabled; + this.__explicitlySet__.add("isVisualBuilderEnabled"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("customEndpoint") + private UpdateCustomEndpointDetails customEndpoint; + + public Builder customEndpoint(UpdateCustomEndpointDetails customEndpoint) { + this.customEndpoint = customEndpoint; + this.__explicitlySet__.add("customEndpoint"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("alternateCustomEndpoints") + private java.util.List alternateCustomEndpoints; + + public Builder alternateCustomEndpoints( + java.util.List alternateCustomEndpoints) { + this.alternateCustomEndpoints = alternateCustomEndpoints; + this.__explicitlySet__.add("alternateCustomEndpoints"); + return this; + } + @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -102,7 +130,10 @@ public UpdateIntegrationInstanceDetails build() { definedTags, isByol, messagePacks, - isFileServerEnabled); + isFileServerEnabled, + isVisualBuilderEnabled, + customEndpoint, + alternateCustomEndpoints); __instance__.__explicitlySet__.addAll(__explicitlySet__); return __instance__; } @@ -116,7 +147,10 @@ public Builder copy(UpdateIntegrationInstanceDetails o) { .definedTags(o.getDefinedTags()) .isByol(o.getIsByol()) .messagePacks(o.getMessagePacks()) - .isFileServerEnabled(o.getIsFileServerEnabled()); + .isFileServerEnabled(o.getIsFileServerEnabled()) + .isVisualBuilderEnabled(o.getIsVisualBuilderEnabled()) + .customEndpoint(o.getCustomEndpoint()) + .alternateCustomEndpoints(o.getAlternateCustomEndpoints()); copiedBuilder.__explicitlySet__.retainAll(o.__explicitlySet__); return copiedBuilder; @@ -212,6 +246,23 @@ public static IntegrationInstanceType create(String key) { @com.fasterxml.jackson.annotation.JsonProperty("isFileServerEnabled") Boolean isFileServerEnabled; + /** + * Visual Builder is enabled or not. + **/ + @com.fasterxml.jackson.annotation.JsonProperty("isVisualBuilderEnabled") + Boolean isVisualBuilderEnabled; + + @com.fasterxml.jackson.annotation.JsonProperty("customEndpoint") + UpdateCustomEndpointDetails customEndpoint; + + /** + * A list of alternate custom endpoints to be used for the integration instance URL + * (contact Oracle for alternateCustomEndpoints availability for a specific instance). + * + **/ + @com.fasterxml.jackson.annotation.JsonProperty("alternateCustomEndpoints") + java.util.List alternateCustomEndpoints; + @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); } diff --git a/bmc-keymanagement/pom.xml b/bmc-keymanagement/pom.xml index 443255aadc2..5b818c8aaed 100644 --- a/bmc-keymanagement/pom.xml +++ b/bmc-keymanagement/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-keymanagement @@ -17,7 +17,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 diff --git a/bmc-limits/pom.xml b/bmc-limits/pom.xml index 284370a4439..5c75b6531a1 100644 --- a/bmc-limits/pom.xml +++ b/bmc-limits/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-limits @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 \ No newline at end of file diff --git a/bmc-loadbalancer/pom.xml b/bmc-loadbalancer/pom.xml index 26152b84d45..a936fc350ba 100644 --- a/bmc-loadbalancer/pom.xml +++ b/bmc-loadbalancer/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml @@ -19,7 +19,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 diff --git a/bmc-loganalytics/pom.xml b/bmc-loganalytics/pom.xml index d87107fbefc..1f94b277938 100644 --- a/bmc-loganalytics/pom.xml +++ b/bmc-loganalytics/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-loganalytics @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 \ No newline at end of file diff --git a/bmc-logging/pom.xml b/bmc-logging/pom.xml index 37165d836ec..b33ff741b24 100644 --- a/bmc-logging/pom.xml +++ b/bmc-logging/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-logging @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 \ No newline at end of file diff --git a/bmc-loggingingestion/pom.xml b/bmc-loggingingestion/pom.xml index bd04afc8dd0..5aef8ecbf56 100644 --- a/bmc-loggingingestion/pom.xml +++ b/bmc-loggingingestion/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-loggingingestion @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 \ No newline at end of file diff --git a/bmc-loggingsearch/pom.xml b/bmc-loggingsearch/pom.xml index 3219ff5146e..42fffee535d 100644 --- a/bmc-loggingsearch/pom.xml +++ b/bmc-loggingsearch/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-loggingsearch @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 \ No newline at end of file diff --git a/bmc-managementagent/pom.xml b/bmc-managementagent/pom.xml index 3952dd107dd..d6b60bf5bc6 100644 --- a/bmc-managementagent/pom.xml +++ b/bmc-managementagent/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-managementagent @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 \ No newline at end of file diff --git a/bmc-managementdashboard/pom.xml b/bmc-managementdashboard/pom.xml index 3f5f933411e..595cc895575 100644 --- a/bmc-managementdashboard/pom.xml +++ b/bmc-managementdashboard/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-managementdashboard @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 \ No newline at end of file diff --git a/bmc-marketplace/pom.xml b/bmc-marketplace/pom.xml index 9351bf66e90..404567ffecc 100644 --- a/bmc-marketplace/pom.xml +++ b/bmc-marketplace/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-marketplace @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 \ No newline at end of file diff --git a/bmc-monitoring/pom.xml b/bmc-monitoring/pom.xml index 2add0394545..6155539653c 100644 --- a/bmc-monitoring/pom.xml +++ b/bmc-monitoring/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-monitoring @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 \ No newline at end of file diff --git a/bmc-mysql/pom.xml b/bmc-mysql/pom.xml index 98e4bb677f1..285b2316489 100644 --- a/bmc-mysql/pom.xml +++ b/bmc-mysql/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-mysql @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 \ No newline at end of file diff --git a/bmc-nosql/pom.xml b/bmc-nosql/pom.xml index b600cf05f49..db0a45dc412 100644 --- a/bmc-nosql/pom.xml +++ b/bmc-nosql/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-nosql @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 \ 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 2c9a5c828eb..7d8c246fdd0 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 - 1.27.0 + 1.27.1 ../pom.xml @@ -18,12 +18,12 @@ com.oracle.oci.sdk oci-java-sdk-objectstorage-generated - 1.27.0 + 1.27.1 com.oracle.oci.sdk oci-java-sdk-objectstorage-extensions - 1.27.0 + 1.27.1 diff --git a/bmc-objectstorage/bmc-objectstorage-extensions/pom.xml b/bmc-objectstorage/bmc-objectstorage-extensions/pom.xml index 4c2c6d1f613..64d55495cc4 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 - 1.27.0 + 1.27.1 ../pom.xml @@ -19,12 +19,12 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 com.oracle.oci.sdk oci-java-sdk-objectstorage-generated - 1.27.0 + 1.27.1 diff --git a/bmc-objectstorage/bmc-objectstorage-extensions/src/main/java/com/oracle/bmc/objectstorage/transfer/MultipartManifest.java b/bmc-objectstorage/bmc-objectstorage-extensions/src/main/java/com/oracle/bmc/objectstorage/transfer/MultipartManifest.java index 51e6f9f8d3c..7b498d33c33 100644 --- a/bmc-objectstorage/bmc-objectstorage-extensions/src/main/java/com/oracle/bmc/objectstorage/transfer/MultipartManifest.java +++ b/bmc-objectstorage/bmc-objectstorage-extensions/src/main/java/com/oracle/bmc/objectstorage/transfer/MultipartManifest.java @@ -5,6 +5,7 @@ package com.oracle.bmc.objectstorage.transfer; import com.oracle.bmc.objectstorage.model.CommitMultipartUploadPartDetails; +import com.oracle.bmc.objectstorage.transfer.internal.MultipartUploadFailedPartDetails; import java.util.List; @@ -58,4 +59,10 @@ public interface MultipartManifest { * @return The list of part numbers still in progress. */ List listInProgressParts(); + + /** + * Lists all the parts that have failed to upload and the cause of the failure + * @return The list of failed parts details. + */ + List listFailedPartsDetails(); } diff --git a/bmc-objectstorage/bmc-objectstorage-extensions/src/main/java/com/oracle/bmc/objectstorage/transfer/internal/MultipartManifestImpl.java b/bmc-objectstorage/bmc-objectstorage-extensions/src/main/java/com/oracle/bmc/objectstorage/transfer/internal/MultipartManifestImpl.java index 4090e91dc97..b5ed0925a3d 100644 --- a/bmc-objectstorage/bmc-objectstorage-extensions/src/main/java/com/oracle/bmc/objectstorage/transfer/internal/MultipartManifestImpl.java +++ b/bmc-objectstorage/bmc-objectstorage-extensions/src/main/java/com/oracle/bmc/objectstorage/transfer/internal/MultipartManifestImpl.java @@ -31,6 +31,7 @@ public class MultipartManifestImpl implements MultipartManifest { private final Map parts = new HashMap<>(); private final AtomicInteger nextPartNumber = new AtomicInteger(1); + private final Map partFailureDetails = new HashMap<>(); private boolean isAborted = false; @@ -99,8 +100,20 @@ public synchronized void registerExisting(MultipartUploadPartSummary part) { * @param partNumber The failed part number */ public synchronized void registerFailure(int partNumber) { + registerFailure(partNumber, null); + } + + /** + * Register a failed upload and the failure cause. + *

+ * Must have called {@link #registerTransfer(int)} first. + * + * @param partNumber The failed part number + */ + public synchronized void registerFailure(int partNumber, Exception failureException) { PartAndStatus partAndStatus = parts.get(partNumber); partAndStatus.complete = true; + partFailureDetails.put(partAndStatus, failureException); } @Override @@ -156,6 +169,21 @@ public synchronized List listInProgressParts() { return todoParts; } + @Override + public synchronized List listFailedPartsDetails() { + List failedPartsDetails = new ArrayList<>(parts.size()); + for (Entry part : parts.entrySet()) { + if (part.getValue().complete + && part.getValue().details == null + && partFailureDetails.get(part.getValue()) != null) { + failedPartsDetails.add( + new MultipartUploadFailedPartDetails( + part.getKey(), partFailureDetails.get(part.getValue()))); + } + } + return failedPartsDetails; + } + @Override public synchronized boolean isUploadAborted() { return isAborted; diff --git a/bmc-objectstorage/bmc-objectstorage-extensions/src/main/java/com/oracle/bmc/objectstorage/transfer/internal/MultipartTransferManager.java b/bmc-objectstorage/bmc-objectstorage-extensions/src/main/java/com/oracle/bmc/objectstorage/transfer/internal/MultipartTransferManager.java index f5beee38415..e97b001682b 100644 --- a/bmc-objectstorage/bmc-objectstorage-extensions/src/main/java/com/oracle/bmc/objectstorage/transfer/internal/MultipartTransferManager.java +++ b/bmc-objectstorage/bmc-objectstorage-extensions/src/main/java/com/oracle/bmc/objectstorage/transfer/internal/MultipartTransferManager.java @@ -58,7 +58,7 @@ public Void call() throws Exception { LOG.error( "Failed to upload part " + request.getUploadPartNum(), e); - manifest.registerFailure(request.getUploadPartNum()); + manifest.registerFailure(request.getUploadPartNum(), e); } return null; } diff --git a/bmc-objectstorage/bmc-objectstorage-extensions/src/main/java/com/oracle/bmc/objectstorage/transfer/internal/MultipartUploadFailedPartDetails.java b/bmc-objectstorage/bmc-objectstorage-extensions/src/main/java/com/oracle/bmc/objectstorage/transfer/internal/MultipartUploadFailedPartDetails.java new file mode 100644 index 00000000000..78680a1ac06 --- /dev/null +++ b/bmc-objectstorage/bmc-objectstorage-extensions/src/main/java/com/oracle/bmc/objectstorage/transfer/internal/MultipartUploadFailedPartDetails.java @@ -0,0 +1,15 @@ +/** + * Copyright (c) 2016, 2020, 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.objectstorage.transfer.internal; + +/** + * MultipartUploadFailedPartDetails has details about the part number and + * the failure cause for the failed upload part + */ +@lombok.Value +public class MultipartUploadFailedPartDetails { + int partNumber; + Exception failureCause; +} diff --git a/bmc-objectstorage/bmc-objectstorage-extensions/src/test/java/com/oracle/bmc/objectstorage/transfer/MultipartObjectAssemblerTest.java b/bmc-objectstorage/bmc-objectstorage-extensions/src/test/java/com/oracle/bmc/objectstorage/transfer/MultipartObjectAssemblerTest.java index c11f97fe8ec..1b5f216e4e5 100644 --- a/bmc-objectstorage/bmc-objectstorage-extensions/src/test/java/com/oracle/bmc/objectstorage/transfer/MultipartObjectAssemblerTest.java +++ b/bmc-objectstorage/bmc-objectstorage-extensions/src/test/java/com/oracle/bmc/objectstorage/transfer/MultipartObjectAssemblerTest.java @@ -438,10 +438,12 @@ public void addParts_someFailed_commitFailure() throws Exception { } String etag1 = "etag1"; + String failureCauseMsg = "failureCauseMsg1"; + UploadPartResponse uploadPartResponse1 = UploadPartResponse.builder().eTag(etag1).build(); when(service.uploadPart(any(UploadPartRequest.class))) .thenReturn(uploadPartResponse1) - .thenThrow(new RuntimeException()); + .thenThrow(new RuntimeException(failureCauseMsg)); String md5_1 = "md5_1"; String md5_2 = "md5_2"; @@ -461,6 +463,10 @@ public void addParts_someFailed_commitFailure() throws Exception { assertEquals(1, manifest.listCompletedParts().get(0).getPartNum().intValue()); assertEquals(etag1, manifest.listCompletedParts().get(0).getEtag()); assertEquals(2, manifest.listFailedParts().get(0).intValue()); + assertEquals(2, manifest.listFailedPartsDetails().get(0).getPartNumber()); + assertEquals( + manifest.listFailedPartsDetails().get(0).getFailureCause().getMessage(), + failureCauseMsg); ArgumentCaptor uploadCaptor = ArgumentCaptor.forClass(UploadPartRequest.class); diff --git a/bmc-objectstorage/bmc-objectstorage-generated/pom.xml b/bmc-objectstorage/bmc-objectstorage-generated/pom.xml index c97ecb6ddce..88f62aacf6b 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 - 1.27.0 + 1.27.1 ../pom.xml @@ -19,7 +19,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 diff --git a/bmc-objectstorage/pom.xml b/bmc-objectstorage/pom.xml index 1e118292623..1f57acf2f67 100644 --- a/bmc-objectstorage/pom.xml +++ b/bmc-objectstorage/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml diff --git a/bmc-oce/pom.xml b/bmc-oce/pom.xml index c6188ac7751..6ce8f240f27 100644 --- a/bmc-oce/pom.xml +++ b/bmc-oce/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-oce @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 \ No newline at end of file diff --git a/bmc-ocvp/pom.xml b/bmc-ocvp/pom.xml index f6177453d65..a4bef3293af 100644 --- a/bmc-ocvp/pom.xml +++ b/bmc-ocvp/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-ocvp @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 \ No newline at end of file diff --git a/bmc-oda/pom.xml b/bmc-oda/pom.xml index 6c573733607..0ea13eb2464 100644 --- a/bmc-oda/pom.xml +++ b/bmc-oda/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-oda @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 diff --git a/bmc-ons/pom.xml b/bmc-ons/pom.xml index 5e78d221e01..b47ad5490b6 100644 --- a/bmc-ons/pom.xml +++ b/bmc-ons/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-ons @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 \ No newline at end of file diff --git a/bmc-opsi/pom.xml b/bmc-opsi/pom.xml index 0d63c78cb9e..e46b87d1cf3 100644 --- a/bmc-opsi/pom.xml +++ b/bmc-opsi/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-opsi @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 \ No newline at end of file diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/SqlInsightAggregation.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/SqlInsightAggregation.java index ddcf3e8155e..3e01de89a1e 100644 --- a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/SqlInsightAggregation.java +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/SqlInsightAggregation.java @@ -82,7 +82,7 @@ public static Builder builder() { /** * Insight text. * For example `Degrading SQLs`, `Variant SQLs`, - * `Inefficient SQLs`, `SQLs with Plan Changes`, + * `Inefficient SQLs`, `Improving SQLs`, `SQLs with Plan Changes`, * `Degrading SQLs have increasing IO Time above 50%`, * `Degrading SQLs are variant`, * `2 of the 2 variant SQLs have plan changes`, @@ -105,6 +105,7 @@ public static Builder builder() { * VARIANT, * INEFFICIENT, * CHANGING_PLANS, + * IMPROVING, * DEGRADING_VARIANT, * DEGRADING_INEFFICIENT, * DEGRADING_CHANGING_PLANS, diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/SqlInsightThresholds.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/SqlInsightThresholds.java index 5978627768f..315170f7862 100644 --- a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/SqlInsightThresholds.java +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/SqlInsightThresholds.java @@ -80,6 +80,15 @@ public Builder increaseInInefficientWaitInPct(Integer increaseInInefficientWaitI return this; } + @com.fasterxml.jackson.annotation.JsonProperty("improvedInPct") + private Integer improvedInPct; + + public Builder improvedInPct(Integer improvedInPct) { + this.improvedInPct = improvedInPct; + this.__explicitlySet__.add("improvedInPct"); + return this; + } + @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -91,7 +100,8 @@ public SqlInsightThresholds build() { inefficiencyInPct, increaseInIOInPct, increaseInCPUInPct, - increaseInInefficientWaitInPct); + increaseInInefficientWaitInPct, + improvedInPct); __instance__.__explicitlySet__.addAll(__explicitlySet__); return __instance__; } @@ -104,7 +114,8 @@ public Builder copy(SqlInsightThresholds o) { .inefficiencyInPct(o.getInefficiencyInPct()) .increaseInIOInPct(o.getIncreaseInIOInPct()) .increaseInCPUInPct(o.getIncreaseInCPUInPct()) - .increaseInInefficientWaitInPct(o.getIncreaseInInefficientWaitInPct()); + .increaseInInefficientWaitInPct(o.getIncreaseInInefficientWaitInPct()) + .improvedInPct(o.getImprovedInPct()); copiedBuilder.__explicitlySet__.retainAll(o.__explicitlySet__); return copiedBuilder; @@ -166,6 +177,13 @@ public static Builder builder() { @com.fasterxml.jackson.annotation.JsonProperty("increaseInInefficientWaitInPct") Integer increaseInInefficientWaitInPct; + /** + * Improved Percent Threshold is used to derive improving SQLs. + * + **/ + @com.fasterxml.jackson.annotation.JsonProperty("improvedInPct") + Integer improvedInPct; + @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); } diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/SummarizeSqlStatisticsRequest.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/SummarizeSqlStatisticsRequest.java index 5441db9336a..abcee1ecc71 100644 --- a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/SummarizeSqlStatisticsRequest.java +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/SummarizeSqlStatisticsRequest.java @@ -217,6 +217,7 @@ public enum Category { Variant("VARIANT"), Inefficient("INEFFICIENT"), ChangingPlans("CHANGING_PLANS"), + Improving("IMPROVING"), DegradingVariant("DEGRADING_VARIANT"), DegradingInefficient("DEGRADING_INEFFICIENT"), DegradingChangingPlans("DEGRADING_CHANGING_PLANS"), diff --git a/bmc-optimizer/pom.xml b/bmc-optimizer/pom.xml index 33621afbaf1..0d2284297f3 100644 --- a/bmc-optimizer/pom.xml +++ b/bmc-optimizer/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-optimizer @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 \ No newline at end of file diff --git a/bmc-osmanagement/pom.xml b/bmc-osmanagement/pom.xml index 19f151f55a4..edea829791c 100644 --- a/bmc-osmanagement/pom.xml +++ b/bmc-osmanagement/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-osmanagement @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 \ No newline at end of file diff --git a/bmc-resourcemanager/pom.xml b/bmc-resourcemanager/pom.xml index 9be401ed441..3033ef1253c 100644 --- a/bmc-resourcemanager/pom.xml +++ b/bmc-resourcemanager/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-resourcemanager @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 \ No newline at end of file diff --git a/bmc-resourcesearch/pom.xml b/bmc-resourcesearch/pom.xml index 38710422f26..c9afc2a3d0e 100644 --- a/bmc-resourcesearch/pom.xml +++ b/bmc-resourcesearch/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-resourcesearch @@ -17,7 +17,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 diff --git a/bmc-sch/pom.xml b/bmc-sch/pom.xml index 25a1720ae2e..c5c6f32f26d 100644 --- a/bmc-sch/pom.xml +++ b/bmc-sch/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-sch @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 \ No newline at end of file diff --git a/bmc-secrets/pom.xml b/bmc-secrets/pom.xml index 869ab09bac6..2faad173b53 100644 --- a/bmc-secrets/pom.xml +++ b/bmc-secrets/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-secrets @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 \ 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 7979707d79c..4383f75b691 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 - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-shaded-full diff --git a/bmc-shaded/pom.xml b/bmc-shaded/pom.xml index 4eead7a9cc0..72d78ab46b0 100644 --- a/bmc-shaded/pom.xml +++ b/bmc-shaded/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml diff --git a/bmc-streaming/pom.xml b/bmc-streaming/pom.xml index bcf50bd0e22..c7f8644b331 100644 --- a/bmc-streaming/pom.xml +++ b/bmc-streaming/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-streaming @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 \ No newline at end of file diff --git a/bmc-tenantmanagercontrolplane/pom.xml b/bmc-tenantmanagercontrolplane/pom.xml index 48c832ec23b..fde576da0e4 100644 --- a/bmc-tenantmanagercontrolplane/pom.xml +++ b/bmc-tenantmanagercontrolplane/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-tenantmanagercontrolplane @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 \ No newline at end of file diff --git a/bmc-usageapi/pom.xml b/bmc-usageapi/pom.xml index 4fe9c1de1c3..03b1c9079ff 100644 --- a/bmc-usageapi/pom.xml +++ b/bmc-usageapi/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-usageapi @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 \ No newline at end of file diff --git a/bmc-vault/pom.xml b/bmc-vault/pom.xml index ce7cab568c9..02bfeb58e8d 100644 --- a/bmc-vault/pom.xml +++ b/bmc-vault/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-vault @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 \ No newline at end of file diff --git a/bmc-waas/pom.xml b/bmc-waas/pom.xml index e0cf27026ef..b712c25bc3d 100644 --- a/bmc-waas/pom.xml +++ b/bmc-waas/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-waas @@ -17,7 +17,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 diff --git a/bmc-workrequests/pom.xml b/bmc-workrequests/pom.xml index ed8465701e0..f39a23c97d8 100644 --- a/bmc-workrequests/pom.xml +++ b/bmc-workrequests/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 ../pom.xml oci-java-sdk-workrequests @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 1.27.0 + 1.27.1 diff --git a/pom.xml b/pom.xml index ebfb4ad34bf..adeb205e712 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.oracle.oci.sdk oci-java-sdk - 1.27.0 + 1.27.1 pom Oracle Cloud Infrastructure SDK This project contains the SDK used for Oracle Cloud Infrastructure @@ -35,14 +35,14 @@ UTF-8 2.11.3 - 2.27 + 2.32 27.1-jre 4.12 1.18.4 1.18.4.0 3.0.2 1.7.29 - 2.1 + 2.1.6 1.13 3.8.1 2.8.0 @@ -461,7 +461,7 @@ org.codehaus.mojo extra-enforcer-rules - 1.0-beta-9 + 1.3 @@ -539,9 +539,9 @@ - javax.ws.rs - javax.ws.rs-api - ${javax.ws.rs-api.version} + jakarta.ws.rs + jakarta.ws.rs-api + ${jakarta.ws.rs-api.version} org.slf4j