diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ae2aabc7cc..a6daa149774 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/). +## 3.91.0 - 2026-06-30 +### Added +- Support for Bitbucket Cloud email and API token configuration source providers in the Resource Manager service +- Support for configurable randomization windows for schedules in the Data Science service +- Support for partner-provided Windows licensing in the Compute service +- Support for Key Management service (KMS) bucket key in the Object Storage service +- Support for Point-In-Time Recovery (PITR) in the PostgreSQL service   + +### Breaking Changes +- The models `BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary`, `BitbucketCloudUsernameAppPasswordConfigurationSourceProvider`, `CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails`, and `UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails` were removed in the Resource Manager service + ## 3.90.1 - 2026-06-23 ### Added - Support for static redirect paths in OAuth2 and OpenID Connect authentication policies in the API Gateway service diff --git a/bmc-accessgovernancecp/pom.xml b/bmc-accessgovernancecp/pom.xml index c2b80bf7899..2c7d74ea743 100644 --- a/bmc-accessgovernancecp/pom.xml +++ b/bmc-accessgovernancecp/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-accessgovernancecp @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-addons/bmc-adk/pom.xml b/bmc-addons/bmc-adk/pom.xml index a15a6968cdf..1285eb5dc95 100644 --- a/bmc-addons/bmc-adk/pom.xml +++ b/bmc-addons/bmc-adk/pom.xml @@ -6,7 +6,7 @@ com.oracle.oci.sdk oci-java-sdk-addons - 3.90.1 + 3.91.0 oci-java-sdk-addons-adk diff --git a/bmc-addons/bmc-aispeech-realtime/pom.xml b/bmc-addons/bmc-aispeech-realtime/pom.xml index e7fe865975e..ba0f92909bd 100644 --- a/bmc-addons/bmc-aispeech-realtime/pom.xml +++ b/bmc-addons/bmc-aispeech-realtime/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk-addons - 3.90.1 + 3.91.0 ../pom.xml 4.0.0 @@ -53,12 +53,12 @@ com.oracle.oci.sdk oci-java-sdk-aispeech - 3.90.1 + 3.91.0 com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.90.1 + 3.91.0 compile diff --git a/bmc-addons/bmc-apache-configurator-jersey-addon/pom.xml b/bmc-addons/bmc-apache-configurator-jersey-addon/pom.xml index ef7327cbd00..15c65bbfa60 100644 --- a/bmc-addons/bmc-apache-configurator-jersey-addon/pom.xml +++ b/bmc-addons/bmc-apache-configurator-jersey-addon/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk-addons - 3.90.1 + 3.91.0 ../pom.xml @@ -17,14 +17,14 @@ com.oracle.oci.sdk oci-java-sdk-bom - 3.90.1 + 3.91.0 pom import com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.90.1 + 3.91.0 pom import diff --git a/bmc-addons/bmc-apache-configurator-jersey3-addon/pom.xml b/bmc-addons/bmc-apache-configurator-jersey3-addon/pom.xml index 7b596c924f1..c6776b7c3fa 100644 --- a/bmc-addons/bmc-apache-configurator-jersey3-addon/pom.xml +++ b/bmc-addons/bmc-apache-configurator-jersey3-addon/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk-addons - 3.90.1 + 3.91.0 ../pom.xml @@ -17,14 +17,14 @@ com.oracle.oci.sdk oci-java-sdk-bom - 3.90.1 + 3.91.0 pom import com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey3 - 3.90.1 + 3.91.0 pom import diff --git a/bmc-addons/bmc-apache-connector-provider/pom.xml b/bmc-addons/bmc-apache-connector-provider/pom.xml index d90450f57f8..77c2fa0d06a 100644 --- a/bmc-addons/bmc-apache-connector-provider/pom.xml +++ b/bmc-addons/bmc-apache-connector-provider/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk-addons - 3.90.1 + 3.91.0 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-addons/bmc-oke-workload-identity/pom.xml b/bmc-addons/bmc-oke-workload-identity/pom.xml index fa1ae2e98c0..4136a84d4fa 100644 --- a/bmc-addons/bmc-oke-workload-identity/pom.xml +++ b/bmc-addons/bmc-oke-workload-identity/pom.xml @@ -4,7 +4,7 @@ oci-java-sdk-addons com.oracle.oci.sdk - 3.90.1 + 3.91.0 4.0.0 @@ -38,25 +38,25 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 compile com.oracle.oci.sdk oci-java-sdk-core - 3.90.1 + 3.91.0 test com.oracle.oci.sdk oci-java-sdk-identity - 3.90.1 + 3.91.0 test com.oracle.oci.sdk oci-java-sdk-keymanagement - 3.90.1 + 3.91.0 test diff --git a/bmc-addons/bmc-resteasy-client-configurator/pom.xml b/bmc-addons/bmc-resteasy-client-configurator/pom.xml index 812aa49a996..3f377a1df93 100644 --- a/bmc-addons/bmc-resteasy-client-configurator/pom.xml +++ b/bmc-addons/bmc-resteasy-client-configurator/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk-addons - 3.90.1 + 3.91.0 ../pom.xml @@ -23,7 +23,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-addons/bmc-sasl-oke-workload-identity/pom.xml b/bmc-addons/bmc-sasl-oke-workload-identity/pom.xml index 332a7a639ef..90dd9293a81 100644 --- a/bmc-addons/bmc-sasl-oke-workload-identity/pom.xml +++ b/bmc-addons/bmc-sasl-oke-workload-identity/pom.xml @@ -4,7 +4,7 @@ oci-java-sdk-addons com.oracle.oci.sdk - 3.90.1 + 3.91.0 ../pom.xml 4.0.0 @@ -39,13 +39,13 @@ com.oracle.oci.sdk oci-java-sdk-addons-sasl - 3.90.1 + 3.91.0 compile com.oracle.oci.sdk oci-java-sdk-addons-oke-workload-identity - 3.90.1 + 3.91.0 compile diff --git a/bmc-addons/bmc-sasl/pom.xml b/bmc-addons/bmc-sasl/pom.xml index 59851fe8216..4866bd1ff3a 100644 --- a/bmc-addons/bmc-sasl/pom.xml +++ b/bmc-addons/bmc-sasl/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk-addons - 3.90.1 + 3.91.0 ../pom.xml @@ -61,7 +61,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 diff --git a/bmc-addons/bmc-sse-support-jersey3/pom.xml b/bmc-addons/bmc-sse-support-jersey3/pom.xml index 30b6939c51b..5307f680c24 100644 --- a/bmc-addons/bmc-sse-support-jersey3/pom.xml +++ b/bmc-addons/bmc-sse-support-jersey3/pom.xml @@ -5,7 +5,7 @@ oci-java-sdk-addons com.oracle.oci.sdk - 3.90.1 + 3.91.0 ../pom.xml 4.0.0 @@ -150,12 +150,12 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 com.oracle.oci.sdk oci-java-sdk-generativeaiinference - 3.90.1 + 3.91.0 test @@ -164,7 +164,7 @@ but the code in it needs it. --> com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey3 - 3.90.1 + 3.91.0 diff --git a/bmc-addons/bmc-sse-support/pom.xml b/bmc-addons/bmc-sse-support/pom.xml index 21f157b06bb..3bbdfe301be 100644 --- a/bmc-addons/bmc-sse-support/pom.xml +++ b/bmc-addons/bmc-sse-support/pom.xml @@ -5,7 +5,7 @@ oci-java-sdk-addons com.oracle.oci.sdk - 3.90.1 + 3.91.0 ../pom.xml 4.0.0 @@ -150,12 +150,12 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 com.oracle.oci.sdk oci-java-sdk-generativeaiinference - 3.90.1 + 3.91.0 test @@ -164,7 +164,7 @@ but the code in it needs it. --> com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.90.1 + 3.91.0 diff --git a/bmc-addons/pom.xml b/bmc-addons/pom.xml index 518f91ceb75..2521d71e7fa 100644 --- a/bmc-addons/pom.xml +++ b/bmc-addons/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml diff --git a/bmc-adm/pom.xml b/bmc-adm/pom.xml index b6d780d2e61..f073e84902f 100644 --- a/bmc-adm/pom.xml +++ b/bmc-adm/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-adm @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-aidataplatform/pom.xml b/bmc-aidataplatform/pom.xml index 2614fd91e05..be6e3f8cf33 100644 --- a/bmc-aidataplatform/pom.xml +++ b/bmc-aidataplatform/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-aidataplatform @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-aidocument/pom.xml b/bmc-aidocument/pom.xml index 9784f478220..3c34ef366aa 100644 --- a/bmc-aidocument/pom.xml +++ b/bmc-aidocument/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-aidocument @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-ailanguage/pom.xml b/bmc-ailanguage/pom.xml index b68b07ddaf9..48c0a4049dd 100644 --- a/bmc-ailanguage/pom.xml +++ b/bmc-ailanguage/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-ailanguage @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-aispeech/pom.xml b/bmc-aispeech/pom.xml index bb0c5c205f2..355c1d6a16c 100644 --- a/bmc-aispeech/pom.xml +++ b/bmc-aispeech/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-aispeech @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-aivision/pom.xml b/bmc-aivision/pom.xml index 65428737662..ef85f968bbe 100644 --- a/bmc-aivision/pom.xml +++ b/bmc-aivision/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-aivision @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-analytics/pom.xml b/bmc-analytics/pom.xml index 4c700c2f94d..4de9b72711a 100644 --- a/bmc-analytics/pom.xml +++ b/bmc-analytics/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-analytics @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-announcementsservice/pom.xml b/bmc-announcementsservice/pom.xml index 65d12d82fe0..a077e0b420e 100644 --- a/bmc-announcementsservice/pom.xml +++ b/bmc-announcementsservice/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-announcementsservice @@ -16,7 +16,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-apiaccesscontrol/pom.xml b/bmc-apiaccesscontrol/pom.xml index 7145dc3ee52..7749f9a3896 100644 --- a/bmc-apiaccesscontrol/pom.xml +++ b/bmc-apiaccesscontrol/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-apiaccesscontrol @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-apigateway/pom.xml b/bmc-apigateway/pom.xml index ac04f925da7..32c00b08319 100644 --- a/bmc-apigateway/pom.xml +++ b/bmc-apigateway/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-apigateway @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-apiplatform/pom.xml b/bmc-apiplatform/pom.xml index 8e1d5fcf1cb..d6c8c20c344 100644 --- a/bmc-apiplatform/pom.xml +++ b/bmc-apiplatform/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-apiplatform @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-apmconfig/pom.xml b/bmc-apmconfig/pom.xml index 1a7644e1bcd..8813beb05ee 100644 --- a/bmc-apmconfig/pom.xml +++ b/bmc-apmconfig/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-apmconfig @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-apmcontrolplane/pom.xml b/bmc-apmcontrolplane/pom.xml index dd5d0bf85fe..7b68012a188 100644 --- a/bmc-apmcontrolplane/pom.xml +++ b/bmc-apmcontrolplane/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-apmcontrolplane @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-apmsynthetics/pom.xml b/bmc-apmsynthetics/pom.xml index d1d42f84259..7e93d7da8fc 100644 --- a/bmc-apmsynthetics/pom.xml +++ b/bmc-apmsynthetics/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-apmsynthetics @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-apmtraces/pom.xml b/bmc-apmtraces/pom.xml index e59f3597292..d162539848d 100644 --- a/bmc-apmtraces/pom.xml +++ b/bmc-apmtraces/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-apmtraces @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-appmgmtcontrol/pom.xml b/bmc-appmgmtcontrol/pom.xml index b57ac3ac563..54f57cbff74 100644 --- a/bmc-appmgmtcontrol/pom.xml +++ b/bmc-appmgmtcontrol/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-appmgmtcontrol @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-artifacts/pom.xml b/bmc-artifacts/pom.xml index b98c1789f97..61f0b2dd7d8 100644 --- a/bmc-artifacts/pom.xml +++ b/bmc-artifacts/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-artifacts @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-audit/pom.xml b/bmc-audit/pom.xml index fd1195bdd07..c8d684aaa95 100644 --- a/bmc-audit/pom.xml +++ b/bmc-audit/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 diff --git a/bmc-autoscaling/pom.xml b/bmc-autoscaling/pom.xml index 12f0b6b17f2..e1070bd678a 100644 --- a/bmc-autoscaling/pom.xml +++ b/bmc-autoscaling/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-autoscaling @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-bastion/pom.xml b/bmc-bastion/pom.xml index 8713e38d9be..c7f8a00e0c5 100644 --- a/bmc-bastion/pom.xml +++ b/bmc-bastion/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-bastion @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-batch/pom.xml b/bmc-batch/pom.xml index 642fa6e411e..668194a20cd 100644 --- a/bmc-batch/pom.xml +++ b/bmc-batch/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-batch @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-bds/pom.xml b/bmc-bds/pom.xml index f3d2bf88d98..07265e0cd01 100644 --- a/bmc-bds/pom.xml +++ b/bmc-bds/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-bds @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-blockchain/pom.xml b/bmc-blockchain/pom.xml index 80b09076754..ca64d964c11 100644 --- a/bmc-blockchain/pom.xml +++ b/bmc-blockchain/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-blockchain @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-bom/pom.xml b/bmc-bom/pom.xml index 83a2ca3f405..27db67d164b 100644 --- a/bmc-bom/pom.xml +++ b/bmc-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.oracle.oci.sdk - 3.90.1 + 3.91.0 oci-java-sdk-bom pom Oracle Cloud Infrastructure SDK - BOM @@ -38,1111 +38,1111 @@ com.oracle.oci.sdk oci-java-sdk-circuitbreaker - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-common-httpclient - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey3 - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-enforcer-rules - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-shaded-full - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-audit - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-containerengine - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-core - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-database - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-dns - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-email - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-objectstorage-generated - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-objectstorage-extensions - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-filestorage - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-identity - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-loadbalancer - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-objectstorage - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-addons-apache-configurator-jersey - 3.90.1 + 3.91.0 com.oracle.oci.sdk oci-java-sdk-addons-apache-configurator-jersey3 - 3.90.1 + 3.91.0 com.oracle.oci.sdk oci-java-sdk-addons-resteasy-client-configurator - 3.90.1 + 3.91.0 com.oracle.oci.sdk oci-java-sdk-addons-sasl - 3.90.1 + 3.91.0 com.oracle.oci.sdk oci-java-sdk-addons-oke-workload-identity - 3.90.1 + 3.91.0 com.oracle.oci.sdk oci-java-sdk-addons-sasl-oke-workload-identity - 3.90.1 + 3.91.0 com.oracle.oci.sdk oci-java-sdk-addons-aispeech-realtime - 3.90.1 + 3.91.0 com.oracle.oci.sdk oci-java-sdk-resourcesearch - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-addons-apache - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-keymanagement - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-announcementsservice - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-healthchecks - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-waas - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-streaming - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-resourcemanager - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-monitoring - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-ons - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-autoscaling - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-budget - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-workrequests - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-limits - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-functions - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-events - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-oce - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-oda - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-analytics - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-integration - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-marketplace - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-apigateway - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-datacatalog - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-dataflow - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-datascience - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-nosql - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-secrets - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-vault - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-bds - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-encryption - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-cims - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-datasafe - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-mysql - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-dataintegration - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-ocvp - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-usageapi - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-blockchain - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-loggingingestion - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-logging - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-loganalytics - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-managementdashboard - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-sch - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-loggingsearch - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-managementagent - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-cloudguard - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-opsi - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-computeinstanceagent - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-optimizer - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-tenantmanagercontrolplane - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-rover - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-databasemanagement - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-artifacts - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-apmsynthetics - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-goldengate - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-apmcontrolplane - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-apmtraces - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-networkloadbalancer - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-vulnerabilityscanning - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-databasemigration - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-servicecatalog - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-ailanguage - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-operatoraccesscontrol - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-bastion - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-genericartifactscontent - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-jms - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-devops - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-datalabelingservice - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-datalabelingservicedataplane - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-apmconfig - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-waf - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-certificates - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-certificatesmanagement - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-usage - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-databasetools - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-servicemanagerproxy - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-appmgmtcontrol - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-ospgateway - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-identitydataplane - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-visualbuilder - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-osubusage - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-osubsubscription - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-osuborganizationsubscription - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-osubbillingschedule - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-dashboardservice - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-threatintelligence - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-aivision - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-aispeech - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-stackmonitoring - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-adm - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-licensemanager - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-onesubscription - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-governancerulescontrolplane - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-waa - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-networkfirewall - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-vnmonitoring - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-emwarehouse - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-lockbox - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-fusionapps - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-mediaservices - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-opa - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-opensearch - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-cloudmigrations - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-cloudbridge - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-disasterrecovery - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-containerinstances - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-aidocument - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-queue - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-recovery - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-vbsinst - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-identitydomains - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-accessgovernancecp - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-ocicontrolcenter - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-osmanagementhub - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-fleetsoftwareupdate - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-computecloudatcustomer - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-marketplacepublisher - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-redis - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-jmsjavadownloads - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-psql - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-generativeai - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-generativeaiinference - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-capacitymanagement - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-desktops - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-emaildataplane - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-clusterplacementgroups - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-resourcescheduler - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-demandsignal - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-fleetappsmanagement - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-delegateaccesscontrol - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-generativeaiagent - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-generativeaiagentruntime - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-securityattribute - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-zpr - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-dblm - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-mngdmac - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-lustrefilestorage - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-modeldeployment - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-distributeddatabase - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-apiaccesscontrol - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-wlms - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-addons-adk - 3.90.1 + 3.91.0 com.oracle.oci.sdk oci-java-sdk-dbmulticloud - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-apiplatform - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-managedkafka - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-aidataplatform - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-multicloud - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-resourceanalytics - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-jmsutils - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-iot - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-psa - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-dif - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-batch - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-marketplaceprivateoffer - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-gdp - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-limitsincrease - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-generativeaidata - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-self - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-containerregistry - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-databasetoolsruntime - 3.90.1 + 3.91.0 false com.oracle.oci.sdk oci-java-sdk-costad - 3.90.1 + 3.91.0 false diff --git a/bmc-budget/pom.xml b/bmc-budget/pom.xml index f5d3ea34f1b..0f8d7d1b447 100644 --- a/bmc-budget/pom.xml +++ b/bmc-budget/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-budget @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-capacitymanagement/pom.xml b/bmc-capacitymanagement/pom.xml index 35fb840f6a4..51b8c4bed0c 100644 --- a/bmc-capacitymanagement/pom.xml +++ b/bmc-capacitymanagement/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-capacitymanagement @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-certificates/pom.xml b/bmc-certificates/pom.xml index 9bd8e7c813a..f1cb6ef509b 100644 --- a/bmc-certificates/pom.xml +++ b/bmc-certificates/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-certificates @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-certificatesmanagement/pom.xml b/bmc-certificatesmanagement/pom.xml index 91fff9b5e2f..80b58ef5693 100644 --- a/bmc-certificatesmanagement/pom.xml +++ b/bmc-certificatesmanagement/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-certificatesmanagement @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-cims/pom.xml b/bmc-cims/pom.xml index 6d6981b380a..014f9b15199 100644 --- a/bmc-cims/pom.xml +++ b/bmc-cims/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-cims @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-circuitbreaker/pom.xml b/bmc-circuitbreaker/pom.xml index 32519e0bb54..b6dd04c79fa 100644 --- a/bmc-circuitbreaker/pom.xml +++ b/bmc-circuitbreaker/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-circuitbreaker diff --git a/bmc-cloudbridge/pom.xml b/bmc-cloudbridge/pom.xml index de99fd20de9..725fe44142d 100644 --- a/bmc-cloudbridge/pom.xml +++ b/bmc-cloudbridge/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-cloudbridge @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-cloudguard/pom.xml b/bmc-cloudguard/pom.xml index 1e10dadbdea..3397f2bfbbe 100644 --- a/bmc-cloudguard/pom.xml +++ b/bmc-cloudguard/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-cloudguard @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-cloudmigrations/pom.xml b/bmc-cloudmigrations/pom.xml index 600d5421f9f..9b5280da287 100644 --- a/bmc-cloudmigrations/pom.xml +++ b/bmc-cloudmigrations/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-cloudmigrations @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-clusterplacementgroups/pom.xml b/bmc-clusterplacementgroups/pom.xml index 95c924686fc..57fffc41b86 100644 --- a/bmc-clusterplacementgroups/pom.xml +++ b/bmc-clusterplacementgroups/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-clusterplacementgroups @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-common-httpclient-choices/bmc-common-httpclient-jersey/pom.xml b/bmc-common-httpclient-choices/bmc-common-httpclient-jersey/pom.xml index 5dabd585f20..fa0e41f1cd6 100644 --- a/bmc-common-httpclient-choices/bmc-common-httpclient-jersey/pom.xml +++ b/bmc-common-httpclient-choices/bmc-common-httpclient-jersey/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk-common-httpclient-choices - 3.90.1 + 3.91.0 ../pom.xml @@ -93,7 +93,7 @@ com.oracle.oci.sdk oci-java-sdk-addons-apache-configurator-jersey - 3.90.1 + 3.91.0 @@ -102,7 +102,7 @@ com.oracle.oci.sdk oci-java-sdk-common-httpclient - 3.90.1 + 3.91.0 org.glassfish.jersey.core diff --git a/bmc-common-httpclient-choices/bmc-common-httpclient-jersey3/pom.xml b/bmc-common-httpclient-choices/bmc-common-httpclient-jersey3/pom.xml index 64f3f740487..cd7addba310 100644 --- a/bmc-common-httpclient-choices/bmc-common-httpclient-jersey3/pom.xml +++ b/bmc-common-httpclient-choices/bmc-common-httpclient-jersey3/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk-common-httpclient-choices - 3.90.1 + 3.91.0 ../pom.xml @@ -93,7 +93,7 @@ com.oracle.oci.sdk oci-java-sdk-addons-apache-configurator-jersey3 - 3.90.1 + 3.91.0 @@ -102,7 +102,7 @@ com.oracle.oci.sdk oci-java-sdk-common-httpclient - 3.90.1 + 3.91.0 jakarta.ws.rs diff --git a/bmc-common-httpclient-choices/pom.xml b/bmc-common-httpclient-choices/pom.xml index 72717324d26..8d3674d37dd 100644 --- a/bmc-common-httpclient-choices/pom.xml +++ b/bmc-common-httpclient-choices/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml diff --git a/bmc-common-httpclient/pom.xml b/bmc-common-httpclient/pom.xml index e56ea90abe4..f1f8d124d89 100644 --- a/bmc-common-httpclient/pom.xml +++ b/bmc-common-httpclient/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml diff --git a/bmc-common/pom.xml b/bmc-common/pom.xml index dccda8e6f16..2f44d4896e3 100644 --- a/bmc-common/pom.xml +++ b/bmc-common/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml @@ -87,12 +87,12 @@ com.oracle.oci.sdk oci-java-sdk-circuitbreaker - 3.90.1 + 3.91.0 com.oracle.oci.sdk oci-java-sdk-common-httpclient - 3.90.1 + 3.91.0 @@ -137,7 +137,7 @@ com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.90.1 + 3.91.0 test diff --git a/bmc-common/src/main/java/com/oracle/bmc/auth/internal/X509FederationClient.java b/bmc-common/src/main/java/com/oracle/bmc/auth/internal/X509FederationClient.java index fb8e65350c2..efc4a15995b 100644 --- a/bmc-common/src/main/java/com/oracle/bmc/auth/internal/X509FederationClient.java +++ b/bmc-common/src/main/java/com/oracle/bmc/auth/internal/X509FederationClient.java @@ -16,6 +16,7 @@ import com.oracle.bmc.http.client.HttpClient; import com.oracle.bmc.http.client.HttpProvider; import com.oracle.bmc.http.client.Method; +import com.oracle.bmc.http.client.Options; import com.oracle.bmc.http.client.StandardClientProperties; import com.oracle.bmc.http.internal.AuthnClientFilter; import com.oracle.bmc.http.internal.CircuitBreakerHelper; @@ -202,6 +203,9 @@ public String get() { .newBuilder() .baseUri(URI.create(federationEndpoint)) .property(StandardClientProperties.ASYNC_POOL_SIZE, 1) + .property( + StandardClientProperties.ASYNC_POOL_CORE_THREAD_TIMEOUT_ENABLED, + Options.isSyncRequestsAsyncCoreThreadTimeoutEnabled()) .registerRequestInterceptor( Priorities.AUTHENTICATION, new AuthnClientFilter( diff --git a/bmc-common/src/test/java/com/oracle/bmc/auth/internal/X509FederationClientTest.java b/bmc-common/src/test/java/com/oracle/bmc/auth/internal/X509FederationClientTest.java index 5312d25fa39..85a771df4bf 100644 --- a/bmc-common/src/test/java/com/oracle/bmc/auth/internal/X509FederationClientTest.java +++ b/bmc-common/src/test/java/com/oracle/bmc/auth/internal/X509FederationClientTest.java @@ -9,17 +9,21 @@ import com.oracle.bmc.auth.SessionKeySupplier; import com.oracle.bmc.auth.X509CertificateSupplier; import com.oracle.bmc.http.ClientConfigurator; +import com.oracle.bmc.http.client.Options; import com.oracle.bmc.http.client.Serializer; import com.oracle.bmc.http.signing.internal.PEMFileRSAPrivateKeySupplier; import com.oracle.bmc.model.BmcException; import com.oracle.bmc.util.CircuitBreakerUtils; +import org.junit.After; import org.junit.Before; import org.junit.Rule; import org.junit.Test; import java.io.IOException; import java.io.InputStream; +import java.lang.reflect.Field; +import java.lang.reflect.Method; import java.nio.file.Files; import java.nio.file.Paths; import java.security.KeyPair; @@ -27,6 +31,7 @@ import java.security.cert.CertificateFactory; import java.security.cert.X509Certificate; import java.security.interfaces.RSAPrivateKey; +import java.util.Collection; import java.util.Collections; import java.util.Objects; @@ -34,12 +39,15 @@ import static com.github.tomakehurst.wiremock.core.WireMockConfiguration.wireMockConfig; import static com.github.tomakehurst.wiremock.stubbing.Scenario.STARTED; import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; +import static org.junit.Assert.assertTrue; import static org.mockito.Mockito.mock; public class X509FederationClientTest { private X509FederationClient clientUnderTest; private X509FederationClient.X509FederationRequest federationRequest; + private boolean originalSyncRequestsAsyncCoreThreadTimeoutEnabled; @Rule public WireMockRule mockService = @@ -48,6 +56,9 @@ public class X509FederationClientTest { @Before public void setUp() throws IOException { + originalSyncRequestsAsyncCoreThreadTimeoutEnabled = + Options.isSyncRequestsAsyncCoreThreadTimeoutEnabled(); + SessionKeySupplier sessionKeySupplier = new SessionKeySupplier() { @Override @@ -116,6 +127,12 @@ public CertificateAndPrivateKeyPair getCertificateAndKeyPair() { "DEFAULT_FINGERPRINT"); } + @After + public void tearDown() throws Exception { + setSyncRequestsAsyncCoreThreadTimeoutEnabled( + originalSyncRequestsAsyncCoreThreadTimeoutEnabled); + } + @Test public void testX509ClientRetriesWithFailure() { stubFor(post(urlEqualTo("/v1/x509")).willReturn(WireMock.serverError())); @@ -171,6 +188,44 @@ public void testX509ClientSuccessAfterRetries() { assertEquals("abcdef", responseWrapper.token.getToken()); } + @Test + public void constructorConfiguresAsyncCoreThreadTimeoutFromOptions() throws Exception { + setSyncRequestsAsyncCoreThreadTimeoutEnabled(true); + + X509FederationClient federationClient = + new X509FederationClient( + "http://localhost:" + mockService.port(), + "tenantId", + mock(X509CertificateSupplier.class), + mock(SessionKeySupplier.class), + Collections.emptySet(), + mock(ClientConfigurator.class), + Collections.emptyList(), + CircuitBreakerUtils.getDefaultAuthClientCircuitBreakerConfiguration()); + + Object httpClient = getFieldValue(federationClient, "httpClient"); + Object jerseyClient = getFieldValue(httpClient, "client"); + Method getConfiguration = jerseyClient.getClass().getMethod("getConfiguration"); + Object configuration = getConfiguration.invoke(jerseyClient); + Method getInstances = configuration.getClass().getMethod("getInstances"); + Collection instances = (Collection) getInstances.invoke(configuration); + + Object executorProvider = + instances.stream() + .filter( + instance -> + instance.getClass() + .getName() + .endsWith("DaemonClientAsyncExecutorProvider")) + .findFirst() + .orElse(null); + + assertNotNull("DaemonClientAsyncExecutorProvider was not registered", executorProvider); + assertTrue( + "DaemonClientAsyncExecutorProvider should allow core thread timeout", + (Boolean) getFieldValue(executorProvider, "allowCoreThreadTimeOut")); + } + @Test public void jacksonCanDeserializeSecurityToken() throws IOException { final String strToken = "{\"token\" : \"abcdef\"}"; @@ -189,4 +244,26 @@ public void jacksonCanRoundTripSecurityToken() throws IOException { .readValue(serializer.writeValueAsString(secToken), secToken.getClass()) .getToken()); } + + private static void setSyncRequestsAsyncCoreThreadTimeoutEnabled(boolean enabled) + throws Exception { + Field field = + Options.class.getDeclaredField("SYNC_REQUESTS_ASYNC_CORE_THREAD_TIMEOUT_ENABLED"); + field.setAccessible(true); + field.setBoolean(null, enabled); + } + + private static Object getFieldValue(Object object, String fieldName) throws Exception { + Class type = object.getClass(); + while (type != null) { + try { + Field field = type.getDeclaredField(fieldName); + field.setAccessible(true); + return field.get(object); + } catch (NoSuchFieldException e) { + type = type.getSuperclass(); + } + } + throw new NoSuchFieldException(fieldName); + } } diff --git a/bmc-computecloudatcustomer/pom.xml b/bmc-computecloudatcustomer/pom.xml index 4ab9e4f914d..a95725b4bbd 100644 --- a/bmc-computecloudatcustomer/pom.xml +++ b/bmc-computecloudatcustomer/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-computecloudatcustomer @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-computeinstanceagent/pom.xml b/bmc-computeinstanceagent/pom.xml index c5dc50f2a8e..4ebec781811 100644 --- a/bmc-computeinstanceagent/pom.xml +++ b/bmc-computeinstanceagent/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-computeinstanceagent @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-containerengine/pom.xml b/bmc-containerengine/pom.xml index 55695d0cbfb..70558fa6952 100644 --- a/bmc-containerengine/pom.xml +++ b/bmc-containerengine/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 diff --git a/bmc-containerinstances/pom.xml b/bmc-containerinstances/pom.xml index f04682b61d7..0ba3d0ae394 100644 --- a/bmc-containerinstances/pom.xml +++ b/bmc-containerinstances/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-containerinstances @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-containerregistry/pom.xml b/bmc-containerregistry/pom.xml index cac1da1208a..b09812572c7 100644 --- a/bmc-containerregistry/pom.xml +++ b/bmc-containerregistry/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-containerregistry @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-core/pom.xml b/bmc-core/pom.xml index fb313ce4a33..7e27c751889 100644 --- a/bmc-core/pom.xml +++ b/bmc-core/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml @@ -18,12 +18,12 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 com.oracle.oci.sdk oci-java-sdk-workrequests - 3.90.1 + 3.91.0 diff --git a/bmc-costad/pom.xml b/bmc-costad/pom.xml index bc6418785d0..25b7435a04b 100644 --- a/bmc-costad/pom.xml +++ b/bmc-costad/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-costad @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-dashboardservice/pom.xml b/bmc-dashboardservice/pom.xml index f67fde5cdc3..d49573c255a 100644 --- a/bmc-dashboardservice/pom.xml +++ b/bmc-dashboardservice/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-dashboardservice @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-database/pom.xml b/bmc-database/pom.xml index 2117c2083e2..27caa07b2d6 100644 --- a/bmc-database/pom.xml +++ b/bmc-database/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml @@ -18,12 +18,12 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 com.oracle.oci.sdk oci-java-sdk-workrequests - 3.90.1 + 3.91.0 diff --git a/bmc-databasemanagement/pom.xml b/bmc-databasemanagement/pom.xml index f69ae9bfe5a..698f3fad2bd 100644 --- a/bmc-databasemanagement/pom.xml +++ b/bmc-databasemanagement/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-databasemanagement @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-databasemigration/pom.xml b/bmc-databasemigration/pom.xml index fc66a1892dd..04fc573c656 100644 --- a/bmc-databasemigration/pom.xml +++ b/bmc-databasemigration/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-databasemigration @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-databasetools/pom.xml b/bmc-databasetools/pom.xml index 7ff36fa76a8..a15ee04cf1e 100644 --- a/bmc-databasetools/pom.xml +++ b/bmc-databasetools/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-databasetools @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-databasetoolsruntime/pom.xml b/bmc-databasetoolsruntime/pom.xml index 794aa4b2baf..8e23093fb08 100644 --- a/bmc-databasetoolsruntime/pom.xml +++ b/bmc-databasetoolsruntime/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-databasetoolsruntime @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-datacatalog/pom.xml b/bmc-datacatalog/pom.xml index 19aaebd6b4f..93a81fcf0e3 100644 --- a/bmc-datacatalog/pom.xml +++ b/bmc-datacatalog/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-datacatalog @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-dataflow/pom.xml b/bmc-dataflow/pom.xml index f4e9d208014..a9bf5c6243a 100644 --- a/bmc-dataflow/pom.xml +++ b/bmc-dataflow/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-dataflow @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-dataintegration/pom.xml b/bmc-dataintegration/pom.xml index b92215153fa..db44f0a015d 100644 --- a/bmc-dataintegration/pom.xml +++ b/bmc-dataintegration/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-dataintegration @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-datalabelingservice/pom.xml b/bmc-datalabelingservice/pom.xml index 0e09dc3d2dd..ff9bb4d6b46 100644 --- a/bmc-datalabelingservice/pom.xml +++ b/bmc-datalabelingservice/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-datalabelingservice @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-datalabelingservicedataplane/pom.xml b/bmc-datalabelingservicedataplane/pom.xml index 084bc1ce64e..df96ad7cfe3 100644 --- a/bmc-datalabelingservicedataplane/pom.xml +++ b/bmc-datalabelingservicedataplane/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-datalabelingservicedataplane @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-datasafe/pom.xml b/bmc-datasafe/pom.xml index e39491ce713..fd34554fafe 100644 --- a/bmc-datasafe/pom.xml +++ b/bmc-datasafe/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-datasafe @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-datascience/pom.xml b/bmc-datascience/pom.xml index 6172e428781..b9f231f7a37 100644 --- a/bmc-datascience/pom.xml +++ b/bmc-datascience/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-datascience @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ScheduleIntervalTrigger.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ScheduleIntervalTrigger.java index 18a9b8f1b82..d14c5659d26 100644 --- a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ScheduleIntervalTrigger.java +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ScheduleIntervalTrigger.java @@ -75,15 +75,50 @@ public Builder interval(Integer interval) { return this; } /** - * when true and timeStart is null, system generate a random start time between now and now - * + interval; isRandomStartTime can be true if timeStart is null. + * Maximum number of minutes after timeStart that the scheduler may use to randomly select + * the first execution time. This value is considered only when isRandomStartTime is true. + * This value applies only to the initial execution; subsequent executions remain + * deterministic based on the resolved first trigger time. If timeStart is null, the service + * resolves the effective start time using the current time. The initial jitter window is + * then applied once to that resolved start time to determine the first execution time. If + * not provided and isRandomStartTime is true, the service defaults the jitter window to + * half of the configured interval duration. The value must not exceed the configured + * interval duration. + */ + @com.fasterxml.jackson.annotation.JsonProperty("initialJitterInMinutes") + private Integer initialJitterInMinutes; + + /** + * Maximum number of minutes after timeStart that the scheduler may use to randomly select + * the first execution time. This value is considered only when isRandomStartTime is true. + * This value applies only to the initial execution; subsequent executions remain + * deterministic based on the resolved first trigger time. If timeStart is null, the service + * resolves the effective start time using the current time. The initial jitter window is + * then applied once to that resolved start time to determine the first execution time. If + * not provided and isRandomStartTime is true, the service defaults the jitter window to + * half of the configured interval duration. The value must not exceed the configured + * interval duration. + * + * @param initialJitterInMinutes the value to set + * @return this builder + */ + public Builder initialJitterInMinutes(Integer initialJitterInMinutes) { + this.initialJitterInMinutes = initialJitterInMinutes; + this.__explicitlySet__.add("initialJitterInMinutes"); + return this; + } + /** + * when true, system generates a randomized first start time between timeStart and timeStart + * + initialJitterInMinutes. if timeStart is null, the current time is used as the base + * start time. */ @com.fasterxml.jackson.annotation.JsonProperty("isRandomStartTime") private Boolean isRandomStartTime; /** - * when true and timeStart is null, system generate a random start time between now and now - * + interval; isRandomStartTime can be true if timeStart is null. + * when true, system generates a randomized first start time between timeStart and timeStart + * + initialJitterInMinutes. if timeStart is null, the current time is used as the base + * start time. * * @param isRandomStartTime the value to set * @return this builder @@ -104,6 +139,7 @@ public ScheduleIntervalTrigger build() { this.timeEnd, this.frequency, this.interval, + this.initialJitterInMinutes, this.isRandomStartTime); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); @@ -125,6 +161,9 @@ public Builder copy(ScheduleIntervalTrigger model) { if (model.wasPropertyExplicitlySet("interval")) { this.interval(model.getInterval()); } + if (model.wasPropertyExplicitlySet("initialJitterInMinutes")) { + this.initialJitterInMinutes(model.getInitialJitterInMinutes()); + } if (model.wasPropertyExplicitlySet("isRandomStartTime")) { this.isRandomStartTime(model.getIsRandomStartTime()); } @@ -147,10 +186,12 @@ public ScheduleIntervalTrigger( java.util.Date timeEnd, Frequency frequency, Integer interval, + Integer initialJitterInMinutes, Boolean isRandomStartTime) { super(timeStart, timeEnd); this.frequency = frequency; this.interval = interval; + this.initialJitterInMinutes = initialJitterInMinutes; this.isRandomStartTime = isRandomStartTime; } @@ -227,15 +268,46 @@ public Integer getInterval() { } /** - * when true and timeStart is null, system generate a random start time between now and now + - * interval; isRandomStartTime can be true if timeStart is null. + * Maximum number of minutes after timeStart that the scheduler may use to randomly select the + * first execution time. This value is considered only when isRandomStartTime is true. This + * value applies only to the initial execution; subsequent executions remain deterministic based + * on the resolved first trigger time. If timeStart is null, the service resolves the effective + * start time using the current time. The initial jitter window is then applied once to that + * resolved start time to determine the first execution time. If not provided and + * isRandomStartTime is true, the service defaults the jitter window to half of the configured + * interval duration. The value must not exceed the configured interval duration. + */ + @com.fasterxml.jackson.annotation.JsonProperty("initialJitterInMinutes") + private final Integer initialJitterInMinutes; + + /** + * Maximum number of minutes after timeStart that the scheduler may use to randomly select the + * first execution time. This value is considered only when isRandomStartTime is true. This + * value applies only to the initial execution; subsequent executions remain deterministic based + * on the resolved first trigger time. If timeStart is null, the service resolves the effective + * start time using the current time. The initial jitter window is then applied once to that + * resolved start time to determine the first execution time. If not provided and + * isRandomStartTime is true, the service defaults the jitter window to half of the configured + * interval duration. The value must not exceed the configured interval duration. + * + * @return the value + */ + public Integer getInitialJitterInMinutes() { + return initialJitterInMinutes; + } + + /** + * when true, system generates a randomized first start time between timeStart and timeStart + + * initialJitterInMinutes. if timeStart is null, the current time is used as the base start + * time. */ @com.fasterxml.jackson.annotation.JsonProperty("isRandomStartTime") private final Boolean isRandomStartTime; /** - * when true and timeStart is null, system generate a random start time between now and now + - * interval; isRandomStartTime can be true if timeStart is null. + * when true, system generates a randomized first start time between timeStart and timeStart + + * initialJitterInMinutes. if timeStart is null, the current time is used as the base start + * time. * * @return the value */ @@ -260,6 +332,7 @@ public String toString(boolean includeByteArrayContents) { sb.append("super=").append(super.toString(includeByteArrayContents)); sb.append(", frequency=").append(String.valueOf(this.frequency)); sb.append(", interval=").append(String.valueOf(this.interval)); + sb.append(", initialJitterInMinutes=").append(String.valueOf(this.initialJitterInMinutes)); sb.append(", isRandomStartTime=").append(String.valueOf(this.isRandomStartTime)); sb.append(")"); return sb.toString(); @@ -277,6 +350,8 @@ public boolean equals(Object o) { ScheduleIntervalTrigger other = (ScheduleIntervalTrigger) o; return java.util.Objects.equals(this.frequency, other.frequency) && java.util.Objects.equals(this.interval, other.interval) + && java.util.Objects.equals( + this.initialJitterInMinutes, other.initialJitterInMinutes) && java.util.Objects.equals(this.isRandomStartTime, other.isRandomStartTime) && super.equals(other); } @@ -287,6 +362,11 @@ public int hashCode() { int result = super.hashCode(); result = (result * PRIME) + (this.frequency == null ? 43 : this.frequency.hashCode()); result = (result * PRIME) + (this.interval == null ? 43 : this.interval.hashCode()); + result = + (result * PRIME) + + (this.initialJitterInMinutes == null + ? 43 + : this.initialJitterInMinutes.hashCode()); result = (result * PRIME) + (this.isRandomStartTime == null ? 43 : this.isRandomStartTime.hashCode()); diff --git a/bmc-dblm/pom.xml b/bmc-dblm/pom.xml index b56d1e298a9..aaea08461bf 100644 --- a/bmc-dblm/pom.xml +++ b/bmc-dblm/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-dblm @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-dbmulticloud/pom.xml b/bmc-dbmulticloud/pom.xml index 1525a03a5bc..a6ff878870c 100644 --- a/bmc-dbmulticloud/pom.xml +++ b/bmc-dbmulticloud/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-dbmulticloud @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-delegateaccesscontrol/pom.xml b/bmc-delegateaccesscontrol/pom.xml index cca4a6c76b4..2b364e2fad2 100644 --- a/bmc-delegateaccesscontrol/pom.xml +++ b/bmc-delegateaccesscontrol/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-delegateaccesscontrol @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-demandsignal/pom.xml b/bmc-demandsignal/pom.xml index 256bb92b73b..ac0f80e005d 100644 --- a/bmc-demandsignal/pom.xml +++ b/bmc-demandsignal/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-demandsignal @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-desktops/pom.xml b/bmc-desktops/pom.xml index 7b1b756eaab..244486dc749 100644 --- a/bmc-desktops/pom.xml +++ b/bmc-desktops/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-desktops @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-devops/pom.xml b/bmc-devops/pom.xml index 344047bbcf2..de214d56007 100644 --- a/bmc-devops/pom.xml +++ b/bmc-devops/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-devops @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-dif/pom.xml b/bmc-dif/pom.xml index 32c81449318..1ecf92b5660 100644 --- a/bmc-dif/pom.xml +++ b/bmc-dif/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-dif @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-disasterrecovery/pom.xml b/bmc-disasterrecovery/pom.xml index 725758c480a..37290cc4129 100644 --- a/bmc-disasterrecovery/pom.xml +++ b/bmc-disasterrecovery/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-disasterrecovery @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-distributeddatabase/pom.xml b/bmc-distributeddatabase/pom.xml index 0acc102ef09..f139840f19b 100644 --- a/bmc-distributeddatabase/pom.xml +++ b/bmc-distributeddatabase/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-distributeddatabase @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-dns/pom.xml b/bmc-dns/pom.xml index 4ace2fa52a5..d669a407f9e 100644 --- a/bmc-dns/pom.xml +++ b/bmc-dns/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml @@ -18,12 +18,12 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 com.oracle.oci.sdk oci-java-sdk-workrequests - 3.90.1 + 3.91.0 diff --git a/bmc-email/pom.xml b/bmc-email/pom.xml index b6fd598b4cf..cb698e2dada 100644 --- a/bmc-email/pom.xml +++ b/bmc-email/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 diff --git a/bmc-emaildataplane/pom.xml b/bmc-emaildataplane/pom.xml index aea7982b417..4a7f3abe822 100644 --- a/bmc-emaildataplane/pom.xml +++ b/bmc-emaildataplane/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-emaildataplane @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-emwarehouse/pom.xml b/bmc-emwarehouse/pom.xml index 3df7ce847a4..64283322872 100644 --- a/bmc-emwarehouse/pom.xml +++ b/bmc-emwarehouse/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-emwarehouse @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-encryption/pom.xml b/bmc-encryption/pom.xml index 9f0aac5139e..8c598b1c4c0 100644 --- a/bmc-encryption/pom.xml +++ b/bmc-encryption/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml @@ -18,17 +18,17 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 com.oracle.oci.sdk oci-java-sdk-common-httpclient - 3.90.1 + 3.91.0 com.oracle.oci.sdk oci-java-sdk-keymanagement - 3.90.1 + 3.91.0 com.fasterxml.jackson.core @@ -48,7 +48,7 @@ com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.90.1 + 3.91.0 test diff --git a/bmc-enforcer-rules/pom.xml b/bmc-enforcer-rules/pom.xml index 6804ad518e3..4df03b86f46 100644 --- a/bmc-enforcer-rules/pom.xml +++ b/bmc-enforcer-rules/pom.xml @@ -6,7 +6,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 oci-java-sdk-enforcer-rules diff --git a/bmc-events/pom.xml b/bmc-events/pom.xml index 16c398ae6c5..466861eafc1 100644 --- a/bmc-events/pom.xml +++ b/bmc-events/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-events @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-examples/pom.xml b/bmc-examples/pom.xml index 9548bb3835f..e0c303743d7 100644 --- a/bmc-examples/pom.xml +++ b/bmc-examples/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-examples @@ -71,14 +71,14 @@ com.oracle.oci.sdk oci-java-sdk-bom - 3.90.1 + 3.91.0 pom import com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.90.1 + 3.91.0 pom import diff --git a/bmc-filestorage/pom.xml b/bmc-filestorage/pom.xml index d43babfcc24..4d7170f3bd5 100644 --- a/bmc-filestorage/pom.xml +++ b/bmc-filestorage/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 diff --git a/bmc-fleetappsmanagement/pom.xml b/bmc-fleetappsmanagement/pom.xml index 01a7d00b269..51d17578d00 100644 --- a/bmc-fleetappsmanagement/pom.xml +++ b/bmc-fleetappsmanagement/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-fleetappsmanagement @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-fleetsoftwareupdate/pom.xml b/bmc-fleetsoftwareupdate/pom.xml index 4596aa27573..6ef55ab1249 100644 --- a/bmc-fleetsoftwareupdate/pom.xml +++ b/bmc-fleetsoftwareupdate/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-fleetsoftwareupdate @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-full/pom.xml b/bmc-full/pom.xml index 9d73683a877..d36b0577db7 100644 --- a/bmc-full/pom.xml +++ b/bmc-full/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-full @@ -16,7 +16,7 @@ com.oracle.oci.sdk oci-java-sdk-bom - 3.90.1 + 3.91.0 pom import diff --git a/bmc-functions/pom.xml b/bmc-functions/pom.xml index e351bb8e773..837fefdef7c 100644 --- a/bmc-functions/pom.xml +++ b/bmc-functions/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-functions @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-fusionapps/pom.xml b/bmc-fusionapps/pom.xml index 00abeb6b797..80a0f7fb684 100644 --- a/bmc-fusionapps/pom.xml +++ b/bmc-fusionapps/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-fusionapps @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-gdp/pom.xml b/bmc-gdp/pom.xml index 2744c25b984..45c273e5a0e 100644 --- a/bmc-gdp/pom.xml +++ b/bmc-gdp/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-gdp @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-generativeai/pom.xml b/bmc-generativeai/pom.xml index 0e075d67889..eebebc5a19d 100644 --- a/bmc-generativeai/pom.xml +++ b/bmc-generativeai/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-generativeai @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-generativeaiagent/pom.xml b/bmc-generativeaiagent/pom.xml index 78148f652c9..b70ad8dab0b 100644 --- a/bmc-generativeaiagent/pom.xml +++ b/bmc-generativeaiagent/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-generativeaiagent @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-generativeaiagentruntime/pom.xml b/bmc-generativeaiagentruntime/pom.xml index 320a9976d77..8ad8d08ac95 100644 --- a/bmc-generativeaiagentruntime/pom.xml +++ b/bmc-generativeaiagentruntime/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-generativeaiagentruntime @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-generativeaidata/pom.xml b/bmc-generativeaidata/pom.xml index a7dd0fa75d9..a8a5e2bb4e8 100644 --- a/bmc-generativeaidata/pom.xml +++ b/bmc-generativeaidata/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-generativeaidata @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-generativeaiinference/pom.xml b/bmc-generativeaiinference/pom.xml index 4a7b11773e5..1d1860b2953 100644 --- a/bmc-generativeaiinference/pom.xml +++ b/bmc-generativeaiinference/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-generativeaiinference @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-genericartifactscontent/pom.xml b/bmc-genericartifactscontent/pom.xml index 2b7db341683..1e8b35b74f9 100644 --- a/bmc-genericartifactscontent/pom.xml +++ b/bmc-genericartifactscontent/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-genericartifactscontent @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-goldengate/pom.xml b/bmc-goldengate/pom.xml index 491a454ba80..ac4483015fb 100644 --- a/bmc-goldengate/pom.xml +++ b/bmc-goldengate/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-goldengate @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-governancerulescontrolplane/pom.xml b/bmc-governancerulescontrolplane/pom.xml index dd1fa66bc05..cd0b4df28cc 100644 --- a/bmc-governancerulescontrolplane/pom.xml +++ b/bmc-governancerulescontrolplane/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-governancerulescontrolplane @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-healthchecks/pom.xml b/bmc-healthchecks/pom.xml index 137c29ecdca..8ba6bddc8a7 100644 --- a/bmc-healthchecks/pom.xml +++ b/bmc-healthchecks/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-healthchecks @@ -16,7 +16,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-identity/pom.xml b/bmc-identity/pom.xml index 6a1e79f72ae..3d7ed4decb6 100644 --- a/bmc-identity/pom.xml +++ b/bmc-identity/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 diff --git a/bmc-identitydataplane/pom.xml b/bmc-identitydataplane/pom.xml index 57318d96a02..0ff4f625006 100644 --- a/bmc-identitydataplane/pom.xml +++ b/bmc-identitydataplane/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-identitydataplane @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-identitydomains/pom.xml b/bmc-identitydomains/pom.xml index ec10bf1923d..1a58b472dad 100644 --- a/bmc-identitydomains/pom.xml +++ b/bmc-identitydomains/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-identitydomains @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-integration/pom.xml b/bmc-integration/pom.xml index 0a893320726..b2b0a0146a0 100644 --- a/bmc-integration/pom.xml +++ b/bmc-integration/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-integration @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-iot/pom.xml b/bmc-iot/pom.xml index b2f0468a26e..44c5c2c22bc 100644 --- a/bmc-iot/pom.xml +++ b/bmc-iot/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-iot @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-jms/pom.xml b/bmc-jms/pom.xml index fde137614be..932a3175d3f 100644 --- a/bmc-jms/pom.xml +++ b/bmc-jms/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-jms @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-jmsjavadownloads/pom.xml b/bmc-jmsjavadownloads/pom.xml index 90b0645e358..b96f0392cff 100644 --- a/bmc-jmsjavadownloads/pom.xml +++ b/bmc-jmsjavadownloads/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-jmsjavadownloads @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-jmsutils/pom.xml b/bmc-jmsutils/pom.xml index 278eb60fe86..100d356bc93 100644 --- a/bmc-jmsutils/pom.xml +++ b/bmc-jmsutils/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-jmsutils @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-keymanagement/pom.xml b/bmc-keymanagement/pom.xml index cba294a1c7b..f87b8ba9de2 100644 --- a/bmc-keymanagement/pom.xml +++ b/bmc-keymanagement/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-keymanagement @@ -16,7 +16,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-licensemanager/pom.xml b/bmc-licensemanager/pom.xml index 3046b805e45..10aa9a5c74a 100644 --- a/bmc-licensemanager/pom.xml +++ b/bmc-licensemanager/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-licensemanager @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-limits/pom.xml b/bmc-limits/pom.xml index cf970e617b1..f6014aa728f 100644 --- a/bmc-limits/pom.xml +++ b/bmc-limits/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-limits @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-limitsincrease/pom.xml b/bmc-limitsincrease/pom.xml index aaa7c91ca23..1e18ed8310f 100644 --- a/bmc-limitsincrease/pom.xml +++ b/bmc-limitsincrease/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-limitsincrease @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-loadbalancer/pom.xml b/bmc-loadbalancer/pom.xml index 069e6d0c452..b0da44d67d5 100644 --- a/bmc-loadbalancer/pom.xml +++ b/bmc-loadbalancer/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 diff --git a/bmc-lockbox/pom.xml b/bmc-lockbox/pom.xml index 04159b155bc..5a1b2b74e4a 100644 --- a/bmc-lockbox/pom.xml +++ b/bmc-lockbox/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-lockbox @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-loganalytics/pom.xml b/bmc-loganalytics/pom.xml index 8f7400089e5..94e3ca5c546 100644 --- a/bmc-loganalytics/pom.xml +++ b/bmc-loganalytics/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-loganalytics @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-logging/pom.xml b/bmc-logging/pom.xml index 009244ed7f0..672cc6b3040 100644 --- a/bmc-logging/pom.xml +++ b/bmc-logging/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-logging @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-loggingingestion/pom.xml b/bmc-loggingingestion/pom.xml index a55761da6e0..4193a5d1417 100644 --- a/bmc-loggingingestion/pom.xml +++ b/bmc-loggingingestion/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-loggingingestion @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-loggingsearch/pom.xml b/bmc-loggingsearch/pom.xml index e4dad79a0f3..4c9109433b8 100644 --- a/bmc-loggingsearch/pom.xml +++ b/bmc-loggingsearch/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-loggingsearch @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-lustrefilestorage/pom.xml b/bmc-lustrefilestorage/pom.xml index d1545ec38bd..7bf10862081 100644 --- a/bmc-lustrefilestorage/pom.xml +++ b/bmc-lustrefilestorage/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-lustrefilestorage @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-managedkafka/pom.xml b/bmc-managedkafka/pom.xml index 115e883fb4b..877c2a85862 100644 --- a/bmc-managedkafka/pom.xml +++ b/bmc-managedkafka/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-managedkafka @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-managementagent/pom.xml b/bmc-managementagent/pom.xml index 1ae7fea2fe9..915c66c57e9 100644 --- a/bmc-managementagent/pom.xml +++ b/bmc-managementagent/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-managementagent @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-managementdashboard/pom.xml b/bmc-managementdashboard/pom.xml index 437b341249c..428c638a326 100644 --- a/bmc-managementdashboard/pom.xml +++ b/bmc-managementdashboard/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-managementdashboard @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-marketplace/pom.xml b/bmc-marketplace/pom.xml index 2f0415867b0..04864d4f727 100644 --- a/bmc-marketplace/pom.xml +++ b/bmc-marketplace/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-marketplace @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-marketplaceprivateoffer/pom.xml b/bmc-marketplaceprivateoffer/pom.xml index 763dbffdc1a..e00f878276a 100644 --- a/bmc-marketplaceprivateoffer/pom.xml +++ b/bmc-marketplaceprivateoffer/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-marketplaceprivateoffer @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-marketplacepublisher/pom.xml b/bmc-marketplacepublisher/pom.xml index 82c3f25d1ca..c4e1e80c1b2 100644 --- a/bmc-marketplacepublisher/pom.xml +++ b/bmc-marketplacepublisher/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-marketplacepublisher @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-mediaservices/pom.xml b/bmc-mediaservices/pom.xml index bfc90b6bfb9..4f16c420c31 100644 --- a/bmc-mediaservices/pom.xml +++ b/bmc-mediaservices/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-mediaservices @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-mngdmac/pom.xml b/bmc-mngdmac/pom.xml index e1ae5dcc76c..6ddeff455e7 100644 --- a/bmc-mngdmac/pom.xml +++ b/bmc-mngdmac/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-mngdmac @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-modeldeployment/pom.xml b/bmc-modeldeployment/pom.xml index 89439e10b10..fe704d55c9f 100644 --- a/bmc-modeldeployment/pom.xml +++ b/bmc-modeldeployment/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-modeldeployment @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-monitoring/pom.xml b/bmc-monitoring/pom.xml index 84072b4fb5a..9e2579db83b 100644 --- a/bmc-monitoring/pom.xml +++ b/bmc-monitoring/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-monitoring @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-multicloud/pom.xml b/bmc-multicloud/pom.xml index 70d62fcec67..0ead0914285 100644 --- a/bmc-multicloud/pom.xml +++ b/bmc-multicloud/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-multicloud @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-mysql/pom.xml b/bmc-mysql/pom.xml index ec2616545ea..72dce90d10d 100644 --- a/bmc-mysql/pom.xml +++ b/bmc-mysql/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-mysql @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-networkfirewall/pom.xml b/bmc-networkfirewall/pom.xml index 0dacdd9504f..a2d58d3574d 100644 --- a/bmc-networkfirewall/pom.xml +++ b/bmc-networkfirewall/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-networkfirewall @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-networkloadbalancer/pom.xml b/bmc-networkloadbalancer/pom.xml index d9c5b38ce71..010b45f0ddb 100644 --- a/bmc-networkloadbalancer/pom.xml +++ b/bmc-networkloadbalancer/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-networkloadbalancer @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-nosql/pom.xml b/bmc-nosql/pom.xml index 8134af8ac80..a0fe5785b23 100644 --- a/bmc-nosql/pom.xml +++ b/bmc-nosql/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-nosql @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-objectstorage/bmc-objectstorage-combined/pom.xml b/bmc-objectstorage/bmc-objectstorage-combined/pom.xml index 2b1791713dc..523d7ac42f4 100644 --- a/bmc-objectstorage/bmc-objectstorage-combined/pom.xml +++ b/bmc-objectstorage/bmc-objectstorage-combined/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk-objectstorage-parent - 3.90.1 + 3.91.0 ../pom.xml @@ -18,12 +18,12 @@ com.oracle.oci.sdk oci-java-sdk-objectstorage-generated - 3.90.1 + 3.91.0 com.oracle.oci.sdk oci-java-sdk-objectstorage-extensions - 3.90.1 + 3.91.0 diff --git a/bmc-objectstorage/bmc-objectstorage-extensions/pom.xml b/bmc-objectstorage/bmc-objectstorage-extensions/pom.xml index 02ef12c91d0..d1520ab1564 100644 --- a/bmc-objectstorage/bmc-objectstorage-extensions/pom.xml +++ b/bmc-objectstorage/bmc-objectstorage-extensions/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk-objectstorage-parent - 3.90.1 + 3.91.0 ../pom.xml @@ -25,17 +25,17 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 com.oracle.oci.sdk oci-java-sdk-common-httpclient - 3.90.1 + 3.91.0 com.oracle.oci.sdk oci-java-sdk-objectstorage-generated - 3.90.1 + 3.91.0 org.slf4j diff --git a/bmc-objectstorage/bmc-objectstorage-generated/pom.xml b/bmc-objectstorage/bmc-objectstorage-generated/pom.xml index 3c56ce7dcdc..a114ec94608 100644 --- a/bmc-objectstorage/bmc-objectstorage-generated/pom.xml +++ b/bmc-objectstorage/bmc-objectstorage-generated/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk-objectstorage-parent - 3.90.1 + 3.91.0 ../pom.xml @@ -19,7 +19,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 diff --git a/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/ObjectStorage.java b/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/ObjectStorage.java index 4861325ab6d..c39174fa685 100644 --- a/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/ObjectStorage.java +++ b/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/ObjectStorage.java @@ -917,7 +917,9 @@ PutObjectLifecyclePolicyResponse putObjectLifecyclePolicy( * this API to re-encrypt all data encryption keys with the newly assigned key. Similarly, you * might want to re-encrypt all data encryption keys if the assigned key has been rotated to a * new key version since objects were last added to the bucket. If you call this API and there - * is no kmsKeyId associated with the bucket, the call will fail. + * is no kmsKeyId associated with the bucket, the call will fail. Also, if you set + * isBucketKeyEnabled, you might want to re-encrypt all data encryption keys using the bucket + * key. This will help reduce calls to OCI Vault KMS when older objects are downloaded. * *

Calling this API starts a work request task to re-encrypt the data encryption key of all * objects in the bucket. Only objects created before the time of the API call will be diff --git a/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/ObjectStorageAsync.java b/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/ObjectStorageAsync.java index e6237f694ce..86375e9b7ca 100644 --- a/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/ObjectStorageAsync.java +++ b/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/ObjectStorageAsync.java @@ -871,7 +871,9 @@ java.util.concurrent.Future putObjectLifecycle * this API to re-encrypt all data encryption keys with the newly assigned key. Similarly, you * might want to re-encrypt all data encryption keys if the assigned key has been rotated to a * new key version since objects were last added to the bucket. If you call this API and there - * is no kmsKeyId associated with the bucket, the call will fail. + * is no kmsKeyId associated with the bucket, the call will fail. Also, if you set + * isBucketKeyEnabled, you might want to re-encrypt all data encryption keys using the bucket + * key. This will help reduce calls to OCI Vault KMS when older objects are downloaded. * *

Calling this API starts a work request task to re-encrypt the data encryption key of all * objects in the bucket. Only objects created before the time of the API call will be diff --git a/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/ObjectStorageAsyncClient.java b/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/ObjectStorageAsyncClient.java index 7f541c0a1dc..a143aff7640 100644 --- a/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/ObjectStorageAsyncClient.java +++ b/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/ObjectStorageAsyncClient.java @@ -1168,6 +1168,8 @@ public java.util.concurrent.Future getObject( "opc-content-sha384", GetObjectResponse.Builder::opcContentSha384) .handleResponseHeaderString( "opc-multipart-sha384", GetObjectResponse.Builder::opcMultipartSha384) + .handleResponseHeaderBoolean( + "opc-bucket-key-enabled", GetObjectResponse.Builder::opcBucketKeyEnabled) .handleResponseHeaderString("content-type", GetObjectResponse.Builder::contentType) .handleResponseHeaderString( "content-language", GetObjectResponse.Builder::contentLanguage) @@ -1571,6 +1573,8 @@ public java.util.concurrent.Future headObject( "opc-content-sha384", HeadObjectResponse.Builder::opcContentSha384) .handleResponseHeaderString( "opc-multipart-sha384", HeadObjectResponse.Builder::opcMultipartSha384) + .handleResponseHeaderBoolean( + "opc-bucket-key-enabled", HeadObjectResponse.Builder::opcBucketKeyEnabled) .handleResponseHeaderString("content-type", HeadObjectResponse.Builder::contentType) .handleResponseHeaderString( "content-language", HeadObjectResponse.Builder::contentLanguage) @@ -2411,6 +2415,7 @@ public java.util.concurrent.Future reencryptBucket( .appendPathParam(request.getBucketName()) .appendPathParam("actions") .appendPathParam("reencrypt") + .appendQueryParam("isReencryptBucketKeyOnly", request.getIsReencryptBucketKeyOnly()) .accept("application/json") .appendHeader("opc-client-request-id", request.getOpcClientRequestId()) .handleResponseHeaderString( diff --git a/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/ObjectStorageClient.java b/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/ObjectStorageClient.java index 8318495aa76..9d048ac769f 100644 --- a/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/ObjectStorageClient.java +++ b/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/ObjectStorageClient.java @@ -1139,6 +1139,8 @@ public GetObjectResponse getObject(GetObjectRequest request) { "opc-content-sha384", GetObjectResponse.Builder::opcContentSha384) .handleResponseHeaderString( "opc-multipart-sha384", GetObjectResponse.Builder::opcMultipartSha384) + .handleResponseHeaderBoolean( + "opc-bucket-key-enabled", GetObjectResponse.Builder::opcBucketKeyEnabled) .handleResponseHeaderString("content-type", GetObjectResponse.Builder::contentType) .handleResponseHeaderString( "content-language", GetObjectResponse.Builder::contentLanguage) @@ -1520,6 +1522,8 @@ public HeadObjectResponse headObject(HeadObjectRequest request) { "opc-content-sha384", HeadObjectResponse.Builder::opcContentSha384) .handleResponseHeaderString( "opc-multipart-sha384", HeadObjectResponse.Builder::opcMultipartSha384) + .handleResponseHeaderBoolean( + "opc-bucket-key-enabled", HeadObjectResponse.Builder::opcBucketKeyEnabled) .handleResponseHeaderString("content-type", HeadObjectResponse.Builder::contentType) .handleResponseHeaderString( "content-language", HeadObjectResponse.Builder::contentLanguage) @@ -2315,6 +2319,7 @@ public ReencryptBucketResponse reencryptBucket(ReencryptBucketRequest request) { .appendPathParam(request.getBucketName()) .appendPathParam("actions") .appendPathParam("reencrypt") + .appendQueryParam("isReencryptBucketKeyOnly", request.getIsReencryptBucketKeyOnly()) .accept("application/json") .appendHeader("opc-client-request-id", request.getOpcClientRequestId()) .operationUsesDefaultRetries() diff --git a/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/model/Bucket.java b/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/model/Bucket.java index acd438b0b2e..eebaafcd9cf 100644 --- a/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/model/Bucket.java +++ b/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/model/Bucket.java @@ -43,6 +43,7 @@ public final class Bucket extends com.oracle.bmc.http.client.internal.Explicitly "freeformTags", "definedTags", "kmsKeyId", + "isBucketKeyEnabled", "objectLifecyclePolicyEtag", "approximateCount", "approximateSize", @@ -67,6 +68,7 @@ public Bucket( java.util.Map freeformTags, java.util.Map> definedTags, String kmsKeyId, + Boolean isBucketKeyEnabled, String objectLifecyclePolicyEtag, Long approximateCount, Long approximateSize, @@ -90,6 +92,7 @@ public Bucket( this.freeformTags = freeformTags; this.definedTags = definedTags; this.kmsKeyId = kmsKeyId; + this.isBucketKeyEnabled = isBucketKeyEnabled; this.objectLifecyclePolicyEtag = objectLifecyclePolicyEtag; this.approximateCount = approximateCount; this.approximateSize = approximateSize; @@ -363,6 +366,29 @@ public Builder kmsKeyId(String kmsKeyId) { this.__explicitlySet__.add("kmsKeyId"); return this; } + /** + * Specifies whether Object Storage should use intermediate cached Bucket Encryption Keys + * with server-side encryption using KMS (SSE-KMS) for new objects in the bucket. This + * reduces calls to OCI Vault Key Management Service (KMS). Existing objects are not + * affected. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isBucketKeyEnabled") + private Boolean isBucketKeyEnabled; + + /** + * Specifies whether Object Storage should use intermediate cached Bucket Encryption Keys + * with server-side encryption using KMS (SSE-KMS) for new objects in the bucket. This + * reduces calls to OCI Vault Key Management Service (KMS). Existing objects are not + * affected. + * + * @param isBucketKeyEnabled the value to set + * @return this builder + */ + public Builder isBucketKeyEnabled(Boolean isBucketKeyEnabled) { + this.isBucketKeyEnabled = isBucketKeyEnabled; + this.__explicitlySet__.add("isBucketKeyEnabled"); + return this; + } /** The entity tag (ETag) for the live object lifecycle policy on the bucket. */ @com.fasterxml.jackson.annotation.JsonProperty("objectLifecyclePolicyEtag") private String objectLifecyclePolicyEtag; @@ -572,6 +598,7 @@ public Bucket build() { this.freeformTags, this.definedTags, this.kmsKeyId, + this.isBucketKeyEnabled, this.objectLifecyclePolicyEtag, this.approximateCount, this.approximateSize, @@ -628,6 +655,9 @@ public Builder copy(Bucket model) { if (model.wasPropertyExplicitlySet("kmsKeyId")) { this.kmsKeyId(model.getKmsKeyId()); } + if (model.wasPropertyExplicitlySet("isBucketKeyEnabled")) { + this.isBucketKeyEnabled(model.getIsBucketKeyEnabled()); + } if (model.wasPropertyExplicitlySet("objectLifecyclePolicyEtag")) { this.objectLifecyclePolicyEtag(model.getObjectLifecyclePolicyEtag()); } @@ -1003,6 +1033,25 @@ public String getKmsKeyId() { return kmsKeyId; } + /** + * Specifies whether Object Storage should use intermediate cached Bucket Encryption Keys with + * server-side encryption using KMS (SSE-KMS) for new objects in the bucket. This reduces calls + * to OCI Vault Key Management Service (KMS). Existing objects are not affected. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isBucketKeyEnabled") + private final Boolean isBucketKeyEnabled; + + /** + * Specifies whether Object Storage should use intermediate cached Bucket Encryption Keys with + * server-side encryption using KMS (SSE-KMS) for new objects in the bucket. This reduces calls + * to OCI Vault Key Management Service (KMS). Existing objects are not affected. + * + * @return the value + */ + public Boolean getIsBucketKeyEnabled() { + return isBucketKeyEnabled; + } + /** The entity tag (ETag) for the live object lifecycle policy on the bucket. */ @com.fasterxml.jackson.annotation.JsonProperty("objectLifecyclePolicyEtag") private final String objectLifecyclePolicyEtag; @@ -1355,6 +1404,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", definedTags=").append(String.valueOf(this.definedTags)); sb.append(", kmsKeyId=").append(String.valueOf(this.kmsKeyId)); + sb.append(", isBucketKeyEnabled=").append(String.valueOf(this.isBucketKeyEnabled)); sb.append(", objectLifecyclePolicyEtag=") .append(String.valueOf(this.objectLifecyclePolicyEtag)); sb.append(", approximateCount=").append(String.valueOf(this.approximateCount)); @@ -1392,6 +1442,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.definedTags, other.definedTags) && java.util.Objects.equals(this.kmsKeyId, other.kmsKeyId) + && java.util.Objects.equals(this.isBucketKeyEnabled, other.isBucketKeyEnabled) && java.util.Objects.equals( this.objectLifecyclePolicyEtag, other.objectLifecyclePolicyEtag) && java.util.Objects.equals(this.approximateCount, other.approximateCount) @@ -1430,6 +1481,11 @@ public int hashCode() { result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); result = (result * PRIME) + (this.kmsKeyId == null ? 43 : this.kmsKeyId.hashCode()); + result = + (result * PRIME) + + (this.isBucketKeyEnabled == null + ? 43 + : this.isBucketKeyEnabled.hashCode()); result = (result * PRIME) + (this.objectLifecyclePolicyEtag == null diff --git a/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/model/CreateBucketDetails.java b/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/model/CreateBucketDetails.java index d7d9da2b479..94f2a5d4c10 100644 --- a/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/model/CreateBucketDetails.java +++ b/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/model/CreateBucketDetails.java @@ -36,6 +36,7 @@ public final class CreateBucketDetails "freeformTags", "definedTags", "kmsKeyId", + "isBucketKeyEnabled", "versioning", "autoTiering", "bucketScope" @@ -50,6 +51,7 @@ public CreateBucketDetails( java.util.Map freeformTags, java.util.Map> definedTags, String kmsKeyId, + Boolean isBucketKeyEnabled, Versioning versioning, Bucket.AutoTiering autoTiering, Bucket.BucketScope bucketScope) { @@ -63,6 +65,7 @@ public CreateBucketDetails( this.freeformTags = freeformTags; this.definedTags = definedTags; this.kmsKeyId = kmsKeyId; + this.isBucketKeyEnabled = isBucketKeyEnabled; this.versioning = versioning; this.autoTiering = autoTiering; this.bucketScope = bucketScope; @@ -264,6 +267,29 @@ public Builder kmsKeyId(String kmsKeyId) { this.__explicitlySet__.add("kmsKeyId"); return this; } + /** + * Specifies whether Object Storage should use intermediate cached Bucket Encryption Keys + * with server-side encryption using KMS (SSE-KMS) for new objects in the bucket. This + * reduces calls to OCI Vault Key Management Service (KMS). Existing objects are not + * affected. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isBucketKeyEnabled") + private Boolean isBucketKeyEnabled; + + /** + * Specifies whether Object Storage should use intermediate cached Bucket Encryption Keys + * with server-side encryption using KMS (SSE-KMS) for new objects in the bucket. This + * reduces calls to OCI Vault Key Management Service (KMS). Existing objects are not + * affected. + * + * @param isBucketKeyEnabled the value to set + * @return this builder + */ + public Builder isBucketKeyEnabled(Boolean isBucketKeyEnabled) { + this.isBucketKeyEnabled = isBucketKeyEnabled; + this.__explicitlySet__.add("isBucketKeyEnabled"); + return this; + } /** * Set the versioning status on the bucket. By default, a bucket is created with versioning * {@code Disabled}. Use this option to enable versioning during bucket creation. Objects in @@ -353,6 +379,7 @@ public CreateBucketDetails build() { this.freeformTags, this.definedTags, this.kmsKeyId, + this.isBucketKeyEnabled, this.versioning, this.autoTiering, this.bucketScope); @@ -391,6 +418,9 @@ public Builder copy(CreateBucketDetails model) { if (model.wasPropertyExplicitlySet("kmsKeyId")) { this.kmsKeyId(model.getKmsKeyId()); } + if (model.wasPropertyExplicitlySet("isBucketKeyEnabled")) { + this.isBucketKeyEnabled(model.getIsBucketKeyEnabled()); + } if (model.wasPropertyExplicitlySet("versioning")) { this.versioning(model.getVersioning()); } @@ -665,6 +695,25 @@ public String getKmsKeyId() { return kmsKeyId; } + /** + * Specifies whether Object Storage should use intermediate cached Bucket Encryption Keys with + * server-side encryption using KMS (SSE-KMS) for new objects in the bucket. This reduces calls + * to OCI Vault Key Management Service (KMS). Existing objects are not affected. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isBucketKeyEnabled") + private final Boolean isBucketKeyEnabled; + + /** + * Specifies whether Object Storage should use intermediate cached Bucket Encryption Keys with + * server-side encryption using KMS (SSE-KMS) for new objects in the bucket. This reduces calls + * to OCI Vault Key Management Service (KMS). Existing objects are not affected. + * + * @return the value + */ + public Boolean getIsBucketKeyEnabled() { + return isBucketKeyEnabled; + } + /** * Set the versioning status on the bucket. By default, a bucket is created with versioning * {@code Disabled}. Use this option to enable versioning during bucket creation. Objects in a @@ -792,6 +841,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", definedTags=").append(String.valueOf(this.definedTags)); sb.append(", kmsKeyId=").append(String.valueOf(this.kmsKeyId)); + sb.append(", isBucketKeyEnabled=").append(String.valueOf(this.isBucketKeyEnabled)); sb.append(", versioning=").append(String.valueOf(this.versioning)); sb.append(", autoTiering=").append(String.valueOf(this.autoTiering)); sb.append(", bucketScope=").append(String.valueOf(this.bucketScope)); @@ -818,6 +868,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.definedTags, other.definedTags) && java.util.Objects.equals(this.kmsKeyId, other.kmsKeyId) + && java.util.Objects.equals(this.isBucketKeyEnabled, other.isBucketKeyEnabled) && java.util.Objects.equals(this.versioning, other.versioning) && java.util.Objects.equals(this.autoTiering, other.autoTiering) && java.util.Objects.equals(this.bucketScope, other.bucketScope) @@ -845,6 +896,11 @@ public int hashCode() { result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); result = (result * PRIME) + (this.kmsKeyId == null ? 43 : this.kmsKeyId.hashCode()); + result = + (result * PRIME) + + (this.isBucketKeyEnabled == null + ? 43 + : this.isBucketKeyEnabled.hashCode()); result = (result * PRIME) + (this.versioning == null ? 43 : this.versioning.hashCode()); result = (result * PRIME) + (this.autoTiering == null ? 43 : this.autoTiering.hashCode()); result = (result * PRIME) + (this.bucketScope == null ? 43 : this.bucketScope.hashCode()); diff --git a/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/model/UpdateBucketDetails.java b/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/model/UpdateBucketDetails.java index 74b9558e853..d384b3077b1 100644 --- a/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/model/UpdateBucketDetails.java +++ b/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/model/UpdateBucketDetails.java @@ -36,6 +36,7 @@ public final class UpdateBucketDetails "freeformTags", "definedTags", "kmsKeyId", + "isBucketKeyEnabled", "versioning", "autoTiering", "bucketScope" @@ -50,6 +51,7 @@ public UpdateBucketDetails( java.util.Map freeformTags, java.util.Map> definedTags, String kmsKeyId, + Boolean isBucketKeyEnabled, Versioning versioning, Bucket.AutoTiering autoTiering, Bucket.BucketScope bucketScope) { @@ -63,6 +65,7 @@ public UpdateBucketDetails( this.freeformTags = freeformTags; this.definedTags = definedTags; this.kmsKeyId = kmsKeyId; + this.isBucketKeyEnabled = isBucketKeyEnabled; this.versioning = versioning; this.autoTiering = autoTiering; this.bucketScope = bucketScope; @@ -260,6 +263,29 @@ public Builder kmsKeyId(String kmsKeyId) { this.__explicitlySet__.add("kmsKeyId"); return this; } + /** + * Specifies whether Object Storage should use intermediate cached Bucket Encryption Keys + * with server-side encryption using KMS (SSE-KMS) for new objects in the bucket. This + * reduces calls to OCI Vault Key Management Service (KMS). Existing objects are not + * affected. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isBucketKeyEnabled") + private Boolean isBucketKeyEnabled; + + /** + * Specifies whether Object Storage should use intermediate cached Bucket Encryption Keys + * with server-side encryption using KMS (SSE-KMS) for new objects in the bucket. This + * reduces calls to OCI Vault Key Management Service (KMS). Existing objects are not + * affected. + * + * @param isBucketKeyEnabled the value to set + * @return this builder + */ + public Builder isBucketKeyEnabled(Boolean isBucketKeyEnabled) { + this.isBucketKeyEnabled = isBucketKeyEnabled; + this.__explicitlySet__.add("isBucketKeyEnabled"); + return this; + } /** * The versioning status on the bucket. If in state {@code Enabled}, multiple versions of * the same object can be kept in the bucket. When the object is overwritten or deleted, @@ -355,6 +381,7 @@ public UpdateBucketDetails build() { this.freeformTags, this.definedTags, this.kmsKeyId, + this.isBucketKeyEnabled, this.versioning, this.autoTiering, this.bucketScope); @@ -393,6 +420,9 @@ public Builder copy(UpdateBucketDetails model) { if (model.wasPropertyExplicitlySet("kmsKeyId")) { this.kmsKeyId(model.getKmsKeyId()); } + if (model.wasPropertyExplicitlySet("isBucketKeyEnabled")) { + this.isBucketKeyEnabled(model.getIsBucketKeyEnabled()); + } if (model.wasPropertyExplicitlySet("versioning")) { this.versioning(model.getVersioning()); } @@ -623,6 +653,25 @@ public String getKmsKeyId() { return kmsKeyId; } + /** + * Specifies whether Object Storage should use intermediate cached Bucket Encryption Keys with + * server-side encryption using KMS (SSE-KMS) for new objects in the bucket. This reduces calls + * to OCI Vault Key Management Service (KMS). Existing objects are not affected. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isBucketKeyEnabled") + private final Boolean isBucketKeyEnabled; + + /** + * Specifies whether Object Storage should use intermediate cached Bucket Encryption Keys with + * server-side encryption using KMS (SSE-KMS) for new objects in the bucket. This reduces calls + * to OCI Vault Key Management Service (KMS). Existing objects are not affected. + * + * @return the value + */ + public Boolean getIsBucketKeyEnabled() { + return isBucketKeyEnabled; + } + /** * The versioning status on the bucket. If in state {@code Enabled}, multiple versions of the * same object can be kept in the bucket. When the object is overwritten or deleted, previous @@ -757,6 +806,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", definedTags=").append(String.valueOf(this.definedTags)); sb.append(", kmsKeyId=").append(String.valueOf(this.kmsKeyId)); + sb.append(", isBucketKeyEnabled=").append(String.valueOf(this.isBucketKeyEnabled)); sb.append(", versioning=").append(String.valueOf(this.versioning)); sb.append(", autoTiering=").append(String.valueOf(this.autoTiering)); sb.append(", bucketScope=").append(String.valueOf(this.bucketScope)); @@ -783,6 +833,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.definedTags, other.definedTags) && java.util.Objects.equals(this.kmsKeyId, other.kmsKeyId) + && java.util.Objects.equals(this.isBucketKeyEnabled, other.isBucketKeyEnabled) && java.util.Objects.equals(this.versioning, other.versioning) && java.util.Objects.equals(this.autoTiering, other.autoTiering) && java.util.Objects.equals(this.bucketScope, other.bucketScope) @@ -810,6 +861,11 @@ public int hashCode() { result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); result = (result * PRIME) + (this.kmsKeyId == null ? 43 : this.kmsKeyId.hashCode()); + result = + (result * PRIME) + + (this.isBucketKeyEnabled == null + ? 43 + : this.isBucketKeyEnabled.hashCode()); result = (result * PRIME) + (this.versioning == null ? 43 : this.versioning.hashCode()); result = (result * PRIME) + (this.autoTiering == null ? 43 : this.autoTiering.hashCode()); result = (result * PRIME) + (this.bucketScope == null ? 43 : this.bucketScope.hashCode()); diff --git a/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/requests/ReencryptBucketRequest.java b/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/requests/ReencryptBucketRequest.java index dd4266f6f21..746e60e7bf7 100644 --- a/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/requests/ReencryptBucketRequest.java +++ b/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/requests/ReencryptBucketRequest.java @@ -33,6 +33,17 @@ public String getNamespaceName() { public String getBucketName() { return bucketName; } + /** + * If true, reencrypt only the intermediate bucket keys and skip everything else in the bucket. + */ + private Boolean isReencryptBucketKeyOnly; + + /** + * If true, reencrypt only the intermediate bucket keys and skip everything else in the bucket. + */ + public Boolean getIsReencryptBucketKeyOnly() { + return isReencryptBucketKeyOnly; + } /** The client request ID for tracing. */ private String opcClientRequestId; @@ -79,6 +90,24 @@ public Builder bucketName(String bucketName) { return this; } + /** + * If true, reencrypt only the intermediate bucket keys and skip everything else in the + * bucket. + */ + private Boolean isReencryptBucketKeyOnly = null; + + /** + * If true, reencrypt only the intermediate bucket keys and skip everything else in the + * bucket. + * + * @param isReencryptBucketKeyOnly the value to set + * @return this builder instance + */ + public Builder isReencryptBucketKeyOnly(Boolean isReencryptBucketKeyOnly) { + this.isReencryptBucketKeyOnly = isReencryptBucketKeyOnly; + return this; + } + /** The client request ID for tracing. */ private String opcClientRequestId = null; @@ -125,6 +154,7 @@ public Builder retryConfiguration( public Builder copy(ReencryptBucketRequest o) { namespaceName(o.getNamespaceName()); bucketName(o.getBucketName()); + isReencryptBucketKeyOnly(o.getIsReencryptBucketKeyOnly()); opcClientRequestId(o.getOpcClientRequestId()); invocationCallback(o.getInvocationCallback()); retryConfiguration(o.getRetryConfiguration()); @@ -162,9 +192,11 @@ public ReencryptBucketRequest buildWithoutInvocationCallback() { ReencryptBucketRequest request = new ReencryptBucketRequest(); request.namespaceName = namespaceName; request.bucketName = bucketName; + request.isReencryptBucketKeyOnly = isReencryptBucketKeyOnly; request.opcClientRequestId = opcClientRequestId; return request; - // new ReencryptBucketRequest(namespaceName, bucketName, opcClientRequestId); + // new ReencryptBucketRequest(namespaceName, bucketName, isReencryptBucketKeyOnly, + // opcClientRequestId); } } @@ -177,6 +209,7 @@ public Builder toBuilder() { return new Builder() .namespaceName(namespaceName) .bucketName(bucketName) + .isReencryptBucketKeyOnly(isReencryptBucketKeyOnly) .opcClientRequestId(opcClientRequestId); } @@ -196,6 +229,8 @@ public String toString() { sb.append("super=").append(super.toString()); sb.append(",namespaceName=").append(String.valueOf(this.namespaceName)); sb.append(",bucketName=").append(String.valueOf(this.bucketName)); + sb.append(",isReencryptBucketKeyOnly=") + .append(String.valueOf(this.isReencryptBucketKeyOnly)); sb.append(",opcClientRequestId=").append(String.valueOf(this.opcClientRequestId)); sb.append(")"); return sb.toString(); @@ -214,6 +249,8 @@ public boolean equals(Object o) { return super.equals(o) && java.util.Objects.equals(this.namespaceName, other.namespaceName) && java.util.Objects.equals(this.bucketName, other.bucketName) + && java.util.Objects.equals( + this.isReencryptBucketKeyOnly, other.isReencryptBucketKeyOnly) && java.util.Objects.equals(this.opcClientRequestId, other.opcClientRequestId); } @@ -225,6 +262,11 @@ public int hashCode() { (result * PRIME) + (this.namespaceName == null ? 43 : this.namespaceName.hashCode()); result = (result * PRIME) + (this.bucketName == null ? 43 : this.bucketName.hashCode()); + result = + (result * PRIME) + + (this.isReencryptBucketKeyOnly == null + ? 43 + : this.isReencryptBucketKeyOnly.hashCode()); result = (result * PRIME) + (this.opcClientRequestId == null diff --git a/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/responses/GetObjectResponse.java b/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/responses/GetObjectResponse.java index 2fe965c8b0e..e5026521942 100644 --- a/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/responses/GetObjectResponse.java +++ b/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/responses/GetObjectResponse.java @@ -228,6 +228,18 @@ public String getOpcMultipartSha384() { return opcMultipartSha384; } + /** True if bucket key was enabled and used to encrypt the object during upload or reencrypt. */ + private Boolean opcBucketKeyEnabled; + + /** + * True if bucket key was enabled and used to encrypt the object during upload or reencrypt. + * + * @return the value + */ + public Boolean getOpcBucketKeyEnabled() { + return opcBucketKeyEnabled; + } + /** * Content-Type header, as described in [RFC * 2616](https://tools.ietf.org/html/rfc2616#section-14.17). @@ -438,6 +450,7 @@ public boolean isNotModified() { "opcMultipartSha256", "opcContentSha384", "opcMultipartSha384", + "opcBucketKeyEnabled", "contentType", "contentLanguage", "contentEncoding", @@ -468,6 +481,7 @@ private GetObjectResponse( String opcMultipartSha256, String opcContentSha384, String opcMultipartSha384, + Boolean opcBucketKeyEnabled, String contentType, String contentLanguage, String contentEncoding, @@ -495,6 +509,7 @@ private GetObjectResponse( this.opcMultipartSha256 = opcMultipartSha256; this.opcContentSha384 = opcContentSha384; this.opcMultipartSha384 = opcMultipartSha384; + this.opcBucketKeyEnabled = opcBucketKeyEnabled; this.contentType = contentType; this.contentLanguage = contentLanguage; this.contentEncoding = contentEncoding; @@ -778,6 +793,22 @@ public Builder opcMultipartSha384(String opcMultipartSha384) { return this; } + /** + * True if bucket key was enabled and used to encrypt the object during upload or reencrypt. + */ + private Boolean opcBucketKeyEnabled; + + /** + * True if bucket key was enabled and used to encrypt the object during upload or reencrypt. + * + * @param opcBucketKeyEnabled the value to set + * @return this builder + */ + public Builder opcBucketKeyEnabled(Boolean opcBucketKeyEnabled) { + this.opcBucketKeyEnabled = opcBucketKeyEnabled; + return this; + } + /** * Content-Type header, as described in [RFC * 2616](https://tools.ietf.org/html/rfc2616#section-14.17). @@ -1023,6 +1054,7 @@ public Builder copy(GetObjectResponse o) { opcMultipartSha256(o.getOpcMultipartSha256()); opcContentSha384(o.getOpcContentSha384()); opcMultipartSha384(o.getOpcMultipartSha384()); + opcBucketKeyEnabled(o.getOpcBucketKeyEnabled()); contentType(o.getContentType()); contentLanguage(o.getContentLanguage()); contentEncoding(o.getContentEncoding()); @@ -1062,6 +1094,7 @@ public GetObjectResponse build() { opcMultipartSha256, opcContentSha384, opcMultipartSha384, + opcBucketKeyEnabled, contentType, contentLanguage, contentEncoding, @@ -1105,6 +1138,7 @@ public String toString() { sb.append(",opcMultipartSha256=").append(String.valueOf(opcMultipartSha256)); sb.append(",opcContentSha384=").append(String.valueOf(opcContentSha384)); sb.append(",opcMultipartSha384=").append(String.valueOf(opcMultipartSha384)); + sb.append(",opcBucketKeyEnabled=").append(String.valueOf(opcBucketKeyEnabled)); sb.append(",contentType=").append(String.valueOf(contentType)); sb.append(",contentLanguage=").append(String.valueOf(contentLanguage)); sb.append(",contentEncoding=").append(String.valueOf(contentEncoding)); @@ -1146,6 +1180,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.opcMultipartSha256, other.opcMultipartSha256) && java.util.Objects.equals(this.opcContentSha384, other.opcContentSha384) && java.util.Objects.equals(this.opcMultipartSha384, other.opcMultipartSha384) + && java.util.Objects.equals(this.opcBucketKeyEnabled, other.opcBucketKeyEnabled) && java.util.Objects.equals(this.contentType, other.contentType) && java.util.Objects.equals(this.contentLanguage, other.contentLanguage) && java.util.Objects.equals(this.contentEncoding, other.contentEncoding) @@ -1200,6 +1235,11 @@ public int hashCode() { + (this.opcMultipartSha384 == null ? 43 : this.opcMultipartSha384.hashCode()); + result = + (result * PRIME) + + (this.opcBucketKeyEnabled == null + ? 43 + : this.opcBucketKeyEnabled.hashCode()); result = (result * PRIME) + (this.contentType == null ? 43 : this.contentType.hashCode()); result = (result * PRIME) diff --git a/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/responses/HeadObjectResponse.java b/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/responses/HeadObjectResponse.java index cd4bf710b84..23cdc5d5f76 100644 --- a/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/responses/HeadObjectResponse.java +++ b/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/responses/HeadObjectResponse.java @@ -212,6 +212,18 @@ public String getOpcMultipartSha384() { return opcMultipartSha384; } + /** True if bucket key was enabled and used to encrypt the object during upload or reencrypt. */ + private Boolean opcBucketKeyEnabled; + + /** + * True if bucket key was enabled and used to encrypt the object during upload or reencrypt. + * + * @return the value + */ + public Boolean getOpcBucketKeyEnabled() { + return opcBucketKeyEnabled; + } + /** * Content-Type header, as described in [RFC * 2616](https://tools.ietf.org/html/rfc2616#section-14.17). @@ -393,6 +405,7 @@ public boolean isNotModified() { "opcMultipartSha256", "opcContentSha384", "opcMultipartSha384", + "opcBucketKeyEnabled", "contentType", "contentLanguage", "contentEncoding", @@ -420,6 +433,7 @@ private HeadObjectResponse( String opcMultipartSha256, String opcContentSha384, String opcMultipartSha384, + Boolean opcBucketKeyEnabled, String contentType, String contentLanguage, String contentEncoding, @@ -444,6 +458,7 @@ private HeadObjectResponse( this.opcMultipartSha256 = opcMultipartSha256; this.opcContentSha384 = opcContentSha384; this.opcMultipartSha384 = opcMultipartSha384; + this.opcBucketKeyEnabled = opcBucketKeyEnabled; this.contentType = contentType; this.contentLanguage = contentLanguage; this.contentEncoding = contentEncoding; @@ -707,6 +722,22 @@ public Builder opcMultipartSha384(String opcMultipartSha384) { return this; } + /** + * True if bucket key was enabled and used to encrypt the object during upload or reencrypt. + */ + private Boolean opcBucketKeyEnabled; + + /** + * True if bucket key was enabled and used to encrypt the object during upload or reencrypt. + * + * @param opcBucketKeyEnabled the value to set + * @return this builder + */ + public Builder opcBucketKeyEnabled(Boolean opcBucketKeyEnabled) { + this.opcBucketKeyEnabled = opcBucketKeyEnabled; + return this; + } + /** * Content-Type header, as described in [RFC * 2616](https://tools.ietf.org/html/rfc2616#section-14.17). @@ -917,6 +948,7 @@ public Builder copy(HeadObjectResponse o) { opcMultipartSha256(o.getOpcMultipartSha256()); opcContentSha384(o.getOpcContentSha384()); opcMultipartSha384(o.getOpcMultipartSha384()); + opcBucketKeyEnabled(o.getOpcBucketKeyEnabled()); contentType(o.getContentType()); contentLanguage(o.getContentLanguage()); contentEncoding(o.getContentEncoding()); @@ -954,6 +986,7 @@ public HeadObjectResponse build() { opcMultipartSha256, opcContentSha384, opcMultipartSha384, + opcBucketKeyEnabled, contentType, contentLanguage, contentEncoding, @@ -994,6 +1027,7 @@ public String toString() { sb.append(",opcMultipartSha256=").append(String.valueOf(opcMultipartSha256)); sb.append(",opcContentSha384=").append(String.valueOf(opcContentSha384)); sb.append(",opcMultipartSha384=").append(String.valueOf(opcMultipartSha384)); + sb.append(",opcBucketKeyEnabled=").append(String.valueOf(opcBucketKeyEnabled)); sb.append(",contentType=").append(String.valueOf(contentType)); sb.append(",contentLanguage=").append(String.valueOf(contentLanguage)); sb.append(",contentEncoding=").append(String.valueOf(contentEncoding)); @@ -1032,6 +1066,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.opcMultipartSha256, other.opcMultipartSha256) && java.util.Objects.equals(this.opcContentSha384, other.opcContentSha384) && java.util.Objects.equals(this.opcMultipartSha384, other.opcMultipartSha384) + && java.util.Objects.equals(this.opcBucketKeyEnabled, other.opcBucketKeyEnabled) && java.util.Objects.equals(this.contentType, other.contentType) && java.util.Objects.equals(this.contentLanguage, other.contentLanguage) && java.util.Objects.equals(this.contentEncoding, other.contentEncoding) @@ -1083,6 +1118,11 @@ public int hashCode() { + (this.opcMultipartSha384 == null ? 43 : this.opcMultipartSha384.hashCode()); + result = + (result * PRIME) + + (this.opcBucketKeyEnabled == null + ? 43 + : this.opcBucketKeyEnabled.hashCode()); result = (result * PRIME) + (this.contentType == null ? 43 : this.contentType.hashCode()); result = (result * PRIME) diff --git a/bmc-objectstorage/pom.xml b/bmc-objectstorage/pom.xml index f521a2d4a7c..8e2bfe3d0b5 100644 --- a/bmc-objectstorage/pom.xml +++ b/bmc-objectstorage/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml diff --git a/bmc-oce/pom.xml b/bmc-oce/pom.xml index db094222ec9..9ffe6b6172f 100644 --- a/bmc-oce/pom.xml +++ b/bmc-oce/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-oce @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-ocicontrolcenter/pom.xml b/bmc-ocicontrolcenter/pom.xml index 6ae8702ad83..6b868aa6ed8 100644 --- a/bmc-ocicontrolcenter/pom.xml +++ b/bmc-ocicontrolcenter/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-ocicontrolcenter @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-ocvp/pom.xml b/bmc-ocvp/pom.xml index ab0b085872a..ce5d5700599 100644 --- a/bmc-ocvp/pom.xml +++ b/bmc-ocvp/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-ocvp @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-oda/pom.xml b/bmc-oda/pom.xml index 578cf227f98..b4b6c9b5cfd 100644 --- a/bmc-oda/pom.xml +++ b/bmc-oda/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-oda @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-onesubscription/pom.xml b/bmc-onesubscription/pom.xml index b8f7a88eb07..13ea6411916 100644 --- a/bmc-onesubscription/pom.xml +++ b/bmc-onesubscription/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-onesubscription @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-ons/pom.xml b/bmc-ons/pom.xml index d9612a60df0..dd526ad8027 100644 --- a/bmc-ons/pom.xml +++ b/bmc-ons/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-ons @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-opa/pom.xml b/bmc-opa/pom.xml index 2f75f2cd282..7f9f32e8ea1 100644 --- a/bmc-opa/pom.xml +++ b/bmc-opa/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-opa @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-opensearch/pom.xml b/bmc-opensearch/pom.xml index f84ef82442b..03118921a45 100644 --- a/bmc-opensearch/pom.xml +++ b/bmc-opensearch/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-opensearch @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-operatoraccesscontrol/pom.xml b/bmc-operatoraccesscontrol/pom.xml index 2e3bee78134..c9595417ebb 100644 --- a/bmc-operatoraccesscontrol/pom.xml +++ b/bmc-operatoraccesscontrol/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-operatoraccesscontrol @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-opsi/pom.xml b/bmc-opsi/pom.xml index 3f712559ace..eac344c0a4f 100644 --- a/bmc-opsi/pom.xml +++ b/bmc-opsi/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-opsi @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-optimizer/pom.xml b/bmc-optimizer/pom.xml index e7f65acdcf8..c1470d7e21b 100644 --- a/bmc-optimizer/pom.xml +++ b/bmc-optimizer/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-optimizer @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-osmanagementhub/pom.xml b/bmc-osmanagementhub/pom.xml index 8414e1b90b0..14d5841bfc7 100644 --- a/bmc-osmanagementhub/pom.xml +++ b/bmc-osmanagementhub/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-osmanagementhub @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-ospgateway/pom.xml b/bmc-ospgateway/pom.xml index e1291a2273d..28568fa86d4 100644 --- a/bmc-ospgateway/pom.xml +++ b/bmc-ospgateway/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-ospgateway @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-osubbillingschedule/pom.xml b/bmc-osubbillingschedule/pom.xml index 11bc942e2ec..6f1b2652006 100644 --- a/bmc-osubbillingschedule/pom.xml +++ b/bmc-osubbillingschedule/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-osubbillingschedule @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-osuborganizationsubscription/pom.xml b/bmc-osuborganizationsubscription/pom.xml index 5477026fa58..88a9890589d 100644 --- a/bmc-osuborganizationsubscription/pom.xml +++ b/bmc-osuborganizationsubscription/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-osuborganizationsubscription @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-osubsubscription/pom.xml b/bmc-osubsubscription/pom.xml index a05c043e9fc..2ab9531b9d5 100644 --- a/bmc-osubsubscription/pom.xml +++ b/bmc-osubsubscription/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-osubsubscription @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-osubusage/pom.xml b/bmc-osubusage/pom.xml index 925330a8ce2..11594d788d3 100644 --- a/bmc-osubusage/pom.xml +++ b/bmc-osubusage/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-osubusage @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-other-examples/bmc-jersey-examples/pom.xml b/bmc-other-examples/bmc-jersey-examples/pom.xml index d3141bcf69b..047eea764ef 100644 --- a/bmc-other-examples/bmc-jersey-examples/pom.xml +++ b/bmc-other-examples/bmc-jersey-examples/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.oracle.oci.sdk oci-java-sdk-jersey-examples - 3.90.1 + 3.91.0 Oracle Cloud Infrastructure SDK - Examples using Jersey 2 HTTP client This project contains the examples on how to use the SDK used for Oracle Cloud Infrastructure with the Jersey 2 HTTP client https://docs.oracle.com/iaas/Content/API/SDKDocs/javasdk.htm @@ -58,7 +58,7 @@ com.oracle.oci.sdk oci-java-sdk-enforcer-rules - 3.90.1 + 3.91.0 false @@ -95,14 +95,14 @@ com.oracle.oci.sdk oci-java-sdk-bom - 3.90.1 + 3.91.0 pom import com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.90.1 + 3.91.0 pom import diff --git a/bmc-other-examples/bmc-jersey3-examples/pom.xml b/bmc-other-examples/bmc-jersey3-examples/pom.xml index e35f6ada1b9..abdcf7b9e94 100644 --- a/bmc-other-examples/bmc-jersey3-examples/pom.xml +++ b/bmc-other-examples/bmc-jersey3-examples/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.oracle.oci.sdk oci-java-sdk-jersey3-examples - 3.90.1 + 3.91.0 Oracle Cloud Infrastructure SDK - Examples using Jersey 3 HTTP client This project contains the examples on how to use the SDK used for Oracle Cloud Infrastructure with the Jersey 3 HTTP client https://docs.oracle.com/iaas/Content/API/SDKDocs/javasdk.htm @@ -58,7 +58,7 @@ com.oracle.oci.sdk oci-java-sdk-enforcer-rules - 3.90.1 + 3.91.0 false @@ -95,14 +95,14 @@ com.oracle.oci.sdk oci-java-sdk-bom - 3.90.1 + 3.91.0 pom import com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey3 - 3.90.1 + 3.91.0 pom import diff --git a/bmc-other-examples/native-maven-example/pom.xml b/bmc-other-examples/native-maven-example/pom.xml index 837e9ab8dad..553c6f691ad 100644 --- a/bmc-other-examples/native-maven-example/pom.xml +++ b/bmc-other-examples/native-maven-example/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.oracle.oci.sdk oci-java-sdk-examples-native - 3.90.1 + 3.91.0 Oracle Cloud Infrastructure SDK - Native Example This project contains an example on how to use the SDK used for Oracle Cloud Infrastructure in a native executable https://docs.oracle.com/iaas/Content/API/SDKDocs/javasdk.htm @@ -98,14 +98,14 @@ com.oracle.oci.sdk oci-java-sdk-bom - 3.90.1 + 3.91.0 pom import com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.90.1 + 3.91.0 pom import diff --git a/bmc-other-examples/pom.xml b/bmc-other-examples/pom.xml index 0488de85bdc..7e90aba7f1f 100644 --- a/bmc-other-examples/pom.xml +++ b/bmc-other-examples/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml diff --git a/bmc-psa/pom.xml b/bmc-psa/pom.xml index 379abe85a18..31fd78c2c03 100644 --- a/bmc-psa/pom.xml +++ b/bmc-psa/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-psa @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-psql/pom.xml b/bmc-psql/pom.xml index 88af21a855c..1897ea0f68a 100644 --- a/bmc-psql/pom.xml +++ b/bmc-psql/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-psql @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-psql/src/main/java/com/oracle/bmc/psql/Postgresql.java b/bmc-psql/src/main/java/com/oracle/bmc/psql/Postgresql.java index 644186cd30d..8fdd6c98e8a 100644 --- a/bmc-psql/src/main/java/com/oracle/bmc/psql/Postgresql.java +++ b/bmc-psql/src/main/java/com/oracle/bmc/psql/Postgresql.java @@ -354,6 +354,21 @@ ChangeDbSystemCompartmentResponse changeDbSystemCompartment( */ GetDefaultConfigurationResponse getDefaultConfiguration(GetDefaultConfigurationRequest request); + /** + * Gets the database system PITR details. + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation uses + * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is + * provided. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use GetPitrDetails API. + */ + GetPitrDetailsResponse getPitrDetails(GetPitrDetailsRequest request); + /** * Gets the primary database instance node details. * diff --git a/bmc-psql/src/main/java/com/oracle/bmc/psql/PostgresqlAsync.java b/bmc-psql/src/main/java/com/oracle/bmc/psql/PostgresqlAsync.java index fb27a12227b..a7c59205b1c 100644 --- a/bmc-psql/src/main/java/com/oracle/bmc/psql/PostgresqlAsync.java +++ b/bmc-psql/src/main/java/com/oracle/bmc/psql/PostgresqlAsync.java @@ -346,6 +346,21 @@ java.util.concurrent.Future getDefaultConfigura GetDefaultConfigurationRequest, GetDefaultConfigurationResponse> handler); + /** + * Gets the database system PITR details. + * + * @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 getPitrDetails( + GetPitrDetailsRequest request, + com.oracle.bmc.responses.AsyncHandler + handler); + /** * Gets the primary database instance node details. * diff --git a/bmc-psql/src/main/java/com/oracle/bmc/psql/PostgresqlAsyncClient.java b/bmc-psql/src/main/java/com/oracle/bmc/psql/PostgresqlAsyncClient.java index 41b76f3b338..b57a480f0e3 100644 --- a/bmc-psql/src/main/java/com/oracle/bmc/psql/PostgresqlAsyncClient.java +++ b/bmc-psql/src/main/java/com/oracle/bmc/psql/PostgresqlAsyncClient.java @@ -693,6 +693,38 @@ public java.util.concurrent.Future getDefaultCo .callAsync(handler); } + @Override + public java.util.concurrent.Future getPitrDetails( + GetPitrDetailsRequest request, + final com.oracle.bmc.responses.AsyncHandler< + GetPitrDetailsRequest, GetPitrDetailsResponse> + handler) { + + Validate.notBlank(request.getDbSystemId(), "dbSystemId must not be blank"); + + return clientCall(request, GetPitrDetailsResponse::builder) + .logger(LOG, "getPitrDetails") + .serviceDetails( + "Postgresql", + "GetPitrDetails", + "https://docs.oracle.com/iaas/api/#/en/postgresql/20220915/PitrDetails/GetPitrDetails") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(GetPitrDetailsRequest::builder) + .basePath("/20220915") + .appendPathParam("dbSystems") + .appendPathParam(request.getDbSystemId()) + .appendPathParam("pitrDetails") + .accept("application/json") + .appendHeader("opc-request-id", request.getOpcRequestId()) + .handleBody( + com.oracle.bmc.psql.model.PitrDetails.class, + GetPitrDetailsResponse.Builder::pitrDetails) + .handleResponseHeaderString("etag", GetPitrDetailsResponse.Builder::etag) + .handleResponseHeaderString( + "opc-request-id", GetPitrDetailsResponse.Builder::opcRequestId) + .callAsync(handler); + } + @Override public java.util.concurrent.Future getPrimaryDbInstance( GetPrimaryDbInstanceRequest request, @@ -785,6 +817,7 @@ public java.util.concurrent.Future listBackups( .appendQueryParam("page", request.getPage()) .appendEnumQueryParam("sortOrder", request.getSortOrder()) .appendEnumQueryParam("sortBy", request.getSortBy()) + .appendQueryParam("backupSourceType", request.getBackupSourceType()) .accept("application/json") .appendHeader("opc-request-id", request.getOpcRequestId()) .handleBody( diff --git a/bmc-psql/src/main/java/com/oracle/bmc/psql/PostgresqlClient.java b/bmc-psql/src/main/java/com/oracle/bmc/psql/PostgresqlClient.java index 5f31577e1c3..7fe09c5aa31 100644 --- a/bmc-psql/src/main/java/com/oracle/bmc/psql/PostgresqlClient.java +++ b/bmc-psql/src/main/java/com/oracle/bmc/psql/PostgresqlClient.java @@ -675,6 +675,35 @@ public GetDefaultConfigurationResponse getDefaultConfiguration( .callSync(); } + @Override + public GetPitrDetailsResponse getPitrDetails(GetPitrDetailsRequest request) { + + Validate.notBlank(request.getDbSystemId(), "dbSystemId must not be blank"); + + return clientCall(request, GetPitrDetailsResponse::builder) + .logger(LOG, "getPitrDetails") + .serviceDetails( + "Postgresql", + "GetPitrDetails", + "https://docs.oracle.com/iaas/api/#/en/postgresql/20220915/PitrDetails/GetPitrDetails") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(GetPitrDetailsRequest::builder) + .basePath("/20220915") + .appendPathParam("dbSystems") + .appendPathParam(request.getDbSystemId()) + .appendPathParam("pitrDetails") + .accept("application/json") + .appendHeader("opc-request-id", request.getOpcRequestId()) + .operationUsesDefaultRetries() + .handleBody( + com.oracle.bmc.psql.model.PitrDetails.class, + GetPitrDetailsResponse.Builder::pitrDetails) + .handleResponseHeaderString("etag", GetPitrDetailsResponse.Builder::etag) + .handleResponseHeaderString( + "opc-request-id", GetPitrDetailsResponse.Builder::opcRequestId) + .callSync(); + } + @Override public GetPrimaryDbInstanceResponse getPrimaryDbInstance(GetPrimaryDbInstanceRequest request) { @@ -758,6 +787,7 @@ public ListBackupsResponse listBackups(ListBackupsRequest request) { .appendQueryParam("page", request.getPage()) .appendEnumQueryParam("sortOrder", request.getSortOrder()) .appendEnumQueryParam("sortBy", request.getSortBy()) + .appendQueryParam("backupSourceType", request.getBackupSourceType()) .accept("application/json") .appendHeader("opc-request-id", request.getOpcRequestId()) .operationUsesDefaultRetries() diff --git a/bmc-psql/src/main/java/com/oracle/bmc/psql/model/Backup.java b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/Backup.java index 29e7446f4ec..4f03cc9e8ab 100644 --- a/bmc-psql/src/main/java/com/oracle/bmc/psql/model/Backup.java +++ b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/Backup.java @@ -633,6 +633,7 @@ public String getCompartmentId() { public enum SourceType implements com.oracle.bmc.http.internal.BmcEnum { Scheduled("SCHEDULED"), Manual("MANUAL"), + Pitr("PITR"), Copied("COPIED"), /** diff --git a/bmc-psql/src/main/java/com/oracle/bmc/psql/model/ManagementPolicy.java b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/ManagementPolicy.java index 8f8cd5b3a54..6f80b0a7f9e 100644 --- a/bmc-psql/src/main/java/com/oracle/bmc/psql/model/ManagementPolicy.java +++ b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/ManagementPolicy.java @@ -22,11 +22,13 @@ public final class ManagementPolicy extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated - @java.beans.ConstructorProperties({"maintenanceWindowStart", "backupPolicy"}) - public ManagementPolicy(String maintenanceWindowStart, BackupPolicy backupPolicy) { + @java.beans.ConstructorProperties({"maintenanceWindowStart", "backupPolicy", "pitrPolicy"}) + public ManagementPolicy( + String maintenanceWindowStart, BackupPolicy backupPolicy, PitrPolicy pitrPolicy) { super(); this.maintenanceWindowStart = maintenanceWindowStart; this.backupPolicy = backupPolicy; + this.pitrPolicy = pitrPolicy; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -56,12 +58,22 @@ public Builder backupPolicy(BackupPolicy backupPolicy) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("pitrPolicy") + private PitrPolicy pitrPolicy; + + public Builder pitrPolicy(PitrPolicy pitrPolicy) { + this.pitrPolicy = pitrPolicy; + this.__explicitlySet__.add("pitrPolicy"); + return this; + } + @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); public ManagementPolicy build() { ManagementPolicy model = - new ManagementPolicy(this.maintenanceWindowStart, this.backupPolicy); + new ManagementPolicy( + this.maintenanceWindowStart, this.backupPolicy, this.pitrPolicy); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -76,6 +88,9 @@ public Builder copy(ManagementPolicy model) { if (model.wasPropertyExplicitlySet("backupPolicy")) { this.backupPolicy(model.getBackupPolicy()); } + if (model.wasPropertyExplicitlySet("pitrPolicy")) { + this.pitrPolicy(model.getPitrPolicy()); + } return this; } } @@ -109,6 +124,13 @@ public BackupPolicy getBackupPolicy() { return backupPolicy; } + @com.fasterxml.jackson.annotation.JsonProperty("pitrPolicy") + private final PitrPolicy pitrPolicy; + + public PitrPolicy getPitrPolicy() { + return pitrPolicy; + } + @Override public String toString() { return this.toString(true); @@ -126,6 +148,7 @@ public String toString(boolean includeByteArrayContents) { sb.append("super=").append(super.toString()); sb.append("maintenanceWindowStart=").append(String.valueOf(this.maintenanceWindowStart)); sb.append(", backupPolicy=").append(String.valueOf(this.backupPolicy)); + sb.append(", pitrPolicy=").append(String.valueOf(this.pitrPolicy)); sb.append(")"); return sb.toString(); } @@ -142,6 +165,7 @@ public boolean equals(Object o) { ManagementPolicy other = (ManagementPolicy) o; return java.util.Objects.equals(this.maintenanceWindowStart, other.maintenanceWindowStart) && java.util.Objects.equals(this.backupPolicy, other.backupPolicy) + && java.util.Objects.equals(this.pitrPolicy, other.pitrPolicy) && super.equals(other); } @@ -155,6 +179,7 @@ public int hashCode() { ? 43 : this.maintenanceWindowStart.hashCode()); result = (result * PRIME) + (this.backupPolicy == null ? 43 : this.backupPolicy.hashCode()); + result = (result * PRIME) + (this.pitrPolicy == null ? 43 : this.pitrPolicy.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-psql/src/main/java/com/oracle/bmc/psql/model/ManagementPolicyDetails.java b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/ManagementPolicyDetails.java index 2c26e7ed8b0..50baa7bb3b8 100644 --- a/bmc-psql/src/main/java/com/oracle/bmc/psql/model/ManagementPolicyDetails.java +++ b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/ManagementPolicyDetails.java @@ -23,11 +23,13 @@ public final class ManagementPolicyDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated - @java.beans.ConstructorProperties({"maintenanceWindowStart", "backupPolicy"}) - public ManagementPolicyDetails(String maintenanceWindowStart, BackupPolicy backupPolicy) { + @java.beans.ConstructorProperties({"maintenanceWindowStart", "backupPolicy", "pitrPolicy"}) + public ManagementPolicyDetails( + String maintenanceWindowStart, BackupPolicy backupPolicy, PitrPolicy pitrPolicy) { super(); this.maintenanceWindowStart = maintenanceWindowStart; this.backupPolicy = backupPolicy; + this.pitrPolicy = pitrPolicy; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -69,12 +71,22 @@ public Builder backupPolicy(BackupPolicy backupPolicy) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("pitrPolicy") + private PitrPolicy pitrPolicy; + + public Builder pitrPolicy(PitrPolicy pitrPolicy) { + this.pitrPolicy = pitrPolicy; + this.__explicitlySet__.add("pitrPolicy"); + return this; + } + @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); public ManagementPolicyDetails build() { ManagementPolicyDetails model = - new ManagementPolicyDetails(this.maintenanceWindowStart, this.backupPolicy); + new ManagementPolicyDetails( + this.maintenanceWindowStart, this.backupPolicy, this.pitrPolicy); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -89,6 +101,9 @@ public Builder copy(ManagementPolicyDetails model) { if (model.wasPropertyExplicitlySet("backupPolicy")) { this.backupPolicy(model.getBackupPolicy()); } + if (model.wasPropertyExplicitlySet("pitrPolicy")) { + this.pitrPolicy(model.getPitrPolicy()); + } return this; } } @@ -132,6 +147,13 @@ public BackupPolicy getBackupPolicy() { return backupPolicy; } + @com.fasterxml.jackson.annotation.JsonProperty("pitrPolicy") + private final PitrPolicy pitrPolicy; + + public PitrPolicy getPitrPolicy() { + return pitrPolicy; + } + @Override public String toString() { return this.toString(true); @@ -149,6 +171,7 @@ public String toString(boolean includeByteArrayContents) { sb.append("super=").append(super.toString()); sb.append("maintenanceWindowStart=").append(String.valueOf(this.maintenanceWindowStart)); sb.append(", backupPolicy=").append(String.valueOf(this.backupPolicy)); + sb.append(", pitrPolicy=").append(String.valueOf(this.pitrPolicy)); sb.append(")"); return sb.toString(); } @@ -165,6 +188,7 @@ public boolean equals(Object o) { ManagementPolicyDetails other = (ManagementPolicyDetails) o; return java.util.Objects.equals(this.maintenanceWindowStart, other.maintenanceWindowStart) && java.util.Objects.equals(this.backupPolicy, other.backupPolicy) + && java.util.Objects.equals(this.pitrPolicy, other.pitrPolicy) && super.equals(other); } @@ -178,6 +202,7 @@ public int hashCode() { ? 43 : this.maintenanceWindowStart.hashCode()); result = (result * PRIME) + (this.backupPolicy == null ? 43 : this.backupPolicy.hashCode()); + result = (result * PRIME) + (this.pitrPolicy == null ? 43 : this.pitrPolicy.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-psql/src/main/java/com/oracle/bmc/psql/model/NonePitrPolicy.java b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/NonePitrPolicy.java new file mode 100644 index 00000000000..8c381adabcf --- /dev/null +++ b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/NonePitrPolicy.java @@ -0,0 +1,99 @@ +/** + * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.psql.model; + +/** + * None point-in-time recovery policy.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220915") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = NonePitrPolicy.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "kind") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class NonePitrPolicy extends PitrPolicy { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public NonePitrPolicy build() { + NonePitrPolicy model = new NonePitrPolicy(); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(NonePitrPolicy model) { + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public NonePitrPolicy() { + super(); + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("NonePitrPolicy("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof NonePitrPolicy)) { + return false; + } + + NonePitrPolicy other = (NonePitrPolicy) o; + return super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + return result; + } +} diff --git a/bmc-psql/src/main/java/com/oracle/bmc/psql/model/PitrDetails.java b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/PitrDetails.java new file mode 100644 index 00000000000..9a13b55ad94 --- /dev/null +++ b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/PitrDetails.java @@ -0,0 +1,218 @@ +/** + * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.psql.model; + +/** + * Point-in-time recovery details
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220915") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = PitrDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class PitrDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"pitrState", "recoveryTimeWindows"}) + public PitrDetails(PitrState pitrState, java.util.List recoveryTimeWindows) { + super(); + this.pitrState = pitrState; + this.recoveryTimeWindows = recoveryTimeWindows; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The current state of the point-in-time recovery of the db system. */ + @com.fasterxml.jackson.annotation.JsonProperty("pitrState") + private PitrState pitrState; + + /** + * The current state of the point-in-time recovery of the db system. + * + * @param pitrState the value to set + * @return this builder + */ + public Builder pitrState(PitrState pitrState) { + this.pitrState = pitrState; + this.__explicitlySet__.add("pitrState"); + return this; + } + /** List of point-in-time recovery windows. */ + @com.fasterxml.jackson.annotation.JsonProperty("recoveryTimeWindows") + private java.util.List recoveryTimeWindows; + + /** + * List of point-in-time recovery windows. + * + * @param recoveryTimeWindows the value to set + * @return this builder + */ + public Builder recoveryTimeWindows(java.util.List recoveryTimeWindows) { + this.recoveryTimeWindows = recoveryTimeWindows; + this.__explicitlySet__.add("recoveryTimeWindows"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public PitrDetails build() { + PitrDetails model = new PitrDetails(this.pitrState, this.recoveryTimeWindows); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(PitrDetails model) { + if (model.wasPropertyExplicitlySet("pitrState")) { + this.pitrState(model.getPitrState()); + } + if (model.wasPropertyExplicitlySet("recoveryTimeWindows")) { + this.recoveryTimeWindows(model.getRecoveryTimeWindows()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** The current state of the point-in-time recovery of the db system. */ + public enum PitrState implements com.oracle.bmc.http.internal.BmcEnum { + Active("ACTIVE"), + Updating("UPDATING"), + Inactive("INACTIVE"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = + org.slf4j.LoggerFactory.getLogger(PitrState.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (PitrState v : PitrState.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + PitrState(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static PitrState create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'PitrState', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** The current state of the point-in-time recovery of the db system. */ + @com.fasterxml.jackson.annotation.JsonProperty("pitrState") + private final PitrState pitrState; + + /** + * The current state of the point-in-time recovery of the db system. + * + * @return the value + */ + public PitrState getPitrState() { + return pitrState; + } + + /** List of point-in-time recovery windows. */ + @com.fasterxml.jackson.annotation.JsonProperty("recoveryTimeWindows") + private final java.util.List recoveryTimeWindows; + + /** + * List of point-in-time recovery windows. + * + * @return the value + */ + public java.util.List getRecoveryTimeWindows() { + return recoveryTimeWindows; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("PitrDetails("); + sb.append("super=").append(super.toString()); + sb.append("pitrState=").append(String.valueOf(this.pitrState)); + sb.append(", recoveryTimeWindows=").append(String.valueOf(this.recoveryTimeWindows)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PitrDetails)) { + return false; + } + + PitrDetails other = (PitrDetails) o; + return java.util.Objects.equals(this.pitrState, other.pitrState) + && java.util.Objects.equals(this.recoveryTimeWindows, other.recoveryTimeWindows) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.pitrState == null ? 43 : this.pitrState.hashCode()); + result = + (result * PRIME) + + (this.recoveryTimeWindows == null + ? 43 + : this.recoveryTimeWindows.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-psql/src/main/java/com/oracle/bmc/psql/model/PitrPolicy.java b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/PitrPolicy.java new file mode 100644 index 00000000000..a37bcbf7386 --- /dev/null +++ b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/PitrPolicy.java @@ -0,0 +1,123 @@ +/** + * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.psql.model; + +/** + * Point-in-time recovery policy.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220915") +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "kind", + defaultImpl = PitrPolicy.class) +@com.fasterxml.jackson.annotation.JsonSubTypes({ + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = StandardPitrPolicy.class, + name = "STANDARD"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type(value = NonePitrPolicy.class, name = "NONE") +}) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public class PitrPolicy extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({}) + protected PitrPolicy() { + super(); + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("PitrPolicy("); + sb.append("super=").append(super.toString()); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PitrPolicy)) { + return false; + } + + PitrPolicy other = (PitrPolicy) o; + return super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + super.hashCode(); + return result; + } + + /** The kind of recovery policy. */ + public enum Kind implements com.oracle.bmc.http.internal.BmcEnum { + Standard("STANDARD"), + None("NONE"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = org.slf4j.LoggerFactory.getLogger(Kind.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (Kind v : Kind.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + Kind(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static Kind create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'Kind', returning UnknownEnumValue", key); + return UnknownEnumValue; + } + }; +} diff --git a/bmc-psql/src/main/java/com/oracle/bmc/psql/model/PitrTimeWindow.java b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/PitrTimeWindow.java new file mode 100644 index 00000000000..ccb23aa4570 --- /dev/null +++ b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/PitrTimeWindow.java @@ -0,0 +1,220 @@ +/** + * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.psql.model; + +/** + * Time interval for which point-in-time recovery (PITR) is supported. The database can be restored + * to any timestamp between {@code timeRecoveryWindowStart} and {@code timeRecoveryWindowEnd} + * (inclusive).
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220915") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = PitrTimeWindow.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class PitrTimeWindow + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"timeRecoveryWindowStart", "timeRecoveryWindowEnd"}) + public PitrTimeWindow( + java.util.Date timeRecoveryWindowStart, java.util.Date timeRecoveryWindowEnd) { + super(); + this.timeRecoveryWindowStart = timeRecoveryWindowStart; + this.timeRecoveryWindowEnd = timeRecoveryWindowEnd; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Earliest timestamp in the PITR window to which the database can be restored. Timestamps + * earlier than this are not recoverable. The value must be an [RFC + * 3339](https://tools.ietf.org/html/rfc3339) timestamp. + * + *

Example: {@code 2016-08-25T21:10:29Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeRecoveryWindowStart") + private java.util.Date timeRecoveryWindowStart; + + /** + * Earliest timestamp in the PITR window to which the database can be restored. Timestamps + * earlier than this are not recoverable. The value must be an [RFC + * 3339](https://tools.ietf.org/html/rfc3339) timestamp. + * + *

Example: {@code 2016-08-25T21:10:29Z} + * + * @param timeRecoveryWindowStart the value to set + * @return this builder + */ + public Builder timeRecoveryWindowStart(java.util.Date timeRecoveryWindowStart) { + this.timeRecoveryWindowStart = timeRecoveryWindowStart; + this.__explicitlySet__.add("timeRecoveryWindowStart"); + return this; + } + /** + * Latest timestamp in the PITR window to which the database can be restored. Timestamps + * later than this are not recoverable. The value must be an [RFC + * 3339](https://tools.ietf.org/html/rfc3339) timestamp. + * + *

Example: {@code 2016-08-25T21:10:29Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeRecoveryWindowEnd") + private java.util.Date timeRecoveryWindowEnd; + + /** + * Latest timestamp in the PITR window to which the database can be restored. Timestamps + * later than this are not recoverable. The value must be an [RFC + * 3339](https://tools.ietf.org/html/rfc3339) timestamp. + * + *

Example: {@code 2016-08-25T21:10:29Z} + * + * @param timeRecoveryWindowEnd the value to set + * @return this builder + */ + public Builder timeRecoveryWindowEnd(java.util.Date timeRecoveryWindowEnd) { + this.timeRecoveryWindowEnd = timeRecoveryWindowEnd; + this.__explicitlySet__.add("timeRecoveryWindowEnd"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public PitrTimeWindow build() { + PitrTimeWindow model = + new PitrTimeWindow(this.timeRecoveryWindowStart, this.timeRecoveryWindowEnd); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(PitrTimeWindow model) { + if (model.wasPropertyExplicitlySet("timeRecoveryWindowStart")) { + this.timeRecoveryWindowStart(model.getTimeRecoveryWindowStart()); + } + if (model.wasPropertyExplicitlySet("timeRecoveryWindowEnd")) { + this.timeRecoveryWindowEnd(model.getTimeRecoveryWindowEnd()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Earliest timestamp in the PITR window to which the database can be restored. Timestamps + * earlier than this are not recoverable. The value must be an [RFC + * 3339](https://tools.ietf.org/html/rfc3339) timestamp. + * + *

Example: {@code 2016-08-25T21:10:29Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeRecoveryWindowStart") + private final java.util.Date timeRecoveryWindowStart; + + /** + * Earliest timestamp in the PITR window to which the database can be restored. Timestamps + * earlier than this are not recoverable. The value must be an [RFC + * 3339](https://tools.ietf.org/html/rfc3339) timestamp. + * + *

Example: {@code 2016-08-25T21:10:29Z} + * + * @return the value + */ + public java.util.Date getTimeRecoveryWindowStart() { + return timeRecoveryWindowStart; + } + + /** + * Latest timestamp in the PITR window to which the database can be restored. Timestamps later + * than this are not recoverable. The value must be an [RFC + * 3339](https://tools.ietf.org/html/rfc3339) timestamp. + * + *

Example: {@code 2016-08-25T21:10:29Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeRecoveryWindowEnd") + private final java.util.Date timeRecoveryWindowEnd; + + /** + * Latest timestamp in the PITR window to which the database can be restored. Timestamps later + * than this are not recoverable. The value must be an [RFC + * 3339](https://tools.ietf.org/html/rfc3339) timestamp. + * + *

Example: {@code 2016-08-25T21:10:29Z} + * + * @return the value + */ + public java.util.Date getTimeRecoveryWindowEnd() { + return timeRecoveryWindowEnd; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("PitrTimeWindow("); + sb.append("super=").append(super.toString()); + sb.append("timeRecoveryWindowStart=").append(String.valueOf(this.timeRecoveryWindowStart)); + sb.append(", timeRecoveryWindowEnd=").append(String.valueOf(this.timeRecoveryWindowEnd)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PitrTimeWindow)) { + return false; + } + + PitrTimeWindow other = (PitrTimeWindow) o; + return java.util.Objects.equals(this.timeRecoveryWindowStart, other.timeRecoveryWindowStart) + && java.util.Objects.equals(this.timeRecoveryWindowEnd, other.timeRecoveryWindowEnd) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.timeRecoveryWindowStart == null + ? 43 + : this.timeRecoveryWindowStart.hashCode()); + result = + (result * PRIME) + + (this.timeRecoveryWindowEnd == null + ? 43 + : this.timeRecoveryWindowEnd.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-psql/src/main/java/com/oracle/bmc/psql/model/PointInTimeDbSystemSourceDetails.java b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/PointInTimeDbSystemSourceDetails.java new file mode 100644 index 00000000000..4038731f65e --- /dev/null +++ b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/PointInTimeDbSystemSourceDetails.java @@ -0,0 +1,201 @@ +/** + * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.psql.model; + +/** + * Details of database system point-in-time recovery.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220915") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = PointInTimeDbSystemSourceDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "sourceType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class PointInTimeDbSystemSourceDetails extends SourceDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * source database system which will be used to perform point-in-time recovery. + */ + @com.fasterxml.jackson.annotation.JsonProperty("dbSystemId") + private String dbSystemId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * source database system which will be used to perform point-in-time recovery. + * + * @param dbSystemId the value to set + * @return this builder + */ + public Builder dbSystemId(String dbSystemId) { + this.dbSystemId = dbSystemId; + this.__explicitlySet__.add("dbSystemId"); + return this; + } + /** + * The target point-in-time of the source database system that will be restored, expressed + * in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. + * + *

Point-in-time recovery can only performed in granularity of seconds. Example: {@code + * 2016-08-25T21:10:29Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeToRestore") + private java.util.Date timeToRestore; + + /** + * The target point-in-time of the source database system that will be restored, expressed + * in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. + * + *

Point-in-time recovery can only performed in granularity of seconds. Example: {@code + * 2016-08-25T21:10:29Z} + * + * @param timeToRestore the value to set + * @return this builder + */ + public Builder timeToRestore(java.util.Date timeToRestore) { + this.timeToRestore = timeToRestore; + this.__explicitlySet__.add("timeToRestore"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public PointInTimeDbSystemSourceDetails build() { + PointInTimeDbSystemSourceDetails model = + new PointInTimeDbSystemSourceDetails(this.dbSystemId, this.timeToRestore); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(PointInTimeDbSystemSourceDetails model) { + if (model.wasPropertyExplicitlySet("dbSystemId")) { + this.dbSystemId(model.getDbSystemId()); + } + if (model.wasPropertyExplicitlySet("timeToRestore")) { + this.timeToRestore(model.getTimeToRestore()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public PointInTimeDbSystemSourceDetails(String dbSystemId, java.util.Date timeToRestore) { + super(); + this.dbSystemId = dbSystemId; + this.timeToRestore = timeToRestore; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * source database system which will be used to perform point-in-time recovery. + */ + @com.fasterxml.jackson.annotation.JsonProperty("dbSystemId") + private final String dbSystemId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * source database system which will be used to perform point-in-time recovery. + * + * @return the value + */ + public String getDbSystemId() { + return dbSystemId; + } + + /** + * The target point-in-time of the source database system that will be restored, expressed in + * [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. + * + *

Point-in-time recovery can only performed in granularity of seconds. Example: {@code + * 2016-08-25T21:10:29Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeToRestore") + private final java.util.Date timeToRestore; + + /** + * The target point-in-time of the source database system that will be restored, expressed in + * [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. + * + *

Point-in-time recovery can only performed in granularity of seconds. Example: {@code + * 2016-08-25T21:10:29Z} + * + * @return the value + */ + public java.util.Date getTimeToRestore() { + return timeToRestore; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("PointInTimeDbSystemSourceDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", dbSystemId=").append(String.valueOf(this.dbSystemId)); + sb.append(", timeToRestore=").append(String.valueOf(this.timeToRestore)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PointInTimeDbSystemSourceDetails)) { + return false; + } + + PointInTimeDbSystemSourceDetails other = (PointInTimeDbSystemSourceDetails) o; + return java.util.Objects.equals(this.dbSystemId, other.dbSystemId) + && java.util.Objects.equals(this.timeToRestore, other.timeToRestore) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.dbSystemId == null ? 43 : this.dbSystemId.hashCode()); + result = + (result * PRIME) + + (this.timeToRestore == null ? 43 : this.timeToRestore.hashCode()); + return result; + } +} diff --git a/bmc-psql/src/main/java/com/oracle/bmc/psql/model/RestoreDbSystemDetails.java b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/RestoreDbSystemDetails.java index b8fae92f8b3..1fa865b5a3e 100644 --- a/bmc-psql/src/main/java/com/oracle/bmc/psql/model/RestoreDbSystemDetails.java +++ b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/RestoreDbSystemDetails.java @@ -23,11 +23,12 @@ public final class RestoreDbSystemDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated - @java.beans.ConstructorProperties({"backupId", "ad"}) - public RestoreDbSystemDetails(String backupId, String ad) { + @java.beans.ConstructorProperties({"backupId", "ad", "timeToRestore"}) + public RestoreDbSystemDetails(String backupId, String ad, java.util.Date timeToRestore) { super(); this.backupId = backupId; this.ad = ad; + this.timeToRestore = timeToRestore; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -70,12 +71,36 @@ public Builder ad(String ad) { this.__explicitlySet__.add("ad"); return this; } + /** + * The target point-in-time that the database system restore can get started from, expressed + * in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeToRestore") + private java.util.Date timeToRestore; + + /** + * The target point-in-time that the database system restore can get started from, expressed + * in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + * + * @param timeToRestore the value to set + * @return this builder + */ + public Builder timeToRestore(java.util.Date timeToRestore) { + this.timeToRestore = timeToRestore; + this.__explicitlySet__.add("timeToRestore"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); public RestoreDbSystemDetails build() { - RestoreDbSystemDetails model = new RestoreDbSystemDetails(this.backupId, this.ad); + RestoreDbSystemDetails model = + new RestoreDbSystemDetails(this.backupId, this.ad, this.timeToRestore); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -90,6 +115,9 @@ public Builder copy(RestoreDbSystemDetails model) { if (model.wasPropertyExplicitlySet("ad")) { this.ad(model.getAd()); } + if (model.wasPropertyExplicitlySet("timeToRestore")) { + this.timeToRestore(model.getTimeToRestore()); + } return this; } } @@ -137,6 +165,27 @@ public String getAd() { return ad; } + /** + * The target point-in-time that the database system restore can get started from, expressed in + * [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeToRestore") + private final java.util.Date timeToRestore; + + /** + * The target point-in-time that the database system restore can get started from, expressed in + * [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + * + * @return the value + */ + public java.util.Date getTimeToRestore() { + return timeToRestore; + } + @Override public String toString() { return this.toString(true); @@ -154,6 +203,7 @@ public String toString(boolean includeByteArrayContents) { sb.append("super=").append(super.toString()); sb.append("backupId=").append(String.valueOf(this.backupId)); sb.append(", ad=").append(String.valueOf(this.ad)); + sb.append(", timeToRestore=").append(String.valueOf(this.timeToRestore)); sb.append(")"); return sb.toString(); } @@ -170,6 +220,7 @@ public boolean equals(Object o) { RestoreDbSystemDetails other = (RestoreDbSystemDetails) o; return java.util.Objects.equals(this.backupId, other.backupId) && java.util.Objects.equals(this.ad, other.ad) + && java.util.Objects.equals(this.timeToRestore, other.timeToRestore) && super.equals(other); } @@ -179,6 +230,9 @@ public int hashCode() { int result = 1; result = (result * PRIME) + (this.backupId == null ? 43 : this.backupId.hashCode()); result = (result * PRIME) + (this.ad == null ? 43 : this.ad.hashCode()); + result = + (result * PRIME) + + (this.timeToRestore == null ? 43 : this.timeToRestore.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-psql/src/main/java/com/oracle/bmc/psql/model/SourceDetails.java b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/SourceDetails.java index 0f5eb40ff87..837e8ae2d65 100644 --- a/bmc-psql/src/main/java/com/oracle/bmc/psql/model/SourceDetails.java +++ b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/SourceDetails.java @@ -30,7 +30,10 @@ name = "DB_SYSTEM"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = NoneSourceDetails.class, - name = "NONE") + name = "NONE"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = PointInTimeDbSystemSourceDetails.class, + name = "POINT_IN_TIME_DB_SYSTEM") }) @com.fasterxml.jackson.annotation.JsonFilter( com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) @@ -85,6 +88,7 @@ public int hashCode() { public enum SourceType implements com.oracle.bmc.http.internal.BmcEnum { Backup("BACKUP"), None("NONE"), + PointInTimeDbSystem("POINT_IN_TIME_DB_SYSTEM"), DbSystem("DB_SYSTEM"), /** diff --git a/bmc-psql/src/main/java/com/oracle/bmc/psql/model/StandardPitrPolicy.java b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/StandardPitrPolicy.java new file mode 100644 index 00000000000..b8212d170f5 --- /dev/null +++ b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/StandardPitrPolicy.java @@ -0,0 +1,140 @@ +/** + * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.psql.model; + +/** + * A standard point-in-time recovery policy.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220915") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = StandardPitrPolicy.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "kind") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class StandardPitrPolicy extends PitrPolicy { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The number of days the database system retains backups required for point-in-time + * recovery. + */ + @com.fasterxml.jackson.annotation.JsonProperty("restoreDays") + private Integer restoreDays; + + /** + * The number of days the database system retains backups required for point-in-time + * recovery. + * + * @param restoreDays the value to set + * @return this builder + */ + public Builder restoreDays(Integer restoreDays) { + this.restoreDays = restoreDays; + this.__explicitlySet__.add("restoreDays"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public StandardPitrPolicy build() { + StandardPitrPolicy model = new StandardPitrPolicy(this.restoreDays); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(StandardPitrPolicy model) { + if (model.wasPropertyExplicitlySet("restoreDays")) { + this.restoreDays(model.getRestoreDays()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public StandardPitrPolicy(Integer restoreDays) { + super(); + this.restoreDays = restoreDays; + } + + /** + * The number of days the database system retains backups required for point-in-time recovery. + */ + @com.fasterxml.jackson.annotation.JsonProperty("restoreDays") + private final Integer restoreDays; + + /** + * The number of days the database system retains backups required for point-in-time recovery. + * + * @return the value + */ + public Integer getRestoreDays() { + return restoreDays; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("StandardPitrPolicy("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", restoreDays=").append(String.valueOf(this.restoreDays)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof StandardPitrPolicy)) { + return false; + } + + StandardPitrPolicy other = (StandardPitrPolicy) o; + return java.util.Objects.equals(this.restoreDays, other.restoreDays) && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.restoreDays == null ? 43 : this.restoreDays.hashCode()); + return result; + } +} diff --git a/bmc-psql/src/main/java/com/oracle/bmc/psql/requests/GetPitrDetailsRequest.java b/bmc-psql/src/main/java/com/oracle/bmc/psql/requests/GetPitrDetailsRequest.java new file mode 100644 index 00000000000..3cf8778a32e --- /dev/null +++ b/bmc-psql/src/main/java/com/oracle/bmc/psql/requests/GetPitrDetailsRequest.java @@ -0,0 +1,190 @@ +/** + * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.psql.requests; + +import com.oracle.bmc.psql.model.*; +/** + * Example: Click here to see how to use GetPitrDetailsRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220915") +public class GetPitrDetailsRequest extends com.oracle.bmc.requests.BmcRequest { + + /** A unique identifier for the database system. */ + private String dbSystemId; + + /** A unique identifier for the database system. */ + public String getDbSystemId() { + return dbSystemId; + } + /** The client request ID for tracing. */ + private String opcRequestId; + + /** The client request ID for tracing. */ + public String getOpcRequestId() { + return opcRequestId; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + GetPitrDetailsRequest, java.lang.Void> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** A unique identifier for the database system. */ + private String dbSystemId = null; + + /** + * A unique identifier for the database system. + * + * @param dbSystemId the value to set + * @return this builder instance + */ + public Builder dbSystemId(String dbSystemId) { + this.dbSystemId = dbSystemId; + return this; + } + + /** The client request ID for tracing. */ + private String opcRequestId = null; + + /** + * The client request ID for tracing. + * + * @param opcRequestId the value to set + * @return this builder instance + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(GetPitrDetailsRequest o) { + dbSystemId(o.getDbSystemId()); + opcRequestId(o.getOpcRequestId()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of GetPitrDetailsRequest as configured by this builder + * + *

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

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

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of GetPitrDetailsRequest + */ + public GetPitrDetailsRequest buildWithoutInvocationCallback() { + GetPitrDetailsRequest request = new GetPitrDetailsRequest(); + request.dbSystemId = dbSystemId; + request.opcRequestId = opcRequestId; + return request; + // new GetPitrDetailsRequest(dbSystemId, opcRequestId); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder().dbSystemId(dbSystemId).opcRequestId(opcRequestId); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",dbSystemId=").append(String.valueOf(this.dbSystemId)); + sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof GetPitrDetailsRequest)) { + return false; + } + + GetPitrDetailsRequest other = (GetPitrDetailsRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.dbSystemId, other.dbSystemId) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.dbSystemId == null ? 43 : this.dbSystemId.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + return result; + } +} diff --git a/bmc-psql/src/main/java/com/oracle/bmc/psql/requests/ListBackupsRequest.java b/bmc-psql/src/main/java/com/oracle/bmc/psql/requests/ListBackupsRequest.java index 07699196b4f..7cff3d95b1f 100644 --- a/bmc-psql/src/main/java/com/oracle/bmc/psql/requests/ListBackupsRequest.java +++ b/bmc-psql/src/main/java/com/oracle/bmc/psql/requests/ListBackupsRequest.java @@ -164,6 +164,13 @@ public SortBy getSortBy() { public String getOpcRequestId() { return opcRequestId; } + /** A filter to return only backups whose backupSourceType matches the given backupSourceType */ + private String backupSourceType; + + /** A filter to return only backups whose backupSourceType matches the given backupSourceType */ + public String getBackupSourceType() { + return backupSourceType; + } public static class Builder implements com.oracle.bmc.requests.BmcRequest.Builder< @@ -360,6 +367,22 @@ public Builder opcRequestId(String opcRequestId) { return this; } + /** + * A filter to return only backups whose backupSourceType matches the given backupSourceType + */ + private String backupSourceType = null; + + /** + * A filter to return only backups whose backupSourceType matches the given backupSourceType + * + * @param backupSourceType the value to set + * @return this builder instance + */ + public Builder backupSourceType(String backupSourceType) { + this.backupSourceType = backupSourceType; + return this; + } + /** * Set the invocation callback for the request to be built. * @@ -402,6 +425,7 @@ public Builder copy(ListBackupsRequest o) { sortOrder(o.getSortOrder()); sortBy(o.getSortBy()); opcRequestId(o.getOpcRequestId()); + backupSourceType(o.getBackupSourceType()); invocationCallback(o.getInvocationCallback()); retryConfiguration(o.getRetryConfiguration()); return this; @@ -448,9 +472,11 @@ public ListBackupsRequest buildWithoutInvocationCallback() { request.sortOrder = sortOrder; request.sortBy = sortBy; request.opcRequestId = opcRequestId; + request.backupSourceType = backupSourceType; return request; // new ListBackupsRequest(compartmentId, timeStarted, timeEnded, lifecycleState, - // displayName, backupId, id, limit, page, sortOrder, sortBy, opcRequestId); + // displayName, backupId, id, limit, page, sortOrder, sortBy, opcRequestId, + // backupSourceType); } } @@ -472,7 +498,8 @@ public Builder toBuilder() { .page(page) .sortOrder(sortOrder) .sortBy(sortBy) - .opcRequestId(opcRequestId); + .opcRequestId(opcRequestId) + .backupSourceType(backupSourceType); } /** @@ -501,6 +528,7 @@ public String toString() { sb.append(",sortOrder=").append(String.valueOf(this.sortOrder)); sb.append(",sortBy=").append(String.valueOf(this.sortBy)); sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId)); + sb.append(",backupSourceType=").append(String.valueOf(this.backupSourceType)); sb.append(")"); return sb.toString(); } @@ -527,7 +555,8 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.page, other.page) && java.util.Objects.equals(this.sortOrder, other.sortOrder) && java.util.Objects.equals(this.sortBy, other.sortBy) - && java.util.Objects.equals(this.opcRequestId, other.opcRequestId); + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.backupSourceType, other.backupSourceType); } @Override @@ -550,6 +579,9 @@ public int hashCode() { result = (result * PRIME) + (this.sortOrder == null ? 43 : this.sortOrder.hashCode()); result = (result * PRIME) + (this.sortBy == null ? 43 : this.sortBy.hashCode()); result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = + (result * PRIME) + + (this.backupSourceType == null ? 43 : this.backupSourceType.hashCode()); return result; } } diff --git a/bmc-psql/src/main/java/com/oracle/bmc/psql/responses/GetPitrDetailsResponse.java b/bmc-psql/src/main/java/com/oracle/bmc/psql/responses/GetPitrDetailsResponse.java new file mode 100644 index 00000000000..053a7eafe19 --- /dev/null +++ b/bmc-psql/src/main/java/com/oracle/bmc/psql/responses/GetPitrDetailsResponse.java @@ -0,0 +1,208 @@ +/** + * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.psql.responses; + +import com.oracle.bmc.psql.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220915") +public class GetPitrDetailsResponse extends com.oracle.bmc.responses.BmcResponse { + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @return the value + */ + public String getEtag() { + return etag; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** The returned {@code PitrDetails} instance. */ + private com.oracle.bmc.psql.model.PitrDetails pitrDetails; + + /** + * The returned {@code PitrDetails} instance. + * + * @return the value + */ + public com.oracle.bmc.psql.model.PitrDetails getPitrDetails() { + return pitrDetails; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "etag", + "opcRequestId", + "pitrDetails" + }) + private GetPitrDetailsResponse( + int __httpStatusCode__, + java.util.Map> headers, + String etag, + String opcRequestId, + com.oracle.bmc.psql.model.PitrDetails pitrDetails) { + super(__httpStatusCode__, headers); + this.etag = etag; + this.opcRequestId = opcRequestId; + this.pitrDetails = pitrDetails; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @param etag the value to set + * @return this builder + */ + public Builder etag(String etag) { + this.etag = etag; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** The returned {@code PitrDetails} instance. */ + private com.oracle.bmc.psql.model.PitrDetails pitrDetails; + + /** + * The returned {@code PitrDetails} instance. + * + * @param pitrDetails the value to set + * @return this builder + */ + public Builder pitrDetails(com.oracle.bmc.psql.model.PitrDetails pitrDetails) { + this.pitrDetails = pitrDetails; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(GetPitrDetailsResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + etag(o.getEtag()); + opcRequestId(o.getOpcRequestId()); + pitrDetails(o.getPitrDetails()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public GetPitrDetailsResponse build() { + return new GetPitrDetailsResponse( + __httpStatusCode__, headers, etag, opcRequestId, pitrDetails); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",etag=").append(String.valueOf(etag)); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",pitrDetails=").append(String.valueOf(pitrDetails)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof GetPitrDetailsResponse)) { + return false; + } + + GetPitrDetailsResponse other = (GetPitrDetailsResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.etag, other.etag) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.pitrDetails, other.pitrDetails); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.etag == null ? 43 : this.etag.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.pitrDetails == null ? 43 : this.pitrDetails.hashCode()); + return result; + } +} diff --git a/bmc-psql/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-psql/reflect-config.json b/bmc-psql/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-psql/reflect-config.json index 56d1a76b767..212603efda6 100644 --- a/bmc-psql/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-psql/reflect-config.json +++ b/bmc-psql/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-psql/reflect-config.json @@ -961,6 +961,20 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.psql.model.NonePitrPolicy", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.psql.model.NonePitrPolicy$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.psql.model.NoneSourceDetails", @@ -1198,6 +1212,53 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.psql.model.PitrDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.psql.model.PitrDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.psql.model.PitrDetails$PitrState", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.psql.model.PitrPolicy", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.psql.model.PitrPolicy$Kind", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.psql.model.PitrTimeWindow", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.psql.model.PitrTimeWindow$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.psql.model.PlainTextPasswordDetails", @@ -1212,6 +1273,20 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.psql.model.PointInTimeDbSystemSourceDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.psql.model.PointInTimeDbSystemSourceDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.psql.model.PrimaryDbInstanceDetails", @@ -1425,6 +1500,20 @@ "allDeclaredFields": true, "allDeclaredMethods": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.psql.model.StandardPitrPolicy", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.psql.model.StandardPitrPolicy$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.psql.model.StartDbSystemDetails", diff --git a/bmc-queue/pom.xml b/bmc-queue/pom.xml index a43fb3e25ea..b0e8f1f9951 100644 --- a/bmc-queue/pom.xml +++ b/bmc-queue/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-queue @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-recovery/pom.xml b/bmc-recovery/pom.xml index 17cd9397d59..739f65be911 100644 --- a/bmc-recovery/pom.xml +++ b/bmc-recovery/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-recovery @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-redis/pom.xml b/bmc-redis/pom.xml index b0e48890bf4..f963f95f661 100644 --- a/bmc-redis/pom.xml +++ b/bmc-redis/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-redis @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-resourceanalytics/pom.xml b/bmc-resourceanalytics/pom.xml index 712c834426f..f82fe0c8380 100644 --- a/bmc-resourceanalytics/pom.xml +++ b/bmc-resourceanalytics/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-resourceanalytics @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-resourcemanager/pom.xml b/bmc-resourcemanager/pom.xml index c58be565378..1eb20ea36bc 100644 --- a/bmc-resourcemanager/pom.xml +++ b/bmc-resourcemanager/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-resourcemanager @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/BitbucketCloudUsernameAppPasswordConfigurationSourceProvider.java b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/BitbucketCloudEmailApiTokenConfigurationSourceProvider.java similarity index 84% rename from bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/BitbucketCloudUsernameAppPasswordConfigurationSourceProvider.java rename to bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/BitbucketCloudEmailApiTokenConfigurationSourceProvider.java index 3803f4e7d90..e93e7fa87d8 100644 --- a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/BitbucketCloudUsernameAppPasswordConfigurationSourceProvider.java +++ b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/BitbucketCloudEmailApiTokenConfigurationSourceProvider.java @@ -6,8 +6,8 @@ /** * The properties that define a configuration source provider of the type {@code - * BITBUCKET_CLOUD_USERNAME_APPPASSWORD}. This type corresponds to a configuration source provider - * in Bitbucket cloud that is authenticated with a username and app password.
+ * BITBUCKET_CLOUD_ACCESS_TOKEN}. This type corresponds to a configuration source provider in + * Bitbucket Cloud that is authenticated with Atlassian account email and API token.
* 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 @@ -19,14 +19,14 @@ */ @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20180917") @com.fasterxml.jackson.databind.annotation.JsonDeserialize( - builder = BitbucketCloudUsernameAppPasswordConfigurationSourceProvider.Builder.class) + builder = BitbucketCloudEmailApiTokenConfigurationSourceProvider.Builder.class) @com.fasterxml.jackson.annotation.JsonTypeInfo( use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, property = "configSourceProviderType") @com.fasterxml.jackson.annotation.JsonFilter( com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) -public final class BitbucketCloudUsernameAppPasswordConfigurationSourceProvider +public final class BitbucketCloudEmailApiTokenConfigurationSourceProvider extends ConfigurationSourceProvider { @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { @@ -103,6 +103,24 @@ public Builder username(String username) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("email") + private String email; + + public Builder email(String email) { + this.email = email; + this.__explicitlySet__.add("email"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("isMigrationRequired") + private Boolean isMigrationRequired; + + public Builder isMigrationRequired(Boolean isMigrationRequired) { + this.isMigrationRequired = isMigrationRequired; + this.__explicitlySet__.add("isMigrationRequired"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("secretId") private String secretId; @@ -158,9 +176,9 @@ public Builder apiEndpoint(String apiEndpoint) { @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); - public BitbucketCloudUsernameAppPasswordConfigurationSourceProvider build() { - BitbucketCloudUsernameAppPasswordConfigurationSourceProvider model = - new BitbucketCloudUsernameAppPasswordConfigurationSourceProvider( + public BitbucketCloudEmailApiTokenConfigurationSourceProvider build() { + BitbucketCloudEmailApiTokenConfigurationSourceProvider model = + new BitbucketCloudEmailApiTokenConfigurationSourceProvider( this.id, this.compartmentId, this.displayName, @@ -169,6 +187,8 @@ public BitbucketCloudUsernameAppPasswordConfigurationSourceProvider build() { this.lifecycleState, this.privateServerConfigDetails, this.username, + this.email, + this.isMigrationRequired, this.secretId, this.freeformTags, this.definedTags, @@ -181,7 +201,7 @@ public BitbucketCloudUsernameAppPasswordConfigurationSourceProvider build() { } @com.fasterxml.jackson.annotation.JsonIgnore - public Builder copy(BitbucketCloudUsernameAppPasswordConfigurationSourceProvider model) { + public Builder copy(BitbucketCloudEmailApiTokenConfigurationSourceProvider model) { if (model.wasPropertyExplicitlySet("id")) { this.id(model.getId()); } @@ -206,6 +226,12 @@ public Builder copy(BitbucketCloudUsernameAppPasswordConfigurationSourceProvider if (model.wasPropertyExplicitlySet("username")) { this.username(model.getUsername()); } + if (model.wasPropertyExplicitlySet("email")) { + this.email(model.getEmail()); + } + if (model.wasPropertyExplicitlySet("isMigrationRequired")) { + this.isMigrationRequired(model.getIsMigrationRequired()); + } if (model.wasPropertyExplicitlySet("secretId")) { this.secretId(model.getSecretId()); } @@ -235,7 +261,7 @@ public Builder toBuilder() { } @Deprecated - public BitbucketCloudUsernameAppPasswordConfigurationSourceProvider( + public BitbucketCloudEmailApiTokenConfigurationSourceProvider( String id, String compartmentId, String displayName, @@ -244,6 +270,8 @@ public BitbucketCloudUsernameAppPasswordConfigurationSourceProvider( LifecycleState lifecycleState, PrivateServerConfigDetails privateServerConfigDetails, String username, + String email, + Boolean isMigrationRequired, String secretId, java.util.Map freeformTags, java.util.Map> definedTags, @@ -258,6 +286,8 @@ public BitbucketCloudUsernameAppPasswordConfigurationSourceProvider( lifecycleState, privateServerConfigDetails, username, + email, + isMigrationRequired, secretId, freeformTags, definedTags, @@ -291,7 +321,7 @@ public String toString() { */ public String toString(boolean includeByteArrayContents) { java.lang.StringBuilder sb = new java.lang.StringBuilder(); - sb.append("BitbucketCloudUsernameAppPasswordConfigurationSourceProvider("); + sb.append("BitbucketCloudEmailApiTokenConfigurationSourceProvider("); sb.append("super=").append(super.toString(includeByteArrayContents)); sb.append(", apiEndpoint=").append(String.valueOf(this.apiEndpoint)); sb.append(")"); @@ -303,12 +333,12 @@ public boolean equals(Object o) { if (this == o) { return true; } - if (!(o instanceof BitbucketCloudUsernameAppPasswordConfigurationSourceProvider)) { + if (!(o instanceof BitbucketCloudEmailApiTokenConfigurationSourceProvider)) { return false; } - BitbucketCloudUsernameAppPasswordConfigurationSourceProvider other = - (BitbucketCloudUsernameAppPasswordConfigurationSourceProvider) o; + BitbucketCloudEmailApiTokenConfigurationSourceProvider other = + (BitbucketCloudEmailApiTokenConfigurationSourceProvider) o; return java.util.Objects.equals(this.apiEndpoint, other.apiEndpoint) && super.equals(other); } diff --git a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary.java b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/BitbucketCloudEmailApiTokenConfigurationSourceProviderSummary.java similarity index 86% rename from bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary.java rename to bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/BitbucketCloudEmailApiTokenConfigurationSourceProviderSummary.java index fd9b48c68a6..390f5583bad 100644 --- a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary.java +++ b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/BitbucketCloudEmailApiTokenConfigurationSourceProviderSummary.java @@ -6,8 +6,8 @@ /** * Summary information for a configuration source provider of the type {@code - * BITBUCKET_CLOUD_USERNAME_APPPASSWORD}. This type corresponds to a configuration source provider - * in Bitbucket cloud that is authenticated with a username and app password.
+ * BITBUCKET_CLOUD_ACCESS_TOKEN}. This type corresponds to a configuration source provider in + * Bitbucket Cloud that is authenticated with Atlassian account email and API token.
* 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 @@ -19,14 +19,14 @@ */ @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20180917") @com.fasterxml.jackson.databind.annotation.JsonDeserialize( - builder = BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary.Builder.class) + builder = BitbucketCloudEmailApiTokenConfigurationSourceProviderSummary.Builder.class) @com.fasterxml.jackson.annotation.JsonTypeInfo( use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, property = "configSourceProviderType") @com.fasterxml.jackson.annotation.JsonFilter( com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) -public final class BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary +public final class BitbucketCloudEmailApiTokenConfigurationSourceProviderSummary extends ConfigurationSourceProviderSummary { @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { @@ -94,6 +94,15 @@ public Builder privateServerConfigDetails( return this; } + @com.fasterxml.jackson.annotation.JsonProperty("isMigrationRequired") + private Boolean isMigrationRequired; + + public Builder isMigrationRequired(Boolean isMigrationRequired) { + this.isMigrationRequired = isMigrationRequired; + this.__explicitlySet__.add("isMigrationRequired"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") private java.util.Map freeformTags; @@ -140,9 +149,9 @@ public Builder apiEndpoint(String apiEndpoint) { @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); - public BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary build() { - BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary model = - new BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary( + public BitbucketCloudEmailApiTokenConfigurationSourceProviderSummary build() { + BitbucketCloudEmailApiTokenConfigurationSourceProviderSummary model = + new BitbucketCloudEmailApiTokenConfigurationSourceProviderSummary( this.id, this.compartmentId, this.displayName, @@ -150,6 +159,7 @@ public BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary build this.timeCreated, this.lifecycleState, this.privateServerConfigDetails, + this.isMigrationRequired, this.freeformTags, this.definedTags, this.systemTags, @@ -161,8 +171,7 @@ public BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary build } @com.fasterxml.jackson.annotation.JsonIgnore - public Builder copy( - BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary model) { + public Builder copy(BitbucketCloudEmailApiTokenConfigurationSourceProviderSummary model) { if (model.wasPropertyExplicitlySet("id")) { this.id(model.getId()); } @@ -184,6 +193,9 @@ public Builder copy( if (model.wasPropertyExplicitlySet("privateServerConfigDetails")) { this.privateServerConfigDetails(model.getPrivateServerConfigDetails()); } + if (model.wasPropertyExplicitlySet("isMigrationRequired")) { + this.isMigrationRequired(model.getIsMigrationRequired()); + } if (model.wasPropertyExplicitlySet("freeformTags")) { this.freeformTags(model.getFreeformTags()); } @@ -210,7 +222,7 @@ public Builder toBuilder() { } @Deprecated - public BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary( + public BitbucketCloudEmailApiTokenConfigurationSourceProviderSummary( String id, String compartmentId, String displayName, @@ -218,6 +230,7 @@ public BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary( java.util.Date timeCreated, ConfigurationSourceProvider.LifecycleState lifecycleState, PrivateServerConfigDetails privateServerConfigDetails, + Boolean isMigrationRequired, java.util.Map freeformTags, java.util.Map> definedTags, java.util.Map> systemTags, @@ -230,6 +243,7 @@ public BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary( timeCreated, lifecycleState, privateServerConfigDetails, + isMigrationRequired, freeformTags, definedTags, systemTags); @@ -262,7 +276,7 @@ public String toString() { */ public String toString(boolean includeByteArrayContents) { java.lang.StringBuilder sb = new java.lang.StringBuilder(); - sb.append("BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary("); + sb.append("BitbucketCloudEmailApiTokenConfigurationSourceProviderSummary("); sb.append("super=").append(super.toString(includeByteArrayContents)); sb.append(", apiEndpoint=").append(String.valueOf(this.apiEndpoint)); sb.append(")"); @@ -274,12 +288,12 @@ public boolean equals(Object o) { if (this == o) { return true; } - if (!(o instanceof BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary)) { + if (!(o instanceof BitbucketCloudEmailApiTokenConfigurationSourceProviderSummary)) { return false; } - BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary other = - (BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary) o; + BitbucketCloudEmailApiTokenConfigurationSourceProviderSummary other = + (BitbucketCloudEmailApiTokenConfigurationSourceProviderSummary) o; return java.util.Objects.equals(this.apiEndpoint, other.apiEndpoint) && super.equals(other); } diff --git a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/BitbucketServerAccessTokenConfigurationSourceProvider.java b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/BitbucketServerAccessTokenConfigurationSourceProvider.java index b653ea011b4..9c7d3a697aa 100644 --- a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/BitbucketServerAccessTokenConfigurationSourceProvider.java +++ b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/BitbucketServerAccessTokenConfigurationSourceProvider.java @@ -103,6 +103,24 @@ public Builder username(String username) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("email") + private String email; + + public Builder email(String email) { + this.email = email; + this.__explicitlySet__.add("email"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("isMigrationRequired") + private Boolean isMigrationRequired; + + public Builder isMigrationRequired(Boolean isMigrationRequired) { + this.isMigrationRequired = isMigrationRequired; + this.__explicitlySet__.add("isMigrationRequired"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("secretId") private String secretId; @@ -169,6 +187,8 @@ public BitbucketServerAccessTokenConfigurationSourceProvider build() { this.lifecycleState, this.privateServerConfigDetails, this.username, + this.email, + this.isMigrationRequired, this.secretId, this.freeformTags, this.definedTags, @@ -206,6 +226,12 @@ public Builder copy(BitbucketServerAccessTokenConfigurationSourceProvider model) if (model.wasPropertyExplicitlySet("username")) { this.username(model.getUsername()); } + if (model.wasPropertyExplicitlySet("email")) { + this.email(model.getEmail()); + } + if (model.wasPropertyExplicitlySet("isMigrationRequired")) { + this.isMigrationRequired(model.getIsMigrationRequired()); + } if (model.wasPropertyExplicitlySet("secretId")) { this.secretId(model.getSecretId()); } @@ -244,6 +270,8 @@ public BitbucketServerAccessTokenConfigurationSourceProvider( LifecycleState lifecycleState, PrivateServerConfigDetails privateServerConfigDetails, String username, + String email, + Boolean isMigrationRequired, String secretId, java.util.Map freeformTags, java.util.Map> definedTags, @@ -258,6 +286,8 @@ public BitbucketServerAccessTokenConfigurationSourceProvider( lifecycleState, privateServerConfigDetails, username, + email, + isMigrationRequired, secretId, freeformTags, definedTags, diff --git a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/BitbucketServerAccessTokenConfigurationSourceProviderSummary.java b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/BitbucketServerAccessTokenConfigurationSourceProviderSummary.java index d68a5753094..78e4589eed5 100644 --- a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/BitbucketServerAccessTokenConfigurationSourceProviderSummary.java +++ b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/BitbucketServerAccessTokenConfigurationSourceProviderSummary.java @@ -94,6 +94,15 @@ public Builder privateServerConfigDetails( return this; } + @com.fasterxml.jackson.annotation.JsonProperty("isMigrationRequired") + private Boolean isMigrationRequired; + + public Builder isMigrationRequired(Boolean isMigrationRequired) { + this.isMigrationRequired = isMigrationRequired; + this.__explicitlySet__.add("isMigrationRequired"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") private java.util.Map freeformTags; @@ -150,6 +159,7 @@ public BitbucketServerAccessTokenConfigurationSourceProviderSummary build() { this.timeCreated, this.lifecycleState, this.privateServerConfigDetails, + this.isMigrationRequired, this.freeformTags, this.definedTags, this.systemTags, @@ -183,6 +193,9 @@ public Builder copy(BitbucketServerAccessTokenConfigurationSourceProviderSummary if (model.wasPropertyExplicitlySet("privateServerConfigDetails")) { this.privateServerConfigDetails(model.getPrivateServerConfigDetails()); } + if (model.wasPropertyExplicitlySet("isMigrationRequired")) { + this.isMigrationRequired(model.getIsMigrationRequired()); + } if (model.wasPropertyExplicitlySet("freeformTags")) { this.freeformTags(model.getFreeformTags()); } @@ -217,6 +230,7 @@ public BitbucketServerAccessTokenConfigurationSourceProviderSummary( java.util.Date timeCreated, ConfigurationSourceProvider.LifecycleState lifecycleState, PrivateServerConfigDetails privateServerConfigDetails, + Boolean isMigrationRequired, java.util.Map freeformTags, java.util.Map> definedTags, java.util.Map> systemTags, @@ -229,6 +243,7 @@ public BitbucketServerAccessTokenConfigurationSourceProviderSummary( timeCreated, lifecycleState, privateServerConfigDetails, + isMigrationRequired, freeformTags, definedTags, systemTags); diff --git a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/ConfigurationSourceProvider.java b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/ConfigurationSourceProvider.java index 611d2cc6624..1048d605644 100644 --- a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/ConfigurationSourceProvider.java +++ b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/ConfigurationSourceProvider.java @@ -32,11 +32,11 @@ value = GitlabAccessTokenConfigurationSourceProvider.class, name = "GITLAB_ACCESS_TOKEN"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( - value = BitbucketServerAccessTokenConfigurationSourceProvider.class, - name = "BITBUCKET_SERVER_ACCESS_TOKEN"), + value = BitbucketCloudEmailApiTokenConfigurationSourceProvider.class, + name = "BITBUCKET_CLOUD_ACCESS_TOKEN"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( - value = BitbucketCloudUsernameAppPasswordConfigurationSourceProvider.class, - name = "BITBUCKET_CLOUD_USERNAME_APPPASSWORD") + value = BitbucketServerAccessTokenConfigurationSourceProvider.class, + name = "BITBUCKET_SERVER_ACCESS_TOKEN") }) @com.fasterxml.jackson.annotation.JsonFilter( com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) @@ -52,6 +52,8 @@ public class ConfigurationSourceProvider "lifecycleState", "privateServerConfigDetails", "username", + "email", + "isMigrationRequired", "secretId", "freeformTags", "definedTags", @@ -66,6 +68,8 @@ protected ConfigurationSourceProvider( LifecycleState lifecycleState, PrivateServerConfigDetails privateServerConfigDetails, String username, + String email, + Boolean isMigrationRequired, String secretId, java.util.Map freeformTags, java.util.Map> definedTags, @@ -79,6 +83,8 @@ protected ConfigurationSourceProvider( this.lifecycleState = lifecycleState; this.privateServerConfigDetails = privateServerConfigDetails; this.username = username; + this.email = email; + this.isMigrationRequired = isMigrationRequired; this.secretId = secretId; this.freeformTags = freeformTags; this.definedTags = definedTags; @@ -254,6 +260,36 @@ public String getUsername() { return username; } + /** Atlassian account email used for Bitbucket Cloud API token authentication. */ + @com.fasterxml.jackson.annotation.JsonProperty("email") + private final String email; + + /** + * Atlassian account email used for Bitbucket Cloud API token authentication. + * + * @return the value + */ + public String getEmail() { + return email; + } + + /** + * Indicates whether this configuration source provider uses legacy Bitbucket Cloud + * username/app-password credentials and must be migrated. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isMigrationRequired") + private final Boolean isMigrationRequired; + + /** + * Indicates whether this configuration source provider uses legacy Bitbucket Cloud + * username/app-password credentials and must be migrated. + * + * @return the value + */ + public Boolean getIsMigrationRequired() { + return isMigrationRequired; + } + /** Secret ocid which is used to authorize the user. */ @com.fasterxml.jackson.annotation.JsonProperty("secretId") private final String secretId; @@ -356,6 +392,8 @@ public String toString(boolean includeByteArrayContents) { sb.append(", privateServerConfigDetails=") .append(String.valueOf(this.privateServerConfigDetails)); sb.append(", username=").append(String.valueOf(this.username)); + sb.append(", email=").append(String.valueOf(this.email)); + sb.append(", isMigrationRequired=").append(String.valueOf(this.isMigrationRequired)); sb.append(", secretId=").append(String.valueOf(this.secretId)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", definedTags=").append(String.valueOf(this.definedTags)); @@ -383,6 +421,8 @@ public boolean equals(Object o) { && java.util.Objects.equals( this.privateServerConfigDetails, other.privateServerConfigDetails) && java.util.Objects.equals(this.username, other.username) + && java.util.Objects.equals(this.email, other.email) + && java.util.Objects.equals(this.isMigrationRequired, other.isMigrationRequired) && java.util.Objects.equals(this.secretId, other.secretId) && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.definedTags, other.definedTags) @@ -410,6 +450,12 @@ public int hashCode() { ? 43 : this.privateServerConfigDetails.hashCode()); result = (result * PRIME) + (this.username == null ? 43 : this.username.hashCode()); + result = (result * PRIME) + (this.email == null ? 43 : this.email.hashCode()); + result = + (result * PRIME) + + (this.isMigrationRequired == null + ? 43 + : this.isMigrationRequired.hashCode()); result = (result * PRIME) + (this.secretId == null ? 43 : this.secretId.hashCode()); result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); @@ -419,13 +465,13 @@ public int hashCode() { } /** - * The type of configuration source provider. The {@code BITBUCKET_CLOUD_USERNAME_APPPASSWORD} - * type corresponds to Bitbucket Cloud. The {@code BITBUCKET_SERVER_ACCESS_TOKEN} type - * corresponds to Bitbucket Server. The {@code GITLAB_ACCESS_TOKEN} type corresponds to GitLab. - * The {@code GITHUB_ACCESS_TOKEN} type corresponds to GitHub. + * The type of configuration source provider. The {@code BITBUCKET_CLOUD_ACCESS_TOKEN} type + * corresponds to Bitbucket Cloud. The {@code BITBUCKET_SERVER_ACCESS_TOKEN} type corresponds to + * Bitbucket Server. The {@code GITLAB_ACCESS_TOKEN} type corresponds to GitLab. The {@code + * GITHUB_ACCESS_TOKEN} type corresponds to GitHub. */ public enum ConfigSourceProviderType implements com.oracle.bmc.http.internal.BmcEnum { - BitbucketCloudUsernameApppassword("BITBUCKET_CLOUD_USERNAME_APPPASSWORD"), + BitbucketCloudAccessToken("BITBUCKET_CLOUD_ACCESS_TOKEN"), BitbucketServerAccessToken("BITBUCKET_SERVER_ACCESS_TOKEN"), GitlabAccessToken("GITLAB_ACCESS_TOKEN"), GithubAccessToken("GITHUB_ACCESS_TOKEN"), diff --git a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/ConfigurationSourceProviderSummary.java b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/ConfigurationSourceProviderSummary.java index 6024baf696a..553386525c0 100644 --- a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/ConfigurationSourceProviderSummary.java +++ b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/ConfigurationSourceProviderSummary.java @@ -25,12 +25,12 @@ @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = GitlabAccessTokenConfigurationSourceProviderSummary.class, name = "GITLAB_ACCESS_TOKEN"), - @com.fasterxml.jackson.annotation.JsonSubTypes.Type( - value = BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary.class, - name = "BITBUCKET_CLOUD_USERNAME_APPPASSWORD"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = BitbucketServerAccessTokenConfigurationSourceProviderSummary.class, name = "BITBUCKET_SERVER_ACCESS_TOKEN"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = BitbucketCloudEmailApiTokenConfigurationSourceProviderSummary.class, + name = "BITBUCKET_CLOUD_ACCESS_TOKEN"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = GithubAccessTokenConfigurationSourceProviderSummary.class, name = "GITHUB_ACCESS_TOKEN") @@ -48,6 +48,7 @@ public class ConfigurationSourceProviderSummary "timeCreated", "lifecycleState", "privateServerConfigDetails", + "isMigrationRequired", "freeformTags", "definedTags", "systemTags" @@ -60,6 +61,7 @@ protected ConfigurationSourceProviderSummary( java.util.Date timeCreated, ConfigurationSourceProvider.LifecycleState lifecycleState, PrivateServerConfigDetails privateServerConfigDetails, + Boolean isMigrationRequired, java.util.Map freeformTags, java.util.Map> definedTags, java.util.Map> systemTags) { @@ -71,6 +73,7 @@ protected ConfigurationSourceProviderSummary( this.timeCreated = timeCreated; this.lifecycleState = lifecycleState; this.privateServerConfigDetails = privateServerConfigDetails; + this.isMigrationRequired = isMigrationRequired; this.freeformTags = freeformTags; this.definedTags = definedTags; this.systemTags = systemTags; @@ -183,6 +186,23 @@ public PrivateServerConfigDetails getPrivateServerConfigDetails() { return privateServerConfigDetails; } + /** + * Indicates whether this configuration source provider uses legacy Bitbucket Cloud + * username/app-password credentials and must be migrated. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isMigrationRequired") + private final Boolean isMigrationRequired; + + /** + * Indicates whether this configuration source provider uses legacy Bitbucket Cloud + * username/app-password credentials and must be migrated. + * + * @return the value + */ + public Boolean getIsMigrationRequired() { + return isMigrationRequired; + } + /** * Free-form tags associated with the resource. Each tag is a key-value pair with no predefined * name, type, or namespace. For more information, see [Resource @@ -271,6 +291,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState)); sb.append(", privateServerConfigDetails=") .append(String.valueOf(this.privateServerConfigDetails)); + sb.append(", isMigrationRequired=").append(String.valueOf(this.isMigrationRequired)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", definedTags=").append(String.valueOf(this.definedTags)); sb.append(", systemTags=").append(String.valueOf(this.systemTags)); @@ -296,6 +317,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) && java.util.Objects.equals( this.privateServerConfigDetails, other.privateServerConfigDetails) + && java.util.Objects.equals(this.isMigrationRequired, other.isMigrationRequired) && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.definedTags, other.definedTags) && java.util.Objects.equals(this.systemTags, other.systemTags) @@ -321,6 +343,11 @@ public int hashCode() { + (this.privateServerConfigDetails == null ? 43 : this.privateServerConfigDetails.hashCode()); + result = + (result * PRIME) + + (this.isMigrationRequired == null + ? 43 + : this.isMigrationRequired.hashCode()); result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); result = (result * PRIME) + (this.systemTags == null ? 43 : this.systemTags.hashCode()); diff --git a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails.java b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.java similarity index 80% rename from bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails.java rename to bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.java index cff46b0bfe0..814b8056980 100644 --- a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails.java +++ b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.java @@ -6,8 +6,9 @@ /** * Creation details for a configuration source provider of the type {@code - * BITBUCKET_CLOUD_USERNAME_appPASSWORD}. This type corresponds to a configuration source provider - * in Bitbucket that is authenticated with a username and app password.
+ * BITBUCKET_CLOUD_ACCESS_TOKEN}. This type corresponds to a configuration source provider in + * Bitbucket Cloud that is authenticated with Atlassian account email and API token. Legacy + * username/app-password create request shapes are no longer supported.
* 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 @@ -19,16 +20,14 @@ */ @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20180917") @com.fasterxml.jackson.databind.annotation.JsonDeserialize( - builder = - CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails.Builder - .class) + builder = CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.Builder.class) @com.fasterxml.jackson.annotation.JsonTypeInfo( use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, property = "configSourceProviderType") @com.fasterxml.jackson.annotation.JsonFilter( com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) -public final class CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails +public final class CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails extends CreateConfigurationSourceProviderDetails { @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { @@ -102,19 +101,19 @@ public Builder apiEndpoint(String apiEndpoint) { this.__explicitlySet__.add("apiEndpoint"); return this; } - /** The username for the user of the Bitbucket cloud repository. */ - @com.fasterxml.jackson.annotation.JsonProperty("username") - private String username; + /** Atlassian account email used for Bitbucket Cloud API token authentication. */ + @com.fasterxml.jackson.annotation.JsonProperty("email") + private String email; /** - * The username for the user of the Bitbucket cloud repository. + * Atlassian account email used for Bitbucket Cloud API token authentication. * - * @param username the value to set + * @param email the value to set * @return this builder */ - public Builder username(String username) { - this.username = username; - this.__explicitlySet__.add("username"); + public Builder email(String email) { + this.email = email; + this.__explicitlySet__.add("email"); return this; } /** The secret ocid which is used to authorize the user. */ @@ -136,9 +135,9 @@ public Builder secretId(String secretId) { @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); - public CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails build() { - CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails model = - new CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails( + public CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails build() { + CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails model = + new CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails( this.compartmentId, this.displayName, this.description, @@ -146,7 +145,7 @@ public CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails this.freeformTags, this.definedTags, this.apiEndpoint, - this.username, + this.email, this.secretId); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); @@ -156,7 +155,7 @@ public CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails @com.fasterxml.jackson.annotation.JsonIgnore public Builder copy( - CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails model) { + CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails model) { if (model.wasPropertyExplicitlySet("compartmentId")) { this.compartmentId(model.getCompartmentId()); } @@ -178,8 +177,8 @@ public Builder copy( if (model.wasPropertyExplicitlySet("apiEndpoint")) { this.apiEndpoint(model.getApiEndpoint()); } - if (model.wasPropertyExplicitlySet("username")) { - this.username(model.getUsername()); + if (model.wasPropertyExplicitlySet("email")) { + this.email(model.getEmail()); } if (model.wasPropertyExplicitlySet("secretId")) { this.secretId(model.getSecretId()); @@ -198,7 +197,7 @@ public Builder toBuilder() { } @Deprecated - public CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails( + public CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails( String compartmentId, String displayName, String description, @@ -206,7 +205,7 @@ public CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails java.util.Map freeformTags, java.util.Map> definedTags, String apiEndpoint, - String username, + String email, String secretId) { super( compartmentId, @@ -216,7 +215,7 @@ public CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails freeformTags, definedTags); this.apiEndpoint = apiEndpoint; - this.username = username; + this.email = email; this.secretId = secretId; } @@ -233,17 +232,17 @@ public String getApiEndpoint() { return apiEndpoint; } - /** The username for the user of the Bitbucket cloud repository. */ - @com.fasterxml.jackson.annotation.JsonProperty("username") - private final String username; + /** Atlassian account email used for Bitbucket Cloud API token authentication. */ + @com.fasterxml.jackson.annotation.JsonProperty("email") + private final String email; /** - * The username for the user of the Bitbucket cloud repository. + * Atlassian account email used for Bitbucket Cloud API token authentication. * * @return the value */ - public String getUsername() { - return username; + public String getEmail() { + return email; } /** The secret ocid which is used to authorize the user. */ @@ -272,10 +271,10 @@ public String toString() { */ public String toString(boolean includeByteArrayContents) { java.lang.StringBuilder sb = new java.lang.StringBuilder(); - sb.append("CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails("); + sb.append("CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails("); sb.append("super=").append(super.toString(includeByteArrayContents)); sb.append(", apiEndpoint=").append(String.valueOf(this.apiEndpoint)); - sb.append(", username=").append(String.valueOf(this.username)); + sb.append(", email=").append(String.valueOf(this.email)); sb.append(", secretId=").append(String.valueOf(this.secretId)); sb.append(")"); return sb.toString(); @@ -286,16 +285,14 @@ public boolean equals(Object o) { if (this == o) { return true; } - if (!(o - instanceof - CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails)) { + if (!(o instanceof CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails)) { return false; } - CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails other = - (CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails) o; + CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails other = + (CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails) o; return java.util.Objects.equals(this.apiEndpoint, other.apiEndpoint) - && java.util.Objects.equals(this.username, other.username) + && java.util.Objects.equals(this.email, other.email) && java.util.Objects.equals(this.secretId, other.secretId) && super.equals(other); } @@ -305,7 +302,7 @@ public int hashCode() { final int PRIME = 59; int result = super.hashCode(); result = (result * PRIME) + (this.apiEndpoint == null ? 43 : this.apiEndpoint.hashCode()); - result = (result * PRIME) + (this.username == null ? 43 : this.username.hashCode()); + result = (result * PRIME) + (this.email == null ? 43 : this.email.hashCode()); result = (result * PRIME) + (this.secretId == null ? 43 : this.secretId.hashCode()); return result; } diff --git a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/CreateConfigurationSourceProviderDetails.java b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/CreateConfigurationSourceProviderDetails.java index 476d5686a62..ffafc24a233 100644 --- a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/CreateConfigurationSourceProviderDetails.java +++ b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/CreateConfigurationSourceProviderDetails.java @@ -26,8 +26,8 @@ value = CreateGitlabAccessTokenConfigurationSourceProviderDetails.class, name = "GITLAB_ACCESS_TOKEN"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( - value = CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails.class, - name = "BITBUCKET_CLOUD_USERNAME_APPPASSWORD"), + value = CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.class, + name = "BITBUCKET_CLOUD_ACCESS_TOKEN"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = CreateGithubAccessTokenConfigurationSourceProviderDetails.class, name = "GITHUB_ACCESS_TOKEN"), diff --git a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/GithubAccessTokenConfigurationSourceProvider.java b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/GithubAccessTokenConfigurationSourceProvider.java index a5176b35125..07f08baedac 100644 --- a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/GithubAccessTokenConfigurationSourceProvider.java +++ b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/GithubAccessTokenConfigurationSourceProvider.java @@ -103,6 +103,24 @@ public Builder username(String username) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("email") + private String email; + + public Builder email(String email) { + this.email = email; + this.__explicitlySet__.add("email"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("isMigrationRequired") + private Boolean isMigrationRequired; + + public Builder isMigrationRequired(Boolean isMigrationRequired) { + this.isMigrationRequired = isMigrationRequired; + this.__explicitlySet__.add("isMigrationRequired"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("secretId") private String secretId; @@ -169,6 +187,8 @@ public GithubAccessTokenConfigurationSourceProvider build() { this.lifecycleState, this.privateServerConfigDetails, this.username, + this.email, + this.isMigrationRequired, this.secretId, this.freeformTags, this.definedTags, @@ -206,6 +226,12 @@ public Builder copy(GithubAccessTokenConfigurationSourceProvider model) { if (model.wasPropertyExplicitlySet("username")) { this.username(model.getUsername()); } + if (model.wasPropertyExplicitlySet("email")) { + this.email(model.getEmail()); + } + if (model.wasPropertyExplicitlySet("isMigrationRequired")) { + this.isMigrationRequired(model.getIsMigrationRequired()); + } if (model.wasPropertyExplicitlySet("secretId")) { this.secretId(model.getSecretId()); } @@ -244,6 +270,8 @@ public GithubAccessTokenConfigurationSourceProvider( LifecycleState lifecycleState, PrivateServerConfigDetails privateServerConfigDetails, String username, + String email, + Boolean isMigrationRequired, String secretId, java.util.Map freeformTags, java.util.Map> definedTags, @@ -258,6 +286,8 @@ public GithubAccessTokenConfigurationSourceProvider( lifecycleState, privateServerConfigDetails, username, + email, + isMigrationRequired, secretId, freeformTags, definedTags, diff --git a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/GithubAccessTokenConfigurationSourceProviderSummary.java b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/GithubAccessTokenConfigurationSourceProviderSummary.java index 70c4d77fe57..b55c15adf47 100644 --- a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/GithubAccessTokenConfigurationSourceProviderSummary.java +++ b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/GithubAccessTokenConfigurationSourceProviderSummary.java @@ -94,6 +94,15 @@ public Builder privateServerConfigDetails( return this; } + @com.fasterxml.jackson.annotation.JsonProperty("isMigrationRequired") + private Boolean isMigrationRequired; + + public Builder isMigrationRequired(Boolean isMigrationRequired) { + this.isMigrationRequired = isMigrationRequired; + this.__explicitlySet__.add("isMigrationRequired"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") private java.util.Map freeformTags; @@ -150,6 +159,7 @@ public GithubAccessTokenConfigurationSourceProviderSummary build() { this.timeCreated, this.lifecycleState, this.privateServerConfigDetails, + this.isMigrationRequired, this.freeformTags, this.definedTags, this.systemTags, @@ -183,6 +193,9 @@ public Builder copy(GithubAccessTokenConfigurationSourceProviderSummary model) { if (model.wasPropertyExplicitlySet("privateServerConfigDetails")) { this.privateServerConfigDetails(model.getPrivateServerConfigDetails()); } + if (model.wasPropertyExplicitlySet("isMigrationRequired")) { + this.isMigrationRequired(model.getIsMigrationRequired()); + } if (model.wasPropertyExplicitlySet("freeformTags")) { this.freeformTags(model.getFreeformTags()); } @@ -217,6 +230,7 @@ public GithubAccessTokenConfigurationSourceProviderSummary( java.util.Date timeCreated, ConfigurationSourceProvider.LifecycleState lifecycleState, PrivateServerConfigDetails privateServerConfigDetails, + Boolean isMigrationRequired, java.util.Map freeformTags, java.util.Map> definedTags, java.util.Map> systemTags, @@ -229,6 +243,7 @@ public GithubAccessTokenConfigurationSourceProviderSummary( timeCreated, lifecycleState, privateServerConfigDetails, + isMigrationRequired, freeformTags, definedTags, systemTags); diff --git a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/GitlabAccessTokenConfigurationSourceProvider.java b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/GitlabAccessTokenConfigurationSourceProvider.java index 4aac608af1b..a536ce8706a 100644 --- a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/GitlabAccessTokenConfigurationSourceProvider.java +++ b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/GitlabAccessTokenConfigurationSourceProvider.java @@ -103,6 +103,24 @@ public Builder username(String username) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("email") + private String email; + + public Builder email(String email) { + this.email = email; + this.__explicitlySet__.add("email"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("isMigrationRequired") + private Boolean isMigrationRequired; + + public Builder isMigrationRequired(Boolean isMigrationRequired) { + this.isMigrationRequired = isMigrationRequired; + this.__explicitlySet__.add("isMigrationRequired"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("secretId") private String secretId; @@ -169,6 +187,8 @@ public GitlabAccessTokenConfigurationSourceProvider build() { this.lifecycleState, this.privateServerConfigDetails, this.username, + this.email, + this.isMigrationRequired, this.secretId, this.freeformTags, this.definedTags, @@ -206,6 +226,12 @@ public Builder copy(GitlabAccessTokenConfigurationSourceProvider model) { if (model.wasPropertyExplicitlySet("username")) { this.username(model.getUsername()); } + if (model.wasPropertyExplicitlySet("email")) { + this.email(model.getEmail()); + } + if (model.wasPropertyExplicitlySet("isMigrationRequired")) { + this.isMigrationRequired(model.getIsMigrationRequired()); + } if (model.wasPropertyExplicitlySet("secretId")) { this.secretId(model.getSecretId()); } @@ -244,6 +270,8 @@ public GitlabAccessTokenConfigurationSourceProvider( LifecycleState lifecycleState, PrivateServerConfigDetails privateServerConfigDetails, String username, + String email, + Boolean isMigrationRequired, String secretId, java.util.Map freeformTags, java.util.Map> definedTags, @@ -258,6 +286,8 @@ public GitlabAccessTokenConfigurationSourceProvider( lifecycleState, privateServerConfigDetails, username, + email, + isMigrationRequired, secretId, freeformTags, definedTags, diff --git a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/GitlabAccessTokenConfigurationSourceProviderSummary.java b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/GitlabAccessTokenConfigurationSourceProviderSummary.java index 22423959199..55a4b53f5f6 100644 --- a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/GitlabAccessTokenConfigurationSourceProviderSummary.java +++ b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/GitlabAccessTokenConfigurationSourceProviderSummary.java @@ -94,6 +94,15 @@ public Builder privateServerConfigDetails( return this; } + @com.fasterxml.jackson.annotation.JsonProperty("isMigrationRequired") + private Boolean isMigrationRequired; + + public Builder isMigrationRequired(Boolean isMigrationRequired) { + this.isMigrationRequired = isMigrationRequired; + this.__explicitlySet__.add("isMigrationRequired"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") private java.util.Map freeformTags; @@ -150,6 +159,7 @@ public GitlabAccessTokenConfigurationSourceProviderSummary build() { this.timeCreated, this.lifecycleState, this.privateServerConfigDetails, + this.isMigrationRequired, this.freeformTags, this.definedTags, this.systemTags, @@ -183,6 +193,9 @@ public Builder copy(GitlabAccessTokenConfigurationSourceProviderSummary model) { if (model.wasPropertyExplicitlySet("privateServerConfigDetails")) { this.privateServerConfigDetails(model.getPrivateServerConfigDetails()); } + if (model.wasPropertyExplicitlySet("isMigrationRequired")) { + this.isMigrationRequired(model.getIsMigrationRequired()); + } if (model.wasPropertyExplicitlySet("freeformTags")) { this.freeformTags(model.getFreeformTags()); } @@ -217,6 +230,7 @@ public GitlabAccessTokenConfigurationSourceProviderSummary( java.util.Date timeCreated, ConfigurationSourceProvider.LifecycleState lifecycleState, PrivateServerConfigDetails privateServerConfigDetails, + Boolean isMigrationRequired, java.util.Map freeformTags, java.util.Map> definedTags, java.util.Map> systemTags, @@ -229,6 +243,7 @@ public GitlabAccessTokenConfigurationSourceProviderSummary( timeCreated, lifecycleState, privateServerConfigDetails, + isMigrationRequired, freeformTags, definedTags, systemTags); diff --git a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails.java b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.java similarity index 77% rename from bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails.java rename to bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.java index eaa8ec4b80c..f4de2469ce8 100644 --- a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails.java +++ b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.java @@ -6,8 +6,9 @@ /** * Update details for a configuration source provider of the type {@code - * BITBUCKET_CLOUD_USERNAME_APPPASSWORD}. This type corresponds to a configuration source provider - * in Bitbucket that is authenticated with a username and app password.
+ * BITBUCKET_CLOUD_ACCESS_TOKEN}. This type corresponds to a configuration source provider in + * Bitbucket Cloud that is authenticated with Atlassian account email and API token. Legacy + * username/app-password update request shapes are no longer supported.
* 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 @@ -19,16 +20,14 @@ */ @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20180917") @com.fasterxml.jackson.databind.annotation.JsonDeserialize( - builder = - UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails.Builder - .class) + builder = UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.Builder.class) @com.fasterxml.jackson.annotation.JsonTypeInfo( use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, property = "configSourceProviderType") @com.fasterxml.jackson.annotation.JsonFilter( com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) -public final class UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails +public final class UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails extends UpdateConfigurationSourceProviderDetails { @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { @@ -93,27 +92,27 @@ public Builder apiEndpoint(String apiEndpoint) { this.__explicitlySet__.add("apiEndpoint"); return this; } - /** The username for the user of the Bitbucket cloud repository. */ - @com.fasterxml.jackson.annotation.JsonProperty("username") - private String username; + /** Atlassian account email used for Bitbucket Cloud API token authentication. */ + @com.fasterxml.jackson.annotation.JsonProperty("email") + private String email; /** - * The username for the user of the Bitbucket cloud repository. + * Atlassian account email used for Bitbucket Cloud API token authentication. * - * @param username the value to set + * @param email the value to set * @return this builder */ - public Builder username(String username) { - this.username = username; - this.__explicitlySet__.add("username"); + public Builder email(String email) { + this.email = email; + this.__explicitlySet__.add("email"); return this; } - /** The secret ocid which is used to authorize the user. */ + /** The secret OCID containing an Atlassian API token. */ @com.fasterxml.jackson.annotation.JsonProperty("secretId") private String secretId; /** - * The secret ocid which is used to authorize the user. + * The secret OCID containing an Atlassian API token. * * @param secretId the value to set * @return this builder @@ -127,16 +126,16 @@ public Builder secretId(String secretId) { @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); - public UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails build() { - UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails model = - new UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails( + public UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails build() { + UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails model = + new UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails( this.displayName, this.description, this.privateServerConfigDetails, this.freeformTags, this.definedTags, this.apiEndpoint, - this.username, + this.email, this.secretId); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); @@ -146,7 +145,7 @@ public UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails @com.fasterxml.jackson.annotation.JsonIgnore public Builder copy( - UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails model) { + UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails model) { if (model.wasPropertyExplicitlySet("displayName")) { this.displayName(model.getDisplayName()); } @@ -165,8 +164,8 @@ public Builder copy( if (model.wasPropertyExplicitlySet("apiEndpoint")) { this.apiEndpoint(model.getApiEndpoint()); } - if (model.wasPropertyExplicitlySet("username")) { - this.username(model.getUsername()); + if (model.wasPropertyExplicitlySet("email")) { + this.email(model.getEmail()); } if (model.wasPropertyExplicitlySet("secretId")) { this.secretId(model.getSecretId()); @@ -185,18 +184,18 @@ public Builder toBuilder() { } @Deprecated - public UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails( + public UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails( String displayName, String description, PrivateServerConfigDetails privateServerConfigDetails, java.util.Map freeformTags, java.util.Map> definedTags, String apiEndpoint, - String username, + String email, String secretId) { super(displayName, description, privateServerConfigDetails, freeformTags, definedTags); this.apiEndpoint = apiEndpoint; - this.username = username; + this.email = email; this.secretId = secretId; } @@ -213,25 +212,25 @@ public String getApiEndpoint() { return apiEndpoint; } - /** The username for the user of the Bitbucket cloud repository. */ - @com.fasterxml.jackson.annotation.JsonProperty("username") - private final String username; + /** Atlassian account email used for Bitbucket Cloud API token authentication. */ + @com.fasterxml.jackson.annotation.JsonProperty("email") + private final String email; /** - * The username for the user of the Bitbucket cloud repository. + * Atlassian account email used for Bitbucket Cloud API token authentication. * * @return the value */ - public String getUsername() { - return username; + public String getEmail() { + return email; } - /** The secret ocid which is used to authorize the user. */ + /** The secret OCID containing an Atlassian API token. */ @com.fasterxml.jackson.annotation.JsonProperty("secretId") private final String secretId; /** - * The secret ocid which is used to authorize the user. + * The secret OCID containing an Atlassian API token. * * @return the value */ @@ -252,10 +251,10 @@ public String toString() { */ public String toString(boolean includeByteArrayContents) { java.lang.StringBuilder sb = new java.lang.StringBuilder(); - sb.append("UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails("); + sb.append("UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails("); sb.append("super=").append(super.toString(includeByteArrayContents)); sb.append(", apiEndpoint=").append(String.valueOf(this.apiEndpoint)); - sb.append(", username=").append(String.valueOf(this.username)); + sb.append(", email=").append(String.valueOf(this.email)); sb.append(", secretId=").append(String.valueOf(this.secretId)); sb.append(")"); return sb.toString(); @@ -266,16 +265,14 @@ public boolean equals(Object o) { if (this == o) { return true; } - if (!(o - instanceof - UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails)) { + if (!(o instanceof UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails)) { return false; } - UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails other = - (UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails) o; + UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails other = + (UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails) o; return java.util.Objects.equals(this.apiEndpoint, other.apiEndpoint) - && java.util.Objects.equals(this.username, other.username) + && java.util.Objects.equals(this.email, other.email) && java.util.Objects.equals(this.secretId, other.secretId) && super.equals(other); } @@ -285,7 +282,7 @@ public int hashCode() { final int PRIME = 59; int result = super.hashCode(); result = (result * PRIME) + (this.apiEndpoint == null ? 43 : this.apiEndpoint.hashCode()); - result = (result * PRIME) + (this.username == null ? 43 : this.username.hashCode()); + result = (result * PRIME) + (this.email == null ? 43 : this.email.hashCode()); result = (result * PRIME) + (this.secretId == null ? 43 : this.secretId.hashCode()); return result; } diff --git a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/UpdateConfigurationSourceProviderDetails.java b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/UpdateConfigurationSourceProviderDetails.java index 9bd163766da..1cec45b9a2b 100644 --- a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/UpdateConfigurationSourceProviderDetails.java +++ b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/UpdateConfigurationSourceProviderDetails.java @@ -22,15 +22,15 @@ property = "configSourceProviderType", defaultImpl = UpdateConfigurationSourceProviderDetails.class) @com.fasterxml.jackson.annotation.JsonSubTypes({ - @com.fasterxml.jackson.annotation.JsonSubTypes.Type( - value = UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails.class, - name = "BITBUCKET_CLOUD_USERNAME_APPPASSWORD"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = UpdateBitbucketServerAccessTokenConfigurationSourceProviderDetails.class, name = "BITBUCKET_SERVER_ACCESS_TOKEN"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = UpdateGitlabAccessTokenConfigurationSourceProviderDetails.class, name = "GITLAB_ACCESS_TOKEN"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.class, + name = "BITBUCKET_CLOUD_ACCESS_TOKEN"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = UpdateGithubAccessTokenConfigurationSourceProviderDetails.class, name = "GITHUB_ACCESS_TOKEN") diff --git a/bmc-resourcemanager/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-resourcemanager/reflect-config.json b/bmc-resourcemanager/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-resourcemanager/reflect-config.json index e60c70106ba..b5396896dab 100644 --- a/bmc-resourcemanager/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-resourcemanager/reflect-config.json +++ b/bmc-resourcemanager/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-resourcemanager/reflect-config.json @@ -139,28 +139,28 @@ }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.resourcemanager.model.BitbucketCloudUsernameAppPasswordConfigurationSourceProvider", + "name": "com.oracle.bmc.resourcemanager.model.BitbucketCloudEmailApiTokenConfigurationSourceProvider", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.resourcemanager.model.BitbucketCloudUsernameAppPasswordConfigurationSourceProvider$Builder", + "name": "com.oracle.bmc.resourcemanager.model.BitbucketCloudEmailApiTokenConfigurationSourceProvider$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.resourcemanager.model.BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary", + "name": "com.oracle.bmc.resourcemanager.model.BitbucketCloudEmailApiTokenConfigurationSourceProviderSummary", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.resourcemanager.model.BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary$Builder", + "name": "com.oracle.bmc.resourcemanager.model.BitbucketCloudEmailApiTokenConfigurationSourceProviderSummary$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true @@ -415,14 +415,14 @@ }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.resourcemanager.model.CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails", + "name": "com.oracle.bmc.resourcemanager.model.CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.resourcemanager.model.CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails$Builder", + "name": "com.oracle.bmc.resourcemanager.model.CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true @@ -1486,14 +1486,14 @@ }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.resourcemanager.model.UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails", + "name": "com.oracle.bmc.resourcemanager.model.UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.resourcemanager.model.UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails$Builder", + "name": "com.oracle.bmc.resourcemanager.model.UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true diff --git a/bmc-resourcescheduler/pom.xml b/bmc-resourcescheduler/pom.xml index 3a167381258..c7e7ab14a42 100644 --- a/bmc-resourcescheduler/pom.xml +++ b/bmc-resourcescheduler/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-resourcescheduler @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-resourcesearch/pom.xml b/bmc-resourcesearch/pom.xml index 3243f564d01..389e587d885 100644 --- a/bmc-resourcesearch/pom.xml +++ b/bmc-resourcesearch/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-resourcesearch @@ -16,7 +16,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-rover/pom.xml b/bmc-rover/pom.xml index f3fe9dd8581..c1fcd6dc609 100644 --- a/bmc-rover/pom.xml +++ b/bmc-rover/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-rover @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-sch/pom.xml b/bmc-sch/pom.xml index 728e32e6328..7eb943f8940 100644 --- a/bmc-sch/pom.xml +++ b/bmc-sch/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-sch @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-secrets/pom.xml b/bmc-secrets/pom.xml index 89bf77698b2..c54fbf1a80f 100644 --- a/bmc-secrets/pom.xml +++ b/bmc-secrets/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-secrets @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-securityattribute/pom.xml b/bmc-securityattribute/pom.xml index 4badaabc688..2df4b9d324a 100644 --- a/bmc-securityattribute/pom.xml +++ b/bmc-securityattribute/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-securityattribute @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-self/pom.xml b/bmc-self/pom.xml index 98c81b42665..281bcd55ff7 100644 --- a/bmc-self/pom.xml +++ b/bmc-self/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-self @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-servicecatalog/pom.xml b/bmc-servicecatalog/pom.xml index bcca7621896..0f357c90aa7 100644 --- a/bmc-servicecatalog/pom.xml +++ b/bmc-servicecatalog/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-servicecatalog @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-servicemanagerproxy/pom.xml b/bmc-servicemanagerproxy/pom.xml index cac53c2c544..62bd8be74be 100644 --- a/bmc-servicemanagerproxy/pom.xml +++ b/bmc-servicemanagerproxy/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-servicemanagerproxy @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-shaded/bmc-shaded-full/pom.xml b/bmc-shaded/bmc-shaded-full/pom.xml index be27501b92e..cdfbdd797b9 100644 --- a/bmc-shaded/bmc-shaded-full/pom.xml +++ b/bmc-shaded/bmc-shaded-full/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk-shaded - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-shaded-full diff --git a/bmc-shaded/pom.xml b/bmc-shaded/pom.xml index 77e18816bb7..6ea28d6f581 100644 --- a/bmc-shaded/pom.xml +++ b/bmc-shaded/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml diff --git a/bmc-stackmonitoring/pom.xml b/bmc-stackmonitoring/pom.xml index c2ddee317bc..9860716e853 100644 --- a/bmc-stackmonitoring/pom.xml +++ b/bmc-stackmonitoring/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-stackmonitoring @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-streaming/pom.xml b/bmc-streaming/pom.xml index 97332c87439..dd3f6d1c6c4 100644 --- a/bmc-streaming/pom.xml +++ b/bmc-streaming/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-streaming @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-tenantmanagercontrolplane/pom.xml b/bmc-tenantmanagercontrolplane/pom.xml index f4ece21a7a4..8884963da4c 100644 --- a/bmc-tenantmanagercontrolplane/pom.xml +++ b/bmc-tenantmanagercontrolplane/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-tenantmanagercontrolplane @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-threatintelligence/pom.xml b/bmc-threatintelligence/pom.xml index 37f221fb942..3902bf90b49 100644 --- a/bmc-threatintelligence/pom.xml +++ b/bmc-threatintelligence/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-threatintelligence @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-usage/pom.xml b/bmc-usage/pom.xml index fdad49f47ee..05c36cfceae 100644 --- a/bmc-usage/pom.xml +++ b/bmc-usage/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-usage @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-usageapi/pom.xml b/bmc-usageapi/pom.xml index a9388105ba6..54a60444b15 100644 --- a/bmc-usageapi/pom.xml +++ b/bmc-usageapi/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-usageapi @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-vault/pom.xml b/bmc-vault/pom.xml index bd111c747d2..d480a4385c3 100644 --- a/bmc-vault/pom.xml +++ b/bmc-vault/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-vault @@ -15,12 +15,12 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 com.oracle.oci.sdk oci-java-sdk-workrequests - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-vbsinst/pom.xml b/bmc-vbsinst/pom.xml index b3b82496d09..186dfd7bb1a 100644 --- a/bmc-vbsinst/pom.xml +++ b/bmc-vbsinst/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-vbsinst @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-visualbuilder/pom.xml b/bmc-visualbuilder/pom.xml index c2c621b4f79..7a05b15ac5e 100644 --- a/bmc-visualbuilder/pom.xml +++ b/bmc-visualbuilder/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-visualbuilder @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-vnmonitoring/pom.xml b/bmc-vnmonitoring/pom.xml index cc2a58664b7..3863aec52df 100644 --- a/bmc-vnmonitoring/pom.xml +++ b/bmc-vnmonitoring/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-vnmonitoring @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-vulnerabilityscanning/pom.xml b/bmc-vulnerabilityscanning/pom.xml index 5f280478736..a2922a7a014 100644 --- a/bmc-vulnerabilityscanning/pom.xml +++ b/bmc-vulnerabilityscanning/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-vulnerabilityscanning @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-waa/pom.xml b/bmc-waa/pom.xml index 86b156a5a82..53449685407 100644 --- a/bmc-waa/pom.xml +++ b/bmc-waa/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-waa @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-waas/pom.xml b/bmc-waas/pom.xml index c6cb1292959..07d41c8b685 100644 --- a/bmc-waas/pom.xml +++ b/bmc-waas/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-waas @@ -16,7 +16,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-waf/pom.xml b/bmc-waf/pom.xml index a89745e7043..c3be6b5162f 100644 --- a/bmc-waf/pom.xml +++ b/bmc-waf/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-waf @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-wlms/pom.xml b/bmc-wlms/pom.xml index 5ce16892a5e..dd23a3aecb2 100644 --- a/bmc-wlms/pom.xml +++ b/bmc-wlms/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-wlms @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-workrequests/pom.xml b/bmc-workrequests/pom.xml index 71f7036e3c2..f70276cd2f3 100644 --- a/bmc-workrequests/pom.xml +++ b/bmc-workrequests/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-workrequests @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/bmc-zpr/pom.xml b/bmc-zpr/pom.xml index 5f1730eeb50..723d6f0abd9 100644 --- a/bmc-zpr/pom.xml +++ b/bmc-zpr/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 ../pom.xml oci-java-sdk-zpr @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.90.1 + 3.91.0 \ No newline at end of file diff --git a/pom.xml b/pom.xml index 30a09a3c924..e4ac5237aa6 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.oracle.oci.sdk oci-java-sdk - 3.90.1 + 3.91.0 pom Oracle Cloud Infrastructure SDK This project contains the SDK used for Oracle Cloud Infrastructure