diff --git a/CHANGELOG.md b/CHANGELOG.md index cc1089d073b..9536181b783 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,15 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/). +## 3.44.4 - 2024-07-23 +### Added +- Support for subscription id attribute in Cloud Exadata Infrastructure and Cloud VM Clusters in the Database service +- Support for SQL and FTP monitors on create and update operations in the Application Performance Monitoring service +- Support for MySQL Heatwave database systems in the Operations Insights service +- Support for creating and updating schedules for user assessments and security assessments in the Data Safe service +- Support for creating and updating sensitive data models of the tables for discovery in the Data Safe service +- Support for additional optional parameters on autonomous database create and update operations in the Database service + ## 3.44.3 - 2024-07-16 ### Added - Support for calling Oracle Cloud Infrastructure services in the `me-abudhabi-2` region diff --git a/bmc-accessgovernancecp/pom.xml b/bmc-accessgovernancecp/pom.xml index 7bbd8c2bbff..e1f5436fdee 100644 --- a/bmc-accessgovernancecp/pom.xml +++ b/bmc-accessgovernancecp/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-accessgovernancecp @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-accessgovernancecp/src/main/resources/com/oracle/bmc/accessgovernancecp/client.properties b/bmc-accessgovernancecp/src/main/resources/com/oracle/bmc/accessgovernancecp/client.properties index e1b9cc034b9..a93f8a232d8 100644 --- a/bmc-accessgovernancecp/src/main/resources/com/oracle/bmc/accessgovernancecp/client.properties +++ b/bmc-accessgovernancecp/src/main/resources/com/oracle/bmc/accessgovernancecp/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220518") \ No newline at end of file diff --git a/bmc-addons/bmc-apache-configurator-jersey-addon/pom.xml b/bmc-addons/bmc-apache-configurator-jersey-addon/pom.xml index 254491a0fac..14acc9fa68c 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.44.3 + 3.44.4 ../pom.xml @@ -17,14 +17,14 @@ com.oracle.oci.sdk oci-java-sdk-bom - 3.44.3 + 3.44.4 pom import com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.44.3 + 3.44.4 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 f19830bb6fd..1d71d788890 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.44.3 + 3.44.4 ../pom.xml @@ -17,14 +17,14 @@ com.oracle.oci.sdk oci-java-sdk-bom - 3.44.3 + 3.44.4 pom import com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey3 - 3.44.3 + 3.44.4 pom import diff --git a/bmc-addons/bmc-apache-connector-provider/pom.xml b/bmc-addons/bmc-apache-connector-provider/pom.xml index deb63fd15b2..ba9eae1a94e 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.44.3 + 3.44.4 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-addons/bmc-oke-workload-identity/pom.xml b/bmc-addons/bmc-oke-workload-identity/pom.xml index f68eefcf0d5..b9c3dd106bc 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.44.3 + 3.44.4 4.0.0 @@ -38,25 +38,25 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 compile com.oracle.oci.sdk oci-java-sdk-core - 3.44.3 + 3.44.4 test com.oracle.oci.sdk oci-java-sdk-identity - 3.44.3 + 3.44.4 test com.oracle.oci.sdk oci-java-sdk-keymanagement - 3.44.3 + 3.44.4 test diff --git a/bmc-addons/bmc-resteasy-client-configurator/pom.xml b/bmc-addons/bmc-resteasy-client-configurator/pom.xml index 6387f012f18..ccaa5051b17 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.44.3 + 3.44.4 ../pom.xml @@ -23,7 +23,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ 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 53c6c6fd60c..bbaf3dc2363 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.44.3 + 3.44.4 ../pom.xml 4.0.0 @@ -39,13 +39,13 @@ com.oracle.oci.sdk oci-java-sdk-addons-sasl - 3.44.3 + 3.44.4 compile com.oracle.oci.sdk oci-java-sdk-addons-oke-workload-identity - 3.44.3 + 3.44.4 compile diff --git a/bmc-addons/bmc-sasl/pom.xml b/bmc-addons/bmc-sasl/pom.xml index e13a6ed2d5f..4a51bf3b25f 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.44.3 + 3.44.4 ../pom.xml @@ -60,7 +60,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-addons/bmc-sse-support-jersey3/pom.xml b/bmc-addons/bmc-sse-support-jersey3/pom.xml index 15f02063b83..25b3381736e 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.44.3 + 3.44.4 ../pom.xml 4.0.0 @@ -150,12 +150,12 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 com.oracle.oci.sdk oci-java-sdk-generativeaiinference - 3.44.3 + 3.44.4 test @@ -164,7 +164,7 @@ but the code in it needs it. --> com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey3 - 3.44.3 + 3.44.4 diff --git a/bmc-addons/bmc-sse-support/pom.xml b/bmc-addons/bmc-sse-support/pom.xml index 67d73e644b9..e4c97450fb2 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.44.3 + 3.44.4 ../pom.xml 4.0.0 @@ -150,12 +150,12 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 com.oracle.oci.sdk oci-java-sdk-generativeaiinference - 3.44.3 + 3.44.4 test @@ -164,7 +164,7 @@ but the code in it needs it. --> com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.44.3 + 3.44.4 diff --git a/bmc-addons/pom.xml b/bmc-addons/pom.xml index 643a1a96f09..d40505c0d12 100644 --- a/bmc-addons/pom.xml +++ b/bmc-addons/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml diff --git a/bmc-adm/pom.xml b/bmc-adm/pom.xml index 1c8cd7f6f7c..06ffb118649 100644 --- a/bmc-adm/pom.xml +++ b/bmc-adm/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-adm @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-adm/src/main/resources/com/oracle/bmc/adm/client.properties b/bmc-adm/src/main/resources/com/oracle/bmc/adm/client.properties index 124c844de3c..056cb5a12e6 100644 --- a/bmc-adm/src/main/resources/com/oracle/bmc/adm/client.properties +++ b/bmc-adm/src/main/resources/com/oracle/bmc/adm/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220421") \ No newline at end of file diff --git a/bmc-aianomalydetection/pom.xml b/bmc-aianomalydetection/pom.xml index 8a950529c8e..7f3054e356a 100644 --- a/bmc-aianomalydetection/pom.xml +++ b/bmc-aianomalydetection/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-aianomalydetection @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-aianomalydetection/src/main/resources/com/oracle/bmc/aianomalydetection/client.properties b/bmc-aianomalydetection/src/main/resources/com/oracle/bmc/aianomalydetection/client.properties index 11669f58f3c..2c8821cc698 100644 --- a/bmc-aianomalydetection/src/main/resources/com/oracle/bmc/aianomalydetection/client.properties +++ b/bmc-aianomalydetection/src/main/resources/com/oracle/bmc/aianomalydetection/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20210101") \ No newline at end of file diff --git a/bmc-aidocument/pom.xml b/bmc-aidocument/pom.xml index 7a9ad5779a9..a44ad7f4fe0 100644 --- a/bmc-aidocument/pom.xml +++ b/bmc-aidocument/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-aidocument @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-aidocument/src/main/resources/com/oracle/bmc/aidocument/client.properties b/bmc-aidocument/src/main/resources/com/oracle/bmc/aidocument/client.properties index 8c92e45b364..bbb572384bf 100644 --- a/bmc-aidocument/src/main/resources/com/oracle/bmc/aidocument/client.properties +++ b/bmc-aidocument/src/main/resources/com/oracle/bmc/aidocument/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20221109") \ No newline at end of file diff --git a/bmc-ailanguage/pom.xml b/bmc-ailanguage/pom.xml index 8994528c14c..b354f67d022 100644 --- a/bmc-ailanguage/pom.xml +++ b/bmc-ailanguage/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-ailanguage @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-ailanguage/src/main/resources/com/oracle/bmc/ailanguage/client.properties b/bmc-ailanguage/src/main/resources/com/oracle/bmc/ailanguage/client.properties index cf8e6d30ad9..9a96d5949ac 100644 --- a/bmc-ailanguage/src/main/resources/com/oracle/bmc/ailanguage/client.properties +++ b/bmc-ailanguage/src/main/resources/com/oracle/bmc/ailanguage/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20221001") \ No newline at end of file diff --git a/bmc-aispeech/pom.xml b/bmc-aispeech/pom.xml index 539a6d46dff..3285012162e 100644 --- a/bmc-aispeech/pom.xml +++ b/bmc-aispeech/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-aispeech @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-aispeech/src/main/resources/com/oracle/bmc/aispeech/client.properties b/bmc-aispeech/src/main/resources/com/oracle/bmc/aispeech/client.properties index 8935575034e..26d4491c483 100644 --- a/bmc-aispeech/src/main/resources/com/oracle/bmc/aispeech/client.properties +++ b/bmc-aispeech/src/main/resources/com/oracle/bmc/aispeech/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220101") \ No newline at end of file diff --git a/bmc-aivision/pom.xml b/bmc-aivision/pom.xml index 2a2b033fc04..650e096c6c4 100644 --- a/bmc-aivision/pom.xml +++ b/bmc-aivision/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-aivision @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-aivision/src/main/resources/com/oracle/bmc/aivision/client.properties b/bmc-aivision/src/main/resources/com/oracle/bmc/aivision/client.properties index 5480363178a..6ce873956b4 100644 --- a/bmc-aivision/src/main/resources/com/oracle/bmc/aivision/client.properties +++ b/bmc-aivision/src/main/resources/com/oracle/bmc/aivision/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220125") \ No newline at end of file diff --git a/bmc-analytics/pom.xml b/bmc-analytics/pom.xml index c4872e7d37b..428b09fa950 100644 --- a/bmc-analytics/pom.xml +++ b/bmc-analytics/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-analytics @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-analytics/src/main/resources/com/oracle/bmc/analytics/client.properties b/bmc-analytics/src/main/resources/com/oracle/bmc/analytics/client.properties index 568e4ebfaab..9c9d9159ac4 100644 --- a/bmc-analytics/src/main/resources/com/oracle/bmc/analytics/client.properties +++ b/bmc-analytics/src/main/resources/com/oracle/bmc/analytics/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190331") \ No newline at end of file diff --git a/bmc-announcementsservice/pom.xml b/bmc-announcementsservice/pom.xml index 1e59a383147..ed90b2cdcf7 100644 --- a/bmc-announcementsservice/pom.xml +++ b/bmc-announcementsservice/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-announcementsservice @@ -16,7 +16,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-announcementsservice/src/main/resources/com/oracle/bmc/announcementsservice/client.properties b/bmc-announcementsservice/src/main/resources/com/oracle/bmc/announcementsservice/client.properties index bdfa106a5d8..4e06c00f155 100644 --- a/bmc-announcementsservice/src/main/resources/com/oracle/bmc/announcementsservice/client.properties +++ b/bmc-announcementsservice/src/main/resources/com/oracle/bmc/announcementsservice/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 0.0.1") \ No newline at end of file diff --git a/bmc-apigateway/pom.xml b/bmc-apigateway/pom.xml index 9718d759b60..dcd1cb4ebe2 100644 --- a/bmc-apigateway/pom.xml +++ b/bmc-apigateway/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-apigateway @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-apigateway/src/main/resources/com/oracle/bmc/apigateway/client.properties b/bmc-apigateway/src/main/resources/com/oracle/bmc/apigateway/client.properties index bbb7b5cfc0a..3f2bfc3a35d 100644 --- a/bmc-apigateway/src/main/resources/com/oracle/bmc/apigateway/client.properties +++ b/bmc-apigateway/src/main/resources/com/oracle/bmc/apigateway/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190501") \ No newline at end of file diff --git a/bmc-apmconfig/pom.xml b/bmc-apmconfig/pom.xml index e21fa2ae33f..0c5c54bd547 100644 --- a/bmc-apmconfig/pom.xml +++ b/bmc-apmconfig/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-apmconfig @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-apmconfig/src/main/resources/com/oracle/bmc/apmconfig/client.properties b/bmc-apmconfig/src/main/resources/com/oracle/bmc/apmconfig/client.properties index 301ca7879dc..13a482411a9 100644 --- a/bmc-apmconfig/src/main/resources/com/oracle/bmc/apmconfig/client.properties +++ b/bmc-apmconfig/src/main/resources/com/oracle/bmc/apmconfig/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20210201") \ No newline at end of file diff --git a/bmc-apmcontrolplane/pom.xml b/bmc-apmcontrolplane/pom.xml index bced69f74f9..0fc74c9beab 100644 --- a/bmc-apmcontrolplane/pom.xml +++ b/bmc-apmcontrolplane/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-apmcontrolplane @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-apmcontrolplane/src/main/resources/com/oracle/bmc/apmcontrolplane/client.properties b/bmc-apmcontrolplane/src/main/resources/com/oracle/bmc/apmcontrolplane/client.properties index d3ee13c46bc..255ec427a74 100644 --- a/bmc-apmcontrolplane/src/main/resources/com/oracle/bmc/apmcontrolplane/client.properties +++ b/bmc-apmcontrolplane/src/main/resources/com/oracle/bmc/apmcontrolplane/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200630") \ No newline at end of file diff --git a/bmc-apmsynthetics/pom.xml b/bmc-apmsynthetics/pom.xml index 2e3b24b0935..a1825b22fb6 100644 --- a/bmc-apmsynthetics/pom.xml +++ b/bmc-apmsynthetics/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-apmsynthetics @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/BasicAuthenticationDetails.java b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/BasicAuthenticationDetails.java new file mode 100644 index 00000000000..defa4568f5d --- /dev/null +++ b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/BasicAuthenticationDetails.java @@ -0,0 +1,158 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.apmsynthetics.model; + +/** + * Details for basic authentication.
+ * 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: 20200630") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = BasicAuthenticationDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class BasicAuthenticationDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"username", "password"}) + public BasicAuthenticationDetails(String username, Password password) { + super(); + this.username = username; + this.password = password; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** Username for authentication. */ + @com.fasterxml.jackson.annotation.JsonProperty("username") + private String username; + + /** + * Username for authentication. + * + * @param username the value to set + * @return this builder + */ + public Builder username(String username) { + this.username = username; + this.__explicitlySet__.add("username"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("password") + private Password password; + + public Builder password(Password password) { + this.password = password; + this.__explicitlySet__.add("password"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public BasicAuthenticationDetails build() { + BasicAuthenticationDetails model = + new BasicAuthenticationDetails(this.username, this.password); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(BasicAuthenticationDetails model) { + if (model.wasPropertyExplicitlySet("username")) { + this.username(model.getUsername()); + } + if (model.wasPropertyExplicitlySet("password")) { + this.password(model.getPassword()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** Username for authentication. */ + @com.fasterxml.jackson.annotation.JsonProperty("username") + private final String username; + + /** + * Username for authentication. + * + * @return the value + */ + public String getUsername() { + return username; + } + + @com.fasterxml.jackson.annotation.JsonProperty("password") + private final Password password; + + public Password getPassword() { + return password; + } + + @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("BasicAuthenticationDetails("); + sb.append("super=").append(super.toString()); + sb.append("username=").append(String.valueOf(this.username)); + sb.append(", password=").append(String.valueOf(this.password)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof BasicAuthenticationDetails)) { + return false; + } + + BasicAuthenticationDetails other = (BasicAuthenticationDetails) o; + return java.util.Objects.equals(this.username, other.username) + && java.util.Objects.equals(this.password, other.password) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.username == null ? 43 : this.username.hashCode()); + result = (result * PRIME) + (this.password == null ? 43 : this.password.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/CreateMonitorDetails.java b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/CreateMonitorDetails.java index 43e0d2a7600..92ac5bd9924 100644 --- a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/CreateMonitorDetails.java +++ b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/CreateMonitorDetails.java @@ -41,7 +41,8 @@ public final class CreateMonitorDetails "definedTags", "isRunNow", "schedulingPolicy", - "batchIntervalInSeconds" + "batchIntervalInSeconds", + "isIPv6" }) public CreateMonitorDetails( String displayName, @@ -61,7 +62,8 @@ public CreateMonitorDetails( java.util.Map> definedTags, Boolean isRunNow, SchedulingPolicy schedulingPolicy, - Integer batchIntervalInSeconds) { + Integer batchIntervalInSeconds, + Boolean isIPv6) { super(); this.displayName = displayName; this.monitorType = monitorType; @@ -81,6 +83,7 @@ public CreateMonitorDetails( this.isRunNow = isRunNow; this.schedulingPolicy = schedulingPolicy; this.batchIntervalInSeconds = batchIntervalInSeconds; + this.isIPv6 = isIPv6; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -238,23 +241,25 @@ public Builder timeoutInSeconds(Integer timeoutInSeconds) { return this; } /** - * Specify the endpoint on which to run the monitor. For BROWSER, REST and NETWORK monitor - * types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor type, - * then the monitor will run the selected script (specified by scriptId in monitor) against - * the specified target endpoint. If target is not specified in the SCRIPTED_BROWSER monitor - * type, then the monitor will run the selected script as it is. For NETWORK monitor with - * TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80 + * Specify the endpoint on which to run the monitor. For BROWSER, REST, NETWORK, DNS and FTP + * monitor types, target is mandatory. If target is specified in the SCRIPTED_BROWSER + * monitor type, then the monitor will run the selected script (specified by scriptId in + * monitor) against the specified target endpoint. If target is not specified in the + * SCRIPTED_BROWSER monitor type, then the monitor will run the selected script as it is. + * For NETWORK monitor with TCP protocol, a port needs to be provided along with target. + * Example: 192.168.0.1:80. */ @com.fasterxml.jackson.annotation.JsonProperty("target") private String target; /** - * Specify the endpoint on which to run the monitor. For BROWSER, REST and NETWORK monitor - * types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor type, - * then the monitor will run the selected script (specified by scriptId in monitor) against - * the specified target endpoint. If target is not specified in the SCRIPTED_BROWSER monitor - * type, then the monitor will run the selected script as it is. For NETWORK monitor with - * TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80 + * Specify the endpoint on which to run the monitor. For BROWSER, REST, NETWORK, DNS and FTP + * monitor types, target is mandatory. If target is specified in the SCRIPTED_BROWSER + * monitor type, then the monitor will run the selected script (specified by scriptId in + * monitor) against the specified target endpoint. If target is not specified in the + * SCRIPTED_BROWSER monitor type, then the monitor will run the selected script as it is. + * For NETWORK monitor with TCP protocol, a port needs to be provided along with target. + * Example: 192.168.0.1:80. * * @param target the value to set * @return this builder @@ -402,6 +407,21 @@ public Builder batchIntervalInSeconds(Integer batchIntervalInSeconds) { this.__explicitlySet__.add("batchIntervalInSeconds"); return this; } + /** If enabled, domain name will resolve to an IPv6 address. */ + @com.fasterxml.jackson.annotation.JsonProperty("isIPv6") + private Boolean isIPv6; + + /** + * If enabled, domain name will resolve to an IPv6 address. + * + * @param isIPv6 the value to set + * @return this builder + */ + public Builder isIPv6(Boolean isIPv6) { + this.isIPv6 = isIPv6; + this.__explicitlySet__.add("isIPv6"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -426,7 +446,8 @@ public CreateMonitorDetails build() { this.definedTags, this.isRunNow, this.schedulingPolicy, - this.batchIntervalInSeconds); + this.batchIntervalInSeconds, + this.isIPv6); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -489,6 +510,9 @@ public Builder copy(CreateMonitorDetails model) { if (model.wasPropertyExplicitlySet("batchIntervalInSeconds")) { this.batchIntervalInSeconds(model.getBatchIntervalInSeconds()); } + if (model.wasPropertyExplicitlySet("isIPv6")) { + this.isIPv6(model.getIsIPv6()); + } return this; } } @@ -635,23 +659,23 @@ public Integer getTimeoutInSeconds() { } /** - * Specify the endpoint on which to run the monitor. For BROWSER, REST and NETWORK monitor - * types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor type, then - * the monitor will run the selected script (specified by scriptId in monitor) against the - * specified target endpoint. If target is not specified in the SCRIPTED_BROWSER monitor type, - * then the monitor will run the selected script as it is. For NETWORK monitor with TCP - * protocol, a port needs to be provided along with target. Example: 192.168.0.1:80 + * Specify the endpoint on which to run the monitor. For BROWSER, REST, NETWORK, DNS and FTP + * monitor types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor + * type, then the monitor will run the selected script (specified by scriptId in monitor) + * against the specified target endpoint. If target is not specified in the SCRIPTED_BROWSER + * monitor type, then the monitor will run the selected script as it is. For NETWORK monitor + * with TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80. */ @com.fasterxml.jackson.annotation.JsonProperty("target") private final String target; /** - * Specify the endpoint on which to run the monitor. For BROWSER, REST and NETWORK monitor - * types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor type, then - * the monitor will run the selected script (specified by scriptId in monitor) against the - * specified target endpoint. If target is not specified in the SCRIPTED_BROWSER monitor type, - * then the monitor will run the selected script as it is. For NETWORK monitor with TCP - * protocol, a port needs to be provided along with target. Example: 192.168.0.1:80 + * Specify the endpoint on which to run the monitor. For BROWSER, REST, NETWORK, DNS and FTP + * monitor types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor + * type, then the monitor will run the selected script (specified by scriptId in monitor) + * against the specified target endpoint. If target is not specified in the SCRIPTED_BROWSER + * monitor type, then the monitor will run the selected script as it is. For NETWORK monitor + * with TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80. * * @return the value */ @@ -776,6 +800,19 @@ public Integer getBatchIntervalInSeconds() { return batchIntervalInSeconds; } + /** If enabled, domain name will resolve to an IPv6 address. */ + @com.fasterxml.jackson.annotation.JsonProperty("isIPv6") + private final Boolean isIPv6; + + /** + * If enabled, domain name will resolve to an IPv6 address. + * + * @return the value + */ + public Boolean getIsIPv6() { + return isIPv6; + } + @Override public String toString() { return this.toString(true); @@ -812,6 +849,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", isRunNow=").append(String.valueOf(this.isRunNow)); sb.append(", schedulingPolicy=").append(String.valueOf(this.schedulingPolicy)); sb.append(", batchIntervalInSeconds=").append(String.valueOf(this.batchIntervalInSeconds)); + sb.append(", isIPv6=").append(String.valueOf(this.isIPv6)); sb.append(")"); return sb.toString(); } @@ -848,6 +886,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.schedulingPolicy, other.schedulingPolicy) && java.util.Objects.equals( this.batchIntervalInSeconds, other.batchIntervalInSeconds) + && java.util.Objects.equals(this.isIPv6, other.isIPv6) && super.equals(other); } @@ -899,6 +938,7 @@ public int hashCode() { + (this.batchIntervalInSeconds == null ? 43 : this.batchIntervalInSeconds.hashCode()); + result = (result * PRIME) + (this.isIPv6 == null ? 43 : this.isIPv6.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/DatabaseConnectionType.java b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/DatabaseConnectionType.java new file mode 100644 index 00000000000..03792ada8bd --- /dev/null +++ b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/DatabaseConnectionType.java @@ -0,0 +1,53 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.apmsynthetics.model; + +/** Type of database connection. */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200630") +public enum DatabaseConnectionType implements com.oracle.bmc.http.internal.BmcEnum { + CloudWallet("CLOUD_WALLET"), + CustomJdbc("CUSTOM_JDBC"), + + /** + * 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(DatabaseConnectionType.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (DatabaseConnectionType v : DatabaseConnectionType.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + DatabaseConnectionType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static DatabaseConnectionType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'DatabaseConnectionType', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } +} diff --git a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/DatabaseType.java b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/DatabaseType.java new file mode 100644 index 00000000000..6cba3488afd --- /dev/null +++ b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/DatabaseType.java @@ -0,0 +1,53 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.apmsynthetics.model; + +/** Type of database. */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200630") +public enum DatabaseType implements com.oracle.bmc.http.internal.BmcEnum { + Oracle("ORACLE"), + Mysql("MYSQL"), + + /** + * 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(DatabaseType.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (DatabaseType v : DatabaseType.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + DatabaseType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static DatabaseType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'DatabaseType', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } +} diff --git a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/DatabaseWalletDetails.java b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/DatabaseWalletDetails.java new file mode 100644 index 00000000000..be22d9d452c --- /dev/null +++ b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/DatabaseWalletDetails.java @@ -0,0 +1,172 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.apmsynthetics.model; + +/** + * Details for database wallet.
+ * 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: 20200630") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = DatabaseWalletDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class DatabaseWalletDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"databaseWallet", "serviceName"}) + public DatabaseWalletDetails(String databaseWallet, String serviceName) { + super(); + this.databaseWallet = databaseWallet; + this.serviceName = serviceName; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The database wallet configuration zip file. */ + @com.fasterxml.jackson.annotation.JsonProperty("databaseWallet") + private String databaseWallet; + + /** + * The database wallet configuration zip file. + * + * @param databaseWallet the value to set + * @return this builder + */ + public Builder databaseWallet(String databaseWallet) { + this.databaseWallet = databaseWallet; + this.__explicitlySet__.add("databaseWallet"); + return this; + } + /** Service name of the database. */ + @com.fasterxml.jackson.annotation.JsonProperty("serviceName") + private String serviceName; + + /** + * Service name of the database. + * + * @param serviceName the value to set + * @return this builder + */ + public Builder serviceName(String serviceName) { + this.serviceName = serviceName; + this.__explicitlySet__.add("serviceName"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public DatabaseWalletDetails build() { + DatabaseWalletDetails model = + new DatabaseWalletDetails(this.databaseWallet, this.serviceName); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(DatabaseWalletDetails model) { + if (model.wasPropertyExplicitlySet("databaseWallet")) { + this.databaseWallet(model.getDatabaseWallet()); + } + if (model.wasPropertyExplicitlySet("serviceName")) { + this.serviceName(model.getServiceName()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** The database wallet configuration zip file. */ + @com.fasterxml.jackson.annotation.JsonProperty("databaseWallet") + private final String databaseWallet; + + /** + * The database wallet configuration zip file. + * + * @return the value + */ + public String getDatabaseWallet() { + return databaseWallet; + } + + /** Service name of the database. */ + @com.fasterxml.jackson.annotation.JsonProperty("serviceName") + private final String serviceName; + + /** + * Service name of the database. + * + * @return the value + */ + public String getServiceName() { + return serviceName; + } + + @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("DatabaseWalletDetails("); + sb.append("super=").append(super.toString()); + sb.append("databaseWallet=").append(String.valueOf(this.databaseWallet)); + sb.append(", serviceName=").append(String.valueOf(this.serviceName)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof DatabaseWalletDetails)) { + return false; + } + + DatabaseWalletDetails other = (DatabaseWalletDetails) o; + return java.util.Objects.equals(this.databaseWallet, other.databaseWallet) + && java.util.Objects.equals(this.serviceName, other.serviceName) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.databaseWallet == null ? 43 : this.databaseWallet.hashCode()); + result = (result * PRIME) + (this.serviceName == null ? 43 : this.serviceName.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/FtpMonitorConfiguration.java b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/FtpMonitorConfiguration.java new file mode 100644 index 00000000000..6639bc62146 --- /dev/null +++ b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/FtpMonitorConfiguration.java @@ -0,0 +1,486 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.apmsynthetics.model; + +/** + * Request configuration details for the FTP monitor type.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * 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: 20200630") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = FtpMonitorConfiguration.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "configType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class FtpMonitorConfiguration extends MonitorConfiguration { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + @com.fasterxml.jackson.annotation.JsonProperty("isFailureRetried") + private Boolean isFailureRetried; + + public Builder isFailureRetried(Boolean isFailureRetried) { + this.isFailureRetried = isFailureRetried; + this.__explicitlySet__.add("isFailureRetried"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("dnsConfiguration") + private DnsConfiguration dnsConfiguration; + + public Builder dnsConfiguration(DnsConfiguration dnsConfiguration) { + this.dnsConfiguration = dnsConfiguration; + this.__explicitlySet__.add("dnsConfiguration"); + return this; + } + /** FTP protocol type. */ + @com.fasterxml.jackson.annotation.JsonProperty("ftpProtocol") + private FtpProtocol ftpProtocol; + + /** + * FTP protocol type. + * + * @param ftpProtocol the value to set + * @return this builder + */ + public Builder ftpProtocol(FtpProtocol ftpProtocol) { + this.ftpProtocol = ftpProtocol; + this.__explicitlySet__.add("ftpProtocol"); + return this; + } + /** FTP monitor request type. */ + @com.fasterxml.jackson.annotation.JsonProperty("ftpRequestType") + private FtpRequestType ftpRequestType; + + /** + * FTP monitor request type. + * + * @param ftpRequestType the value to set + * @return this builder + */ + public Builder ftpRequestType(FtpRequestType ftpRequestType) { + this.ftpRequestType = ftpRequestType; + this.__explicitlySet__.add("ftpRequestType"); + return this; + } + /** If enabled, Active mode will be used for the FTP connection. */ + @com.fasterxml.jackson.annotation.JsonProperty("isActiveMode") + private Boolean isActiveMode; + + /** + * If enabled, Active mode will be used for the FTP connection. + * + * @param isActiveMode the value to set + * @return this builder + */ + public Builder isActiveMode(Boolean isActiveMode) { + this.isActiveMode = isActiveMode; + this.__explicitlySet__.add("isActiveMode"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("ftpBasicAuthenticationDetails") + private BasicAuthenticationDetails ftpBasicAuthenticationDetails; + + public Builder ftpBasicAuthenticationDetails( + BasicAuthenticationDetails ftpBasicAuthenticationDetails) { + this.ftpBasicAuthenticationDetails = ftpBasicAuthenticationDetails; + this.__explicitlySet__.add("ftpBasicAuthenticationDetails"); + return this; + } + /** + * Download size limit in Bytes, at which to stop the transfer. Maximum download size limit + * is 5 MiB. + */ + @com.fasterxml.jackson.annotation.JsonProperty("downloadSizeLimitInBytes") + private Integer downloadSizeLimitInBytes; + + /** + * Download size limit in Bytes, at which to stop the transfer. Maximum download size limit + * is 5 MiB. + * + * @param downloadSizeLimitInBytes the value to set + * @return this builder + */ + public Builder downloadSizeLimitInBytes(Integer downloadSizeLimitInBytes) { + this.downloadSizeLimitInBytes = downloadSizeLimitInBytes; + this.__explicitlySet__.add("downloadSizeLimitInBytes"); + return this; + } + /** + * File upload size in Bytes, at which to stop the transfer. Maximum upload size is 5 MiB. + */ + @com.fasterxml.jackson.annotation.JsonProperty("uploadFileSizeInBytes") + private Integer uploadFileSizeInBytes; + + /** + * File upload size in Bytes, at which to stop the transfer. Maximum upload size is 5 MiB. + * + * @param uploadFileSizeInBytes the value to set + * @return this builder + */ + public Builder uploadFileSizeInBytes(Integer uploadFileSizeInBytes) { + this.uploadFileSizeInBytes = uploadFileSizeInBytes; + this.__explicitlySet__.add("uploadFileSizeInBytes"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("networkConfiguration") + private NetworkConfiguration networkConfiguration; + + public Builder networkConfiguration(NetworkConfiguration networkConfiguration) { + this.networkConfiguration = networkConfiguration; + this.__explicitlySet__.add("networkConfiguration"); + return this; + } + /** Expected FTP response codes. For status code range, set values such as 2xx, 3xx. */ + @com.fasterxml.jackson.annotation.JsonProperty("verifyResponseCodes") + private java.util.List verifyResponseCodes; + + /** + * Expected FTP response codes. For status code range, set values such as 2xx, 3xx. + * + * @param verifyResponseCodes the value to set + * @return this builder + */ + public Builder verifyResponseCodes(java.util.List verifyResponseCodes) { + this.verifyResponseCodes = verifyResponseCodes; + this.__explicitlySet__.add("verifyResponseCodes"); + return this; + } + /** + * Verify response content against regular expression based string. If response content does + * not match the verifyResponseContent value, then it will be considered a failure. + */ + @com.fasterxml.jackson.annotation.JsonProperty("verifyResponseContent") + private String verifyResponseContent; + + /** + * Verify response content against regular expression based string. If response content does + * not match the verifyResponseContent value, then it will be considered a failure. + * + * @param verifyResponseContent the value to set + * @return this builder + */ + public Builder verifyResponseContent(String verifyResponseContent) { + this.verifyResponseContent = verifyResponseContent; + this.__explicitlySet__.add("verifyResponseContent"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public FtpMonitorConfiguration build() { + FtpMonitorConfiguration model = + new FtpMonitorConfiguration( + this.isFailureRetried, + this.dnsConfiguration, + this.ftpProtocol, + this.ftpRequestType, + this.isActiveMode, + this.ftpBasicAuthenticationDetails, + this.downloadSizeLimitInBytes, + this.uploadFileSizeInBytes, + this.networkConfiguration, + this.verifyResponseCodes, + this.verifyResponseContent); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(FtpMonitorConfiguration model) { + if (model.wasPropertyExplicitlySet("isFailureRetried")) { + this.isFailureRetried(model.getIsFailureRetried()); + } + if (model.wasPropertyExplicitlySet("dnsConfiguration")) { + this.dnsConfiguration(model.getDnsConfiguration()); + } + if (model.wasPropertyExplicitlySet("ftpProtocol")) { + this.ftpProtocol(model.getFtpProtocol()); + } + if (model.wasPropertyExplicitlySet("ftpRequestType")) { + this.ftpRequestType(model.getFtpRequestType()); + } + if (model.wasPropertyExplicitlySet("isActiveMode")) { + this.isActiveMode(model.getIsActiveMode()); + } + if (model.wasPropertyExplicitlySet("ftpBasicAuthenticationDetails")) { + this.ftpBasicAuthenticationDetails(model.getFtpBasicAuthenticationDetails()); + } + if (model.wasPropertyExplicitlySet("downloadSizeLimitInBytes")) { + this.downloadSizeLimitInBytes(model.getDownloadSizeLimitInBytes()); + } + if (model.wasPropertyExplicitlySet("uploadFileSizeInBytes")) { + this.uploadFileSizeInBytes(model.getUploadFileSizeInBytes()); + } + if (model.wasPropertyExplicitlySet("networkConfiguration")) { + this.networkConfiguration(model.getNetworkConfiguration()); + } + if (model.wasPropertyExplicitlySet("verifyResponseCodes")) { + this.verifyResponseCodes(model.getVerifyResponseCodes()); + } + if (model.wasPropertyExplicitlySet("verifyResponseContent")) { + this.verifyResponseContent(model.getVerifyResponseContent()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public FtpMonitorConfiguration( + Boolean isFailureRetried, + DnsConfiguration dnsConfiguration, + FtpProtocol ftpProtocol, + FtpRequestType ftpRequestType, + Boolean isActiveMode, + BasicAuthenticationDetails ftpBasicAuthenticationDetails, + Integer downloadSizeLimitInBytes, + Integer uploadFileSizeInBytes, + NetworkConfiguration networkConfiguration, + java.util.List verifyResponseCodes, + String verifyResponseContent) { + super(isFailureRetried, dnsConfiguration); + this.ftpProtocol = ftpProtocol; + this.ftpRequestType = ftpRequestType; + this.isActiveMode = isActiveMode; + this.ftpBasicAuthenticationDetails = ftpBasicAuthenticationDetails; + this.downloadSizeLimitInBytes = downloadSizeLimitInBytes; + this.uploadFileSizeInBytes = uploadFileSizeInBytes; + this.networkConfiguration = networkConfiguration; + this.verifyResponseCodes = verifyResponseCodes; + this.verifyResponseContent = verifyResponseContent; + } + + /** FTP protocol type. */ + @com.fasterxml.jackson.annotation.JsonProperty("ftpProtocol") + private final FtpProtocol ftpProtocol; + + /** + * FTP protocol type. + * + * @return the value + */ + public FtpProtocol getFtpProtocol() { + return ftpProtocol; + } + + /** FTP monitor request type. */ + @com.fasterxml.jackson.annotation.JsonProperty("ftpRequestType") + private final FtpRequestType ftpRequestType; + + /** + * FTP monitor request type. + * + * @return the value + */ + public FtpRequestType getFtpRequestType() { + return ftpRequestType; + } + + /** If enabled, Active mode will be used for the FTP connection. */ + @com.fasterxml.jackson.annotation.JsonProperty("isActiveMode") + private final Boolean isActiveMode; + + /** + * If enabled, Active mode will be used for the FTP connection. + * + * @return the value + */ + public Boolean getIsActiveMode() { + return isActiveMode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("ftpBasicAuthenticationDetails") + private final BasicAuthenticationDetails ftpBasicAuthenticationDetails; + + public BasicAuthenticationDetails getFtpBasicAuthenticationDetails() { + return ftpBasicAuthenticationDetails; + } + + /** + * Download size limit in Bytes, at which to stop the transfer. Maximum download size limit is 5 + * MiB. + */ + @com.fasterxml.jackson.annotation.JsonProperty("downloadSizeLimitInBytes") + private final Integer downloadSizeLimitInBytes; + + /** + * Download size limit in Bytes, at which to stop the transfer. Maximum download size limit is 5 + * MiB. + * + * @return the value + */ + public Integer getDownloadSizeLimitInBytes() { + return downloadSizeLimitInBytes; + } + + /** File upload size in Bytes, at which to stop the transfer. Maximum upload size is 5 MiB. */ + @com.fasterxml.jackson.annotation.JsonProperty("uploadFileSizeInBytes") + private final Integer uploadFileSizeInBytes; + + /** + * File upload size in Bytes, at which to stop the transfer. Maximum upload size is 5 MiB. + * + * @return the value + */ + public Integer getUploadFileSizeInBytes() { + return uploadFileSizeInBytes; + } + + @com.fasterxml.jackson.annotation.JsonProperty("networkConfiguration") + private final NetworkConfiguration networkConfiguration; + + public NetworkConfiguration getNetworkConfiguration() { + return networkConfiguration; + } + + /** Expected FTP response codes. For status code range, set values such as 2xx, 3xx. */ + @com.fasterxml.jackson.annotation.JsonProperty("verifyResponseCodes") + private final java.util.List verifyResponseCodes; + + /** + * Expected FTP response codes. For status code range, set values such as 2xx, 3xx. + * + * @return the value + */ + public java.util.List getVerifyResponseCodes() { + return verifyResponseCodes; + } + + /** + * Verify response content against regular expression based string. If response content does not + * match the verifyResponseContent value, then it will be considered a failure. + */ + @com.fasterxml.jackson.annotation.JsonProperty("verifyResponseContent") + private final String verifyResponseContent; + + /** + * Verify response content against regular expression based string. If response content does not + * match the verifyResponseContent value, then it will be considered a failure. + * + * @return the value + */ + public String getVerifyResponseContent() { + return verifyResponseContent; + } + + @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("FtpMonitorConfiguration("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", ftpProtocol=").append(String.valueOf(this.ftpProtocol)); + sb.append(", ftpRequestType=").append(String.valueOf(this.ftpRequestType)); + sb.append(", isActiveMode=").append(String.valueOf(this.isActiveMode)); + sb.append(", ftpBasicAuthenticationDetails=") + .append(String.valueOf(this.ftpBasicAuthenticationDetails)); + sb.append(", downloadSizeLimitInBytes=") + .append(String.valueOf(this.downloadSizeLimitInBytes)); + sb.append(", uploadFileSizeInBytes=").append(String.valueOf(this.uploadFileSizeInBytes)); + sb.append(", networkConfiguration=").append(String.valueOf(this.networkConfiguration)); + sb.append(", verifyResponseCodes=").append(String.valueOf(this.verifyResponseCodes)); + sb.append(", verifyResponseContent=").append(String.valueOf(this.verifyResponseContent)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof FtpMonitorConfiguration)) { + return false; + } + + FtpMonitorConfiguration other = (FtpMonitorConfiguration) o; + return java.util.Objects.equals(this.ftpProtocol, other.ftpProtocol) + && java.util.Objects.equals(this.ftpRequestType, other.ftpRequestType) + && java.util.Objects.equals(this.isActiveMode, other.isActiveMode) + && java.util.Objects.equals( + this.ftpBasicAuthenticationDetails, other.ftpBasicAuthenticationDetails) + && java.util.Objects.equals( + this.downloadSizeLimitInBytes, other.downloadSizeLimitInBytes) + && java.util.Objects.equals(this.uploadFileSizeInBytes, other.uploadFileSizeInBytes) + && java.util.Objects.equals(this.networkConfiguration, other.networkConfiguration) + && java.util.Objects.equals(this.verifyResponseCodes, other.verifyResponseCodes) + && java.util.Objects.equals(this.verifyResponseContent, other.verifyResponseContent) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.ftpProtocol == null ? 43 : this.ftpProtocol.hashCode()); + result = + (result * PRIME) + + (this.ftpRequestType == null ? 43 : this.ftpRequestType.hashCode()); + result = (result * PRIME) + (this.isActiveMode == null ? 43 : this.isActiveMode.hashCode()); + result = + (result * PRIME) + + (this.ftpBasicAuthenticationDetails == null + ? 43 + : this.ftpBasicAuthenticationDetails.hashCode()); + result = + (result * PRIME) + + (this.downloadSizeLimitInBytes == null + ? 43 + : this.downloadSizeLimitInBytes.hashCode()); + result = + (result * PRIME) + + (this.uploadFileSizeInBytes == null + ? 43 + : this.uploadFileSizeInBytes.hashCode()); + result = + (result * PRIME) + + (this.networkConfiguration == null + ? 43 + : this.networkConfiguration.hashCode()); + result = + (result * PRIME) + + (this.verifyResponseCodes == null + ? 43 + : this.verifyResponseCodes.hashCode()); + result = + (result * PRIME) + + (this.verifyResponseContent == null + ? 43 + : this.verifyResponseContent.hashCode()); + return result; + } +} diff --git a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/FtpProtocol.java b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/FtpProtocol.java new file mode 100644 index 00000000000..22ee69f62c9 --- /dev/null +++ b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/FtpProtocol.java @@ -0,0 +1,54 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.apmsynthetics.model; + +/** Type of FTP protocol. */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200630") +public enum FtpProtocol implements com.oracle.bmc.http.internal.BmcEnum { + Ftp("FTP"), + Ftps("FTPS"), + Sftp("SFTP"), + + /** + * 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(FtpProtocol.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (FtpProtocol v : FtpProtocol.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + FtpProtocol(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static FtpProtocol create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'FtpProtocol', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } +} diff --git a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/FtpRequestType.java b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/FtpRequestType.java new file mode 100644 index 00000000000..21ec3ecdcd0 --- /dev/null +++ b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/FtpRequestType.java @@ -0,0 +1,54 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.apmsynthetics.model; + +/** Type of request for FTP monitor. */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200630") +public enum FtpRequestType implements com.oracle.bmc.http.internal.BmcEnum { + List("LIST"), + Upload("UPLOAD"), + Download("DOWNLOAD"), + + /** + * 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(FtpRequestType.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (FtpRequestType v : FtpRequestType.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + FtpRequestType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static FtpRequestType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'FtpRequestType', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } +} diff --git a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/Monitor.java b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/Monitor.java index 444a68c3d07..768a65648d8 100644 --- a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/Monitor.java +++ b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/Monitor.java @@ -44,7 +44,10 @@ public final class Monitor extends com.oracle.bmc.http.client.internal.Explicitl "definedTags", "isRunNow", "schedulingPolicy", - "batchIntervalInSeconds" + "batchIntervalInSeconds", + "isIPv6", + "createdBy", + "lastUpdatedBy" }) public Monitor( String id, @@ -69,7 +72,10 @@ public Monitor( java.util.Map> definedTags, Boolean isRunNow, SchedulingPolicy schedulingPolicy, - Integer batchIntervalInSeconds) { + Integer batchIntervalInSeconds, + Boolean isIPv6, + String createdBy, + String lastUpdatedBy) { super(); this.id = id; this.displayName = displayName; @@ -94,6 +100,9 @@ public Monitor( this.isRunNow = isRunNow; this.schedulingPolicy = schedulingPolicy; this.batchIntervalInSeconds = batchIntervalInSeconds; + this.isIPv6 = isIPv6; + this.createdBy = createdBy; + this.lastUpdatedBy = lastUpdatedBy; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -149,12 +158,12 @@ public Builder monitorType(MonitorTypes monitorType) { this.__explicitlySet__.add("monitorType"); return this; } - /** List of public and dedicated vantage points where the monitor is running. */ + /** List of public, dedicated and onPremise vantage points where the monitor is running. */ @com.fasterxml.jackson.annotation.JsonProperty("vantagePoints") private java.util.List vantagePoints; /** - * List of public and dedicated vantage points where the monitor is running. + * List of public, dedicated and onPremise vantage points where the monitor is running. * * @param vantagePoints the value to set * @return this builder @@ -294,23 +303,25 @@ public Builder timeoutInSeconds(Integer timeoutInSeconds) { return this; } /** - * Specify the endpoint on which to run the monitor. For BROWSER, REST and NETWORK monitor - * types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor type, - * then the monitor will run the selected script (specified by scriptId in monitor) against - * the specified target endpoint. If target is not specified in the SCRIPTED_BROWSER monitor - * type, then the monitor will run the selected script as it is. For NETWORK monitor with - * TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80 + * Specify the endpoint on which to run the monitor. For BROWSER, REST, NETWORK, DNS and FTP + * monitor types, target is mandatory. If target is specified in the SCRIPTED_BROWSER + * monitor type, then the monitor will run the selected script (specified by scriptId in + * monitor) against the specified target endpoint. If target is not specified in the + * SCRIPTED_BROWSER monitor type, then the monitor will run the selected script as it is. + * For NETWORK monitor with TCP protocol, a port needs to be provided along with target. + * Example: 192.168.0.1:80. */ @com.fasterxml.jackson.annotation.JsonProperty("target") private String target; /** - * Specify the endpoint on which to run the monitor. For BROWSER, REST and NETWORK monitor - * types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor type, - * then the monitor will run the selected script (specified by scriptId in monitor) against - * the specified target endpoint. If target is not specified in the SCRIPTED_BROWSER monitor - * type, then the monitor will run the selected script as it is. For NETWORK monitor with - * TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80 + * Specify the endpoint on which to run the monitor. For BROWSER, REST, NETWORK, DNS and FTP + * monitor types, target is mandatory. If target is specified in the SCRIPTED_BROWSER + * monitor type, then the monitor will run the selected script (specified by scriptId in + * monitor) against the specified target endpoint. If target is not specified in the + * SCRIPTED_BROWSER monitor type, then the monitor will run the selected script as it is. + * For NETWORK monitor with TCP protocol, a port needs to be provided along with target. + * Example: 192.168.0.1:80. * * @param target the value to set * @return this builder @@ -499,6 +510,51 @@ public Builder batchIntervalInSeconds(Integer batchIntervalInSeconds) { this.__explicitlySet__.add("batchIntervalInSeconds"); return this; } + /** If enabled, domain name will resolve to an IPv6 address. */ + @com.fasterxml.jackson.annotation.JsonProperty("isIPv6") + private Boolean isIPv6; + + /** + * If enabled, domain name will resolve to an IPv6 address. + * + * @param isIPv6 the value to set + * @return this builder + */ + public Builder isIPv6(Boolean isIPv6) { + this.isIPv6 = isIPv6; + this.__explicitlySet__.add("isIPv6"); + return this; + } + /** Name of the user that created the monitor. */ + @com.fasterxml.jackson.annotation.JsonProperty("createdBy") + private String createdBy; + + /** + * Name of the user that created the monitor. + * + * @param createdBy the value to set + * @return this builder + */ + public Builder createdBy(String createdBy) { + this.createdBy = createdBy; + this.__explicitlySet__.add("createdBy"); + return this; + } + /** Name of the user that recently updated the monitor. */ + @com.fasterxml.jackson.annotation.JsonProperty("lastUpdatedBy") + private String lastUpdatedBy; + + /** + * Name of the user that recently updated the monitor. + * + * @param lastUpdatedBy the value to set + * @return this builder + */ + public Builder lastUpdatedBy(String lastUpdatedBy) { + this.lastUpdatedBy = lastUpdatedBy; + this.__explicitlySet__.add("lastUpdatedBy"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -528,7 +584,10 @@ public Monitor build() { this.definedTags, this.isRunNow, this.schedulingPolicy, - this.batchIntervalInSeconds); + this.batchIntervalInSeconds, + this.isIPv6, + this.createdBy, + this.lastUpdatedBy); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -606,6 +665,15 @@ public Builder copy(Monitor model) { if (model.wasPropertyExplicitlySet("batchIntervalInSeconds")) { this.batchIntervalInSeconds(model.getBatchIntervalInSeconds()); } + if (model.wasPropertyExplicitlySet("isIPv6")) { + this.isIPv6(model.getIsIPv6()); + } + if (model.wasPropertyExplicitlySet("createdBy")) { + this.createdBy(model.getCreatedBy()); + } + if (model.wasPropertyExplicitlySet("lastUpdatedBy")) { + this.lastUpdatedBy(model.getLastUpdatedBy()); + } return this; } } @@ -662,12 +730,12 @@ public MonitorTypes getMonitorType() { return monitorType; } - /** List of public and dedicated vantage points where the monitor is running. */ + /** List of public, dedicated and onPremise vantage points where the monitor is running. */ @com.fasterxml.jackson.annotation.JsonProperty("vantagePoints") private final java.util.List vantagePoints; /** - * List of public and dedicated vantage points where the monitor is running. + * List of public, dedicated and onPremise vantage points where the monitor is running. * * @return the value */ @@ -789,23 +857,23 @@ public Integer getTimeoutInSeconds() { } /** - * Specify the endpoint on which to run the monitor. For BROWSER, REST and NETWORK monitor - * types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor type, then - * the monitor will run the selected script (specified by scriptId in monitor) against the - * specified target endpoint. If target is not specified in the SCRIPTED_BROWSER monitor type, - * then the monitor will run the selected script as it is. For NETWORK monitor with TCP - * protocol, a port needs to be provided along with target. Example: 192.168.0.1:80 + * Specify the endpoint on which to run the monitor. For BROWSER, REST, NETWORK, DNS and FTP + * monitor types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor + * type, then the monitor will run the selected script (specified by scriptId in monitor) + * against the specified target endpoint. If target is not specified in the SCRIPTED_BROWSER + * monitor type, then the monitor will run the selected script as it is. For NETWORK monitor + * with TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80. */ @com.fasterxml.jackson.annotation.JsonProperty("target") private final String target; /** - * Specify the endpoint on which to run the monitor. For BROWSER, REST and NETWORK monitor - * types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor type, then - * the monitor will run the selected script (specified by scriptId in monitor) against the - * specified target endpoint. If target is not specified in the SCRIPTED_BROWSER monitor type, - * then the monitor will run the selected script as it is. For NETWORK monitor with TCP - * protocol, a port needs to be provided along with target. Example: 192.168.0.1:80 + * Specify the endpoint on which to run the monitor. For BROWSER, REST, NETWORK, DNS and FTP + * monitor types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor + * type, then the monitor will run the selected script (specified by scriptId in monitor) + * against the specified target endpoint. If target is not specified in the SCRIPTED_BROWSER + * monitor type, then the monitor will run the selected script as it is. For NETWORK monitor + * with TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80. * * @return the value */ @@ -966,6 +1034,45 @@ public Integer getBatchIntervalInSeconds() { return batchIntervalInSeconds; } + /** If enabled, domain name will resolve to an IPv6 address. */ + @com.fasterxml.jackson.annotation.JsonProperty("isIPv6") + private final Boolean isIPv6; + + /** + * If enabled, domain name will resolve to an IPv6 address. + * + * @return the value + */ + public Boolean getIsIPv6() { + return isIPv6; + } + + /** Name of the user that created the monitor. */ + @com.fasterxml.jackson.annotation.JsonProperty("createdBy") + private final String createdBy; + + /** + * Name of the user that created the monitor. + * + * @return the value + */ + public String getCreatedBy() { + return createdBy; + } + + /** Name of the user that recently updated the monitor. */ + @com.fasterxml.jackson.annotation.JsonProperty("lastUpdatedBy") + private final String lastUpdatedBy; + + /** + * Name of the user that recently updated the monitor. + * + * @return the value + */ + public String getLastUpdatedBy() { + return lastUpdatedBy; + } + @Override public String toString() { return this.toString(true); @@ -1007,6 +1114,9 @@ public String toString(boolean includeByteArrayContents) { sb.append(", isRunNow=").append(String.valueOf(this.isRunNow)); sb.append(", schedulingPolicy=").append(String.valueOf(this.schedulingPolicy)); sb.append(", batchIntervalInSeconds=").append(String.valueOf(this.batchIntervalInSeconds)); + sb.append(", isIPv6=").append(String.valueOf(this.isIPv6)); + sb.append(", createdBy=").append(String.valueOf(this.createdBy)); + sb.append(", lastUpdatedBy=").append(String.valueOf(this.lastUpdatedBy)); sb.append(")"); return sb.toString(); } @@ -1048,6 +1158,9 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.schedulingPolicy, other.schedulingPolicy) && java.util.Objects.equals( this.batchIntervalInSeconds, other.batchIntervalInSeconds) + && java.util.Objects.equals(this.isIPv6, other.isIPv6) + && java.util.Objects.equals(this.createdBy, other.createdBy) + && java.util.Objects.equals(this.lastUpdatedBy, other.lastUpdatedBy) && super.equals(other); } @@ -1106,6 +1219,11 @@ public int hashCode() { + (this.batchIntervalInSeconds == null ? 43 : this.batchIntervalInSeconds.hashCode()); + result = (result * PRIME) + (this.isIPv6 == null ? 43 : this.isIPv6.hashCode()); + result = (result * PRIME) + (this.createdBy == null ? 43 : this.createdBy.hashCode()); + result = + (result * PRIME) + + (this.lastUpdatedBy == null ? 43 : this.lastUpdatedBy.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/MonitorConfiguration.java b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/MonitorConfiguration.java index 534f5627f0e..4abcfac17d7 100644 --- a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/MonitorConfiguration.java +++ b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/MonitorConfiguration.java @@ -22,12 +22,18 @@ property = "configType", defaultImpl = MonitorConfiguration.class) @com.fasterxml.jackson.annotation.JsonSubTypes({ + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = FtpMonitorConfiguration.class, + name = "FTP_CONFIG"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = DnsSecMonitorConfiguration.class, name = "DNSSEC_CONFIG"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = DnsTraceMonitorConfiguration.class, name = "DNS_TRACE_CONFIG"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = SqlMonitorConfiguration.class, + name = "SQL_CONFIG"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = ScriptedRestMonitorConfiguration.class, name = "SCRIPTED_REST_CONFIG"), @@ -139,6 +145,8 @@ public enum ConfigType implements com.oracle.bmc.http.internal.BmcEnum { DnsServerConfig("DNS_SERVER_CONFIG"), DnsTraceConfig("DNS_TRACE_CONFIG"), DnssecConfig("DNSSEC_CONFIG"), + FtpConfig("FTP_CONFIG"), + SqlConfig("SQL_CONFIG"), /** * This value is used if a service returns a value for this enum that is not recognized by diff --git a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/MonitorSummary.java b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/MonitorSummary.java index c83a278cd56..5bbe12541da 100644 --- a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/MonitorSummary.java +++ b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/MonitorSummary.java @@ -43,7 +43,10 @@ public final class MonitorSummary "definedTags", "isRunNow", "schedulingPolicy", - "batchIntervalInSeconds" + "batchIntervalInSeconds", + "isIPv6", + "createdBy", + "lastUpdatedBy" }) public MonitorSummary( String id, @@ -66,7 +69,10 @@ public MonitorSummary( java.util.Map> definedTags, Boolean isRunNow, SchedulingPolicy schedulingPolicy, - Integer batchIntervalInSeconds) { + Integer batchIntervalInSeconds, + Boolean isIPv6, + String createdBy, + String lastUpdatedBy) { super(); this.id = id; this.displayName = displayName; @@ -89,6 +95,9 @@ public MonitorSummary( this.isRunNow = isRunNow; this.schedulingPolicy = schedulingPolicy; this.batchIntervalInSeconds = batchIntervalInSeconds; + this.isIPv6 = isIPv6; + this.createdBy = createdBy; + this.lastUpdatedBy = lastUpdatedBy; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -144,12 +153,12 @@ public Builder monitorType(MonitorTypes monitorType) { this.__explicitlySet__.add("monitorType"); return this; } - /** List of public and dedicated vantage points where the monitor is running. */ + /** List of public, dedicated and onPremise vantage points where the monitor is running. */ @com.fasterxml.jackson.annotation.JsonProperty("vantagePoints") private java.util.List vantagePoints; /** - * List of public and dedicated vantage points where the monitor is running. + * List of public, dedicated and onPremise vantage points where the monitor is running. * * @param vantagePoints the value to set * @return this builder @@ -289,23 +298,25 @@ public Builder timeoutInSeconds(Integer timeoutInSeconds) { return this; } /** - * Specify the endpoint on which to run the monitor. For BROWSER, REST and NETWORK monitor - * types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor type, - * then the monitor will run the selected script (specified by scriptId in monitor) against - * the specified target endpoint. If target is not specified in the SCRIPTED_BROWSER monitor - * type, then the monitor will run the selected script as it is. For NETWORK monitor with - * TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80 + * Specify the endpoint on which to run the monitor. For BROWSER, REST, NETWORK, DNS and FTP + * monitor types, target is mandatory. If target is specified in the SCRIPTED_BROWSER + * monitor type, then the monitor will run the selected script (specified by scriptId in + * monitor) against the specified target endpoint. If target is not specified in the + * SCRIPTED_BROWSER monitor type, then the monitor will run the selected script as it is. + * For NETWORK monitor with TCP protocol, a port needs to be provided along with target. + * Example: 192.168.0.1:80. */ @com.fasterxml.jackson.annotation.JsonProperty("target") private String target; /** - * Specify the endpoint on which to run the monitor. For BROWSER, REST and NETWORK monitor - * types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor type, - * then the monitor will run the selected script (specified by scriptId in monitor) against - * the specified target endpoint. If target is not specified in the SCRIPTED_BROWSER monitor - * type, then the monitor will run the selected script as it is. For NETWORK monitor with - * TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80 + * Specify the endpoint on which to run the monitor. For BROWSER, REST, NETWORK, DNS and FTP + * monitor types, target is mandatory. If target is specified in the SCRIPTED_BROWSER + * monitor type, then the monitor will run the selected script (specified by scriptId in + * monitor) against the specified target endpoint. If target is not specified in the + * SCRIPTED_BROWSER monitor type, then the monitor will run the selected script as it is. + * For NETWORK monitor with TCP protocol, a port needs to be provided along with target. + * Example: 192.168.0.1:80. * * @param target the value to set * @return this builder @@ -464,6 +475,51 @@ public Builder batchIntervalInSeconds(Integer batchIntervalInSeconds) { this.__explicitlySet__.add("batchIntervalInSeconds"); return this; } + /** If enabled, domain name will resolve to an IPv6 address. */ + @com.fasterxml.jackson.annotation.JsonProperty("isIPv6") + private Boolean isIPv6; + + /** + * If enabled, domain name will resolve to an IPv6 address. + * + * @param isIPv6 the value to set + * @return this builder + */ + public Builder isIPv6(Boolean isIPv6) { + this.isIPv6 = isIPv6; + this.__explicitlySet__.add("isIPv6"); + return this; + } + /** Name of the user that created the monitor. */ + @com.fasterxml.jackson.annotation.JsonProperty("createdBy") + private String createdBy; + + /** + * Name of the user that created the monitor. + * + * @param createdBy the value to set + * @return this builder + */ + public Builder createdBy(String createdBy) { + this.createdBy = createdBy; + this.__explicitlySet__.add("createdBy"); + return this; + } + /** Name of the user that recently updated the monitor. */ + @com.fasterxml.jackson.annotation.JsonProperty("lastUpdatedBy") + private String lastUpdatedBy; + + /** + * Name of the user that recently updated the monitor. + * + * @param lastUpdatedBy the value to set + * @return this builder + */ + public Builder lastUpdatedBy(String lastUpdatedBy) { + this.lastUpdatedBy = lastUpdatedBy; + this.__explicitlySet__.add("lastUpdatedBy"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -491,7 +547,10 @@ public MonitorSummary build() { this.definedTags, this.isRunNow, this.schedulingPolicy, - this.batchIntervalInSeconds); + this.batchIntervalInSeconds, + this.isIPv6, + this.createdBy, + this.lastUpdatedBy); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -563,6 +622,15 @@ public Builder copy(MonitorSummary model) { if (model.wasPropertyExplicitlySet("batchIntervalInSeconds")) { this.batchIntervalInSeconds(model.getBatchIntervalInSeconds()); } + if (model.wasPropertyExplicitlySet("isIPv6")) { + this.isIPv6(model.getIsIPv6()); + } + if (model.wasPropertyExplicitlySet("createdBy")) { + this.createdBy(model.getCreatedBy()); + } + if (model.wasPropertyExplicitlySet("lastUpdatedBy")) { + this.lastUpdatedBy(model.getLastUpdatedBy()); + } return this; } } @@ -619,12 +687,12 @@ public MonitorTypes getMonitorType() { return monitorType; } - /** List of public and dedicated vantage points where the monitor is running. */ + /** List of public, dedicated and onPremise vantage points where the monitor is running. */ @com.fasterxml.jackson.annotation.JsonProperty("vantagePoints") private final java.util.List vantagePoints; /** - * List of public and dedicated vantage points where the monitor is running. + * List of public, dedicated and onPremise vantage points where the monitor is running. * * @return the value */ @@ -746,23 +814,23 @@ public Integer getTimeoutInSeconds() { } /** - * Specify the endpoint on which to run the monitor. For BROWSER, REST and NETWORK monitor - * types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor type, then - * the monitor will run the selected script (specified by scriptId in monitor) against the - * specified target endpoint. If target is not specified in the SCRIPTED_BROWSER monitor type, - * then the monitor will run the selected script as it is. For NETWORK monitor with TCP - * protocol, a port needs to be provided along with target. Example: 192.168.0.1:80 + * Specify the endpoint on which to run the monitor. For BROWSER, REST, NETWORK, DNS and FTP + * monitor types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor + * type, then the monitor will run the selected script (specified by scriptId in monitor) + * against the specified target endpoint. If target is not specified in the SCRIPTED_BROWSER + * monitor type, then the monitor will run the selected script as it is. For NETWORK monitor + * with TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80. */ @com.fasterxml.jackson.annotation.JsonProperty("target") private final String target; /** - * Specify the endpoint on which to run the monitor. For BROWSER, REST and NETWORK monitor - * types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor type, then - * the monitor will run the selected script (specified by scriptId in monitor) against the - * specified target endpoint. If target is not specified in the SCRIPTED_BROWSER monitor type, - * then the monitor will run the selected script as it is. For NETWORK monitor with TCP - * protocol, a port needs to be provided along with target. Example: 192.168.0.1:80 + * Specify the endpoint on which to run the monitor. For BROWSER, REST, NETWORK, DNS and FTP + * monitor types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor + * type, then the monitor will run the selected script (specified by scriptId in monitor) + * against the specified target endpoint. If target is not specified in the SCRIPTED_BROWSER + * monitor type, then the monitor will run the selected script as it is. For NETWORK monitor + * with TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80. * * @return the value */ @@ -899,6 +967,45 @@ public Integer getBatchIntervalInSeconds() { return batchIntervalInSeconds; } + /** If enabled, domain name will resolve to an IPv6 address. */ + @com.fasterxml.jackson.annotation.JsonProperty("isIPv6") + private final Boolean isIPv6; + + /** + * If enabled, domain name will resolve to an IPv6 address. + * + * @return the value + */ + public Boolean getIsIPv6() { + return isIPv6; + } + + /** Name of the user that created the monitor. */ + @com.fasterxml.jackson.annotation.JsonProperty("createdBy") + private final String createdBy; + + /** + * Name of the user that created the monitor. + * + * @return the value + */ + public String getCreatedBy() { + return createdBy; + } + + /** Name of the user that recently updated the monitor. */ + @com.fasterxml.jackson.annotation.JsonProperty("lastUpdatedBy") + private final String lastUpdatedBy; + + /** + * Name of the user that recently updated the monitor. + * + * @return the value + */ + public String getLastUpdatedBy() { + return lastUpdatedBy; + } + @Override public String toString() { return this.toString(true); @@ -937,6 +1044,9 @@ public String toString(boolean includeByteArrayContents) { sb.append(", isRunNow=").append(String.valueOf(this.isRunNow)); sb.append(", schedulingPolicy=").append(String.valueOf(this.schedulingPolicy)); sb.append(", batchIntervalInSeconds=").append(String.valueOf(this.batchIntervalInSeconds)); + sb.append(", isIPv6=").append(String.valueOf(this.isIPv6)); + sb.append(", createdBy=").append(String.valueOf(this.createdBy)); + sb.append(", lastUpdatedBy=").append(String.valueOf(this.lastUpdatedBy)); sb.append(")"); return sb.toString(); } @@ -975,6 +1085,9 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.schedulingPolicy, other.schedulingPolicy) && java.util.Objects.equals( this.batchIntervalInSeconds, other.batchIntervalInSeconds) + && java.util.Objects.equals(this.isIPv6, other.isIPv6) + && java.util.Objects.equals(this.createdBy, other.createdBy) + && java.util.Objects.equals(this.lastUpdatedBy, other.lastUpdatedBy) && super.equals(other); } @@ -1025,6 +1138,11 @@ public int hashCode() { + (this.batchIntervalInSeconds == null ? 43 : this.batchIntervalInSeconds.hashCode()); + result = (result * PRIME) + (this.isIPv6 == null ? 43 : this.isIPv6.hashCode()); + result = (result * PRIME) + (this.createdBy == null ? 43 : this.createdBy.hashCode()); + result = + (result * PRIME) + + (this.lastUpdatedBy == null ? 43 : this.lastUpdatedBy.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/MonitorTypes.java b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/MonitorTypes.java index 428c2acb16c..a20fd959835 100644 --- a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/MonitorTypes.java +++ b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/MonitorTypes.java @@ -13,6 +13,8 @@ public enum MonitorTypes implements com.oracle.bmc.http.internal.BmcEnum { Rest("REST"), Network("NETWORK"), Dns("DNS"), + Ftp("FTP"), + Sql("SQL"), /** * This value is used if a service returns a value for this enum that is not recognized by this diff --git a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/Password.java b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/Password.java new file mode 100644 index 00000000000..cb75cf76ff8 --- /dev/null +++ b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/Password.java @@ -0,0 +1,127 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.apmsynthetics.model; + +/** + * Password.
+ * 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: 20200630") +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "passwordType", + defaultImpl = Password.class) +@com.fasterxml.jackson.annotation.JsonSubTypes({ + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = PasswordInText.class, + name = "IN_TEXT"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = PasswordInVault.class, + name = "VAULT_SECRET_ID") +}) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public class Password extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({}) + protected Password() { + 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("Password("); + 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 Password)) { + return false; + } + + Password other = (Password) o; + return super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + super.hashCode(); + return result; + } + + /** Type of method to pass password. */ + public enum PasswordType implements com.oracle.bmc.http.internal.BmcEnum { + InText("IN_TEXT"), + VaultSecretId("VAULT_SECRET_ID"), + + /** + * 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(PasswordType.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (PasswordType v : PasswordType.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + PasswordType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static PasswordType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'PasswordType', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; +} diff --git a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/PasswordInText.java b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/PasswordInText.java new file mode 100644 index 00000000000..ef0f7707c79 --- /dev/null +++ b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/PasswordInText.java @@ -0,0 +1,133 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.apmsynthetics.model; + +/** + * Password.
+ * 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: 20200630") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = PasswordInText.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "passwordType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class PasswordInText extends Password { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** Password. */ + @com.fasterxml.jackson.annotation.JsonProperty("password") + private String password; + + /** + * Password. + * + * @param password the value to set + * @return this builder + */ + public Builder password(String password) { + this.password = password; + this.__explicitlySet__.add("password"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public PasswordInText build() { + PasswordInText model = new PasswordInText(this.password); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(PasswordInText model) { + if (model.wasPropertyExplicitlySet("password")) { + this.password(model.getPassword()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public PasswordInText(String password) { + super(); + this.password = password; + } + + /** Password. */ + @com.fasterxml.jackson.annotation.JsonProperty("password") + private final String password; + + /** + * Password. + * + * @return the value + */ + public String getPassword() { + return password; + } + + @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("PasswordInText("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", password=").append(""); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PasswordInText)) { + return false; + } + + PasswordInText other = (PasswordInText) o; + return java.util.Objects.equals(this.password, other.password) && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.password == null ? 43 : this.password.hashCode()); + return result; + } +} diff --git a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/PasswordInVault.java b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/PasswordInVault.java new file mode 100644 index 00000000000..e30cbe3b12a --- /dev/null +++ b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/PasswordInVault.java @@ -0,0 +1,137 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.apmsynthetics.model; + +/** + * Vault secret OCID for password that can be used with monitor Resource Principal. Example, + * ocid1.vaultsecret.oc1.iad.amaaaaaagpihjxqadwyc4kjhpeis2bylhzmp5r2si6mz2h4eujevnmf3zoca.
+ * 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: 20200630") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = PasswordInVault.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "passwordType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class PasswordInVault extends Password { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** Vault secret OCID. */ + @com.fasterxml.jackson.annotation.JsonProperty("vaultSecretId") + private String vaultSecretId; + + /** + * Vault secret OCID. + * + * @param vaultSecretId the value to set + * @return this builder + */ + public Builder vaultSecretId(String vaultSecretId) { + this.vaultSecretId = vaultSecretId; + this.__explicitlySet__.add("vaultSecretId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public PasswordInVault build() { + PasswordInVault model = new PasswordInVault(this.vaultSecretId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(PasswordInVault model) { + if (model.wasPropertyExplicitlySet("vaultSecretId")) { + this.vaultSecretId(model.getVaultSecretId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public PasswordInVault(String vaultSecretId) { + super(); + this.vaultSecretId = vaultSecretId; + } + + /** Vault secret OCID. */ + @com.fasterxml.jackson.annotation.JsonProperty("vaultSecretId") + private final String vaultSecretId; + + /** + * Vault secret OCID. + * + * @return the value + */ + public String getVaultSecretId() { + return vaultSecretId; + } + + @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("PasswordInVault("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", vaultSecretId=").append(String.valueOf(this.vaultSecretId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PasswordInVault)) { + return false; + } + + PasswordInVault other = (PasswordInVault) o; + return java.util.Objects.equals(this.vaultSecretId, other.vaultSecretId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.vaultSecretId == null ? 43 : this.vaultSecretId.hashCode()); + return result; + } +} diff --git a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/SqlMonitorConfiguration.java b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/SqlMonitorConfiguration.java new file mode 100644 index 00000000000..99d3d0b2a1e --- /dev/null +++ b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/SqlMonitorConfiguration.java @@ -0,0 +1,381 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.apmsynthetics.model; + +/** + * Request configuration details for the SQL monitor type.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * 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: 20200630") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = SqlMonitorConfiguration.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "configType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class SqlMonitorConfiguration extends MonitorConfiguration { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + @com.fasterxml.jackson.annotation.JsonProperty("isFailureRetried") + private Boolean isFailureRetried; + + public Builder isFailureRetried(Boolean isFailureRetried) { + this.isFailureRetried = isFailureRetried; + this.__explicitlySet__.add("isFailureRetried"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("dnsConfiguration") + private DnsConfiguration dnsConfiguration; + + public Builder dnsConfiguration(DnsConfiguration dnsConfiguration) { + this.dnsConfiguration = dnsConfiguration; + this.__explicitlySet__.add("dnsConfiguration"); + return this; + } + /** Database type. */ + @com.fasterxml.jackson.annotation.JsonProperty("databaseType") + private DatabaseType databaseType; + + /** + * Database type. + * + * @param databaseType the value to set + * @return this builder + */ + public Builder databaseType(DatabaseType databaseType) { + this.databaseType = databaseType; + this.__explicitlySet__.add("databaseType"); + return this; + } + /** SQL query to be executed. */ + @com.fasterxml.jackson.annotation.JsonProperty("query") + private String query; + + /** + * SQL query to be executed. + * + * @param query the value to set + * @return this builder + */ + public Builder query(String query) { + this.query = query; + this.__explicitlySet__.add("query"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("databaseAuthenticationDetails") + private BasicAuthenticationDetails databaseAuthenticationDetails; + + public Builder databaseAuthenticationDetails( + BasicAuthenticationDetails databaseAuthenticationDetails) { + this.databaseAuthenticationDetails = databaseAuthenticationDetails; + this.__explicitlySet__.add("databaseAuthenticationDetails"); + return this; + } + /** Database role. */ + @com.fasterxml.jackson.annotation.JsonProperty("databaseRole") + private String databaseRole; + + /** + * Database role. + * + * @param databaseRole the value to set + * @return this builder + */ + public Builder databaseRole(String databaseRole) { + this.databaseRole = databaseRole; + this.__explicitlySet__.add("databaseRole"); + return this; + } + /** Database connection type. Only CUSTOM_JDBC is supported for MYSQL database type. */ + @com.fasterxml.jackson.annotation.JsonProperty("databaseConnectionType") + private DatabaseConnectionType databaseConnectionType; + + /** + * Database connection type. Only CUSTOM_JDBC is supported for MYSQL database type. + * + * @param databaseConnectionType the value to set + * @return this builder + */ + public Builder databaseConnectionType(DatabaseConnectionType databaseConnectionType) { + this.databaseConnectionType = databaseConnectionType; + this.__explicitlySet__.add("databaseConnectionType"); + return this; + } + /** Database connection string. */ + @com.fasterxml.jackson.annotation.JsonProperty("connectionString") + private String connectionString; + + /** + * Database connection string. + * + * @param connectionString the value to set + * @return this builder + */ + public Builder connectionString(String connectionString) { + this.connectionString = connectionString; + this.__explicitlySet__.add("connectionString"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("databaseWalletDetails") + private DatabaseWalletDetails databaseWalletDetails; + + public Builder databaseWalletDetails(DatabaseWalletDetails databaseWalletDetails) { + this.databaseWalletDetails = databaseWalletDetails; + this.__explicitlySet__.add("databaseWalletDetails"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public SqlMonitorConfiguration build() { + SqlMonitorConfiguration model = + new SqlMonitorConfiguration( + this.isFailureRetried, + this.dnsConfiguration, + this.databaseType, + this.query, + this.databaseAuthenticationDetails, + this.databaseRole, + this.databaseConnectionType, + this.connectionString, + this.databaseWalletDetails); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(SqlMonitorConfiguration model) { + if (model.wasPropertyExplicitlySet("isFailureRetried")) { + this.isFailureRetried(model.getIsFailureRetried()); + } + if (model.wasPropertyExplicitlySet("dnsConfiguration")) { + this.dnsConfiguration(model.getDnsConfiguration()); + } + if (model.wasPropertyExplicitlySet("databaseType")) { + this.databaseType(model.getDatabaseType()); + } + if (model.wasPropertyExplicitlySet("query")) { + this.query(model.getQuery()); + } + if (model.wasPropertyExplicitlySet("databaseAuthenticationDetails")) { + this.databaseAuthenticationDetails(model.getDatabaseAuthenticationDetails()); + } + if (model.wasPropertyExplicitlySet("databaseRole")) { + this.databaseRole(model.getDatabaseRole()); + } + if (model.wasPropertyExplicitlySet("databaseConnectionType")) { + this.databaseConnectionType(model.getDatabaseConnectionType()); + } + if (model.wasPropertyExplicitlySet("connectionString")) { + this.connectionString(model.getConnectionString()); + } + if (model.wasPropertyExplicitlySet("databaseWalletDetails")) { + this.databaseWalletDetails(model.getDatabaseWalletDetails()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public SqlMonitorConfiguration( + Boolean isFailureRetried, + DnsConfiguration dnsConfiguration, + DatabaseType databaseType, + String query, + BasicAuthenticationDetails databaseAuthenticationDetails, + String databaseRole, + DatabaseConnectionType databaseConnectionType, + String connectionString, + DatabaseWalletDetails databaseWalletDetails) { + super(isFailureRetried, dnsConfiguration); + this.databaseType = databaseType; + this.query = query; + this.databaseAuthenticationDetails = databaseAuthenticationDetails; + this.databaseRole = databaseRole; + this.databaseConnectionType = databaseConnectionType; + this.connectionString = connectionString; + this.databaseWalletDetails = databaseWalletDetails; + } + + /** Database type. */ + @com.fasterxml.jackson.annotation.JsonProperty("databaseType") + private final DatabaseType databaseType; + + /** + * Database type. + * + * @return the value + */ + public DatabaseType getDatabaseType() { + return databaseType; + } + + /** SQL query to be executed. */ + @com.fasterxml.jackson.annotation.JsonProperty("query") + private final String query; + + /** + * SQL query to be executed. + * + * @return the value + */ + public String getQuery() { + return query; + } + + @com.fasterxml.jackson.annotation.JsonProperty("databaseAuthenticationDetails") + private final BasicAuthenticationDetails databaseAuthenticationDetails; + + public BasicAuthenticationDetails getDatabaseAuthenticationDetails() { + return databaseAuthenticationDetails; + } + + /** Database role. */ + @com.fasterxml.jackson.annotation.JsonProperty("databaseRole") + private final String databaseRole; + + /** + * Database role. + * + * @return the value + */ + public String getDatabaseRole() { + return databaseRole; + } + + /** Database connection type. Only CUSTOM_JDBC is supported for MYSQL database type. */ + @com.fasterxml.jackson.annotation.JsonProperty("databaseConnectionType") + private final DatabaseConnectionType databaseConnectionType; + + /** + * Database connection type. Only CUSTOM_JDBC is supported for MYSQL database type. + * + * @return the value + */ + public DatabaseConnectionType getDatabaseConnectionType() { + return databaseConnectionType; + } + + /** Database connection string. */ + @com.fasterxml.jackson.annotation.JsonProperty("connectionString") + private final String connectionString; + + /** + * Database connection string. + * + * @return the value + */ + public String getConnectionString() { + return connectionString; + } + + @com.fasterxml.jackson.annotation.JsonProperty("databaseWalletDetails") + private final DatabaseWalletDetails databaseWalletDetails; + + public DatabaseWalletDetails getDatabaseWalletDetails() { + return databaseWalletDetails; + } + + @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("SqlMonitorConfiguration("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", databaseType=").append(String.valueOf(this.databaseType)); + sb.append(", query=").append(String.valueOf(this.query)); + sb.append(", databaseAuthenticationDetails=") + .append(String.valueOf(this.databaseAuthenticationDetails)); + sb.append(", databaseRole=").append(String.valueOf(this.databaseRole)); + sb.append(", databaseConnectionType=").append(String.valueOf(this.databaseConnectionType)); + sb.append(", connectionString=").append(String.valueOf(this.connectionString)); + sb.append(", databaseWalletDetails=").append(String.valueOf(this.databaseWalletDetails)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof SqlMonitorConfiguration)) { + return false; + } + + SqlMonitorConfiguration other = (SqlMonitorConfiguration) o; + return java.util.Objects.equals(this.databaseType, other.databaseType) + && java.util.Objects.equals(this.query, other.query) + && java.util.Objects.equals( + this.databaseAuthenticationDetails, other.databaseAuthenticationDetails) + && java.util.Objects.equals(this.databaseRole, other.databaseRole) + && java.util.Objects.equals( + this.databaseConnectionType, other.databaseConnectionType) + && java.util.Objects.equals(this.connectionString, other.connectionString) + && java.util.Objects.equals(this.databaseWalletDetails, other.databaseWalletDetails) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.databaseType == null ? 43 : this.databaseType.hashCode()); + result = (result * PRIME) + (this.query == null ? 43 : this.query.hashCode()); + result = + (result * PRIME) + + (this.databaseAuthenticationDetails == null + ? 43 + : this.databaseAuthenticationDetails.hashCode()); + result = (result * PRIME) + (this.databaseRole == null ? 43 : this.databaseRole.hashCode()); + result = + (result * PRIME) + + (this.databaseConnectionType == null + ? 43 + : this.databaseConnectionType.hashCode()); + result = + (result * PRIME) + + (this.connectionString == null ? 43 : this.connectionString.hashCode()); + result = + (result * PRIME) + + (this.databaseWalletDetails == null + ? 43 + : this.databaseWalletDetails.hashCode()); + return result; + } +} diff --git a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/UpdateMonitorDetails.java b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/UpdateMonitorDetails.java index df403a5f5be..bb2c9e7a104 100644 --- a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/UpdateMonitorDetails.java +++ b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/UpdateMonitorDetails.java @@ -40,7 +40,8 @@ public final class UpdateMonitorDetails "definedTags", "isRunNow", "schedulingPolicy", - "batchIntervalInSeconds" + "batchIntervalInSeconds", + "isIPv6" }) public UpdateMonitorDetails( String displayName, @@ -59,7 +60,8 @@ public UpdateMonitorDetails( java.util.Map> definedTags, Boolean isRunNow, SchedulingPolicy schedulingPolicy, - Integer batchIntervalInSeconds) { + Integer batchIntervalInSeconds, + Boolean isIPv6) { super(); this.displayName = displayName; this.vantagePoints = vantagePoints; @@ -78,6 +80,7 @@ public UpdateMonitorDetails( this.isRunNow = isRunNow; this.schedulingPolicy = schedulingPolicy; this.batchIntervalInSeconds = batchIntervalInSeconds; + this.isIPv6 = isIPv6; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -220,23 +223,25 @@ public Builder timeoutInSeconds(Integer timeoutInSeconds) { return this; } /** - * Specify the endpoint on which to run the monitor. For BROWSER, REST and NETWORK monitor - * types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor type, - * then the monitor will run the selected script (specified by scriptId in monitor) against - * the specified target endpoint. If target is not specified in the SCRIPTED_BROWSER monitor - * type, then the monitor will run the selected script as it is. For NETWORK monitor with - * TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80 + * Specify the endpoint on which to run the monitor. For BROWSER, REST, NETWORK, DNS and FTP + * monitor types, target is mandatory. If target is specified in the SCRIPTED_BROWSER + * monitor type, then the monitor will run the selected script (specified by scriptId in + * monitor) against the specified target endpoint. If target is not specified in the + * SCRIPTED_BROWSER monitor type, then the monitor will run the selected script as it is. + * For NETWORK monitor with TCP protocol, a port needs to be provided along with target. + * Example: 192.168.0.1:80. */ @com.fasterxml.jackson.annotation.JsonProperty("target") private String target; /** - * Specify the endpoint on which to run the monitor. For BROWSER, REST and NETWORK monitor - * types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor type, - * then the monitor will run the selected script (specified by scriptId in monitor) against - * the specified target endpoint. If target is not specified in the SCRIPTED_BROWSER monitor - * type, then the monitor will run the selected script as it is. For NETWORK monitor with - * TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80 + * Specify the endpoint on which to run the monitor. For BROWSER, REST, NETWORK, DNS and FTP + * monitor types, target is mandatory. If target is specified in the SCRIPTED_BROWSER + * monitor type, then the monitor will run the selected script (specified by scriptId in + * monitor) against the specified target endpoint. If target is not specified in the + * SCRIPTED_BROWSER monitor type, then the monitor will run the selected script as it is. + * For NETWORK monitor with TCP protocol, a port needs to be provided along with target. + * Example: 192.168.0.1:80. * * @param target the value to set * @return this builder @@ -384,6 +389,21 @@ public Builder batchIntervalInSeconds(Integer batchIntervalInSeconds) { this.__explicitlySet__.add("batchIntervalInSeconds"); return this; } + /** If enabled, domain name will resolve to an IPv6 address. */ + @com.fasterxml.jackson.annotation.JsonProperty("isIPv6") + private Boolean isIPv6; + + /** + * If enabled, domain name will resolve to an IPv6 address. + * + * @param isIPv6 the value to set + * @return this builder + */ + public Builder isIPv6(Boolean isIPv6) { + this.isIPv6 = isIPv6; + this.__explicitlySet__.add("isIPv6"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -407,7 +427,8 @@ public UpdateMonitorDetails build() { this.definedTags, this.isRunNow, this.schedulingPolicy, - this.batchIntervalInSeconds); + this.batchIntervalInSeconds, + this.isIPv6); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -467,6 +488,9 @@ public Builder copy(UpdateMonitorDetails model) { if (model.wasPropertyExplicitlySet("batchIntervalInSeconds")) { this.batchIntervalInSeconds(model.getBatchIntervalInSeconds()); } + if (model.wasPropertyExplicitlySet("isIPv6")) { + this.isIPv6(model.getIsIPv6()); + } return this; } } @@ -600,23 +624,23 @@ public Integer getTimeoutInSeconds() { } /** - * Specify the endpoint on which to run the monitor. For BROWSER, REST and NETWORK monitor - * types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor type, then - * the monitor will run the selected script (specified by scriptId in monitor) against the - * specified target endpoint. If target is not specified in the SCRIPTED_BROWSER monitor type, - * then the monitor will run the selected script as it is. For NETWORK monitor with TCP - * protocol, a port needs to be provided along with target. Example: 192.168.0.1:80 + * Specify the endpoint on which to run the monitor. For BROWSER, REST, NETWORK, DNS and FTP + * monitor types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor + * type, then the monitor will run the selected script (specified by scriptId in monitor) + * against the specified target endpoint. If target is not specified in the SCRIPTED_BROWSER + * monitor type, then the monitor will run the selected script as it is. For NETWORK monitor + * with TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80. */ @com.fasterxml.jackson.annotation.JsonProperty("target") private final String target; /** - * Specify the endpoint on which to run the monitor. For BROWSER, REST and NETWORK monitor - * types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor type, then - * the monitor will run the selected script (specified by scriptId in monitor) against the - * specified target endpoint. If target is not specified in the SCRIPTED_BROWSER monitor type, - * then the monitor will run the selected script as it is. For NETWORK monitor with TCP - * protocol, a port needs to be provided along with target. Example: 192.168.0.1:80 + * Specify the endpoint on which to run the monitor. For BROWSER, REST, NETWORK, DNS and FTP + * monitor types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor + * type, then the monitor will run the selected script (specified by scriptId in monitor) + * against the specified target endpoint. If target is not specified in the SCRIPTED_BROWSER + * monitor type, then the monitor will run the selected script as it is. For NETWORK monitor + * with TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80. * * @return the value */ @@ -741,6 +765,19 @@ public Integer getBatchIntervalInSeconds() { return batchIntervalInSeconds; } + /** If enabled, domain name will resolve to an IPv6 address. */ + @com.fasterxml.jackson.annotation.JsonProperty("isIPv6") + private final Boolean isIPv6; + + /** + * If enabled, domain name will resolve to an IPv6 address. + * + * @return the value + */ + public Boolean getIsIPv6() { + return isIPv6; + } + @Override public String toString() { return this.toString(true); @@ -776,6 +813,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", isRunNow=").append(String.valueOf(this.isRunNow)); sb.append(", schedulingPolicy=").append(String.valueOf(this.schedulingPolicy)); sb.append(", batchIntervalInSeconds=").append(String.valueOf(this.batchIntervalInSeconds)); + sb.append(", isIPv6=").append(String.valueOf(this.isIPv6)); sb.append(")"); return sb.toString(); } @@ -811,6 +849,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.schedulingPolicy, other.schedulingPolicy) && java.util.Objects.equals( this.batchIntervalInSeconds, other.batchIntervalInSeconds) + && java.util.Objects.equals(this.isIPv6, other.isIPv6) && super.equals(other); } @@ -861,6 +900,7 @@ public int hashCode() { + (this.batchIntervalInSeconds == null ? 43 : this.batchIntervalInSeconds.hashCode()); + result = (result * PRIME) + (this.isIPv6 == null ? 43 : this.isIPv6.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/VantagePointInfo.java b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/VantagePointInfo.java index db773fba35a..dd338c3e114 100644 --- a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/VantagePointInfo.java +++ b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/VantagePointInfo.java @@ -22,11 +22,12 @@ public final class VantagePointInfo extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated - @java.beans.ConstructorProperties({"name", "displayName"}) - public VantagePointInfo(String name, String displayName) { + @java.beans.ConstructorProperties({"name", "displayName", "workerList"}) + public VantagePointInfo(String name, String displayName, java.util.List workerList) { super(); this.name = name; this.displayName = displayName; + this.workerList = workerList; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -63,12 +64,28 @@ public Builder displayName(String displayName) { this.__explicitlySet__.add("displayName"); return this; } + /** List of workers running the assigned monitor. */ + @com.fasterxml.jackson.annotation.JsonProperty("workerList") + private java.util.List workerList; + + /** + * List of workers running the assigned monitor. + * + * @param workerList the value to set + * @return this builder + */ + public Builder workerList(java.util.List workerList) { + this.workerList = workerList; + this.__explicitlySet__.add("workerList"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); public VantagePointInfo build() { - VantagePointInfo model = new VantagePointInfo(this.name, this.displayName); + VantagePointInfo model = + new VantagePointInfo(this.name, this.displayName, this.workerList); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -83,6 +100,9 @@ public Builder copy(VantagePointInfo model) { if (model.wasPropertyExplicitlySet("displayName")) { this.displayName(model.getDisplayName()); } + if (model.wasPropertyExplicitlySet("workerList")) { + this.workerList(model.getWorkerList()); + } return this; } } @@ -122,6 +142,19 @@ public String getDisplayName() { return displayName; } + /** List of workers running the assigned monitor. */ + @com.fasterxml.jackson.annotation.JsonProperty("workerList") + private final java.util.List workerList; + + /** + * List of workers running the assigned monitor. + * + * @return the value + */ + public java.util.List getWorkerList() { + return workerList; + } + @Override public String toString() { return this.toString(true); @@ -139,6 +172,7 @@ public String toString(boolean includeByteArrayContents) { sb.append("super=").append(super.toString()); sb.append("name=").append(String.valueOf(this.name)); sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", workerList=").append(String.valueOf(this.workerList)); sb.append(")"); return sb.toString(); } @@ -155,6 +189,7 @@ public boolean equals(Object o) { VantagePointInfo other = (VantagePointInfo) o; return java.util.Objects.equals(this.name, other.name) && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.workerList, other.workerList) && super.equals(other); } @@ -164,6 +199,7 @@ public int hashCode() { int result = 1; result = (result * PRIME) + (this.name == null ? 43 : this.name.hashCode()); result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = (result * PRIME) + (this.workerList == null ? 43 : this.workerList.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/requests/ListMonitorsRequest.java b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/requests/ListMonitorsRequest.java index b4ebe0f8961..d942a518e74 100644 --- a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/requests/ListMonitorsRequest.java +++ b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/requests/ListMonitorsRequest.java @@ -43,13 +43,13 @@ public String getVantagePoint() { } /** * A filter to return only monitors that match the given monitor type. Supported values are - * SCRIPTED_BROWSER, BROWSER, SCRIPTED_REST, REST and NETWORK. + * SCRIPTED_BROWSER, BROWSER, SCRIPTED_REST, REST, NETWORK, DNS, FTP and SQL. */ private String monitorType; /** * A filter to return only monitors that match the given monitor type. Supported values are - * SCRIPTED_BROWSER, BROWSER, SCRIPTED_REST, REST and NETWORK. + * SCRIPTED_BROWSER, BROWSER, SCRIPTED_REST, REST, NETWORK, DNS, FTP and SQL. */ public String getMonitorType() { return monitorType; @@ -249,13 +249,13 @@ public Builder vantagePoint(String vantagePoint) { /** * A filter to return only monitors that match the given monitor type. Supported values are - * SCRIPTED_BROWSER, BROWSER, SCRIPTED_REST, REST and NETWORK. + * SCRIPTED_BROWSER, BROWSER, SCRIPTED_REST, REST, NETWORK, DNS, FTP and SQL. */ private String monitorType = null; /** * A filter to return only monitors that match the given monitor type. Supported values are - * SCRIPTED_BROWSER, BROWSER, SCRIPTED_REST, REST and NETWORK. + * SCRIPTED_BROWSER, BROWSER, SCRIPTED_REST, REST, NETWORK, DNS, FTP and SQL. * * @param monitorType the value to set * @return this builder instance diff --git a/bmc-apmsynthetics/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-apmsynthetics/reflect-config.json b/bmc-apmsynthetics/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-apmsynthetics/reflect-config.json index ab9c6890b0d..6ec33485aeb 100644 --- a/bmc-apmsynthetics/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-apmsynthetics/reflect-config.json +++ b/bmc-apmsynthetics/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-apmsynthetics/reflect-config.json @@ -75,6 +75,20 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.apmsynthetics.model.BasicAuthenticationDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.apmsynthetics.model.BasicAuthenticationDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.apmsynthetics.model.BrowserMonitorConfiguration", @@ -199,6 +213,32 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.apmsynthetics.model.DatabaseConnectionType", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.apmsynthetics.model.DatabaseType", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.apmsynthetics.model.DatabaseWalletDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.apmsynthetics.model.DatabaseWalletDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.apmsynthetics.model.DedicatedVantagePoint", @@ -328,6 +368,32 @@ "allDeclaredFields": true, "allDeclaredMethods": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.apmsynthetics.model.FtpMonitorConfiguration", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.apmsynthetics.model.FtpMonitorConfiguration$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.apmsynthetics.model.FtpProtocol", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.apmsynthetics.model.FtpRequestType", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.apmsynthetics.model.GeoSummary", @@ -683,6 +749,47 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.apmsynthetics.model.Password", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.apmsynthetics.model.Password$PasswordType", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.apmsynthetics.model.PasswordInText", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.apmsynthetics.model.PasswordInText$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.apmsynthetics.model.PasswordInVault", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.apmsynthetics.model.PasswordInVault$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.apmsynthetics.model.PrivateKey", @@ -907,6 +1014,20 @@ "allDeclaredFields": true, "allDeclaredMethods": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.apmsynthetics.model.SqlMonitorConfiguration", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.apmsynthetics.model.SqlMonitorConfiguration$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.apmsynthetics.model.UpdateDedicatedVantagePointDetails", diff --git a/bmc-apmsynthetics/src/main/resources/com/oracle/bmc/apmsynthetics/client.properties b/bmc-apmsynthetics/src/main/resources/com/oracle/bmc/apmsynthetics/client.properties index d3ee13c46bc..255ec427a74 100644 --- a/bmc-apmsynthetics/src/main/resources/com/oracle/bmc/apmsynthetics/client.properties +++ b/bmc-apmsynthetics/src/main/resources/com/oracle/bmc/apmsynthetics/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200630") \ No newline at end of file diff --git a/bmc-apmtraces/pom.xml b/bmc-apmtraces/pom.xml index 19d9626ded7..09f78fbf9ac 100644 --- a/bmc-apmtraces/pom.xml +++ b/bmc-apmtraces/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-apmtraces @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-apmtraces/src/main/resources/com/oracle/bmc/apmtraces/client.properties b/bmc-apmtraces/src/main/resources/com/oracle/bmc/apmtraces/client.properties index d3ee13c46bc..255ec427a74 100644 --- a/bmc-apmtraces/src/main/resources/com/oracle/bmc/apmtraces/client.properties +++ b/bmc-apmtraces/src/main/resources/com/oracle/bmc/apmtraces/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200630") \ No newline at end of file diff --git a/bmc-appmgmtcontrol/pom.xml b/bmc-appmgmtcontrol/pom.xml index b27d53d9472..73aca5d4c81 100644 --- a/bmc-appmgmtcontrol/pom.xml +++ b/bmc-appmgmtcontrol/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-appmgmtcontrol @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-appmgmtcontrol/src/main/resources/com/oracle/bmc/appmgmtcontrol/client.properties b/bmc-appmgmtcontrol/src/main/resources/com/oracle/bmc/appmgmtcontrol/client.properties index 7cce656b793..1be26826e12 100644 --- a/bmc-appmgmtcontrol/src/main/resources/com/oracle/bmc/appmgmtcontrol/client.properties +++ b/bmc-appmgmtcontrol/src/main/resources/com/oracle/bmc/appmgmtcontrol/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20210330") \ No newline at end of file diff --git a/bmc-artifacts/pom.xml b/bmc-artifacts/pom.xml index 8a74c5a4dd7..cddcb3ee446 100644 --- a/bmc-artifacts/pom.xml +++ b/bmc-artifacts/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-artifacts @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-artifacts/src/main/resources/com/oracle/bmc/artifacts/client.properties b/bmc-artifacts/src/main/resources/com/oracle/bmc/artifacts/client.properties index 2fa5d3f17ae..0d8dd8a77fe 100644 --- a/bmc-artifacts/src/main/resources/com/oracle/bmc/artifacts/client.properties +++ b/bmc-artifacts/src/main/resources/com/oracle/bmc/artifacts/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") \ No newline at end of file diff --git a/bmc-audit/pom.xml b/bmc-audit/pom.xml index ae580faf38f..72a65f2e78a 100644 --- a/bmc-audit/pom.xml +++ b/bmc-audit/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-audit/src/main/resources/com/oracle/bmc/audit/client.properties b/bmc-audit/src/main/resources/com/oracle/bmc/audit/client.properties index d3a5e3047c9..651a33ada4c 100644 --- a/bmc-audit/src/main/resources/com/oracle/bmc/audit/client.properties +++ b/bmc-audit/src/main/resources/com/oracle/bmc/audit/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190901") \ No newline at end of file diff --git a/bmc-autoscaling/pom.xml b/bmc-autoscaling/pom.xml index 6ae3a7a2d10..cfbadfef248 100644 --- a/bmc-autoscaling/pom.xml +++ b/bmc-autoscaling/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-autoscaling @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-autoscaling/src/main/resources/com/oracle/bmc/autoscaling/client.properties b/bmc-autoscaling/src/main/resources/com/oracle/bmc/autoscaling/client.properties index 789294f8dca..a49126fd9db 100644 --- a/bmc-autoscaling/src/main/resources/com/oracle/bmc/autoscaling/client.properties +++ b/bmc-autoscaling/src/main/resources/com/oracle/bmc/autoscaling/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20181001") \ No newline at end of file diff --git a/bmc-bastion/pom.xml b/bmc-bastion/pom.xml index bf4f0078a4a..459f5ccc2ab 100644 --- a/bmc-bastion/pom.xml +++ b/bmc-bastion/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-bastion @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-bastion/src/main/resources/com/oracle/bmc/bastion/client.properties b/bmc-bastion/src/main/resources/com/oracle/bmc/bastion/client.properties index a069344aa02..ce6eb6ebf61 100644 --- a/bmc-bastion/src/main/resources/com/oracle/bmc/bastion/client.properties +++ b/bmc-bastion/src/main/resources/com/oracle/bmc/bastion/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20210331") \ No newline at end of file diff --git a/bmc-bds/pom.xml b/bmc-bds/pom.xml index 8bb8ea4e672..0196270d238 100644 --- a/bmc-bds/pom.xml +++ b/bmc-bds/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-bds @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-bds/src/main/resources/com/oracle/bmc/bds/client.properties b/bmc-bds/src/main/resources/com/oracle/bmc/bds/client.properties index 5d58425ae17..de5a6318a08 100644 --- a/bmc-bds/src/main/resources/com/oracle/bmc/bds/client.properties +++ b/bmc-bds/src/main/resources/com/oracle/bmc/bds/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531") \ No newline at end of file diff --git a/bmc-blockchain/pom.xml b/bmc-blockchain/pom.xml index ed1f35692fb..2cfce288c48 100644 --- a/bmc-blockchain/pom.xml +++ b/bmc-blockchain/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-blockchain @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-blockchain/src/main/resources/com/oracle/bmc/blockchain/client.properties b/bmc-blockchain/src/main/resources/com/oracle/bmc/blockchain/client.properties index 046c4ccab8c..fdca3bf1aa4 100644 --- a/bmc-blockchain/src/main/resources/com/oracle/bmc/blockchain/client.properties +++ b/bmc-blockchain/src/main/resources/com/oracle/bmc/blockchain/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20191010") \ No newline at end of file diff --git a/bmc-bom/pom.xml b/bmc-bom/pom.xml index 4a22214c07a..b87627c1e05 100644 --- a/bmc-bom/pom.xml +++ b/bmc-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.oracle.oci.sdk - 3.44.3 + 3.44.4 oci-java-sdk-bom pom Oracle Cloud Infrastructure SDK - BOM @@ -38,933 +38,933 @@ com.oracle.oci.sdk oci-java-sdk-circuitbreaker - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-common-httpclient - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey3 - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-enforcer-rules - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-shaded-full - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-audit - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-containerengine - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-core - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-database - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-dns - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-email - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-filestorage - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-identity - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-loadbalancer - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-objectstorage - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-addons-apache-configurator-jersey - 3.44.3 + 3.44.4 com.oracle.oci.sdk oci-java-sdk-addons-apache-configurator-jersey3 - 3.44.3 + 3.44.4 com.oracle.oci.sdk oci-java-sdk-addons-resteasy-client-configurator - 3.44.3 + 3.44.4 com.oracle.oci.sdk oci-java-sdk-addons-sasl - 3.44.3 + 3.44.4 com.oracle.oci.sdk oci-java-sdk-addons-oke-workload-identity - 3.44.3 + 3.44.4 com.oracle.oci.sdk oci-java-sdk-addons-sasl-oke-workload-identity - 3.44.3 + 3.44.4 com.oracle.oci.sdk oci-java-sdk-resourcesearch - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-addons-apache - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-keymanagement - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-announcementsservice - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-healthchecks - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-waas - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-streaming - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-resourcemanager - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-monitoring - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-ons - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-autoscaling - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-budget - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-workrequests - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-limits - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-functions - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-events - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-dts - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-oce - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-oda - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-analytics - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-integration - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-osmanagement - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-marketplace - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-apigateway - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-datacatalog - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-dataflow - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-datascience - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-nosql - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-secrets - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-vault - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-bds - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-encryption - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-cims - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-datasafe - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-mysql - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-dataintegration - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-ocvp - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-usageapi - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-blockchain - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-loggingingestion - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-logging - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-loganalytics - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-managementdashboard - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-sch - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-loggingsearch - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-managementagent - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-cloudguard - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-opsi - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-computeinstanceagent - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-optimizer - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-tenantmanagercontrolplane - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-rover - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-databasemanagement - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-artifacts - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-apmsynthetics - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-goldengate - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-apmcontrolplane - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-apmtraces - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-networkloadbalancer - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-vulnerabilityscanning - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-databasemigration - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-servicecatalog - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-ailanguage - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-operatoraccesscontrol - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-bastion - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-genericartifactscontent - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-jms - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-devops - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-aianomalydetection - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-datalabelingservice - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-datalabelingservicedataplane - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-apmconfig - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-waf - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-certificates - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-certificatesmanagement - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-usage - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-databasetools - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-servicemanagerproxy - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-appmgmtcontrol - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-ospgateway - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-identitydataplane - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-visualbuilder - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-osubusage - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-osubsubscription - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-osuborganizationsubscription - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-osubbillingschedule - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-dashboardservice - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-threatintelligence - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-aivision - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-aispeech - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-stackmonitoring - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-servicemesh - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-adm - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-licensemanager - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-onesubscription - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-governancerulescontrolplane - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-waa - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-networkfirewall - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-vnmonitoring - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-emwarehouse - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-lockbox - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-fusionapps - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-mediaservices - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-opa - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-opensearch - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-cloudmigrations - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-cloudbridge - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-disasterrecovery - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-containerinstances - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-aidocument - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-queue - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-recovery - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-vbsinst - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-identitydomains - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-accessgovernancecp - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-ocicontrolcenter - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-osmanagementhub - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-fleetsoftwareupdate - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-computecloudatcustomer - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-marketplacepublisher - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-redis - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-jmsjavadownloads - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-psql - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-generativeai - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-generativeaiinference - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-capacitymanagement - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-globallydistributeddatabase - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-desktops - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-emaildataplane - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-clusterplacementgroups - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-marketplaceprivateoffer - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-resourcescheduler - 3.44.3 + 3.44.4 false com.oracle.oci.sdk oci-java-sdk-demandsignal - 3.44.3 + 3.44.4 false diff --git a/bmc-budget/pom.xml b/bmc-budget/pom.xml index 5892e800ac1..d888da297da 100644 --- a/bmc-budget/pom.xml +++ b/bmc-budget/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-budget @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-budget/src/main/resources/com/oracle/bmc/budget/client.properties b/bmc-budget/src/main/resources/com/oracle/bmc/budget/client.properties index 8db78f08f6c..1b7582dc357 100644 --- a/bmc-budget/src/main/resources/com/oracle/bmc/budget/client.properties +++ b/bmc-budget/src/main/resources/com/oracle/bmc/budget/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190111") \ No newline at end of file diff --git a/bmc-capacitymanagement/pom.xml b/bmc-capacitymanagement/pom.xml index b3f9bfbbfbf..2e6fed11e4a 100644 --- a/bmc-capacitymanagement/pom.xml +++ b/bmc-capacitymanagement/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-capacitymanagement @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-capacitymanagement/src/main/resources/com/oracle/bmc/capacitymanagement/client.properties b/bmc-capacitymanagement/src/main/resources/com/oracle/bmc/capacitymanagement/client.properties index 7b10cad43e2..ec5cb8c4ad4 100644 --- a/bmc-capacitymanagement/src/main/resources/com/oracle/bmc/capacitymanagement/client.properties +++ b/bmc-capacitymanagement/src/main/resources/com/oracle/bmc/capacitymanagement/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20231107") \ No newline at end of file diff --git a/bmc-certificates/pom.xml b/bmc-certificates/pom.xml index ea0740a1dde..0c9f9135bea 100644 --- a/bmc-certificates/pom.xml +++ b/bmc-certificates/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-certificates @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-certificates/src/main/resources/com/oracle/bmc/certificates/client.properties b/bmc-certificates/src/main/resources/com/oracle/bmc/certificates/client.properties index e3046e9cbdd..08abddc1761 100644 --- a/bmc-certificates/src/main/resources/com/oracle/bmc/certificates/client.properties +++ b/bmc-certificates/src/main/resources/com/oracle/bmc/certificates/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20210224") \ No newline at end of file diff --git a/bmc-certificatesmanagement/pom.xml b/bmc-certificatesmanagement/pom.xml index d352d4224aa..ebe1b422999 100644 --- a/bmc-certificatesmanagement/pom.xml +++ b/bmc-certificatesmanagement/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-certificatesmanagement @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-certificatesmanagement/src/main/resources/com/oracle/bmc/certificatesmanagement/client.properties b/bmc-certificatesmanagement/src/main/resources/com/oracle/bmc/certificatesmanagement/client.properties index e3046e9cbdd..08abddc1761 100644 --- a/bmc-certificatesmanagement/src/main/resources/com/oracle/bmc/certificatesmanagement/client.properties +++ b/bmc-certificatesmanagement/src/main/resources/com/oracle/bmc/certificatesmanagement/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20210224") \ No newline at end of file diff --git a/bmc-cims/pom.xml b/bmc-cims/pom.xml index 70edfa402a2..b002db25e40 100644 --- a/bmc-cims/pom.xml +++ b/bmc-cims/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-cims @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-cims/src/main/resources/com/oracle/bmc/cims/client.properties b/bmc-cims/src/main/resources/com/oracle/bmc/cims/client.properties index 77589926eed..1bb07fb5e24 100644 --- a/bmc-cims/src/main/resources/com/oracle/bmc/cims/client.properties +++ b/bmc-cims/src/main/resources/com/oracle/bmc/cims/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20181231") \ No newline at end of file diff --git a/bmc-circuitbreaker/pom.xml b/bmc-circuitbreaker/pom.xml index 60e390bb042..8630a92294a 100644 --- a/bmc-circuitbreaker/pom.xml +++ b/bmc-circuitbreaker/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-circuitbreaker diff --git a/bmc-cloudbridge/pom.xml b/bmc-cloudbridge/pom.xml index 9e2aa1fff9b..c3e962a913f 100644 --- a/bmc-cloudbridge/pom.xml +++ b/bmc-cloudbridge/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-cloudbridge @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-cloudbridge/src/main/resources/com/oracle/bmc/cloudbridge/client.properties b/bmc-cloudbridge/src/main/resources/com/oracle/bmc/cloudbridge/client.properties index b67c81a02e0..2a74c619e5c 100644 --- a/bmc-cloudbridge/src/main/resources/com/oracle/bmc/cloudbridge/client.properties +++ b/bmc-cloudbridge/src/main/resources/com/oracle/bmc/cloudbridge/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220509") \ No newline at end of file diff --git a/bmc-cloudguard/pom.xml b/bmc-cloudguard/pom.xml index 6b9d105eff9..1959bd179d1 100644 --- a/bmc-cloudguard/pom.xml +++ b/bmc-cloudguard/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-cloudguard @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-cloudguard/src/main/resources/com/oracle/bmc/cloudguard/client.properties b/bmc-cloudguard/src/main/resources/com/oracle/bmc/cloudguard/client.properties index eb705ebdb37..bcd040e6e84 100644 --- a/bmc-cloudguard/src/main/resources/com/oracle/bmc/cloudguard/client.properties +++ b/bmc-cloudguard/src/main/resources/com/oracle/bmc/cloudguard/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200131") \ No newline at end of file diff --git a/bmc-cloudmigrations/pom.xml b/bmc-cloudmigrations/pom.xml index bff71564ebb..f5227ddcc44 100644 --- a/bmc-cloudmigrations/pom.xml +++ b/bmc-cloudmigrations/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-cloudmigrations @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-cloudmigrations/src/main/resources/com/oracle/bmc/cloudmigrations/client.properties b/bmc-cloudmigrations/src/main/resources/com/oracle/bmc/cloudmigrations/client.properties index 9ef291abb6a..3b8b8ad5be9 100644 --- a/bmc-cloudmigrations/src/main/resources/com/oracle/bmc/cloudmigrations/client.properties +++ b/bmc-cloudmigrations/src/main/resources/com/oracle/bmc/cloudmigrations/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220919") \ No newline at end of file diff --git a/bmc-clusterplacementgroups/pom.xml b/bmc-clusterplacementgroups/pom.xml index 3ca99a73b0e..fcd4682d334 100644 --- a/bmc-clusterplacementgroups/pom.xml +++ b/bmc-clusterplacementgroups/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-clusterplacementgroups @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-clusterplacementgroups/src/main/resources/com/oracle/bmc/clusterplacementgroups/client.properties b/bmc-clusterplacementgroups/src/main/resources/com/oracle/bmc/clusterplacementgroups/client.properties index 5edfbfada7e..e307a9a5a64 100644 --- a/bmc-clusterplacementgroups/src/main/resources/com/oracle/bmc/clusterplacementgroups/client.properties +++ b/bmc-clusterplacementgroups/src/main/resources/com/oracle/bmc/clusterplacementgroups/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20230801") \ 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 328ac5f4d3a..4b83d01a4bf 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.44.3 + 3.44.4 ../pom.xml @@ -68,7 +68,7 @@ com.oracle.oci.sdk oci-java-sdk-addons-apache-configurator-jersey - 3.44.3 + 3.44.4 @@ -77,7 +77,7 @@ com.oracle.oci.sdk oci-java-sdk-common-httpclient - 3.44.3 + 3.44.4 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 393986c57cb..e5314948416 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.44.3 + 3.44.4 ../pom.xml @@ -70,7 +70,7 @@ com.oracle.oci.sdk oci-java-sdk-addons-apache-configurator-jersey3 - 3.44.3 + 3.44.4 @@ -79,7 +79,7 @@ com.oracle.oci.sdk oci-java-sdk-common-httpclient - 3.44.3 + 3.44.4 jakarta.ws.rs diff --git a/bmc-common-httpclient-choices/pom.xml b/bmc-common-httpclient-choices/pom.xml index 79fa04eed18..aaa83bda1b5 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.44.3 + 3.44.4 ../pom.xml diff --git a/bmc-common-httpclient/pom.xml b/bmc-common-httpclient/pom.xml index 8c5df12112f..a94b84d8228 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.44.3 + 3.44.4 ../pom.xml diff --git a/bmc-common/pom.xml b/bmc-common/pom.xml index 5c2ff9faf3b..8f734bf93d7 100644 --- a/bmc-common/pom.xml +++ b/bmc-common/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml @@ -67,18 +67,18 @@ com.oracle.oci.sdk oci-java-sdk-circuitbreaker - 3.44.3 + 3.44.4 com.oracle.oci.sdk oci-java-sdk-common-httpclient - 3.44.3 + 3.44.4 com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.44.3 + 3.44.4 test diff --git a/bmc-common/src/main/java/com/oracle/bmc/auth/internal/GetResourcePrincipalTokenResponse.java b/bmc-common/src/main/java/com/oracle/bmc/auth/internal/GetResourcePrincipalTokenResponse.java index 0bd4aec0291..7b7d8910ac7 100644 --- a/bmc-common/src/main/java/com/oracle/bmc/auth/internal/GetResourcePrincipalTokenResponse.java +++ b/bmc-common/src/main/java/com/oracle/bmc/auth/internal/GetResourcePrincipalTokenResponse.java @@ -39,7 +39,7 @@ static class ResponseWrapper extends BmcResponse { final GetResourcePrincipalTokenResponse body; private ResponseWrapper(Builder builder) { - super(builder.__httpStatusCode__); + super(builder.__httpStatusCode__, builder.headers); this.body = builder.body; } diff --git a/bmc-common/src/main/java/com/oracle/bmc/auth/internal/ResourcePrincipalsV3FederationClient.java b/bmc-common/src/main/java/com/oracle/bmc/auth/internal/ResourcePrincipalsV3FederationClient.java index 391c8dbaefb..fe632265154 100644 --- a/bmc-common/src/main/java/com/oracle/bmc/auth/internal/ResourcePrincipalsV3FederationClient.java +++ b/bmc-common/src/main/java/com/oracle/bmc/auth/internal/ResourcePrincipalsV3FederationClient.java @@ -21,6 +21,9 @@ import java.security.interfaces.RSAPublicKey; import java.time.Duration; import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; import java.util.Optional; /** @@ -165,14 +168,15 @@ protected SecurityTokenAdapter getSecurityTokenFromServerInner( GetResourcePrincipalTokenResponse getResourcePrincipalTokenResponse = getResourcePrincipalTokenResponseWrapper.body; - String opcParentUrlHeader = - getResourcePrincipalTokenResponseWrapper.getHeaders().get(OPC_PARENT_RPT_URL_HEADER) - != null - ? getResourcePrincipalTokenResponseWrapper - .getHeaders() - .get(OPC_PARENT_RPT_URL_HEADER) - .get(0) - : null; + Map> headers = getResourcePrincipalTokenResponseWrapper.getHeaders(); + + String opcParentUrlHeader = null; + if (headers != null && !headers.isEmpty()) { + opcParentUrlHeader = + headers.get(OPC_PARENT_RPT_URL_HEADER) != null + ? headers.get(OPC_PARENT_RPT_URL_HEADER).get(0) + : null; + } String servicePrincipalSessionToken = getResourcePrincipalTokenResponse.getServicePrincipalSessionToken(); @@ -233,6 +237,15 @@ protected SecurityTokenAdapter getSecurityTokenFromServerInner( new BmcRequest<>(), GetResourcePrincipalTokenResponse.ResponseWrapper.Builder::new) .handleBody(GetResourcePrincipalTokenResponse.class, (w, b) -> w.body = b) + .handleResponseHeaderString( + OPC_PARENT_RPT_URL_HEADER, + (responseBuilder, headerValue) -> { + List headerList = new ArrayList<>(); + headerList.add(headerValue); + Map> headersMap = new HashMap<>(); + headersMap.put(OPC_PARENT_RPT_URL_HEADER, headerList); + responseBuilder.headers(headersMap); + }) .clientConfigurator(clientConfigurator) .circuitBreaker(circuitBreaker); } diff --git a/bmc-computecloudatcustomer/pom.xml b/bmc-computecloudatcustomer/pom.xml index 09d833c4269..1df91124010 100644 --- a/bmc-computecloudatcustomer/pom.xml +++ b/bmc-computecloudatcustomer/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-computecloudatcustomer @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-computecloudatcustomer/src/main/resources/com/oracle/bmc/computecloudatcustomer/client.properties b/bmc-computecloudatcustomer/src/main/resources/com/oracle/bmc/computecloudatcustomer/client.properties index 5c33dc8c70c..27e9fe6dddb 100644 --- a/bmc-computecloudatcustomer/src/main/resources/com/oracle/bmc/computecloudatcustomer/client.properties +++ b/bmc-computecloudatcustomer/src/main/resources/com/oracle/bmc/computecloudatcustomer/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20221208") \ No newline at end of file diff --git a/bmc-computeinstanceagent/pom.xml b/bmc-computeinstanceagent/pom.xml index a78e271f1b5..5e1c4ced399 100644 --- a/bmc-computeinstanceagent/pom.xml +++ b/bmc-computeinstanceagent/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-computeinstanceagent @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-computeinstanceagent/src/main/resources/com/oracle/bmc/computeinstanceagent/client.properties b/bmc-computeinstanceagent/src/main/resources/com/oracle/bmc/computeinstanceagent/client.properties index 7aa1e36e7e2..3e51431eea4 100644 --- a/bmc-computeinstanceagent/src/main/resources/com/oracle/bmc/computeinstanceagent/client.properties +++ b/bmc-computeinstanceagent/src/main/resources/com/oracle/bmc/computeinstanceagent/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20180530") \ No newline at end of file diff --git a/bmc-containerengine/pom.xml b/bmc-containerengine/pom.xml index 90c914810a7..459f59eee80 100644 --- a/bmc-containerengine/pom.xml +++ b/bmc-containerengine/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-containerengine/src/main/resources/com/oracle/bmc/containerengine/client.properties b/bmc-containerengine/src/main/resources/com/oracle/bmc/containerengine/client.properties index ed834405e93..47c1b59e73a 100644 --- a/bmc-containerengine/src/main/resources/com/oracle/bmc/containerengine/client.properties +++ b/bmc-containerengine/src/main/resources/com/oracle/bmc/containerengine/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20180222") \ No newline at end of file diff --git a/bmc-containerinstances/pom.xml b/bmc-containerinstances/pom.xml index d5d45c2ffbc..e5b37b2b216 100644 --- a/bmc-containerinstances/pom.xml +++ b/bmc-containerinstances/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-containerinstances @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-containerinstances/src/main/resources/com/oracle/bmc/containerinstances/client.properties b/bmc-containerinstances/src/main/resources/com/oracle/bmc/containerinstances/client.properties index 4aedc8c8617..f88fcf35a2b 100644 --- a/bmc-containerinstances/src/main/resources/com/oracle/bmc/containerinstances/client.properties +++ b/bmc-containerinstances/src/main/resources/com/oracle/bmc/containerinstances/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20210415") \ No newline at end of file diff --git a/bmc-core/pom.xml b/bmc-core/pom.xml index 48b7a51a3a6..8db407efa53 100644 --- a/bmc-core/pom.xml +++ b/bmc-core/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml @@ -18,12 +18,12 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 com.oracle.oci.sdk oci-java-sdk-workrequests - 3.44.3 + 3.44.4 diff --git a/bmc-core/src/main/resources/com/oracle/bmc/core/client.properties b/bmc-core/src/main/resources/com/oracle/bmc/core/client.properties index 2fa5d3f17ae..0d8dd8a77fe 100644 --- a/bmc-core/src/main/resources/com/oracle/bmc/core/client.properties +++ b/bmc-core/src/main/resources/com/oracle/bmc/core/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") \ No newline at end of file diff --git a/bmc-dashboardservice/pom.xml b/bmc-dashboardservice/pom.xml index 9cbdea706a4..1c7430768c1 100644 --- a/bmc-dashboardservice/pom.xml +++ b/bmc-dashboardservice/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-dashboardservice @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-dashboardservice/src/main/resources/com/oracle/bmc/dashboardservice/client.properties b/bmc-dashboardservice/src/main/resources/com/oracle/bmc/dashboardservice/client.properties index 5b5506f57ce..5e38e49f382 100644 --- a/bmc-dashboardservice/src/main/resources/com/oracle/bmc/dashboardservice/client.properties +++ b/bmc-dashboardservice/src/main/resources/com/oracle/bmc/dashboardservice/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20210731") \ No newline at end of file diff --git a/bmc-database/pom.xml b/bmc-database/pom.xml index 1695d080885..cfc163f3558 100644 --- a/bmc-database/pom.xml +++ b/bmc-database/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml @@ -18,12 +18,12 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 com.oracle.oci.sdk oci-java-sdk-workrequests - 3.44.3 + 3.44.4 diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/Database.java b/bmc-database/src/main/java/com/oracle/bmc/database/Database.java index 309b0d2ca9e..398c75318c4 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/Database.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/Database.java @@ -250,6 +250,23 @@ ChangeAutonomousDatabaseCompartmentResponse changeAutonomousDatabaseCompartment( changeAutonomousDatabaseSoftwareImageCompartment( ChangeAutonomousDatabaseSoftwareImageCompartmentRequest request); + /** + * Associate an Autonomous Database with a different subscription. + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use + * ChangeAutonomousDatabaseSubscription API. + */ + ChangeAutonomousDatabaseSubscriptionResponse changeAutonomousDatabaseSubscription( + ChangeAutonomousDatabaseSubscriptionRequest request); + /** * **Deprecated.** Use the {@link * #changeCloudExadataInfrastructureCompartment(ChangeCloudExadataInfrastructureCompartmentRequest) @@ -356,6 +373,24 @@ ChangeCloudAutonomousVmClusterCompartmentResponse changeCloudAutonomousVmCluster ChangeCloudExadataInfrastructureCompartmentResponse changeCloudExadataInfrastructureCompartment( ChangeCloudExadataInfrastructureCompartmentRequest request); + /** + * Associate a cloud Exadata infrastructure with a different subscription. + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use + * ChangeCloudExadataInfrastructureSubscription API. + */ + ChangeCloudExadataInfrastructureSubscriptionResponse + changeCloudExadataInfrastructureSubscription( + ChangeCloudExadataInfrastructureSubscriptionRequest request); + /** * Moves a cloud VM cluster and its dependent resources to another compartment. Applies to * Exadata Cloud Service instances and Autonomous Database on dedicated Exadata infrastructure @@ -375,6 +410,23 @@ ChangeCloudExadataInfrastructureCompartmentResponse changeCloudExadataInfrastruc ChangeCloudVmClusterCompartmentResponse changeCloudVmClusterCompartment( ChangeCloudVmClusterCompartmentRequest request); + /** + * Associate a cloud VM cluster with a different subscription. + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use + * ChangeCloudVmClusterSubscription API. + */ + ChangeCloudVmClusterSubscriptionResponse changeCloudVmClusterSubscription( + ChangeCloudVmClusterSubscriptionRequest request); + /** * Move the Database Software Image and its dependent resources to the specified compartment. * For more information about moving Databse Software Images, see [Moving Database Resources to diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsync.java b/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsync.java index ff949127bbb..9ed36578879 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsync.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsync.java @@ -252,6 +252,24 @@ java.util.concurrent.Future cancelBackup( ChangeAutonomousDatabaseSoftwareImageCompartmentResponse> handler); + /** + * Associate an Autonomous Database with a different subscription. + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @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 + changeAutonomousDatabaseSubscription( + ChangeAutonomousDatabaseSubscriptionRequest request, + com.oracle.bmc.responses.AsyncHandler< + ChangeAutonomousDatabaseSubscriptionRequest, + ChangeAutonomousDatabaseSubscriptionResponse> + handler); + /** * **Deprecated.** Use the {@link * #changeCloudExadataInfrastructureCompartment(ChangeCloudExadataInfrastructureCompartmentRequest, @@ -362,6 +380,24 @@ java.util.concurrent.Future cancelBackup( ChangeCloudExadataInfrastructureCompartmentResponse> handler); + /** + * Associate a cloud Exadata infrastructure with a different subscription. + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @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 + changeCloudExadataInfrastructureSubscription( + ChangeCloudExadataInfrastructureSubscriptionRequest request, + com.oracle.bmc.responses.AsyncHandler< + ChangeCloudExadataInfrastructureSubscriptionRequest, + ChangeCloudExadataInfrastructureSubscriptionResponse> + handler); + /** * Moves a cloud VM cluster and its dependent resources to another compartment. Applies to * Exadata Cloud Service instances and Autonomous Database on dedicated Exadata infrastructure @@ -382,6 +418,24 @@ java.util.concurrent.Future cancelBackup( ChangeCloudVmClusterCompartmentResponse> handler); + /** + * Associate a cloud VM cluster with a different subscription. + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @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 + changeCloudVmClusterSubscription( + ChangeCloudVmClusterSubscriptionRequest request, + com.oracle.bmc.responses.AsyncHandler< + ChangeCloudVmClusterSubscriptionRequest, + ChangeCloudVmClusterSubscriptionResponse> + handler); + /** * Move the Database Software Image and its dependent resources to the specified compartment. * For more information about moving Databse Software Images, see [Moving Database Resources to diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsyncClient.java b/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsyncClient.java index 123b2984b62..5147300b670 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsyncClient.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsyncClient.java @@ -566,6 +566,48 @@ public java.util.concurrent.Future cancelBackup( .callAsync(handler); } + @Override + public java.util.concurrent.Future + changeAutonomousDatabaseSubscription( + ChangeAutonomousDatabaseSubscriptionRequest request, + final com.oracle.bmc.responses.AsyncHandler< + ChangeAutonomousDatabaseSubscriptionRequest, + ChangeAutonomousDatabaseSubscriptionResponse> + handler) { + Objects.requireNonNull( + request.getChangeAutonomousDatabaseSubscriptionDetails(), + "changeAutonomousDatabaseSubscriptionDetails is required"); + + Validate.notBlank( + request.getAutonomousDatabaseId(), "autonomousDatabaseId must not be blank"); + + return clientCall(request, ChangeAutonomousDatabaseSubscriptionResponse::builder) + .logger(LOG, "changeAutonomousDatabaseSubscription") + .serviceDetails( + "Database", + "ChangeAutonomousDatabaseSubscription", + "https://docs.oracle.com/iaas/api/#/en/database/20160918/AutonomousDatabase/ChangeAutonomousDatabaseSubscription") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(ChangeAutonomousDatabaseSubscriptionRequest::builder) + .basePath("/20160918") + .appendPathParam("autonomousDatabases") + .appendPathParam(request.getAutonomousDatabaseId()) + .appendPathParam("actions") + .appendPathParam("changeSubscription") + .accept("application/json") + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .appendHeader("opc-request-id", request.getOpcRequestId()) + .appendHeader("if-match", request.getIfMatch()) + .hasBody() + .handleResponseHeaderString( + "opc-work-request-id", + ChangeAutonomousDatabaseSubscriptionResponse.Builder::opcWorkRequestId) + .handleResponseHeaderString( + "opc-request-id", + ChangeAutonomousDatabaseSubscriptionResponse.Builder::opcRequestId) + .callAsync(handler); + } + @Override public java.util.concurrent.Future changeAutonomousExadataInfrastructureCompartment( @@ -786,6 +828,50 @@ public java.util.concurrent.Future cancelBackup( .callAsync(handler); } + @Override + public java.util.concurrent.Future + changeCloudExadataInfrastructureSubscription( + ChangeCloudExadataInfrastructureSubscriptionRequest request, + final com.oracle.bmc.responses.AsyncHandler< + ChangeCloudExadataInfrastructureSubscriptionRequest, + ChangeCloudExadataInfrastructureSubscriptionResponse> + handler) { + Objects.requireNonNull( + request.getChangeCloudExadataInfrastructureSubscriptionDetails(), + "changeCloudExadataInfrastructureSubscriptionDetails is required"); + + Validate.notBlank( + request.getCloudExadataInfrastructureId(), + "cloudExadataInfrastructureId must not be blank"); + + return clientCall(request, ChangeCloudExadataInfrastructureSubscriptionResponse::builder) + .logger(LOG, "changeCloudExadataInfrastructureSubscription") + .serviceDetails( + "Database", + "ChangeCloudExadataInfrastructureSubscription", + "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudExadataInfrastructure/ChangeCloudExadataInfrastructureSubscription") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(ChangeCloudExadataInfrastructureSubscriptionRequest::builder) + .basePath("/20160918") + .appendPathParam("cloudExadataInfrastructures") + .appendPathParam(request.getCloudExadataInfrastructureId()) + .appendPathParam("actions") + .appendPathParam("changeSubscription") + .accept("application/json") + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .appendHeader("opc-request-id", request.getOpcRequestId()) + .appendHeader("if-match", request.getIfMatch()) + .hasBody() + .handleResponseHeaderString( + "opc-work-request-id", + ChangeCloudExadataInfrastructureSubscriptionResponse.Builder + ::opcWorkRequestId) + .handleResponseHeaderString( + "opc-request-id", + ChangeCloudExadataInfrastructureSubscriptionResponse.Builder::opcRequestId) + .callAsync(handler); + } + @Override public java.util.concurrent.Future changeCloudVmClusterCompartment( @@ -827,6 +913,47 @@ public java.util.concurrent.Future cancelBackup( .callAsync(handler); } + @Override + public java.util.concurrent.Future + changeCloudVmClusterSubscription( + ChangeCloudVmClusterSubscriptionRequest request, + final com.oracle.bmc.responses.AsyncHandler< + ChangeCloudVmClusterSubscriptionRequest, + ChangeCloudVmClusterSubscriptionResponse> + handler) { + Objects.requireNonNull( + request.getChangeCloudVmClusterSubscriptionDetails(), + "changeCloudVmClusterSubscriptionDetails is required"); + + Validate.notBlank(request.getCloudVmClusterId(), "cloudVmClusterId must not be blank"); + + return clientCall(request, ChangeCloudVmClusterSubscriptionResponse::builder) + .logger(LOG, "changeCloudVmClusterSubscription") + .serviceDetails( + "Database", + "ChangeCloudVmClusterSubscription", + "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudVmCluster/ChangeCloudVmClusterSubscription") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(ChangeCloudVmClusterSubscriptionRequest::builder) + .basePath("/20160918") + .appendPathParam("cloudVmClusters") + .appendPathParam(request.getCloudVmClusterId()) + .appendPathParam("actions") + .appendPathParam("changeSubscription") + .accept("application/json") + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .appendHeader("opc-request-id", request.getOpcRequestId()) + .appendHeader("if-match", request.getIfMatch()) + .hasBody() + .handleResponseHeaderString( + "opc-work-request-id", + ChangeCloudVmClusterSubscriptionResponse.Builder::opcWorkRequestId) + .handleResponseHeaderString( + "opc-request-id", + ChangeCloudVmClusterSubscriptionResponse.Builder::opcRequestId) + .callAsync(handler); + } + @Override public java.util.concurrent.Future changeDatabaseSoftwareImageCompartment( diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseClient.java b/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseClient.java index ebe4283e606..d769a065ecd 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseClient.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseClient.java @@ -550,6 +550,43 @@ public ChangeAutonomousDatabaseCompartmentResponse changeAutonomousDatabaseCompa .callSync(); } + @Override + public ChangeAutonomousDatabaseSubscriptionResponse changeAutonomousDatabaseSubscription( + ChangeAutonomousDatabaseSubscriptionRequest request) { + Objects.requireNonNull( + request.getChangeAutonomousDatabaseSubscriptionDetails(), + "changeAutonomousDatabaseSubscriptionDetails is required"); + + Validate.notBlank( + request.getAutonomousDatabaseId(), "autonomousDatabaseId must not be blank"); + + return clientCall(request, ChangeAutonomousDatabaseSubscriptionResponse::builder) + .logger(LOG, "changeAutonomousDatabaseSubscription") + .serviceDetails( + "Database", + "ChangeAutonomousDatabaseSubscription", + "https://docs.oracle.com/iaas/api/#/en/database/20160918/AutonomousDatabase/ChangeAutonomousDatabaseSubscription") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(ChangeAutonomousDatabaseSubscriptionRequest::builder) + .basePath("/20160918") + .appendPathParam("autonomousDatabases") + .appendPathParam(request.getAutonomousDatabaseId()) + .appendPathParam("actions") + .appendPathParam("changeSubscription") + .accept("application/json") + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .appendHeader("opc-request-id", request.getOpcRequestId()) + .appendHeader("if-match", request.getIfMatch()) + .hasBody() + .handleResponseHeaderString( + "opc-work-request-id", + ChangeAutonomousDatabaseSubscriptionResponse.Builder::opcWorkRequestId) + .handleResponseHeaderString( + "opc-request-id", + ChangeAutonomousDatabaseSubscriptionResponse.Builder::opcRequestId) + .callSync(); + } + @Override public ChangeAutonomousExadataInfrastructureCompartmentResponse changeAutonomousExadataInfrastructureCompartment( @@ -748,6 +785,46 @@ public ChangeBackupDestinationCompartmentResponse changeBackupDestinationCompart .callSync(); } + @Override + public ChangeCloudExadataInfrastructureSubscriptionResponse + changeCloudExadataInfrastructureSubscription( + ChangeCloudExadataInfrastructureSubscriptionRequest request) { + Objects.requireNonNull( + request.getChangeCloudExadataInfrastructureSubscriptionDetails(), + "changeCloudExadataInfrastructureSubscriptionDetails is required"); + + Validate.notBlank( + request.getCloudExadataInfrastructureId(), + "cloudExadataInfrastructureId must not be blank"); + + return clientCall(request, ChangeCloudExadataInfrastructureSubscriptionResponse::builder) + .logger(LOG, "changeCloudExadataInfrastructureSubscription") + .serviceDetails( + "Database", + "ChangeCloudExadataInfrastructureSubscription", + "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudExadataInfrastructure/ChangeCloudExadataInfrastructureSubscription") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(ChangeCloudExadataInfrastructureSubscriptionRequest::builder) + .basePath("/20160918") + .appendPathParam("cloudExadataInfrastructures") + .appendPathParam(request.getCloudExadataInfrastructureId()) + .appendPathParam("actions") + .appendPathParam("changeSubscription") + .accept("application/json") + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .appendHeader("opc-request-id", request.getOpcRequestId()) + .appendHeader("if-match", request.getIfMatch()) + .hasBody() + .handleResponseHeaderString( + "opc-work-request-id", + ChangeCloudExadataInfrastructureSubscriptionResponse.Builder + ::opcWorkRequestId) + .handleResponseHeaderString( + "opc-request-id", + ChangeCloudExadataInfrastructureSubscriptionResponse.Builder::opcRequestId) + .callSync(); + } + @Override public ChangeCloudVmClusterCompartmentResponse changeCloudVmClusterCompartment( ChangeCloudVmClusterCompartmentRequest request) { @@ -784,6 +861,42 @@ public ChangeCloudVmClusterCompartmentResponse changeCloudVmClusterCompartment( .callSync(); } + @Override + public ChangeCloudVmClusterSubscriptionResponse changeCloudVmClusterSubscription( + ChangeCloudVmClusterSubscriptionRequest request) { + Objects.requireNonNull( + request.getChangeCloudVmClusterSubscriptionDetails(), + "changeCloudVmClusterSubscriptionDetails is required"); + + Validate.notBlank(request.getCloudVmClusterId(), "cloudVmClusterId must not be blank"); + + return clientCall(request, ChangeCloudVmClusterSubscriptionResponse::builder) + .logger(LOG, "changeCloudVmClusterSubscription") + .serviceDetails( + "Database", + "ChangeCloudVmClusterSubscription", + "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudVmCluster/ChangeCloudVmClusterSubscription") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(ChangeCloudVmClusterSubscriptionRequest::builder) + .basePath("/20160918") + .appendPathParam("cloudVmClusters") + .appendPathParam(request.getCloudVmClusterId()) + .appendPathParam("actions") + .appendPathParam("changeSubscription") + .accept("application/json") + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .appendHeader("opc-request-id", request.getOpcRequestId()) + .appendHeader("if-match", request.getIfMatch()) + .hasBody() + .handleResponseHeaderString( + "opc-work-request-id", + ChangeCloudVmClusterSubscriptionResponse.Builder::opcWorkRequestId) + .handleResponseHeaderString( + "opc-request-id", + ChangeCloudVmClusterSubscriptionResponse.Builder::opcRequestId) + .callSync(); + } + @Override public ChangeDatabaseSoftwareImageCompartmentResponse changeDatabaseSoftwareImageCompartment( ChangeDatabaseSoftwareImageCompartmentRequest request) { diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseWaiters.java b/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseWaiters.java index bcfbbbf8eee..ad2314820dc 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseWaiters.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseWaiters.java @@ -692,6 +692,72 @@ public ChangeAutonomousDatabaseSoftwareImageCompartmentResponse call() request); } + /** + * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration. + * + * @param request the request to send + * @return a new {@link com.oracle.bmc.waiter.Waiter} instance + */ + public com.oracle.bmc.waiter.Waiter< + ChangeAutonomousDatabaseSubscriptionRequest, + ChangeAutonomousDatabaseSubscriptionResponse> + forChangeAutonomousDatabaseSubscription( + ChangeAutonomousDatabaseSubscriptionRequest request) { + return forChangeAutonomousDatabaseSubscription( + request, + com.oracle.bmc.waiter.Waiters.DEFAULT_POLLING_TERMINATION_STRATEGY, + com.oracle.bmc.waiter.Waiters.DEFAULT_POLLING_DELAY_STRATEGY); + } + + /** + * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the provided configuration. + * + * @param request the request to send + * @param terminationStrategy the {@link com.oracle.bmc.waiter.TerminationStrategy} to use + * @param delayStrategy the {@link com.oracle.bmc.waiter.DelayStrategy} to use + * @return a new {@link com.oracle.bmc.waiter.Waiter} instance + */ + public com.oracle.bmc.waiter.Waiter< + ChangeAutonomousDatabaseSubscriptionRequest, + ChangeAutonomousDatabaseSubscriptionResponse> + forChangeAutonomousDatabaseSubscription( + ChangeAutonomousDatabaseSubscriptionRequest request, + com.oracle.bmc.waiter.TerminationStrategy terminationStrategy, + com.oracle.bmc.waiter.DelayStrategy delayStrategy) { + if (workRequestClient == null) { + throw new IllegalStateException( + "A WorkRequestClient must be supplied to this waiter for this operation"); + } + + return new com.oracle.bmc.waiter.internal.SimpleWaiterImpl<>( + executorService, + new java.util.concurrent.Callable() { + @Override + public ChangeAutonomousDatabaseSubscriptionResponse call() throws Exception { + final ChangeAutonomousDatabaseSubscriptionResponse response = + client.changeAutonomousDatabaseSubscription(request); + + if (response.getOpcWorkRequestId() != null) { + final com.oracle.bmc.workrequests.requests.GetWorkRequestRequest + getWorkRequestRequest = + com.oracle.bmc.workrequests.requests + .GetWorkRequestRequest.builder() + .workRequestId(response.getOpcWorkRequestId()) + .build(); + workRequestClient + .getWaiters() + .forWorkRequest( + getWorkRequestRequest, + terminationStrategy, + delayStrategy) + .execute(); + } + return response; + } + }, + request); + } + /** * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration. * @@ -1028,6 +1094,74 @@ public ChangeCloudExadataInfrastructureCompartmentResponse call() request); } + /** + * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration. + * + * @param request the request to send + * @return a new {@link com.oracle.bmc.waiter.Waiter} instance + */ + public com.oracle.bmc.waiter.Waiter< + ChangeCloudExadataInfrastructureSubscriptionRequest, + ChangeCloudExadataInfrastructureSubscriptionResponse> + forChangeCloudExadataInfrastructureSubscription( + ChangeCloudExadataInfrastructureSubscriptionRequest request) { + return forChangeCloudExadataInfrastructureSubscription( + request, + com.oracle.bmc.waiter.Waiters.DEFAULT_POLLING_TERMINATION_STRATEGY, + com.oracle.bmc.waiter.Waiters.DEFAULT_POLLING_DELAY_STRATEGY); + } + + /** + * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the provided configuration. + * + * @param request the request to send + * @param terminationStrategy the {@link com.oracle.bmc.waiter.TerminationStrategy} to use + * @param delayStrategy the {@link com.oracle.bmc.waiter.DelayStrategy} to use + * @return a new {@link com.oracle.bmc.waiter.Waiter} instance + */ + public com.oracle.bmc.waiter.Waiter< + ChangeCloudExadataInfrastructureSubscriptionRequest, + ChangeCloudExadataInfrastructureSubscriptionResponse> + forChangeCloudExadataInfrastructureSubscription( + ChangeCloudExadataInfrastructureSubscriptionRequest request, + com.oracle.bmc.waiter.TerminationStrategy terminationStrategy, + com.oracle.bmc.waiter.DelayStrategy delayStrategy) { + if (workRequestClient == null) { + throw new IllegalStateException( + "A WorkRequestClient must be supplied to this waiter for this operation"); + } + + return new com.oracle.bmc.waiter.internal.SimpleWaiterImpl<>( + executorService, + new java.util.concurrent.Callable< + ChangeCloudExadataInfrastructureSubscriptionResponse>() { + @Override + public ChangeCloudExadataInfrastructureSubscriptionResponse call() + throws Exception { + final ChangeCloudExadataInfrastructureSubscriptionResponse response = + client.changeCloudExadataInfrastructureSubscription(request); + + if (response.getOpcWorkRequestId() != null) { + final com.oracle.bmc.workrequests.requests.GetWorkRequestRequest + getWorkRequestRequest = + com.oracle.bmc.workrequests.requests + .GetWorkRequestRequest.builder() + .workRequestId(response.getOpcWorkRequestId()) + .build(); + workRequestClient + .getWaiters() + .forWorkRequest( + getWorkRequestRequest, + terminationStrategy, + delayStrategy) + .execute(); + } + return response; + } + }, + request); + } + /** * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration. * @@ -1091,6 +1225,71 @@ public ChangeCloudVmClusterCompartmentResponse call() throws Exception { request); } + /** + * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration. + * + * @param request the request to send + * @return a new {@link com.oracle.bmc.waiter.Waiter} instance + */ + public com.oracle.bmc.waiter.Waiter< + ChangeCloudVmClusterSubscriptionRequest, + ChangeCloudVmClusterSubscriptionResponse> + forChangeCloudVmClusterSubscription(ChangeCloudVmClusterSubscriptionRequest request) { + return forChangeCloudVmClusterSubscription( + request, + com.oracle.bmc.waiter.Waiters.DEFAULT_POLLING_TERMINATION_STRATEGY, + com.oracle.bmc.waiter.Waiters.DEFAULT_POLLING_DELAY_STRATEGY); + } + + /** + * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the provided configuration. + * + * @param request the request to send + * @param terminationStrategy the {@link com.oracle.bmc.waiter.TerminationStrategy} to use + * @param delayStrategy the {@link com.oracle.bmc.waiter.DelayStrategy} to use + * @return a new {@link com.oracle.bmc.waiter.Waiter} instance + */ + public com.oracle.bmc.waiter.Waiter< + ChangeCloudVmClusterSubscriptionRequest, + ChangeCloudVmClusterSubscriptionResponse> + forChangeCloudVmClusterSubscription( + ChangeCloudVmClusterSubscriptionRequest request, + com.oracle.bmc.waiter.TerminationStrategy terminationStrategy, + com.oracle.bmc.waiter.DelayStrategy delayStrategy) { + if (workRequestClient == null) { + throw new IllegalStateException( + "A WorkRequestClient must be supplied to this waiter for this operation"); + } + + return new com.oracle.bmc.waiter.internal.SimpleWaiterImpl<>( + executorService, + new java.util.concurrent.Callable() { + @Override + public ChangeCloudVmClusterSubscriptionResponse call() throws Exception { + final ChangeCloudVmClusterSubscriptionResponse response = + client.changeCloudVmClusterSubscription(request); + + if (response.getOpcWorkRequestId() != null) { + final com.oracle.bmc.workrequests.requests.GetWorkRequestRequest + getWorkRequestRequest = + com.oracle.bmc.workrequests.requests + .GetWorkRequestRequest.builder() + .workRequestId(response.getOpcWorkRequestId()) + .build(); + workRequestClient + .getWaiters() + .forWorkRequest( + getWorkRequestRequest, + terminationStrategy, + delayStrategy) + .execute(); + } + return response; + } + }, + request); + } + /** * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration. * diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabase.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabase.java index 14c99423ca1..78398da3279 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabase.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabase.java @@ -26,6 +26,7 @@ public final class AutonomousDatabase @java.beans.ConstructorProperties({ "id", "compartmentId", + "subscriptionId", "lifecycleState", "lifecycleDetails", "kmsKeyId", @@ -67,6 +68,7 @@ public final class AutonomousDatabase "connectionUrls", "publicConnectionUrls", "licenseModel", + "byolComputeCountLimit", "usedDataStorageSizeInTBs", "freeformTags", "definedTags", @@ -143,6 +145,7 @@ public final class AutonomousDatabase public AutonomousDatabase( String id, String compartmentId, + String subscriptionId, LifecycleState lifecycleState, String lifecycleDetails, String kmsKeyId, @@ -184,6 +187,7 @@ public AutonomousDatabase( AutonomousDatabaseConnectionUrls connectionUrls, AutonomousDatabaseConnectionUrls publicConnectionUrls, LicenseModel licenseModel, + Float byolComputeCountLimit, Integer usedDataStorageSizeInTBs, java.util.Map freeformTags, java.util.Map> definedTags, @@ -259,6 +263,7 @@ public AutonomousDatabase( super(); this.id = id; this.compartmentId = compartmentId; + this.subscriptionId = subscriptionId; this.lifecycleState = lifecycleState; this.lifecycleDetails = lifecycleDetails; this.kmsKeyId = kmsKeyId; @@ -300,6 +305,7 @@ public AutonomousDatabase( this.connectionUrls = connectionUrls; this.publicConnectionUrls = publicConnectionUrls; this.licenseModel = licenseModel; + this.byolComputeCountLimit = byolComputeCountLimit; this.usedDataStorageSizeInTBs = usedDataStorageSizeInTBs; this.freeformTags = freeformTags; this.definedTags = definedTags; @@ -414,6 +420,25 @@ public Builder compartmentId(String compartmentId) { this.__explicitlySet__.add("compartmentId"); return this; } + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + */ + @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") + private String subscriptionId; + + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + * + * @param subscriptionId the value to set + * @return this builder + */ + public Builder subscriptionId(String subscriptionId) { + this.subscriptionId = subscriptionId; + this.__explicitlySet__.add("subscriptionId"); + return this; + } /** The current state of the Autonomous Database. */ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") private LifecycleState lifecycleState; @@ -1286,6 +1311,27 @@ public Builder licenseModel(LicenseModel licenseModel) { this.__explicitlySet__.add("licenseModel"); return this; } + /** + * The maximum number of CPUs allowed with a Bring Your Own License (BYOL), including those + * used for auto-scaling, disaster recovery, tools, etc. Any CPU usage above this limit is + * considered as License Included and billed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("byolComputeCountLimit") + private Float byolComputeCountLimit; + + /** + * The maximum number of CPUs allowed with a Bring Your Own License (BYOL), including those + * used for auto-scaling, disaster recovery, tools, etc. Any CPU usage above this limit is + * considered as License Included and billed. + * + * @param byolComputeCountLimit the value to set + * @return this builder + */ + public Builder byolComputeCountLimit(Float byolComputeCountLimit) { + this.byolComputeCountLimit = byolComputeCountLimit; + this.__explicitlySet__.add("byolComputeCountLimit"); + return this; + } /** * The amount of storage that has been used for Autonomous Databases in dedicated * infrastructure, in terabytes. @@ -2905,6 +2951,7 @@ public AutonomousDatabase build() { new AutonomousDatabase( this.id, this.compartmentId, + this.subscriptionId, this.lifecycleState, this.lifecycleDetails, this.kmsKeyId, @@ -2946,6 +2993,7 @@ public AutonomousDatabase build() { this.connectionUrls, this.publicConnectionUrls, this.licenseModel, + this.byolComputeCountLimit, this.usedDataStorageSizeInTBs, this.freeformTags, this.definedTags, @@ -3032,6 +3080,9 @@ public Builder copy(AutonomousDatabase model) { if (model.wasPropertyExplicitlySet("compartmentId")) { this.compartmentId(model.getCompartmentId()); } + if (model.wasPropertyExplicitlySet("subscriptionId")) { + this.subscriptionId(model.getSubscriptionId()); + } if (model.wasPropertyExplicitlySet("lifecycleState")) { this.lifecycleState(model.getLifecycleState()); } @@ -3158,6 +3209,9 @@ public Builder copy(AutonomousDatabase model) { if (model.wasPropertyExplicitlySet("licenseModel")) { this.licenseModel(model.getLicenseModel()); } + if (model.wasPropertyExplicitlySet("byolComputeCountLimit")) { + this.byolComputeCountLimit(model.getByolComputeCountLimit()); + } if (model.wasPropertyExplicitlySet("usedDataStorageSizeInTBs")) { this.usedDataStorageSizeInTBs(model.getUsedDataStorageSizeInTBs()); } @@ -3423,6 +3477,23 @@ public String getCompartmentId() { return compartmentId; } + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + */ + @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") + private final String subscriptionId; + + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + * + * @return the value + */ + public String getSubscriptionId() { + return subscriptionId; + } + /** The current state of the Autonomous Database. */ public enum LifecycleState implements com.oracle.bmc.http.internal.BmcEnum { Provisioning("PROVISIONING"), @@ -4419,6 +4490,25 @@ public LicenseModel getLicenseModel() { return licenseModel; } + /** + * The maximum number of CPUs allowed with a Bring Your Own License (BYOL), including those used + * for auto-scaling, disaster recovery, tools, etc. Any CPU usage above this limit is considered + * as License Included and billed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("byolComputeCountLimit") + private final Float byolComputeCountLimit; + + /** + * The maximum number of CPUs allowed with a Bring Your Own License (BYOL), including those used + * for auto-scaling, disaster recovery, tools, etc. Any CPU usage above this limit is considered + * as License Included and billed. + * + * @return the value + */ + public Float getByolComputeCountLimit() { + return byolComputeCountLimit; + } + /** * The amount of storage that has been used for Autonomous Databases in dedicated * infrastructure, in terabytes. @@ -6581,6 +6671,7 @@ public String toString(boolean includeByteArrayContents) { sb.append("super=").append(super.toString()); sb.append("id=").append(String.valueOf(this.id)); sb.append(", compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(", subscriptionId=").append(String.valueOf(this.subscriptionId)); sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState)); sb.append(", lifecycleDetails=").append(String.valueOf(this.lifecycleDetails)); sb.append(", kmsKeyId=").append(String.valueOf(this.kmsKeyId)); @@ -6631,6 +6722,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", connectionUrls=").append(String.valueOf(this.connectionUrls)); sb.append(", publicConnectionUrls=").append(String.valueOf(this.publicConnectionUrls)); sb.append(", licenseModel=").append(String.valueOf(this.licenseModel)); + sb.append(", byolComputeCountLimit=").append(String.valueOf(this.byolComputeCountLimit)); sb.append(", usedDataStorageSizeInTBs=") .append(String.valueOf(this.usedDataStorageSizeInTBs)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); @@ -6745,6 +6837,7 @@ public boolean equals(Object o) { AutonomousDatabase other = (AutonomousDatabase) o; return java.util.Objects.equals(this.id, other.id) && java.util.Objects.equals(this.compartmentId, other.compartmentId) + && java.util.Objects.equals(this.subscriptionId, other.subscriptionId) && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) && java.util.Objects.equals(this.lifecycleDetails, other.lifecycleDetails) && java.util.Objects.equals(this.kmsKeyId, other.kmsKeyId) @@ -6800,6 +6893,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.connectionUrls, other.connectionUrls) && java.util.Objects.equals(this.publicConnectionUrls, other.publicConnectionUrls) && java.util.Objects.equals(this.licenseModel, other.licenseModel) + && java.util.Objects.equals(this.byolComputeCountLimit, other.byolComputeCountLimit) && java.util.Objects.equals( this.usedDataStorageSizeInTBs, other.usedDataStorageSizeInTBs) && java.util.Objects.equals(this.freeformTags, other.freeformTags) @@ -6914,6 +7008,9 @@ public int hashCode() { result = (result * PRIME) + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = + (result * PRIME) + + (this.subscriptionId == null ? 43 : this.subscriptionId.hashCode()); result = (result * PRIME) + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode()); @@ -7039,6 +7136,11 @@ public int hashCode() { ? 43 : this.publicConnectionUrls.hashCode()); result = (result * PRIME) + (this.licenseModel == null ? 43 : this.licenseModel.hashCode()); + result = + (result * PRIME) + + (this.byolComputeCountLimit == null + ? 43 + : this.byolComputeCountLimit.hashCode()); result = (result * PRIME) + (this.usedDataStorageSizeInTBs == null diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseSummary.java index 7c256770e9f..2e3a8b8b491 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseSummary.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseSummary.java @@ -29,6 +29,7 @@ public final class AutonomousDatabaseSummary @java.beans.ConstructorProperties({ "id", "compartmentId", + "subscriptionId", "lifecycleState", "lifecycleDetails", "kmsKeyId", @@ -70,6 +71,7 @@ public final class AutonomousDatabaseSummary "connectionUrls", "publicConnectionUrls", "licenseModel", + "byolComputeCountLimit", "usedDataStorageSizeInTBs", "freeformTags", "definedTags", @@ -146,6 +148,7 @@ public final class AutonomousDatabaseSummary public AutonomousDatabaseSummary( String id, String compartmentId, + String subscriptionId, LifecycleState lifecycleState, String lifecycleDetails, String kmsKeyId, @@ -187,6 +190,7 @@ public AutonomousDatabaseSummary( AutonomousDatabaseConnectionUrls connectionUrls, AutonomousDatabaseConnectionUrls publicConnectionUrls, LicenseModel licenseModel, + Float byolComputeCountLimit, Integer usedDataStorageSizeInTBs, java.util.Map freeformTags, java.util.Map> definedTags, @@ -262,6 +266,7 @@ public AutonomousDatabaseSummary( super(); this.id = id; this.compartmentId = compartmentId; + this.subscriptionId = subscriptionId; this.lifecycleState = lifecycleState; this.lifecycleDetails = lifecycleDetails; this.kmsKeyId = kmsKeyId; @@ -303,6 +308,7 @@ public AutonomousDatabaseSummary( this.connectionUrls = connectionUrls; this.publicConnectionUrls = publicConnectionUrls; this.licenseModel = licenseModel; + this.byolComputeCountLimit = byolComputeCountLimit; this.usedDataStorageSizeInTBs = usedDataStorageSizeInTBs; this.freeformTags = freeformTags; this.definedTags = definedTags; @@ -417,6 +423,25 @@ public Builder compartmentId(String compartmentId) { this.__explicitlySet__.add("compartmentId"); return this; } + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + */ + @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") + private String subscriptionId; + + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + * + * @param subscriptionId the value to set + * @return this builder + */ + public Builder subscriptionId(String subscriptionId) { + this.subscriptionId = subscriptionId; + this.__explicitlySet__.add("subscriptionId"); + return this; + } /** The current state of the Autonomous Database. */ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") private LifecycleState lifecycleState; @@ -1289,6 +1314,27 @@ public Builder licenseModel(LicenseModel licenseModel) { this.__explicitlySet__.add("licenseModel"); return this; } + /** + * The maximum number of CPUs allowed with a Bring Your Own License (BYOL), including those + * used for auto-scaling, disaster recovery, tools, etc. Any CPU usage above this limit is + * considered as License Included and billed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("byolComputeCountLimit") + private Float byolComputeCountLimit; + + /** + * The maximum number of CPUs allowed with a Bring Your Own License (BYOL), including those + * used for auto-scaling, disaster recovery, tools, etc. Any CPU usage above this limit is + * considered as License Included and billed. + * + * @param byolComputeCountLimit the value to set + * @return this builder + */ + public Builder byolComputeCountLimit(Float byolComputeCountLimit) { + this.byolComputeCountLimit = byolComputeCountLimit; + this.__explicitlySet__.add("byolComputeCountLimit"); + return this; + } /** * The amount of storage that has been used for Autonomous Databases in dedicated * infrastructure, in terabytes. @@ -2908,6 +2954,7 @@ public AutonomousDatabaseSummary build() { new AutonomousDatabaseSummary( this.id, this.compartmentId, + this.subscriptionId, this.lifecycleState, this.lifecycleDetails, this.kmsKeyId, @@ -2949,6 +2996,7 @@ public AutonomousDatabaseSummary build() { this.connectionUrls, this.publicConnectionUrls, this.licenseModel, + this.byolComputeCountLimit, this.usedDataStorageSizeInTBs, this.freeformTags, this.definedTags, @@ -3035,6 +3083,9 @@ public Builder copy(AutonomousDatabaseSummary model) { if (model.wasPropertyExplicitlySet("compartmentId")) { this.compartmentId(model.getCompartmentId()); } + if (model.wasPropertyExplicitlySet("subscriptionId")) { + this.subscriptionId(model.getSubscriptionId()); + } if (model.wasPropertyExplicitlySet("lifecycleState")) { this.lifecycleState(model.getLifecycleState()); } @@ -3161,6 +3212,9 @@ public Builder copy(AutonomousDatabaseSummary model) { if (model.wasPropertyExplicitlySet("licenseModel")) { this.licenseModel(model.getLicenseModel()); } + if (model.wasPropertyExplicitlySet("byolComputeCountLimit")) { + this.byolComputeCountLimit(model.getByolComputeCountLimit()); + } if (model.wasPropertyExplicitlySet("usedDataStorageSizeInTBs")) { this.usedDataStorageSizeInTBs(model.getUsedDataStorageSizeInTBs()); } @@ -3426,6 +3480,23 @@ public String getCompartmentId() { return compartmentId; } + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + */ + @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") + private final String subscriptionId; + + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + * + * @return the value + */ + public String getSubscriptionId() { + return subscriptionId; + } + /** The current state of the Autonomous Database. */ public enum LifecycleState implements com.oracle.bmc.http.internal.BmcEnum { Provisioning("PROVISIONING"), @@ -4422,6 +4493,25 @@ public LicenseModel getLicenseModel() { return licenseModel; } + /** + * The maximum number of CPUs allowed with a Bring Your Own License (BYOL), including those used + * for auto-scaling, disaster recovery, tools, etc. Any CPU usage above this limit is considered + * as License Included and billed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("byolComputeCountLimit") + private final Float byolComputeCountLimit; + + /** + * The maximum number of CPUs allowed with a Bring Your Own License (BYOL), including those used + * for auto-scaling, disaster recovery, tools, etc. Any CPU usage above this limit is considered + * as License Included and billed. + * + * @return the value + */ + public Float getByolComputeCountLimit() { + return byolComputeCountLimit; + } + /** * The amount of storage that has been used for Autonomous Databases in dedicated * infrastructure, in terabytes. @@ -6584,6 +6674,7 @@ public String toString(boolean includeByteArrayContents) { sb.append("super=").append(super.toString()); sb.append("id=").append(String.valueOf(this.id)); sb.append(", compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(", subscriptionId=").append(String.valueOf(this.subscriptionId)); sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState)); sb.append(", lifecycleDetails=").append(String.valueOf(this.lifecycleDetails)); sb.append(", kmsKeyId=").append(String.valueOf(this.kmsKeyId)); @@ -6634,6 +6725,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", connectionUrls=").append(String.valueOf(this.connectionUrls)); sb.append(", publicConnectionUrls=").append(String.valueOf(this.publicConnectionUrls)); sb.append(", licenseModel=").append(String.valueOf(this.licenseModel)); + sb.append(", byolComputeCountLimit=").append(String.valueOf(this.byolComputeCountLimit)); sb.append(", usedDataStorageSizeInTBs=") .append(String.valueOf(this.usedDataStorageSizeInTBs)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); @@ -6748,6 +6840,7 @@ public boolean equals(Object o) { AutonomousDatabaseSummary other = (AutonomousDatabaseSummary) o; return java.util.Objects.equals(this.id, other.id) && java.util.Objects.equals(this.compartmentId, other.compartmentId) + && java.util.Objects.equals(this.subscriptionId, other.subscriptionId) && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) && java.util.Objects.equals(this.lifecycleDetails, other.lifecycleDetails) && java.util.Objects.equals(this.kmsKeyId, other.kmsKeyId) @@ -6803,6 +6896,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.connectionUrls, other.connectionUrls) && java.util.Objects.equals(this.publicConnectionUrls, other.publicConnectionUrls) && java.util.Objects.equals(this.licenseModel, other.licenseModel) + && java.util.Objects.equals(this.byolComputeCountLimit, other.byolComputeCountLimit) && java.util.Objects.equals( this.usedDataStorageSizeInTBs, other.usedDataStorageSizeInTBs) && java.util.Objects.equals(this.freeformTags, other.freeformTags) @@ -6917,6 +7011,9 @@ public int hashCode() { result = (result * PRIME) + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = + (result * PRIME) + + (this.subscriptionId == null ? 43 : this.subscriptionId.hashCode()); result = (result * PRIME) + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode()); @@ -7042,6 +7139,11 @@ public int hashCode() { ? 43 : this.publicConnectionUrls.hashCode()); result = (result * PRIME) + (this.licenseModel == null ? 43 : this.licenseModel.hashCode()); + result = + (result * PRIME) + + (this.byolComputeCountLimit == null + ? 43 + : this.byolComputeCountLimit.hashCode()); result = (result * PRIME) + (this.usedDataStorageSizeInTBs == null diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/ChangeAutonomousDatabaseSubscriptionDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/ChangeAutonomousDatabaseSubscriptionDetails.java new file mode 100644 index 00000000000..83048ab1eef --- /dev/null +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/ChangeAutonomousDatabaseSubscriptionDetails.java @@ -0,0 +1,183 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.database.model; + +/** + * The configuration details for associating the Autonomous Database with a different subscription. + *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ChangeAutonomousDatabaseSubscriptionDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ChangeAutonomousDatabaseSubscriptionDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"subscriptionId", "isDefault"}) + public ChangeAutonomousDatabaseSubscriptionDetails(String subscriptionId, Boolean isDefault) { + super(); + this.subscriptionId = subscriptionId; + this.isDefault = isDefault; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + */ + @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") + private String subscriptionId; + + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + * + * @param subscriptionId the value to set + * @return this builder + */ + public Builder subscriptionId(String subscriptionId) { + this.subscriptionId = subscriptionId; + this.__explicitlySet__.add("subscriptionId"); + return this; + } + /** Indicates if the subscription is UCM or not. */ + @com.fasterxml.jackson.annotation.JsonProperty("isDefault") + private Boolean isDefault; + + /** + * Indicates if the subscription is UCM or not. + * + * @param isDefault the value to set + * @return this builder + */ + public Builder isDefault(Boolean isDefault) { + this.isDefault = isDefault; + this.__explicitlySet__.add("isDefault"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ChangeAutonomousDatabaseSubscriptionDetails build() { + ChangeAutonomousDatabaseSubscriptionDetails model = + new ChangeAutonomousDatabaseSubscriptionDetails( + this.subscriptionId, this.isDefault); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ChangeAutonomousDatabaseSubscriptionDetails model) { + if (model.wasPropertyExplicitlySet("subscriptionId")) { + this.subscriptionId(model.getSubscriptionId()); + } + if (model.wasPropertyExplicitlySet("isDefault")) { + this.isDefault(model.getIsDefault()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + */ + @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") + private final String subscriptionId; + + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + * + * @return the value + */ + public String getSubscriptionId() { + return subscriptionId; + } + + /** Indicates if the subscription is UCM or not. */ + @com.fasterxml.jackson.annotation.JsonProperty("isDefault") + private final Boolean isDefault; + + /** + * Indicates if the subscription is UCM or not. + * + * @return the value + */ + public Boolean getIsDefault() { + return isDefault; + } + + @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("ChangeAutonomousDatabaseSubscriptionDetails("); + sb.append("super=").append(super.toString()); + sb.append("subscriptionId=").append(String.valueOf(this.subscriptionId)); + sb.append(", isDefault=").append(String.valueOf(this.isDefault)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ChangeAutonomousDatabaseSubscriptionDetails)) { + return false; + } + + ChangeAutonomousDatabaseSubscriptionDetails other = + (ChangeAutonomousDatabaseSubscriptionDetails) o; + return java.util.Objects.equals(this.subscriptionId, other.subscriptionId) + && java.util.Objects.equals(this.isDefault, other.isDefault) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.subscriptionId == null ? 43 : this.subscriptionId.hashCode()); + result = (result * PRIME) + (this.isDefault == null ? 43 : this.isDefault.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/ChangeCloudExadataInfrastructureSubscriptionDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/ChangeCloudExadataInfrastructureSubscriptionDetails.java new file mode 100644 index 00000000000..8a71145be5a --- /dev/null +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/ChangeCloudExadataInfrastructureSubscriptionDetails.java @@ -0,0 +1,184 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.database.model; + +/** + * The configuration details for associating the cloud Exadata infrastructure resource with a + * different subscription.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ChangeCloudExadataInfrastructureSubscriptionDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ChangeCloudExadataInfrastructureSubscriptionDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"subscriptionId", "isDefault"}) + public ChangeCloudExadataInfrastructureSubscriptionDetails( + String subscriptionId, Boolean isDefault) { + super(); + this.subscriptionId = subscriptionId; + this.isDefault = isDefault; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + */ + @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") + private String subscriptionId; + + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + * + * @param subscriptionId the value to set + * @return this builder + */ + public Builder subscriptionId(String subscriptionId) { + this.subscriptionId = subscriptionId; + this.__explicitlySet__.add("subscriptionId"); + return this; + } + /** Indicates if the subscription is UCM or not. */ + @com.fasterxml.jackson.annotation.JsonProperty("isDefault") + private Boolean isDefault; + + /** + * Indicates if the subscription is UCM or not. + * + * @param isDefault the value to set + * @return this builder + */ + public Builder isDefault(Boolean isDefault) { + this.isDefault = isDefault; + this.__explicitlySet__.add("isDefault"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ChangeCloudExadataInfrastructureSubscriptionDetails build() { + ChangeCloudExadataInfrastructureSubscriptionDetails model = + new ChangeCloudExadataInfrastructureSubscriptionDetails( + this.subscriptionId, this.isDefault); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ChangeCloudExadataInfrastructureSubscriptionDetails model) { + if (model.wasPropertyExplicitlySet("subscriptionId")) { + this.subscriptionId(model.getSubscriptionId()); + } + if (model.wasPropertyExplicitlySet("isDefault")) { + this.isDefault(model.getIsDefault()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + */ + @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") + private final String subscriptionId; + + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + * + * @return the value + */ + public String getSubscriptionId() { + return subscriptionId; + } + + /** Indicates if the subscription is UCM or not. */ + @com.fasterxml.jackson.annotation.JsonProperty("isDefault") + private final Boolean isDefault; + + /** + * Indicates if the subscription is UCM or not. + * + * @return the value + */ + public Boolean getIsDefault() { + return isDefault; + } + + @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("ChangeCloudExadataInfrastructureSubscriptionDetails("); + sb.append("super=").append(super.toString()); + sb.append("subscriptionId=").append(String.valueOf(this.subscriptionId)); + sb.append(", isDefault=").append(String.valueOf(this.isDefault)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ChangeCloudExadataInfrastructureSubscriptionDetails)) { + return false; + } + + ChangeCloudExadataInfrastructureSubscriptionDetails other = + (ChangeCloudExadataInfrastructureSubscriptionDetails) o; + return java.util.Objects.equals(this.subscriptionId, other.subscriptionId) + && java.util.Objects.equals(this.isDefault, other.isDefault) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.subscriptionId == null ? 43 : this.subscriptionId.hashCode()); + result = (result * PRIME) + (this.isDefault == null ? 43 : this.isDefault.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/ChangeCloudVmClusterSubscriptionDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/ChangeCloudVmClusterSubscriptionDetails.java new file mode 100644 index 00000000000..fba04f167b6 --- /dev/null +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/ChangeCloudVmClusterSubscriptionDetails.java @@ -0,0 +1,182 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.database.model; + +/** + * The configuration details for associating the cloud VM cluster resource with a different + * subscription.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ChangeCloudVmClusterSubscriptionDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ChangeCloudVmClusterSubscriptionDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"subscriptionId", "isDefault"}) + public ChangeCloudVmClusterSubscriptionDetails(String subscriptionId, Boolean isDefault) { + super(); + this.subscriptionId = subscriptionId; + this.isDefault = isDefault; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + */ + @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") + private String subscriptionId; + + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + * + * @param subscriptionId the value to set + * @return this builder + */ + public Builder subscriptionId(String subscriptionId) { + this.subscriptionId = subscriptionId; + this.__explicitlySet__.add("subscriptionId"); + return this; + } + /** Indicates if the subscription is UCM or not. */ + @com.fasterxml.jackson.annotation.JsonProperty("isDefault") + private Boolean isDefault; + + /** + * Indicates if the subscription is UCM or not. + * + * @param isDefault the value to set + * @return this builder + */ + public Builder isDefault(Boolean isDefault) { + this.isDefault = isDefault; + this.__explicitlySet__.add("isDefault"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ChangeCloudVmClusterSubscriptionDetails build() { + ChangeCloudVmClusterSubscriptionDetails model = + new ChangeCloudVmClusterSubscriptionDetails( + this.subscriptionId, this.isDefault); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ChangeCloudVmClusterSubscriptionDetails model) { + if (model.wasPropertyExplicitlySet("subscriptionId")) { + this.subscriptionId(model.getSubscriptionId()); + } + if (model.wasPropertyExplicitlySet("isDefault")) { + this.isDefault(model.getIsDefault()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + */ + @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") + private final String subscriptionId; + + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + * + * @return the value + */ + public String getSubscriptionId() { + return subscriptionId; + } + + /** Indicates if the subscription is UCM or not. */ + @com.fasterxml.jackson.annotation.JsonProperty("isDefault") + private final Boolean isDefault; + + /** + * Indicates if the subscription is UCM or not. + * + * @return the value + */ + public Boolean getIsDefault() { + return isDefault; + } + + @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("ChangeCloudVmClusterSubscriptionDetails("); + sb.append("super=").append(super.toString()); + sb.append("subscriptionId=").append(String.valueOf(this.subscriptionId)); + sb.append(", isDefault=").append(String.valueOf(this.isDefault)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ChangeCloudVmClusterSubscriptionDetails)) { + return false; + } + + ChangeCloudVmClusterSubscriptionDetails other = (ChangeCloudVmClusterSubscriptionDetails) o; + return java.util.Objects.equals(this.subscriptionId, other.subscriptionId) + && java.util.Objects.equals(this.isDefault, other.isDefault) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.subscriptionId == null ? 43 : this.subscriptionId.hashCode()); + result = (result * PRIME) + (this.isDefault == null ? 43 : this.isDefault.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/ChangeSubscriptionDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/ChangeSubscriptionDetails.java new file mode 100644 index 00000000000..e58b42fc461 --- /dev/null +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/ChangeSubscriptionDetails.java @@ -0,0 +1,180 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.database.model; + +/** + * The configuration details for associating the resource with a different subscription.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ChangeSubscriptionDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ChangeSubscriptionDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"subscriptionId", "isDefault"}) + public ChangeSubscriptionDetails(String subscriptionId, Boolean isDefault) { + super(); + this.subscriptionId = subscriptionId; + this.isDefault = isDefault; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + */ + @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") + private String subscriptionId; + + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + * + * @param subscriptionId the value to set + * @return this builder + */ + public Builder subscriptionId(String subscriptionId) { + this.subscriptionId = subscriptionId; + this.__explicitlySet__.add("subscriptionId"); + return this; + } + /** Indicates if the subscription is UCM or not. */ + @com.fasterxml.jackson.annotation.JsonProperty("isDefault") + private Boolean isDefault; + + /** + * Indicates if the subscription is UCM or not. + * + * @param isDefault the value to set + * @return this builder + */ + public Builder isDefault(Boolean isDefault) { + this.isDefault = isDefault; + this.__explicitlySet__.add("isDefault"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ChangeSubscriptionDetails build() { + ChangeSubscriptionDetails model = + new ChangeSubscriptionDetails(this.subscriptionId, this.isDefault); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ChangeSubscriptionDetails model) { + if (model.wasPropertyExplicitlySet("subscriptionId")) { + this.subscriptionId(model.getSubscriptionId()); + } + if (model.wasPropertyExplicitlySet("isDefault")) { + this.isDefault(model.getIsDefault()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + */ + @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") + private final String subscriptionId; + + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + * + * @return the value + */ + public String getSubscriptionId() { + return subscriptionId; + } + + /** Indicates if the subscription is UCM or not. */ + @com.fasterxml.jackson.annotation.JsonProperty("isDefault") + private final Boolean isDefault; + + /** + * Indicates if the subscription is UCM or not. + * + * @return the value + */ + public Boolean getIsDefault() { + return isDefault; + } + + @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("ChangeSubscriptionDetails("); + sb.append("super=").append(super.toString()); + sb.append("subscriptionId=").append(String.valueOf(this.subscriptionId)); + sb.append(", isDefault=").append(String.valueOf(this.isDefault)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ChangeSubscriptionDetails)) { + return false; + } + + ChangeSubscriptionDetails other = (ChangeSubscriptionDetails) o; + return java.util.Objects.equals(this.subscriptionId, other.subscriptionId) + && java.util.Objects.equals(this.isDefault, other.isDefault) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.subscriptionId == null ? 43 : this.subscriptionId.hashCode()); + result = (result * PRIME) + (this.isDefault == null ? 43 : this.isDefault.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudExadataInfrastructure.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudExadataInfrastructure.java index 7017dcc0c15..14f223e3eb4 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudExadataInfrastructure.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudExadataInfrastructure.java @@ -28,6 +28,7 @@ public final class CloudExadataInfrastructure "id", "compartmentId", "clusterPlacementGroupId", + "subscriptionId", "lifecycleState", "displayName", "shape", @@ -65,6 +66,7 @@ public CloudExadataInfrastructure( String id, String compartmentId, String clusterPlacementGroupId, + String subscriptionId, LifecycleState lifecycleState, String displayName, String shape, @@ -101,6 +103,7 @@ public CloudExadataInfrastructure( this.id = id; this.compartmentId = compartmentId; this.clusterPlacementGroupId = clusterPlacementGroupId; + this.subscriptionId = subscriptionId; this.lifecycleState = lifecycleState; this.displayName = displayName; this.shape = shape; @@ -194,6 +197,25 @@ public Builder clusterPlacementGroupId(String clusterPlacementGroupId) { this.__explicitlySet__.add("clusterPlacementGroupId"); return this; } + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + */ + @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") + private String subscriptionId; + + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + * + * @param subscriptionId the value to set + * @return this builder + */ + public Builder subscriptionId(String subscriptionId) { + this.subscriptionId = subscriptionId; + this.__explicitlySet__.add("subscriptionId"); + return this; + } /** The current lifecycle state of the cloud Exadata infrastructure resource. */ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") private LifecycleState lifecycleState; @@ -756,6 +778,7 @@ public CloudExadataInfrastructure build() { this.id, this.compartmentId, this.clusterPlacementGroupId, + this.subscriptionId, this.lifecycleState, this.displayName, this.shape, @@ -805,6 +828,9 @@ public Builder copy(CloudExadataInfrastructure model) { if (model.wasPropertyExplicitlySet("clusterPlacementGroupId")) { this.clusterPlacementGroupId(model.getClusterPlacementGroupId()); } + if (model.wasPropertyExplicitlySet("subscriptionId")) { + this.subscriptionId(model.getSubscriptionId()); + } if (model.wasPropertyExplicitlySet("lifecycleState")) { this.lifecycleState(model.getLifecycleState()); } @@ -965,6 +991,23 @@ public String getClusterPlacementGroupId() { return clusterPlacementGroupId; } + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + */ + @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") + private final String subscriptionId; + + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + * + * @return the value + */ + public String getSubscriptionId() { + return subscriptionId; + } + /** The current lifecycle state of the cloud Exadata infrastructure resource. */ public enum LifecycleState implements com.oracle.bmc.http.internal.BmcEnum { Provisioning("PROVISIONING"), @@ -1517,6 +1560,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", compartmentId=").append(String.valueOf(this.compartmentId)); sb.append(", clusterPlacementGroupId=") .append(String.valueOf(this.clusterPlacementGroupId)); + sb.append(", subscriptionId=").append(String.valueOf(this.subscriptionId)); sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState)); sb.append(", displayName=").append(String.valueOf(this.displayName)); sb.append(", shape=").append(String.valueOf(this.shape)); @@ -1570,6 +1614,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.compartmentId, other.compartmentId) && java.util.Objects.equals( this.clusterPlacementGroupId, other.clusterPlacementGroupId) + && java.util.Objects.equals(this.subscriptionId, other.subscriptionId) && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) && java.util.Objects.equals(this.displayName, other.displayName) && java.util.Objects.equals(this.shape, other.shape) @@ -1624,6 +1669,9 @@ public int hashCode() { + (this.clusterPlacementGroupId == null ? 43 : this.clusterPlacementGroupId.hashCode()); + result = + (result * PRIME) + + (this.subscriptionId == null ? 43 : this.subscriptionId.hashCode()); result = (result * PRIME) + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode()); diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudExadataInfrastructureSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudExadataInfrastructureSummary.java index 0fb070b1564..bc4cb1c4fb8 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudExadataInfrastructureSummary.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudExadataInfrastructureSummary.java @@ -28,6 +28,7 @@ public final class CloudExadataInfrastructureSummary "id", "compartmentId", "clusterPlacementGroupId", + "subscriptionId", "lifecycleState", "displayName", "shape", @@ -65,6 +66,7 @@ public CloudExadataInfrastructureSummary( String id, String compartmentId, String clusterPlacementGroupId, + String subscriptionId, LifecycleState lifecycleState, String displayName, String shape, @@ -101,6 +103,7 @@ public CloudExadataInfrastructureSummary( this.id = id; this.compartmentId = compartmentId; this.clusterPlacementGroupId = clusterPlacementGroupId; + this.subscriptionId = subscriptionId; this.lifecycleState = lifecycleState; this.displayName = displayName; this.shape = shape; @@ -194,6 +197,25 @@ public Builder clusterPlacementGroupId(String clusterPlacementGroupId) { this.__explicitlySet__.add("clusterPlacementGroupId"); return this; } + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + */ + @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") + private String subscriptionId; + + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + * + * @param subscriptionId the value to set + * @return this builder + */ + public Builder subscriptionId(String subscriptionId) { + this.subscriptionId = subscriptionId; + this.__explicitlySet__.add("subscriptionId"); + return this; + } /** The current lifecycle state of the cloud Exadata infrastructure resource. */ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") private LifecycleState lifecycleState; @@ -756,6 +778,7 @@ public CloudExadataInfrastructureSummary build() { this.id, this.compartmentId, this.clusterPlacementGroupId, + this.subscriptionId, this.lifecycleState, this.displayName, this.shape, @@ -805,6 +828,9 @@ public Builder copy(CloudExadataInfrastructureSummary model) { if (model.wasPropertyExplicitlySet("clusterPlacementGroupId")) { this.clusterPlacementGroupId(model.getClusterPlacementGroupId()); } + if (model.wasPropertyExplicitlySet("subscriptionId")) { + this.subscriptionId(model.getSubscriptionId()); + } if (model.wasPropertyExplicitlySet("lifecycleState")) { this.lifecycleState(model.getLifecycleState()); } @@ -965,6 +991,23 @@ public String getClusterPlacementGroupId() { return clusterPlacementGroupId; } + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + */ + @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") + private final String subscriptionId; + + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + * + * @return the value + */ + public String getSubscriptionId() { + return subscriptionId; + } + /** The current lifecycle state of the cloud Exadata infrastructure resource. */ public enum LifecycleState implements com.oracle.bmc.http.internal.BmcEnum { Provisioning("PROVISIONING"), @@ -1517,6 +1560,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", compartmentId=").append(String.valueOf(this.compartmentId)); sb.append(", clusterPlacementGroupId=") .append(String.valueOf(this.clusterPlacementGroupId)); + sb.append(", subscriptionId=").append(String.valueOf(this.subscriptionId)); sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState)); sb.append(", displayName=").append(String.valueOf(this.displayName)); sb.append(", shape=").append(String.valueOf(this.shape)); @@ -1570,6 +1614,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.compartmentId, other.compartmentId) && java.util.Objects.equals( this.clusterPlacementGroupId, other.clusterPlacementGroupId) + && java.util.Objects.equals(this.subscriptionId, other.subscriptionId) && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) && java.util.Objects.equals(this.displayName, other.displayName) && java.util.Objects.equals(this.shape, other.shape) @@ -1624,6 +1669,9 @@ public int hashCode() { + (this.clusterPlacementGroupId == null ? 43 : this.clusterPlacementGroupId.hashCode()); + result = + (result * PRIME) + + (this.subscriptionId == null ? 43 : this.subscriptionId.hashCode()); result = (result * PRIME) + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode()); diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudVmCluster.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudVmCluster.java index 7193a701c01..5cc7eede2d8 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudVmCluster.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudVmCluster.java @@ -26,6 +26,7 @@ public final class CloudVmCluster "iormConfigCache", "id", "compartmentId", + "subscriptionId", "availabilityDomain", "subnetId", "backupSubnetId", @@ -77,6 +78,7 @@ public CloudVmCluster( ExadataIormConfig iormConfigCache, String id, String compartmentId, + String subscriptionId, String availabilityDomain, String subnetId, String backupSubnetId, @@ -127,6 +129,7 @@ public CloudVmCluster( this.iormConfigCache = iormConfigCache; this.id = id; this.compartmentId = compartmentId; + this.subscriptionId = subscriptionId; this.availabilityDomain = availabilityDomain; this.subnetId = subnetId; this.backupSubnetId = backupSubnetId; @@ -224,6 +227,25 @@ public Builder compartmentId(String compartmentId) { this.__explicitlySet__.add("compartmentId"); return this; } + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + */ + @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") + private String subscriptionId; + + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + * + * @param subscriptionId the value to set + * @return this builder + */ + public Builder subscriptionId(String subscriptionId) { + this.subscriptionId = subscriptionId; + this.__explicitlySet__.add("subscriptionId"); + return this; + } /** * The name of the availability domain that the cloud Exadata infrastructure resource is * located in. @@ -1100,6 +1122,7 @@ public CloudVmCluster build() { this.iormConfigCache, this.id, this.compartmentId, + this.subscriptionId, this.availabilityDomain, this.subnetId, this.backupSubnetId, @@ -1163,6 +1186,9 @@ public Builder copy(CloudVmCluster model) { if (model.wasPropertyExplicitlySet("compartmentId")) { this.compartmentId(model.getCompartmentId()); } + if (model.wasPropertyExplicitlySet("subscriptionId")) { + this.subscriptionId(model.getSubscriptionId()); + } if (model.wasPropertyExplicitlySet("availabilityDomain")) { this.availabilityDomain(model.getAvailabilityDomain()); } @@ -1355,6 +1381,23 @@ public String getCompartmentId() { return compartmentId; } + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + */ + @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") + private final String subscriptionId; + + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + * + * @return the value + */ + public String getSubscriptionId() { + return subscriptionId; + } + /** * The name of the availability domain that the cloud Exadata infrastructure resource is located * in. @@ -2286,6 +2329,7 @@ public String toString(boolean includeByteArrayContents) { sb.append("iormConfigCache=").append(String.valueOf(this.iormConfigCache)); sb.append(", id=").append(String.valueOf(this.id)); sb.append(", compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(", subscriptionId=").append(String.valueOf(this.subscriptionId)); sb.append(", availabilityDomain=").append(String.valueOf(this.availabilityDomain)); sb.append(", subnetId=").append(String.valueOf(this.subnetId)); sb.append(", backupSubnetId=").append(String.valueOf(this.backupSubnetId)); @@ -2353,6 +2397,7 @@ public boolean equals(Object o) { return java.util.Objects.equals(this.iormConfigCache, other.iormConfigCache) && java.util.Objects.equals(this.id, other.id) && java.util.Objects.equals(this.compartmentId, other.compartmentId) + && java.util.Objects.equals(this.subscriptionId, other.subscriptionId) && java.util.Objects.equals(this.availabilityDomain, other.availabilityDomain) && java.util.Objects.equals(this.subnetId, other.subnetId) && java.util.Objects.equals(this.backupSubnetId, other.backupSubnetId) @@ -2419,6 +2464,9 @@ public int hashCode() { result = (result * PRIME) + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = + (result * PRIME) + + (this.subscriptionId == null ? 43 : this.subscriptionId.hashCode()); result = (result * PRIME) + (this.availabilityDomain == null diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudVmClusterSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudVmClusterSummary.java index 37818998c17..6bf17b23996 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudVmClusterSummary.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudVmClusterSummary.java @@ -26,6 +26,7 @@ public final class CloudVmClusterSummary @java.beans.ConstructorProperties({ "id", "compartmentId", + "subscriptionId", "availabilityDomain", "subnetId", "backupSubnetId", @@ -76,6 +77,7 @@ public final class CloudVmClusterSummary public CloudVmClusterSummary( String id, String compartmentId, + String subscriptionId, String availabilityDomain, String subnetId, String backupSubnetId, @@ -125,6 +127,7 @@ public CloudVmClusterSummary( super(); this.id = id; this.compartmentId = compartmentId; + this.subscriptionId = subscriptionId; this.availabilityDomain = availabilityDomain; this.subnetId = subnetId; this.backupSubnetId = backupSubnetId; @@ -213,6 +216,25 @@ public Builder compartmentId(String compartmentId) { this.__explicitlySet__.add("compartmentId"); return this; } + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + */ + @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") + private String subscriptionId; + + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + * + * @param subscriptionId the value to set + * @return this builder + */ + public Builder subscriptionId(String subscriptionId) { + this.subscriptionId = subscriptionId; + this.__explicitlySet__.add("subscriptionId"); + return this; + } /** * The name of the availability domain that the cloud Exadata infrastructure resource is * located in. @@ -1088,6 +1110,7 @@ public CloudVmClusterSummary build() { new CloudVmClusterSummary( this.id, this.compartmentId, + this.subscriptionId, this.availabilityDomain, this.subnetId, this.backupSubnetId, @@ -1148,6 +1171,9 @@ public Builder copy(CloudVmClusterSummary model) { if (model.wasPropertyExplicitlySet("compartmentId")) { this.compartmentId(model.getCompartmentId()); } + if (model.wasPropertyExplicitlySet("subscriptionId")) { + this.subscriptionId(model.getSubscriptionId()); + } if (model.wasPropertyExplicitlySet("availabilityDomain")) { this.availabilityDomain(model.getAvailabilityDomain()); } @@ -1333,6 +1359,23 @@ public String getCompartmentId() { return compartmentId; } + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + */ + @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") + private final String subscriptionId; + + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + * + * @return the value + */ + public String getSubscriptionId() { + return subscriptionId; + } + /** * The name of the availability domain that the cloud Exadata infrastructure resource is located * in. @@ -2263,6 +2306,7 @@ public String toString(boolean includeByteArrayContents) { sb.append("super=").append(super.toString()); sb.append("id=").append(String.valueOf(this.id)); sb.append(", compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(", subscriptionId=").append(String.valueOf(this.subscriptionId)); sb.append(", availabilityDomain=").append(String.valueOf(this.availabilityDomain)); sb.append(", subnetId=").append(String.valueOf(this.subnetId)); sb.append(", backupSubnetId=").append(String.valueOf(this.backupSubnetId)); @@ -2329,6 +2373,7 @@ public boolean equals(Object o) { CloudVmClusterSummary other = (CloudVmClusterSummary) o; return java.util.Objects.equals(this.id, other.id) && java.util.Objects.equals(this.compartmentId, other.compartmentId) + && java.util.Objects.equals(this.subscriptionId, other.subscriptionId) && java.util.Objects.equals(this.availabilityDomain, other.availabilityDomain) && java.util.Objects.equals(this.subnetId, other.subnetId) && java.util.Objects.equals(this.backupSubnetId, other.backupSubnetId) @@ -2392,6 +2437,9 @@ public int hashCode() { result = (result * PRIME) + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = + (result * PRIME) + + (this.subscriptionId == null ? 43 : this.subscriptionId.hashCode()); result = (result * PRIME) + (this.availabilityDomain == null diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseBase.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseBase.java index 96fed047e3f..84eeedc7ad4 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseBase.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseBase.java @@ -62,6 +62,7 @@ public class CreateAutonomousDatabaseBase extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated @java.beans.ConstructorProperties({ + "subscriptionId", "compartmentId", "characterSet", "ncharacterSet", @@ -80,6 +81,7 @@ public class CreateAutonomousDatabaseBase "adminPassword", "displayName", "licenseModel", + "byolComputeCountLimit", "isPreviewVersionWithServiceTermsAccepted", "isAutoScalingEnabled", "isDevTier", @@ -112,6 +114,7 @@ public class CreateAutonomousDatabaseBase "secretVersionNumber" }) protected CreateAutonomousDatabaseBase( + String subscriptionId, String compartmentId, String characterSet, String ncharacterSet, @@ -130,6 +133,7 @@ protected CreateAutonomousDatabaseBase( String adminPassword, String displayName, LicenseModel licenseModel, + Float byolComputeCountLimit, Boolean isPreviewVersionWithServiceTermsAccepted, Boolean isAutoScalingEnabled, Boolean isDevTier, @@ -161,6 +165,7 @@ protected CreateAutonomousDatabaseBase( String secretId, Integer secretVersionNumber) { super(); + this.subscriptionId = subscriptionId; this.compartmentId = compartmentId; this.characterSet = characterSet; this.ncharacterSet = ncharacterSet; @@ -179,6 +184,7 @@ protected CreateAutonomousDatabaseBase( this.adminPassword = adminPassword; this.displayName = displayName; this.licenseModel = licenseModel; + this.byolComputeCountLimit = byolComputeCountLimit; this.isPreviewVersionWithServiceTermsAccepted = isPreviewVersionWithServiceTermsAccepted; this.isAutoScalingEnabled = isAutoScalingEnabled; this.isDevTier = isDevTier; @@ -211,6 +217,23 @@ protected CreateAutonomousDatabaseBase( this.secretVersionNumber = secretVersionNumber; } + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + */ + @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") + private final String subscriptionId; + + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + * + * @return the value + */ + public String getSubscriptionId() { + return subscriptionId; + } + /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * compartment of the Autonomous Database. @@ -843,6 +866,25 @@ public LicenseModel getLicenseModel() { return licenseModel; } + /** + * The maximum number of CPUs allowed with a Bring Your Own License (BYOL), including those used + * for auto-scaling, disaster recovery, tools, etc. Any CPU usage above this limit is considered + * as License Included and billed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("byolComputeCountLimit") + private final Float byolComputeCountLimit; + + /** + * The maximum number of CPUs allowed with a Bring Your Own License (BYOL), including those used + * for auto-scaling, disaster recovery, tools, etc. Any CPU usage above this limit is considered + * as License Included and billed. + * + * @return the value + */ + public Float getByolComputeCountLimit() { + return byolComputeCountLimit; + } + /** * If set to {@code TRUE}, indicates that an Autonomous Database preview version is being * provisioned, and that the preview version's terms of service have been accepted. Note that @@ -1623,7 +1665,8 @@ public String toString(boolean includeByteArrayContents) { java.lang.StringBuilder sb = new java.lang.StringBuilder(); sb.append("CreateAutonomousDatabaseBase("); sb.append("super=").append(super.toString()); - sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append("subscriptionId=").append(String.valueOf(this.subscriptionId)); + sb.append(", compartmentId=").append(String.valueOf(this.compartmentId)); sb.append(", characterSet=").append(String.valueOf(this.characterSet)); sb.append(", ncharacterSet=").append(String.valueOf(this.ncharacterSet)); sb.append(", dbName=").append(String.valueOf(this.dbName)); @@ -1642,6 +1685,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", adminPassword=").append(String.valueOf(this.adminPassword)); sb.append(", displayName=").append(String.valueOf(this.displayName)); sb.append(", licenseModel=").append(String.valueOf(this.licenseModel)); + sb.append(", byolComputeCountLimit=").append(String.valueOf(this.byolComputeCountLimit)); sb.append(", isPreviewVersionWithServiceTermsAccepted=") .append(String.valueOf(this.isPreviewVersionWithServiceTermsAccepted)); sb.append(", isAutoScalingEnabled=").append(String.valueOf(this.isAutoScalingEnabled)); @@ -1693,7 +1737,8 @@ public boolean equals(Object o) { } CreateAutonomousDatabaseBase other = (CreateAutonomousDatabaseBase) o; - return java.util.Objects.equals(this.compartmentId, other.compartmentId) + return java.util.Objects.equals(this.subscriptionId, other.subscriptionId) + && java.util.Objects.equals(this.compartmentId, other.compartmentId) && java.util.Objects.equals(this.characterSet, other.characterSet) && java.util.Objects.equals(this.ncharacterSet, other.ncharacterSet) && java.util.Objects.equals(this.dbName, other.dbName) @@ -1712,6 +1757,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.adminPassword, other.adminPassword) && java.util.Objects.equals(this.displayName, other.displayName) && java.util.Objects.equals(this.licenseModel, other.licenseModel) + && java.util.Objects.equals(this.byolComputeCountLimit, other.byolComputeCountLimit) && java.util.Objects.equals( this.isPreviewVersionWithServiceTermsAccepted, other.isPreviewVersionWithServiceTermsAccepted) @@ -1759,6 +1805,9 @@ public boolean equals(Object o) { public int hashCode() { final int PRIME = 59; int result = 1; + result = + (result * PRIME) + + (this.subscriptionId == null ? 43 : this.subscriptionId.hashCode()); result = (result * PRIME) + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); @@ -1795,6 +1844,11 @@ public int hashCode() { + (this.adminPassword == null ? 43 : this.adminPassword.hashCode()); result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); result = (result * PRIME) + (this.licenseModel == null ? 43 : this.licenseModel.hashCode()); + result = + (result * PRIME) + + (this.byolComputeCountLimit == null + ? 43 + : this.byolComputeCountLimit.hashCode()); result = (result * PRIME) + (this.isPreviewVersionWithServiceTermsAccepted == null diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseCloneDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseCloneDetails.java index 37e36fd70c7..bac12a8d129 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseCloneDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseCloneDetails.java @@ -27,6 +27,15 @@ public final class CreateAutonomousDatabaseCloneDetails extends CreateAutonomousDatabaseBase { @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { + @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") + private String subscriptionId; + + public Builder subscriptionId(String subscriptionId) { + this.subscriptionId = subscriptionId; + this.__explicitlySet__.add("subscriptionId"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private String compartmentId; @@ -189,6 +198,15 @@ public Builder licenseModel(LicenseModel licenseModel) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("byolComputeCountLimit") + private Float byolComputeCountLimit; + + public Builder byolComputeCountLimit(Float byolComputeCountLimit) { + this.byolComputeCountLimit = byolComputeCountLimit; + this.__explicitlySet__.add("byolComputeCountLimit"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("isPreviewVersionWithServiceTermsAccepted") private Boolean isPreviewVersionWithServiceTermsAccepted; @@ -504,6 +522,7 @@ public Builder cloneType(CloneType cloneType) { public CreateAutonomousDatabaseCloneDetails build() { CreateAutonomousDatabaseCloneDetails model = new CreateAutonomousDatabaseCloneDetails( + this.subscriptionId, this.compartmentId, this.characterSet, this.ncharacterSet, @@ -522,6 +541,7 @@ public CreateAutonomousDatabaseCloneDetails build() { this.adminPassword, this.displayName, this.licenseModel, + this.byolComputeCountLimit, this.isPreviewVersionWithServiceTermsAccepted, this.isAutoScalingEnabled, this.isDevTier, @@ -562,6 +582,9 @@ public CreateAutonomousDatabaseCloneDetails build() { @com.fasterxml.jackson.annotation.JsonIgnore public Builder copy(CreateAutonomousDatabaseCloneDetails model) { + if (model.wasPropertyExplicitlySet("subscriptionId")) { + this.subscriptionId(model.getSubscriptionId()); + } if (model.wasPropertyExplicitlySet("compartmentId")) { this.compartmentId(model.getCompartmentId()); } @@ -616,6 +639,9 @@ public Builder copy(CreateAutonomousDatabaseCloneDetails model) { if (model.wasPropertyExplicitlySet("licenseModel")) { this.licenseModel(model.getLicenseModel()); } + if (model.wasPropertyExplicitlySet("byolComputeCountLimit")) { + this.byolComputeCountLimit(model.getByolComputeCountLimit()); + } if (model.wasPropertyExplicitlySet("isPreviewVersionWithServiceTermsAccepted")) { this.isPreviewVersionWithServiceTermsAccepted( model.getIsPreviewVersionWithServiceTermsAccepted()); @@ -729,6 +755,7 @@ public Builder toBuilder() { @Deprecated public CreateAutonomousDatabaseCloneDetails( + String subscriptionId, String compartmentId, String characterSet, String ncharacterSet, @@ -747,6 +774,7 @@ public CreateAutonomousDatabaseCloneDetails( String adminPassword, String displayName, LicenseModel licenseModel, + Float byolComputeCountLimit, Boolean isPreviewVersionWithServiceTermsAccepted, Boolean isAutoScalingEnabled, Boolean isDevTier, @@ -780,6 +808,7 @@ public CreateAutonomousDatabaseCloneDetails( String sourceId, CloneType cloneType) { super( + subscriptionId, compartmentId, characterSet, ncharacterSet, @@ -798,6 +827,7 @@ public CreateAutonomousDatabaseCloneDetails( adminPassword, displayName, licenseModel, + byolComputeCountLimit, isPreviewVersionWithServiceTermsAccepted, isAutoScalingEnabled, isDevTier, diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseDetails.java index e97e82063e9..3060b723d12 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseDetails.java @@ -27,6 +27,15 @@ public final class CreateAutonomousDatabaseDetails extends CreateAutonomousDatabaseBase { @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { + @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") + private String subscriptionId; + + public Builder subscriptionId(String subscriptionId) { + this.subscriptionId = subscriptionId; + this.__explicitlySet__.add("subscriptionId"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private String compartmentId; @@ -189,6 +198,15 @@ public Builder licenseModel(LicenseModel licenseModel) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("byolComputeCountLimit") + private Float byolComputeCountLimit; + + public Builder byolComputeCountLimit(Float byolComputeCountLimit) { + this.byolComputeCountLimit = byolComputeCountLimit; + this.__explicitlySet__.add("byolComputeCountLimit"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("isPreviewVersionWithServiceTermsAccepted") private Boolean isPreviewVersionWithServiceTermsAccepted; @@ -470,6 +488,7 @@ public Builder secretVersionNumber(Integer secretVersionNumber) { public CreateAutonomousDatabaseDetails build() { CreateAutonomousDatabaseDetails model = new CreateAutonomousDatabaseDetails( + this.subscriptionId, this.compartmentId, this.characterSet, this.ncharacterSet, @@ -488,6 +507,7 @@ public CreateAutonomousDatabaseDetails build() { this.adminPassword, this.displayName, this.licenseModel, + this.byolComputeCountLimit, this.isPreviewVersionWithServiceTermsAccepted, this.isAutoScalingEnabled, this.isDevTier, @@ -526,6 +546,9 @@ public CreateAutonomousDatabaseDetails build() { @com.fasterxml.jackson.annotation.JsonIgnore public Builder copy(CreateAutonomousDatabaseDetails model) { + if (model.wasPropertyExplicitlySet("subscriptionId")) { + this.subscriptionId(model.getSubscriptionId()); + } if (model.wasPropertyExplicitlySet("compartmentId")) { this.compartmentId(model.getCompartmentId()); } @@ -580,6 +603,9 @@ public Builder copy(CreateAutonomousDatabaseDetails model) { if (model.wasPropertyExplicitlySet("licenseModel")) { this.licenseModel(model.getLicenseModel()); } + if (model.wasPropertyExplicitlySet("byolComputeCountLimit")) { + this.byolComputeCountLimit(model.getByolComputeCountLimit()); + } if (model.wasPropertyExplicitlySet("isPreviewVersionWithServiceTermsAccepted")) { this.isPreviewVersionWithServiceTermsAccepted( model.getIsPreviewVersionWithServiceTermsAccepted()); @@ -687,6 +713,7 @@ public Builder toBuilder() { @Deprecated public CreateAutonomousDatabaseDetails( + String subscriptionId, String compartmentId, String characterSet, String ncharacterSet, @@ -705,6 +732,7 @@ public CreateAutonomousDatabaseDetails( String adminPassword, String displayName, LicenseModel licenseModel, + Float byolComputeCountLimit, Boolean isPreviewVersionWithServiceTermsAccepted, Boolean isAutoScalingEnabled, Boolean isDevTier, @@ -736,6 +764,7 @@ public CreateAutonomousDatabaseDetails( String secretId, Integer secretVersionNumber) { super( + subscriptionId, compartmentId, characterSet, ncharacterSet, @@ -754,6 +783,7 @@ public CreateAutonomousDatabaseDetails( adminPassword, displayName, licenseModel, + byolComputeCountLimit, isPreviewVersionWithServiceTermsAccepted, isAutoScalingEnabled, isDevTier, diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseFromBackupDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseFromBackupDetails.java index e131d7d2014..27364267159 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseFromBackupDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseFromBackupDetails.java @@ -28,6 +28,15 @@ public final class CreateAutonomousDatabaseFromBackupDetails extends CreateAutonomousDatabaseBase { @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { + @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") + private String subscriptionId; + + public Builder subscriptionId(String subscriptionId) { + this.subscriptionId = subscriptionId; + this.__explicitlySet__.add("subscriptionId"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private String compartmentId; @@ -190,6 +199,15 @@ public Builder licenseModel(LicenseModel licenseModel) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("byolComputeCountLimit") + private Float byolComputeCountLimit; + + public Builder byolComputeCountLimit(Float byolComputeCountLimit) { + this.byolComputeCountLimit = byolComputeCountLimit; + this.__explicitlySet__.add("byolComputeCountLimit"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("isPreviewVersionWithServiceTermsAccepted") private Boolean isPreviewVersionWithServiceTermsAccepted; @@ -507,6 +525,7 @@ public Builder cloneType(CloneType cloneType) { public CreateAutonomousDatabaseFromBackupDetails build() { CreateAutonomousDatabaseFromBackupDetails model = new CreateAutonomousDatabaseFromBackupDetails( + this.subscriptionId, this.compartmentId, this.characterSet, this.ncharacterSet, @@ -525,6 +544,7 @@ public CreateAutonomousDatabaseFromBackupDetails build() { this.adminPassword, this.displayName, this.licenseModel, + this.byolComputeCountLimit, this.isPreviewVersionWithServiceTermsAccepted, this.isAutoScalingEnabled, this.isDevTier, @@ -565,6 +585,9 @@ public CreateAutonomousDatabaseFromBackupDetails build() { @com.fasterxml.jackson.annotation.JsonIgnore public Builder copy(CreateAutonomousDatabaseFromBackupDetails model) { + if (model.wasPropertyExplicitlySet("subscriptionId")) { + this.subscriptionId(model.getSubscriptionId()); + } if (model.wasPropertyExplicitlySet("compartmentId")) { this.compartmentId(model.getCompartmentId()); } @@ -619,6 +642,9 @@ public Builder copy(CreateAutonomousDatabaseFromBackupDetails model) { if (model.wasPropertyExplicitlySet("licenseModel")) { this.licenseModel(model.getLicenseModel()); } + if (model.wasPropertyExplicitlySet("byolComputeCountLimit")) { + this.byolComputeCountLimit(model.getByolComputeCountLimit()); + } if (model.wasPropertyExplicitlySet("isPreviewVersionWithServiceTermsAccepted")) { this.isPreviewVersionWithServiceTermsAccepted( model.getIsPreviewVersionWithServiceTermsAccepted()); @@ -732,6 +758,7 @@ public Builder toBuilder() { @Deprecated public CreateAutonomousDatabaseFromBackupDetails( + String subscriptionId, String compartmentId, String characterSet, String ncharacterSet, @@ -750,6 +777,7 @@ public CreateAutonomousDatabaseFromBackupDetails( String adminPassword, String displayName, LicenseModel licenseModel, + Float byolComputeCountLimit, Boolean isPreviewVersionWithServiceTermsAccepted, Boolean isAutoScalingEnabled, Boolean isDevTier, @@ -783,6 +811,7 @@ public CreateAutonomousDatabaseFromBackupDetails( String autonomousDatabaseBackupId, CloneType cloneType) { super( + subscriptionId, compartmentId, characterSet, ncharacterSet, @@ -801,6 +830,7 @@ public CreateAutonomousDatabaseFromBackupDetails( adminPassword, displayName, licenseModel, + byolComputeCountLimit, isPreviewVersionWithServiceTermsAccepted, isAutoScalingEnabled, isDevTier, diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseFromBackupTimestampDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseFromBackupTimestampDetails.java index c0ad31c5589..949e704c9ca 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseFromBackupTimestampDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseFromBackupTimestampDetails.java @@ -29,6 +29,15 @@ public final class CreateAutonomousDatabaseFromBackupTimestampDetails extends CreateAutonomousDatabaseBase { @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { + @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") + private String subscriptionId; + + public Builder subscriptionId(String subscriptionId) { + this.subscriptionId = subscriptionId; + this.__explicitlySet__.add("subscriptionId"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private String compartmentId; @@ -191,6 +200,15 @@ public Builder licenseModel(LicenseModel licenseModel) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("byolComputeCountLimit") + private Float byolComputeCountLimit; + + public Builder byolComputeCountLimit(Float byolComputeCountLimit) { + this.byolComputeCountLimit = byolComputeCountLimit; + this.__explicitlySet__.add("byolComputeCountLimit"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("isPreviewVersionWithServiceTermsAccepted") private Boolean isPreviewVersionWithServiceTermsAccepted; @@ -541,6 +559,7 @@ public Builder useLatestAvailableBackupTimeStamp( public CreateAutonomousDatabaseFromBackupTimestampDetails build() { CreateAutonomousDatabaseFromBackupTimestampDetails model = new CreateAutonomousDatabaseFromBackupTimestampDetails( + this.subscriptionId, this.compartmentId, this.characterSet, this.ncharacterSet, @@ -559,6 +578,7 @@ public CreateAutonomousDatabaseFromBackupTimestampDetails build() { this.adminPassword, this.displayName, this.licenseModel, + this.byolComputeCountLimit, this.isPreviewVersionWithServiceTermsAccepted, this.isAutoScalingEnabled, this.isDevTier, @@ -601,6 +621,9 @@ public CreateAutonomousDatabaseFromBackupTimestampDetails build() { @com.fasterxml.jackson.annotation.JsonIgnore public Builder copy(CreateAutonomousDatabaseFromBackupTimestampDetails model) { + if (model.wasPropertyExplicitlySet("subscriptionId")) { + this.subscriptionId(model.getSubscriptionId()); + } if (model.wasPropertyExplicitlySet("compartmentId")) { this.compartmentId(model.getCompartmentId()); } @@ -655,6 +678,9 @@ public Builder copy(CreateAutonomousDatabaseFromBackupTimestampDetails model) { if (model.wasPropertyExplicitlySet("licenseModel")) { this.licenseModel(model.getLicenseModel()); } + if (model.wasPropertyExplicitlySet("byolComputeCountLimit")) { + this.byolComputeCountLimit(model.getByolComputeCountLimit()); + } if (model.wasPropertyExplicitlySet("isPreviewVersionWithServiceTermsAccepted")) { this.isPreviewVersionWithServiceTermsAccepted( model.getIsPreviewVersionWithServiceTermsAccepted()); @@ -775,6 +801,7 @@ public Builder toBuilder() { @Deprecated public CreateAutonomousDatabaseFromBackupTimestampDetails( + String subscriptionId, String compartmentId, String characterSet, String ncharacterSet, @@ -793,6 +820,7 @@ public CreateAutonomousDatabaseFromBackupTimestampDetails( String adminPassword, String displayName, LicenseModel licenseModel, + Float byolComputeCountLimit, Boolean isPreviewVersionWithServiceTermsAccepted, Boolean isAutoScalingEnabled, Boolean isDevTier, @@ -828,6 +856,7 @@ public CreateAutonomousDatabaseFromBackupTimestampDetails( CloneType cloneType, Boolean useLatestAvailableBackupTimeStamp) { super( + subscriptionId, compartmentId, characterSet, ncharacterSet, @@ -846,6 +875,7 @@ public CreateAutonomousDatabaseFromBackupTimestampDetails( adminPassword, displayName, licenseModel, + byolComputeCountLimit, isPreviewVersionWithServiceTermsAccepted, isAutoScalingEnabled, isDevTier, diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCloudExadataInfrastructureDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCloudExadataInfrastructureDetails.java index 0282a1cdc55..8eed720d71f 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCloudExadataInfrastructureDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCloudExadataInfrastructureDetails.java @@ -35,6 +35,7 @@ public final class CreateCloudExadataInfrastructureDetails "freeformTags", "definedTags", "clusterPlacementGroupId", + "subscriptionId", "customerContacts" }) public CreateCloudExadataInfrastructureDetails( @@ -48,6 +49,7 @@ public CreateCloudExadataInfrastructureDetails( java.util.Map freeformTags, java.util.Map> definedTags, String clusterPlacementGroupId, + String subscriptionId, java.util.List customerContacts) { super(); this.availabilityDomain = availabilityDomain; @@ -60,6 +62,7 @@ public CreateCloudExadataInfrastructureDetails( this.freeformTags = freeformTags; this.definedTags = definedTags; this.clusterPlacementGroupId = clusterPlacementGroupId; + this.subscriptionId = subscriptionId; this.customerContacts = customerContacts; } @@ -238,6 +241,25 @@ public Builder clusterPlacementGroupId(String clusterPlacementGroupId) { this.__explicitlySet__.add("clusterPlacementGroupId"); return this; } + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + */ + @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") + private String subscriptionId; + + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + * + * @param subscriptionId the value to set + * @return this builder + */ + public Builder subscriptionId(String subscriptionId) { + this.subscriptionId = subscriptionId; + this.__explicitlySet__.add("subscriptionId"); + return this; + } /** Customer contacts. */ @com.fasterxml.jackson.annotation.JsonProperty("customerContacts") private java.util.List customerContacts; @@ -270,6 +292,7 @@ public CreateCloudExadataInfrastructureDetails build() { this.freeformTags, this.definedTags, this.clusterPlacementGroupId, + this.subscriptionId, this.customerContacts); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); @@ -309,6 +332,9 @@ public Builder copy(CreateCloudExadataInfrastructureDetails model) { if (model.wasPropertyExplicitlySet("clusterPlacementGroupId")) { this.clusterPlacementGroupId(model.getClusterPlacementGroupId()); } + if (model.wasPropertyExplicitlySet("subscriptionId")) { + this.subscriptionId(model.getSubscriptionId()); + } if (model.wasPropertyExplicitlySet("customerContacts")) { this.customerContacts(model.getCustomerContacts()); } @@ -477,6 +503,23 @@ public String getClusterPlacementGroupId() { return clusterPlacementGroupId; } + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + */ + @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") + private final String subscriptionId; + + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + * + * @return the value + */ + public String getSubscriptionId() { + return subscriptionId; + } + /** Customer contacts. */ @com.fasterxml.jackson.annotation.JsonProperty("customerContacts") private final java.util.List customerContacts; @@ -516,6 +559,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", definedTags=").append(String.valueOf(this.definedTags)); sb.append(", clusterPlacementGroupId=") .append(String.valueOf(this.clusterPlacementGroupId)); + sb.append(", subscriptionId=").append(String.valueOf(this.subscriptionId)); sb.append(", customerContacts=").append(String.valueOf(this.customerContacts)); sb.append(")"); return sb.toString(); @@ -542,6 +586,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.definedTags, other.definedTags) && java.util.Objects.equals( this.clusterPlacementGroupId, other.clusterPlacementGroupId) + && java.util.Objects.equals(this.subscriptionId, other.subscriptionId) && java.util.Objects.equals(this.customerContacts, other.customerContacts) && super.equals(other); } @@ -572,6 +617,9 @@ public int hashCode() { + (this.clusterPlacementGroupId == null ? 43 : this.clusterPlacementGroupId.hashCode()); + result = + (result * PRIME) + + (this.subscriptionId == null ? 43 : this.subscriptionId.hashCode()); result = (result * PRIME) + (this.customerContacts == null ? 43 : this.customerContacts.hashCode()); diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCloudVmClusterDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCloudVmClusterDetails.java index a4ddab232b2..a2d5b10c436 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCloudVmClusterDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCloudVmClusterDetails.java @@ -26,6 +26,7 @@ public final class CreateCloudVmClusterDetails @Deprecated @java.beans.ConstructorProperties({ "compartmentId", + "subscriptionId", "subnetId", "backupSubnetId", "cpuCoreCount", @@ -59,6 +60,7 @@ public final class CreateCloudVmClusterDetails }) public CreateCloudVmClusterDetails( String compartmentId, + String subscriptionId, String subnetId, String backupSubnetId, Integer cpuCoreCount, @@ -91,6 +93,7 @@ public CreateCloudVmClusterDetails( java.util.List fileSystemConfigurationDetails) { super(); this.compartmentId = compartmentId; + this.subscriptionId = subscriptionId; this.subnetId = subnetId; this.backupSubnetId = backupSubnetId; this.cpuCoreCount = cpuCoreCount; @@ -144,6 +147,25 @@ public Builder compartmentId(String compartmentId) { this.__explicitlySet__.add("compartmentId"); return this; } + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + */ + @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") + private String subscriptionId; + + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + * + * @param subscriptionId the value to set + * @return this builder + */ + public Builder subscriptionId(String subscriptionId) { + this.subscriptionId = subscriptionId; + this.__explicitlySet__.add("subscriptionId"); + return this; + } /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * subnet associated with the cloud VM cluster. @@ -744,6 +766,7 @@ public CreateCloudVmClusterDetails build() { CreateCloudVmClusterDetails model = new CreateCloudVmClusterDetails( this.compartmentId, + this.subscriptionId, this.subnetId, this.backupSubnetId, this.cpuCoreCount, @@ -785,6 +808,9 @@ public Builder copy(CreateCloudVmClusterDetails model) { if (model.wasPropertyExplicitlySet("compartmentId")) { this.compartmentId(model.getCompartmentId()); } + if (model.wasPropertyExplicitlySet("subscriptionId")) { + this.subscriptionId(model.getSubscriptionId()); + } if (model.wasPropertyExplicitlySet("subnetId")) { this.subnetId(model.getSubnetId()); } @@ -905,6 +931,23 @@ public String getCompartmentId() { return compartmentId; } + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + */ + @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") + private final String subscriptionId; + + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * subscription with which resource needs to be associated with. + * + * @return the value + */ + public String getSubscriptionId() { + return subscriptionId; + } + /** * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the * subnet associated with the cloud VM cluster. @@ -1477,6 +1520,7 @@ public String toString(boolean includeByteArrayContents) { sb.append("CreateCloudVmClusterDetails("); sb.append("super=").append(super.toString()); sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(", subscriptionId=").append(String.valueOf(this.subscriptionId)); sb.append(", subnetId=").append(String.valueOf(this.subnetId)); sb.append(", backupSubnetId=").append(String.valueOf(this.backupSubnetId)); sb.append(", cpuCoreCount=").append(String.valueOf(this.cpuCoreCount)); @@ -1525,6 +1569,7 @@ public boolean equals(Object o) { CreateCloudVmClusterDetails other = (CreateCloudVmClusterDetails) o; return java.util.Objects.equals(this.compartmentId, other.compartmentId) + && java.util.Objects.equals(this.subscriptionId, other.subscriptionId) && java.util.Objects.equals(this.subnetId, other.subnetId) && java.util.Objects.equals(this.backupSubnetId, other.backupSubnetId) && java.util.Objects.equals(this.cpuCoreCount, other.cpuCoreCount) @@ -1570,6 +1615,9 @@ public int hashCode() { result = (result * PRIME) + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = + (result * PRIME) + + (this.subscriptionId == null ? 43 : this.subscriptionId.hashCode()); result = (result * PRIME) + (this.subnetId == null ? 43 : this.subnetId.hashCode()); result = (result * PRIME) diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCrossRegionAutonomousDatabaseDataGuardDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCrossRegionAutonomousDatabaseDataGuardDetails.java index bc80240d512..b80b7a9f5cf 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCrossRegionAutonomousDatabaseDataGuardDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCrossRegionAutonomousDatabaseDataGuardDetails.java @@ -42,6 +42,15 @@ public final class CreateCrossRegionAutonomousDatabaseDataGuardDetails extends CreateAutonomousDatabaseBase { @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { + @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") + private String subscriptionId; + + public Builder subscriptionId(String subscriptionId) { + this.subscriptionId = subscriptionId; + this.__explicitlySet__.add("subscriptionId"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private String compartmentId; @@ -204,6 +213,15 @@ public Builder licenseModel(LicenseModel licenseModel) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("byolComputeCountLimit") + private Float byolComputeCountLimit; + + public Builder byolComputeCountLimit(Float byolComputeCountLimit) { + this.byolComputeCountLimit = byolComputeCountLimit; + this.__explicitlySet__.add("byolComputeCountLimit"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("isPreviewVersionWithServiceTermsAccepted") private Boolean isPreviewVersionWithServiceTermsAccepted; @@ -506,6 +524,7 @@ public Builder sourceId(String sourceId) { public CreateCrossRegionAutonomousDatabaseDataGuardDetails build() { CreateCrossRegionAutonomousDatabaseDataGuardDetails model = new CreateCrossRegionAutonomousDatabaseDataGuardDetails( + this.subscriptionId, this.compartmentId, this.characterSet, this.ncharacterSet, @@ -524,6 +543,7 @@ public CreateCrossRegionAutonomousDatabaseDataGuardDetails build() { this.adminPassword, this.displayName, this.licenseModel, + this.byolComputeCountLimit, this.isPreviewVersionWithServiceTermsAccepted, this.isAutoScalingEnabled, this.isDevTier, @@ -563,6 +583,9 @@ public CreateCrossRegionAutonomousDatabaseDataGuardDetails build() { @com.fasterxml.jackson.annotation.JsonIgnore public Builder copy(CreateCrossRegionAutonomousDatabaseDataGuardDetails model) { + if (model.wasPropertyExplicitlySet("subscriptionId")) { + this.subscriptionId(model.getSubscriptionId()); + } if (model.wasPropertyExplicitlySet("compartmentId")) { this.compartmentId(model.getCompartmentId()); } @@ -617,6 +640,9 @@ public Builder copy(CreateCrossRegionAutonomousDatabaseDataGuardDetails model) { if (model.wasPropertyExplicitlySet("licenseModel")) { this.licenseModel(model.getLicenseModel()); } + if (model.wasPropertyExplicitlySet("byolComputeCountLimit")) { + this.byolComputeCountLimit(model.getByolComputeCountLimit()); + } if (model.wasPropertyExplicitlySet("isPreviewVersionWithServiceTermsAccepted")) { this.isPreviewVersionWithServiceTermsAccepted( model.getIsPreviewVersionWithServiceTermsAccepted()); @@ -727,6 +753,7 @@ public Builder toBuilder() { @Deprecated public CreateCrossRegionAutonomousDatabaseDataGuardDetails( + String subscriptionId, String compartmentId, String characterSet, String ncharacterSet, @@ -745,6 +772,7 @@ public CreateCrossRegionAutonomousDatabaseDataGuardDetails( String adminPassword, String displayName, LicenseModel licenseModel, + Float byolComputeCountLimit, Boolean isPreviewVersionWithServiceTermsAccepted, Boolean isAutoScalingEnabled, Boolean isDevTier, @@ -777,6 +805,7 @@ public CreateCrossRegionAutonomousDatabaseDataGuardDetails( Integer secretVersionNumber, String sourceId) { super( + subscriptionId, compartmentId, characterSet, ncharacterSet, @@ -795,6 +824,7 @@ public CreateCrossRegionAutonomousDatabaseDataGuardDetails( adminPassword, displayName, licenseModel, + byolComputeCountLimit, isPreviewVersionWithServiceTermsAccepted, isAutoScalingEnabled, isDevTier, diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCrossRegionDisasterRecoveryDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCrossRegionDisasterRecoveryDetails.java index a28e5bff85b..6f64d1c9084 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCrossRegionDisasterRecoveryDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCrossRegionDisasterRecoveryDetails.java @@ -40,6 +40,15 @@ public final class CreateCrossRegionDisasterRecoveryDetails extends CreateAutonomousDatabaseBase { @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { + @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") + private String subscriptionId; + + public Builder subscriptionId(String subscriptionId) { + this.subscriptionId = subscriptionId; + this.__explicitlySet__.add("subscriptionId"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private String compartmentId; @@ -202,6 +211,15 @@ public Builder licenseModel(LicenseModel licenseModel) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("byolComputeCountLimit") + private Float byolComputeCountLimit; + + public Builder byolComputeCountLimit(Float byolComputeCountLimit) { + this.byolComputeCountLimit = byolComputeCountLimit; + this.__explicitlySet__.add("byolComputeCountLimit"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("isPreviewVersionWithServiceTermsAccepted") private Boolean isPreviewVersionWithServiceTermsAccepted; @@ -549,6 +567,7 @@ public Builder isReplicateAutomaticBackups(Boolean isReplicateAutomaticBackups) public CreateCrossRegionDisasterRecoveryDetails build() { CreateCrossRegionDisasterRecoveryDetails model = new CreateCrossRegionDisasterRecoveryDetails( + this.subscriptionId, this.compartmentId, this.characterSet, this.ncharacterSet, @@ -567,6 +586,7 @@ public CreateCrossRegionDisasterRecoveryDetails build() { this.adminPassword, this.displayName, this.licenseModel, + this.byolComputeCountLimit, this.isPreviewVersionWithServiceTermsAccepted, this.isAutoScalingEnabled, this.isDevTier, @@ -608,6 +628,9 @@ public CreateCrossRegionDisasterRecoveryDetails build() { @com.fasterxml.jackson.annotation.JsonIgnore public Builder copy(CreateCrossRegionDisasterRecoveryDetails model) { + if (model.wasPropertyExplicitlySet("subscriptionId")) { + this.subscriptionId(model.getSubscriptionId()); + } if (model.wasPropertyExplicitlySet("compartmentId")) { this.compartmentId(model.getCompartmentId()); } @@ -662,6 +685,9 @@ public Builder copy(CreateCrossRegionDisasterRecoveryDetails model) { if (model.wasPropertyExplicitlySet("licenseModel")) { this.licenseModel(model.getLicenseModel()); } + if (model.wasPropertyExplicitlySet("byolComputeCountLimit")) { + this.byolComputeCountLimit(model.getByolComputeCountLimit()); + } if (model.wasPropertyExplicitlySet("isPreviewVersionWithServiceTermsAccepted")) { this.isPreviewVersionWithServiceTermsAccepted( model.getIsPreviewVersionWithServiceTermsAccepted()); @@ -778,6 +804,7 @@ public Builder toBuilder() { @Deprecated public CreateCrossRegionDisasterRecoveryDetails( + String subscriptionId, String compartmentId, String characterSet, String ncharacterSet, @@ -796,6 +823,7 @@ public CreateCrossRegionDisasterRecoveryDetails( String adminPassword, String displayName, LicenseModel licenseModel, + Float byolComputeCountLimit, Boolean isPreviewVersionWithServiceTermsAccepted, Boolean isAutoScalingEnabled, Boolean isDevTier, @@ -830,6 +858,7 @@ public CreateCrossRegionDisasterRecoveryDetails( DisasterRecoveryConfiguration.DisasterRecoveryType remoteDisasterRecoveryType, Boolean isReplicateAutomaticBackups) { super( + subscriptionId, compartmentId, characterSet, ncharacterSet, @@ -848,6 +877,7 @@ public CreateCrossRegionDisasterRecoveryDetails( adminPassword, displayName, licenseModel, + byolComputeCountLimit, isPreviewVersionWithServiceTermsAccepted, isAutoScalingEnabled, isDevTier, diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCrossTenancyDisasterRecoveryDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCrossTenancyDisasterRecoveryDetails.java index 224ab835b53..d62568c451e 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCrossTenancyDisasterRecoveryDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCrossTenancyDisasterRecoveryDetails.java @@ -38,6 +38,15 @@ public final class CreateCrossTenancyDisasterRecoveryDetails extends CreateAutonomousDatabaseBase { @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { + @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") + private String subscriptionId; + + public Builder subscriptionId(String subscriptionId) { + this.subscriptionId = subscriptionId; + this.__explicitlySet__.add("subscriptionId"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private String compartmentId; @@ -200,6 +209,15 @@ public Builder licenseModel(LicenseModel licenseModel) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("byolComputeCountLimit") + private Float byolComputeCountLimit; + + public Builder byolComputeCountLimit(Float byolComputeCountLimit) { + this.byolComputeCountLimit = byolComputeCountLimit; + this.__explicitlySet__.add("byolComputeCountLimit"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("isPreviewVersionWithServiceTermsAccepted") private Boolean isPreviewVersionWithServiceTermsAccepted; @@ -547,6 +565,7 @@ public Builder isReplicateAutomaticBackups(Boolean isReplicateAutomaticBackups) public CreateCrossTenancyDisasterRecoveryDetails build() { CreateCrossTenancyDisasterRecoveryDetails model = new CreateCrossTenancyDisasterRecoveryDetails( + this.subscriptionId, this.compartmentId, this.characterSet, this.ncharacterSet, @@ -565,6 +584,7 @@ public CreateCrossTenancyDisasterRecoveryDetails build() { this.adminPassword, this.displayName, this.licenseModel, + this.byolComputeCountLimit, this.isPreviewVersionWithServiceTermsAccepted, this.isAutoScalingEnabled, this.isDevTier, @@ -606,6 +626,9 @@ public CreateCrossTenancyDisasterRecoveryDetails build() { @com.fasterxml.jackson.annotation.JsonIgnore public Builder copy(CreateCrossTenancyDisasterRecoveryDetails model) { + if (model.wasPropertyExplicitlySet("subscriptionId")) { + this.subscriptionId(model.getSubscriptionId()); + } if (model.wasPropertyExplicitlySet("compartmentId")) { this.compartmentId(model.getCompartmentId()); } @@ -660,6 +683,9 @@ public Builder copy(CreateCrossTenancyDisasterRecoveryDetails model) { if (model.wasPropertyExplicitlySet("licenseModel")) { this.licenseModel(model.getLicenseModel()); } + if (model.wasPropertyExplicitlySet("byolComputeCountLimit")) { + this.byolComputeCountLimit(model.getByolComputeCountLimit()); + } if (model.wasPropertyExplicitlySet("isPreviewVersionWithServiceTermsAccepted")) { this.isPreviewVersionWithServiceTermsAccepted( model.getIsPreviewVersionWithServiceTermsAccepted()); @@ -776,6 +802,7 @@ public Builder toBuilder() { @Deprecated public CreateCrossTenancyDisasterRecoveryDetails( + String subscriptionId, String compartmentId, String characterSet, String ncharacterSet, @@ -794,6 +821,7 @@ public CreateCrossTenancyDisasterRecoveryDetails( String adminPassword, String displayName, LicenseModel licenseModel, + Float byolComputeCountLimit, Boolean isPreviewVersionWithServiceTermsAccepted, Boolean isAutoScalingEnabled, Boolean isDevTier, @@ -828,6 +856,7 @@ public CreateCrossTenancyDisasterRecoveryDetails( DisasterRecoveryConfiguration.DisasterRecoveryType disasterRecoveryType, Boolean isReplicateAutomaticBackups) { super( + subscriptionId, compartmentId, characterSet, ncharacterSet, @@ -846,6 +875,7 @@ public CreateCrossTenancyDisasterRecoveryDetails( adminPassword, displayName, licenseModel, + byolComputeCountLimit, isPreviewVersionWithServiceTermsAccepted, isAutoScalingEnabled, isDevTier, diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateRefreshableAutonomousDatabaseCloneDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateRefreshableAutonomousDatabaseCloneDetails.java index 74a0929263c..3e3e5d6e532 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateRefreshableAutonomousDatabaseCloneDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateRefreshableAutonomousDatabaseCloneDetails.java @@ -28,6 +28,15 @@ public final class CreateRefreshableAutonomousDatabaseCloneDetails extends CreateAutonomousDatabaseBase { @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { + @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") + private String subscriptionId; + + public Builder subscriptionId(String subscriptionId) { + this.subscriptionId = subscriptionId; + this.__explicitlySet__.add("subscriptionId"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private String compartmentId; @@ -190,6 +199,15 @@ public Builder licenseModel(LicenseModel licenseModel) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("byolComputeCountLimit") + private Float byolComputeCountLimit; + + public Builder byolComputeCountLimit(Float byolComputeCountLimit) { + this.byolComputeCountLimit = byolComputeCountLimit; + this.__explicitlySet__.add("byolComputeCountLimit"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("isPreviewVersionWithServiceTermsAccepted") private Boolean isPreviewVersionWithServiceTermsAccepted; @@ -603,6 +621,7 @@ public Builder openMode(OpenMode openMode) { public CreateRefreshableAutonomousDatabaseCloneDetails build() { CreateRefreshableAutonomousDatabaseCloneDetails model = new CreateRefreshableAutonomousDatabaseCloneDetails( + this.subscriptionId, this.compartmentId, this.characterSet, this.ncharacterSet, @@ -621,6 +640,7 @@ public CreateRefreshableAutonomousDatabaseCloneDetails build() { this.adminPassword, this.displayName, this.licenseModel, + this.byolComputeCountLimit, this.isPreviewVersionWithServiceTermsAccepted, this.isAutoScalingEnabled, this.isDevTier, @@ -665,6 +685,9 @@ public CreateRefreshableAutonomousDatabaseCloneDetails build() { @com.fasterxml.jackson.annotation.JsonIgnore public Builder copy(CreateRefreshableAutonomousDatabaseCloneDetails model) { + if (model.wasPropertyExplicitlySet("subscriptionId")) { + this.subscriptionId(model.getSubscriptionId()); + } if (model.wasPropertyExplicitlySet("compartmentId")) { this.compartmentId(model.getCompartmentId()); } @@ -719,6 +742,9 @@ public Builder copy(CreateRefreshableAutonomousDatabaseCloneDetails model) { if (model.wasPropertyExplicitlySet("licenseModel")) { this.licenseModel(model.getLicenseModel()); } + if (model.wasPropertyExplicitlySet("byolComputeCountLimit")) { + this.byolComputeCountLimit(model.getByolComputeCountLimit()); + } if (model.wasPropertyExplicitlySet("isPreviewVersionWithServiceTermsAccepted")) { this.isPreviewVersionWithServiceTermsAccepted( model.getIsPreviewVersionWithServiceTermsAccepted()); @@ -844,6 +870,7 @@ public Builder toBuilder() { @Deprecated public CreateRefreshableAutonomousDatabaseCloneDetails( + String subscriptionId, String compartmentId, String characterSet, String ncharacterSet, @@ -862,6 +889,7 @@ public CreateRefreshableAutonomousDatabaseCloneDetails( String adminPassword, String displayName, LicenseModel licenseModel, + Float byolComputeCountLimit, Boolean isPreviewVersionWithServiceTermsAccepted, Boolean isAutoScalingEnabled, Boolean isDevTier, @@ -899,6 +927,7 @@ public CreateRefreshableAutonomousDatabaseCloneDetails( java.util.Date timeOfAutoRefreshStart, OpenMode openMode) { super( + subscriptionId, compartmentId, characterSet, ncharacterSet, @@ -917,6 +946,7 @@ public CreateRefreshableAutonomousDatabaseCloneDetails( adminPassword, displayName, licenseModel, + byolComputeCountLimit, isPreviewVersionWithServiceTermsAccepted, isAutoScalingEnabled, isDevTier, diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateAutonomousDatabaseDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateAutonomousDatabaseDetails.java index 341436cadc7..0d81865c5c7 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateAutonomousDatabaseDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateAutonomousDatabaseDetails.java @@ -51,6 +51,7 @@ public final class UpdateAutonomousDatabaseDetails "definedTags", "dbWorkload", "licenseModel", + "byolComputeCountLimit", "isAccessControlEnabled", "whitelistedIps", "arePrimaryWhitelistedIpsUsed", @@ -102,6 +103,7 @@ public UpdateAutonomousDatabaseDetails( java.util.Map> definedTags, DbWorkload dbWorkload, LicenseModel licenseModel, + Float byolComputeCountLimit, Boolean isAccessControlEnabled, java.util.List whitelistedIps, Boolean arePrimaryWhitelistedIpsUsed, @@ -152,6 +154,7 @@ public UpdateAutonomousDatabaseDetails( this.definedTags = definedTags; this.dbWorkload = dbWorkload; this.licenseModel = licenseModel; + this.byolComputeCountLimit = byolComputeCountLimit; this.isAccessControlEnabled = isAccessControlEnabled; this.whitelistedIps = whitelistedIps; this.arePrimaryWhitelistedIpsUsed = arePrimaryWhitelistedIpsUsed; @@ -780,6 +783,27 @@ public Builder licenseModel(LicenseModel licenseModel) { this.__explicitlySet__.add("licenseModel"); return this; } + /** + * The maximum number of CPUs allowed with a Bring Your Own License (BYOL), including those + * used for auto-scaling, disaster recovery, tools, etc. Any CPU usage above this limit is + * considered as License Included and billed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("byolComputeCountLimit") + private Float byolComputeCountLimit; + + /** + * The maximum number of CPUs allowed with a Bring Your Own License (BYOL), including those + * used for auto-scaling, disaster recovery, tools, etc. Any CPU usage above this limit is + * considered as License Included and billed. + * + * @param byolComputeCountLimit the value to set + * @return this builder + */ + public Builder byolComputeCountLimit(Float byolComputeCountLimit) { + this.byolComputeCountLimit = byolComputeCountLimit; + this.__explicitlySet__.add("byolComputeCountLimit"); + return this; + } /** * Indicates if the database-level access control is enabled. If disabled, database access * is defined by the network security rules. If enabled, database access is restricted to @@ -1699,6 +1723,7 @@ public UpdateAutonomousDatabaseDetails build() { this.definedTags, this.dbWorkload, this.licenseModel, + this.byolComputeCountLimit, this.isAccessControlEnabled, this.whitelistedIps, this.arePrimaryWhitelistedIpsUsed, @@ -1795,6 +1820,9 @@ public Builder copy(UpdateAutonomousDatabaseDetails model) { if (model.wasPropertyExplicitlySet("licenseModel")) { this.licenseModel(model.getLicenseModel()); } + if (model.wasPropertyExplicitlySet("byolComputeCountLimit")) { + this.byolComputeCountLimit(model.getByolComputeCountLimit()); + } if (model.wasPropertyExplicitlySet("isAccessControlEnabled")) { this.isAccessControlEnabled(model.getIsAccessControlEnabled()); } @@ -2571,6 +2599,25 @@ public LicenseModel getLicenseModel() { return licenseModel; } + /** + * The maximum number of CPUs allowed with a Bring Your Own License (BYOL), including those used + * for auto-scaling, disaster recovery, tools, etc. Any CPU usage above this limit is considered + * as License Included and billed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("byolComputeCountLimit") + private final Float byolComputeCountLimit; + + /** + * The maximum number of CPUs allowed with a Bring Your Own License (BYOL), including those used + * for auto-scaling, disaster recovery, tools, etc. Any CPU usage above this limit is considered + * as License Included and billed. + * + * @return the value + */ + public Float getByolComputeCountLimit() { + return byolComputeCountLimit; + } + /** * Indicates if the database-level access control is enabled. If disabled, database access is * defined by the network security rules. If enabled, database access is restricted to the IP @@ -3528,6 +3575,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", definedTags=").append(String.valueOf(this.definedTags)); sb.append(", dbWorkload=").append(String.valueOf(this.dbWorkload)); sb.append(", licenseModel=").append(String.valueOf(this.licenseModel)); + sb.append(", byolComputeCountLimit=").append(String.valueOf(this.byolComputeCountLimit)); sb.append(", isAccessControlEnabled=").append(String.valueOf(this.isAccessControlEnabled)); sb.append(", whitelistedIps=").append(String.valueOf(this.whitelistedIps)); sb.append(", arePrimaryWhitelistedIpsUsed=") @@ -3601,6 +3649,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.definedTags, other.definedTags) && java.util.Objects.equals(this.dbWorkload, other.dbWorkload) && java.util.Objects.equals(this.licenseModel, other.licenseModel) + && java.util.Objects.equals(this.byolComputeCountLimit, other.byolComputeCountLimit) && java.util.Objects.equals( this.isAccessControlEnabled, other.isAccessControlEnabled) && java.util.Objects.equals(this.whitelistedIps, other.whitelistedIps) @@ -3691,6 +3740,11 @@ public int hashCode() { result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); result = (result * PRIME) + (this.dbWorkload == null ? 43 : this.dbWorkload.hashCode()); result = (result * PRIME) + (this.licenseModel == null ? 43 : this.licenseModel.hashCode()); + result = + (result * PRIME) + + (this.byolComputeCountLimit == null + ? 43 + : this.byolComputeCountLimit.hashCode()); result = (result * PRIME) + (this.isAccessControlEnabled == null diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/requests/ChangeAutonomousDatabaseSubscriptionRequest.java b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ChangeAutonomousDatabaseSubscriptionRequest.java new file mode 100644 index 00000000000..7d426a016a8 --- /dev/null +++ b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ChangeAutonomousDatabaseSubscriptionRequest.java @@ -0,0 +1,376 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.database.requests; + +import com.oracle.bmc.database.model.*; +/** + * Example: Click here to see how to use + * ChangeAutonomousDatabaseSubscriptionRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +public class ChangeAutonomousDatabaseSubscriptionRequest + extends com.oracle.bmc.requests.BmcRequest< + com.oracle.bmc.database.model.ChangeAutonomousDatabaseSubscriptionDetails> { + + /** Associate an Autonomous Database with a different subscription. */ + private com.oracle.bmc.database.model.ChangeAutonomousDatabaseSubscriptionDetails + changeAutonomousDatabaseSubscriptionDetails; + + /** Associate an Autonomous Database with a different subscription. */ + public com.oracle.bmc.database.model.ChangeAutonomousDatabaseSubscriptionDetails + getChangeAutonomousDatabaseSubscriptionDetails() { + return changeAutonomousDatabaseSubscriptionDetails; + } + /** + * The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). + */ + private String autonomousDatabaseId; + + /** + * The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). + */ + public String getAutonomousDatabaseId() { + return autonomousDatabaseId; + } + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations (for example, if a + * resource has been deleted and purged from the system, then a retry of the original creation + * request may be rejected). + */ + private String opcRetryToken; + + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations (for example, if a + * resource has been deleted and purged from the system, then a retry of the original creation + * request may be rejected). + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + /** Unique identifier for the request. */ + private String opcRequestId; + + /** Unique identifier for the request. */ + public String getOpcRequestId() { + return opcRequestId; + } + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code + * if-match} parameter to the value of the etag from a previous GET or POST response for that + * resource. The resource will be updated or deleted only if the etag you provide matches the + * resource's current etag value. + */ + private String ifMatch; + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code + * if-match} parameter to the value of the etag from a previous GET or POST response for that + * resource. The resource will be updated or deleted only if the etag you provide matches the + * resource's current etag value. + */ + public String getIfMatch() { + return ifMatch; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.database.model.ChangeAutonomousDatabaseSubscriptionDetails getBody$() { + return changeAutonomousDatabaseSubscriptionDetails; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + ChangeAutonomousDatabaseSubscriptionRequest, + com.oracle.bmc.database.model.ChangeAutonomousDatabaseSubscriptionDetails> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** Associate an Autonomous Database with a different subscription. */ + private com.oracle.bmc.database.model.ChangeAutonomousDatabaseSubscriptionDetails + changeAutonomousDatabaseSubscriptionDetails = null; + + /** + * Associate an Autonomous Database with a different subscription. + * + * @param changeAutonomousDatabaseSubscriptionDetails the value to set + * @return this builder instance + */ + public Builder changeAutonomousDatabaseSubscriptionDetails( + com.oracle.bmc.database.model.ChangeAutonomousDatabaseSubscriptionDetails + changeAutonomousDatabaseSubscriptionDetails) { + this.changeAutonomousDatabaseSubscriptionDetails = + changeAutonomousDatabaseSubscriptionDetails; + return this; + } + + /** + * The database + * [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). + */ + private String autonomousDatabaseId = null; + + /** + * The database + * [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). + * + * @param autonomousDatabaseId the value to set + * @return this builder instance + */ + public Builder autonomousDatabaseId(String autonomousDatabaseId) { + this.autonomousDatabaseId = autonomousDatabaseId; + return this; + } + + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after + * 24 hours, but can be invalidated before then due to conflicting operations (for example, + * if a resource has been deleted and purged from the system, then a retry of the original + * creation request may be rejected). + */ + private String opcRetryToken = null; + + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after + * 24 hours, but can be invalidated before then due to conflicting operations (for example, + * if a resource has been deleted and purged from the system, then a retry of the original + * creation request may be rejected). + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** Unique identifier for the request. */ + private String opcRequestId = null; + + /** + * Unique identifier for the request. + * + * @param opcRequestId the value to set + * @return this builder instance + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response + * for that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + */ + private String ifMatch = null; + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response + * for that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + * @param ifMatch the value to set + * @return this builder instance + */ + public Builder ifMatch(String ifMatch) { + this.ifMatch = ifMatch; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(ChangeAutonomousDatabaseSubscriptionRequest o) { + changeAutonomousDatabaseSubscriptionDetails( + o.getChangeAutonomousDatabaseSubscriptionDetails()); + autonomousDatabaseId(o.getAutonomousDatabaseId()); + opcRetryToken(o.getOpcRetryToken()); + opcRequestId(o.getOpcRequestId()); + ifMatch(o.getIfMatch()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of ChangeAutonomousDatabaseSubscriptionRequest 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 ChangeAutonomousDatabaseSubscriptionRequest + */ + public ChangeAutonomousDatabaseSubscriptionRequest build() { + ChangeAutonomousDatabaseSubscriptionRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$( + com.oracle.bmc.database.model.ChangeAutonomousDatabaseSubscriptionDetails body) { + changeAutonomousDatabaseSubscriptionDetails(body); + return this; + } + + /** + * Build the instance of ChangeAutonomousDatabaseSubscriptionRequest 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 ChangeAutonomousDatabaseSubscriptionRequest + */ + public ChangeAutonomousDatabaseSubscriptionRequest buildWithoutInvocationCallback() { + ChangeAutonomousDatabaseSubscriptionRequest request = + new ChangeAutonomousDatabaseSubscriptionRequest(); + request.changeAutonomousDatabaseSubscriptionDetails = + changeAutonomousDatabaseSubscriptionDetails; + request.autonomousDatabaseId = autonomousDatabaseId; + request.opcRetryToken = opcRetryToken; + request.opcRequestId = opcRequestId; + request.ifMatch = ifMatch; + return request; + // new + // ChangeAutonomousDatabaseSubscriptionRequest(changeAutonomousDatabaseSubscriptionDetails, autonomousDatabaseId, opcRetryToken, opcRequestId, ifMatch); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .changeAutonomousDatabaseSubscriptionDetails( + changeAutonomousDatabaseSubscriptionDetails) + .autonomousDatabaseId(autonomousDatabaseId) + .opcRetryToken(opcRetryToken) + .opcRequestId(opcRequestId) + .ifMatch(ifMatch); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",changeAutonomousDatabaseSubscriptionDetails=") + .append(String.valueOf(this.changeAutonomousDatabaseSubscriptionDetails)); + sb.append(",autonomousDatabaseId=").append(String.valueOf(this.autonomousDatabaseId)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId)); + sb.append(",ifMatch=").append(String.valueOf(this.ifMatch)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ChangeAutonomousDatabaseSubscriptionRequest)) { + return false; + } + + ChangeAutonomousDatabaseSubscriptionRequest other = + (ChangeAutonomousDatabaseSubscriptionRequest) o; + return super.equals(o) + && java.util.Objects.equals( + this.changeAutonomousDatabaseSubscriptionDetails, + other.changeAutonomousDatabaseSubscriptionDetails) + && java.util.Objects.equals(this.autonomousDatabaseId, other.autonomousDatabaseId) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.ifMatch, other.ifMatch); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.changeAutonomousDatabaseSubscriptionDetails == null + ? 43 + : this.changeAutonomousDatabaseSubscriptionDetails.hashCode()); + result = + (result * PRIME) + + (this.autonomousDatabaseId == null + ? 43 + : this.autonomousDatabaseId.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode()); + return result; + } +} diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/requests/ChangeCloudExadataInfrastructureSubscriptionRequest.java b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ChangeCloudExadataInfrastructureSubscriptionRequest.java new file mode 100644 index 00000000000..101ce5cd773 --- /dev/null +++ b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ChangeCloudExadataInfrastructureSubscriptionRequest.java @@ -0,0 +1,386 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.database.requests; + +import com.oracle.bmc.database.model.*; +/** + * Example: Click here to see how to use + * ChangeCloudExadataInfrastructureSubscriptionRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +public class ChangeCloudExadataInfrastructureSubscriptionRequest + extends com.oracle.bmc.requests.BmcRequest< + com.oracle.bmc.database.model.ChangeCloudExadataInfrastructureSubscriptionDetails> { + + /** Associate a cloud Exadata infrastructure with a different subscription. */ + private com.oracle.bmc.database.model.ChangeCloudExadataInfrastructureSubscriptionDetails + changeCloudExadataInfrastructureSubscriptionDetails; + + /** Associate a cloud Exadata infrastructure with a different subscription. */ + public com.oracle.bmc.database.model.ChangeCloudExadataInfrastructureSubscriptionDetails + getChangeCloudExadataInfrastructureSubscriptionDetails() { + return changeCloudExadataInfrastructureSubscriptionDetails; + } + /** + * The cloud Exadata infrastructure + * [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). + */ + private String cloudExadataInfrastructureId; + + /** + * The cloud Exadata infrastructure + * [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). + */ + public String getCloudExadataInfrastructureId() { + return cloudExadataInfrastructureId; + } + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations (for example, if a + * resource has been deleted and purged from the system, then a retry of the original creation + * request may be rejected). + */ + private String opcRetryToken; + + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations (for example, if a + * resource has been deleted and purged from the system, then a retry of the original creation + * request may be rejected). + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + /** Unique identifier for the request. */ + private String opcRequestId; + + /** Unique identifier for the request. */ + public String getOpcRequestId() { + return opcRequestId; + } + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code + * if-match} parameter to the value of the etag from a previous GET or POST response for that + * resource. The resource will be updated or deleted only if the etag you provide matches the + * resource's current etag value. + */ + private String ifMatch; + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code + * if-match} parameter to the value of the etag from a previous GET or POST response for that + * resource. The resource will be updated or deleted only if the etag you provide matches the + * resource's current etag value. + */ + public String getIfMatch() { + return ifMatch; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.database.model.ChangeCloudExadataInfrastructureSubscriptionDetails + getBody$() { + return changeCloudExadataInfrastructureSubscriptionDetails; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + ChangeCloudExadataInfrastructureSubscriptionRequest, + com.oracle.bmc.database.model + .ChangeCloudExadataInfrastructureSubscriptionDetails> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** Associate a cloud Exadata infrastructure with a different subscription. */ + private com.oracle.bmc.database.model.ChangeCloudExadataInfrastructureSubscriptionDetails + changeCloudExadataInfrastructureSubscriptionDetails = null; + + /** + * Associate a cloud Exadata infrastructure with a different subscription. + * + * @param changeCloudExadataInfrastructureSubscriptionDetails the value to set + * @return this builder instance + */ + public Builder changeCloudExadataInfrastructureSubscriptionDetails( + com.oracle.bmc.database.model.ChangeCloudExadataInfrastructureSubscriptionDetails + changeCloudExadataInfrastructureSubscriptionDetails) { + this.changeCloudExadataInfrastructureSubscriptionDetails = + changeCloudExadataInfrastructureSubscriptionDetails; + return this; + } + + /** + * The cloud Exadata infrastructure + * [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). + */ + private String cloudExadataInfrastructureId = null; + + /** + * The cloud Exadata infrastructure + * [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). + * + * @param cloudExadataInfrastructureId the value to set + * @return this builder instance + */ + public Builder cloudExadataInfrastructureId(String cloudExadataInfrastructureId) { + this.cloudExadataInfrastructureId = cloudExadataInfrastructureId; + return this; + } + + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after + * 24 hours, but can be invalidated before then due to conflicting operations (for example, + * if a resource has been deleted and purged from the system, then a retry of the original + * creation request may be rejected). + */ + private String opcRetryToken = null; + + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after + * 24 hours, but can be invalidated before then due to conflicting operations (for example, + * if a resource has been deleted and purged from the system, then a retry of the original + * creation request may be rejected). + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** Unique identifier for the request. */ + private String opcRequestId = null; + + /** + * Unique identifier for the request. + * + * @param opcRequestId the value to set + * @return this builder instance + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response + * for that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + */ + private String ifMatch = null; + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response + * for that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + * @param ifMatch the value to set + * @return this builder instance + */ + public Builder ifMatch(String ifMatch) { + this.ifMatch = ifMatch; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(ChangeCloudExadataInfrastructureSubscriptionRequest o) { + changeCloudExadataInfrastructureSubscriptionDetails( + o.getChangeCloudExadataInfrastructureSubscriptionDetails()); + cloudExadataInfrastructureId(o.getCloudExadataInfrastructureId()); + opcRetryToken(o.getOpcRetryToken()); + opcRequestId(o.getOpcRequestId()); + ifMatch(o.getIfMatch()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of ChangeCloudExadataInfrastructureSubscriptionRequest 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 ChangeCloudExadataInfrastructureSubscriptionRequest + */ + public ChangeCloudExadataInfrastructureSubscriptionRequest build() { + ChangeCloudExadataInfrastructureSubscriptionRequest request = + buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$( + com.oracle.bmc.database.model.ChangeCloudExadataInfrastructureSubscriptionDetails + body) { + changeCloudExadataInfrastructureSubscriptionDetails(body); + return this; + } + + /** + * Build the instance of ChangeCloudExadataInfrastructureSubscriptionRequest 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 ChangeCloudExadataInfrastructureSubscriptionRequest + */ + public ChangeCloudExadataInfrastructureSubscriptionRequest + buildWithoutInvocationCallback() { + ChangeCloudExadataInfrastructureSubscriptionRequest request = + new ChangeCloudExadataInfrastructureSubscriptionRequest(); + request.changeCloudExadataInfrastructureSubscriptionDetails = + changeCloudExadataInfrastructureSubscriptionDetails; + request.cloudExadataInfrastructureId = cloudExadataInfrastructureId; + request.opcRetryToken = opcRetryToken; + request.opcRequestId = opcRequestId; + request.ifMatch = ifMatch; + return request; + // new + // ChangeCloudExadataInfrastructureSubscriptionRequest(changeCloudExadataInfrastructureSubscriptionDetails, cloudExadataInfrastructureId, opcRetryToken, opcRequestId, ifMatch); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .changeCloudExadataInfrastructureSubscriptionDetails( + changeCloudExadataInfrastructureSubscriptionDetails) + .cloudExadataInfrastructureId(cloudExadataInfrastructureId) + .opcRetryToken(opcRetryToken) + .opcRequestId(opcRequestId) + .ifMatch(ifMatch); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",changeCloudExadataInfrastructureSubscriptionDetails=") + .append(String.valueOf(this.changeCloudExadataInfrastructureSubscriptionDetails)); + sb.append(",cloudExadataInfrastructureId=") + .append(String.valueOf(this.cloudExadataInfrastructureId)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId)); + sb.append(",ifMatch=").append(String.valueOf(this.ifMatch)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ChangeCloudExadataInfrastructureSubscriptionRequest)) { + return false; + } + + ChangeCloudExadataInfrastructureSubscriptionRequest other = + (ChangeCloudExadataInfrastructureSubscriptionRequest) o; + return super.equals(o) + && java.util.Objects.equals( + this.changeCloudExadataInfrastructureSubscriptionDetails, + other.changeCloudExadataInfrastructureSubscriptionDetails) + && java.util.Objects.equals( + this.cloudExadataInfrastructureId, other.cloudExadataInfrastructureId) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.ifMatch, other.ifMatch); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.changeCloudExadataInfrastructureSubscriptionDetails == null + ? 43 + : this.changeCloudExadataInfrastructureSubscriptionDetails + .hashCode()); + result = + (result * PRIME) + + (this.cloudExadataInfrastructureId == null + ? 43 + : this.cloudExadataInfrastructureId.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode()); + return result; + } +} diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/requests/ChangeCloudVmClusterSubscriptionRequest.java b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ChangeCloudVmClusterSubscriptionRequest.java new file mode 100644 index 00000000000..7521de1312f --- /dev/null +++ b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ChangeCloudVmClusterSubscriptionRequest.java @@ -0,0 +1,372 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.database.requests; + +import com.oracle.bmc.database.model.*; +/** + * Example: Click here to see how to use + * ChangeCloudVmClusterSubscriptionRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +public class ChangeCloudVmClusterSubscriptionRequest + extends com.oracle.bmc.requests.BmcRequest< + com.oracle.bmc.database.model.ChangeCloudVmClusterSubscriptionDetails> { + + /** Associate a cloud VM cluster with a different subscription. */ + private com.oracle.bmc.database.model.ChangeCloudVmClusterSubscriptionDetails + changeCloudVmClusterSubscriptionDetails; + + /** Associate a cloud VM cluster with a different subscription. */ + public com.oracle.bmc.database.model.ChangeCloudVmClusterSubscriptionDetails + getChangeCloudVmClusterSubscriptionDetails() { + return changeCloudVmClusterSubscriptionDetails; + } + /** + * The cloud VM cluster + * [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). + */ + private String cloudVmClusterId; + + /** + * The cloud VM cluster + * [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). + */ + public String getCloudVmClusterId() { + return cloudVmClusterId; + } + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations (for example, if a + * resource has been deleted and purged from the system, then a retry of the original creation + * request may be rejected). + */ + private String opcRetryToken; + + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations (for example, if a + * resource has been deleted and purged from the system, then a retry of the original creation + * request may be rejected). + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + /** Unique identifier for the request. */ + private String opcRequestId; + + /** Unique identifier for the request. */ + public String getOpcRequestId() { + return opcRequestId; + } + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code + * if-match} parameter to the value of the etag from a previous GET or POST response for that + * resource. The resource will be updated or deleted only if the etag you provide matches the + * resource's current etag value. + */ + private String ifMatch; + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code + * if-match} parameter to the value of the etag from a previous GET or POST response for that + * resource. The resource will be updated or deleted only if the etag you provide matches the + * resource's current etag value. + */ + public String getIfMatch() { + return ifMatch; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.database.model.ChangeCloudVmClusterSubscriptionDetails getBody$() { + return changeCloudVmClusterSubscriptionDetails; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + ChangeCloudVmClusterSubscriptionRequest, + com.oracle.bmc.database.model.ChangeCloudVmClusterSubscriptionDetails> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** Associate a cloud VM cluster with a different subscription. */ + private com.oracle.bmc.database.model.ChangeCloudVmClusterSubscriptionDetails + changeCloudVmClusterSubscriptionDetails = null; + + /** + * Associate a cloud VM cluster with a different subscription. + * + * @param changeCloudVmClusterSubscriptionDetails the value to set + * @return this builder instance + */ + public Builder changeCloudVmClusterSubscriptionDetails( + com.oracle.bmc.database.model.ChangeCloudVmClusterSubscriptionDetails + changeCloudVmClusterSubscriptionDetails) { + this.changeCloudVmClusterSubscriptionDetails = changeCloudVmClusterSubscriptionDetails; + return this; + } + + /** + * The cloud VM cluster + * [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). + */ + private String cloudVmClusterId = null; + + /** + * The cloud VM cluster + * [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). + * + * @param cloudVmClusterId the value to set + * @return this builder instance + */ + public Builder cloudVmClusterId(String cloudVmClusterId) { + this.cloudVmClusterId = cloudVmClusterId; + return this; + } + + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after + * 24 hours, but can be invalidated before then due to conflicting operations (for example, + * if a resource has been deleted and purged from the system, then a retry of the original + * creation request may be rejected). + */ + private String opcRetryToken = null; + + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after + * 24 hours, but can be invalidated before then due to conflicting operations (for example, + * if a resource has been deleted and purged from the system, then a retry of the original + * creation request may be rejected). + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** Unique identifier for the request. */ + private String opcRequestId = null; + + /** + * Unique identifier for the request. + * + * @param opcRequestId the value to set + * @return this builder instance + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response + * for that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + */ + private String ifMatch = null; + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response + * for that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + * @param ifMatch the value to set + * @return this builder instance + */ + public Builder ifMatch(String ifMatch) { + this.ifMatch = ifMatch; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(ChangeCloudVmClusterSubscriptionRequest o) { + changeCloudVmClusterSubscriptionDetails(o.getChangeCloudVmClusterSubscriptionDetails()); + cloudVmClusterId(o.getCloudVmClusterId()); + opcRetryToken(o.getOpcRetryToken()); + opcRequestId(o.getOpcRequestId()); + ifMatch(o.getIfMatch()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of ChangeCloudVmClusterSubscriptionRequest 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 ChangeCloudVmClusterSubscriptionRequest + */ + public ChangeCloudVmClusterSubscriptionRequest build() { + ChangeCloudVmClusterSubscriptionRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$( + com.oracle.bmc.database.model.ChangeCloudVmClusterSubscriptionDetails body) { + changeCloudVmClusterSubscriptionDetails(body); + return this; + } + + /** + * Build the instance of ChangeCloudVmClusterSubscriptionRequest 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 ChangeCloudVmClusterSubscriptionRequest + */ + public ChangeCloudVmClusterSubscriptionRequest buildWithoutInvocationCallback() { + ChangeCloudVmClusterSubscriptionRequest request = + new ChangeCloudVmClusterSubscriptionRequest(); + request.changeCloudVmClusterSubscriptionDetails = + changeCloudVmClusterSubscriptionDetails; + request.cloudVmClusterId = cloudVmClusterId; + request.opcRetryToken = opcRetryToken; + request.opcRequestId = opcRequestId; + request.ifMatch = ifMatch; + return request; + // new ChangeCloudVmClusterSubscriptionRequest(changeCloudVmClusterSubscriptionDetails, + // cloudVmClusterId, opcRetryToken, opcRequestId, ifMatch); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .changeCloudVmClusterSubscriptionDetails(changeCloudVmClusterSubscriptionDetails) + .cloudVmClusterId(cloudVmClusterId) + .opcRetryToken(opcRetryToken) + .opcRequestId(opcRequestId) + .ifMatch(ifMatch); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",changeCloudVmClusterSubscriptionDetails=") + .append(String.valueOf(this.changeCloudVmClusterSubscriptionDetails)); + sb.append(",cloudVmClusterId=").append(String.valueOf(this.cloudVmClusterId)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId)); + sb.append(",ifMatch=").append(String.valueOf(this.ifMatch)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ChangeCloudVmClusterSubscriptionRequest)) { + return false; + } + + ChangeCloudVmClusterSubscriptionRequest other = (ChangeCloudVmClusterSubscriptionRequest) o; + return super.equals(o) + && java.util.Objects.equals( + this.changeCloudVmClusterSubscriptionDetails, + other.changeCloudVmClusterSubscriptionDetails) + && java.util.Objects.equals(this.cloudVmClusterId, other.cloudVmClusterId) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.ifMatch, other.ifMatch); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.changeCloudVmClusterSubscriptionDetails == null + ? 43 + : this.changeCloudVmClusterSubscriptionDetails.hashCode()); + result = + (result * PRIME) + + (this.cloudVmClusterId == null ? 43 : this.cloudVmClusterId.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode()); + return result; + } +} diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/responses/ChangeAutonomousDatabaseSubscriptionResponse.java b/bmc-database/src/main/java/com/oracle/bmc/database/responses/ChangeAutonomousDatabaseSubscriptionResponse.java new file mode 100644 index 00000000000..ec71f8681aa --- /dev/null +++ b/bmc-database/src/main/java/com/oracle/bmc/database/responses/ChangeAutonomousDatabaseSubscriptionResponse.java @@ -0,0 +1,196 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.database.responses; + +import com.oracle.bmc.database.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +public class ChangeAutonomousDatabaseSubscriptionResponse + extends com.oracle.bmc.responses.BmcResponse { + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. Multiple OCID values are returned in a comma-separated list. Use {@link + * #getWorkRequest(GetWorkRequestRequest) getWorkRequest} with a work request OCID to track the + * status of the request. + */ + private String opcWorkRequestId; + + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. Multiple OCID values are returned in a comma-separated list. Use {@link + * #getWorkRequest(GetWorkRequestRequest) getWorkRequest} with a work request OCID to track the + * status of the request. + * + * @return the value + */ + public String getOpcWorkRequestId() { + return opcWorkRequestId; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcWorkRequestId", + "opcRequestId" + }) + private ChangeAutonomousDatabaseSubscriptionResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcWorkRequestId, + String opcRequestId) { + super(__httpStatusCode__, headers); + this.opcWorkRequestId = opcWorkRequestId; + this.opcRequestId = opcRequestId; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder< + ChangeAutonomousDatabaseSubscriptionResponse> { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. Multiple OCID values are returned in a comma-separated list. Use {@link + * #getWorkRequest(GetWorkRequestRequest) getWorkRequest} with a work request OCID to track + * the status of the request. + */ + private String opcWorkRequestId; + + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. Multiple OCID values are returned in a comma-separated list. Use {@link + * #getWorkRequest(GetWorkRequestRequest) getWorkRequest} with a work request OCID to track + * the status of the request. + * + * @param opcWorkRequestId the value to set + * @return this builder + */ + public Builder opcWorkRequestId(String opcWorkRequestId) { + this.opcWorkRequestId = opcWorkRequestId; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(ChangeAutonomousDatabaseSubscriptionResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcWorkRequestId(o.getOpcWorkRequestId()); + opcRequestId(o.getOpcRequestId()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public ChangeAutonomousDatabaseSubscriptionResponse build() { + return new ChangeAutonomousDatabaseSubscriptionResponse( + __httpStatusCode__, headers, opcWorkRequestId, opcRequestId); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcWorkRequestId=").append(String.valueOf(opcWorkRequestId)); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ChangeAutonomousDatabaseSubscriptionResponse)) { + return false; + } + + ChangeAutonomousDatabaseSubscriptionResponse other = + (ChangeAutonomousDatabaseSubscriptionResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcWorkRequestId, other.opcWorkRequestId) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.opcWorkRequestId == null ? 43 : this.opcWorkRequestId.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + return result; + } +} diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/responses/ChangeCloudExadataInfrastructureSubscriptionResponse.java b/bmc-database/src/main/java/com/oracle/bmc/database/responses/ChangeCloudExadataInfrastructureSubscriptionResponse.java new file mode 100644 index 00000000000..cfdb0a6d50a --- /dev/null +++ b/bmc-database/src/main/java/com/oracle/bmc/database/responses/ChangeCloudExadataInfrastructureSubscriptionResponse.java @@ -0,0 +1,196 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.database.responses; + +import com.oracle.bmc.database.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +public class ChangeCloudExadataInfrastructureSubscriptionResponse + extends com.oracle.bmc.responses.BmcResponse { + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. Multiple OCID values are returned in a comma-separated list. Use {@link + * #getWorkRequest(GetWorkRequestRequest) getWorkRequest} with a work request OCID to track the + * status of the request. + */ + private String opcWorkRequestId; + + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. Multiple OCID values are returned in a comma-separated list. Use {@link + * #getWorkRequest(GetWorkRequestRequest) getWorkRequest} with a work request OCID to track the + * status of the request. + * + * @return the value + */ + public String getOpcWorkRequestId() { + return opcWorkRequestId; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcWorkRequestId", + "opcRequestId" + }) + private ChangeCloudExadataInfrastructureSubscriptionResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcWorkRequestId, + String opcRequestId) { + super(__httpStatusCode__, headers); + this.opcWorkRequestId = opcWorkRequestId; + this.opcRequestId = opcRequestId; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder< + ChangeCloudExadataInfrastructureSubscriptionResponse> { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. Multiple OCID values are returned in a comma-separated list. Use {@link + * #getWorkRequest(GetWorkRequestRequest) getWorkRequest} with a work request OCID to track + * the status of the request. + */ + private String opcWorkRequestId; + + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. Multiple OCID values are returned in a comma-separated list. Use {@link + * #getWorkRequest(GetWorkRequestRequest) getWorkRequest} with a work request OCID to track + * the status of the request. + * + * @param opcWorkRequestId the value to set + * @return this builder + */ + public Builder opcWorkRequestId(String opcWorkRequestId) { + this.opcWorkRequestId = opcWorkRequestId; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(ChangeCloudExadataInfrastructureSubscriptionResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcWorkRequestId(o.getOpcWorkRequestId()); + opcRequestId(o.getOpcRequestId()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public ChangeCloudExadataInfrastructureSubscriptionResponse build() { + return new ChangeCloudExadataInfrastructureSubscriptionResponse( + __httpStatusCode__, headers, opcWorkRequestId, opcRequestId); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcWorkRequestId=").append(String.valueOf(opcWorkRequestId)); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ChangeCloudExadataInfrastructureSubscriptionResponse)) { + return false; + } + + ChangeCloudExadataInfrastructureSubscriptionResponse other = + (ChangeCloudExadataInfrastructureSubscriptionResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcWorkRequestId, other.opcWorkRequestId) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.opcWorkRequestId == null ? 43 : this.opcWorkRequestId.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + return result; + } +} diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/responses/ChangeCloudVmClusterSubscriptionResponse.java b/bmc-database/src/main/java/com/oracle/bmc/database/responses/ChangeCloudVmClusterSubscriptionResponse.java new file mode 100644 index 00000000000..57f3f6c3314 --- /dev/null +++ b/bmc-database/src/main/java/com/oracle/bmc/database/responses/ChangeCloudVmClusterSubscriptionResponse.java @@ -0,0 +1,195 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.database.responses; + +import com.oracle.bmc.database.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +public class ChangeCloudVmClusterSubscriptionResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. Multiple OCID values are returned in a comma-separated list. Use {@link + * #getWorkRequest(GetWorkRequestRequest) getWorkRequest} with a work request OCID to track the + * status of the request. + */ + private String opcWorkRequestId; + + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. Multiple OCID values are returned in a comma-separated list. Use {@link + * #getWorkRequest(GetWorkRequestRequest) getWorkRequest} with a work request OCID to track the + * status of the request. + * + * @return the value + */ + public String getOpcWorkRequestId() { + return opcWorkRequestId; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcWorkRequestId", + "opcRequestId" + }) + private ChangeCloudVmClusterSubscriptionResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcWorkRequestId, + String opcRequestId) { + super(__httpStatusCode__, headers); + this.opcWorkRequestId = opcWorkRequestId; + this.opcRequestId = opcRequestId; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder< + ChangeCloudVmClusterSubscriptionResponse> { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. Multiple OCID values are returned in a comma-separated list. Use {@link + * #getWorkRequest(GetWorkRequestRequest) getWorkRequest} with a work request OCID to track + * the status of the request. + */ + private String opcWorkRequestId; + + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. Multiple OCID values are returned in a comma-separated list. Use {@link + * #getWorkRequest(GetWorkRequestRequest) getWorkRequest} with a work request OCID to track + * the status of the request. + * + * @param opcWorkRequestId the value to set + * @return this builder + */ + public Builder opcWorkRequestId(String opcWorkRequestId) { + this.opcWorkRequestId = opcWorkRequestId; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(ChangeCloudVmClusterSubscriptionResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcWorkRequestId(o.getOpcWorkRequestId()); + opcRequestId(o.getOpcRequestId()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public ChangeCloudVmClusterSubscriptionResponse build() { + return new ChangeCloudVmClusterSubscriptionResponse( + __httpStatusCode__, headers, opcWorkRequestId, opcRequestId); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcWorkRequestId=").append(String.valueOf(opcWorkRequestId)); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ChangeCloudVmClusterSubscriptionResponse)) { + return false; + } + + ChangeCloudVmClusterSubscriptionResponse other = + (ChangeCloudVmClusterSubscriptionResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcWorkRequestId, other.opcWorkRequestId) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.opcWorkRequestId == null ? 43 : this.opcWorkRequestId.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + return result; + } +} diff --git a/bmc-database/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-database/reflect-config.json b/bmc-database/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-database/reflect-config.json index e336f90d4b6..332e0987e5b 100644 --- a/bmc-database/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-database/reflect-config.json +++ b/bmc-database/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-database/reflect-config.json @@ -1497,6 +1497,20 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.database.model.ChangeAutonomousDatabaseSubscriptionDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.database.model.ChangeAutonomousDatabaseSubscriptionDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.database.model.ChangeAutonomousVmClusterCompartmentDetails", @@ -1539,6 +1553,20 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.database.model.ChangeCloudExadataInfrastructureSubscriptionDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.database.model.ChangeCloudExadataInfrastructureSubscriptionDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.database.model.ChangeCloudVmClusterCompartmentDetails", @@ -1553,6 +1581,20 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.database.model.ChangeCloudVmClusterSubscriptionDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.database.model.ChangeCloudVmClusterSubscriptionDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.database.model.ChangeCompartmentDetails", @@ -1683,6 +1725,20 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.database.model.ChangeSubscriptionDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.database.model.ChangeSubscriptionDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.database.model.ChangeVmClusterCompartmentDetails", diff --git a/bmc-database/src/main/resources/com/oracle/bmc/database/client.properties b/bmc-database/src/main/resources/com/oracle/bmc/database/client.properties index 2fa5d3f17ae..0d8dd8a77fe 100644 --- a/bmc-database/src/main/resources/com/oracle/bmc/database/client.properties +++ b/bmc-database/src/main/resources/com/oracle/bmc/database/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") \ No newline at end of file diff --git a/bmc-databasemanagement/pom.xml b/bmc-databasemanagement/pom.xml index 8d0dc290604..b7bb47f8989 100644 --- a/bmc-databasemanagement/pom.xml +++ b/bmc-databasemanagement/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-databasemanagement @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-databasemanagement/src/main/resources/com/oracle/bmc/databasemanagement/client.properties b/bmc-databasemanagement/src/main/resources/com/oracle/bmc/databasemanagement/client.properties index 1f8bada6699..280f9582a2e 100644 --- a/bmc-databasemanagement/src/main/resources/com/oracle/bmc/databasemanagement/client.properties +++ b/bmc-databasemanagement/src/main/resources/com/oracle/bmc/databasemanagement/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20201101") \ No newline at end of file diff --git a/bmc-databasemigration/pom.xml b/bmc-databasemigration/pom.xml index 90f59c680cd..0445d99d691 100644 --- a/bmc-databasemigration/pom.xml +++ b/bmc-databasemigration/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-databasemigration @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-databasemigration/src/main/resources/com/oracle/bmc/databasemigration/client.properties b/bmc-databasemigration/src/main/resources/com/oracle/bmc/databasemigration/client.properties index f750bf10f49..c838e75f82d 100644 --- a/bmc-databasemigration/src/main/resources/com/oracle/bmc/databasemigration/client.properties +++ b/bmc-databasemigration/src/main/resources/com/oracle/bmc/databasemigration/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20230518") \ No newline at end of file diff --git a/bmc-databasetools/pom.xml b/bmc-databasetools/pom.xml index d97a621b17d..c7b6b62cce3 100644 --- a/bmc-databasetools/pom.xml +++ b/bmc-databasetools/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-databasetools @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-databasetools/src/main/resources/com/oracle/bmc/databasetools/client.properties b/bmc-databasetools/src/main/resources/com/oracle/bmc/databasetools/client.properties index 88385e6871e..04d088dfca0 100644 --- a/bmc-databasetools/src/main/resources/com/oracle/bmc/databasetools/client.properties +++ b/bmc-databasetools/src/main/resources/com/oracle/bmc/databasetools/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20201005") \ No newline at end of file diff --git a/bmc-datacatalog/pom.xml b/bmc-datacatalog/pom.xml index 393cd794cfc..abfb85453bf 100644 --- a/bmc-datacatalog/pom.xml +++ b/bmc-datacatalog/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-datacatalog @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-datacatalog/src/main/resources/com/oracle/bmc/datacatalog/client.properties b/bmc-datacatalog/src/main/resources/com/oracle/bmc/datacatalog/client.properties index 4e2ed04b1f0..7695db72d86 100644 --- a/bmc-datacatalog/src/main/resources/com/oracle/bmc/datacatalog/client.properties +++ b/bmc-datacatalog/src/main/resources/com/oracle/bmc/datacatalog/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190325") \ No newline at end of file diff --git a/bmc-dataflow/pom.xml b/bmc-dataflow/pom.xml index 4c61ff418f0..d234b35fd93 100644 --- a/bmc-dataflow/pom.xml +++ b/bmc-dataflow/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-dataflow @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-dataflow/src/main/resources/com/oracle/bmc/dataflow/client.properties b/bmc-dataflow/src/main/resources/com/oracle/bmc/dataflow/client.properties index 68abd2cb8da..45ecd0a8cfd 100644 --- a/bmc-dataflow/src/main/resources/com/oracle/bmc/dataflow/client.properties +++ b/bmc-dataflow/src/main/resources/com/oracle/bmc/dataflow/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200129") \ No newline at end of file diff --git a/bmc-dataintegration/pom.xml b/bmc-dataintegration/pom.xml index a69a4a41105..096ddbe96e0 100644 --- a/bmc-dataintegration/pom.xml +++ b/bmc-dataintegration/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-dataintegration @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-dataintegration/src/main/resources/com/oracle/bmc/dataintegration/client.properties b/bmc-dataintegration/src/main/resources/com/oracle/bmc/dataintegration/client.properties index f39a22eea6c..821b1c50008 100644 --- a/bmc-dataintegration/src/main/resources/com/oracle/bmc/dataintegration/client.properties +++ b/bmc-dataintegration/src/main/resources/com/oracle/bmc/dataintegration/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200430") \ No newline at end of file diff --git a/bmc-datalabelingservice/pom.xml b/bmc-datalabelingservice/pom.xml index c9e79d389f1..aa41ccc82d3 100644 --- a/bmc-datalabelingservice/pom.xml +++ b/bmc-datalabelingservice/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-datalabelingservice @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-datalabelingservice/src/main/resources/com/oracle/bmc/datalabelingservice/client.properties b/bmc-datalabelingservice/src/main/resources/com/oracle/bmc/datalabelingservice/client.properties index f5b39b54465..7f1efee3f18 100644 --- a/bmc-datalabelingservice/src/main/resources/com/oracle/bmc/datalabelingservice/client.properties +++ b/bmc-datalabelingservice/src/main/resources/com/oracle/bmc/datalabelingservice/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20211001") \ No newline at end of file diff --git a/bmc-datalabelingservicedataplane/pom.xml b/bmc-datalabelingservicedataplane/pom.xml index a2556858f5f..87496770170 100644 --- a/bmc-datalabelingservicedataplane/pom.xml +++ b/bmc-datalabelingservicedataplane/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-datalabelingservicedataplane @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-datalabelingservicedataplane/src/main/resources/com/oracle/bmc/datalabelingservicedataplane/client.properties b/bmc-datalabelingservicedataplane/src/main/resources/com/oracle/bmc/datalabelingservicedataplane/client.properties index f5b39b54465..7f1efee3f18 100644 --- a/bmc-datalabelingservicedataplane/src/main/resources/com/oracle/bmc/datalabelingservicedataplane/client.properties +++ b/bmc-datalabelingservicedataplane/src/main/resources/com/oracle/bmc/datalabelingservicedataplane/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20211001") \ No newline at end of file diff --git a/bmc-datasafe/pom.xml b/bmc-datasafe/pom.xml index 73cb1d99cff..7b02f9711af 100644 --- a/bmc-datasafe/pom.xml +++ b/bmc-datasafe/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-datasafe @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/DataSafe.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/DataSafe.java index b5ef09f919b..392cbb9acb6 100644 --- a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/DataSafe.java +++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/DataSafe.java @@ -3735,6 +3735,23 @@ ListSecurityPolicyReportsResponse listSecurityPolicyReports( */ ListSensitiveColumnsResponse listSensitiveColumns(ListSensitiveColumnsRequest request); + /** + * Gets a list of sensitive type Ids present in the specified sensitive data model. + * + * @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 + * ListSensitiveDataModelSensitiveTypes API. + */ + ListSensitiveDataModelSensitiveTypesResponse listSensitiveDataModelSensitiveTypes( + ListSensitiveDataModelSensitiveTypesRequest request); + /** * Gets a list of sensitive data models based on the specified query parameters. * @@ -4691,9 +4708,11 @@ SetUserAssessmentBaselineResponse setUserAssessmentBaseline( SuspendWorkRequestResponse suspendWorkRequest(SuspendWorkRequestRequest request); /** - * Removes the baseline setting for the saved security assessment. The saved security assessment - * is no longer considered a baseline. Sets the if-match parameter to the value of the etag from - * a previous GET or POST response for that resource. + * Removes the baseline setting for the saved security assessment associated with the targetId + * passed via body. If no body or empty body is passed then the baseline settings of all the + * saved security assessments pertaining to the baseline assessment OCID provided in the path + * will be removed. Sets the if-match parameter to the value of the etag from a previous GET or + * POST response for that resource. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -4710,9 +4729,11 @@ UnsetSecurityAssessmentBaselineResponse unsetSecurityAssessmentBaseline( UnsetSecurityAssessmentBaselineRequest request); /** - * Removes the baseline setting for the saved user assessment. The saved user assessment is no - * longer considered a baseline. Sets the if-match parameter to the value of the etag from a - * previous GET or POST response for that resource. + * Removes the baseline setting for the saved user assessment associated with the targetId + * passed via body. If no body or empty body is passed then the baseline settings of all the + * saved user assessments pertaining to the baseline assessment OCID provided in the path will + * be removed. Sets the if-match parameter to the value of the etag from a previous GET or POST + * response for that resource. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/DataSafeAsync.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/DataSafeAsync.java index d9ef0cebdcc..1d9ac73f7b2 100644 --- a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/DataSafeAsync.java +++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/DataSafeAsync.java @@ -3723,6 +3723,24 @@ java.util.concurrent.Future listSensitiveColumns( ListSensitiveColumnsRequest, ListSensitiveColumnsResponse> handler); + /** + * Gets a list of sensitive type Ids present in the specified sensitive data model. + * + * @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 + listSensitiveDataModelSensitiveTypes( + ListSensitiveDataModelSensitiveTypesRequest request, + com.oracle.bmc.responses.AsyncHandler< + ListSensitiveDataModelSensitiveTypesRequest, + ListSensitiveDataModelSensitiveTypesResponse> + handler); + /** * Gets a list of sensitive data models based on the specified query parameters. * @@ -4675,9 +4693,11 @@ java.util.concurrent.Future suspendWorkRequest( handler); /** - * Removes the baseline setting for the saved security assessment. The saved security assessment - * is no longer considered a baseline. Sets the if-match parameter to the value of the etag from - * a previous GET or POST response for that resource. + * Removes the baseline setting for the saved security assessment associated with the targetId + * passed via body. If no body or empty body is passed then the baseline settings of all the + * saved security assessments pertaining to the baseline assessment OCID provided in the path + * will be removed. Sets the if-match parameter to the value of the etag from a previous GET or + * POST response for that resource. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -4695,9 +4715,11 @@ java.util.concurrent.Future suspendWorkRequest( handler); /** - * Removes the baseline setting for the saved user assessment. The saved user assessment is no - * longer considered a baseline. Sets the if-match parameter to the value of the etag from a - * previous GET or POST response for that resource. + * Removes the baseline setting for the saved user assessment associated with the targetId + * passed via body. If no body or empty body is passed then the baseline settings of all the + * saved user assessments pertaining to the baseline assessment OCID provided in the path will + * be removed. Sets the if-match parameter to the value of the etag from a previous GET or POST + * response for that resource. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/DataSafeAsyncClient.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/DataSafeAsyncClient.java index 6b059764f9d..6ba126a1cfe 100644 --- a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/DataSafeAsyncClient.java +++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/DataSafeAsyncClient.java @@ -6395,6 +6395,7 @@ public java.util.concurrent.Future listFindings( .appendQueryParam("page", request.getPage()) .appendQueryParam("compartmentIdInSubtree", request.getCompartmentIdInSubtree()) .appendEnumQueryParam("accessLevel", request.getAccessLevel()) + .appendQueryParam("targetId", request.getTargetId()) .appendQueryParam("findingKey", request.getFindingKey()) .accept("application/json") .appendHeader("opc-request-id", request.getOpcRequestId()) @@ -7285,6 +7286,10 @@ public java.util.concurrent.Future listReports( .appendEnumQueryParam("sortOrder", request.getSortOrder()) .appendEnumQueryParam("sortBy", request.getSortBy()) .appendQueryParam("reportDefinitionId", request.getReportDefinitionId()) + .appendQueryParam( + "timeGeneratedGreaterThanOrEqualTo", + request.getTimeGeneratedGreaterThanOrEqualTo()) + .appendQueryParam("timeGeneratedLessThan", request.getTimeGeneratedLessThan()) .appendEnumQueryParam("lifecycleState", request.getLifecycleState()) .appendEnumQueryParam("type", request.getType()) .accept("application/json") @@ -7898,6 +7903,54 @@ public java.util.concurrent.Future listSensitiveCo .callAsync(handler); } + @Override + public java.util.concurrent.Future + listSensitiveDataModelSensitiveTypes( + ListSensitiveDataModelSensitiveTypesRequest request, + final com.oracle.bmc.responses.AsyncHandler< + ListSensitiveDataModelSensitiveTypesRequest, + ListSensitiveDataModelSensitiveTypesResponse> + handler) { + + Validate.notBlank( + request.getSensitiveDataModelId(), "sensitiveDataModelId must not be blank"); + + return clientCall(request, ListSensitiveDataModelSensitiveTypesResponse::builder) + .logger(LOG, "listSensitiveDataModelSensitiveTypes") + .serviceDetails( + "DataSafe", + "ListSensitiveDataModelSensitiveTypes", + "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/SensitiveDataModelSensitiveTypeCollection/ListSensitiveDataModelSensitiveTypes") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(ListSensitiveDataModelSensitiveTypesRequest::builder) + .basePath("/20181201") + .appendPathParam("sensitiveDataModels") + .appendPathParam(request.getSensitiveDataModelId()) + .appendPathParam("sensitiveTypes") + .appendQueryParam("sensitiveTypeId", request.getSensitiveTypeId()) + .appendEnumQueryParam("sortBy", request.getSortBy()) + .appendEnumQueryParam("sortOrder", request.getSortOrder()) + .appendQueryParam("limit", request.getLimit()) + .appendQueryParam("page", request.getPage()) + .accept("application/json") + .appendHeader("opc-request-id", request.getOpcRequestId()) + .handleBody( + com.oracle.bmc.datasafe.model.SensitiveDataModelSensitiveTypeCollection + .class, + ListSensitiveDataModelSensitiveTypesResponse.Builder + ::sensitiveDataModelSensitiveTypeCollection) + .handleResponseHeaderString( + "opc-request-id", + ListSensitiveDataModelSensitiveTypesResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", + ListSensitiveDataModelSensitiveTypesResponse.Builder::opcNextPage) + .handleResponseHeaderString( + "opc-prev-page", + ListSensitiveDataModelSensitiveTypesResponse.Builder::opcPrevPage) + .callAsync(handler); + } + @Override public java.util.concurrent.Future listSensitiveDataModels( ListSensitiveDataModelsRequest request, @@ -9980,6 +10033,7 @@ public java.util.concurrent.Future suspendWorkReques .appendHeader("if-match", request.getIfMatch()) .appendHeader("opc-retry-token", request.getOpcRetryToken()) .appendHeader("opc-request-id", request.getOpcRequestId()) + .hasBody() .handleResponseHeaderString( "opc-work-request-id", UnsetSecurityAssessmentBaselineResponse.Builder::opcWorkRequestId) @@ -10017,6 +10071,7 @@ public java.util.concurrent.Future suspendWorkReques .appendHeader("if-match", request.getIfMatch()) .appendHeader("opc-retry-token", request.getOpcRetryToken()) .appendHeader("opc-request-id", request.getOpcRequestId()) + .hasBody() .handleResponseHeaderString( "opc-work-request-id", UnsetUserAssessmentBaselineResponse.Builder::opcWorkRequestId) diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/DataSafeClient.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/DataSafeClient.java index 1d479e7c7ab..5921f70ca76 100644 --- a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/DataSafeClient.java +++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/DataSafeClient.java @@ -5917,6 +5917,7 @@ public ListFindingsResponse listFindings(ListFindingsRequest request) { .appendQueryParam("page", request.getPage()) .appendQueryParam("compartmentIdInSubtree", request.getCompartmentIdInSubtree()) .appendEnumQueryParam("accessLevel", request.getAccessLevel()) + .appendQueryParam("targetId", request.getTargetId()) .appendQueryParam("findingKey", request.getFindingKey()) .accept("application/json") .appendHeader("opc-request-id", request.getOpcRequestId()) @@ -6755,6 +6756,10 @@ public ListReportsResponse listReports(ListReportsRequest request) { .appendEnumQueryParam("sortOrder", request.getSortOrder()) .appendEnumQueryParam("sortBy", request.getSortBy()) .appendQueryParam("reportDefinitionId", request.getReportDefinitionId()) + .appendQueryParam( + "timeGeneratedGreaterThanOrEqualTo", + request.getTimeGeneratedGreaterThanOrEqualTo()) + .appendQueryParam("timeGeneratedLessThan", request.getTimeGeneratedLessThan()) .appendEnumQueryParam("lifecycleState", request.getLifecycleState()) .appendEnumQueryParam("type", request.getType()) .accept("application/json") @@ -7333,6 +7338,50 @@ public ListSensitiveColumnsResponse listSensitiveColumns(ListSensitiveColumnsReq .callSync(); } + @Override + public ListSensitiveDataModelSensitiveTypesResponse listSensitiveDataModelSensitiveTypes( + ListSensitiveDataModelSensitiveTypesRequest request) { + + Validate.notBlank( + request.getSensitiveDataModelId(), "sensitiveDataModelId must not be blank"); + + return clientCall(request, ListSensitiveDataModelSensitiveTypesResponse::builder) + .logger(LOG, "listSensitiveDataModelSensitiveTypes") + .serviceDetails( + "DataSafe", + "ListSensitiveDataModelSensitiveTypes", + "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/SensitiveDataModelSensitiveTypeCollection/ListSensitiveDataModelSensitiveTypes") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(ListSensitiveDataModelSensitiveTypesRequest::builder) + .basePath("/20181201") + .appendPathParam("sensitiveDataModels") + .appendPathParam(request.getSensitiveDataModelId()) + .appendPathParam("sensitiveTypes") + .appendQueryParam("sensitiveTypeId", request.getSensitiveTypeId()) + .appendEnumQueryParam("sortBy", request.getSortBy()) + .appendEnumQueryParam("sortOrder", request.getSortOrder()) + .appendQueryParam("limit", request.getLimit()) + .appendQueryParam("page", request.getPage()) + .accept("application/json") + .appendHeader("opc-request-id", request.getOpcRequestId()) + .operationUsesDefaultRetries() + .handleBody( + com.oracle.bmc.datasafe.model.SensitiveDataModelSensitiveTypeCollection + .class, + ListSensitiveDataModelSensitiveTypesResponse.Builder + ::sensitiveDataModelSensitiveTypeCollection) + .handleResponseHeaderString( + "opc-request-id", + ListSensitiveDataModelSensitiveTypesResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", + ListSensitiveDataModelSensitiveTypesResponse.Builder::opcNextPage) + .handleResponseHeaderString( + "opc-prev-page", + ListSensitiveDataModelSensitiveTypesResponse.Builder::opcPrevPage) + .callSync(); + } + @Override public ListSensitiveDataModelsResponse listSensitiveDataModels( ListSensitiveDataModelsRequest request) { @@ -9266,6 +9315,7 @@ public UnsetSecurityAssessmentBaselineResponse unsetSecurityAssessmentBaseline( .appendHeader("opc-retry-token", request.getOpcRetryToken()) .appendHeader("opc-request-id", request.getOpcRequestId()) .operationUsesDefaultRetries() + .hasBody() .handleResponseHeaderString( "opc-work-request-id", UnsetSecurityAssessmentBaselineResponse.Builder::opcWorkRequestId) @@ -9299,6 +9349,7 @@ public UnsetUserAssessmentBaselineResponse unsetUserAssessmentBaseline( .appendHeader("opc-retry-token", request.getOpcRetryToken()) .appendHeader("opc-request-id", request.getOpcRequestId()) .operationUsesDefaultRetries() + .hasBody() .handleResponseHeaderString( "opc-work-request-id", UnsetUserAssessmentBaselineResponse.Builder::opcWorkRequestId) diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/DataSafePaginators.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/DataSafePaginators.java index 56ae346b911..29257d6a32a 100644 --- a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/DataSafePaginators.java +++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/DataSafePaginators.java @@ -6676,6 +6676,140 @@ public ListSensitiveColumnsResponse apply(ListSensitiveColumnsRequest request) { }); } + /** + * Creates a new iterable which will iterate over the responses received from the + * listSensitiveDataModelSensitiveTypes operation. This iterable will fetch more data from the + * server as needed. + * + * @param request a request which can be sent to the service operation + * @return an {@link java.lang.Iterable} which can be used to iterate over the responses + * received from the service. + */ + public Iterable + listSensitiveDataModelSensitiveTypesResponseIterator( + final ListSensitiveDataModelSensitiveTypesRequest request) { + return new com.oracle.bmc.paginator.internal.ResponseIterable< + ListSensitiveDataModelSensitiveTypesRequest.Builder, + ListSensitiveDataModelSensitiveTypesRequest, + ListSensitiveDataModelSensitiveTypesResponse>( + new java.util.function.Supplier< + ListSensitiveDataModelSensitiveTypesRequest.Builder>() { + @Override + public ListSensitiveDataModelSensitiveTypesRequest.Builder get() { + return ListSensitiveDataModelSensitiveTypesRequest.builder().copy(request); + } + }, + new java.util.function.Function< + ListSensitiveDataModelSensitiveTypesResponse, String>() { + @Override + public String apply(ListSensitiveDataModelSensitiveTypesResponse response) { + return response.getOpcNextPage(); + } + }, + new java.util.function.Function< + com.oracle.bmc.paginator.internal.RequestBuilderAndToken< + ListSensitiveDataModelSensitiveTypesRequest.Builder>, + ListSensitiveDataModelSensitiveTypesRequest>() { + @Override + public ListSensitiveDataModelSensitiveTypesRequest apply( + com.oracle.bmc.paginator.internal.RequestBuilderAndToken< + ListSensitiveDataModelSensitiveTypesRequest.Builder> + input) { + if (input.getNextPageToken() == null) { + return input.getRequestBuilder().build(); + } else { + return input.getRequestBuilder() + .page(input.getNextPageToken().orElse(null)) + .build(); + } + } + }, + new java.util.function.Function< + ListSensitiveDataModelSensitiveTypesRequest, + ListSensitiveDataModelSensitiveTypesResponse>() { + @Override + public ListSensitiveDataModelSensitiveTypesResponse apply( + ListSensitiveDataModelSensitiveTypesRequest request) { + return client.listSensitiveDataModelSensitiveTypes(request); + } + }); + } + + /** + * Creates a new iterable which will iterate over the {@link + * com.oracle.bmc.datasafe.model.SensitiveDataModelSensitiveTypeSummary} objects contained in + * responses from the listSensitiveDataModelSensitiveTypes operation. This iterable will fetch + * more data from the server as needed. + * + * @param request a request which can be sent to the service operation + * @return an {@link java.lang.Iterable} which can be used to iterate over the {@link + * com.oracle.bmc.datasafe.model.SensitiveDataModelSensitiveTypeSummary} objects contained + * in responses received from the service. + */ + public Iterable + listSensitiveDataModelSensitiveTypesRecordIterator( + final ListSensitiveDataModelSensitiveTypesRequest request) { + return new com.oracle.bmc.paginator.internal.ResponseRecordIterable< + ListSensitiveDataModelSensitiveTypesRequest.Builder, + ListSensitiveDataModelSensitiveTypesRequest, + ListSensitiveDataModelSensitiveTypesResponse, + com.oracle.bmc.datasafe.model.SensitiveDataModelSensitiveTypeSummary>( + new java.util.function.Supplier< + ListSensitiveDataModelSensitiveTypesRequest.Builder>() { + @Override + public ListSensitiveDataModelSensitiveTypesRequest.Builder get() { + return ListSensitiveDataModelSensitiveTypesRequest.builder().copy(request); + } + }, + new java.util.function.Function< + ListSensitiveDataModelSensitiveTypesResponse, String>() { + @Override + public String apply(ListSensitiveDataModelSensitiveTypesResponse response) { + return response.getOpcNextPage(); + } + }, + new java.util.function.Function< + com.oracle.bmc.paginator.internal.RequestBuilderAndToken< + ListSensitiveDataModelSensitiveTypesRequest.Builder>, + ListSensitiveDataModelSensitiveTypesRequest>() { + @Override + public ListSensitiveDataModelSensitiveTypesRequest apply( + com.oracle.bmc.paginator.internal.RequestBuilderAndToken< + ListSensitiveDataModelSensitiveTypesRequest.Builder> + input) { + if (input.getNextPageToken() == null) { + return input.getRequestBuilder().build(); + } else { + return input.getRequestBuilder() + .page(input.getNextPageToken().orElse(null)) + .build(); + } + } + }, + new java.util.function.Function< + ListSensitiveDataModelSensitiveTypesRequest, + ListSensitiveDataModelSensitiveTypesResponse>() { + @Override + public ListSensitiveDataModelSensitiveTypesResponse apply( + ListSensitiveDataModelSensitiveTypesRequest request) { + return client.listSensitiveDataModelSensitiveTypes(request); + } + }, + new java.util.function.Function< + ListSensitiveDataModelSensitiveTypesResponse, + java.util.List< + com.oracle.bmc.datasafe.model + .SensitiveDataModelSensitiveTypeSummary>>() { + @Override + public java.util.List< + com.oracle.bmc.datasafe.model + .SensitiveDataModelSensitiveTypeSummary> + apply(ListSensitiveDataModelSensitiveTypesResponse response) { + return response.getSensitiveDataModelSensitiveTypeCollection().getItems(); + } + }); + } + /** * Creates a new iterable which will iterate over the responses received from the * listSensitiveDataModels operation. This iterable will fetch more data from the server as diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/AuditEventSummary.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/AuditEventSummary.java index 8f898982b0b..6c95a49ab62 100644 --- a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/AuditEventSummary.java +++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/AuditEventSummary.java @@ -60,6 +60,8 @@ public final class AuditEventSummary "peerTargetDatabaseKey", "trailSource", "databaseUniqueName", + "applicationContexts", + "fgaPolicyName", "freeformTags", "definedTags" }) @@ -99,6 +101,8 @@ public AuditEventSummary( Integer peerTargetDatabaseKey, AuditTrailSource trailSource, String databaseUniqueName, + String applicationContexts, + String fgaPolicyName, java.util.Map freeformTags, java.util.Map> definedTags) { super(); @@ -137,6 +141,8 @@ public AuditEventSummary( this.peerTargetDatabaseKey = peerTargetDatabaseKey; this.trailSource = trailSource; this.databaseUniqueName = databaseUniqueName; + this.applicationContexts = applicationContexts; + this.fgaPolicyName = fgaPolicyName; this.freeformTags = freeformTags; this.definedTags = definedTags; } @@ -706,6 +712,40 @@ public Builder databaseUniqueName(String databaseUniqueName) { this.__explicitlySet__.add("databaseUniqueName"); return this; } + /** + * Semicolon-seperated list of application context namespace, attribute, value information + * in (APPCTX_NSPACE,APPCTX_ATTRIBUTE=) format. + */ + @com.fasterxml.jackson.annotation.JsonProperty("applicationContexts") + private String applicationContexts; + + /** + * Semicolon-seperated list of application context namespace, attribute, value information + * in (APPCTX_NSPACE,APPCTX_ATTRIBUTE=) format. + * + * @param applicationContexts the value to set + * @return this builder + */ + public Builder applicationContexts(String applicationContexts) { + this.applicationContexts = applicationContexts; + this.__explicitlySet__.add("applicationContexts"); + return this; + } + /** Fine-grained auditing (FGA) policy name that generated this audit record. */ + @com.fasterxml.jackson.annotation.JsonProperty("fgaPolicyName") + private String fgaPolicyName; + + /** + * Fine-grained auditing (FGA) policy name that generated this audit record. + * + * @param fgaPolicyName the value to set + * @return this builder + */ + public Builder fgaPolicyName(String fgaPolicyName) { + this.fgaPolicyName = fgaPolicyName; + this.__explicitlySet__.add("fgaPolicyName"); + return this; + } /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined * name, type, or namespace. For more information, see [Resource @@ -799,6 +839,8 @@ public AuditEventSummary build() { this.peerTargetDatabaseKey, this.trailSource, this.databaseUniqueName, + this.applicationContexts, + this.fgaPolicyName, this.freeformTags, this.definedTags); for (String explicitlySetProperty : this.__explicitlySet__) { @@ -914,6 +956,12 @@ public Builder copy(AuditEventSummary model) { if (model.wasPropertyExplicitlySet("databaseUniqueName")) { this.databaseUniqueName(model.getDatabaseUniqueName()); } + if (model.wasPropertyExplicitlySet("applicationContexts")) { + this.applicationContexts(model.getApplicationContexts()); + } + if (model.wasPropertyExplicitlySet("fgaPolicyName")) { + this.fgaPolicyName(model.getFgaPolicyName()); + } if (model.wasPropertyExplicitlySet("freeformTags")) { this.freeformTags(model.getFreeformTags()); } @@ -1664,6 +1712,36 @@ public String getDatabaseUniqueName() { return databaseUniqueName; } + /** + * Semicolon-seperated list of application context namespace, attribute, value information in + * (APPCTX_NSPACE,APPCTX_ATTRIBUTE=) format. + */ + @com.fasterxml.jackson.annotation.JsonProperty("applicationContexts") + private final String applicationContexts; + + /** + * Semicolon-seperated list of application context namespace, attribute, value information in + * (APPCTX_NSPACE,APPCTX_ATTRIBUTE=) format. + * + * @return the value + */ + public String getApplicationContexts() { + return applicationContexts; + } + + /** Fine-grained auditing (FGA) policy name that generated this audit record. */ + @com.fasterxml.jackson.annotation.JsonProperty("fgaPolicyName") + private final String fgaPolicyName; + + /** + * Fine-grained auditing (FGA) policy name that generated this audit record. + * + * @return the value + */ + public String getFgaPolicyName() { + return fgaPolicyName; + } + /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined * name, type, or namespace. For more information, see [Resource @@ -1761,6 +1839,8 @@ public String toString(boolean includeByteArrayContents) { sb.append(", peerTargetDatabaseKey=").append(String.valueOf(this.peerTargetDatabaseKey)); sb.append(", trailSource=").append(String.valueOf(this.trailSource)); sb.append(", databaseUniqueName=").append(String.valueOf(this.databaseUniqueName)); + sb.append(", applicationContexts=").append(String.valueOf(this.applicationContexts)); + sb.append(", fgaPolicyName=").append(String.valueOf(this.fgaPolicyName)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", definedTags=").append(String.valueOf(this.definedTags)); sb.append(")"); @@ -1813,6 +1893,8 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.peerTargetDatabaseKey, other.peerTargetDatabaseKey) && java.util.Objects.equals(this.trailSource, other.trailSource) && java.util.Objects.equals(this.databaseUniqueName, other.databaseUniqueName) + && java.util.Objects.equals(this.applicationContexts, other.applicationContexts) + && java.util.Objects.equals(this.fgaPolicyName, other.fgaPolicyName) && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.definedTags, other.definedTags) && super.equals(other); @@ -1885,6 +1967,14 @@ public int hashCode() { + (this.databaseUniqueName == null ? 43 : this.databaseUniqueName.hashCode()); + result = + (result * PRIME) + + (this.applicationContexts == null + ? 43 + : this.applicationContexts.hashCode()); + result = + (result * PRIME) + + (this.fgaPolicyName == null ? 43 : this.fgaPolicyName.hashCode()); result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); result = (result * PRIME) + super.hashCode(); diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/CreateDiscoveryJobDetails.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/CreateDiscoveryJobDetails.java index 07151023499..228c420cb1c 100644 --- a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/CreateDiscoveryJobDetails.java +++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/CreateDiscoveryJobDetails.java @@ -29,6 +29,7 @@ public final class CreateDiscoveryJobDetails "compartmentId", "displayName", "schemasForDiscovery", + "tablesForDiscovery", "sensitiveTypeIdsForDiscovery", "isSampleDataCollectionEnabled", "isAppDefinedRelationDiscoveryEnabled", @@ -43,6 +44,7 @@ public CreateDiscoveryJobDetails( String compartmentId, String displayName, java.util.List schemasForDiscovery, + java.util.List tablesForDiscovery, java.util.List sensitiveTypeIdsForDiscovery, Boolean isSampleDataCollectionEnabled, Boolean isAppDefinedRelationDiscoveryEnabled, @@ -56,6 +58,7 @@ public CreateDiscoveryJobDetails( this.compartmentId = compartmentId; this.displayName = displayName; this.schemasForDiscovery = schemasForDiscovery; + this.tablesForDiscovery = tablesForDiscovery; this.sensitiveTypeIdsForDiscovery = sensitiveTypeIdsForDiscovery; this.isSampleDataCollectionEnabled = isSampleDataCollectionEnabled; this.isAppDefinedRelationDiscoveryEnabled = isAppDefinedRelationDiscoveryEnabled; @@ -164,6 +167,27 @@ public Builder schemasForDiscovery(java.util.List schemasForDiscovery) { this.__explicitlySet__.add("schemasForDiscovery"); return this; } + /** + * The data discovery jobs will scan the tables specified here, including both schemas and + * tables. In the absence of explicit input, the list of tables is obtained from the + * tablesForDiscovery attribute of the sensitive data model. + */ + @com.fasterxml.jackson.annotation.JsonProperty("tablesForDiscovery") + private java.util.List tablesForDiscovery; + + /** + * The data discovery jobs will scan the tables specified here, including both schemas and + * tables. In the absence of explicit input, the list of tables is obtained from the + * tablesForDiscovery attribute of the sensitive data model. + * + * @param tablesForDiscovery the value to set + * @return this builder + */ + public Builder tablesForDiscovery(java.util.List tablesForDiscovery) { + this.tablesForDiscovery = tablesForDiscovery; + this.__explicitlySet__.add("tablesForDiscovery"); + return this; + } /** * The OCIDs of the sensitive types to be used by the discovery job. If not provided, the * sensitiveTypeIdsForDiscovery attribute of the sensitive data model is used to get the @@ -352,6 +376,7 @@ public CreateDiscoveryJobDetails build() { this.compartmentId, this.displayName, this.schemasForDiscovery, + this.tablesForDiscovery, this.sensitiveTypeIdsForDiscovery, this.isSampleDataCollectionEnabled, this.isAppDefinedRelationDiscoveryEnabled, @@ -382,6 +407,9 @@ public Builder copy(CreateDiscoveryJobDetails model) { if (model.wasPropertyExplicitlySet("schemasForDiscovery")) { this.schemasForDiscovery(model.getSchemasForDiscovery()); } + if (model.wasPropertyExplicitlySet("tablesForDiscovery")) { + this.tablesForDiscovery(model.getTablesForDiscovery()); + } if (model.wasPropertyExplicitlySet("sensitiveTypeIdsForDiscovery")) { this.sensitiveTypeIdsForDiscovery(model.getSensitiveTypeIdsForDiscovery()); } @@ -502,6 +530,25 @@ public java.util.List getSchemasForDiscovery() { return schemasForDiscovery; } + /** + * The data discovery jobs will scan the tables specified here, including both schemas and + * tables. In the absence of explicit input, the list of tables is obtained from the + * tablesForDiscovery attribute of the sensitive data model. + */ + @com.fasterxml.jackson.annotation.JsonProperty("tablesForDiscovery") + private final java.util.List tablesForDiscovery; + + /** + * The data discovery jobs will scan the tables specified here, including both schemas and + * tables. In the absence of explicit input, the list of tables is obtained from the + * tablesForDiscovery attribute of the sensitive data model. + * + * @return the value + */ + public java.util.List getTablesForDiscovery() { + return tablesForDiscovery; + } + /** * The OCIDs of the sensitive types to be used by the discovery job. If not provided, the * sensitiveTypeIdsForDiscovery attribute of the sensitive data model is used to get the list of @@ -679,6 +726,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", compartmentId=").append(String.valueOf(this.compartmentId)); sb.append(", displayName=").append(String.valueOf(this.displayName)); sb.append(", schemasForDiscovery=").append(String.valueOf(this.schemasForDiscovery)); + sb.append(", tablesForDiscovery=").append(String.valueOf(this.tablesForDiscovery)); sb.append(", sensitiveTypeIdsForDiscovery=") .append(String.valueOf(this.sensitiveTypeIdsForDiscovery)); sb.append(", isSampleDataCollectionEnabled=") @@ -709,6 +757,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.compartmentId, other.compartmentId) && java.util.Objects.equals(this.displayName, other.displayName) && java.util.Objects.equals(this.schemasForDiscovery, other.schemasForDiscovery) + && java.util.Objects.equals(this.tablesForDiscovery, other.tablesForDiscovery) && java.util.Objects.equals( this.sensitiveTypeIdsForDiscovery, other.sensitiveTypeIdsForDiscovery) && java.util.Objects.equals( @@ -745,6 +794,11 @@ public int hashCode() { + (this.schemasForDiscovery == null ? 43 : this.schemasForDiscovery.hashCode()); + result = + (result * PRIME) + + (this.tablesForDiscovery == null + ? 43 + : this.tablesForDiscovery.hashCode()); result = (result * PRIME) + (this.sensitiveTypeIdsForDiscovery == null diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/CreateSecurityAssessmentDetails.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/CreateSecurityAssessmentDetails.java index 8ad3d7c45b5..a6b1f7c72a3 100644 --- a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/CreateSecurityAssessmentDetails.java +++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/CreateSecurityAssessmentDetails.java @@ -28,6 +28,7 @@ public final class CreateSecurityAssessmentDetails "displayName", "description", "targetId", + "isAssessmentScheduled", "schedule", "freeformTags", "definedTags" @@ -37,6 +38,7 @@ public CreateSecurityAssessmentDetails( String displayName, String description, String targetId, + Boolean isAssessmentScheduled, String schedule, java.util.Map freeformTags, java.util.Map> definedTags) { @@ -45,6 +47,7 @@ public CreateSecurityAssessmentDetails( this.displayName = displayName; this.description = description; this.targetId = targetId; + this.isAssessmentScheduled = isAssessmentScheduled; this.schedule = schedule; this.freeformTags = freeformTags; this.definedTags = definedTags; @@ -112,6 +115,21 @@ public Builder targetId(String targetId) { this.__explicitlySet__.add("targetId"); return this; } + /** Indicates whether the assessment is scheduled to run. */ + @com.fasterxml.jackson.annotation.JsonProperty("isAssessmentScheduled") + private Boolean isAssessmentScheduled; + + /** + * Indicates whether the assessment is scheduled to run. + * + * @param isAssessmentScheduled the value to set + * @return this builder + */ + public Builder isAssessmentScheduled(Boolean isAssessmentScheduled) { + this.isAssessmentScheduled = isAssessmentScheduled; + this.__explicitlySet__.add("isAssessmentScheduled"); + return this; + } /** * To schedule the assessment for running periodically, specify the schedule in this * attribute. Create or schedule one assessment per compartment. If not defined, the @@ -217,6 +235,7 @@ public CreateSecurityAssessmentDetails build() { this.displayName, this.description, this.targetId, + this.isAssessmentScheduled, this.schedule, this.freeformTags, this.definedTags); @@ -240,6 +259,9 @@ public Builder copy(CreateSecurityAssessmentDetails model) { if (model.wasPropertyExplicitlySet("targetId")) { this.targetId(model.getTargetId()); } + if (model.wasPropertyExplicitlySet("isAssessmentScheduled")) { + this.isAssessmentScheduled(model.getIsAssessmentScheduled()); + } if (model.wasPropertyExplicitlySet("schedule")) { this.schedule(model.getSchedule()); } @@ -314,6 +336,19 @@ public String getTargetId() { return targetId; } + /** Indicates whether the assessment is scheduled to run. */ + @com.fasterxml.jackson.annotation.JsonProperty("isAssessmentScheduled") + private final Boolean isAssessmentScheduled; + + /** + * Indicates whether the assessment is scheduled to run. + * + * @return the value + */ + public Boolean getIsAssessmentScheduled() { + return isAssessmentScheduled; + } + /** * To schedule the assessment for running periodically, specify the schedule in this attribute. * Create or schedule one assessment per compartment. If not defined, the assessment runs @@ -418,6 +453,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", displayName=").append(String.valueOf(this.displayName)); sb.append(", description=").append(String.valueOf(this.description)); sb.append(", targetId=").append(String.valueOf(this.targetId)); + sb.append(", isAssessmentScheduled=").append(String.valueOf(this.isAssessmentScheduled)); sb.append(", schedule=").append(String.valueOf(this.schedule)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", definedTags=").append(String.valueOf(this.definedTags)); @@ -439,6 +475,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.displayName, other.displayName) && java.util.Objects.equals(this.description, other.description) && java.util.Objects.equals(this.targetId, other.targetId) + && java.util.Objects.equals(this.isAssessmentScheduled, other.isAssessmentScheduled) && java.util.Objects.equals(this.schedule, other.schedule) && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.definedTags, other.definedTags) @@ -455,6 +492,11 @@ public int hashCode() { result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); result = (result * PRIME) + (this.description == null ? 43 : this.description.hashCode()); result = (result * PRIME) + (this.targetId == null ? 43 : this.targetId.hashCode()); + result = + (result * PRIME) + + (this.isAssessmentScheduled == null + ? 43 + : this.isAssessmentScheduled.hashCode()); result = (result * PRIME) + (this.schedule == null ? 43 : this.schedule.hashCode()); result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/CreateSensitiveDataModelDetails.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/CreateSensitiveDataModelDetails.java index 45cc4463128..116aae834e9 100644 --- a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/CreateSensitiveDataModelDetails.java +++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/CreateSensitiveDataModelDetails.java @@ -36,6 +36,7 @@ public final class CreateSensitiveDataModelDetails "appSuiteName", "description", "schemasForDiscovery", + "tablesForDiscovery", "sensitiveTypeIdsForDiscovery", "isSampleDataCollectionEnabled", "isAppDefinedRelationDiscoveryEnabled", @@ -51,6 +52,7 @@ public CreateSensitiveDataModelDetails( String appSuiteName, String description, java.util.List schemasForDiscovery, + java.util.List tablesForDiscovery, java.util.List sensitiveTypeIdsForDiscovery, Boolean isSampleDataCollectionEnabled, Boolean isAppDefinedRelationDiscoveryEnabled, @@ -65,6 +67,7 @@ public CreateSensitiveDataModelDetails( this.appSuiteName = appSuiteName; this.description = description; this.schemasForDiscovery = schemasForDiscovery; + this.tablesForDiscovery = tablesForDiscovery; this.sensitiveTypeIdsForDiscovery = sensitiveTypeIdsForDiscovery; this.isSampleDataCollectionEnabled = isSampleDataCollectionEnabled; this.isAppDefinedRelationDiscoveryEnabled = isAppDefinedRelationDiscoveryEnabled; @@ -180,6 +183,27 @@ public Builder schemasForDiscovery(java.util.List schemasForDiscovery) { this.__explicitlySet__.add("schemasForDiscovery"); return this; } + /** + * The data discovery jobs will scan the tables specified here, including both schemas and + * tables. For instance, the input could be in the format: [{schemaName: "HR", tableName: + * ["T1", "T2"]}, {schemaName: "OE", tableName : ["T3", "T4"]}]. + */ + @com.fasterxml.jackson.annotation.JsonProperty("tablesForDiscovery") + private java.util.List tablesForDiscovery; + + /** + * The data discovery jobs will scan the tables specified here, including both schemas and + * tables. For instance, the input could be in the format: [{schemaName: "HR", tableName: + * ["T1", "T2"]}, {schemaName: "OE", tableName : ["T3", "T4"]}]. + * + * @param tablesForDiscovery the value to set + * @return this builder + */ + public Builder tablesForDiscovery(java.util.List tablesForDiscovery) { + this.tablesForDiscovery = tablesForDiscovery; + this.__explicitlySet__.add("tablesForDiscovery"); + return this; + } /** * The OCIDs of the sensitive types to be used by data discovery jobs. If OCID of a * sensitive category is provided, all its child sensitive types are used for data @@ -365,6 +389,7 @@ public CreateSensitiveDataModelDetails build() { this.appSuiteName, this.description, this.schemasForDiscovery, + this.tablesForDiscovery, this.sensitiveTypeIdsForDiscovery, this.isSampleDataCollectionEnabled, this.isAppDefinedRelationDiscoveryEnabled, @@ -398,6 +423,9 @@ public Builder copy(CreateSensitiveDataModelDetails model) { if (model.wasPropertyExplicitlySet("schemasForDiscovery")) { this.schemasForDiscovery(model.getSchemasForDiscovery()); } + if (model.wasPropertyExplicitlySet("tablesForDiscovery")) { + this.tablesForDiscovery(model.getTablesForDiscovery()); + } if (model.wasPropertyExplicitlySet("sensitiveTypeIdsForDiscovery")) { this.sensitiveTypeIdsForDiscovery(model.getSensitiveTypeIdsForDiscovery()); } @@ -525,6 +553,25 @@ public java.util.List getSchemasForDiscovery() { return schemasForDiscovery; } + /** + * The data discovery jobs will scan the tables specified here, including both schemas and + * tables. For instance, the input could be in the format: [{schemaName: "HR", tableName: ["T1", + * "T2"]}, {schemaName: "OE", tableName : ["T3", "T4"]}]. + */ + @com.fasterxml.jackson.annotation.JsonProperty("tablesForDiscovery") + private final java.util.List tablesForDiscovery; + + /** + * The data discovery jobs will scan the tables specified here, including both schemas and + * tables. For instance, the input could be in the format: [{schemaName: "HR", tableName: ["T1", + * "T2"]}, {schemaName: "OE", tableName : ["T3", "T4"]}]. + * + * @return the value + */ + public java.util.List getTablesForDiscovery() { + return tablesForDiscovery; + } + /** * The OCIDs of the sensitive types to be used by data discovery jobs. If OCID of a sensitive * category is provided, all its child sensitive types are used for data discovery. @@ -699,6 +746,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", appSuiteName=").append(String.valueOf(this.appSuiteName)); sb.append(", description=").append(String.valueOf(this.description)); sb.append(", schemasForDiscovery=").append(String.valueOf(this.schemasForDiscovery)); + sb.append(", tablesForDiscovery=").append(String.valueOf(this.tablesForDiscovery)); sb.append(", sensitiveTypeIdsForDiscovery=") .append(String.valueOf(this.sensitiveTypeIdsForDiscovery)); sb.append(", isSampleDataCollectionEnabled=") @@ -730,6 +778,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.appSuiteName, other.appSuiteName) && java.util.Objects.equals(this.description, other.description) && java.util.Objects.equals(this.schemasForDiscovery, other.schemasForDiscovery) + && java.util.Objects.equals(this.tablesForDiscovery, other.tablesForDiscovery) && java.util.Objects.equals( this.sensitiveTypeIdsForDiscovery, other.sensitiveTypeIdsForDiscovery) && java.util.Objects.equals( @@ -761,6 +810,11 @@ public int hashCode() { + (this.schemasForDiscovery == null ? 43 : this.schemasForDiscovery.hashCode()); + result = + (result * PRIME) + + (this.tablesForDiscovery == null + ? 43 + : this.tablesForDiscovery.hashCode()); result = (result * PRIME) + (this.sensitiveTypeIdsForDiscovery == null diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/CreateUserAssessmentDetails.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/CreateUserAssessmentDetails.java index 0a96913f280..09c51363258 100644 --- a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/CreateUserAssessmentDetails.java +++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/CreateUserAssessmentDetails.java @@ -27,6 +27,7 @@ public final class CreateUserAssessmentDetails "compartmentId", "description", "displayName", + "isAssessmentScheduled", "schedule", "targetId", "freeformTags", @@ -36,6 +37,7 @@ public CreateUserAssessmentDetails( String compartmentId, String description, String displayName, + Boolean isAssessmentScheduled, String schedule, String targetId, java.util.Map freeformTags, @@ -44,6 +46,7 @@ public CreateUserAssessmentDetails( this.compartmentId = compartmentId; this.description = description; this.displayName = displayName; + this.isAssessmentScheduled = isAssessmentScheduled; this.schedule = schedule; this.targetId = targetId; this.freeformTags = freeformTags; @@ -97,6 +100,21 @@ public Builder displayName(String displayName) { this.__explicitlySet__.add("displayName"); return this; } + /** Indicates whether the assessment is scheduled to run. */ + @com.fasterxml.jackson.annotation.JsonProperty("isAssessmentScheduled") + private Boolean isAssessmentScheduled; + + /** + * Indicates whether the assessment is scheduled to run. + * + * @param isAssessmentScheduled the value to set + * @return this builder + */ + public Builder isAssessmentScheduled(Boolean isAssessmentScheduled) { + this.isAssessmentScheduled = isAssessmentScheduled; + this.__explicitlySet__.add("isAssessmentScheduled"); + return this; + } /** * To schedule the assessment for saving periodically, specify the schedule in this * attribute. Create or schedule one assessment per compartment. If not defined, the @@ -216,6 +234,7 @@ public CreateUserAssessmentDetails build() { this.compartmentId, this.description, this.displayName, + this.isAssessmentScheduled, this.schedule, this.targetId, this.freeformTags, @@ -237,6 +256,9 @@ public Builder copy(CreateUserAssessmentDetails model) { if (model.wasPropertyExplicitlySet("displayName")) { this.displayName(model.getDisplayName()); } + if (model.wasPropertyExplicitlySet("isAssessmentScheduled")) { + this.isAssessmentScheduled(model.getIsAssessmentScheduled()); + } if (model.wasPropertyExplicitlySet("schedule")) { this.schedule(model.getSchedule()); } @@ -301,6 +323,19 @@ public String getDisplayName() { return displayName; } + /** Indicates whether the assessment is scheduled to run. */ + @com.fasterxml.jackson.annotation.JsonProperty("isAssessmentScheduled") + private final Boolean isAssessmentScheduled; + + /** + * Indicates whether the assessment is scheduled to run. + * + * @return the value + */ + public Boolean getIsAssessmentScheduled() { + return isAssessmentScheduled; + } + /** * To schedule the assessment for saving periodically, specify the schedule in this attribute. * Create or schedule one assessment per compartment. If not defined, the assessment runs @@ -417,6 +452,7 @@ public String toString(boolean includeByteArrayContents) { sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); sb.append(", description=").append(String.valueOf(this.description)); sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", isAssessmentScheduled=").append(String.valueOf(this.isAssessmentScheduled)); sb.append(", schedule=").append(String.valueOf(this.schedule)); sb.append(", targetId=").append(String.valueOf(this.targetId)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); @@ -438,6 +474,7 @@ public boolean equals(Object o) { return java.util.Objects.equals(this.compartmentId, other.compartmentId) && java.util.Objects.equals(this.description, other.description) && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.isAssessmentScheduled, other.isAssessmentScheduled) && java.util.Objects.equals(this.schedule, other.schedule) && java.util.Objects.equals(this.targetId, other.targetId) && java.util.Objects.equals(this.freeformTags, other.freeformTags) @@ -454,6 +491,11 @@ public int hashCode() { + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); result = (result * PRIME) + (this.description == null ? 43 : this.description.hashCode()); result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = + (result * PRIME) + + (this.isAssessmentScheduled == null + ? 43 + : this.isAssessmentScheduled.hashCode()); result = (result * PRIME) + (this.schedule == null ? 43 : this.schedule.hashCode()); result = (result * PRIME) + (this.targetId == null ? 43 : this.targetId.hashCode()); result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/DiscoveryJob.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/DiscoveryJob.java index 11b73edfd21..d7da7acafd1 100644 --- a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/DiscoveryJob.java +++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/DiscoveryJob.java @@ -32,6 +32,7 @@ public final class DiscoveryJob extends com.oracle.bmc.http.client.internal.Expl "sensitiveDataModelId", "targetId", "schemasForDiscovery", + "tablesForDiscovery", "sensitiveTypeIdsForDiscovery", "isSampleDataCollectionEnabled", "isAppDefinedRelationDiscoveryEnabled", @@ -58,6 +59,7 @@ public DiscoveryJob( String sensitiveDataModelId, String targetId, java.util.List schemasForDiscovery, + java.util.List tablesForDiscovery, java.util.List sensitiveTypeIdsForDiscovery, Boolean isSampleDataCollectionEnabled, Boolean isAppDefinedRelationDiscoveryEnabled, @@ -83,6 +85,7 @@ public DiscoveryJob( this.sensitiveDataModelId = sensitiveDataModelId; this.targetId = targetId; this.schemasForDiscovery = schemasForDiscovery; + this.tablesForDiscovery = tablesForDiscovery; this.sensitiveTypeIdsForDiscovery = sensitiveTypeIdsForDiscovery; this.isSampleDataCollectionEnabled = isSampleDataCollectionEnabled; this.isAppDefinedRelationDiscoveryEnabled = isAppDefinedRelationDiscoveryEnabled; @@ -273,6 +276,25 @@ public Builder schemasForDiscovery(java.util.List schemasForDiscovery) { this.__explicitlySet__.add("schemasForDiscovery"); return this; } + /** + * The data discovery jobs will scan the tables specified here, including both schemas and + * tables. + */ + @com.fasterxml.jackson.annotation.JsonProperty("tablesForDiscovery") + private java.util.List tablesForDiscovery; + + /** + * The data discovery jobs will scan the tables specified here, including both schemas and + * tables. + * + * @param tablesForDiscovery the value to set + * @return this builder + */ + public Builder tablesForDiscovery(java.util.List tablesForDiscovery) { + this.tablesForDiscovery = tablesForDiscovery; + this.__explicitlySet__.add("tablesForDiscovery"); + return this; + } /** The OCIDs of the sensitive types used for data discovery. */ @com.fasterxml.jackson.annotation.JsonProperty("sensitiveTypeIdsForDiscovery") private java.util.List sensitiveTypeIdsForDiscovery; @@ -569,6 +591,7 @@ public DiscoveryJob build() { this.sensitiveDataModelId, this.targetId, this.schemasForDiscovery, + this.tablesForDiscovery, this.sensitiveTypeIdsForDiscovery, this.isSampleDataCollectionEnabled, this.isAppDefinedRelationDiscoveryEnabled, @@ -621,6 +644,9 @@ public Builder copy(DiscoveryJob model) { if (model.wasPropertyExplicitlySet("schemasForDiscovery")) { this.schemasForDiscovery(model.getSchemasForDiscovery()); } + if (model.wasPropertyExplicitlySet("tablesForDiscovery")) { + this.tablesForDiscovery(model.getTablesForDiscovery()); + } if (model.wasPropertyExplicitlySet("sensitiveTypeIdsForDiscovery")) { this.sensitiveTypeIdsForDiscovery(model.getSensitiveTypeIdsForDiscovery()); } @@ -882,6 +908,23 @@ public java.util.List getSchemasForDiscovery() { return schemasForDiscovery; } + /** + * The data discovery jobs will scan the tables specified here, including both schemas and + * tables. + */ + @com.fasterxml.jackson.annotation.JsonProperty("tablesForDiscovery") + private final java.util.List tablesForDiscovery; + + /** + * The data discovery jobs will scan the tables specified here, including both schemas and + * tables. + * + * @return the value + */ + public java.util.List getTablesForDiscovery() { + return tablesForDiscovery; + } + /** The OCIDs of the sensitive types used for data discovery. */ @com.fasterxml.jackson.annotation.JsonProperty("sensitiveTypeIdsForDiscovery") private final java.util.List sensitiveTypeIdsForDiscovery; @@ -1151,6 +1194,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", sensitiveDataModelId=").append(String.valueOf(this.sensitiveDataModelId)); sb.append(", targetId=").append(String.valueOf(this.targetId)); sb.append(", schemasForDiscovery=").append(String.valueOf(this.schemasForDiscovery)); + sb.append(", tablesForDiscovery=").append(String.valueOf(this.tablesForDiscovery)); sb.append(", sensitiveTypeIdsForDiscovery=") .append(String.valueOf(this.sensitiveTypeIdsForDiscovery)); sb.append(", isSampleDataCollectionEnabled=") @@ -1196,6 +1240,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.sensitiveDataModelId, other.sensitiveDataModelId) && java.util.Objects.equals(this.targetId, other.targetId) && java.util.Objects.equals(this.schemasForDiscovery, other.schemasForDiscovery) + && java.util.Objects.equals(this.tablesForDiscovery, other.tablesForDiscovery) && java.util.Objects.equals( this.sensitiveTypeIdsForDiscovery, other.sensitiveTypeIdsForDiscovery) && java.util.Objects.equals( @@ -1249,6 +1294,11 @@ public int hashCode() { + (this.schemasForDiscovery == null ? 43 : this.schemasForDiscovery.hashCode()); + result = + (result * PRIME) + + (this.tablesForDiscovery == null + ? 43 + : this.tablesForDiscovery.hashCode()); result = (result * PRIME) + (this.sensitiveTypeIdsForDiscovery == null diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/FindingSummary.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/FindingSummary.java index 9058972ffa3..3a520ad34a4 100644 --- a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/FindingSummary.java +++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/FindingSummary.java @@ -32,6 +32,7 @@ public final class FindingSummary "remarks", "details", "summary", + "oneline", "references", "oracleDefinedSeverity", "isRiskModified", @@ -52,6 +53,7 @@ public FindingSummary( String remarks, Object details, String summary, + String oneline, References references, Finding.Severity oracleDefinedSeverity, Boolean isRiskModified, @@ -71,6 +73,7 @@ public FindingSummary( this.remarks = remarks; this.details = details; this.summary = summary; + this.oneline = oneline; this.references = references; this.oracleDefinedSeverity = oracleDefinedSeverity; this.isRiskModified = isRiskModified; @@ -241,6 +244,21 @@ public Builder summary(String summary) { this.__explicitlySet__.add("summary"); return this; } + /** Provides a recommended approach to take to remediate the finding reported. */ + @com.fasterxml.jackson.annotation.JsonProperty("oneline") + private String oneline; + + /** + * Provides a recommended approach to take to remediate the finding reported. + * + * @param oneline the value to set + * @return this builder + */ + public Builder oneline(String oneline) { + this.oneline = oneline; + this.__explicitlySet__.add("oneline"); + return this; + } /** * Provides information on whether the finding is related to a CIS Oracle Database Benchmark * recommendation, a STIG rule, or a GDPR Article/Recital. @@ -412,6 +430,7 @@ public FindingSummary build() { this.remarks, this.details, this.summary, + this.oneline, this.references, this.oracleDefinedSeverity, this.isRiskModified, @@ -456,6 +475,9 @@ public Builder copy(FindingSummary model) { if (model.wasPropertyExplicitlySet("summary")) { this.summary(model.getSummary()); } + if (model.wasPropertyExplicitlySet("oneline")) { + this.oneline(model.getOneline()); + } if (model.wasPropertyExplicitlySet("references")) { this.references(model.getReferences()); } @@ -687,6 +709,19 @@ public String getSummary() { return summary; } + /** Provides a recommended approach to take to remediate the finding reported. */ + @com.fasterxml.jackson.annotation.JsonProperty("oneline") + private final String oneline; + + /** + * Provides a recommended approach to take to remediate the finding reported. + * + * @return the value + */ + public String getOneline() { + return oneline; + } + /** * Provides information on whether the finding is related to a CIS Oracle Database Benchmark * recommendation, a STIG rule, or a GDPR Article/Recital. @@ -846,6 +881,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", remarks=").append(String.valueOf(this.remarks)); sb.append(", details=").append(String.valueOf(this.details)); sb.append(", summary=").append(String.valueOf(this.summary)); + sb.append(", oneline=").append(String.valueOf(this.oneline)); sb.append(", references=").append(String.valueOf(this.references)); sb.append(", oracleDefinedSeverity=").append(String.valueOf(this.oracleDefinedSeverity)); sb.append(", isRiskModified=").append(String.valueOf(this.isRiskModified)); @@ -879,6 +915,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.remarks, other.remarks) && java.util.Objects.equals(this.details, other.details) && java.util.Objects.equals(this.summary, other.summary) + && java.util.Objects.equals(this.oneline, other.oneline) && java.util.Objects.equals(this.references, other.references) && java.util.Objects.equals(this.oracleDefinedSeverity, other.oracleDefinedSeverity) && java.util.Objects.equals(this.isRiskModified, other.isRiskModified) @@ -905,6 +942,7 @@ public int hashCode() { result = (result * PRIME) + (this.remarks == null ? 43 : this.remarks.hashCode()); result = (result * PRIME) + (this.details == null ? 43 : this.details.hashCode()); result = (result * PRIME) + (this.summary == null ? 43 : this.summary.hashCode()); + result = (result * PRIME) + (this.oneline == null ? 43 : this.oneline.hashCode()); result = (result * PRIME) + (this.references == null ? 43 : this.references.hashCode()); result = (result * PRIME) diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/GenerateReportDetails.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/GenerateReportDetails.java index 10b64d47ca7..8fa15f4d256 100644 --- a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/GenerateReportDetails.java +++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/GenerateReportDetails.java @@ -119,12 +119,12 @@ public Builder compartmentId(String compartmentId) { this.__explicitlySet__.add("compartmentId"); return this; } - /** Specifies the format of report to be .xls or .pdf */ + /** Specifies the format of report to be .xls or .pdf or .json */ @com.fasterxml.jackson.annotation.JsonProperty("mimeType") private MimeType mimeType; /** - * Specifies the format of report to be .xls or .pdf + * Specifies the format of report to be .xls or .pdf or .json * * @param mimeType the value to set * @return this builder @@ -295,7 +295,7 @@ public String getCompartmentId() { return compartmentId; } - /** Specifies the format of report to be .xls or .pdf */ + /** Specifies the format of report to be .xls or .pdf or .json */ public enum MimeType implements com.oracle.bmc.http.internal.BmcEnum { Pdf("PDF"), Xls("XLS"), @@ -328,12 +328,12 @@ public static MimeType create(String key) { throw new IllegalArgumentException("Invalid MimeType: " + key); } }; - /** Specifies the format of report to be .xls or .pdf */ + /** Specifies the format of report to be .xls or .pdf or .json */ @com.fasterxml.jackson.annotation.JsonProperty("mimeType") private final MimeType mimeType; /** - * Specifies the format of report to be .xls or .pdf + * Specifies the format of report to be .xls or .pdf or .json * * @return the value */ diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/References.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/References.java index 6236c21a4cd..bf4a61df1ad 100644 --- a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/References.java +++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/References.java @@ -5,7 +5,7 @@ package com.oracle.bmc.datasafe.model; /** - * References to the sections of STIG, CIS, and/or GDPR relevant to the current finding.
+ * References to the sections of STIG, CIS, GDPR and/or OBP relevant to the current finding.
* 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 @@ -21,12 +21,13 @@ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) public final class References extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated - @java.beans.ConstructorProperties({"stig", "cis", "gdpr"}) - public References(String stig, String cis, String gdpr) { + @java.beans.ConstructorProperties({"stig", "cis", "gdpr", "obp"}) + public References(String stig, String cis, String gdpr, String obp) { super(); this.stig = stig; this.cis = cis; this.gdpr = gdpr; + this.obp = obp; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -76,12 +77,27 @@ public Builder gdpr(String gdpr) { this.__explicitlySet__.add("gdpr"); return this; } + /** Relevant section from OBP. */ + @com.fasterxml.jackson.annotation.JsonProperty("obp") + private String obp; + + /** + * Relevant section from OBP. + * + * @param obp the value to set + * @return this builder + */ + public Builder obp(String obp) { + this.obp = obp; + this.__explicitlySet__.add("obp"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); public References build() { - References model = new References(this.stig, this.cis, this.gdpr); + References model = new References(this.stig, this.cis, this.gdpr, this.obp); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -99,6 +115,9 @@ public Builder copy(References model) { if (model.wasPropertyExplicitlySet("gdpr")) { this.gdpr(model.getGdpr()); } + if (model.wasPropertyExplicitlySet("obp")) { + this.obp(model.getObp()); + } return this; } } @@ -151,6 +170,19 @@ public String getGdpr() { return gdpr; } + /** Relevant section from OBP. */ + @com.fasterxml.jackson.annotation.JsonProperty("obp") + private final String obp; + + /** + * Relevant section from OBP. + * + * @return the value + */ + public String getObp() { + return obp; + } + @Override public String toString() { return this.toString(true); @@ -169,6 +201,7 @@ public String toString(boolean includeByteArrayContents) { sb.append("stig=").append(String.valueOf(this.stig)); sb.append(", cis=").append(String.valueOf(this.cis)); sb.append(", gdpr=").append(String.valueOf(this.gdpr)); + sb.append(", obp=").append(String.valueOf(this.obp)); sb.append(")"); return sb.toString(); } @@ -186,6 +219,7 @@ public boolean equals(Object o) { return java.util.Objects.equals(this.stig, other.stig) && java.util.Objects.equals(this.cis, other.cis) && java.util.Objects.equals(this.gdpr, other.gdpr) + && java.util.Objects.equals(this.obp, other.obp) && super.equals(other); } @@ -196,6 +230,7 @@ public int hashCode() { result = (result * PRIME) + (this.stig == null ? 43 : this.stig.hashCode()); result = (result * PRIME) + (this.cis == null ? 43 : this.cis.hashCode()); result = (result * PRIME) + (this.gdpr == null ? 43 : this.gdpr.hashCode()); + result = (result * PRIME) + (this.obp == null ? 43 : this.obp.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/Report.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/Report.java index 4ec90b79be6..31b354fc7be 100644 --- a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/Report.java +++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/Report.java @@ -140,12 +140,12 @@ public Builder compartmentId(String compartmentId) { this.__explicitlySet__.add("compartmentId"); return this; } - /** Specifies the format of report to be .xls or .pdf */ + /** Specifies the format of report to be .xls or .pdf or .json */ @com.fasterxml.jackson.annotation.JsonProperty("mimeType") private MimeType mimeType; /** - * Specifies the format of report to be .xls or .pdf + * Specifies the format of report to be .xls or .pdf or .json * * @param mimeType the value to set * @return this builder @@ -413,7 +413,7 @@ public String getCompartmentId() { return compartmentId; } - /** Specifies the format of report to be .xls or .pdf */ + /** Specifies the format of report to be .xls or .pdf or .json */ public enum MimeType implements com.oracle.bmc.http.internal.BmcEnum { Pdf("PDF"), Xls("XLS"), @@ -459,12 +459,12 @@ public static MimeType create(String key) { return UnknownEnumValue; } }; - /** Specifies the format of report to be .xls or .pdf */ + /** Specifies the format of report to be .xls or .pdf or .json */ @com.fasterxml.jackson.annotation.JsonProperty("mimeType") private final MimeType mimeType; /** - * Specifies the format of report to be .xls or .pdf + * Specifies the format of report to be .xls or .pdf or .json * * @return the value */ diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/ReportDefinition.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/ReportDefinition.java index 82862d5dd90..c871b234a12 100644 --- a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/ReportDefinition.java +++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/ReportDefinition.java @@ -447,12 +447,12 @@ public Builder schedule(String schedule) { this.__explicitlySet__.add("schedule"); return this; } - /** Specifies the format of the report ( either .xls or .pdf ) */ + /** Specifies the format of the report ( either .xls or .pdf or .json) */ @com.fasterxml.jackson.annotation.JsonProperty("scheduledReportMimeType") private ScheduledReportMimeType scheduledReportMimeType; /** - * Specifies the format of the report ( either .xls or .pdf ) + * Specifies the format of the report ( either .xls or .pdf or .json) * * @param scheduledReportMimeType the value to set * @return this builder @@ -1108,7 +1108,7 @@ public String getSchedule() { return schedule; } - /** Specifies the format of the report ( either .xls or .pdf ) */ + /** Specifies the format of the report ( either .xls or .pdf or .json) */ public enum ScheduledReportMimeType implements com.oracle.bmc.http.internal.BmcEnum { Pdf("PDF"), Xls("XLS"), @@ -1154,12 +1154,12 @@ public static ScheduledReportMimeType create(String key) { return UnknownEnumValue; } }; - /** Specifies the format of the report ( either .xls or .pdf ) */ + /** Specifies the format of the report ( either .xls or .pdf or .json) */ @com.fasterxml.jackson.annotation.JsonProperty("scheduledReportMimeType") private final ScheduledReportMimeType scheduledReportMimeType; /** - * Specifies the format of the report ( either .xls or .pdf ) + * Specifies the format of the report ( either .xls or .pdf or .json) * * @return the value */ diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/ReportSummary.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/ReportSummary.java index 7083c569c81..d0d741ebaa5 100644 --- a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/ReportSummary.java +++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/ReportSummary.java @@ -122,12 +122,12 @@ public Builder description(String description) { this.__explicitlySet__.add("description"); return this; } - /** Specifies the format of report to be .xls or .pdf. */ + /** Specifies the format of report to be .xls or .pdf or .json. */ @com.fasterxml.jackson.annotation.JsonProperty("mimeType") private MimeType mimeType; /** - * Specifies the format of report to be .xls or .pdf. + * Specifies the format of report to be .xls or .pdf or .json. * * @param mimeType the value to set * @return this builder @@ -372,7 +372,7 @@ public String getDescription() { return description; } - /** Specifies the format of report to be .xls or .pdf. */ + /** Specifies the format of report to be .xls or .pdf or .json. */ public enum MimeType implements com.oracle.bmc.http.internal.BmcEnum { Pdf("PDF"), Xls("XLS"), @@ -418,12 +418,12 @@ public static MimeType create(String key) { return UnknownEnumValue; } }; - /** Specifies the format of report to be .xls or .pdf. */ + /** Specifies the format of report to be .xls or .pdf or .json. */ @com.fasterxml.jackson.annotation.JsonProperty("mimeType") private final MimeType mimeType; /** - * Specifies the format of report to be .xls or .pdf. + * Specifies the format of report to be .xls or .pdf or .json. * * @return the value */ diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/ScheduleReportDetails.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/ScheduleReportDetails.java index 9296b6adaaa..d63885ed853 100644 --- a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/ScheduleReportDetails.java +++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/ScheduleReportDetails.java @@ -102,12 +102,12 @@ public Builder schedule(String schedule) { this.__explicitlySet__.add("schedule"); return this; } - /** Specifies if the report will be in .xls or .pdf format */ + /** Specifies if the report will be in .xls or .pdf or .json format */ @com.fasterxml.jackson.annotation.JsonProperty("mimeType") private MimeType mimeType; /** - * Specifies if the report will be in .xls or .pdf format + * Specifies if the report will be in .xls or .pdf or .json format * * @param mimeType the value to set * @return this builder @@ -239,7 +239,7 @@ public String getSchedule() { return schedule; } - /** Specifies if the report will be in .xls or .pdf format */ + /** Specifies if the report will be in .xls or .pdf or .json format */ public enum MimeType implements com.oracle.bmc.http.internal.BmcEnum { Pdf("PDF"), Xls("XLS"), @@ -272,12 +272,12 @@ public static MimeType create(String key) { throw new IllegalArgumentException("Invalid MimeType: " + key); } }; - /** Specifies if the report will be in .xls or .pdf format */ + /** Specifies if the report will be in .xls or .pdf or .json format */ @com.fasterxml.jackson.annotation.JsonProperty("mimeType") private final MimeType mimeType; /** - * Specifies if the report will be in .xls or .pdf format + * Specifies if the report will be in .xls or .pdf or .json format * * @return the value */ diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/SecurityAssessment.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/SecurityAssessment.java index b04bb01321f..95d91313b69 100644 --- a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/SecurityAssessment.java +++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/SecurityAssessment.java @@ -46,6 +46,7 @@ public final class SecurityAssessment "scheduleSecurityAssessmentId", "triggeredBy", "description", + "isAssessmentScheduled", "schedule", "link", "type", @@ -73,6 +74,7 @@ public SecurityAssessment( String scheduleSecurityAssessmentId, TriggeredBy triggeredBy, String description, + Boolean isAssessmentScheduled, String schedule, String link, Type type, @@ -99,6 +101,7 @@ public SecurityAssessment( this.scheduleSecurityAssessmentId = scheduleSecurityAssessmentId; this.triggeredBy = triggeredBy; this.description = description; + this.isAssessmentScheduled = isAssessmentScheduled; this.schedule = schedule; this.link = link; this.type = type; @@ -408,6 +411,21 @@ public Builder description(String description) { this.__explicitlySet__.add("description"); return this; } + /** Indicates whether the assessment is scheduled to run. */ + @com.fasterxml.jackson.annotation.JsonProperty("isAssessmentScheduled") + private Boolean isAssessmentScheduled; + + /** + * Indicates whether the assessment is scheduled to run. + * + * @param isAssessmentScheduled the value to set + * @return this builder + */ + public Builder isAssessmentScheduled(Boolean isAssessmentScheduled) { + this.isAssessmentScheduled = isAssessmentScheduled; + this.__explicitlySet__.add("isAssessmentScheduled"); + return this; + } /** * Schedule to save the assessment periodically in the specified format: * ; @@ -607,6 +625,7 @@ public SecurityAssessment build() { this.scheduleSecurityAssessmentId, this.triggeredBy, this.description, + this.isAssessmentScheduled, this.schedule, this.link, this.type, @@ -676,6 +695,9 @@ public Builder copy(SecurityAssessment model) { if (model.wasPropertyExplicitlySet("description")) { this.description(model.getDescription()); } + if (model.wasPropertyExplicitlySet("isAssessmentScheduled")) { + this.isAssessmentScheduled(model.getIsAssessmentScheduled()); + } if (model.wasPropertyExplicitlySet("schedule")) { this.schedule(model.getSchedule()); } @@ -1014,6 +1036,19 @@ public String getDescription() { return description; } + /** Indicates whether the assessment is scheduled to run. */ + @com.fasterxml.jackson.annotation.JsonProperty("isAssessmentScheduled") + private final Boolean isAssessmentScheduled; + + /** + * Indicates whether the assessment is scheduled to run. + * + * @return the value + */ + public Boolean getIsAssessmentScheduled() { + return isAssessmentScheduled; + } + /** * Schedule to save the assessment periodically in the specified format: * ; @@ -1263,6 +1298,7 @@ public String toString(boolean includeByteArrayContents) { .append(String.valueOf(this.scheduleSecurityAssessmentId)); sb.append(", triggeredBy=").append(String.valueOf(this.triggeredBy)); sb.append(", description=").append(String.valueOf(this.description)); + sb.append(", isAssessmentScheduled=").append(String.valueOf(this.isAssessmentScheduled)); sb.append(", schedule=").append(String.valueOf(this.schedule)); sb.append(", link=").append(String.valueOf(this.link)); sb.append(", type=").append(String.valueOf(this.type)); @@ -1305,6 +1341,7 @@ public boolean equals(Object o) { this.scheduleSecurityAssessmentId, other.scheduleSecurityAssessmentId) && java.util.Objects.equals(this.triggeredBy, other.triggeredBy) && java.util.Objects.equals(this.description, other.description) + && java.util.Objects.equals(this.isAssessmentScheduled, other.isAssessmentScheduled) && java.util.Objects.equals(this.schedule, other.schedule) && java.util.Objects.equals(this.link, other.link) && java.util.Objects.equals(this.type, other.type) @@ -1365,6 +1402,11 @@ public int hashCode() { : this.scheduleSecurityAssessmentId.hashCode()); result = (result * PRIME) + (this.triggeredBy == null ? 43 : this.triggeredBy.hashCode()); result = (result * PRIME) + (this.description == null ? 43 : this.description.hashCode()); + result = + (result * PRIME) + + (this.isAssessmentScheduled == null + ? 43 + : this.isAssessmentScheduled.hashCode()); result = (result * PRIME) + (this.schedule == null ? 43 : this.schedule.hashCode()); result = (result * PRIME) + (this.link == null ? 43 : this.link.hashCode()); result = (result * PRIME) + (this.type == null ? 43 : this.type.hashCode()); diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/SensitiveDataModel.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/SensitiveDataModel.java index bdda91141dc..deb200f0899 100644 --- a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/SensitiveDataModel.java +++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/SensitiveDataModel.java @@ -39,6 +39,7 @@ public final class SensitiveDataModel "appSuiteName", "description", "schemasForDiscovery", + "tablesForDiscovery", "sensitiveTypeIdsForDiscovery", "isSampleDataCollectionEnabled", "isAppDefinedRelationDiscoveryEnabled", @@ -59,6 +60,7 @@ public SensitiveDataModel( String appSuiteName, String description, java.util.List schemasForDiscovery, + java.util.List tablesForDiscovery, java.util.List sensitiveTypeIdsForDiscovery, Boolean isSampleDataCollectionEnabled, Boolean isAppDefinedRelationDiscoveryEnabled, @@ -78,6 +80,7 @@ public SensitiveDataModel( this.appSuiteName = appSuiteName; this.description = description; this.schemasForDiscovery = schemasForDiscovery; + this.tablesForDiscovery = tablesForDiscovery; this.sensitiveTypeIdsForDiscovery = sensitiveTypeIdsForDiscovery; this.isSampleDataCollectionEnabled = isSampleDataCollectionEnabled; this.isAppDefinedRelationDiscoveryEnabled = isAppDefinedRelationDiscoveryEnabled; @@ -260,6 +263,27 @@ public Builder schemasForDiscovery(java.util.List schemasForDiscovery) { this.__explicitlySet__.add("schemasForDiscovery"); return this; } + /** + * The data discovery jobs will scan the tables specified here, including both schemas and + * tables. For instance, the input could be in the format: [{schemaName: "HR", tableName: + * ["T1", "T2"]}, {schemaName: "OE", tableName : ["T3", "T4"]}]. + */ + @com.fasterxml.jackson.annotation.JsonProperty("tablesForDiscovery") + private java.util.List tablesForDiscovery; + + /** + * The data discovery jobs will scan the tables specified here, including both schemas and + * tables. For instance, the input could be in the format: [{schemaName: "HR", tableName: + * ["T1", "T2"]}, {schemaName: "OE", tableName : ["T3", "T4"]}]. + * + * @param tablesForDiscovery the value to set + * @return this builder + */ + public Builder tablesForDiscovery(java.util.List tablesForDiscovery) { + this.tablesForDiscovery = tablesForDiscovery; + this.__explicitlySet__.add("tablesForDiscovery"); + return this; + } /** The OCIDs of the sensitive types to be used by data discovery jobs. */ @com.fasterxml.jackson.annotation.JsonProperty("sensitiveTypeIdsForDiscovery") private java.util.List sensitiveTypeIdsForDiscovery; @@ -464,6 +488,7 @@ public SensitiveDataModel build() { this.appSuiteName, this.description, this.schemasForDiscovery, + this.tablesForDiscovery, this.sensitiveTypeIdsForDiscovery, this.isSampleDataCollectionEnabled, this.isAppDefinedRelationDiscoveryEnabled, @@ -510,6 +535,9 @@ public Builder copy(SensitiveDataModel model) { if (model.wasPropertyExplicitlySet("schemasForDiscovery")) { this.schemasForDiscovery(model.getSchemasForDiscovery()); } + if (model.wasPropertyExplicitlySet("tablesForDiscovery")) { + this.tablesForDiscovery(model.getTablesForDiscovery()); + } if (model.wasPropertyExplicitlySet("sensitiveTypeIdsForDiscovery")) { this.sensitiveTypeIdsForDiscovery(model.getSensitiveTypeIdsForDiscovery()); } @@ -696,6 +724,25 @@ public java.util.List getSchemasForDiscovery() { return schemasForDiscovery; } + /** + * The data discovery jobs will scan the tables specified here, including both schemas and + * tables. For instance, the input could be in the format: [{schemaName: "HR", tableName: ["T1", + * "T2"]}, {schemaName: "OE", tableName : ["T3", "T4"]}]. + */ + @com.fasterxml.jackson.annotation.JsonProperty("tablesForDiscovery") + private final java.util.List tablesForDiscovery; + + /** + * The data discovery jobs will scan the tables specified here, including both schemas and + * tables. For instance, the input could be in the format: [{schemaName: "HR", tableName: ["T1", + * "T2"]}, {schemaName: "OE", tableName : ["T3", "T4"]}]. + * + * @return the value + */ + public java.util.List getTablesForDiscovery() { + return tablesForDiscovery; + } + /** The OCIDs of the sensitive types to be used by data discovery jobs. */ @com.fasterxml.jackson.annotation.JsonProperty("sensitiveTypeIdsForDiscovery") private final java.util.List sensitiveTypeIdsForDiscovery; @@ -889,6 +936,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", appSuiteName=").append(String.valueOf(this.appSuiteName)); sb.append(", description=").append(String.valueOf(this.description)); sb.append(", schemasForDiscovery=").append(String.valueOf(this.schemasForDiscovery)); + sb.append(", tablesForDiscovery=").append(String.valueOf(this.tablesForDiscovery)); sb.append(", sensitiveTypeIdsForDiscovery=") .append(String.valueOf(this.sensitiveTypeIdsForDiscovery)); sb.append(", isSampleDataCollectionEnabled=") @@ -925,6 +973,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.appSuiteName, other.appSuiteName) && java.util.Objects.equals(this.description, other.description) && java.util.Objects.equals(this.schemasForDiscovery, other.schemasForDiscovery) + && java.util.Objects.equals(this.tablesForDiscovery, other.tablesForDiscovery) && java.util.Objects.equals( this.sensitiveTypeIdsForDiscovery, other.sensitiveTypeIdsForDiscovery) && java.util.Objects.equals( @@ -963,6 +1012,11 @@ public int hashCode() { + (this.schemasForDiscovery == null ? 43 : this.schemasForDiscovery.hashCode()); + result = + (result * PRIME) + + (this.tablesForDiscovery == null + ? 43 + : this.tablesForDiscovery.hashCode()); result = (result * PRIME) + (this.sensitiveTypeIdsForDiscovery == null diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/SensitiveDataModelSensitiveTypeCollection.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/SensitiveDataModelSensitiveTypeCollection.java new file mode 100644 index 00000000000..439be01230c --- /dev/null +++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/SensitiveDataModelSensitiveTypeCollection.java @@ -0,0 +1,136 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.datasafe.model; + +/** + * A collection of sensitive types summary objects present in a sensitive data model.
+ * 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: 20181201") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = SensitiveDataModelSensitiveTypeCollection.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class SensitiveDataModelSensitiveTypeCollection + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"items"}) + public SensitiveDataModelSensitiveTypeCollection( + java.util.List items) { + super(); + this.items = items; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** An array of sensitive types summary objects present in a sensitive data model. */ + @com.fasterxml.jackson.annotation.JsonProperty("items") + private java.util.List items; + + /** + * An array of sensitive types summary objects present in a sensitive data model. + * + * @param items the value to set + * @return this builder + */ + public Builder items(java.util.List items) { + this.items = items; + this.__explicitlySet__.add("items"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public SensitiveDataModelSensitiveTypeCollection build() { + SensitiveDataModelSensitiveTypeCollection model = + new SensitiveDataModelSensitiveTypeCollection(this.items); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(SensitiveDataModelSensitiveTypeCollection model) { + if (model.wasPropertyExplicitlySet("items")) { + this.items(model.getItems()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** An array of sensitive types summary objects present in a sensitive data model. */ + @com.fasterxml.jackson.annotation.JsonProperty("items") + private final java.util.List items; + + /** + * An array of sensitive types summary objects present in a sensitive data model. + * + * @return the value + */ + public java.util.List getItems() { + return items; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("SensitiveDataModelSensitiveTypeCollection("); + sb.append("super=").append(super.toString()); + sb.append("items=").append(String.valueOf(this.items)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof SensitiveDataModelSensitiveTypeCollection)) { + return false; + } + + SensitiveDataModelSensitiveTypeCollection other = + (SensitiveDataModelSensitiveTypeCollection) o; + return java.util.Objects.equals(this.items, other.items) && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.items == null ? 43 : this.items.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/SensitiveDataModelSensitiveTypeSummary.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/SensitiveDataModelSensitiveTypeSummary.java new file mode 100644 index 00000000000..58264c6e8d5 --- /dev/null +++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/SensitiveDataModelSensitiveTypeSummary.java @@ -0,0 +1,172 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.datasafe.model; + +/** + * Summary of sensitive types present in a sensitive data model.
+ * 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: 20181201") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = SensitiveDataModelSensitiveTypeSummary.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class SensitiveDataModelSensitiveTypeSummary + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"sensitiveTypeId", "count"}) + public SensitiveDataModelSensitiveTypeSummary(String sensitiveTypeId, Long count) { + super(); + this.sensitiveTypeId = sensitiveTypeId; + this.count = count; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The OCID of the sensitive type. */ + @com.fasterxml.jackson.annotation.JsonProperty("sensitiveTypeId") + private String sensitiveTypeId; + + /** + * The OCID of the sensitive type. + * + * @param sensitiveTypeId the value to set + * @return this builder + */ + public Builder sensitiveTypeId(String sensitiveTypeId) { + this.sensitiveTypeId = sensitiveTypeId; + this.__explicitlySet__.add("sensitiveTypeId"); + return this; + } + /** The total number of sensitive columns linked to this specific sensitive type . */ + @com.fasterxml.jackson.annotation.JsonProperty("count") + private Long count; + + /** + * The total number of sensitive columns linked to this specific sensitive type . + * + * @param count the value to set + * @return this builder + */ + public Builder count(Long count) { + this.count = count; + this.__explicitlySet__.add("count"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public SensitiveDataModelSensitiveTypeSummary build() { + SensitiveDataModelSensitiveTypeSummary model = + new SensitiveDataModelSensitiveTypeSummary(this.sensitiveTypeId, this.count); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(SensitiveDataModelSensitiveTypeSummary model) { + if (model.wasPropertyExplicitlySet("sensitiveTypeId")) { + this.sensitiveTypeId(model.getSensitiveTypeId()); + } + if (model.wasPropertyExplicitlySet("count")) { + this.count(model.getCount()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** The OCID of the sensitive type. */ + @com.fasterxml.jackson.annotation.JsonProperty("sensitiveTypeId") + private final String sensitiveTypeId; + + /** + * The OCID of the sensitive type. + * + * @return the value + */ + public String getSensitiveTypeId() { + return sensitiveTypeId; + } + + /** The total number of sensitive columns linked to this specific sensitive type . */ + @com.fasterxml.jackson.annotation.JsonProperty("count") + private final Long count; + + /** + * The total number of sensitive columns linked to this specific sensitive type . + * + * @return the value + */ + public Long getCount() { + return count; + } + + @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("SensitiveDataModelSensitiveTypeSummary("); + sb.append("super=").append(super.toString()); + sb.append("sensitiveTypeId=").append(String.valueOf(this.sensitiveTypeId)); + sb.append(", count=").append(String.valueOf(this.count)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof SensitiveDataModelSensitiveTypeSummary)) { + return false; + } + + SensitiveDataModelSensitiveTypeSummary other = (SensitiveDataModelSensitiveTypeSummary) o; + return java.util.Objects.equals(this.sensitiveTypeId, other.sensitiveTypeId) + && java.util.Objects.equals(this.count, other.count) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.sensitiveTypeId == null ? 43 : this.sensitiveTypeId.hashCode()); + result = (result * PRIME) + (this.count == null ? 43 : this.count.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/SqlFirewallAllowedSql.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/SqlFirewallAllowedSql.java new file mode 100644 index 00000000000..08a72dd2144 --- /dev/null +++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/SqlFirewallAllowedSql.java @@ -0,0 +1,887 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.datasafe.model; + +/** + * The resource represents a SQL Firewall allowed SQL in Data Safe.
+ * 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: 20181201") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = SqlFirewallAllowedSql.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class SqlFirewallAllowedSql + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "id", + "compartmentId", + "displayName", + "description", + "sqlFirewallPolicyId", + "currentUser", + "dbUserName", + "sqlText", + "sqlLevel", + "sqlAccessedObjects", + "version", + "timeCollected", + "timeUpdated", + "lifecycleState", + "freeformTags", + "definedTags", + "systemTags" + }) + public SqlFirewallAllowedSql( + String id, + String compartmentId, + String displayName, + String description, + String sqlFirewallPolicyId, + String currentUser, + String dbUserName, + String sqlText, + SqlLevel sqlLevel, + java.util.List sqlAccessedObjects, + Float version, + java.util.Date timeCollected, + java.util.Date timeUpdated, + SqlFirewallAllowedSqlLifecycleState lifecycleState, + java.util.Map freeformTags, + java.util.Map> definedTags, + java.util.Map> systemTags) { + super(); + this.id = id; + this.compartmentId = compartmentId; + this.displayName = displayName; + this.description = description; + this.sqlFirewallPolicyId = sqlFirewallPolicyId; + this.currentUser = currentUser; + this.dbUserName = dbUserName; + this.sqlText = sqlText; + this.sqlLevel = sqlLevel; + this.sqlAccessedObjects = sqlAccessedObjects; + this.version = version; + this.timeCollected = timeCollected; + this.timeUpdated = timeUpdated; + this.lifecycleState = lifecycleState; + this.freeformTags = freeformTags; + this.definedTags = definedTags; + this.systemTags = systemTags; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The OCID of the SQL Firewall allowed SQL. */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private String id; + + /** + * The OCID of the SQL Firewall allowed SQL. + * + * @param id the value to set + * @return this builder + */ + public Builder id(String id) { + this.id = id; + this.__explicitlySet__.add("id"); + return this; + } + /** The OCID of the compartment containing the SQL Firewall allowed SQL. */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The OCID of the compartment containing the SQL Firewall allowed SQL. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + /** The display name of the SQL Firewall allowed SQL. */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + /** + * The display name of the SQL Firewall allowed SQL. + * + * @param displayName the value to set + * @return this builder + */ + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + /** The description of the SQL Firewall allowed SQL. */ + @com.fasterxml.jackson.annotation.JsonProperty("description") + private String description; + + /** + * The description of the SQL Firewall allowed SQL. + * + * @param description the value to set + * @return this builder + */ + public Builder description(String description) { + this.description = description; + this.__explicitlySet__.add("description"); + return this; + } + /** The OCID of the SQL Firewall policy corresponding to the SQL Firewall allowed SQL. */ + @com.fasterxml.jackson.annotation.JsonProperty("sqlFirewallPolicyId") + private String sqlFirewallPolicyId; + + /** + * The OCID of the SQL Firewall policy corresponding to the SQL Firewall allowed SQL. + * + * @param sqlFirewallPolicyId the value to set + * @return this builder + */ + public Builder sqlFirewallPolicyId(String sqlFirewallPolicyId) { + this.sqlFirewallPolicyId = sqlFirewallPolicyId; + this.__explicitlySet__.add("sqlFirewallPolicyId"); + return this; + } + /** The name of the user that SQL was executed as. */ + @com.fasterxml.jackson.annotation.JsonProperty("currentUser") + private String currentUser; + + /** + * The name of the user that SQL was executed as. + * + * @param currentUser the value to set + * @return this builder + */ + public Builder currentUser(String currentUser) { + this.currentUser = currentUser; + this.__explicitlySet__.add("currentUser"); + return this; + } + /** The database user name. */ + @com.fasterxml.jackson.annotation.JsonProperty("dbUserName") + private String dbUserName; + + /** + * The database user name. + * + * @param dbUserName the value to set + * @return this builder + */ + public Builder dbUserName(String dbUserName) { + this.dbUserName = dbUserName; + this.__explicitlySet__.add("dbUserName"); + return this; + } + /** The SQL text of the SQL Firewall allowed SQL. */ + @com.fasterxml.jackson.annotation.JsonProperty("sqlText") + private String sqlText; + + /** + * The SQL text of the SQL Firewall allowed SQL. + * + * @param sqlText the value to set + * @return this builder + */ + public Builder sqlText(String sqlText) { + this.sqlText = sqlText; + this.__explicitlySet__.add("sqlText"); + return this; + } + /** + * Specifies the level of SQL included for this SQL Firewall policy. USER_ISSUED_SQL - User + * issued SQL statements only. ALL_SQL - Includes all SQL statements including SQL statement + * issued inside PL/SQL units. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sqlLevel") + private SqlLevel sqlLevel; + + /** + * Specifies the level of SQL included for this SQL Firewall policy. USER_ISSUED_SQL - User + * issued SQL statements only. ALL_SQL - Includes all SQL statements including SQL statement + * issued inside PL/SQL units. + * + * @param sqlLevel the value to set + * @return this builder + */ + public Builder sqlLevel(SqlLevel sqlLevel) { + this.sqlLevel = sqlLevel; + this.__explicitlySet__.add("sqlLevel"); + return this; + } + /** The objects accessed by the SQL. */ + @com.fasterxml.jackson.annotation.JsonProperty("sqlAccessedObjects") + private java.util.List sqlAccessedObjects; + + /** + * The objects accessed by the SQL. + * + * @param sqlAccessedObjects the value to set + * @return this builder + */ + public Builder sqlAccessedObjects(java.util.List sqlAccessedObjects) { + this.sqlAccessedObjects = sqlAccessedObjects; + this.__explicitlySet__.add("sqlAccessedObjects"); + return this; + } + /** + * Version of the associated SQL Firewall policy. This identifies whether the allowed SQLs + * were added in the same batch or not. + */ + @com.fasterxml.jackson.annotation.JsonProperty("version") + private Float version; + + /** + * Version of the associated SQL Firewall policy. This identifies whether the allowed SQLs + * were added in the same batch or not. + * + * @param version the value to set + * @return this builder + */ + public Builder version(Float version) { + this.version = version; + this.__explicitlySet__.add("version"); + return this; + } + /** + * The time the the SQL Firewall allowed SQL was collected from the target database, in the + * format defined by RFC3339. + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeCollected") + private java.util.Date timeCollected; + + /** + * The time the the SQL Firewall allowed SQL was collected from the target database, in the + * format defined by RFC3339. + * + * @param timeCollected the value to set + * @return this builder + */ + public Builder timeCollected(java.util.Date timeCollected) { + this.timeCollected = timeCollected; + this.__explicitlySet__.add("timeCollected"); + return this; + } + /** + * The last date and time the SQL Firewall allowed SQL was updated, in the format defined by + * RFC3339. + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeUpdated") + private java.util.Date timeUpdated; + + /** + * The last date and time the SQL Firewall allowed SQL was updated, in the format defined by + * RFC3339. + * + * @param timeUpdated the value to set + * @return this builder + */ + public Builder timeUpdated(java.util.Date timeUpdated) { + this.timeUpdated = timeUpdated; + this.__explicitlySet__.add("timeUpdated"); + return this; + } + /** The current state of the SQL Firewall allowed SQL. */ + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") + private SqlFirewallAllowedSqlLifecycleState lifecycleState; + + /** + * The current state of the SQL Firewall allowed SQL. + * + * @param lifecycleState the value to set + * @return this builder + */ + public Builder lifecycleState(SqlFirewallAllowedSqlLifecycleState lifecycleState) { + this.lifecycleState = lifecycleState; + this.__explicitlySet__.add("lifecycleState"); + return this; + } + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined + * name, type, or namespace. For more information, see [Resource + * Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) + * + *

Example: {@code {"Department": "Finance"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private java.util.Map freeformTags; + + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined + * name, type, or namespace. For more information, see [Resource + * Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) + * + *

Example: {@code {"Department": "Finance"}} + * + * @param freeformTags the value to set + * @return this builder + */ + public Builder freeformTags(java.util.Map freeformTags) { + this.freeformTags = freeformTags; + this.__explicitlySet__.add("freeformTags"); + return this; + } + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. For + * more information, see [Resource + * Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) + * + *

Example: {@code {"Operations": {"CostCenter": "42"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. For + * more information, see [Resource + * Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) + * + *

Example: {@code {"Operations": {"CostCenter": "42"}}} + * + * @param definedTags the value to set + * @return this builder + */ + public Builder definedTags( + java.util.Map> definedTags) { + this.definedTags = definedTags; + this.__explicitlySet__.add("definedTags"); + return this; + } + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. For more + * information, see Resource Tags. Example: {@code {"orcl-cloud": {"free-tier-retained": + * "true"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("systemTags") + private java.util.Map> systemTags; + + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. For more + * information, see Resource Tags. Example: {@code {"orcl-cloud": {"free-tier-retained": + * "true"}}} + * + * @param systemTags the value to set + * @return this builder + */ + public Builder systemTags(java.util.Map> systemTags) { + this.systemTags = systemTags; + this.__explicitlySet__.add("systemTags"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public SqlFirewallAllowedSql build() { + SqlFirewallAllowedSql model = + new SqlFirewallAllowedSql( + this.id, + this.compartmentId, + this.displayName, + this.description, + this.sqlFirewallPolicyId, + this.currentUser, + this.dbUserName, + this.sqlText, + this.sqlLevel, + this.sqlAccessedObjects, + this.version, + this.timeCollected, + this.timeUpdated, + this.lifecycleState, + this.freeformTags, + this.definedTags, + this.systemTags); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(SqlFirewallAllowedSql model) { + if (model.wasPropertyExplicitlySet("id")) { + this.id(model.getId()); + } + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + if (model.wasPropertyExplicitlySet("description")) { + this.description(model.getDescription()); + } + if (model.wasPropertyExplicitlySet("sqlFirewallPolicyId")) { + this.sqlFirewallPolicyId(model.getSqlFirewallPolicyId()); + } + if (model.wasPropertyExplicitlySet("currentUser")) { + this.currentUser(model.getCurrentUser()); + } + if (model.wasPropertyExplicitlySet("dbUserName")) { + this.dbUserName(model.getDbUserName()); + } + if (model.wasPropertyExplicitlySet("sqlText")) { + this.sqlText(model.getSqlText()); + } + if (model.wasPropertyExplicitlySet("sqlLevel")) { + this.sqlLevel(model.getSqlLevel()); + } + if (model.wasPropertyExplicitlySet("sqlAccessedObjects")) { + this.sqlAccessedObjects(model.getSqlAccessedObjects()); + } + if (model.wasPropertyExplicitlySet("version")) { + this.version(model.getVersion()); + } + if (model.wasPropertyExplicitlySet("timeCollected")) { + this.timeCollected(model.getTimeCollected()); + } + if (model.wasPropertyExplicitlySet("timeUpdated")) { + this.timeUpdated(model.getTimeUpdated()); + } + if (model.wasPropertyExplicitlySet("lifecycleState")) { + this.lifecycleState(model.getLifecycleState()); + } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } + if (model.wasPropertyExplicitlySet("systemTags")) { + this.systemTags(model.getSystemTags()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** The OCID of the SQL Firewall allowed SQL. */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private final String id; + + /** + * The OCID of the SQL Firewall allowed SQL. + * + * @return the value + */ + public String getId() { + return id; + } + + /** The OCID of the compartment containing the SQL Firewall allowed SQL. */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The OCID of the compartment containing the SQL Firewall allowed SQL. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + /** The display name of the SQL Firewall allowed SQL. */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private final String displayName; + + /** + * The display name of the SQL Firewall allowed SQL. + * + * @return the value + */ + public String getDisplayName() { + return displayName; + } + + /** The description of the SQL Firewall allowed SQL. */ + @com.fasterxml.jackson.annotation.JsonProperty("description") + private final String description; + + /** + * The description of the SQL Firewall allowed SQL. + * + * @return the value + */ + public String getDescription() { + return description; + } + + /** The OCID of the SQL Firewall policy corresponding to the SQL Firewall allowed SQL. */ + @com.fasterxml.jackson.annotation.JsonProperty("sqlFirewallPolicyId") + private final String sqlFirewallPolicyId; + + /** + * The OCID of the SQL Firewall policy corresponding to the SQL Firewall allowed SQL. + * + * @return the value + */ + public String getSqlFirewallPolicyId() { + return sqlFirewallPolicyId; + } + + /** The name of the user that SQL was executed as. */ + @com.fasterxml.jackson.annotation.JsonProperty("currentUser") + private final String currentUser; + + /** + * The name of the user that SQL was executed as. + * + * @return the value + */ + public String getCurrentUser() { + return currentUser; + } + + /** The database user name. */ + @com.fasterxml.jackson.annotation.JsonProperty("dbUserName") + private final String dbUserName; + + /** + * The database user name. + * + * @return the value + */ + public String getDbUserName() { + return dbUserName; + } + + /** The SQL text of the SQL Firewall allowed SQL. */ + @com.fasterxml.jackson.annotation.JsonProperty("sqlText") + private final String sqlText; + + /** + * The SQL text of the SQL Firewall allowed SQL. + * + * @return the value + */ + public String getSqlText() { + return sqlText; + } + + /** + * Specifies the level of SQL included for this SQL Firewall policy. USER_ISSUED_SQL - User + * issued SQL statements only. ALL_SQL - Includes all SQL statements including SQL statement + * issued inside PL/SQL units. + */ + public enum SqlLevel implements com.oracle.bmc.http.internal.BmcEnum { + UserIssuedSql("USER_ISSUED_SQL"), + AllSql("ALL_SQL"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (SqlLevel v : SqlLevel.values()) { + map.put(v.getValue(), v); + } + } + + SqlLevel(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static SqlLevel create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid SqlLevel: " + key); + } + }; + /** + * Specifies the level of SQL included for this SQL Firewall policy. USER_ISSUED_SQL - User + * issued SQL statements only. ALL_SQL - Includes all SQL statements including SQL statement + * issued inside PL/SQL units. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sqlLevel") + private final SqlLevel sqlLevel; + + /** + * Specifies the level of SQL included for this SQL Firewall policy. USER_ISSUED_SQL - User + * issued SQL statements only. ALL_SQL - Includes all SQL statements including SQL statement + * issued inside PL/SQL units. + * + * @return the value + */ + public SqlLevel getSqlLevel() { + return sqlLevel; + } + + /** The objects accessed by the SQL. */ + @com.fasterxml.jackson.annotation.JsonProperty("sqlAccessedObjects") + private final java.util.List sqlAccessedObjects; + + /** + * The objects accessed by the SQL. + * + * @return the value + */ + public java.util.List getSqlAccessedObjects() { + return sqlAccessedObjects; + } + + /** + * Version of the associated SQL Firewall policy. This identifies whether the allowed SQLs were + * added in the same batch or not. + */ + @com.fasterxml.jackson.annotation.JsonProperty("version") + private final Float version; + + /** + * Version of the associated SQL Firewall policy. This identifies whether the allowed SQLs were + * added in the same batch or not. + * + * @return the value + */ + public Float getVersion() { + return version; + } + + /** + * The time the the SQL Firewall allowed SQL was collected from the target database, in the + * format defined by RFC3339. + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeCollected") + private final java.util.Date timeCollected; + + /** + * The time the the SQL Firewall allowed SQL was collected from the target database, in the + * format defined by RFC3339. + * + * @return the value + */ + public java.util.Date getTimeCollected() { + return timeCollected; + } + + /** + * The last date and time the SQL Firewall allowed SQL was updated, in the format defined by + * RFC3339. + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeUpdated") + private final java.util.Date timeUpdated; + + /** + * The last date and time the SQL Firewall allowed SQL was updated, in the format defined by + * RFC3339. + * + * @return the value + */ + public java.util.Date getTimeUpdated() { + return timeUpdated; + } + + /** The current state of the SQL Firewall allowed SQL. */ + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") + private final SqlFirewallAllowedSqlLifecycleState lifecycleState; + + /** + * The current state of the SQL Firewall allowed SQL. + * + * @return the value + */ + public SqlFirewallAllowedSqlLifecycleState getLifecycleState() { + return lifecycleState; + } + + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined + * name, type, or namespace. For more information, see [Resource + * Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) + * + *

Example: {@code {"Department": "Finance"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private final java.util.Map freeformTags; + + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined + * name, type, or namespace. For more information, see [Resource + * Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) + * + *

Example: {@code {"Department": "Finance"}} + * + * @return the value + */ + public java.util.Map getFreeformTags() { + return freeformTags; + } + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more + * information, see [Resource + * Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) + * + *

Example: {@code {"Operations": {"CostCenter": "42"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private final java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more + * information, see [Resource + * Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) + * + *

Example: {@code {"Operations": {"CostCenter": "42"}}} + * + * @return the value + */ + public java.util.Map> getDefinedTags() { + return definedTags; + } + + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. For more + * information, see Resource Tags. Example: {@code {"orcl-cloud": {"free-tier-retained": + * "true"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("systemTags") + private final java.util.Map> systemTags; + + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. For more + * information, see Resource Tags. Example: {@code {"orcl-cloud": {"free-tier-retained": + * "true"}}} + * + * @return the value + */ + public java.util.Map> getSystemTags() { + return systemTags; + } + + @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("SqlFirewallAllowedSql("); + sb.append("super=").append(super.toString()); + sb.append("id=").append(String.valueOf(this.id)); + sb.append(", compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", description=").append(String.valueOf(this.description)); + sb.append(", sqlFirewallPolicyId=").append(String.valueOf(this.sqlFirewallPolicyId)); + sb.append(", currentUser=").append(String.valueOf(this.currentUser)); + sb.append(", dbUserName=").append(String.valueOf(this.dbUserName)); + sb.append(", sqlText=").append(String.valueOf(this.sqlText)); + sb.append(", sqlLevel=").append(String.valueOf(this.sqlLevel)); + sb.append(", sqlAccessedObjects=").append(String.valueOf(this.sqlAccessedObjects)); + sb.append(", version=").append(String.valueOf(this.version)); + sb.append(", timeCollected=").append(String.valueOf(this.timeCollected)); + sb.append(", timeUpdated=").append(String.valueOf(this.timeUpdated)); + sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState)); + sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); + sb.append(", definedTags=").append(String.valueOf(this.definedTags)); + sb.append(", systemTags=").append(String.valueOf(this.systemTags)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof SqlFirewallAllowedSql)) { + return false; + } + + SqlFirewallAllowedSql other = (SqlFirewallAllowedSql) o; + return java.util.Objects.equals(this.id, other.id) + && java.util.Objects.equals(this.compartmentId, other.compartmentId) + && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.description, other.description) + && java.util.Objects.equals(this.sqlFirewallPolicyId, other.sqlFirewallPolicyId) + && java.util.Objects.equals(this.currentUser, other.currentUser) + && java.util.Objects.equals(this.dbUserName, other.dbUserName) + && java.util.Objects.equals(this.sqlText, other.sqlText) + && java.util.Objects.equals(this.sqlLevel, other.sqlLevel) + && java.util.Objects.equals(this.sqlAccessedObjects, other.sqlAccessedObjects) + && java.util.Objects.equals(this.version, other.version) + && java.util.Objects.equals(this.timeCollected, other.timeCollected) + && java.util.Objects.equals(this.timeUpdated, other.timeUpdated) + && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) + && java.util.Objects.equals(this.freeformTags, other.freeformTags) + && java.util.Objects.equals(this.definedTags, other.definedTags) + && java.util.Objects.equals(this.systemTags, other.systemTags) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = (result * PRIME) + (this.description == null ? 43 : this.description.hashCode()); + result = + (result * PRIME) + + (this.sqlFirewallPolicyId == null + ? 43 + : this.sqlFirewallPolicyId.hashCode()); + result = (result * PRIME) + (this.currentUser == null ? 43 : this.currentUser.hashCode()); + result = (result * PRIME) + (this.dbUserName == null ? 43 : this.dbUserName.hashCode()); + result = (result * PRIME) + (this.sqlText == null ? 43 : this.sqlText.hashCode()); + result = (result * PRIME) + (this.sqlLevel == null ? 43 : this.sqlLevel.hashCode()); + result = + (result * PRIME) + + (this.sqlAccessedObjects == null + ? 43 + : this.sqlAccessedObjects.hashCode()); + result = (result * PRIME) + (this.version == null ? 43 : this.version.hashCode()); + result = + (result * PRIME) + + (this.timeCollected == null ? 43 : this.timeCollected.hashCode()); + result = (result * PRIME) + (this.timeUpdated == null ? 43 : this.timeUpdated.hashCode()); + result = + (result * PRIME) + + (this.lifecycleState == null ? 43 : this.lifecycleState.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()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/SqlFirewallAllowedSqlLifecycleState.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/SqlFirewallAllowedSqlLifecycleState.java index 7933b54cbc6..4be2d59190f 100644 --- a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/SqlFirewallAllowedSqlLifecycleState.java +++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/SqlFirewallAllowedSqlLifecycleState.java @@ -9,6 +9,7 @@ public enum SqlFirewallAllowedSqlLifecycleState implements com.oracle.bmc.http.internal.BmcEnum { Active("ACTIVE"), Deleted("DELETED"), + Failed("FAILED"), /** * This value is used if a service returns a value for this enum that is not recognized by this diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/TablesForDiscovery.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/TablesForDiscovery.java new file mode 100644 index 00000000000..a560fbf4891 --- /dev/null +++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/TablesForDiscovery.java @@ -0,0 +1,169 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.datasafe.model; + +/** + * This contains the schema name along with one or more optional table names.
+ * 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: 20181201") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = TablesForDiscovery.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class TablesForDiscovery + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"schemaName", "tableNames"}) + public TablesForDiscovery(String schemaName, java.util.List tableNames) { + super(); + this.schemaName = schemaName; + this.tableNames = tableNames; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** This contains the name of the schema. */ + @com.fasterxml.jackson.annotation.JsonProperty("schemaName") + private String schemaName; + + /** + * This contains the name of the schema. + * + * @param schemaName the value to set + * @return this builder + */ + public Builder schemaName(String schemaName) { + this.schemaName = schemaName; + this.__explicitlySet__.add("schemaName"); + return this; + } + /** This contains an optional list of the table names. */ + @com.fasterxml.jackson.annotation.JsonProperty("tableNames") + private java.util.List tableNames; + + /** + * This contains an optional list of the table names. + * + * @param tableNames the value to set + * @return this builder + */ + public Builder tableNames(java.util.List tableNames) { + this.tableNames = tableNames; + this.__explicitlySet__.add("tableNames"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public TablesForDiscovery build() { + TablesForDiscovery model = new TablesForDiscovery(this.schemaName, this.tableNames); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(TablesForDiscovery model) { + if (model.wasPropertyExplicitlySet("schemaName")) { + this.schemaName(model.getSchemaName()); + } + if (model.wasPropertyExplicitlySet("tableNames")) { + this.tableNames(model.getTableNames()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** This contains the name of the schema. */ + @com.fasterxml.jackson.annotation.JsonProperty("schemaName") + private final String schemaName; + + /** + * This contains the name of the schema. + * + * @return the value + */ + public String getSchemaName() { + return schemaName; + } + + /** This contains an optional list of the table names. */ + @com.fasterxml.jackson.annotation.JsonProperty("tableNames") + private final java.util.List tableNames; + + /** + * This contains an optional list of the table names. + * + * @return the value + */ + public java.util.List getTableNames() { + return tableNames; + } + + @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("TablesForDiscovery("); + sb.append("super=").append(super.toString()); + sb.append("schemaName=").append(String.valueOf(this.schemaName)); + sb.append(", tableNames=").append(String.valueOf(this.tableNames)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof TablesForDiscovery)) { + return false; + } + + TablesForDiscovery other = (TablesForDiscovery) o; + return java.util.Objects.equals(this.schemaName, other.schemaName) + && java.util.Objects.equals(this.tableNames, other.tableNames) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.schemaName == null ? 43 : this.schemaName.hashCode()); + result = (result * PRIME) + (this.tableNames == null ? 43 : this.tableNames.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/UnsetSecurityAssessmentBaselineDetails.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/UnsetSecurityAssessmentBaselineDetails.java new file mode 100644 index 00000000000..f5d553c91a8 --- /dev/null +++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/UnsetSecurityAssessmentBaselineDetails.java @@ -0,0 +1,134 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.datasafe.model; + +/** + * The details required to unset the baseline of the assessment.
+ * 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: 20181201") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = UnsetSecurityAssessmentBaselineDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class UnsetSecurityAssessmentBaselineDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"targetIds"}) + public UnsetSecurityAssessmentBaselineDetails(java.util.List targetIds) { + super(); + this.targetIds = targetIds; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The list of database target OCIDs for which the user intends to unset the baseline. */ + @com.fasterxml.jackson.annotation.JsonProperty("targetIds") + private java.util.List targetIds; + + /** + * The list of database target OCIDs for which the user intends to unset the baseline. + * + * @param targetIds the value to set + * @return this builder + */ + public Builder targetIds(java.util.List targetIds) { + this.targetIds = targetIds; + this.__explicitlySet__.add("targetIds"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public UnsetSecurityAssessmentBaselineDetails build() { + UnsetSecurityAssessmentBaselineDetails model = + new UnsetSecurityAssessmentBaselineDetails(this.targetIds); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(UnsetSecurityAssessmentBaselineDetails model) { + if (model.wasPropertyExplicitlySet("targetIds")) { + this.targetIds(model.getTargetIds()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** The list of database target OCIDs for which the user intends to unset the baseline. */ + @com.fasterxml.jackson.annotation.JsonProperty("targetIds") + private final java.util.List targetIds; + + /** + * The list of database target OCIDs for which the user intends to unset the baseline. + * + * @return the value + */ + public java.util.List getTargetIds() { + return targetIds; + } + + @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("UnsetSecurityAssessmentBaselineDetails("); + sb.append("super=").append(super.toString()); + sb.append("targetIds=").append(String.valueOf(this.targetIds)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof UnsetSecurityAssessmentBaselineDetails)) { + return false; + } + + UnsetSecurityAssessmentBaselineDetails other = (UnsetSecurityAssessmentBaselineDetails) o; + return java.util.Objects.equals(this.targetIds, other.targetIds) && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.targetIds == null ? 43 : this.targetIds.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/UnsetUserAssessmentBaselineDetails.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/UnsetUserAssessmentBaselineDetails.java new file mode 100644 index 00000000000..11b018d8d4d --- /dev/null +++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/UnsetUserAssessmentBaselineDetails.java @@ -0,0 +1,134 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.datasafe.model; + +/** + * The details required to unset the baseline of the assessment.
+ * 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: 20181201") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = UnsetUserAssessmentBaselineDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class UnsetUserAssessmentBaselineDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"targetIds"}) + public UnsetUserAssessmentBaselineDetails(java.util.List targetIds) { + super(); + this.targetIds = targetIds; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The list of database target OCIDs for which the user intends to unset the baseline. */ + @com.fasterxml.jackson.annotation.JsonProperty("targetIds") + private java.util.List targetIds; + + /** + * The list of database target OCIDs for which the user intends to unset the baseline. + * + * @param targetIds the value to set + * @return this builder + */ + public Builder targetIds(java.util.List targetIds) { + this.targetIds = targetIds; + this.__explicitlySet__.add("targetIds"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public UnsetUserAssessmentBaselineDetails build() { + UnsetUserAssessmentBaselineDetails model = + new UnsetUserAssessmentBaselineDetails(this.targetIds); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(UnsetUserAssessmentBaselineDetails model) { + if (model.wasPropertyExplicitlySet("targetIds")) { + this.targetIds(model.getTargetIds()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** The list of database target OCIDs for which the user intends to unset the baseline. */ + @com.fasterxml.jackson.annotation.JsonProperty("targetIds") + private final java.util.List targetIds; + + /** + * The list of database target OCIDs for which the user intends to unset the baseline. + * + * @return the value + */ + public java.util.List getTargetIds() { + return targetIds; + } + + @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("UnsetUserAssessmentBaselineDetails("); + sb.append("super=").append(super.toString()); + sb.append("targetIds=").append(String.valueOf(this.targetIds)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof UnsetUserAssessmentBaselineDetails)) { + return false; + } + + UnsetUserAssessmentBaselineDetails other = (UnsetUserAssessmentBaselineDetails) o; + return java.util.Objects.equals(this.targetIds, other.targetIds) && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.targetIds == null ? 43 : this.targetIds.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/UpdateSecurityAssessmentDetails.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/UpdateSecurityAssessmentDetails.java index f7d9ac1660d..d3d428e54e0 100644 --- a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/UpdateSecurityAssessmentDetails.java +++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/UpdateSecurityAssessmentDetails.java @@ -26,6 +26,7 @@ public final class UpdateSecurityAssessmentDetails @java.beans.ConstructorProperties({ "displayName", "description", + "isAssessmentScheduled", "schedule", "freeformTags", "definedTags" @@ -33,12 +34,14 @@ public final class UpdateSecurityAssessmentDetails public UpdateSecurityAssessmentDetails( String displayName, String description, + Boolean isAssessmentScheduled, String schedule, java.util.Map freeformTags, java.util.Map> definedTags) { super(); this.displayName = displayName; this.description = description; + this.isAssessmentScheduled = isAssessmentScheduled; this.schedule = schedule; this.freeformTags = freeformTags; this.definedTags = definedTags; @@ -76,6 +79,21 @@ public Builder description(String description) { this.__explicitlySet__.add("description"); return this; } + /** Indicates whether the assessment is scheduled to run. */ + @com.fasterxml.jackson.annotation.JsonProperty("isAssessmentScheduled") + private Boolean isAssessmentScheduled; + + /** + * Indicates whether the assessment is scheduled to run. + * + * @param isAssessmentScheduled the value to set + * @return this builder + */ + public Builder isAssessmentScheduled(Boolean isAssessmentScheduled) { + this.isAssessmentScheduled = isAssessmentScheduled; + this.__explicitlySet__.add("isAssessmentScheduled"); + return this; + } /** * This is applicable only for save schedule and latest assessment. It updates the existing * schedule in a specified format: ; @@ -177,6 +195,7 @@ public UpdateSecurityAssessmentDetails build() { new UpdateSecurityAssessmentDetails( this.displayName, this.description, + this.isAssessmentScheduled, this.schedule, this.freeformTags, this.definedTags); @@ -194,6 +213,9 @@ public Builder copy(UpdateSecurityAssessmentDetails model) { if (model.wasPropertyExplicitlySet("description")) { this.description(model.getDescription()); } + if (model.wasPropertyExplicitlySet("isAssessmentScheduled")) { + this.isAssessmentScheduled(model.getIsAssessmentScheduled()); + } if (model.wasPropertyExplicitlySet("schedule")) { this.schedule(model.getSchedule()); } @@ -242,6 +264,19 @@ public String getDescription() { return description; } + /** Indicates whether the assessment is scheduled to run. */ + @com.fasterxml.jackson.annotation.JsonProperty("isAssessmentScheduled") + private final Boolean isAssessmentScheduled; + + /** + * Indicates whether the assessment is scheduled to run. + * + * @return the value + */ + public Boolean getIsAssessmentScheduled() { + return isAssessmentScheduled; + } + /** * This is applicable only for save schedule and latest assessment. It updates the existing * schedule in a specified format: ; @@ -342,6 +377,7 @@ public String toString(boolean includeByteArrayContents) { sb.append("super=").append(super.toString()); sb.append("displayName=").append(String.valueOf(this.displayName)); sb.append(", description=").append(String.valueOf(this.description)); + sb.append(", isAssessmentScheduled=").append(String.valueOf(this.isAssessmentScheduled)); sb.append(", schedule=").append(String.valueOf(this.schedule)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", definedTags=").append(String.valueOf(this.definedTags)); @@ -361,6 +397,7 @@ public boolean equals(Object o) { UpdateSecurityAssessmentDetails other = (UpdateSecurityAssessmentDetails) o; return java.util.Objects.equals(this.displayName, other.displayName) && java.util.Objects.equals(this.description, other.description) + && java.util.Objects.equals(this.isAssessmentScheduled, other.isAssessmentScheduled) && java.util.Objects.equals(this.schedule, other.schedule) && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.definedTags, other.definedTags) @@ -373,6 +410,11 @@ public int hashCode() { int result = 1; result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); result = (result * PRIME) + (this.description == null ? 43 : this.description.hashCode()); + result = + (result * PRIME) + + (this.isAssessmentScheduled == null + ? 43 + : this.isAssessmentScheduled.hashCode()); result = (result * PRIME) + (this.schedule == null ? 43 : this.schedule.hashCode()); result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/UpdateSensitiveDataModelDetails.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/UpdateSensitiveDataModelDetails.java index aacf910ac44..77d1934cd3c 100644 --- a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/UpdateSensitiveDataModelDetails.java +++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/UpdateSensitiveDataModelDetails.java @@ -30,6 +30,7 @@ public final class UpdateSensitiveDataModelDetails "appSuiteName", "description", "schemasForDiscovery", + "tablesForDiscovery", "sensitiveTypeIdsForDiscovery", "isSampleDataCollectionEnabled", "isAppDefinedRelationDiscoveryEnabled", @@ -42,6 +43,7 @@ public UpdateSensitiveDataModelDetails( String appSuiteName, String description, java.util.List schemasForDiscovery, + java.util.List tablesForDiscovery, java.util.List sensitiveTypeIdsForDiscovery, Boolean isSampleDataCollectionEnabled, Boolean isAppDefinedRelationDiscoveryEnabled, @@ -53,6 +55,7 @@ public UpdateSensitiveDataModelDetails( this.appSuiteName = appSuiteName; this.description = description; this.schemasForDiscovery = schemasForDiscovery; + this.tablesForDiscovery = tablesForDiscovery; this.sensitiveTypeIdsForDiscovery = sensitiveTypeIdsForDiscovery; this.isSampleDataCollectionEnabled = isSampleDataCollectionEnabled; this.isAppDefinedRelationDiscoveryEnabled = isAppDefinedRelationDiscoveryEnabled; @@ -153,6 +156,27 @@ public Builder schemasForDiscovery(java.util.List schemasForDiscovery) { this.__explicitlySet__.add("schemasForDiscovery"); return this; } + /** + * The data discovery jobs will scan the tables specified here, including both schemas and + * tables. For instance, the input could be in the format: [{schemaName: "HR", tableName: + * ["T1", "T2"]}, {schemaName: "OE", tableName : ["T3", "T4"]}]. + */ + @com.fasterxml.jackson.annotation.JsonProperty("tablesForDiscovery") + private java.util.List tablesForDiscovery; + + /** + * The data discovery jobs will scan the tables specified here, including both schemas and + * tables. For instance, the input could be in the format: [{schemaName: "HR", tableName: + * ["T1", "T2"]}, {schemaName: "OE", tableName : ["T3", "T4"]}]. + * + * @param tablesForDiscovery the value to set + * @return this builder + */ + public Builder tablesForDiscovery(java.util.List tablesForDiscovery) { + this.tablesForDiscovery = tablesForDiscovery; + this.__explicitlySet__.add("tablesForDiscovery"); + return this; + } /** * The OCIDs of the sensitive types to be used for future data discovery jobs. If OCID of a * sensitive category is provided, all its child sensitive types are used for data @@ -295,6 +319,7 @@ public UpdateSensitiveDataModelDetails build() { this.appSuiteName, this.description, this.schemasForDiscovery, + this.tablesForDiscovery, this.sensitiveTypeIdsForDiscovery, this.isSampleDataCollectionEnabled, this.isAppDefinedRelationDiscoveryEnabled, @@ -323,6 +348,9 @@ public Builder copy(UpdateSensitiveDataModelDetails model) { if (model.wasPropertyExplicitlySet("schemasForDiscovery")) { this.schemasForDiscovery(model.getSchemasForDiscovery()); } + if (model.wasPropertyExplicitlySet("tablesForDiscovery")) { + this.tablesForDiscovery(model.getTablesForDiscovery()); + } if (model.wasPropertyExplicitlySet("sensitiveTypeIdsForDiscovery")) { this.sensitiveTypeIdsForDiscovery(model.getSensitiveTypeIdsForDiscovery()); } @@ -433,6 +461,25 @@ public java.util.List getSchemasForDiscovery() { return schemasForDiscovery; } + /** + * The data discovery jobs will scan the tables specified here, including both schemas and + * tables. For instance, the input could be in the format: [{schemaName: "HR", tableName: ["T1", + * "T2"]}, {schemaName: "OE", tableName : ["T3", "T4"]}]. + */ + @com.fasterxml.jackson.annotation.JsonProperty("tablesForDiscovery") + private final java.util.List tablesForDiscovery; + + /** + * The data discovery jobs will scan the tables specified here, including both schemas and + * tables. For instance, the input could be in the format: [{schemaName: "HR", tableName: ["T1", + * "T2"]}, {schemaName: "OE", tableName : ["T3", "T4"]}]. + * + * @return the value + */ + public java.util.List getTablesForDiscovery() { + return tablesForDiscovery; + } + /** * The OCIDs of the sensitive types to be used for future data discovery jobs. If OCID of a * sensitive category is provided, all its child sensitive types are used for data discovery. @@ -568,6 +615,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", appSuiteName=").append(String.valueOf(this.appSuiteName)); sb.append(", description=").append(String.valueOf(this.description)); sb.append(", schemasForDiscovery=").append(String.valueOf(this.schemasForDiscovery)); + sb.append(", tablesForDiscovery=").append(String.valueOf(this.tablesForDiscovery)); sb.append(", sensitiveTypeIdsForDiscovery=") .append(String.valueOf(this.sensitiveTypeIdsForDiscovery)); sb.append(", isSampleDataCollectionEnabled=") @@ -595,6 +643,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.appSuiteName, other.appSuiteName) && java.util.Objects.equals(this.description, other.description) && java.util.Objects.equals(this.schemasForDiscovery, other.schemasForDiscovery) + && java.util.Objects.equals(this.tablesForDiscovery, other.tablesForDiscovery) && java.util.Objects.equals( this.sensitiveTypeIdsForDiscovery, other.sensitiveTypeIdsForDiscovery) && java.util.Objects.equals( @@ -620,6 +669,11 @@ public int hashCode() { + (this.schemasForDiscovery == null ? 43 : this.schemasForDiscovery.hashCode()); + result = + (result * PRIME) + + (this.tablesForDiscovery == null + ? 43 + : this.tablesForDiscovery.hashCode()); result = (result * PRIME) + (this.sensitiveTypeIdsForDiscovery == null diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/UpdateUserAssessmentDetails.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/UpdateUserAssessmentDetails.java index 1b88c6f6336..f1d1e4b0029 100644 --- a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/UpdateUserAssessmentDetails.java +++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/UpdateUserAssessmentDetails.java @@ -26,6 +26,7 @@ public final class UpdateUserAssessmentDetails @java.beans.ConstructorProperties({ "description", "displayName", + "isAssessmentScheduled", "schedule", "freeformTags", "definedTags" @@ -33,12 +34,14 @@ public final class UpdateUserAssessmentDetails public UpdateUserAssessmentDetails( String description, String displayName, + Boolean isAssessmentScheduled, String schedule, java.util.Map freeformTags, java.util.Map> definedTags) { super(); this.description = description; this.displayName = displayName; + this.isAssessmentScheduled = isAssessmentScheduled; this.schedule = schedule; this.freeformTags = freeformTags; this.definedTags = definedTags; @@ -76,6 +79,21 @@ public Builder displayName(String displayName) { this.__explicitlySet__.add("displayName"); return this; } + /** Indicates whether the assessment is scheduled to run. */ + @com.fasterxml.jackson.annotation.JsonProperty("isAssessmentScheduled") + private Boolean isAssessmentScheduled; + + /** + * Indicates whether the assessment is scheduled to run. + * + * @param isAssessmentScheduled the value to set + * @return this builder + */ + public Builder isAssessmentScheduled(Boolean isAssessmentScheduled) { + this.isAssessmentScheduled = isAssessmentScheduled; + this.__explicitlySet__.add("isAssessmentScheduled"); + return this; + } /** * The schedule for periodically saving the assessment. This is applicable only for * assessments of type save schedule and latest assessment. It updates the existing schedule @@ -179,6 +197,7 @@ public UpdateUserAssessmentDetails build() { new UpdateUserAssessmentDetails( this.description, this.displayName, + this.isAssessmentScheduled, this.schedule, this.freeformTags, this.definedTags); @@ -196,6 +215,9 @@ public Builder copy(UpdateUserAssessmentDetails model) { if (model.wasPropertyExplicitlySet("displayName")) { this.displayName(model.getDisplayName()); } + if (model.wasPropertyExplicitlySet("isAssessmentScheduled")) { + this.isAssessmentScheduled(model.getIsAssessmentScheduled()); + } if (model.wasPropertyExplicitlySet("schedule")) { this.schedule(model.getSchedule()); } @@ -244,6 +266,19 @@ public String getDisplayName() { return displayName; } + /** Indicates whether the assessment is scheduled to run. */ + @com.fasterxml.jackson.annotation.JsonProperty("isAssessmentScheduled") + private final Boolean isAssessmentScheduled; + + /** + * Indicates whether the assessment is scheduled to run. + * + * @return the value + */ + public Boolean getIsAssessmentScheduled() { + return isAssessmentScheduled; + } + /** * The schedule for periodically saving the assessment. This is applicable only for assessments * of type save schedule and latest assessment. It updates the existing schedule in a specified @@ -346,6 +381,7 @@ public String toString(boolean includeByteArrayContents) { sb.append("super=").append(super.toString()); sb.append("description=").append(String.valueOf(this.description)); sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", isAssessmentScheduled=").append(String.valueOf(this.isAssessmentScheduled)); sb.append(", schedule=").append(String.valueOf(this.schedule)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", definedTags=").append(String.valueOf(this.definedTags)); @@ -365,6 +401,7 @@ public boolean equals(Object o) { UpdateUserAssessmentDetails other = (UpdateUserAssessmentDetails) o; return java.util.Objects.equals(this.description, other.description) && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.isAssessmentScheduled, other.isAssessmentScheduled) && java.util.Objects.equals(this.schedule, other.schedule) && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.definedTags, other.definedTags) @@ -377,6 +414,11 @@ public int hashCode() { int result = 1; result = (result * PRIME) + (this.description == null ? 43 : this.description.hashCode()); result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = + (result * PRIME) + + (this.isAssessmentScheduled == null + ? 43 + : this.isAssessmentScheduled.hashCode()); result = (result * PRIME) + (this.schedule == null ? 43 : this.schedule.hashCode()); result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/UserAssessment.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/UserAssessment.java index 7db044c8892..c8e5e37c991 100644 --- a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/UserAssessment.java +++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/UserAssessment.java @@ -36,6 +36,7 @@ public final class UserAssessment "lifecycleState", "lifecycleDetails", "scheduleAssessmentId", + "isAssessmentScheduled", "schedule", "statistics", "targetIds", @@ -61,6 +62,7 @@ public UserAssessment( UserAssessmentLifecycleState lifecycleState, String lifecycleDetails, String scheduleAssessmentId, + Boolean isAssessmentScheduled, String schedule, java.util.Map> statistics, java.util.List targetIds, @@ -85,6 +87,7 @@ public UserAssessment( this.lifecycleState = lifecycleState; this.lifecycleDetails = lifecycleDetails; this.scheduleAssessmentId = scheduleAssessmentId; + this.isAssessmentScheduled = isAssessmentScheduled; this.schedule = schedule; this.statistics = statistics; this.targetIds = targetIds; @@ -300,6 +303,21 @@ public Builder scheduleAssessmentId(String scheduleAssessmentId) { this.__explicitlySet__.add("scheduleAssessmentId"); return this; } + /** Indicates whether the assessment is scheduled to run. */ + @com.fasterxml.jackson.annotation.JsonProperty("isAssessmentScheduled") + private Boolean isAssessmentScheduled; + + /** + * Indicates whether the assessment is scheduled to run. + * + * @param isAssessmentScheduled the value to set + * @return this builder + */ + public Builder isAssessmentScheduled(Boolean isAssessmentScheduled) { + this.isAssessmentScheduled = isAssessmentScheduled; + this.__explicitlySet__.add("isAssessmentScheduled"); + return this; + } /** * Schedule of the assessment that runs periodically in this specified format: * ; @@ -575,6 +593,7 @@ public UserAssessment build() { this.lifecycleState, this.lifecycleDetails, this.scheduleAssessmentId, + this.isAssessmentScheduled, this.schedule, this.statistics, this.targetIds, @@ -630,6 +649,9 @@ public Builder copy(UserAssessment model) { if (model.wasPropertyExplicitlySet("scheduleAssessmentId")) { this.scheduleAssessmentId(model.getScheduleAssessmentId()); } + if (model.wasPropertyExplicitlySet("isAssessmentScheduled")) { + this.isAssessmentScheduled(model.getIsAssessmentScheduled()); + } if (model.wasPropertyExplicitlySet("schedule")) { this.schedule(model.getSchedule()); } @@ -848,6 +870,19 @@ public String getScheduleAssessmentId() { return scheduleAssessmentId; } + /** Indicates whether the assessment is scheduled to run. */ + @com.fasterxml.jackson.annotation.JsonProperty("isAssessmentScheduled") + private final Boolean isAssessmentScheduled; + + /** + * Indicates whether the assessment is scheduled to run. + * + * @return the value + */ + public Boolean getIsAssessmentScheduled() { + return isAssessmentScheduled; + } + /** * Schedule of the assessment that runs periodically in this specified format: * ; @@ -1209,6 +1244,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState)); sb.append(", lifecycleDetails=").append(String.valueOf(this.lifecycleDetails)); sb.append(", scheduleAssessmentId=").append(String.valueOf(this.scheduleAssessmentId)); + sb.append(", isAssessmentScheduled=").append(String.valueOf(this.isAssessmentScheduled)); sb.append(", schedule=").append(String.valueOf(this.schedule)); sb.append(", statistics=").append(String.valueOf(this.statistics)); sb.append(", targetIds=").append(String.valueOf(this.targetIds)); @@ -1248,6 +1284,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) && java.util.Objects.equals(this.lifecycleDetails, other.lifecycleDetails) && java.util.Objects.equals(this.scheduleAssessmentId, other.scheduleAssessmentId) + && java.util.Objects.equals(this.isAssessmentScheduled, other.isAssessmentScheduled) && java.util.Objects.equals(this.schedule, other.schedule) && java.util.Objects.equals(this.statistics, other.statistics) && java.util.Objects.equals(this.targetIds, other.targetIds) @@ -1302,6 +1339,11 @@ public int hashCode() { + (this.scheduleAssessmentId == null ? 43 : this.scheduleAssessmentId.hashCode()); + result = + (result * PRIME) + + (this.isAssessmentScheduled == null + ? 43 + : this.isAssessmentScheduled.hashCode()); result = (result * PRIME) + (this.schedule == null ? 43 : this.schedule.hashCode()); result = (result * PRIME) + (this.statistics == null ? 43 : this.statistics.hashCode()); result = (result * PRIME) + (this.targetIds == null ? 43 : this.targetIds.hashCode()); diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/UserAssessmentSummary.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/UserAssessmentSummary.java index 21490a14acc..cc7d4297975 100644 --- a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/UserAssessmentSummary.java +++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/UserAssessmentSummary.java @@ -36,6 +36,7 @@ public final class UserAssessmentSummary "lifecycleState", "lifecycleDetails", "scheduleAssessmentId", + "isAssessmentScheduled", "schedule", "statistics", "targetIds", @@ -60,6 +61,7 @@ public UserAssessmentSummary( UserAssessmentLifecycleState lifecycleState, String lifecycleDetails, String scheduleAssessmentId, + Boolean isAssessmentScheduled, String schedule, java.util.Map> statistics, java.util.List targetIds, @@ -83,6 +85,7 @@ public UserAssessmentSummary( this.lifecycleState = lifecycleState; this.lifecycleDetails = lifecycleDetails; this.scheduleAssessmentId = scheduleAssessmentId; + this.isAssessmentScheduled = isAssessmentScheduled; this.schedule = schedule; this.statistics = statistics; this.targetIds = targetIds; @@ -293,6 +296,21 @@ public Builder scheduleAssessmentId(String scheduleAssessmentId) { this.__explicitlySet__.add("scheduleAssessmentId"); return this; } + /** Indicates whether the assessment is scheduled to run. */ + @com.fasterxml.jackson.annotation.JsonProperty("isAssessmentScheduled") + private Boolean isAssessmentScheduled; + + /** + * Indicates whether the assessment is scheduled to run. + * + * @param isAssessmentScheduled the value to set + * @return this builder + */ + public Builder isAssessmentScheduled(Boolean isAssessmentScheduled) { + this.isAssessmentScheduled = isAssessmentScheduled; + this.__explicitlySet__.add("isAssessmentScheduled"); + return this; + } /** * Schedule to save the assessment periodically in the specified format: * ; @@ -545,6 +563,7 @@ public UserAssessmentSummary build() { this.lifecycleState, this.lifecycleDetails, this.scheduleAssessmentId, + this.isAssessmentScheduled, this.schedule, this.statistics, this.targetIds, @@ -599,6 +618,9 @@ public Builder copy(UserAssessmentSummary model) { if (model.wasPropertyExplicitlySet("scheduleAssessmentId")) { this.scheduleAssessmentId(model.getScheduleAssessmentId()); } + if (model.wasPropertyExplicitlySet("isAssessmentScheduled")) { + this.isAssessmentScheduled(model.getIsAssessmentScheduled()); + } if (model.wasPropertyExplicitlySet("schedule")) { this.schedule(model.getSchedule()); } @@ -810,6 +832,19 @@ public String getScheduleAssessmentId() { return scheduleAssessmentId; } + /** Indicates whether the assessment is scheduled to run. */ + @com.fasterxml.jackson.annotation.JsonProperty("isAssessmentScheduled") + private final Boolean isAssessmentScheduled; + + /** + * Indicates whether the assessment is scheduled to run. + * + * @return the value + */ + public Boolean getIsAssessmentScheduled() { + return isAssessmentScheduled; + } + /** * Schedule to save the assessment periodically in the specified format: * ; @@ -1149,6 +1184,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState)); sb.append(", lifecycleDetails=").append(String.valueOf(this.lifecycleDetails)); sb.append(", scheduleAssessmentId=").append(String.valueOf(this.scheduleAssessmentId)); + sb.append(", isAssessmentScheduled=").append(String.valueOf(this.isAssessmentScheduled)); sb.append(", schedule=").append(String.valueOf(this.schedule)); sb.append(", statistics=").append(String.valueOf(this.statistics)); sb.append(", targetIds=").append(String.valueOf(this.targetIds)); @@ -1187,6 +1223,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) && java.util.Objects.equals(this.lifecycleDetails, other.lifecycleDetails) && java.util.Objects.equals(this.scheduleAssessmentId, other.scheduleAssessmentId) + && java.util.Objects.equals(this.isAssessmentScheduled, other.isAssessmentScheduled) && java.util.Objects.equals(this.schedule, other.schedule) && java.util.Objects.equals(this.statistics, other.statistics) && java.util.Objects.equals(this.targetIds, other.targetIds) @@ -1240,6 +1277,11 @@ public int hashCode() { + (this.scheduleAssessmentId == null ? 43 : this.scheduleAssessmentId.hashCode()); + result = + (result * PRIME) + + (this.isAssessmentScheduled == null + ? 43 + : this.isAssessmentScheduled.hashCode()); result = (result * PRIME) + (this.schedule == null ? 43 : this.schedule.hashCode()); result = (result * PRIME) + (this.statistics == null ? 43 : this.statistics.hashCode()); result = (result * PRIME) + (this.targetIds == null ? 43 : this.targetIds.hashCode()); diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/WorkRequest.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/WorkRequest.java index 3013bef24c8..9691e0b9656 100644 --- a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/WorkRequest.java +++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/WorkRequest.java @@ -337,6 +337,7 @@ public enum OperationType implements com.oracle.bmc.http.internal.BmcEnum { RefreshSqlCollectionLogInsights("REFRESH_SQL_COLLECTION_LOG_INSIGHTS"), PurgeSqlCollectionLogs("PURGE_SQL_COLLECTION_LOGS"), RefreshViolations("REFRESH_VIOLATIONS"), + CreateArchival("CREATE_ARCHIVAL"), UpdateSecurityPolicy("UPDATE_SECURITY_POLICY"), ChangeSecurityPolicyCompartment("CHANGE_SECURITY_POLICY_COMPARTMENT"), UpdateSecurityPolicyDeployment("UPDATE_SECURITY_POLICY_DEPLOYMENT"), @@ -393,6 +394,7 @@ public enum OperationType implements com.oracle.bmc.http.internal.BmcEnum { PatchDifference("PATCH_DIFFERENCE"), ApplyDifference("APPLY_DIFFERENCE"), MaskPolicyGenerateHealthReport("MASK_POLICY_GENERATE_HEALTH_REPORT"), + MaskPolicyDeleteHealthReport("MASK_POLICY_DELETE_HEALTH_REPORT"), AbortMasking("ABORT_MASKING"), CreateSecurityPolicyReport("CREATE_SECURITY_POLICY_REPORT"), RefreshSecurityPolicyCache("REFRESH_SECURITY_POLICY_CACHE"), diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/WorkRequestSummary.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/WorkRequestSummary.java index 54c989dc527..46596f0f645 100644 --- a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/WorkRequestSummary.java +++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/WorkRequestSummary.java @@ -338,6 +338,7 @@ public enum OperationType implements com.oracle.bmc.http.internal.BmcEnum { RefreshSqlCollectionLogInsights("REFRESH_SQL_COLLECTION_LOG_INSIGHTS"), PurgeSqlCollectionLogs("PURGE_SQL_COLLECTION_LOGS"), RefreshViolations("REFRESH_VIOLATIONS"), + CreateArchival("CREATE_ARCHIVAL"), UpdateSecurityPolicy("UPDATE_SECURITY_POLICY"), ChangeSecurityPolicyCompartment("CHANGE_SECURITY_POLICY_COMPARTMENT"), UpdateSecurityPolicyDeployment("UPDATE_SECURITY_POLICY_DEPLOYMENT"), @@ -394,6 +395,7 @@ public enum OperationType implements com.oracle.bmc.http.internal.BmcEnum { PatchDifference("PATCH_DIFFERENCE"), ApplyDifference("APPLY_DIFFERENCE"), MaskPolicyGenerateHealthReport("MASK_POLICY_GENERATE_HEALTH_REPORT"), + MaskPolicyDeleteHealthReport("MASK_POLICY_DELETE_HEALTH_REPORT"), AbortMasking("ABORT_MASKING"), CreateSecurityPolicyReport("CREATE_SECURITY_POLICY_REPORT"), RefreshSecurityPolicyCache("REFRESH_SECURITY_POLICY_CACHE"), diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/requests/ListAuditEventAnalyticsRequest.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/requests/ListAuditEventAnalyticsRequest.java index d5ae58a3c95..e9b22443443 100644 --- a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/requests/ListAuditEventAnalyticsRequest.java +++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/requests/ListAuditEventAnalyticsRequest.java @@ -153,7 +153,7 @@ public AccessLevel getAccessLevel() { * date and time values using ISO-8601 format. (Numeric and boolean values should not be * quoted.) * - *

*Example:** query=(operationTime ge '2021-06-04T01-00-26') and (eventName eq 'LOGON') + *

*Example:** (operationTime ge "2021-06-04T12:00:00.000Z") and (eventName eq "LOGON") */ private String scimQuery; @@ -165,7 +165,7 @@ public AccessLevel getAccessLevel() { * date and time values using ISO-8601 format. (Numeric and boolean values should not be * quoted.) * - *

*Example:** query=(operationTime ge '2021-06-04T01-00-26') and (eventName eq 'LOGON') + *

*Example:** (operationTime ge "2021-06-04T12:00:00.000Z") and (eventName eq "LOGON") */ public String getScimQuery() { return scimQuery; @@ -607,7 +607,7 @@ public Builder accessLevel(AccessLevel accessLevel) { * marks, with date and time values using ISO-8601 format. (Numeric and boolean values * should not be quoted.) * - *

*Example:** query=(operationTime ge '2021-06-04T01-00-26') and (eventName eq 'LOGON') + *

*Example:** (operationTime ge "2021-06-04T12:00:00.000Z") and (eventName eq "LOGON") */ private String scimQuery = null; @@ -619,7 +619,7 @@ public Builder accessLevel(AccessLevel accessLevel) { * marks, with date and time values using ISO-8601 format. (Numeric and boolean values * should not be quoted.) * - *

*Example:** query=(operationTime ge '2021-06-04T01-00-26') and (eventName eq 'LOGON') + *

*Example:** (operationTime ge "2021-06-04T12:00:00.000Z") and (eventName eq "LOGON") * * @param scimQuery the value to set * @return this builder instance diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/requests/ListAuditEventsRequest.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/requests/ListAuditEventsRequest.java index 40bfd2c7a35..ccfe93b2fe7 100644 --- a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/requests/ListAuditEventsRequest.java +++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/requests/ListAuditEventsRequest.java @@ -134,7 +134,7 @@ public String getPage() { * date and time values using ISO-8601 format. (Numeric and boolean values should not be * quoted.) * - *

*Example:** query=(operationTime ge '2021-06-04T01-00-26') and (eventName eq 'LOGON') + *

*Example:** (operationTime ge "2021-06-04T12:00:00.000Z") and (eventName eq "LOGON") */ private String scimQuery; @@ -146,7 +146,7 @@ public String getPage() { * date and time values using ISO-8601 format. (Numeric and boolean values should not be * quoted.) * - *

*Example:** query=(operationTime ge '2021-06-04T01-00-26') and (eventName eq 'LOGON') + *

*Example:** (operationTime ge "2021-06-04T12:00:00.000Z") and (eventName eq "LOGON") */ public String getScimQuery() { return scimQuery; @@ -382,7 +382,7 @@ public Builder page(String page) { * marks, with date and time values using ISO-8601 format. (Numeric and boolean values * should not be quoted.) * - *

*Example:** query=(operationTime ge '2021-06-04T01-00-26') and (eventName eq 'LOGON') + *

*Example:** (operationTime ge "2021-06-04T12:00:00.000Z") and (eventName eq "LOGON") */ private String scimQuery = null; @@ -394,7 +394,7 @@ public Builder page(String page) { * marks, with date and time values using ISO-8601 format. (Numeric and boolean values * should not be quoted.) * - *

*Example:** query=(operationTime ge '2021-06-04T01-00-26') and (eventName eq 'LOGON') + *

*Example:** (operationTime ge "2021-06-04T12:00:00.000Z") and (eventName eq "LOGON") * * @param scimQuery the value to set * @return this builder instance diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/requests/ListFindingsRequest.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/requests/ListFindingsRequest.java index bd354981ef7..eeed933a9cf 100644 --- a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/requests/ListFindingsRequest.java +++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/requests/ListFindingsRequest.java @@ -197,6 +197,13 @@ public static AccessLevel create(String key) { public AccessLevel getAccessLevel() { return accessLevel; } + /** A filter to return only items related to a specific target OCID. */ + private String targetId; + + /** A filter to return only items related to a specific target OCID. */ + public String getTargetId() { + return targetId; + } /** * Each finding in security assessment has an associated key (think of key as a finding's name). * For a given finding, the key will be the same across targets. The user can use these keys to @@ -389,6 +396,20 @@ public Builder accessLevel(AccessLevel accessLevel) { return this; } + /** A filter to return only items related to a specific target OCID. */ + private String targetId = null; + + /** + * A filter to return only items related to a specific target OCID. + * + * @param targetId the value to set + * @return this builder instance + */ + public Builder targetId(String targetId) { + this.targetId = targetId; + return this; + } + /** * Each finding in security assessment has an associated key (think of key as a finding's * name). For a given finding, the key will be the same across targets. The user can use @@ -449,6 +470,7 @@ public Builder copy(ListFindingsRequest o) { page(o.getPage()); compartmentIdInSubtree(o.getCompartmentIdInSubtree()); accessLevel(o.getAccessLevel()); + targetId(o.getTargetId()); findingKey(o.getFindingKey()); invocationCallback(o.getInvocationCallback()); retryConfiguration(o.getRetryConfiguration()); @@ -494,11 +516,12 @@ public ListFindingsRequest buildWithoutInvocationCallback() { request.page = page; request.compartmentIdInSubtree = compartmentIdInSubtree; request.accessLevel = accessLevel; + request.targetId = targetId; request.findingKey = findingKey; return request; // new ListFindingsRequest(securityAssessmentId, opcRequestId, isTopFinding, severity, // lifecycleState, references, limit, page, compartmentIdInSubtree, accessLevel, - // findingKey); + // targetId, findingKey); } } @@ -519,6 +542,7 @@ public Builder toBuilder() { .page(page) .compartmentIdInSubtree(compartmentIdInSubtree) .accessLevel(accessLevel) + .targetId(targetId) .findingKey(findingKey); } @@ -546,6 +570,7 @@ public String toString() { sb.append(",page=").append(String.valueOf(this.page)); sb.append(",compartmentIdInSubtree=").append(String.valueOf(this.compartmentIdInSubtree)); sb.append(",accessLevel=").append(String.valueOf(this.accessLevel)); + sb.append(",targetId=").append(String.valueOf(this.targetId)); sb.append(",findingKey=").append(String.valueOf(this.findingKey)); sb.append(")"); return sb.toString(); @@ -573,6 +598,7 @@ public boolean equals(Object o) { && java.util.Objects.equals( this.compartmentIdInSubtree, other.compartmentIdInSubtree) && java.util.Objects.equals(this.accessLevel, other.accessLevel) + && java.util.Objects.equals(this.targetId, other.targetId) && java.util.Objects.equals(this.findingKey, other.findingKey); } @@ -600,6 +626,7 @@ public int hashCode() { ? 43 : this.compartmentIdInSubtree.hashCode()); result = (result * PRIME) + (this.accessLevel == null ? 43 : this.accessLevel.hashCode()); + result = (result * PRIME) + (this.targetId == null ? 43 : this.targetId.hashCode()); result = (result * PRIME) + (this.findingKey == null ? 43 : this.findingKey.hashCode()); return result; } diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/requests/ListReportsRequest.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/requests/ListReportsRequest.java index 56760653ccf..728e4ad5428 100644 --- a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/requests/ListReportsRequest.java +++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/requests/ListReportsRequest.java @@ -231,6 +231,48 @@ public SortBy getSortBy() { public String getReportDefinitionId() { return reportDefinitionId; } + /** + * A filter to return only the resources that were generated after the specified date and time, + * as defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Using + * TimeGeneratedGreaterThanOrEqualToQueryParam parameter retrieves all resources generated after + * that date. + * + *

*Example:** 2016-12-19T16:39:57.600Z + */ + private java.util.Date timeGeneratedGreaterThanOrEqualTo; + + /** + * A filter to return only the resources that were generated after the specified date and time, + * as defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Using + * TimeGeneratedGreaterThanOrEqualToQueryParam parameter retrieves all resources generated after + * that date. + * + *

*Example:** 2016-12-19T16:39:57.600Z + */ + public java.util.Date getTimeGeneratedGreaterThanOrEqualTo() { + return timeGeneratedGreaterThanOrEqualTo; + } + /** + * Search for resources that were generated before a specific date. Specifying this parameter + * corresponding {@code timeGeneratedLessThan} parameter will retrieve all resources generated + * before the specified generated date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as + * defined by RFC 3339. + * + *

*Example:** 2016-12-19T16:39:57.600Z + */ + private java.util.Date timeGeneratedLessThan; + + /** + * Search for resources that were generated before a specific date. Specifying this parameter + * corresponding {@code timeGeneratedLessThan} parameter will retrieve all resources generated + * before the specified generated date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as + * defined by RFC 3339. + * + *

*Example:** 2016-12-19T16:39:57.600Z + */ + public java.util.Date getTimeGeneratedLessThan() { + return timeGeneratedLessThan; + } /** Unique identifier for the request. */ private String opcRequestId; @@ -419,6 +461,59 @@ public Builder reportDefinitionId(String reportDefinitionId) { return this; } + /** + * A filter to return only the resources that were generated after the specified date and + * time, as defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Using + * TimeGeneratedGreaterThanOrEqualToQueryParam parameter retrieves all resources generated + * after that date. + * + *

*Example:** 2016-12-19T16:39:57.600Z + */ + private java.util.Date timeGeneratedGreaterThanOrEqualTo = null; + + /** + * A filter to return only the resources that were generated after the specified date and + * time, as defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Using + * TimeGeneratedGreaterThanOrEqualToQueryParam parameter retrieves all resources generated + * after that date. + * + *

*Example:** 2016-12-19T16:39:57.600Z + * + * @param timeGeneratedGreaterThanOrEqualTo the value to set + * @return this builder instance + */ + public Builder timeGeneratedGreaterThanOrEqualTo( + java.util.Date timeGeneratedGreaterThanOrEqualTo) { + this.timeGeneratedGreaterThanOrEqualTo = timeGeneratedGreaterThanOrEqualTo; + return this; + } + + /** + * Search for resources that were generated before a specific date. Specifying this + * parameter corresponding {@code timeGeneratedLessThan} parameter will retrieve all + * resources generated before the specified generated date, in "YYYY-MM-ddThh:mmZ" format + * with a Z offset, as defined by RFC 3339. + * + *

*Example:** 2016-12-19T16:39:57.600Z + */ + private java.util.Date timeGeneratedLessThan = null; + + /** + * Search for resources that were generated before a specific date. Specifying this + * parameter corresponding {@code timeGeneratedLessThan} parameter will retrieve all + * resources generated before the specified generated date, in "YYYY-MM-ddThh:mmZ" format + * with a Z offset, as defined by RFC 3339. + * + *

*Example:** 2016-12-19T16:39:57.600Z + * + * @param timeGeneratedLessThan the value to set + * @return this builder instance + */ + public Builder timeGeneratedLessThan(java.util.Date timeGeneratedLessThan) { + this.timeGeneratedLessThan = timeGeneratedLessThan; + return this; + } + /** Unique identifier for the request. */ private String opcRequestId = null; @@ -501,6 +596,8 @@ public Builder copy(ListReportsRequest o) { sortOrder(o.getSortOrder()); sortBy(o.getSortBy()); reportDefinitionId(o.getReportDefinitionId()); + timeGeneratedGreaterThanOrEqualTo(o.getTimeGeneratedGreaterThanOrEqualTo()); + timeGeneratedLessThan(o.getTimeGeneratedLessThan()); opcRequestId(o.getOpcRequestId()); lifecycleState(o.getLifecycleState()); type(o.getType()); @@ -547,12 +644,15 @@ public ListReportsRequest buildWithoutInvocationCallback() { request.sortOrder = sortOrder; request.sortBy = sortBy; request.reportDefinitionId = reportDefinitionId; + request.timeGeneratedGreaterThanOrEqualTo = timeGeneratedGreaterThanOrEqualTo; + request.timeGeneratedLessThan = timeGeneratedLessThan; request.opcRequestId = opcRequestId; request.lifecycleState = lifecycleState; request.type = type; return request; // new ListReportsRequest(compartmentId, compartmentIdInSubtree, accessLevel, - // displayName, limit, page, sortOrder, sortBy, reportDefinitionId, opcRequestId, + // displayName, limit, page, sortOrder, sortBy, reportDefinitionId, + // timeGeneratedGreaterThanOrEqualTo, timeGeneratedLessThan, opcRequestId, // lifecycleState, type); } } @@ -573,6 +673,8 @@ public Builder toBuilder() { .sortOrder(sortOrder) .sortBy(sortBy) .reportDefinitionId(reportDefinitionId) + .timeGeneratedGreaterThanOrEqualTo(timeGeneratedGreaterThanOrEqualTo) + .timeGeneratedLessThan(timeGeneratedLessThan) .opcRequestId(opcRequestId) .lifecycleState(lifecycleState) .type(type); @@ -601,6 +703,9 @@ public String toString() { sb.append(",sortOrder=").append(String.valueOf(this.sortOrder)); sb.append(",sortBy=").append(String.valueOf(this.sortBy)); sb.append(",reportDefinitionId=").append(String.valueOf(this.reportDefinitionId)); + sb.append(",timeGeneratedGreaterThanOrEqualTo=") + .append(String.valueOf(this.timeGeneratedGreaterThanOrEqualTo)); + sb.append(",timeGeneratedLessThan=").append(String.valueOf(this.timeGeneratedLessThan)); sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId)); sb.append(",lifecycleState=").append(String.valueOf(this.lifecycleState)); sb.append(",type=").append(String.valueOf(this.type)); @@ -629,6 +734,10 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.sortOrder, other.sortOrder) && java.util.Objects.equals(this.sortBy, other.sortBy) && java.util.Objects.equals(this.reportDefinitionId, other.reportDefinitionId) + && java.util.Objects.equals( + this.timeGeneratedGreaterThanOrEqualTo, + other.timeGeneratedGreaterThanOrEqualTo) + && java.util.Objects.equals(this.timeGeneratedLessThan, other.timeGeneratedLessThan) && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) && java.util.Objects.equals(this.type, other.type); @@ -657,6 +766,16 @@ public int hashCode() { + (this.reportDefinitionId == null ? 43 : this.reportDefinitionId.hashCode()); + result = + (result * PRIME) + + (this.timeGeneratedGreaterThanOrEqualTo == null + ? 43 + : this.timeGeneratedGreaterThanOrEqualTo.hashCode()); + result = + (result * PRIME) + + (this.timeGeneratedLessThan == null + ? 43 + : this.timeGeneratedLessThan.hashCode()); result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); result = (result * PRIME) diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/requests/ListSensitiveDataModelSensitiveTypesRequest.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/requests/ListSensitiveDataModelSensitiveTypesRequest.java new file mode 100644 index 00000000000..d43d37f88ca --- /dev/null +++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/requests/ListSensitiveDataModelSensitiveTypesRequest.java @@ -0,0 +1,452 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.datasafe.requests; + +import com.oracle.bmc.datasafe.model.*; +/** + * Example: Click here to see how to use + * ListSensitiveDataModelSensitiveTypesRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20181201") +public class ListSensitiveDataModelSensitiveTypesRequest + extends com.oracle.bmc.requests.BmcRequest { + + /** The OCID of the sensitive data model. */ + private String sensitiveDataModelId; + + /** The OCID of the sensitive data model. */ + public String getSensitiveDataModelId() { + return sensitiveDataModelId; + } + /** A filter to return only items related to a specific sensitive type OCID. */ + private String sensitiveTypeId; + + /** A filter to return only items related to a specific sensitive type OCID. */ + public String getSensitiveTypeId() { + return sensitiveTypeId; + } + /** + * - The field to sort by. You can specify only one sorting parameter (sortorder). The default + * order is descending. + */ + private SortBy sortBy; + + /** + * - The field to sort by. You can specify only one sorting parameter (sortorder). The default + * order is descending. + */ + public enum SortBy implements com.oracle.bmc.http.internal.BmcEnum { + Count("count"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (SortBy v : SortBy.values()) { + map.put(v.getValue(), v); + } + } + + SortBy(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static SortBy create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid SortBy: " + key); + } + }; + + /** + * - The field to sort by. You can specify only one sorting parameter (sortorder). The default + * order is descending. + */ + public SortBy getSortBy() { + return sortBy; + } + /** The sort order to use, either ascending (ASC) or descending (DESC). */ + private SortOrder sortOrder; + + /** The sort order to use, either ascending (ASC) or descending (DESC). */ + public enum SortOrder implements com.oracle.bmc.http.internal.BmcEnum { + Asc("ASC"), + Desc("DESC"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (SortOrder v : SortOrder.values()) { + map.put(v.getValue(), v); + } + } + + SortOrder(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static SortOrder create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid SortOrder: " + key); + } + }; + + /** The sort order to use, either ascending (ASC) or descending (DESC). */ + public SortOrder getSortOrder() { + return sortOrder; + } + /** + * For list pagination. The maximum number of items to return per page in a paginated "List" + * call. For details about how pagination works, see [List + * Pagination](https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine). + */ + private Integer limit; + + /** + * For list pagination. The maximum number of items to return per page in a paginated "List" + * call. For details about how pagination works, see [List + * Pagination](https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine). + */ + public Integer getLimit() { + return limit; + } + /** + * For list pagination. The page token representing the page at which to start retrieving + * results. It is usually retrieved from a previous "List" call. For details about how + * pagination works, see [List + * Pagination](https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine). + */ + private String page; + + /** + * For list pagination. The page token representing the page at which to start retrieving + * results. It is usually retrieved from a previous "List" call. For details about how + * pagination works, see [List + * Pagination](https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine). + */ + public String getPage() { + return page; + } + /** Unique identifier for the request. */ + private String opcRequestId; + + /** Unique identifier for the request. */ + public String getOpcRequestId() { + return opcRequestId; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + ListSensitiveDataModelSensitiveTypesRequest, java.lang.Void> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** The OCID of the sensitive data model. */ + private String sensitiveDataModelId = null; + + /** + * The OCID of the sensitive data model. + * + * @param sensitiveDataModelId the value to set + * @return this builder instance + */ + public Builder sensitiveDataModelId(String sensitiveDataModelId) { + this.sensitiveDataModelId = sensitiveDataModelId; + return this; + } + + /** A filter to return only items related to a specific sensitive type OCID. */ + private String sensitiveTypeId = null; + + /** + * A filter to return only items related to a specific sensitive type OCID. + * + * @param sensitiveTypeId the value to set + * @return this builder instance + */ + public Builder sensitiveTypeId(String sensitiveTypeId) { + this.sensitiveTypeId = sensitiveTypeId; + return this; + } + + /** + * - The field to sort by. You can specify only one sorting parameter (sortorder). The + * default order is descending. + */ + private SortBy sortBy = null; + + /** + * - The field to sort by. You can specify only one sorting parameter (sortorder). The + * default order is descending. + * + * @param sortBy the value to set + * @return this builder instance + */ + public Builder sortBy(SortBy sortBy) { + this.sortBy = sortBy; + return this; + } + + /** The sort order to use, either ascending (ASC) or descending (DESC). */ + private SortOrder sortOrder = null; + + /** + * The sort order to use, either ascending (ASC) or descending (DESC). + * + * @param sortOrder the value to set + * @return this builder instance + */ + public Builder sortOrder(SortOrder sortOrder) { + this.sortOrder = sortOrder; + return this; + } + + /** + * For list pagination. The maximum number of items to return per page in a paginated "List" + * call. For details about how pagination works, see [List + * Pagination](https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine). + */ + private Integer limit = null; + + /** + * For list pagination. The maximum number of items to return per page in a paginated "List" + * call. For details about how pagination works, see [List + * Pagination](https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine). + * + * @param limit the value to set + * @return this builder instance + */ + public Builder limit(Integer limit) { + this.limit = limit; + return this; + } + + /** + * For list pagination. The page token representing the page at which to start retrieving + * results. It is usually retrieved from a previous "List" call. For details about how + * pagination works, see [List + * Pagination](https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine). + */ + private String page = null; + + /** + * For list pagination. The page token representing the page at which to start retrieving + * results. It is usually retrieved from a previous "List" call. For details about how + * pagination works, see [List + * Pagination](https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine). + * + * @param page the value to set + * @return this builder instance + */ + public Builder page(String page) { + this.page = page; + return this; + } + + /** Unique identifier for the request. */ + private String opcRequestId = null; + + /** + * Unique identifier for the request. + * + * @param opcRequestId the value to set + * @return this builder instance + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * 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(ListSensitiveDataModelSensitiveTypesRequest o) { + sensitiveDataModelId(o.getSensitiveDataModelId()); + sensitiveTypeId(o.getSensitiveTypeId()); + sortBy(o.getSortBy()); + sortOrder(o.getSortOrder()); + limit(o.getLimit()); + page(o.getPage()); + opcRequestId(o.getOpcRequestId()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of ListSensitiveDataModelSensitiveTypesRequest 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 ListSensitiveDataModelSensitiveTypesRequest + */ + public ListSensitiveDataModelSensitiveTypesRequest build() { + ListSensitiveDataModelSensitiveTypesRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Build the instance of ListSensitiveDataModelSensitiveTypesRequest 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 ListSensitiveDataModelSensitiveTypesRequest + */ + public ListSensitiveDataModelSensitiveTypesRequest buildWithoutInvocationCallback() { + ListSensitiveDataModelSensitiveTypesRequest request = + new ListSensitiveDataModelSensitiveTypesRequest(); + request.sensitiveDataModelId = sensitiveDataModelId; + request.sensitiveTypeId = sensitiveTypeId; + request.sortBy = sortBy; + request.sortOrder = sortOrder; + request.limit = limit; + request.page = page; + request.opcRequestId = opcRequestId; + return request; + // new ListSensitiveDataModelSensitiveTypesRequest(sensitiveDataModelId, + // sensitiveTypeId, sortBy, sortOrder, limit, page, 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() + .sensitiveDataModelId(sensitiveDataModelId) + .sensitiveTypeId(sensitiveTypeId) + .sortBy(sortBy) + .sortOrder(sortOrder) + .limit(limit) + .page(page) + .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(",sensitiveDataModelId=").append(String.valueOf(this.sensitiveDataModelId)); + sb.append(",sensitiveTypeId=").append(String.valueOf(this.sensitiveTypeId)); + sb.append(",sortBy=").append(String.valueOf(this.sortBy)); + sb.append(",sortOrder=").append(String.valueOf(this.sortOrder)); + sb.append(",limit=").append(String.valueOf(this.limit)); + sb.append(",page=").append(String.valueOf(this.page)); + sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ListSensitiveDataModelSensitiveTypesRequest)) { + return false; + } + + ListSensitiveDataModelSensitiveTypesRequest other = + (ListSensitiveDataModelSensitiveTypesRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.sensitiveDataModelId, other.sensitiveDataModelId) + && java.util.Objects.equals(this.sensitiveTypeId, other.sensitiveTypeId) + && java.util.Objects.equals(this.sortBy, other.sortBy) + && java.util.Objects.equals(this.sortOrder, other.sortOrder) + && java.util.Objects.equals(this.limit, other.limit) + && java.util.Objects.equals(this.page, other.page) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.sensitiveDataModelId == null + ? 43 + : this.sensitiveDataModelId.hashCode()); + result = + (result * PRIME) + + (this.sensitiveTypeId == null ? 43 : this.sensitiveTypeId.hashCode()); + result = (result * PRIME) + (this.sortBy == null ? 43 : this.sortBy.hashCode()); + result = (result * PRIME) + (this.sortOrder == null ? 43 : this.sortOrder.hashCode()); + result = (result * PRIME) + (this.limit == null ? 43 : this.limit.hashCode()); + result = (result * PRIME) + (this.page == null ? 43 : this.page.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + return result; + } +} diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/requests/UnsetSecurityAssessmentBaselineRequest.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/requests/UnsetSecurityAssessmentBaselineRequest.java index 2ecd4d2492e..ae5255ebee5 100644 --- a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/requests/UnsetSecurityAssessmentBaselineRequest.java +++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/requests/UnsetSecurityAssessmentBaselineRequest.java @@ -13,7 +13,8 @@ */ @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20181201") public class UnsetSecurityAssessmentBaselineRequest - extends com.oracle.bmc.requests.BmcRequest { + extends com.oracle.bmc.requests.BmcRequest< + com.oracle.bmc.datasafe.model.UnsetSecurityAssessmentBaselineDetails> { /** The OCID of the security assessment. */ private String securityAssessmentId; @@ -65,10 +66,37 @@ public String getOpcRetryToken() { public String getOpcRequestId() { return opcRequestId; } + /** + * Details of the target associated with the security assessment for which the user intents to + * unset the baseline. + */ + private com.oracle.bmc.datasafe.model.UnsetSecurityAssessmentBaselineDetails + unsetSecurityAssessmentBaselineDetails; + + /** + * Details of the target associated with the security assessment for which the user intents to + * unset the baseline. + */ + public com.oracle.bmc.datasafe.model.UnsetSecurityAssessmentBaselineDetails + getUnsetSecurityAssessmentBaselineDetails() { + return unsetSecurityAssessmentBaselineDetails; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.datasafe.model.UnsetSecurityAssessmentBaselineDetails getBody$() { + return unsetSecurityAssessmentBaselineDetails; + } public static class Builder implements com.oracle.bmc.requests.BmcRequest.Builder< - UnsetSecurityAssessmentBaselineRequest, java.lang.Void> { + UnsetSecurityAssessmentBaselineRequest, + com.oracle.bmc.datasafe.model.UnsetSecurityAssessmentBaselineDetails> { private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; @@ -146,6 +174,27 @@ public Builder opcRequestId(String opcRequestId) { return this; } + /** + * Details of the target associated with the security assessment for which the user intents + * to unset the baseline. + */ + private com.oracle.bmc.datasafe.model.UnsetSecurityAssessmentBaselineDetails + unsetSecurityAssessmentBaselineDetails = null; + + /** + * Details of the target associated with the security assessment for which the user intents + * to unset the baseline. + * + * @param unsetSecurityAssessmentBaselineDetails the value to set + * @return this builder instance + */ + public Builder unsetSecurityAssessmentBaselineDetails( + com.oracle.bmc.datasafe.model.UnsetSecurityAssessmentBaselineDetails + unsetSecurityAssessmentBaselineDetails) { + this.unsetSecurityAssessmentBaselineDetails = unsetSecurityAssessmentBaselineDetails; + return this; + } + /** * Set the invocation callback for the request to be built. * @@ -180,6 +229,7 @@ public Builder copy(UnsetSecurityAssessmentBaselineRequest o) { ifMatch(o.getIfMatch()); opcRetryToken(o.getOpcRetryToken()); opcRequestId(o.getOpcRequestId()); + unsetSecurityAssessmentBaselineDetails(o.getUnsetSecurityAssessmentBaselineDetails()); invocationCallback(o.getInvocationCallback()); retryConfiguration(o.getRetryConfiguration()); return this; @@ -204,6 +254,19 @@ public UnsetSecurityAssessmentBaselineRequest build() { return request; } + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$( + com.oracle.bmc.datasafe.model.UnsetSecurityAssessmentBaselineDetails body) { + unsetSecurityAssessmentBaselineDetails(body); + return this; + } + /** * Build the instance of UnsetSecurityAssessmentBaselineRequest as configured by this * builder @@ -221,9 +284,10 @@ public UnsetSecurityAssessmentBaselineRequest buildWithoutInvocationCallback() { request.ifMatch = ifMatch; request.opcRetryToken = opcRetryToken; request.opcRequestId = opcRequestId; + request.unsetSecurityAssessmentBaselineDetails = unsetSecurityAssessmentBaselineDetails; return request; // new UnsetSecurityAssessmentBaselineRequest(securityAssessmentId, ifMatch, - // opcRetryToken, opcRequestId); + // opcRetryToken, opcRequestId, unsetSecurityAssessmentBaselineDetails); } } @@ -237,7 +301,8 @@ public Builder toBuilder() { .securityAssessmentId(securityAssessmentId) .ifMatch(ifMatch) .opcRetryToken(opcRetryToken) - .opcRequestId(opcRequestId); + .opcRequestId(opcRequestId) + .unsetSecurityAssessmentBaselineDetails(unsetSecurityAssessmentBaselineDetails); } /** @@ -258,6 +323,8 @@ public String toString() { sb.append(",ifMatch=").append(String.valueOf(this.ifMatch)); sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId)); + sb.append(",unsetSecurityAssessmentBaselineDetails=") + .append(String.valueOf(this.unsetSecurityAssessmentBaselineDetails)); sb.append(")"); return sb.toString(); } @@ -276,7 +343,10 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.securityAssessmentId, other.securityAssessmentId) && java.util.Objects.equals(this.ifMatch, other.ifMatch) && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken) - && java.util.Objects.equals(this.opcRequestId, other.opcRequestId); + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals( + this.unsetSecurityAssessmentBaselineDetails, + other.unsetSecurityAssessmentBaselineDetails); } @Override @@ -293,6 +363,11 @@ public int hashCode() { (result * PRIME) + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = + (result * PRIME) + + (this.unsetSecurityAssessmentBaselineDetails == null + ? 43 + : this.unsetSecurityAssessmentBaselineDetails.hashCode()); return result; } } diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/requests/UnsetUserAssessmentBaselineRequest.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/requests/UnsetUserAssessmentBaselineRequest.java index 7c05b1c7e56..64b8ba108e5 100644 --- a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/requests/UnsetUserAssessmentBaselineRequest.java +++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/requests/UnsetUserAssessmentBaselineRequest.java @@ -13,7 +13,8 @@ */ @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20181201") public class UnsetUserAssessmentBaselineRequest - extends com.oracle.bmc.requests.BmcRequest { + extends com.oracle.bmc.requests.BmcRequest< + com.oracle.bmc.datasafe.model.UnsetUserAssessmentBaselineDetails> { /** The OCID of the user assessment. */ private String userAssessmentId; @@ -65,10 +66,37 @@ public String getOpcRetryToken() { public String getOpcRequestId() { return opcRequestId; } + /** + * Details of the target associated with the user assessment for which the user intents to unset + * the baseline. + */ + private com.oracle.bmc.datasafe.model.UnsetUserAssessmentBaselineDetails + unsetUserAssessmentBaselineDetails; + + /** + * Details of the target associated with the user assessment for which the user intents to unset + * the baseline. + */ + public com.oracle.bmc.datasafe.model.UnsetUserAssessmentBaselineDetails + getUnsetUserAssessmentBaselineDetails() { + return unsetUserAssessmentBaselineDetails; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.datasafe.model.UnsetUserAssessmentBaselineDetails getBody$() { + return unsetUserAssessmentBaselineDetails; + } public static class Builder implements com.oracle.bmc.requests.BmcRequest.Builder< - UnsetUserAssessmentBaselineRequest, java.lang.Void> { + UnsetUserAssessmentBaselineRequest, + com.oracle.bmc.datasafe.model.UnsetUserAssessmentBaselineDetails> { private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; @@ -146,6 +174,27 @@ public Builder opcRequestId(String opcRequestId) { return this; } + /** + * Details of the target associated with the user assessment for which the user intents to + * unset the baseline. + */ + private com.oracle.bmc.datasafe.model.UnsetUserAssessmentBaselineDetails + unsetUserAssessmentBaselineDetails = null; + + /** + * Details of the target associated with the user assessment for which the user intents to + * unset the baseline. + * + * @param unsetUserAssessmentBaselineDetails the value to set + * @return this builder instance + */ + public Builder unsetUserAssessmentBaselineDetails( + com.oracle.bmc.datasafe.model.UnsetUserAssessmentBaselineDetails + unsetUserAssessmentBaselineDetails) { + this.unsetUserAssessmentBaselineDetails = unsetUserAssessmentBaselineDetails; + return this; + } + /** * Set the invocation callback for the request to be built. * @@ -180,6 +229,7 @@ public Builder copy(UnsetUserAssessmentBaselineRequest o) { ifMatch(o.getIfMatch()); opcRetryToken(o.getOpcRetryToken()); opcRequestId(o.getOpcRequestId()); + unsetUserAssessmentBaselineDetails(o.getUnsetUserAssessmentBaselineDetails()); invocationCallback(o.getInvocationCallback()); retryConfiguration(o.getRetryConfiguration()); return this; @@ -203,6 +253,19 @@ public UnsetUserAssessmentBaselineRequest build() { return request; } + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$( + com.oracle.bmc.datasafe.model.UnsetUserAssessmentBaselineDetails body) { + unsetUserAssessmentBaselineDetails(body); + return this; + } + /** * Build the instance of UnsetUserAssessmentBaselineRequest as configured by this builder * @@ -218,9 +281,10 @@ public UnsetUserAssessmentBaselineRequest buildWithoutInvocationCallback() { request.ifMatch = ifMatch; request.opcRetryToken = opcRetryToken; request.opcRequestId = opcRequestId; + request.unsetUserAssessmentBaselineDetails = unsetUserAssessmentBaselineDetails; return request; // new UnsetUserAssessmentBaselineRequest(userAssessmentId, ifMatch, opcRetryToken, - // opcRequestId); + // opcRequestId, unsetUserAssessmentBaselineDetails); } } @@ -234,7 +298,8 @@ public Builder toBuilder() { .userAssessmentId(userAssessmentId) .ifMatch(ifMatch) .opcRetryToken(opcRetryToken) - .opcRequestId(opcRequestId); + .opcRequestId(opcRequestId) + .unsetUserAssessmentBaselineDetails(unsetUserAssessmentBaselineDetails); } /** @@ -255,6 +320,8 @@ public String toString() { sb.append(",ifMatch=").append(String.valueOf(this.ifMatch)); sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId)); + sb.append(",unsetUserAssessmentBaselineDetails=") + .append(String.valueOf(this.unsetUserAssessmentBaselineDetails)); sb.append(")"); return sb.toString(); } @@ -273,7 +340,10 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.userAssessmentId, other.userAssessmentId) && java.util.Objects.equals(this.ifMatch, other.ifMatch) && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken) - && java.util.Objects.equals(this.opcRequestId, other.opcRequestId); + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals( + this.unsetUserAssessmentBaselineDetails, + other.unsetUserAssessmentBaselineDetails); } @Override @@ -288,6 +358,11 @@ public int hashCode() { (result * PRIME) + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = + (result * PRIME) + + (this.unsetUserAssessmentBaselineDetails == null + ? 43 + : this.unsetUserAssessmentBaselineDetails.hashCode()); return result; } } diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/responses/ListSensitiveDataModelSensitiveTypesResponse.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/responses/ListSensitiveDataModelSensitiveTypesResponse.java new file mode 100644 index 00000000000..25a141b5599 --- /dev/null +++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/responses/ListSensitiveDataModelSensitiveTypesResponse.java @@ -0,0 +1,292 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.datasafe.responses; + +import com.oracle.bmc.datasafe.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20181201") +public class ListSensitiveDataModelSensitiveTypesResponse + extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** + * For list pagination. When this header appears in the response, additional pages of results + * remain. Include opc-next-page value as the page parameter for the subsequent GET request to + * get the next batch of items. For details about how pagination works, see [List + * Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + */ + private String opcNextPage; + + /** + * For list pagination. When this header appears in the response, additional pages of results + * remain. Include opc-next-page value as the page parameter for the subsequent GET request to + * get the next batch of items. For details about how pagination works, see [List + * Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + * @return the value + */ + public String getOpcNextPage() { + return opcNextPage; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the previous batch of items. + */ + private String opcPrevPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the previous batch of items. + * + * @return the value + */ + public String getOpcPrevPage() { + return opcPrevPage; + } + + /** The returned {@code SensitiveDataModelSensitiveTypeCollection} instance. */ + private com.oracle.bmc.datasafe.model.SensitiveDataModelSensitiveTypeCollection + sensitiveDataModelSensitiveTypeCollection; + + /** + * The returned {@code SensitiveDataModelSensitiveTypeCollection} instance. + * + * @return the value + */ + public com.oracle.bmc.datasafe.model.SensitiveDataModelSensitiveTypeCollection + getSensitiveDataModelSensitiveTypeCollection() { + return sensitiveDataModelSensitiveTypeCollection; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "opcNextPage", + "opcPrevPage", + "sensitiveDataModelSensitiveTypeCollection" + }) + private ListSensitiveDataModelSensitiveTypesResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String opcNextPage, + String opcPrevPage, + com.oracle.bmc.datasafe.model.SensitiveDataModelSensitiveTypeCollection + sensitiveDataModelSensitiveTypeCollection) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.opcNextPage = opcNextPage; + this.opcPrevPage = opcPrevPage; + this.sensitiveDataModelSensitiveTypeCollection = sensitiveDataModelSensitiveTypeCollection; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder< + ListSensitiveDataModelSensitiveTypesResponse> { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * For list pagination. When this header appears in the response, additional pages of + * results remain. Include opc-next-page value as the page parameter for the subsequent GET + * request to get the next batch of items. For details about how pagination works, see [List + * Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + */ + private String opcNextPage; + + /** + * For list pagination. When this header appears in the response, additional pages of + * results remain. Include opc-next-page value as the page parameter for the subsequent GET + * request to get the next batch of items. For details about how pagination works, see [List + * Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + * @param opcNextPage the value to set + * @return this builder + */ + public Builder opcNextPage(String opcNextPage) { + this.opcNextPage = opcNextPage; + return this; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the previous batch of items. + */ + private String opcPrevPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the previous batch of items. + * + * @param opcPrevPage the value to set + * @return this builder + */ + public Builder opcPrevPage(String opcPrevPage) { + this.opcPrevPage = opcPrevPage; + return this; + } + + /** The returned {@code SensitiveDataModelSensitiveTypeCollection} instance. */ + private com.oracle.bmc.datasafe.model.SensitiveDataModelSensitiveTypeCollection + sensitiveDataModelSensitiveTypeCollection; + + /** + * The returned {@code SensitiveDataModelSensitiveTypeCollection} instance. + * + * @param sensitiveDataModelSensitiveTypeCollection the value to set + * @return this builder + */ + public Builder sensitiveDataModelSensitiveTypeCollection( + com.oracle.bmc.datasafe.model.SensitiveDataModelSensitiveTypeCollection + sensitiveDataModelSensitiveTypeCollection) { + this.sensitiveDataModelSensitiveTypeCollection = + sensitiveDataModelSensitiveTypeCollection; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(ListSensitiveDataModelSensitiveTypesResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + opcNextPage(o.getOpcNextPage()); + opcPrevPage(o.getOpcPrevPage()); + sensitiveDataModelSensitiveTypeCollection( + o.getSensitiveDataModelSensitiveTypeCollection()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public ListSensitiveDataModelSensitiveTypesResponse build() { + return new ListSensitiveDataModelSensitiveTypesResponse( + __httpStatusCode__, + headers, + opcRequestId, + opcNextPage, + opcPrevPage, + sensitiveDataModelSensitiveTypeCollection); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",opcNextPage=").append(String.valueOf(opcNextPage)); + sb.append(",opcPrevPage=").append(String.valueOf(opcPrevPage)); + sb.append(",sensitiveDataModelSensitiveTypeCollection=") + .append(String.valueOf(sensitiveDataModelSensitiveTypeCollection)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ListSensitiveDataModelSensitiveTypesResponse)) { + return false; + } + + ListSensitiveDataModelSensitiveTypesResponse other = + (ListSensitiveDataModelSensitiveTypesResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.opcNextPage, other.opcNextPage) + && java.util.Objects.equals(this.opcPrevPage, other.opcPrevPage) + && java.util.Objects.equals( + this.sensitiveDataModelSensitiveTypeCollection, + other.sensitiveDataModelSensitiveTypeCollection); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.opcNextPage == null ? 43 : this.opcNextPage.hashCode()); + result = (result * PRIME) + (this.opcPrevPage == null ? 43 : this.opcPrevPage.hashCode()); + result = + (result * PRIME) + + (this.sensitiveDataModelSensitiveTypeCollection == null + ? 43 + : this.sensitiveDataModelSensitiveTypeCollection.hashCode()); + return result; + } +} diff --git a/bmc-datasafe/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-datasafe/reflect-config.json b/bmc-datasafe/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-datasafe/reflect-config.json index 041a10f52d8..85d7083b1ba 100644 --- a/bmc-datasafe/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-datasafe/reflect-config.json +++ b/bmc-datasafe/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-datasafe/reflect-config.json @@ -4974,6 +4974,34 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datasafe.model.SensitiveDataModelSensitiveTypeCollection", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datasafe.model.SensitiveDataModelSensitiveTypeCollection$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datasafe.model.SensitiveDataModelSensitiveTypeSummary", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datasafe.model.SensitiveDataModelSensitiveTypeSummary$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.datasafe.model.SensitiveDataModelSummary", @@ -5293,6 +5321,26 @@ "allDeclaredFields": true, "allDeclaredMethods": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datasafe.model.SqlFirewallAllowedSql", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datasafe.model.SqlFirewallAllowedSql$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datasafe.model.SqlFirewallAllowedSql$SqlLevel", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.datasafe.model.SqlFirewallAllowedSqlAggregation", @@ -5719,6 +5767,20 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datasafe.model.TablesForDiscovery", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datasafe.model.TablesForDiscovery$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.datasafe.model.TargetAlertPolicyAssociation", @@ -5849,6 +5911,34 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datasafe.model.UnsetSecurityAssessmentBaselineDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datasafe.model.UnsetSecurityAssessmentBaselineDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datasafe.model.UnsetUserAssessmentBaselineDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datasafe.model.UnsetUserAssessmentBaselineDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.datasafe.model.UpdateAlertDetails", diff --git a/bmc-datasafe/src/main/resources/com/oracle/bmc/datasafe/client.properties b/bmc-datasafe/src/main/resources/com/oracle/bmc/datasafe/client.properties index 5d9a70bde01..ec9fc6d249c 100644 --- a/bmc-datasafe/src/main/resources/com/oracle/bmc/datasafe/client.properties +++ b/bmc-datasafe/src/main/resources/com/oracle/bmc/datasafe/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20181201") \ No newline at end of file diff --git a/bmc-datascience/pom.xml b/bmc-datascience/pom.xml index 255aa009ab8..8f2decc7e2e 100644 --- a/bmc-datascience/pom.xml +++ b/bmc-datascience/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-datascience @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-datascience/src/main/resources/com/oracle/bmc/datascience/client.properties b/bmc-datascience/src/main/resources/com/oracle/bmc/datascience/client.properties index c312b74d37f..fb6df48edca 100644 --- a/bmc-datascience/src/main/resources/com/oracle/bmc/datascience/client.properties +++ b/bmc-datascience/src/main/resources/com/oracle/bmc/datascience/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") \ No newline at end of file diff --git a/bmc-demandsignal/pom.xml b/bmc-demandsignal/pom.xml index 3251a9be2f1..f89c09245a3 100644 --- a/bmc-demandsignal/pom.xml +++ b/bmc-demandsignal/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-demandsignal @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-demandsignal/src/main/resources/com/oracle/bmc/demandsignal/client.properties b/bmc-demandsignal/src/main/resources/com/oracle/bmc/demandsignal/client.properties index 314cd755e90..bc37111efcd 100644 --- a/bmc-demandsignal/src/main/resources/com/oracle/bmc/demandsignal/client.properties +++ b/bmc-demandsignal/src/main/resources/com/oracle/bmc/demandsignal/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20240430") \ No newline at end of file diff --git a/bmc-desktops/pom.xml b/bmc-desktops/pom.xml index 3aa9ed7365d..69b9bfc0f25 100644 --- a/bmc-desktops/pom.xml +++ b/bmc-desktops/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-desktops @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-desktops/src/main/resources/com/oracle/bmc/desktops/client.properties b/bmc-desktops/src/main/resources/com/oracle/bmc/desktops/client.properties index 6f755f8a29b..87ddcdc26f2 100644 --- a/bmc-desktops/src/main/resources/com/oracle/bmc/desktops/client.properties +++ b/bmc-desktops/src/main/resources/com/oracle/bmc/desktops/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220618") \ No newline at end of file diff --git a/bmc-devops/pom.xml b/bmc-devops/pom.xml index 0e2077e5fe6..0a337d7f110 100644 --- a/bmc-devops/pom.xml +++ b/bmc-devops/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-devops @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-devops/src/main/resources/com/oracle/bmc/devops/client.properties b/bmc-devops/src/main/resources/com/oracle/bmc/devops/client.properties index 0e9de1bcd8f..fbe451b116b 100644 --- a/bmc-devops/src/main/resources/com/oracle/bmc/devops/client.properties +++ b/bmc-devops/src/main/resources/com/oracle/bmc/devops/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20210630") \ No newline at end of file diff --git a/bmc-disasterrecovery/pom.xml b/bmc-disasterrecovery/pom.xml index c03e8998304..340ad7d1c08 100644 --- a/bmc-disasterrecovery/pom.xml +++ b/bmc-disasterrecovery/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-disasterrecovery @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-disasterrecovery/src/main/resources/com/oracle/bmc/disasterrecovery/client.properties b/bmc-disasterrecovery/src/main/resources/com/oracle/bmc/disasterrecovery/client.properties index 5480363178a..6ce873956b4 100644 --- a/bmc-disasterrecovery/src/main/resources/com/oracle/bmc/disasterrecovery/client.properties +++ b/bmc-disasterrecovery/src/main/resources/com/oracle/bmc/disasterrecovery/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220125") \ No newline at end of file diff --git a/bmc-dns/pom.xml b/bmc-dns/pom.xml index 0e1f2401bb6..bd36e7a3e8c 100644 --- a/bmc-dns/pom.xml +++ b/bmc-dns/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml @@ -18,12 +18,12 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 com.oracle.oci.sdk oci-java-sdk-workrequests - 3.44.3 + 3.44.4 diff --git a/bmc-dns/src/main/resources/com/oracle/bmc/dns/client.properties b/bmc-dns/src/main/resources/com/oracle/bmc/dns/client.properties index 6b6ec146fd0..c8da9487ce0 100644 --- a/bmc-dns/src/main/resources/com/oracle/bmc/dns/client.properties +++ b/bmc-dns/src/main/resources/com/oracle/bmc/dns/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20180115") \ No newline at end of file diff --git a/bmc-dts/pom.xml b/bmc-dts/pom.xml index 852e7d876a5..c098f42859b 100644 --- a/bmc-dts/pom.xml +++ b/bmc-dts/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-dts @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-dts/src/main/resources/com/oracle/bmc/dts/client.properties b/bmc-dts/src/main/resources/com/oracle/bmc/dts/client.properties index 1c05d947f38..6a4eb55eba4 100644 --- a/bmc-dts/src/main/resources/com/oracle/bmc/dts/client.properties +++ b/bmc-dts/src/main/resources/com/oracle/bmc/dts/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 1.0.017") \ No newline at end of file diff --git a/bmc-email/pom.xml b/bmc-email/pom.xml index e1934902507..22b9c9123a3 100644 --- a/bmc-email/pom.xml +++ b/bmc-email/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-email/src/main/resources/com/oracle/bmc/email/client.properties b/bmc-email/src/main/resources/com/oracle/bmc/email/client.properties index 97a1e4f5e7e..bbee0b7c605 100644 --- a/bmc-email/src/main/resources/com/oracle/bmc/email/client.properties +++ b/bmc-email/src/main/resources/com/oracle/bmc/email/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20170907") \ No newline at end of file diff --git a/bmc-emaildataplane/pom.xml b/bmc-emaildataplane/pom.xml index 44fed01cf74..a1410ceaa1a 100644 --- a/bmc-emaildataplane/pom.xml +++ b/bmc-emaildataplane/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-emaildataplane @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-emaildataplane/src/main/resources/com/oracle/bmc/emaildataplane/client.properties b/bmc-emaildataplane/src/main/resources/com/oracle/bmc/emaildataplane/client.properties index 6d652618ae3..a55602918f7 100644 --- a/bmc-emaildataplane/src/main/resources/com/oracle/bmc/emaildataplane/client.properties +++ b/bmc-emaildataplane/src/main/resources/com/oracle/bmc/emaildataplane/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220926") \ No newline at end of file diff --git a/bmc-emwarehouse/pom.xml b/bmc-emwarehouse/pom.xml index 0913063c612..1373e88ab70 100644 --- a/bmc-emwarehouse/pom.xml +++ b/bmc-emwarehouse/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-emwarehouse @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-emwarehouse/src/main/resources/com/oracle/bmc/emwarehouse/client.properties b/bmc-emwarehouse/src/main/resources/com/oracle/bmc/emwarehouse/client.properties index def64acda1c..eb59dae997e 100644 --- a/bmc-emwarehouse/src/main/resources/com/oracle/bmc/emwarehouse/client.properties +++ b/bmc-emwarehouse/src/main/resources/com/oracle/bmc/emwarehouse/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20180828") \ No newline at end of file diff --git a/bmc-encryption/pom.xml b/bmc-encryption/pom.xml index 6615b6a6c20..7e13a65a4aa 100644 --- a/bmc-encryption/pom.xml +++ b/bmc-encryption/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml @@ -18,17 +18,17 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 com.oracle.oci.sdk oci-java-sdk-common-httpclient - 3.44.3 + 3.44.4 com.oracle.oci.sdk oci-java-sdk-keymanagement - 3.44.3 + 3.44.4 com.fasterxml.jackson.core @@ -43,7 +43,7 @@ com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.44.3 + 3.44.4 test diff --git a/bmc-enforcer-rules/pom.xml b/bmc-enforcer-rules/pom.xml index 898ec4e13b3..0bf602e1dc7 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.44.3 + 3.44.4 oci-java-sdk-enforcer-rules diff --git a/bmc-events/pom.xml b/bmc-events/pom.xml index 150948c98e7..cc539d08bdc 100644 --- a/bmc-events/pom.xml +++ b/bmc-events/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-events @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-events/src/main/resources/com/oracle/bmc/events/client.properties b/bmc-events/src/main/resources/com/oracle/bmc/events/client.properties index 5d9a70bde01..ec9fc6d249c 100644 --- a/bmc-events/src/main/resources/com/oracle/bmc/events/client.properties +++ b/bmc-events/src/main/resources/com/oracle/bmc/events/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20181201") \ No newline at end of file diff --git a/bmc-examples/pom.xml b/bmc-examples/pom.xml index a6dbe7b7f1d..1f23bfc62fe 100644 --- a/bmc-examples/pom.xml +++ b/bmc-examples/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-examples @@ -71,14 +71,14 @@ com.oracle.oci.sdk oci-java-sdk-bom - 3.44.3 + 3.44.4 pom import com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.44.3 + 3.44.4 pom import diff --git a/bmc-filestorage/pom.xml b/bmc-filestorage/pom.xml index d1f70944bdd..63a29df433a 100644 --- a/bmc-filestorage/pom.xml +++ b/bmc-filestorage/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-filestorage/src/main/resources/com/oracle/bmc/filestorage/client.properties b/bmc-filestorage/src/main/resources/com/oracle/bmc/filestorage/client.properties index 917e0e8c431..c4884b8182c 100644 --- a/bmc-filestorage/src/main/resources/com/oracle/bmc/filestorage/client.properties +++ b/bmc-filestorage/src/main/resources/com/oracle/bmc/filestorage/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20171215") \ No newline at end of file diff --git a/bmc-fleetsoftwareupdate/pom.xml b/bmc-fleetsoftwareupdate/pom.xml index f19b8da34e4..1587de6973e 100644 --- a/bmc-fleetsoftwareupdate/pom.xml +++ b/bmc-fleetsoftwareupdate/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-fleetsoftwareupdate @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-fleetsoftwareupdate/src/main/resources/com/oracle/bmc/fleetsoftwareupdate/client.properties b/bmc-fleetsoftwareupdate/src/main/resources/com/oracle/bmc/fleetsoftwareupdate/client.properties index e8a3364d1e8..07c039a42b8 100644 --- a/bmc-fleetsoftwareupdate/src/main/resources/com/oracle/bmc/fleetsoftwareupdate/client.properties +++ b/bmc-fleetsoftwareupdate/src/main/resources/com/oracle/bmc/fleetsoftwareupdate/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220528") \ No newline at end of file diff --git a/bmc-full/pom.xml b/bmc-full/pom.xml index 9b287eadf39..62fd22b3e61 100644 --- a/bmc-full/pom.xml +++ b/bmc-full/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-full @@ -16,7 +16,7 @@ com.oracle.oci.sdk oci-java-sdk-bom - 3.44.3 + 3.44.4 pom import diff --git a/bmc-functions/pom.xml b/bmc-functions/pom.xml index b87ed6f6d27..c9078b1145d 100644 --- a/bmc-functions/pom.xml +++ b/bmc-functions/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-functions @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-functions/src/main/resources/com/oracle/bmc/functions/client.properties b/bmc-functions/src/main/resources/com/oracle/bmc/functions/client.properties index 5d9a70bde01..ec9fc6d249c 100644 --- a/bmc-functions/src/main/resources/com/oracle/bmc/functions/client.properties +++ b/bmc-functions/src/main/resources/com/oracle/bmc/functions/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20181201") \ No newline at end of file diff --git a/bmc-fusionapps/pom.xml b/bmc-fusionapps/pom.xml index c53b8346788..a0ed58e20de 100644 --- a/bmc-fusionapps/pom.xml +++ b/bmc-fusionapps/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-fusionapps @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-fusionapps/src/main/resources/com/oracle/bmc/fusionapps/client.properties b/bmc-fusionapps/src/main/resources/com/oracle/bmc/fusionapps/client.properties index 40c863a0530..56eff68cc6c 100644 --- a/bmc-fusionapps/src/main/resources/com/oracle/bmc/fusionapps/client.properties +++ b/bmc-fusionapps/src/main/resources/com/oracle/bmc/fusionapps/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20211201") \ No newline at end of file diff --git a/bmc-generativeai/pom.xml b/bmc-generativeai/pom.xml index 6c57a4aed6d..074b88e0211 100644 --- a/bmc-generativeai/pom.xml +++ b/bmc-generativeai/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-generativeai @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-generativeai/src/main/resources/com/oracle/bmc/generativeai/client.properties b/bmc-generativeai/src/main/resources/com/oracle/bmc/generativeai/client.properties index 70f840fe78c..50172f79338 100644 --- a/bmc-generativeai/src/main/resources/com/oracle/bmc/generativeai/client.properties +++ b/bmc-generativeai/src/main/resources/com/oracle/bmc/generativeai/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20231130") \ No newline at end of file diff --git a/bmc-generativeaiinference/pom.xml b/bmc-generativeaiinference/pom.xml index b0dfc1e04c8..880cc193e0c 100644 --- a/bmc-generativeaiinference/pom.xml +++ b/bmc-generativeaiinference/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-generativeaiinference @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-generativeaiinference/src/main/resources/com/oracle/bmc/generativeaiinference/client.properties b/bmc-generativeaiinference/src/main/resources/com/oracle/bmc/generativeaiinference/client.properties index 70f840fe78c..50172f79338 100644 --- a/bmc-generativeaiinference/src/main/resources/com/oracle/bmc/generativeaiinference/client.properties +++ b/bmc-generativeaiinference/src/main/resources/com/oracle/bmc/generativeaiinference/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20231130") \ No newline at end of file diff --git a/bmc-genericartifactscontent/pom.xml b/bmc-genericartifactscontent/pom.xml index 1e06be870ea..5d629f757d3 100644 --- a/bmc-genericartifactscontent/pom.xml +++ b/bmc-genericartifactscontent/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-genericartifactscontent @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-genericartifactscontent/src/main/resources/com/oracle/bmc/genericartifactscontent/client.properties b/bmc-genericartifactscontent/src/main/resources/com/oracle/bmc/genericartifactscontent/client.properties index 2fa5d3f17ae..0d8dd8a77fe 100644 --- a/bmc-genericartifactscontent/src/main/resources/com/oracle/bmc/genericartifactscontent/client.properties +++ b/bmc-genericartifactscontent/src/main/resources/com/oracle/bmc/genericartifactscontent/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") \ No newline at end of file diff --git a/bmc-globallydistributeddatabase/pom.xml b/bmc-globallydistributeddatabase/pom.xml index bf92b6de85d..9b3479e8a7a 100644 --- a/bmc-globallydistributeddatabase/pom.xml +++ b/bmc-globallydistributeddatabase/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-globallydistributeddatabase @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-globallydistributeddatabase/src/main/resources/com/oracle/bmc/globallydistributeddatabase/client.properties b/bmc-globallydistributeddatabase/src/main/resources/com/oracle/bmc/globallydistributeddatabase/client.properties index b333839bb40..fefc07e2f90 100644 --- a/bmc-globallydistributeddatabase/src/main/resources/com/oracle/bmc/globallydistributeddatabase/client.properties +++ b/bmc-globallydistributeddatabase/src/main/resources/com/oracle/bmc/globallydistributeddatabase/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20230301") \ No newline at end of file diff --git a/bmc-goldengate/pom.xml b/bmc-goldengate/pom.xml index 32f283f65fc..f16f43376b3 100644 --- a/bmc-goldengate/pom.xml +++ b/bmc-goldengate/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-goldengate @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-goldengate/src/main/resources/com/oracle/bmc/goldengate/client.properties b/bmc-goldengate/src/main/resources/com/oracle/bmc/goldengate/client.properties index f5c0b0cddb6..dec76fc2d00 100644 --- a/bmc-goldengate/src/main/resources/com/oracle/bmc/goldengate/client.properties +++ b/bmc-goldengate/src/main/resources/com/oracle/bmc/goldengate/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200407") \ No newline at end of file diff --git a/bmc-governancerulescontrolplane/pom.xml b/bmc-governancerulescontrolplane/pom.xml index bd7f1e9c0a9..7cb32ff9720 100644 --- a/bmc-governancerulescontrolplane/pom.xml +++ b/bmc-governancerulescontrolplane/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-governancerulescontrolplane @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-governancerulescontrolplane/src/main/resources/com/oracle/bmc/governancerulescontrolplane/client.properties b/bmc-governancerulescontrolplane/src/main/resources/com/oracle/bmc/governancerulescontrolplane/client.properties index 1af21d9a126..d51a0c4e9dc 100644 --- a/bmc-governancerulescontrolplane/src/main/resources/com/oracle/bmc/governancerulescontrolplane/client.properties +++ b/bmc-governancerulescontrolplane/src/main/resources/com/oracle/bmc/governancerulescontrolplane/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220504") \ No newline at end of file diff --git a/bmc-healthchecks/pom.xml b/bmc-healthchecks/pom.xml index 94beeab58a8..27b4996d18e 100644 --- a/bmc-healthchecks/pom.xml +++ b/bmc-healthchecks/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-healthchecks @@ -16,7 +16,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-healthchecks/src/main/resources/com/oracle/bmc/healthchecks/client.properties b/bmc-healthchecks/src/main/resources/com/oracle/bmc/healthchecks/client.properties index f424453924d..9d88a4b545e 100644 --- a/bmc-healthchecks/src/main/resources/com/oracle/bmc/healthchecks/client.properties +++ b/bmc-healthchecks/src/main/resources/com/oracle/bmc/healthchecks/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20180501") \ No newline at end of file diff --git a/bmc-identity/pom.xml b/bmc-identity/pom.xml index 89fdc7506d9..2035b8f5362 100644 --- a/bmc-identity/pom.xml +++ b/bmc-identity/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-identity/src/main/resources/com/oracle/bmc/identity/client.properties b/bmc-identity/src/main/resources/com/oracle/bmc/identity/client.properties index 2fa5d3f17ae..0d8dd8a77fe 100644 --- a/bmc-identity/src/main/resources/com/oracle/bmc/identity/client.properties +++ b/bmc-identity/src/main/resources/com/oracle/bmc/identity/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") \ No newline at end of file diff --git a/bmc-identitydataplane/pom.xml b/bmc-identitydataplane/pom.xml index 9545857eb19..f0d7ee9e899 100644 --- a/bmc-identitydataplane/pom.xml +++ b/bmc-identitydataplane/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-identitydataplane @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-identitydataplane/src/main/resources/com/oracle/bmc/identitydataplane/client.properties b/bmc-identitydataplane/src/main/resources/com/oracle/bmc/identitydataplane/client.properties index b6f5f09f60f..cd35f5c894c 100644 --- a/bmc-identitydataplane/src/main/resources/com/oracle/bmc/identitydataplane/client.properties +++ b/bmc-identitydataplane/src/main/resources/com/oracle/bmc/identitydataplane/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") \ No newline at end of file diff --git a/bmc-identitydomains/pom.xml b/bmc-identitydomains/pom.xml index a738cc3eb3e..e06d33433a3 100644 --- a/bmc-identitydomains/pom.xml +++ b/bmc-identitydomains/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-identitydomains @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-identitydomains/src/main/resources/com/oracle/bmc/identitydomains/client.properties b/bmc-identitydomains/src/main/resources/com/oracle/bmc/identitydomains/client.properties index b6f5f09f60f..cd35f5c894c 100644 --- a/bmc-identitydomains/src/main/resources/com/oracle/bmc/identitydomains/client.properties +++ b/bmc-identitydomains/src/main/resources/com/oracle/bmc/identitydomains/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") \ No newline at end of file diff --git a/bmc-integration/pom.xml b/bmc-integration/pom.xml index be9ad268769..9134a7f397e 100644 --- a/bmc-integration/pom.xml +++ b/bmc-integration/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-integration @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-integration/src/main/resources/com/oracle/bmc/integration/client.properties b/bmc-integration/src/main/resources/com/oracle/bmc/integration/client.properties index 3b2b020038f..06956c70949 100644 --- a/bmc-integration/src/main/resources/com/oracle/bmc/integration/client.properties +++ b/bmc-integration/src/main/resources/com/oracle/bmc/integration/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190131") \ No newline at end of file diff --git a/bmc-jms/pom.xml b/bmc-jms/pom.xml index 0bcb30809e8..a0d8889080d 100644 --- a/bmc-jms/pom.xml +++ b/bmc-jms/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-jms @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-jms/src/main/resources/com/oracle/bmc/jms/client.properties b/bmc-jms/src/main/resources/com/oracle/bmc/jms/client.properties index 13fbae4f01e..52dd35d9436 100644 --- a/bmc-jms/src/main/resources/com/oracle/bmc/jms/client.properties +++ b/bmc-jms/src/main/resources/com/oracle/bmc/jms/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20210610") \ No newline at end of file diff --git a/bmc-jmsjavadownloads/pom.xml b/bmc-jmsjavadownloads/pom.xml index c98e89d6986..d7e2cdc6865 100644 --- a/bmc-jmsjavadownloads/pom.xml +++ b/bmc-jmsjavadownloads/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-jmsjavadownloads @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-jmsjavadownloads/src/main/resources/com/oracle/bmc/jmsjavadownloads/client.properties b/bmc-jmsjavadownloads/src/main/resources/com/oracle/bmc/jmsjavadownloads/client.properties index d24ad272562..9285d5ec504 100644 --- a/bmc-jmsjavadownloads/src/main/resources/com/oracle/bmc/jmsjavadownloads/client.properties +++ b/bmc-jmsjavadownloads/src/main/resources/com/oracle/bmc/jmsjavadownloads/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20230601") \ No newline at end of file diff --git a/bmc-keymanagement/pom.xml b/bmc-keymanagement/pom.xml index b8066577a55..1a0937e7122 100644 --- a/bmc-keymanagement/pom.xml +++ b/bmc-keymanagement/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-keymanagement @@ -16,7 +16,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-keymanagement/src/main/resources/com/oracle/bmc/keymanagement/client.properties b/bmc-keymanagement/src/main/resources/com/oracle/bmc/keymanagement/client.properties index 0b6b9c2f447..06a0cc5799b 100644 --- a/bmc-keymanagement/src/main/resources/com/oracle/bmc/keymanagement/client.properties +++ b/bmc-keymanagement/src/main/resources/com/oracle/bmc/keymanagement/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: release") \ No newline at end of file diff --git a/bmc-licensemanager/pom.xml b/bmc-licensemanager/pom.xml index a6e48cd3cfe..cd2e08e11d6 100644 --- a/bmc-licensemanager/pom.xml +++ b/bmc-licensemanager/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-licensemanager @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-licensemanager/src/main/resources/com/oracle/bmc/licensemanager/client.properties b/bmc-licensemanager/src/main/resources/com/oracle/bmc/licensemanager/client.properties index 8544e0a6f16..5cc918df1b6 100644 --- a/bmc-licensemanager/src/main/resources/com/oracle/bmc/licensemanager/client.properties +++ b/bmc-licensemanager/src/main/resources/com/oracle/bmc/licensemanager/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220430") \ No newline at end of file diff --git a/bmc-limits/pom.xml b/bmc-limits/pom.xml index c8a0da16d37..b7d575c4650 100644 --- a/bmc-limits/pom.xml +++ b/bmc-limits/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-limits @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-limits/src/main/resources/com/oracle/bmc/limits/client.properties b/bmc-limits/src/main/resources/com/oracle/bmc/limits/client.properties index 930048fcffd..26554bf69f2 100644 --- a/bmc-limits/src/main/resources/com/oracle/bmc/limits/client.properties +++ b/bmc-limits/src/main/resources/com/oracle/bmc/limits/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20181025") \ No newline at end of file diff --git a/bmc-loadbalancer/pom.xml b/bmc-loadbalancer/pom.xml index 986bd5d69a4..9acc14f6aab 100644 --- a/bmc-loadbalancer/pom.xml +++ b/bmc-loadbalancer/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-loadbalancer/src/main/resources/com/oracle/bmc/loadbalancer/client.properties b/bmc-loadbalancer/src/main/resources/com/oracle/bmc/loadbalancer/client.properties index 88dd99702cc..5c68bad7595 100644 --- a/bmc-loadbalancer/src/main/resources/com/oracle/bmc/loadbalancer/client.properties +++ b/bmc-loadbalancer/src/main/resources/com/oracle/bmc/loadbalancer/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20170115") \ No newline at end of file diff --git a/bmc-lockbox/pom.xml b/bmc-lockbox/pom.xml index 5975f75736f..a06e8e1c6ac 100644 --- a/bmc-lockbox/pom.xml +++ b/bmc-lockbox/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-lockbox @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-lockbox/src/main/resources/com/oracle/bmc/lockbox/client.properties b/bmc-lockbox/src/main/resources/com/oracle/bmc/lockbox/client.properties index d9d782f2085..abefa503b31 100644 --- a/bmc-lockbox/src/main/resources/com/oracle/bmc/lockbox/client.properties +++ b/bmc-lockbox/src/main/resources/com/oracle/bmc/lockbox/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220126") \ No newline at end of file diff --git a/bmc-loganalytics/pom.xml b/bmc-loganalytics/pom.xml index 9bca324e78f..5cea9a3e99a 100644 --- a/bmc-loganalytics/pom.xml +++ b/bmc-loganalytics/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-loganalytics @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-loganalytics/src/main/resources/com/oracle/bmc/loganalytics/client.properties b/bmc-loganalytics/src/main/resources/com/oracle/bmc/loganalytics/client.properties index bbf6d9e9e35..6baf017beee 100644 --- a/bmc-loganalytics/src/main/resources/com/oracle/bmc/loganalytics/client.properties +++ b/bmc-loganalytics/src/main/resources/com/oracle/bmc/loganalytics/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200601") \ No newline at end of file diff --git a/bmc-logging/pom.xml b/bmc-logging/pom.xml index e02e9afc37f..f62bfc45cee 100644 --- a/bmc-logging/pom.xml +++ b/bmc-logging/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-logging @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-logging/src/main/resources/com/oracle/bmc/logging/client.properties b/bmc-logging/src/main/resources/com/oracle/bmc/logging/client.properties index e90c3ecad8e..802c370c405 100644 --- a/bmc-logging/src/main/resources/com/oracle/bmc/logging/client.properties +++ b/bmc-logging/src/main/resources/com/oracle/bmc/logging/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200531") \ No newline at end of file diff --git a/bmc-loggingingestion/pom.xml b/bmc-loggingingestion/pom.xml index 13306664b0e..82c3363b8c6 100644 --- a/bmc-loggingingestion/pom.xml +++ b/bmc-loggingingestion/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-loggingingestion @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-loggingingestion/src/main/resources/com/oracle/bmc/loggingingestion/client.properties b/bmc-loggingingestion/src/main/resources/com/oracle/bmc/loggingingestion/client.properties index 34f390469ab..5a48eadc3ad 100644 --- a/bmc-loggingingestion/src/main/resources/com/oracle/bmc/loggingingestion/client.properties +++ b/bmc-loggingingestion/src/main/resources/com/oracle/bmc/loggingingestion/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200831") \ No newline at end of file diff --git a/bmc-loggingsearch/pom.xml b/bmc-loggingsearch/pom.xml index 0063a47732f..1a75ebcdc47 100644 --- a/bmc-loggingsearch/pom.xml +++ b/bmc-loggingsearch/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-loggingsearch @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-loggingsearch/src/main/resources/com/oracle/bmc/loggingsearch/client.properties b/bmc-loggingsearch/src/main/resources/com/oracle/bmc/loggingsearch/client.properties index bf63273d3c8..d5d65ea9be2 100644 --- a/bmc-loggingsearch/src/main/resources/com/oracle/bmc/loggingsearch/client.properties +++ b/bmc-loggingsearch/src/main/resources/com/oracle/bmc/loggingsearch/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190909") \ No newline at end of file diff --git a/bmc-managementagent/pom.xml b/bmc-managementagent/pom.xml index 9cac4ac4512..23da16ae94d 100644 --- a/bmc-managementagent/pom.xml +++ b/bmc-managementagent/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-managementagent @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-managementagent/src/main/resources/com/oracle/bmc/managementagent/client.properties b/bmc-managementagent/src/main/resources/com/oracle/bmc/managementagent/client.properties index 91bb41a8962..07fa01d2356 100644 --- a/bmc-managementagent/src/main/resources/com/oracle/bmc/managementagent/client.properties +++ b/bmc-managementagent/src/main/resources/com/oracle/bmc/managementagent/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200202") \ No newline at end of file diff --git a/bmc-managementdashboard/pom.xml b/bmc-managementdashboard/pom.xml index b7903d6497d..9053d06f78e 100644 --- a/bmc-managementdashboard/pom.xml +++ b/bmc-managementdashboard/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-managementdashboard @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-managementdashboard/src/main/resources/com/oracle/bmc/managementdashboard/client.properties b/bmc-managementdashboard/src/main/resources/com/oracle/bmc/managementdashboard/client.properties index e996e3fdf60..e930a6348e2 100644 --- a/bmc-managementdashboard/src/main/resources/com/oracle/bmc/managementdashboard/client.properties +++ b/bmc-managementdashboard/src/main/resources/com/oracle/bmc/managementdashboard/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200901") \ No newline at end of file diff --git a/bmc-marketplace/pom.xml b/bmc-marketplace/pom.xml index 194bf17ead7..dcf464959d1 100644 --- a/bmc-marketplace/pom.xml +++ b/bmc-marketplace/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-marketplace @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-marketplace/src/main/resources/com/oracle/bmc/marketplace/client.properties b/bmc-marketplace/src/main/resources/com/oracle/bmc/marketplace/client.properties index 789294f8dca..a49126fd9db 100644 --- a/bmc-marketplace/src/main/resources/com/oracle/bmc/marketplace/client.properties +++ b/bmc-marketplace/src/main/resources/com/oracle/bmc/marketplace/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20181001") \ No newline at end of file diff --git a/bmc-marketplaceprivateoffer/pom.xml b/bmc-marketplaceprivateoffer/pom.xml index 36d69847d6d..90cd24740e7 100644 --- a/bmc-marketplaceprivateoffer/pom.xml +++ b/bmc-marketplaceprivateoffer/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-marketplaceprivateoffer @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-marketplaceprivateoffer/src/main/resources/com/oracle/bmc/marketplaceprivateoffer/client.properties b/bmc-marketplaceprivateoffer/src/main/resources/com/oracle/bmc/marketplaceprivateoffer/client.properties index ad7ba0301b3..82b22fa7a0b 100644 --- a/bmc-marketplaceprivateoffer/src/main/resources/com/oracle/bmc/marketplaceprivateoffer/client.properties +++ b/bmc-marketplaceprivateoffer/src/main/resources/com/oracle/bmc/marketplaceprivateoffer/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220901") \ No newline at end of file diff --git a/bmc-marketplacepublisher/pom.xml b/bmc-marketplacepublisher/pom.xml index 5d2c9740593..f62380462c4 100644 --- a/bmc-marketplacepublisher/pom.xml +++ b/bmc-marketplacepublisher/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-marketplacepublisher @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-marketplacepublisher/src/main/resources/com/oracle/bmc/marketplacepublisher/client.properties b/bmc-marketplacepublisher/src/main/resources/com/oracle/bmc/marketplacepublisher/client.properties index ad7ba0301b3..82b22fa7a0b 100644 --- a/bmc-marketplacepublisher/src/main/resources/com/oracle/bmc/marketplacepublisher/client.properties +++ b/bmc-marketplacepublisher/src/main/resources/com/oracle/bmc/marketplacepublisher/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220901") \ No newline at end of file diff --git a/bmc-mediaservices/pom.xml b/bmc-mediaservices/pom.xml index 5a846da8e39..d44b6881b90 100644 --- a/bmc-mediaservices/pom.xml +++ b/bmc-mediaservices/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-mediaservices @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-mediaservices/src/main/resources/com/oracle/bmc/mediaservices/client.properties b/bmc-mediaservices/src/main/resources/com/oracle/bmc/mediaservices/client.properties index 54e74cffc27..dae4654db2c 100644 --- a/bmc-mediaservices/src/main/resources/com/oracle/bmc/mediaservices/client.properties +++ b/bmc-mediaservices/src/main/resources/com/oracle/bmc/mediaservices/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20211101") \ No newline at end of file diff --git a/bmc-monitoring/pom.xml b/bmc-monitoring/pom.xml index c1c31f35426..76e78838802 100644 --- a/bmc-monitoring/pom.xml +++ b/bmc-monitoring/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-monitoring @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-monitoring/src/main/resources/com/oracle/bmc/monitoring/client.properties b/bmc-monitoring/src/main/resources/com/oracle/bmc/monitoring/client.properties index 085ae93e613..b83b1e1bdd2 100644 --- a/bmc-monitoring/src/main/resources/com/oracle/bmc/monitoring/client.properties +++ b/bmc-monitoring/src/main/resources/com/oracle/bmc/monitoring/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20180401") \ No newline at end of file diff --git a/bmc-mysql/pom.xml b/bmc-mysql/pom.xml index 9513cc6dab4..8e6b1f4ece8 100644 --- a/bmc-mysql/pom.xml +++ b/bmc-mysql/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-mysql @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-mysql/src/main/resources/com/oracle/bmc/mysql/client.properties b/bmc-mysql/src/main/resources/com/oracle/bmc/mysql/client.properties index 036ab640ffd..47dbfb58c54 100644 --- a/bmc-mysql/src/main/resources/com/oracle/bmc/mysql/client.properties +++ b/bmc-mysql/src/main/resources/com/oracle/bmc/mysql/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190415") \ No newline at end of file diff --git a/bmc-networkfirewall/pom.xml b/bmc-networkfirewall/pom.xml index 445eedf49c5..8af3f0028db 100644 --- a/bmc-networkfirewall/pom.xml +++ b/bmc-networkfirewall/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-networkfirewall @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-networkfirewall/src/main/resources/com/oracle/bmc/networkfirewall/client.properties b/bmc-networkfirewall/src/main/resources/com/oracle/bmc/networkfirewall/client.properties index 2b971894432..594585a57f8 100644 --- a/bmc-networkfirewall/src/main/resources/com/oracle/bmc/networkfirewall/client.properties +++ b/bmc-networkfirewall/src/main/resources/com/oracle/bmc/networkfirewall/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20230501") \ No newline at end of file diff --git a/bmc-networkloadbalancer/pom.xml b/bmc-networkloadbalancer/pom.xml index e3e71cca23b..a81d191a136 100644 --- a/bmc-networkloadbalancer/pom.xml +++ b/bmc-networkloadbalancer/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-networkloadbalancer @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-networkloadbalancer/src/main/resources/com/oracle/bmc/networkloadbalancer/client.properties b/bmc-networkloadbalancer/src/main/resources/com/oracle/bmc/networkloadbalancer/client.properties index b37a3f0fc99..740e399b1ea 100644 --- a/bmc-networkloadbalancer/src/main/resources/com/oracle/bmc/networkloadbalancer/client.properties +++ b/bmc-networkloadbalancer/src/main/resources/com/oracle/bmc/networkloadbalancer/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200501") \ No newline at end of file diff --git a/bmc-nosql/pom.xml b/bmc-nosql/pom.xml index a04dd6cd9b8..764bd80272f 100644 --- a/bmc-nosql/pom.xml +++ b/bmc-nosql/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-nosql @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-nosql/src/main/resources/com/oracle/bmc/nosql/client.properties b/bmc-nosql/src/main/resources/com/oracle/bmc/nosql/client.properties index 7d32dd46ce6..8a9ebdd73b3 100644 --- a/bmc-nosql/src/main/resources/com/oracle/bmc/nosql/client.properties +++ b/bmc-nosql/src/main/resources/com/oracle/bmc/nosql/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190828") \ 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 5e343f31f8d..da77119776e 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.44.3 + 3.44.4 ../pom.xml @@ -18,12 +18,12 @@ com.oracle.oci.sdk oci-java-sdk-objectstorage-generated - 3.44.3 + 3.44.4 com.oracle.oci.sdk oci-java-sdk-objectstorage-extensions - 3.44.3 + 3.44.4 diff --git a/bmc-objectstorage/bmc-objectstorage-extensions/pom.xml b/bmc-objectstorage/bmc-objectstorage-extensions/pom.xml index 8a5b2928571..32b660cceec 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.44.3 + 3.44.4 ../pom.xml @@ -18,17 +18,17 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 com.oracle.oci.sdk oci-java-sdk-common-httpclient - 3.44.3 + 3.44.4 com.oracle.oci.sdk oci-java-sdk-objectstorage-generated - 3.44.3 + 3.44.4 org.slf4j diff --git a/bmc-objectstorage/bmc-objectstorage-generated/pom.xml b/bmc-objectstorage/bmc-objectstorage-generated/pom.xml index 04b24e97ba8..4e5c1f85c4c 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.44.3 + 3.44.4 ../pom.xml @@ -19,7 +19,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-objectstorage/bmc-objectstorage-generated/src/main/resources/com/oracle/bmc/objectstorage/client.properties b/bmc-objectstorage/bmc-objectstorage-generated/src/main/resources/com/oracle/bmc/objectstorage/client.properties index 2fa5d3f17ae..0d8dd8a77fe 100644 --- a/bmc-objectstorage/bmc-objectstorage-generated/src/main/resources/com/oracle/bmc/objectstorage/client.properties +++ b/bmc-objectstorage/bmc-objectstorage-generated/src/main/resources/com/oracle/bmc/objectstorage/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") \ No newline at end of file diff --git a/bmc-objectstorage/pom.xml b/bmc-objectstorage/pom.xml index 194358000df..93f310d046e 100644 --- a/bmc-objectstorage/pom.xml +++ b/bmc-objectstorage/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml diff --git a/bmc-oce/pom.xml b/bmc-oce/pom.xml index f2c138c0624..38b64f99e0a 100644 --- a/bmc-oce/pom.xml +++ b/bmc-oce/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-oce @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-oce/src/main/resources/com/oracle/bmc/oce/client.properties b/bmc-oce/src/main/resources/com/oracle/bmc/oce/client.properties index a8ca883993a..ba4104c6e05 100644 --- a/bmc-oce/src/main/resources/com/oracle/bmc/oce/client.properties +++ b/bmc-oce/src/main/resources/com/oracle/bmc/oce/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190912") \ No newline at end of file diff --git a/bmc-ocicontrolcenter/pom.xml b/bmc-ocicontrolcenter/pom.xml index 8765d83b827..22261e0dc78 100644 --- a/bmc-ocicontrolcenter/pom.xml +++ b/bmc-ocicontrolcenter/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-ocicontrolcenter @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-ocicontrolcenter/src/main/resources/com/oracle/bmc/ocicontrolcenter/client.properties b/bmc-ocicontrolcenter/src/main/resources/com/oracle/bmc/ocicontrolcenter/client.properties index 4c5eae057cb..6137be6195f 100644 --- a/bmc-ocicontrolcenter/src/main/resources/com/oracle/bmc/ocicontrolcenter/client.properties +++ b/bmc-ocicontrolcenter/src/main/resources/com/oracle/bmc/ocicontrolcenter/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20230515") \ No newline at end of file diff --git a/bmc-ocvp/pom.xml b/bmc-ocvp/pom.xml index e087fe0214a..5913b8b5ae0 100644 --- a/bmc-ocvp/pom.xml +++ b/bmc-ocvp/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-ocvp @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-ocvp/src/main/resources/com/oracle/bmc/ocvp/client.properties b/bmc-ocvp/src/main/resources/com/oracle/bmc/ocvp/client.properties index 9e734f8512d..aee3d2c6248 100644 --- a/bmc-ocvp/src/main/resources/com/oracle/bmc/ocvp/client.properties +++ b/bmc-ocvp/src/main/resources/com/oracle/bmc/ocvp/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20230701") \ No newline at end of file diff --git a/bmc-oda/pom.xml b/bmc-oda/pom.xml index 0c0fd99f60e..78f30314e1a 100644 --- a/bmc-oda/pom.xml +++ b/bmc-oda/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-oda @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-oda/src/main/resources/com/oracle/bmc/oda/client.properties b/bmc-oda/src/main/resources/com/oracle/bmc/oda/client.properties index c11456efdc6..97c5babb89e 100644 --- a/bmc-oda/src/main/resources/com/oracle/bmc/oda/client.properties +++ b/bmc-oda/src/main/resources/com/oracle/bmc/oda/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190506") \ No newline at end of file diff --git a/bmc-onesubscription/pom.xml b/bmc-onesubscription/pom.xml index 69c5d1123b8..552d35c4c28 100644 --- a/bmc-onesubscription/pom.xml +++ b/bmc-onesubscription/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-onesubscription @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-onesubscription/src/main/resources/com/oracle/bmc/onesubscription/client.properties b/bmc-onesubscription/src/main/resources/com/oracle/bmc/onesubscription/client.properties index 8db78f08f6c..1b7582dc357 100644 --- a/bmc-onesubscription/src/main/resources/com/oracle/bmc/onesubscription/client.properties +++ b/bmc-onesubscription/src/main/resources/com/oracle/bmc/onesubscription/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190111") \ No newline at end of file diff --git a/bmc-ons/pom.xml b/bmc-ons/pom.xml index 3b63b0818ac..07340f0fc50 100644 --- a/bmc-ons/pom.xml +++ b/bmc-ons/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-ons @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-ons/src/main/resources/com/oracle/bmc/ons/client.properties b/bmc-ons/src/main/resources/com/oracle/bmc/ons/client.properties index 5d9a70bde01..ec9fc6d249c 100644 --- a/bmc-ons/src/main/resources/com/oracle/bmc/ons/client.properties +++ b/bmc-ons/src/main/resources/com/oracle/bmc/ons/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20181201") \ No newline at end of file diff --git a/bmc-opa/pom.xml b/bmc-opa/pom.xml index 0d012f9be3f..b5f4962f02f 100644 --- a/bmc-opa/pom.xml +++ b/bmc-opa/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-opa @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-opa/src/main/resources/com/oracle/bmc/opa/client.properties b/bmc-opa/src/main/resources/com/oracle/bmc/opa/client.properties index bfd85d3fbf3..24440ee00a9 100644 --- a/bmc-opa/src/main/resources/com/oracle/bmc/opa/client.properties +++ b/bmc-opa/src/main/resources/com/oracle/bmc/opa/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20210621") \ No newline at end of file diff --git a/bmc-opensearch/pom.xml b/bmc-opensearch/pom.xml index a782214fa6f..24098ff6824 100644 --- a/bmc-opensearch/pom.xml +++ b/bmc-opensearch/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-opensearch @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-opensearch/src/main/resources/com/oracle/bmc/opensearch/client.properties b/bmc-opensearch/src/main/resources/com/oracle/bmc/opensearch/client.properties index def64acda1c..eb59dae997e 100644 --- a/bmc-opensearch/src/main/resources/com/oracle/bmc/opensearch/client.properties +++ b/bmc-opensearch/src/main/resources/com/oracle/bmc/opensearch/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20180828") \ No newline at end of file diff --git a/bmc-operatoraccesscontrol/pom.xml b/bmc-operatoraccesscontrol/pom.xml index 49e475594d0..64b3bac343f 100644 --- a/bmc-operatoraccesscontrol/pom.xml +++ b/bmc-operatoraccesscontrol/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-operatoraccesscontrol @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-operatoraccesscontrol/src/main/resources/com/oracle/bmc/operatoraccesscontrol/client.properties b/bmc-operatoraccesscontrol/src/main/resources/com/oracle/bmc/operatoraccesscontrol/client.properties index d3ee13c46bc..255ec427a74 100644 --- a/bmc-operatoraccesscontrol/src/main/resources/com/oracle/bmc/operatoraccesscontrol/client.properties +++ b/bmc-operatoraccesscontrol/src/main/resources/com/oracle/bmc/operatoraccesscontrol/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200630") \ No newline at end of file diff --git a/bmc-opsi/pom.xml b/bmc-opsi/pom.xml index b3f1526e9f1..671a83ccf91 100644 --- a/bmc-opsi/pom.xml +++ b/bmc-opsi/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-opsi @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/OperationsInsights.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/OperationsInsights.java index db1022f645f..a49253732fa 100644 --- a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/OperationsInsights.java +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/OperationsInsights.java @@ -1224,6 +1224,42 @@ IngestDatabaseConfigurationResponse ingestDatabaseConfiguration( */ IngestHostMetricsResponse ingestHostMetrics(IngestHostMetricsRequest request); + /** + * The MySql SQL Stats endpoint takes in a JSON payload, persists it in Ops Insights ingest + * pipeline. Either databaseId or id must be specified. + * + * @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 IngestMySqlSqlStats + * API. + */ + IngestMySqlSqlStatsResponse ingestMySqlSqlStats(IngestMySqlSqlStatsRequest request); + + /** + * The SqlText endpoint takes in a JSON payload, persists it in Operation Insights ingest + * pipeline. Either databaseId or id must be specified. Disclaimer: SQL text being uploaded + * explicitly via APIs is already masked. All sensitive literals contained in the sqlFullText + * column are masked prior to ingestion. + * + * @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 IngestMySqlSqlText + * API. + */ + IngestMySqlSqlTextResponse ingestMySqlSqlText(IngestMySqlSqlTextRequest request); + /** * The sqlbucket endpoint takes in a JSON payload, persists it in Ops Insights ingest pipeline. * Either databaseId or id must be specified. diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/OperationsInsightsAsync.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/OperationsInsightsAsync.java index cb226359d96..40b9e87c3c4 100644 --- a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/OperationsInsightsAsync.java +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/OperationsInsightsAsync.java @@ -1229,6 +1229,42 @@ java.util.concurrent.Future ingestHostMetrics( IngestHostMetricsRequest, IngestHostMetricsResponse> handler); + /** + * The MySql SQL Stats endpoint takes in a JSON payload, persists it in Ops Insights ingest + * pipeline. Either databaseId or id must be specified. + * + * @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 ingestMySqlSqlStats( + IngestMySqlSqlStatsRequest request, + com.oracle.bmc.responses.AsyncHandler< + IngestMySqlSqlStatsRequest, IngestMySqlSqlStatsResponse> + handler); + + /** + * The SqlText endpoint takes in a JSON payload, persists it in Operation Insights ingest + * pipeline. Either databaseId or id must be specified. Disclaimer: SQL text being uploaded + * explicitly via APIs is already masked. All sensitive literals contained in the sqlFullText + * column are masked prior to ingestion. + * + * @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 ingestMySqlSqlText( + IngestMySqlSqlTextRequest request, + com.oracle.bmc.responses.AsyncHandler< + IngestMySqlSqlTextRequest, IngestMySqlSqlTextResponse> + handler); + /** * The sqlbucket endpoint takes in a JSON payload, persists it in Ops Insights ingest pipeline. * Either databaseId or id must be specified. diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/OperationsInsightsAsyncClient.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/OperationsInsightsAsyncClient.java index 9ccbf4fa0c2..483d9652e7e 100644 --- a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/OperationsInsightsAsyncClient.java +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/OperationsInsightsAsyncClient.java @@ -2780,6 +2780,81 @@ public java.util.concurrent.Future ingestHostMetrics( .callAsync(handler); } + @Override + public java.util.concurrent.Future ingestMySqlSqlStats( + IngestMySqlSqlStatsRequest request, + final com.oracle.bmc.responses.AsyncHandler< + IngestMySqlSqlStatsRequest, IngestMySqlSqlStatsResponse> + handler) { + Objects.requireNonNull( + request.getIngestMySqlSqlStatsDetails(), "ingestMySqlSqlStatsDetails is required"); + + return clientCall(request, IngestMySqlSqlStatsResponse::builder) + .logger(LOG, "ingestMySqlSqlStats") + .serviceDetails( + "OperationsInsights", + "IngestMySqlSqlStats", + "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/IngestMySqlSqlStats") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(IngestMySqlSqlStatsRequest::builder) + .basePath("/20200630") + .appendPathParam("databaseInsights") + .appendPathParam("actions") + .appendPathParam("ingestMySqlSqlStatsMetric") + .appendQueryParam("databaseId", request.getDatabaseId()) + .appendQueryParam("id", request.getId()) + .accept("application/json") + .appendHeader("opc-request-id", request.getOpcRequestId()) + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.opsi.model.IngestMySqlSqlStatsResponseDetails.class, + IngestMySqlSqlStatsResponse.Builder::ingestMySqlSqlStatsResponseDetails) + .handleResponseHeaderString( + "opc-request-id", IngestMySqlSqlStatsResponse.Builder::opcRequestId) + .handleResponseHeaderString("etag", IngestMySqlSqlStatsResponse.Builder::etag) + .callAsync(handler); + } + + @Override + public java.util.concurrent.Future ingestMySqlSqlText( + IngestMySqlSqlTextRequest request, + final com.oracle.bmc.responses.AsyncHandler< + IngestMySqlSqlTextRequest, IngestMySqlSqlTextResponse> + handler) { + Objects.requireNonNull( + request.getIngestMySqlSqlTextDetails(), "ingestMySqlSqlTextDetails is required"); + + return clientCall(request, IngestMySqlSqlTextResponse::builder) + .logger(LOG, "ingestMySqlSqlText") + .serviceDetails( + "OperationsInsights", + "IngestMySqlSqlText", + "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/IngestMySqlSqlText") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(IngestMySqlSqlTextRequest::builder) + .basePath("/20200630") + .appendPathParam("databaseInsights") + .appendPathParam("actions") + .appendPathParam("ingestMySqlSqlText") + .appendQueryParam("compartmentId", request.getCompartmentId()) + .appendQueryParam("databaseId", request.getDatabaseId()) + .appendQueryParam("id", request.getId()) + .accept("application/json") + .appendHeader("opc-request-id", request.getOpcRequestId()) + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.opsi.model.IngestMySqlSqlTextResponseDetails.class, + IngestMySqlSqlTextResponse.Builder::ingestMySqlSqlTextResponseDetails) + .handleResponseHeaderString( + "opc-request-id", IngestMySqlSqlTextResponse.Builder::opcRequestId) + .handleResponseHeaderString("etag", IngestMySqlSqlTextResponse.Builder::etag) + .callAsync(handler); + } + @Override public java.util.concurrent.Future ingestSqlBucket( IngestSqlBucketRequest request, @@ -7704,6 +7779,7 @@ public java.util.concurrent.Future summarizeExa .appendQueryParam("lowUtilizationThreshold", request.getLowUtilizationThreshold()) .appendQueryParam("mountPoint", request.getMountPoint()) .appendQueryParam("interfaceName", request.getInterfaceName()) + .appendQueryParam("gpuId", request.getGpuId()) .appendListQueryParam( "status", request.getStatus(), diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/OperationsInsightsClient.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/OperationsInsightsClient.java index a9de4401076..05f7bb03890 100644 --- a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/OperationsInsightsClient.java +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/OperationsInsightsClient.java @@ -2597,6 +2597,75 @@ public IngestHostMetricsResponse ingestHostMetrics(IngestHostMetricsRequest requ .callSync(); } + @Override + public IngestMySqlSqlStatsResponse ingestMySqlSqlStats(IngestMySqlSqlStatsRequest request) { + Objects.requireNonNull( + request.getIngestMySqlSqlStatsDetails(), "ingestMySqlSqlStatsDetails is required"); + + return clientCall(request, IngestMySqlSqlStatsResponse::builder) + .logger(LOG, "ingestMySqlSqlStats") + .serviceDetails( + "OperationsInsights", + "IngestMySqlSqlStats", + "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/IngestMySqlSqlStats") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(IngestMySqlSqlStatsRequest::builder) + .basePath("/20200630") + .appendPathParam("databaseInsights") + .appendPathParam("actions") + .appendPathParam("ingestMySqlSqlStatsMetric") + .appendQueryParam("databaseId", request.getDatabaseId()) + .appendQueryParam("id", request.getId()) + .accept("application/json") + .appendHeader("opc-request-id", request.getOpcRequestId()) + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .operationUsesDefaultRetries() + .hasBody() + .handleBody( + com.oracle.bmc.opsi.model.IngestMySqlSqlStatsResponseDetails.class, + IngestMySqlSqlStatsResponse.Builder::ingestMySqlSqlStatsResponseDetails) + .handleResponseHeaderString( + "opc-request-id", IngestMySqlSqlStatsResponse.Builder::opcRequestId) + .handleResponseHeaderString("etag", IngestMySqlSqlStatsResponse.Builder::etag) + .callSync(); + } + + @Override + public IngestMySqlSqlTextResponse ingestMySqlSqlText(IngestMySqlSqlTextRequest request) { + Objects.requireNonNull( + request.getIngestMySqlSqlTextDetails(), "ingestMySqlSqlTextDetails is required"); + + return clientCall(request, IngestMySqlSqlTextResponse::builder) + .logger(LOG, "ingestMySqlSqlText") + .serviceDetails( + "OperationsInsights", + "IngestMySqlSqlText", + "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/IngestMySqlSqlText") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(IngestMySqlSqlTextRequest::builder) + .basePath("/20200630") + .appendPathParam("databaseInsights") + .appendPathParam("actions") + .appendPathParam("ingestMySqlSqlText") + .appendQueryParam("compartmentId", request.getCompartmentId()) + .appendQueryParam("databaseId", request.getDatabaseId()) + .appendQueryParam("id", request.getId()) + .accept("application/json") + .appendHeader("opc-request-id", request.getOpcRequestId()) + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .operationUsesDefaultRetries() + .hasBody() + .handleBody( + com.oracle.bmc.opsi.model.IngestMySqlSqlTextResponseDetails.class, + IngestMySqlSqlTextResponse.Builder::ingestMySqlSqlTextResponseDetails) + .handleResponseHeaderString( + "opc-request-id", IngestMySqlSqlTextResponse.Builder::opcRequestId) + .handleResponseHeaderString("etag", IngestMySqlSqlTextResponse.Builder::etag) + .callSync(); + } + @Override public IngestSqlBucketResponse ingestSqlBucket(IngestSqlBucketRequest request) { Objects.requireNonNull( @@ -7252,6 +7321,7 @@ public SummarizeHostInsightNetworkUsageTrendResponse summarizeHostInsightNetwork .appendQueryParam("lowUtilizationThreshold", request.getLowUtilizationThreshold()) .appendQueryParam("mountPoint", request.getMountPoint()) .appendQueryParam("interfaceName", request.getInterfaceName()) + .appendQueryParam("gpuId", request.getGpuId()) .appendListQueryParam( "status", request.getStatus(), diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/CreateDatabaseInsightDetails.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/CreateDatabaseInsightDetails.java index 766de61ae5b..e565afdd64a 100644 --- a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/CreateDatabaseInsightDetails.java +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/CreateDatabaseInsightDetails.java @@ -22,6 +22,9 @@ property = "entitySource", defaultImpl = CreateDatabaseInsightDetails.class) @com.fasterxml.jackson.annotation.JsonSubTypes({ + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = CreateMdsMySqlDatabaseInsightDetails.class, + name = "MDS_MYSQL_DATABASE_SYSTEM"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = CreateEmManagedExternalDatabaseInsightDetails.class, name = "EM_MANAGED_EXTERNAL_DATABASE"), diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/CreateMdsMySqlDatabaseInsightDetails.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/CreateMdsMySqlDatabaseInsightDetails.java new file mode 100644 index 00000000000..736c41acb03 --- /dev/null +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/CreateMdsMySqlDatabaseInsightDetails.java @@ -0,0 +1,187 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.opsi.model; + +/** + * The information about database to be analyzed.
+ * 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: 20200630") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = CreateMdsMySqlDatabaseInsightDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "entitySource") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class CreateMdsMySqlDatabaseInsightDetails extends CreateDatabaseInsightDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private java.util.Map freeformTags; + + public Builder freeformTags(java.util.Map freeformTags) { + this.freeformTags = freeformTags; + this.__explicitlySet__.add("freeformTags"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private java.util.Map> definedTags; + + public Builder definedTags( + java.util.Map> definedTags) { + this.definedTags = definedTags; + this.__explicitlySet__.add("definedTags"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the database. + */ + @com.fasterxml.jackson.annotation.JsonProperty("databaseId") + private String databaseId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the database. + * + * @param databaseId the value to set + * @return this builder + */ + public Builder databaseId(String databaseId) { + this.databaseId = databaseId; + this.__explicitlySet__.add("databaseId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public CreateMdsMySqlDatabaseInsightDetails build() { + CreateMdsMySqlDatabaseInsightDetails model = + new CreateMdsMySqlDatabaseInsightDetails( + this.compartmentId, + this.freeformTags, + this.definedTags, + this.databaseId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(CreateMdsMySqlDatabaseInsightDetails model) { + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } + if (model.wasPropertyExplicitlySet("databaseId")) { + this.databaseId(model.getDatabaseId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public CreateMdsMySqlDatabaseInsightDetails( + String compartmentId, + java.util.Map freeformTags, + java.util.Map> definedTags, + String databaseId) { + super(compartmentId, freeformTags, definedTags); + this.databaseId = databaseId; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the database. + */ + @com.fasterxml.jackson.annotation.JsonProperty("databaseId") + private final String databaseId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the database. + * + * @return the value + */ + public String getDatabaseId() { + return databaseId; + } + + @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("CreateMdsMySqlDatabaseInsightDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", databaseId=").append(String.valueOf(this.databaseId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CreateMdsMySqlDatabaseInsightDetails)) { + return false; + } + + CreateMdsMySqlDatabaseInsightDetails other = (CreateMdsMySqlDatabaseInsightDetails) o; + return java.util.Objects.equals(this.databaseId, other.databaseId) && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.databaseId == null ? 43 : this.databaseId.hashCode()); + return result; + } +} diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/DatabaseConfigurationSummary.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/DatabaseConfigurationSummary.java index 7b7842537ff..1569a4a6652 100644 --- a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/DatabaseConfigurationSummary.java +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/DatabaseConfigurationSummary.java @@ -33,7 +33,10 @@ name = "MACS_MANAGED_EXTERNAL_DATABASE"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = PeComanagedManagedExternalDatabaseConfigurationSummary.class, - name = "PE_COMANAGED_DATABASE") + name = "PE_COMANAGED_DATABASE"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = MdsMysqlDatabaseConfigurationSummary.class, + name = "MDS_MYSQL_DATABASE_SYSTEM") }) @com.fasterxml.jackson.annotation.JsonFilter( com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/DatabaseEntitySource.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/DatabaseEntitySource.java index b699c8ff901..58a0deaea37 100644 --- a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/DatabaseEntitySource.java +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/DatabaseEntitySource.java @@ -12,6 +12,7 @@ public enum DatabaseEntitySource implements com.oracle.bmc.http.internal.BmcEnum { EmManagedExternalDatabase("EM_MANAGED_EXTERNAL_DATABASE"), PeComanagedDatabase("PE_COMANAGED_DATABASE"), + MdsMysqlDatabaseSystem("MDS_MYSQL_DATABASE_SYSTEM"), ; private final String value; diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/DatabaseEntitySourceAll.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/DatabaseEntitySourceAll.java index 9c187cbd9e2..72d74566a93 100644 --- a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/DatabaseEntitySourceAll.java +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/DatabaseEntitySourceAll.java @@ -11,6 +11,7 @@ public enum DatabaseEntitySourceAll implements com.oracle.bmc.http.internal.BmcE EmManagedExternalDatabase("EM_MANAGED_EXTERNAL_DATABASE"), MacsManagedExternalDatabase("MACS_MANAGED_EXTERNAL_DATABASE"), PeComanagedDatabase("PE_COMANAGED_DATABASE"), + MdsMysqlDatabaseSystem("MDS_MYSQL_DATABASE_SYSTEM"), /** * This value is used if a service returns a value for this enum that is not recognized by this diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/DatabaseInsight.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/DatabaseInsight.java index 194cd7f982e..5a39ead50af 100644 --- a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/DatabaseInsight.java +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/DatabaseInsight.java @@ -33,7 +33,10 @@ name = "PE_COMANAGED_DATABASE"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = AutonomousDatabaseInsight.class, - name = "AUTONOMOUS_DATABASE") + name = "AUTONOMOUS_DATABASE"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = MdsMySqlDatabaseInsight.class, + name = "MDS_MYSQL_DATABASE_SYSTEM") }) @com.fasterxml.jackson.annotation.JsonFilter( com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/DatabaseInsightSummary.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/DatabaseInsightSummary.java index cc1c29265ee..518764fc843 100644 --- a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/DatabaseInsightSummary.java +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/DatabaseInsightSummary.java @@ -28,6 +28,9 @@ @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = AutonomousDatabaseInsightSummary.class, name = "AUTONOMOUS_DATABASE"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = MdsMySqlDatabaseInsightSummary.class, + name = "MDS_MYSQL_DATABASE_SYSTEM"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = PeComanagedDatabaseInsightSummary.class, name = "PE_COMANAGED_DATABASE"), diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/EnableDatabaseInsightDetails.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/EnableDatabaseInsightDetails.java index e84fdc1e64c..0cd877d3bb3 100644 --- a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/EnableDatabaseInsightDetails.java +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/EnableDatabaseInsightDetails.java @@ -25,6 +25,9 @@ @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = EnableEmManagedExternalDatabaseInsightDetails.class, name = "EM_MANAGED_EXTERNAL_DATABASE"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = EnableMdsMySqlDatabaseInsightDetails.class, + name = "MDS_MYSQL_DATABASE_SYSTEM"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = EnablePeComanagedDatabaseInsightDetails.class, name = "PE_COMANAGED_DATABASE") diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/EnableMdsMySqlDatabaseInsightDetails.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/EnableMdsMySqlDatabaseInsightDetails.java new file mode 100644 index 00000000000..cbbf1290e0c --- /dev/null +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/EnableMdsMySqlDatabaseInsightDetails.java @@ -0,0 +1,100 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.opsi.model; + +/** + * The information about database to be analyzed.
+ * 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: 20200630") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = EnableMdsMySqlDatabaseInsightDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "entitySource") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class EnableMdsMySqlDatabaseInsightDetails extends EnableDatabaseInsightDetails { + @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 EnableMdsMySqlDatabaseInsightDetails build() { + EnableMdsMySqlDatabaseInsightDetails model = new EnableMdsMySqlDatabaseInsightDetails(); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(EnableMdsMySqlDatabaseInsightDetails model) { + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public EnableMdsMySqlDatabaseInsightDetails() { + 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("EnableMdsMySqlDatabaseInsightDetails("); + 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 EnableMdsMySqlDatabaseInsightDetails)) { + return false; + } + + EnableMdsMySqlDatabaseInsightDetails other = (EnableMdsMySqlDatabaseInsightDetails) o; + return super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + return result; + } +} diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/HostContainers.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/HostContainers.java new file mode 100644 index 00000000000..50f38e91fcf --- /dev/null +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/HostContainers.java @@ -0,0 +1,267 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.opsi.model; + +/** + * Host Containers 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: 20200630") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = HostContainers.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "metricName") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class HostContainers extends HostPerformanceMetricGroup { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + @com.fasterxml.jackson.annotation.JsonProperty("timeCollected") + private java.util.Date timeCollected; + + public Builder timeCollected(java.util.Date timeCollected) { + this.timeCollected = timeCollected; + this.__explicitlySet__.add("timeCollected"); + return this; + } + /** Container Id (full) */ + @com.fasterxml.jackson.annotation.JsonProperty("containerId") + private String containerId; + + /** + * Container Id (full) + * + * @param containerId the value to set + * @return this builder + */ + public Builder containerId(String containerId) { + this.containerId = containerId; + this.__explicitlySet__.add("containerId"); + return this; + } + /** Container Name */ + @com.fasterxml.jackson.annotation.JsonProperty("containerName") + private String containerName; + + /** + * Container Name + * + * @param containerName the value to set + * @return this builder + */ + public Builder containerName(String containerName) { + this.containerName = containerName; + this.__explicitlySet__.add("containerName"); + return this; + } + /** Container Image (may include tag version) */ + @com.fasterxml.jackson.annotation.JsonProperty("containerImage") + private String containerImage; + + /** + * Container Image (may include tag version) + * + * @param containerImage the value to set + * @return this builder + */ + public Builder containerImage(String containerImage) { + this.containerImage = containerImage; + this.__explicitlySet__.add("containerImage"); + return this; + } + /** Container open ports */ + @com.fasterxml.jackson.annotation.JsonProperty("containerPorts") + private String containerPorts; + + /** + * Container open ports + * + * @param containerPorts the value to set + * @return this builder + */ + public Builder containerPorts(String containerPorts) { + this.containerPorts = containerPorts; + this.__explicitlySet__.add("containerPorts"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public HostContainers build() { + HostContainers model = + new HostContainers( + this.timeCollected, + this.containerId, + this.containerName, + this.containerImage, + this.containerPorts); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(HostContainers model) { + if (model.wasPropertyExplicitlySet("timeCollected")) { + this.timeCollected(model.getTimeCollected()); + } + if (model.wasPropertyExplicitlySet("containerId")) { + this.containerId(model.getContainerId()); + } + if (model.wasPropertyExplicitlySet("containerName")) { + this.containerName(model.getContainerName()); + } + if (model.wasPropertyExplicitlySet("containerImage")) { + this.containerImage(model.getContainerImage()); + } + if (model.wasPropertyExplicitlySet("containerPorts")) { + this.containerPorts(model.getContainerPorts()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public HostContainers( + java.util.Date timeCollected, + String containerId, + String containerName, + String containerImage, + String containerPorts) { + super(timeCollected); + this.containerId = containerId; + this.containerName = containerName; + this.containerImage = containerImage; + this.containerPorts = containerPorts; + } + + /** Container Id (full) */ + @com.fasterxml.jackson.annotation.JsonProperty("containerId") + private final String containerId; + + /** + * Container Id (full) + * + * @return the value + */ + public String getContainerId() { + return containerId; + } + + /** Container Name */ + @com.fasterxml.jackson.annotation.JsonProperty("containerName") + private final String containerName; + + /** + * Container Name + * + * @return the value + */ + public String getContainerName() { + return containerName; + } + + /** Container Image (may include tag version) */ + @com.fasterxml.jackson.annotation.JsonProperty("containerImage") + private final String containerImage; + + /** + * Container Image (may include tag version) + * + * @return the value + */ + public String getContainerImage() { + return containerImage; + } + + /** Container open ports */ + @com.fasterxml.jackson.annotation.JsonProperty("containerPorts") + private final String containerPorts; + + /** + * Container open ports + * + * @return the value + */ + public String getContainerPorts() { + return containerPorts; + } + + @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("HostContainers("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", containerId=").append(String.valueOf(this.containerId)); + sb.append(", containerName=").append(String.valueOf(this.containerName)); + sb.append(", containerImage=").append(String.valueOf(this.containerImage)); + sb.append(", containerPorts=").append(String.valueOf(this.containerPorts)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof HostContainers)) { + return false; + } + + HostContainers other = (HostContainers) o; + return java.util.Objects.equals(this.containerId, other.containerId) + && java.util.Objects.equals(this.containerName, other.containerName) + && java.util.Objects.equals(this.containerImage, other.containerImage) + && java.util.Objects.equals(this.containerPorts, other.containerPorts) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.containerId == null ? 43 : this.containerId.hashCode()); + result = + (result * PRIME) + + (this.containerName == null ? 43 : this.containerName.hashCode()); + result = + (result * PRIME) + + (this.containerImage == null ? 43 : this.containerImage.hashCode()); + result = + (result * PRIME) + + (this.containerPorts == null ? 43 : this.containerPorts.hashCode()); + return result; + } +} diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/HostFilesystemUsage.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/HostFilesystemUsage.java index 826008a30b2..7b9d5e63bec 100644 --- a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/HostFilesystemUsage.java +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/HostFilesystemUsage.java @@ -69,6 +69,15 @@ public Builder fileSystemAvailInPercent(Double fileSystemAvailInPercent) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("fileSystemAvailInGBs") + private Double fileSystemAvailInGBs; + + public Builder fileSystemAvailInGBs(Double fileSystemAvailInGBs) { + this.fileSystemAvailInGBs = fileSystemAvailInGBs; + this.__explicitlySet__.add("fileSystemAvailInGBs"); + return this; + } + @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -78,7 +87,8 @@ public HostFilesystemUsage build() { this.timeCollected, this.mountPoint, this.fileSystemUsageInGB, - this.fileSystemAvailInPercent); + this.fileSystemAvailInPercent, + this.fileSystemAvailInGBs); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -99,6 +109,9 @@ public Builder copy(HostFilesystemUsage model) { if (model.wasPropertyExplicitlySet("fileSystemAvailInPercent")) { this.fileSystemAvailInPercent(model.getFileSystemAvailInPercent()); } + if (model.wasPropertyExplicitlySet("fileSystemAvailInGBs")) { + this.fileSystemAvailInGBs(model.getFileSystemAvailInGBs()); + } return this; } } @@ -117,11 +130,13 @@ public HostFilesystemUsage( java.util.Date timeCollected, String mountPoint, Double fileSystemUsageInGB, - Double fileSystemAvailInPercent) { + Double fileSystemAvailInPercent, + Double fileSystemAvailInGBs) { super(timeCollected); this.mountPoint = mountPoint; this.fileSystemUsageInGB = fileSystemUsageInGB; this.fileSystemAvailInPercent = fileSystemAvailInPercent; + this.fileSystemAvailInGBs = fileSystemAvailInGBs; } /** Mount points are specialized NTFS filesystem objects */ @@ -151,6 +166,13 @@ public Double getFileSystemAvailInPercent() { return fileSystemAvailInPercent; } + @com.fasterxml.jackson.annotation.JsonProperty("fileSystemAvailInGBs") + private final Double fileSystemAvailInGBs; + + public Double getFileSystemAvailInGBs() { + return fileSystemAvailInGBs; + } + @Override public String toString() { return this.toString(true); @@ -170,6 +192,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", fileSystemUsageInGB=").append(String.valueOf(this.fileSystemUsageInGB)); sb.append(", fileSystemAvailInPercent=") .append(String.valueOf(this.fileSystemAvailInPercent)); + sb.append(", fileSystemAvailInGBs=").append(String.valueOf(this.fileSystemAvailInGBs)); sb.append(")"); return sb.toString(); } @@ -188,6 +211,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.fileSystemUsageInGB, other.fileSystemUsageInGB) && java.util.Objects.equals( this.fileSystemAvailInPercent, other.fileSystemAvailInPercent) + && java.util.Objects.equals(this.fileSystemAvailInGBs, other.fileSystemAvailInGBs) && super.equals(other); } @@ -206,6 +230,11 @@ public int hashCode() { + (this.fileSystemAvailInPercent == null ? 43 : this.fileSystemAvailInPercent.hashCode()); + result = + (result * PRIME) + + (this.fileSystemAvailInGBs == null + ? 43 + : this.fileSystemAvailInGBs.hashCode()); return result; } } diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/HostIoUsage.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/HostIoUsage.java new file mode 100644 index 00000000000..14735914a45 --- /dev/null +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/HostIoUsage.java @@ -0,0 +1,341 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.opsi.model; + +/** + * Host IO Performance Metrics
+ * 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: 20200630") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = HostIoUsage.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "metricName") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class HostIoUsage extends HostPerformanceMetricGroup { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + @com.fasterxml.jackson.annotation.JsonProperty("timeCollected") + private java.util.Date timeCollected; + + public Builder timeCollected(java.util.Date timeCollected) { + this.timeCollected = timeCollected; + this.__explicitlySet__.add("timeCollected"); + return this; + } + /** Mount point */ + @com.fasterxml.jackson.annotation.JsonProperty("mountPoint") + private String mountPoint; + + /** + * Mount point + * + * @param mountPoint the value to set + * @return this builder + */ + public Builder mountPoint(String mountPoint) { + this.mountPoint = mountPoint; + this.__explicitlySet__.add("mountPoint"); + return this; + } + /** Bytes Read */ + @com.fasterxml.jackson.annotation.JsonProperty("diskBytesRead") + private Double diskBytesRead; + + /** + * Bytes Read + * + * @param diskBytesRead the value to set + * @return this builder + */ + public Builder diskBytesRead(Double diskBytesRead) { + this.diskBytesRead = diskBytesRead; + this.__explicitlySet__.add("diskBytesRead"); + return this; + } + /** Bytes Written */ + @com.fasterxml.jackson.annotation.JsonProperty("diskBytesWritten") + private Double diskBytesWritten; + + /** + * Bytes Written + * + * @param diskBytesWritten the value to set + * @return this builder + */ + public Builder diskBytesWritten(Double diskBytesWritten) { + this.diskBytesWritten = diskBytesWritten; + this.__explicitlySet__.add("diskBytesWritten"); + return this; + } + /** Read transactions per second */ + @com.fasterxml.jackson.annotation.JsonProperty("diskIopsRead") + private Double diskIopsRead; + + /** + * Read transactions per second + * + * @param diskIopsRead the value to set + * @return this builder + */ + public Builder diskIopsRead(Double diskIopsRead) { + this.diskIopsRead = diskIopsRead; + this.__explicitlySet__.add("diskIopsRead"); + return this; + } + /** Write transactions per second */ + @com.fasterxml.jackson.annotation.JsonProperty("diskIopsWritten") + private Double diskIopsWritten; + + /** + * Write transactions per second + * + * @param diskIopsWritten the value to set + * @return this builder + */ + public Builder diskIopsWritten(Double diskIopsWritten) { + this.diskIopsWritten = diskIopsWritten; + this.__explicitlySet__.add("diskIopsWritten"); + return this; + } + /** IO Transactions per second */ + @com.fasterxml.jackson.annotation.JsonProperty("diskIops") + private Double diskIops; + + /** + * IO Transactions per second + * + * @param diskIops the value to set + * @return this builder + */ + public Builder diskIops(Double diskIops) { + this.diskIops = diskIops; + this.__explicitlySet__.add("diskIops"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public HostIoUsage build() { + HostIoUsage model = + new HostIoUsage( + this.timeCollected, + this.mountPoint, + this.diskBytesRead, + this.diskBytesWritten, + this.diskIopsRead, + this.diskIopsWritten, + this.diskIops); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(HostIoUsage model) { + if (model.wasPropertyExplicitlySet("timeCollected")) { + this.timeCollected(model.getTimeCollected()); + } + if (model.wasPropertyExplicitlySet("mountPoint")) { + this.mountPoint(model.getMountPoint()); + } + if (model.wasPropertyExplicitlySet("diskBytesRead")) { + this.diskBytesRead(model.getDiskBytesRead()); + } + if (model.wasPropertyExplicitlySet("diskBytesWritten")) { + this.diskBytesWritten(model.getDiskBytesWritten()); + } + if (model.wasPropertyExplicitlySet("diskIopsRead")) { + this.diskIopsRead(model.getDiskIopsRead()); + } + if (model.wasPropertyExplicitlySet("diskIopsWritten")) { + this.diskIopsWritten(model.getDiskIopsWritten()); + } + if (model.wasPropertyExplicitlySet("diskIops")) { + this.diskIops(model.getDiskIops()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public HostIoUsage( + java.util.Date timeCollected, + String mountPoint, + Double diskBytesRead, + Double diskBytesWritten, + Double diskIopsRead, + Double diskIopsWritten, + Double diskIops) { + super(timeCollected); + this.mountPoint = mountPoint; + this.diskBytesRead = diskBytesRead; + this.diskBytesWritten = diskBytesWritten; + this.diskIopsRead = diskIopsRead; + this.diskIopsWritten = diskIopsWritten; + this.diskIops = diskIops; + } + + /** Mount point */ + @com.fasterxml.jackson.annotation.JsonProperty("mountPoint") + private final String mountPoint; + + /** + * Mount point + * + * @return the value + */ + public String getMountPoint() { + return mountPoint; + } + + /** Bytes Read */ + @com.fasterxml.jackson.annotation.JsonProperty("diskBytesRead") + private final Double diskBytesRead; + + /** + * Bytes Read + * + * @return the value + */ + public Double getDiskBytesRead() { + return diskBytesRead; + } + + /** Bytes Written */ + @com.fasterxml.jackson.annotation.JsonProperty("diskBytesWritten") + private final Double diskBytesWritten; + + /** + * Bytes Written + * + * @return the value + */ + public Double getDiskBytesWritten() { + return diskBytesWritten; + } + + /** Read transactions per second */ + @com.fasterxml.jackson.annotation.JsonProperty("diskIopsRead") + private final Double diskIopsRead; + + /** + * Read transactions per second + * + * @return the value + */ + public Double getDiskIopsRead() { + return diskIopsRead; + } + + /** Write transactions per second */ + @com.fasterxml.jackson.annotation.JsonProperty("diskIopsWritten") + private final Double diskIopsWritten; + + /** + * Write transactions per second + * + * @return the value + */ + public Double getDiskIopsWritten() { + return diskIopsWritten; + } + + /** IO Transactions per second */ + @com.fasterxml.jackson.annotation.JsonProperty("diskIops") + private final Double diskIops; + + /** + * IO Transactions per second + * + * @return the value + */ + public Double getDiskIops() { + return diskIops; + } + + @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("HostIoUsage("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", mountPoint=").append(String.valueOf(this.mountPoint)); + sb.append(", diskBytesRead=").append(String.valueOf(this.diskBytesRead)); + sb.append(", diskBytesWritten=").append(String.valueOf(this.diskBytesWritten)); + sb.append(", diskIopsRead=").append(String.valueOf(this.diskIopsRead)); + sb.append(", diskIopsWritten=").append(String.valueOf(this.diskIopsWritten)); + sb.append(", diskIops=").append(String.valueOf(this.diskIops)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof HostIoUsage)) { + return false; + } + + HostIoUsage other = (HostIoUsage) o; + return java.util.Objects.equals(this.mountPoint, other.mountPoint) + && java.util.Objects.equals(this.diskBytesRead, other.diskBytesRead) + && java.util.Objects.equals(this.diskBytesWritten, other.diskBytesWritten) + && java.util.Objects.equals(this.diskIopsRead, other.diskIopsRead) + && java.util.Objects.equals(this.diskIopsWritten, other.diskIopsWritten) + && java.util.Objects.equals(this.diskIops, other.diskIops) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.mountPoint == null ? 43 : this.mountPoint.hashCode()); + result = + (result * PRIME) + + (this.diskBytesRead == null ? 43 : this.diskBytesRead.hashCode()); + result = + (result * PRIME) + + (this.diskBytesWritten == null ? 43 : this.diskBytesWritten.hashCode()); + result = (result * PRIME) + (this.diskIopsRead == null ? 43 : this.diskIopsRead.hashCode()); + result = + (result * PRIME) + + (this.diskIopsWritten == null ? 43 : this.diskIopsWritten.hashCode()); + result = (result * PRIME) + (this.diskIops == null ? 43 : this.diskIops.hashCode()); + return result; + } +} diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/HostPerformanceMetricGroup.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/HostPerformanceMetricGroup.java index 587233bc79c..0e7ad3912bd 100644 --- a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/HostPerformanceMetricGroup.java +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/HostPerformanceMetricGroup.java @@ -31,6 +31,9 @@ @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = HostCpuUsage.class, name = "HOST_CPU_USAGE"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = HostContainers.class, + name = "HOST_CONTAINERS"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = HostGpuUsage.class, name = "HOST_GPU_USAGE"), @@ -40,6 +43,9 @@ @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = HostFilesystemUsage.class, name = "HOST_FILESYSTEM_USAGE"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = HostIoUsage.class, + name = "HOST_IO_USAGE"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = HostNetworkActivitySummary.class, name = "HOST_NETWORK_ACTIVITY_SUMMARY") @@ -122,6 +128,8 @@ public enum MetricName implements com.oracle.bmc.http.internal.BmcEnum { HostFilesystemUsage("HOST_FILESYSTEM_USAGE"), HostGpuUsage("HOST_GPU_USAGE"), HostGpuProcesses("HOST_GPU_PROCESSES"), + HostIoUsage("HOST_IO_USAGE"), + HostContainers("HOST_CONTAINERS"), ; private final String value; diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/HostTopProcesses.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/HostTopProcesses.java index 9362405f7aa..0a9e8554927 100644 --- a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/HostTopProcesses.java +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/HostTopProcesses.java @@ -199,6 +199,81 @@ public Builder containerId(String containerId) { this.__explicitlySet__.add("containerId"); return this; } + /** Bytes Read */ + @com.fasterxml.jackson.annotation.JsonProperty("diskBytesRead") + private Double diskBytesRead; + + /** + * Bytes Read + * + * @param diskBytesRead the value to set + * @return this builder + */ + public Builder diskBytesRead(Double diskBytesRead) { + this.diskBytesRead = diskBytesRead; + this.__explicitlySet__.add("diskBytesRead"); + return this; + } + /** Bytes Written */ + @com.fasterxml.jackson.annotation.JsonProperty("diskBytesWritten") + private Double diskBytesWritten; + + /** + * Bytes Written + * + * @param diskBytesWritten the value to set + * @return this builder + */ + public Builder diskBytesWritten(Double diskBytesWritten) { + this.diskBytesWritten = diskBytesWritten; + this.__explicitlySet__.add("diskBytesWritten"); + return this; + } + /** Read transactions per second */ + @com.fasterxml.jackson.annotation.JsonProperty("diskIopsRead") + private Double diskIopsRead; + + /** + * Read transactions per second + * + * @param diskIopsRead the value to set + * @return this builder + */ + public Builder diskIopsRead(Double diskIopsRead) { + this.diskIopsRead = diskIopsRead; + this.__explicitlySet__.add("diskIopsRead"); + return this; + } + /** Write transactions per second */ + @com.fasterxml.jackson.annotation.JsonProperty("diskIopsWritten") + private Double diskIopsWritten; + + /** + * Write transactions per second + * + * @param diskIopsWritten the value to set + * @return this builder + */ + public Builder diskIopsWritten(Double diskIopsWritten) { + this.diskIopsWritten = diskIopsWritten; + this.__explicitlySet__.add("diskIopsWritten"); + return this; + } + /** IO Transactions per second */ + @com.fasterxml.jackson.annotation.JsonProperty("diskIops") + private Double diskIops; + + /** + * IO Transactions per second + * + * @param diskIops the value to set + * @return this builder + */ + public Builder diskIops(Double diskIops) { + this.diskIops = diskIops; + this.__explicitlySet__.add("diskIops"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -217,7 +292,12 @@ public HostTopProcesses build() { this.physicalMemoryInMBs, this.startTime, this.totalProcesses, - this.containerId); + this.containerId, + this.diskBytesRead, + this.diskBytesWritten, + this.diskIopsRead, + this.diskIopsWritten, + this.diskIops); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -262,6 +342,21 @@ public Builder copy(HostTopProcesses model) { if (model.wasPropertyExplicitlySet("containerId")) { this.containerId(model.getContainerId()); } + if (model.wasPropertyExplicitlySet("diskBytesRead")) { + this.diskBytesRead(model.getDiskBytesRead()); + } + if (model.wasPropertyExplicitlySet("diskBytesWritten")) { + this.diskBytesWritten(model.getDiskBytesWritten()); + } + if (model.wasPropertyExplicitlySet("diskIopsRead")) { + this.diskIopsRead(model.getDiskIopsRead()); + } + if (model.wasPropertyExplicitlySet("diskIopsWritten")) { + this.diskIopsWritten(model.getDiskIopsWritten()); + } + if (model.wasPropertyExplicitlySet("diskIops")) { + this.diskIops(model.getDiskIops()); + } return this; } } @@ -288,7 +383,12 @@ public HostTopProcesses( Double physicalMemoryInMBs, java.util.Date startTime, java.math.BigDecimal totalProcesses, - String containerId) { + String containerId, + Double diskBytesRead, + Double diskBytesWritten, + Double diskIopsRead, + Double diskIopsWritten, + Double diskIops) { super(timeCollected); this.pid = pid; this.userName = userName; @@ -301,6 +401,11 @@ public HostTopProcesses( this.startTime = startTime; this.totalProcesses = totalProcesses; this.containerId = containerId; + this.diskBytesRead = diskBytesRead; + this.diskBytesWritten = diskBytesWritten; + this.diskIopsRead = diskIopsRead; + this.diskIopsWritten = diskIopsWritten; + this.diskIops = diskIops; } /** process id */ @@ -446,6 +551,71 @@ public String getContainerId() { return containerId; } + /** Bytes Read */ + @com.fasterxml.jackson.annotation.JsonProperty("diskBytesRead") + private final Double diskBytesRead; + + /** + * Bytes Read + * + * @return the value + */ + public Double getDiskBytesRead() { + return diskBytesRead; + } + + /** Bytes Written */ + @com.fasterxml.jackson.annotation.JsonProperty("diskBytesWritten") + private final Double diskBytesWritten; + + /** + * Bytes Written + * + * @return the value + */ + public Double getDiskBytesWritten() { + return diskBytesWritten; + } + + /** Read transactions per second */ + @com.fasterxml.jackson.annotation.JsonProperty("diskIopsRead") + private final Double diskIopsRead; + + /** + * Read transactions per second + * + * @return the value + */ + public Double getDiskIopsRead() { + return diskIopsRead; + } + + /** Write transactions per second */ + @com.fasterxml.jackson.annotation.JsonProperty("diskIopsWritten") + private final Double diskIopsWritten; + + /** + * Write transactions per second + * + * @return the value + */ + public Double getDiskIopsWritten() { + return diskIopsWritten; + } + + /** IO Transactions per second */ + @com.fasterxml.jackson.annotation.JsonProperty("diskIops") + private final Double diskIops; + + /** + * IO Transactions per second + * + * @return the value + */ + public Double getDiskIops() { + return diskIops; + } + @Override public String toString() { return this.toString(true); @@ -473,6 +643,11 @@ public String toString(boolean includeByteArrayContents) { sb.append(", startTime=").append(String.valueOf(this.startTime)); sb.append(", totalProcesses=").append(String.valueOf(this.totalProcesses)); sb.append(", containerId=").append(String.valueOf(this.containerId)); + sb.append(", diskBytesRead=").append(String.valueOf(this.diskBytesRead)); + sb.append(", diskBytesWritten=").append(String.valueOf(this.diskBytesWritten)); + sb.append(", diskIopsRead=").append(String.valueOf(this.diskIopsRead)); + sb.append(", diskIopsWritten=").append(String.valueOf(this.diskIopsWritten)); + sb.append(", diskIops=").append(String.valueOf(this.diskIops)); sb.append(")"); return sb.toString(); } @@ -499,6 +674,11 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.startTime, other.startTime) && java.util.Objects.equals(this.totalProcesses, other.totalProcesses) && java.util.Objects.equals(this.containerId, other.containerId) + && java.util.Objects.equals(this.diskBytesRead, other.diskBytesRead) + && java.util.Objects.equals(this.diskBytesWritten, other.diskBytesWritten) + && java.util.Objects.equals(this.diskIopsRead, other.diskIopsRead) + && java.util.Objects.equals(this.diskIopsWritten, other.diskIopsWritten) + && java.util.Objects.equals(this.diskIops, other.diskIops) && super.equals(other); } @@ -537,6 +717,17 @@ public int hashCode() { (result * PRIME) + (this.totalProcesses == null ? 43 : this.totalProcesses.hashCode()); result = (result * PRIME) + (this.containerId == null ? 43 : this.containerId.hashCode()); + result = + (result * PRIME) + + (this.diskBytesRead == null ? 43 : this.diskBytesRead.hashCode()); + result = + (result * PRIME) + + (this.diskBytesWritten == null ? 43 : this.diskBytesWritten.hashCode()); + result = (result * PRIME) + (this.diskIopsRead == null ? 43 : this.diskIopsRead.hashCode()); + result = + (result * PRIME) + + (this.diskIopsWritten == null ? 43 : this.diskIopsWritten.hashCode()); + result = (result * PRIME) + (this.diskIops == null ? 43 : this.diskIops.hashCode()); return result; } } diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/IngestMySqlSqlStatsDetails.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/IngestMySqlSqlStatsDetails.java new file mode 100644 index 00000000000..226bd434f88 --- /dev/null +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/IngestMySqlSqlStatsDetails.java @@ -0,0 +1,133 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.opsi.model; + +/** + * Collection of MySql SQL Stats Metric Entries
+ * 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: 20200630") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = IngestMySqlSqlStatsDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class IngestMySqlSqlStatsDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"items"}) + public IngestMySqlSqlStatsDetails(java.util.List items) { + super(); + this.items = items; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** List of MySql SQL Stats Metric Entries. */ + @com.fasterxml.jackson.annotation.JsonProperty("items") + private java.util.List items; + + /** + * List of MySql SQL Stats Metric Entries. + * + * @param items the value to set + * @return this builder + */ + public Builder items(java.util.List items) { + this.items = items; + this.__explicitlySet__.add("items"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public IngestMySqlSqlStatsDetails build() { + IngestMySqlSqlStatsDetails model = new IngestMySqlSqlStatsDetails(this.items); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(IngestMySqlSqlStatsDetails model) { + if (model.wasPropertyExplicitlySet("items")) { + this.items(model.getItems()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** List of MySql SQL Stats Metric Entries. */ + @com.fasterxml.jackson.annotation.JsonProperty("items") + private final java.util.List items; + + /** + * List of MySql SQL Stats Metric Entries. + * + * @return the value + */ + public java.util.List getItems() { + return items; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("IngestMySqlSqlStatsDetails("); + sb.append("super=").append(super.toString()); + sb.append("items=").append(String.valueOf(this.items)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof IngestMySqlSqlStatsDetails)) { + return false; + } + + IngestMySqlSqlStatsDetails other = (IngestMySqlSqlStatsDetails) o; + return java.util.Objects.equals(this.items, other.items) && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.items == null ? 43 : this.items.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/IngestMySqlSqlStatsResponseDetails.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/IngestMySqlSqlStatsResponseDetails.java new file mode 100644 index 00000000000..a67d6a4b560 --- /dev/null +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/IngestMySqlSqlStatsResponseDetails.java @@ -0,0 +1,134 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.opsi.model; + +/** + * The response object returned from IngestMySqlSqlStats operation.
+ * 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: 20200630") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = IngestMySqlSqlStatsResponseDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class IngestMySqlSqlStatsResponseDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"message"}) + public IngestMySqlSqlStatsResponseDetails(String message) { + super(); + this.message = message; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** Success message returned as a result of the upload. */ + @com.fasterxml.jackson.annotation.JsonProperty("message") + private String message; + + /** + * Success message returned as a result of the upload. + * + * @param message the value to set + * @return this builder + */ + public Builder message(String message) { + this.message = message; + this.__explicitlySet__.add("message"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public IngestMySqlSqlStatsResponseDetails build() { + IngestMySqlSqlStatsResponseDetails model = + new IngestMySqlSqlStatsResponseDetails(this.message); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(IngestMySqlSqlStatsResponseDetails model) { + if (model.wasPropertyExplicitlySet("message")) { + this.message(model.getMessage()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** Success message returned as a result of the upload. */ + @com.fasterxml.jackson.annotation.JsonProperty("message") + private final String message; + + /** + * Success message returned as a result of the upload. + * + * @return the value + */ + public String getMessage() { + return message; + } + + @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("IngestMySqlSqlStatsResponseDetails("); + sb.append("super=").append(super.toString()); + sb.append("message=").append(String.valueOf(this.message)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof IngestMySqlSqlStatsResponseDetails)) { + return false; + } + + IngestMySqlSqlStatsResponseDetails other = (IngestMySqlSqlStatsResponseDetails) o; + return java.util.Objects.equals(this.message, other.message) && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.message == null ? 43 : this.message.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/MdsMySqlDatabaseInsight.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/MdsMySqlDatabaseInsight.java new file mode 100644 index 00000000000..9df733b496b --- /dev/null +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/MdsMySqlDatabaseInsight.java @@ -0,0 +1,610 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.opsi.model; + +/** + * Database insight resource.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * 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: 20200630") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = MdsMySqlDatabaseInsight.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "entitySource") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class MdsMySqlDatabaseInsight extends DatabaseInsight { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + @com.fasterxml.jackson.annotation.JsonProperty("id") + private String id; + + public Builder id(String id) { + this.id = id; + this.__explicitlySet__.add("id"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("status") + private ResourceStatus status; + + public Builder status(ResourceStatus status) { + this.status = status; + this.__explicitlySet__.add("status"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("databaseType") + private String databaseType; + + public Builder databaseType(String databaseType) { + this.databaseType = databaseType; + this.__explicitlySet__.add("databaseType"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("databaseVersion") + private String databaseVersion; + + public Builder databaseVersion(String databaseVersion) { + this.databaseVersion = databaseVersion; + this.__explicitlySet__.add("databaseVersion"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("processorCount") + private Integer processorCount; + + public Builder processorCount(Integer processorCount) { + this.processorCount = processorCount; + this.__explicitlySet__.add("processorCount"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private java.util.Map freeformTags; + + public Builder freeformTags(java.util.Map freeformTags) { + this.freeformTags = freeformTags; + this.__explicitlySet__.add("freeformTags"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private java.util.Map> definedTags; + + public Builder definedTags( + java.util.Map> definedTags) { + this.definedTags = definedTags; + this.__explicitlySet__.add("definedTags"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("systemTags") + private java.util.Map> systemTags; + + public Builder systemTags(java.util.Map> systemTags) { + this.systemTags = systemTags; + this.__explicitlySet__.add("systemTags"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") + private java.util.Date timeCreated; + + public Builder timeCreated(java.util.Date timeCreated) { + this.timeCreated = timeCreated; + this.__explicitlySet__.add("timeCreated"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeUpdated") + private java.util.Date timeUpdated; + + public Builder timeUpdated(java.util.Date timeUpdated) { + this.timeUpdated = timeUpdated; + this.__explicitlySet__.add("timeUpdated"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") + private LifecycleState lifecycleState; + + public Builder lifecycleState(LifecycleState lifecycleState) { + this.lifecycleState = lifecycleState; + this.__explicitlySet__.add("lifecycleState"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleDetails") + private String lifecycleDetails; + + public Builder lifecycleDetails(String lifecycleDetails) { + this.lifecycleDetails = lifecycleDetails; + this.__explicitlySet__.add("lifecycleDetails"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("databaseConnectionStatusDetails") + private String databaseConnectionStatusDetails; + + public Builder databaseConnectionStatusDetails(String databaseConnectionStatusDetails) { + this.databaseConnectionStatusDetails = databaseConnectionStatusDetails; + this.__explicitlySet__.add("databaseConnectionStatusDetails"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the database. + */ + @com.fasterxml.jackson.annotation.JsonProperty("databaseId") + private String databaseId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the database. + * + * @param databaseId the value to set + * @return this builder + */ + public Builder databaseId(String databaseId) { + this.databaseId = databaseId; + this.__explicitlySet__.add("databaseId"); + return this; + } + /** Name of database */ + @com.fasterxml.jackson.annotation.JsonProperty("databaseName") + private String databaseName; + + /** + * Name of database + * + * @param databaseName the value to set + * @return this builder + */ + public Builder databaseName(String databaseName) { + this.databaseName = databaseName; + this.__explicitlySet__.add("databaseName"); + return this; + } + /** Display name of database */ + @com.fasterxml.jackson.annotation.JsonProperty("databaseDisplayName") + private String databaseDisplayName; + + /** + * Display name of database + * + * @param databaseDisplayName the value to set + * @return this builder + */ + public Builder databaseDisplayName(String databaseDisplayName) { + this.databaseDisplayName = databaseDisplayName; + this.__explicitlySet__.add("databaseDisplayName"); + return this; + } + /** OCI database resource type */ + @com.fasterxml.jackson.annotation.JsonProperty("databaseResourceType") + private String databaseResourceType; + + /** + * OCI database resource type + * + * @param databaseResourceType the value to set + * @return this builder + */ + public Builder databaseResourceType(String databaseResourceType) { + this.databaseResourceType = databaseResourceType; + this.__explicitlySet__.add("databaseResourceType"); + return this; + } + /** Specifies if MYSQL DB System is highly available. */ + @com.fasterxml.jackson.annotation.JsonProperty("isHighlyAvailable") + private Boolean isHighlyAvailable; + + /** + * Specifies if MYSQL DB System is highly available. + * + * @param isHighlyAvailable the value to set + * @return this builder + */ + public Builder isHighlyAvailable(Boolean isHighlyAvailable) { + this.isHighlyAvailable = isHighlyAvailable; + this.__explicitlySet__.add("isHighlyAvailable"); + return this; + } + /** Specifies if MYSQL DB System has heatwave cluster attached. */ + @com.fasterxml.jackson.annotation.JsonProperty("isHeatWaveClusterAttached") + private Boolean isHeatWaveClusterAttached; + + /** + * Specifies if MYSQL DB System has heatwave cluster attached. + * + * @param isHeatWaveClusterAttached the value to set + * @return this builder + */ + public Builder isHeatWaveClusterAttached(Boolean isHeatWaveClusterAttached) { + this.isHeatWaveClusterAttached = isHeatWaveClusterAttached; + this.__explicitlySet__.add("isHeatWaveClusterAttached"); + return this; + } + /** + * Additional details of a db system in JSON format. For MySQL DB System, this is the + * DbSystem object serialized as a JSON string as defined in + * https://docs.oracle.com/en-us/iaas/api/#/en/mysql/20190415/DbSystem/. + */ + @com.fasterxml.jackson.annotation.JsonProperty("dbAdditionalDetails") + private Object dbAdditionalDetails; + + /** + * Additional details of a db system in JSON format. For MySQL DB System, this is the + * DbSystem object serialized as a JSON string as defined in + * https://docs.oracle.com/en-us/iaas/api/#/en/mysql/20190415/DbSystem/. + * + * @param dbAdditionalDetails the value to set + * @return this builder + */ + public Builder dbAdditionalDetails(Object dbAdditionalDetails) { + this.dbAdditionalDetails = dbAdditionalDetails; + this.__explicitlySet__.add("dbAdditionalDetails"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public MdsMySqlDatabaseInsight build() { + MdsMySqlDatabaseInsight model = + new MdsMySqlDatabaseInsight( + this.id, + this.compartmentId, + this.status, + this.databaseType, + this.databaseVersion, + this.processorCount, + this.freeformTags, + this.definedTags, + this.systemTags, + this.timeCreated, + this.timeUpdated, + this.lifecycleState, + this.lifecycleDetails, + this.databaseConnectionStatusDetails, + this.databaseId, + this.databaseName, + this.databaseDisplayName, + this.databaseResourceType, + this.isHighlyAvailable, + this.isHeatWaveClusterAttached, + this.dbAdditionalDetails); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(MdsMySqlDatabaseInsight model) { + if (model.wasPropertyExplicitlySet("id")) { + this.id(model.getId()); + } + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + if (model.wasPropertyExplicitlySet("status")) { + this.status(model.getStatus()); + } + if (model.wasPropertyExplicitlySet("databaseType")) { + this.databaseType(model.getDatabaseType()); + } + if (model.wasPropertyExplicitlySet("databaseVersion")) { + this.databaseVersion(model.getDatabaseVersion()); + } + if (model.wasPropertyExplicitlySet("processorCount")) { + this.processorCount(model.getProcessorCount()); + } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } + if (model.wasPropertyExplicitlySet("systemTags")) { + this.systemTags(model.getSystemTags()); + } + if (model.wasPropertyExplicitlySet("timeCreated")) { + this.timeCreated(model.getTimeCreated()); + } + if (model.wasPropertyExplicitlySet("timeUpdated")) { + this.timeUpdated(model.getTimeUpdated()); + } + if (model.wasPropertyExplicitlySet("lifecycleState")) { + this.lifecycleState(model.getLifecycleState()); + } + if (model.wasPropertyExplicitlySet("lifecycleDetails")) { + this.lifecycleDetails(model.getLifecycleDetails()); + } + if (model.wasPropertyExplicitlySet("databaseConnectionStatusDetails")) { + this.databaseConnectionStatusDetails(model.getDatabaseConnectionStatusDetails()); + } + if (model.wasPropertyExplicitlySet("databaseId")) { + this.databaseId(model.getDatabaseId()); + } + if (model.wasPropertyExplicitlySet("databaseName")) { + this.databaseName(model.getDatabaseName()); + } + if (model.wasPropertyExplicitlySet("databaseDisplayName")) { + this.databaseDisplayName(model.getDatabaseDisplayName()); + } + if (model.wasPropertyExplicitlySet("databaseResourceType")) { + this.databaseResourceType(model.getDatabaseResourceType()); + } + if (model.wasPropertyExplicitlySet("isHighlyAvailable")) { + this.isHighlyAvailable(model.getIsHighlyAvailable()); + } + if (model.wasPropertyExplicitlySet("isHeatWaveClusterAttached")) { + this.isHeatWaveClusterAttached(model.getIsHeatWaveClusterAttached()); + } + if (model.wasPropertyExplicitlySet("dbAdditionalDetails")) { + this.dbAdditionalDetails(model.getDbAdditionalDetails()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public MdsMySqlDatabaseInsight( + String id, + String compartmentId, + ResourceStatus status, + String databaseType, + String databaseVersion, + Integer processorCount, + java.util.Map freeformTags, + java.util.Map> definedTags, + java.util.Map> systemTags, + java.util.Date timeCreated, + java.util.Date timeUpdated, + LifecycleState lifecycleState, + String lifecycleDetails, + String databaseConnectionStatusDetails, + String databaseId, + String databaseName, + String databaseDisplayName, + String databaseResourceType, + Boolean isHighlyAvailable, + Boolean isHeatWaveClusterAttached, + Object dbAdditionalDetails) { + super( + id, + compartmentId, + status, + databaseType, + databaseVersion, + processorCount, + freeformTags, + definedTags, + systemTags, + timeCreated, + timeUpdated, + lifecycleState, + lifecycleDetails, + databaseConnectionStatusDetails); + this.databaseId = databaseId; + this.databaseName = databaseName; + this.databaseDisplayName = databaseDisplayName; + this.databaseResourceType = databaseResourceType; + this.isHighlyAvailable = isHighlyAvailable; + this.isHeatWaveClusterAttached = isHeatWaveClusterAttached; + this.dbAdditionalDetails = dbAdditionalDetails; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the database. + */ + @com.fasterxml.jackson.annotation.JsonProperty("databaseId") + private final String databaseId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the database. + * + * @return the value + */ + public String getDatabaseId() { + return databaseId; + } + + /** Name of database */ + @com.fasterxml.jackson.annotation.JsonProperty("databaseName") + private final String databaseName; + + /** + * Name of database + * + * @return the value + */ + public String getDatabaseName() { + return databaseName; + } + + /** Display name of database */ + @com.fasterxml.jackson.annotation.JsonProperty("databaseDisplayName") + private final String databaseDisplayName; + + /** + * Display name of database + * + * @return the value + */ + public String getDatabaseDisplayName() { + return databaseDisplayName; + } + + /** OCI database resource type */ + @com.fasterxml.jackson.annotation.JsonProperty("databaseResourceType") + private final String databaseResourceType; + + /** + * OCI database resource type + * + * @return the value + */ + public String getDatabaseResourceType() { + return databaseResourceType; + } + + /** Specifies if MYSQL DB System is highly available. */ + @com.fasterxml.jackson.annotation.JsonProperty("isHighlyAvailable") + private final Boolean isHighlyAvailable; + + /** + * Specifies if MYSQL DB System is highly available. + * + * @return the value + */ + public Boolean getIsHighlyAvailable() { + return isHighlyAvailable; + } + + /** Specifies if MYSQL DB System has heatwave cluster attached. */ + @com.fasterxml.jackson.annotation.JsonProperty("isHeatWaveClusterAttached") + private final Boolean isHeatWaveClusterAttached; + + /** + * Specifies if MYSQL DB System has heatwave cluster attached. + * + * @return the value + */ + public Boolean getIsHeatWaveClusterAttached() { + return isHeatWaveClusterAttached; + } + + /** + * Additional details of a db system in JSON format. For MySQL DB System, this is the DbSystem + * object serialized as a JSON string as defined in + * https://docs.oracle.com/en-us/iaas/api/#/en/mysql/20190415/DbSystem/. + */ + @com.fasterxml.jackson.annotation.JsonProperty("dbAdditionalDetails") + private final Object dbAdditionalDetails; + + /** + * Additional details of a db system in JSON format. For MySQL DB System, this is the DbSystem + * object serialized as a JSON string as defined in + * https://docs.oracle.com/en-us/iaas/api/#/en/mysql/20190415/DbSystem/. + * + * @return the value + */ + public Object getDbAdditionalDetails() { + return dbAdditionalDetails; + } + + @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("MdsMySqlDatabaseInsight("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", databaseId=").append(String.valueOf(this.databaseId)); + sb.append(", databaseName=").append(String.valueOf(this.databaseName)); + sb.append(", databaseDisplayName=").append(String.valueOf(this.databaseDisplayName)); + sb.append(", databaseResourceType=").append(String.valueOf(this.databaseResourceType)); + sb.append(", isHighlyAvailable=").append(String.valueOf(this.isHighlyAvailable)); + sb.append(", isHeatWaveClusterAttached=") + .append(String.valueOf(this.isHeatWaveClusterAttached)); + sb.append(", dbAdditionalDetails=").append(String.valueOf(this.dbAdditionalDetails)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof MdsMySqlDatabaseInsight)) { + return false; + } + + MdsMySqlDatabaseInsight other = (MdsMySqlDatabaseInsight) o; + return java.util.Objects.equals(this.databaseId, other.databaseId) + && java.util.Objects.equals(this.databaseName, other.databaseName) + && java.util.Objects.equals(this.databaseDisplayName, other.databaseDisplayName) + && java.util.Objects.equals(this.databaseResourceType, other.databaseResourceType) + && java.util.Objects.equals(this.isHighlyAvailable, other.isHighlyAvailable) + && java.util.Objects.equals( + this.isHeatWaveClusterAttached, other.isHeatWaveClusterAttached) + && java.util.Objects.equals(this.dbAdditionalDetails, other.dbAdditionalDetails) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.databaseId == null ? 43 : this.databaseId.hashCode()); + result = (result * PRIME) + (this.databaseName == null ? 43 : this.databaseName.hashCode()); + result = + (result * PRIME) + + (this.databaseDisplayName == null + ? 43 + : this.databaseDisplayName.hashCode()); + result = + (result * PRIME) + + (this.databaseResourceType == null + ? 43 + : this.databaseResourceType.hashCode()); + result = + (result * PRIME) + + (this.isHighlyAvailable == null ? 43 : this.isHighlyAvailable.hashCode()); + result = + (result * PRIME) + + (this.isHeatWaveClusterAttached == null + ? 43 + : this.isHeatWaveClusterAttached.hashCode()); + result = + (result * PRIME) + + (this.dbAdditionalDetails == null + ? 43 + : this.dbAdditionalDetails.hashCode()); + return result; + } +} diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/MdsMySqlDatabaseInsightSummary.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/MdsMySqlDatabaseInsightSummary.java new file mode 100644 index 00000000000..0b721b54ea9 --- /dev/null +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/MdsMySqlDatabaseInsightSummary.java @@ -0,0 +1,412 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.opsi.model; + +/** + * Summary of a database insight resource.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * 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: 20200630") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = MdsMySqlDatabaseInsightSummary.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "entitySource") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class MdsMySqlDatabaseInsightSummary extends DatabaseInsightSummary { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + @com.fasterxml.jackson.annotation.JsonProperty("id") + private String id; + + public Builder id(String id) { + this.id = id; + this.__explicitlySet__.add("id"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("databaseId") + private String databaseId; + + public Builder databaseId(String databaseId) { + this.databaseId = databaseId; + this.__explicitlySet__.add("databaseId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("databaseName") + private String databaseName; + + public Builder databaseName(String databaseName) { + this.databaseName = databaseName; + this.__explicitlySet__.add("databaseName"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("databaseDisplayName") + private String databaseDisplayName; + + public Builder databaseDisplayName(String databaseDisplayName) { + this.databaseDisplayName = databaseDisplayName; + this.__explicitlySet__.add("databaseDisplayName"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("databaseType") + private String databaseType; + + public Builder databaseType(String databaseType) { + this.databaseType = databaseType; + this.__explicitlySet__.add("databaseType"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("databaseVersion") + private String databaseVersion; + + public Builder databaseVersion(String databaseVersion) { + this.databaseVersion = databaseVersion; + this.__explicitlySet__.add("databaseVersion"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("databaseHostNames") + private java.util.List databaseHostNames; + + public Builder databaseHostNames(java.util.List databaseHostNames) { + this.databaseHostNames = databaseHostNames; + this.__explicitlySet__.add("databaseHostNames"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private java.util.Map freeformTags; + + public Builder freeformTags(java.util.Map freeformTags) { + this.freeformTags = freeformTags; + this.__explicitlySet__.add("freeformTags"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private java.util.Map> definedTags; + + public Builder definedTags( + java.util.Map> definedTags) { + this.definedTags = definedTags; + this.__explicitlySet__.add("definedTags"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("systemTags") + private java.util.Map> systemTags; + + public Builder systemTags(java.util.Map> systemTags) { + this.systemTags = systemTags; + this.__explicitlySet__.add("systemTags"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("processorCount") + private Integer processorCount; + + public Builder processorCount(Integer processorCount) { + this.processorCount = processorCount; + this.__explicitlySet__.add("processorCount"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("status") + private ResourceStatus status; + + public Builder status(ResourceStatus status) { + this.status = status; + this.__explicitlySet__.add("status"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") + private java.util.Date timeCreated; + + public Builder timeCreated(java.util.Date timeCreated) { + this.timeCreated = timeCreated; + this.__explicitlySet__.add("timeCreated"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeUpdated") + private java.util.Date timeUpdated; + + public Builder timeUpdated(java.util.Date timeUpdated) { + this.timeUpdated = timeUpdated; + this.__explicitlySet__.add("timeUpdated"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") + private LifecycleState lifecycleState; + + public Builder lifecycleState(LifecycleState lifecycleState) { + this.lifecycleState = lifecycleState; + this.__explicitlySet__.add("lifecycleState"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleDetails") + private String lifecycleDetails; + + public Builder lifecycleDetails(String lifecycleDetails) { + this.lifecycleDetails = lifecycleDetails; + this.__explicitlySet__.add("lifecycleDetails"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("databaseConnectionStatusDetails") + private String databaseConnectionStatusDetails; + + public Builder databaseConnectionStatusDetails(String databaseConnectionStatusDetails) { + this.databaseConnectionStatusDetails = databaseConnectionStatusDetails; + this.__explicitlySet__.add("databaseConnectionStatusDetails"); + return this; + } + /** OCI database resource type */ + @com.fasterxml.jackson.annotation.JsonProperty("databaseResourceType") + private String databaseResourceType; + + /** + * OCI database resource type + * + * @param databaseResourceType the value to set + * @return this builder + */ + public Builder databaseResourceType(String databaseResourceType) { + this.databaseResourceType = databaseResourceType; + this.__explicitlySet__.add("databaseResourceType"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public MdsMySqlDatabaseInsightSummary build() { + MdsMySqlDatabaseInsightSummary model = + new MdsMySqlDatabaseInsightSummary( + this.id, + this.databaseId, + this.compartmentId, + this.databaseName, + this.databaseDisplayName, + this.databaseType, + this.databaseVersion, + this.databaseHostNames, + this.freeformTags, + this.definedTags, + this.systemTags, + this.processorCount, + this.status, + this.timeCreated, + this.timeUpdated, + this.lifecycleState, + this.lifecycleDetails, + this.databaseConnectionStatusDetails, + this.databaseResourceType); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(MdsMySqlDatabaseInsightSummary model) { + if (model.wasPropertyExplicitlySet("id")) { + this.id(model.getId()); + } + if (model.wasPropertyExplicitlySet("databaseId")) { + this.databaseId(model.getDatabaseId()); + } + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + if (model.wasPropertyExplicitlySet("databaseName")) { + this.databaseName(model.getDatabaseName()); + } + if (model.wasPropertyExplicitlySet("databaseDisplayName")) { + this.databaseDisplayName(model.getDatabaseDisplayName()); + } + if (model.wasPropertyExplicitlySet("databaseType")) { + this.databaseType(model.getDatabaseType()); + } + if (model.wasPropertyExplicitlySet("databaseVersion")) { + this.databaseVersion(model.getDatabaseVersion()); + } + if (model.wasPropertyExplicitlySet("databaseHostNames")) { + this.databaseHostNames(model.getDatabaseHostNames()); + } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } + if (model.wasPropertyExplicitlySet("systemTags")) { + this.systemTags(model.getSystemTags()); + } + if (model.wasPropertyExplicitlySet("processorCount")) { + this.processorCount(model.getProcessorCount()); + } + if (model.wasPropertyExplicitlySet("status")) { + this.status(model.getStatus()); + } + if (model.wasPropertyExplicitlySet("timeCreated")) { + this.timeCreated(model.getTimeCreated()); + } + if (model.wasPropertyExplicitlySet("timeUpdated")) { + this.timeUpdated(model.getTimeUpdated()); + } + if (model.wasPropertyExplicitlySet("lifecycleState")) { + this.lifecycleState(model.getLifecycleState()); + } + if (model.wasPropertyExplicitlySet("lifecycleDetails")) { + this.lifecycleDetails(model.getLifecycleDetails()); + } + if (model.wasPropertyExplicitlySet("databaseConnectionStatusDetails")) { + this.databaseConnectionStatusDetails(model.getDatabaseConnectionStatusDetails()); + } + if (model.wasPropertyExplicitlySet("databaseResourceType")) { + this.databaseResourceType(model.getDatabaseResourceType()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public MdsMySqlDatabaseInsightSummary( + String id, + String databaseId, + String compartmentId, + String databaseName, + String databaseDisplayName, + String databaseType, + String databaseVersion, + java.util.List databaseHostNames, + java.util.Map freeformTags, + java.util.Map> definedTags, + java.util.Map> systemTags, + Integer processorCount, + ResourceStatus status, + java.util.Date timeCreated, + java.util.Date timeUpdated, + LifecycleState lifecycleState, + String lifecycleDetails, + String databaseConnectionStatusDetails, + String databaseResourceType) { + super( + id, + databaseId, + compartmentId, + databaseName, + databaseDisplayName, + databaseType, + databaseVersion, + databaseHostNames, + freeformTags, + definedTags, + systemTags, + processorCount, + status, + timeCreated, + timeUpdated, + lifecycleState, + lifecycleDetails, + databaseConnectionStatusDetails); + this.databaseResourceType = databaseResourceType; + } + + /** OCI database resource type */ + @com.fasterxml.jackson.annotation.JsonProperty("databaseResourceType") + private final String databaseResourceType; + + /** + * OCI database resource type + * + * @return the value + */ + public String getDatabaseResourceType() { + return databaseResourceType; + } + + @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("MdsMySqlDatabaseInsightSummary("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", databaseResourceType=").append(String.valueOf(this.databaseResourceType)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof MdsMySqlDatabaseInsightSummary)) { + return false; + } + + MdsMySqlDatabaseInsightSummary other = (MdsMySqlDatabaseInsightSummary) o; + return java.util.Objects.equals(this.databaseResourceType, other.databaseResourceType) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.databaseResourceType == null + ? 43 + : this.databaseResourceType.hashCode()); + return result; + } +} diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/MdsMysqlDatabaseConfigurationSummary.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/MdsMysqlDatabaseConfigurationSummary.java new file mode 100644 index 00000000000..2422174fc3d --- /dev/null +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/MdsMysqlDatabaseConfigurationSummary.java @@ -0,0 +1,427 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.opsi.model; + +/** + * Configuration Summary of a MDS MYSQL database.
+ * 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: 20200630") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = MdsMysqlDatabaseConfigurationSummary.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "entitySource") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class MdsMysqlDatabaseConfigurationSummary extends DatabaseConfigurationSummary { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + @com.fasterxml.jackson.annotation.JsonProperty("databaseInsightId") + private String databaseInsightId; + + public Builder databaseInsightId(String databaseInsightId) { + this.databaseInsightId = databaseInsightId; + this.__explicitlySet__.add("databaseInsightId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("databaseName") + private String databaseName; + + public Builder databaseName(String databaseName) { + this.databaseName = databaseName; + this.__explicitlySet__.add("databaseName"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("databaseDisplayName") + private String databaseDisplayName; + + public Builder databaseDisplayName(String databaseDisplayName) { + this.databaseDisplayName = databaseDisplayName; + this.__explicitlySet__.add("databaseDisplayName"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("databaseType") + private String databaseType; + + public Builder databaseType(String databaseType) { + this.databaseType = databaseType; + this.__explicitlySet__.add("databaseType"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("databaseVersion") + private String databaseVersion; + + public Builder databaseVersion(String databaseVersion) { + this.databaseVersion = databaseVersion; + this.__explicitlySet__.add("databaseVersion"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("cdbName") + private String cdbName; + + public Builder cdbName(String cdbName) { + this.cdbName = cdbName; + this.__explicitlySet__.add("cdbName"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private java.util.Map> definedTags; + + public Builder definedTags( + java.util.Map> definedTags) { + this.definedTags = definedTags; + this.__explicitlySet__.add("definedTags"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private java.util.Map freeformTags; + + public Builder freeformTags(java.util.Map freeformTags) { + this.freeformTags = freeformTags; + this.__explicitlySet__.add("freeformTags"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("processorCount") + private Integer processorCount; + + public Builder processorCount(Integer processorCount) { + this.processorCount = processorCount; + this.__explicitlySet__.add("processorCount"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the database. + */ + @com.fasterxml.jackson.annotation.JsonProperty("databaseId") + private String databaseId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the database. + * + * @param databaseId the value to set + * @return this builder + */ + public Builder databaseId(String databaseId) { + this.databaseId = databaseId; + this.__explicitlySet__.add("databaseId"); + return this; + } + /** Specifies if MYSQL DB System has heatwave cluster attached. */ + @com.fasterxml.jackson.annotation.JsonProperty("isHeatWaveClusterAttached") + private Boolean isHeatWaveClusterAttached; + + /** + * Specifies if MYSQL DB System has heatwave cluster attached. + * + * @param isHeatWaveClusterAttached the value to set + * @return this builder + */ + public Builder isHeatWaveClusterAttached(Boolean isHeatWaveClusterAttached) { + this.isHeatWaveClusterAttached = isHeatWaveClusterAttached; + this.__explicitlySet__.add("isHeatWaveClusterAttached"); + return this; + } + /** Specifies if MYSQL DB System is highly available. */ + @com.fasterxml.jackson.annotation.JsonProperty("isHighlyAvailable") + private Boolean isHighlyAvailable; + + /** + * Specifies if MYSQL DB System is highly available. + * + * @param isHighlyAvailable the value to set + * @return this builder + */ + public Builder isHighlyAvailable(Boolean isHighlyAvailable) { + this.isHighlyAvailable = isHighlyAvailable; + this.__explicitlySet__.add("isHighlyAvailable"); + return this; + } + /** + * The shape of the primary instances of MYSQL DB system. The shape determines resources + * allocated to a DB System - CPU cores and memory for VM shapes; CPU cores, memory and + * storage for non-VM shapes. + */ + @com.fasterxml.jackson.annotation.JsonProperty("shapeName") + private String shapeName; + + /** + * The shape of the primary instances of MYSQL DB system. The shape determines resources + * allocated to a DB System - CPU cores and memory for VM shapes; CPU cores, memory and + * storage for non-VM shapes. + * + * @param shapeName the value to set + * @return this builder + */ + public Builder shapeName(String shapeName) { + this.shapeName = shapeName; + this.__explicitlySet__.add("shapeName"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public MdsMysqlDatabaseConfigurationSummary build() { + MdsMysqlDatabaseConfigurationSummary model = + new MdsMysqlDatabaseConfigurationSummary( + this.databaseInsightId, + this.compartmentId, + this.databaseName, + this.databaseDisplayName, + this.databaseType, + this.databaseVersion, + this.cdbName, + this.definedTags, + this.freeformTags, + this.processorCount, + this.databaseId, + this.isHeatWaveClusterAttached, + this.isHighlyAvailable, + this.shapeName); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(MdsMysqlDatabaseConfigurationSummary model) { + if (model.wasPropertyExplicitlySet("databaseInsightId")) { + this.databaseInsightId(model.getDatabaseInsightId()); + } + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + if (model.wasPropertyExplicitlySet("databaseName")) { + this.databaseName(model.getDatabaseName()); + } + if (model.wasPropertyExplicitlySet("databaseDisplayName")) { + this.databaseDisplayName(model.getDatabaseDisplayName()); + } + if (model.wasPropertyExplicitlySet("databaseType")) { + this.databaseType(model.getDatabaseType()); + } + if (model.wasPropertyExplicitlySet("databaseVersion")) { + this.databaseVersion(model.getDatabaseVersion()); + } + if (model.wasPropertyExplicitlySet("cdbName")) { + this.cdbName(model.getCdbName()); + } + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } + if (model.wasPropertyExplicitlySet("processorCount")) { + this.processorCount(model.getProcessorCount()); + } + if (model.wasPropertyExplicitlySet("databaseId")) { + this.databaseId(model.getDatabaseId()); + } + if (model.wasPropertyExplicitlySet("isHeatWaveClusterAttached")) { + this.isHeatWaveClusterAttached(model.getIsHeatWaveClusterAttached()); + } + if (model.wasPropertyExplicitlySet("isHighlyAvailable")) { + this.isHighlyAvailable(model.getIsHighlyAvailable()); + } + if (model.wasPropertyExplicitlySet("shapeName")) { + this.shapeName(model.getShapeName()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public MdsMysqlDatabaseConfigurationSummary( + String databaseInsightId, + String compartmentId, + String databaseName, + String databaseDisplayName, + String databaseType, + String databaseVersion, + String cdbName, + java.util.Map> definedTags, + java.util.Map freeformTags, + Integer processorCount, + String databaseId, + Boolean isHeatWaveClusterAttached, + Boolean isHighlyAvailable, + String shapeName) { + super( + databaseInsightId, + compartmentId, + databaseName, + databaseDisplayName, + databaseType, + databaseVersion, + cdbName, + definedTags, + freeformTags, + processorCount); + this.databaseId = databaseId; + this.isHeatWaveClusterAttached = isHeatWaveClusterAttached; + this.isHighlyAvailable = isHighlyAvailable; + this.shapeName = shapeName; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the database. + */ + @com.fasterxml.jackson.annotation.JsonProperty("databaseId") + private final String databaseId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the database. + * + * @return the value + */ + public String getDatabaseId() { + return databaseId; + } + + /** Specifies if MYSQL DB System has heatwave cluster attached. */ + @com.fasterxml.jackson.annotation.JsonProperty("isHeatWaveClusterAttached") + private final Boolean isHeatWaveClusterAttached; + + /** + * Specifies if MYSQL DB System has heatwave cluster attached. + * + * @return the value + */ + public Boolean getIsHeatWaveClusterAttached() { + return isHeatWaveClusterAttached; + } + + /** Specifies if MYSQL DB System is highly available. */ + @com.fasterxml.jackson.annotation.JsonProperty("isHighlyAvailable") + private final Boolean isHighlyAvailable; + + /** + * Specifies if MYSQL DB System is highly available. + * + * @return the value + */ + public Boolean getIsHighlyAvailable() { + return isHighlyAvailable; + } + + /** + * The shape of the primary instances of MYSQL DB system. The shape determines resources + * allocated to a DB System - CPU cores and memory for VM shapes; CPU cores, memory and storage + * for non-VM shapes. + */ + @com.fasterxml.jackson.annotation.JsonProperty("shapeName") + private final String shapeName; + + /** + * The shape of the primary instances of MYSQL DB system. The shape determines resources + * allocated to a DB System - CPU cores and memory for VM shapes; CPU cores, memory and storage + * for non-VM shapes. + * + * @return the value + */ + public String getShapeName() { + return shapeName; + } + + @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("MdsMysqlDatabaseConfigurationSummary("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", databaseId=").append(String.valueOf(this.databaseId)); + sb.append(", isHeatWaveClusterAttached=") + .append(String.valueOf(this.isHeatWaveClusterAttached)); + sb.append(", isHighlyAvailable=").append(String.valueOf(this.isHighlyAvailable)); + sb.append(", shapeName=").append(String.valueOf(this.shapeName)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof MdsMysqlDatabaseConfigurationSummary)) { + return false; + } + + MdsMysqlDatabaseConfigurationSummary other = (MdsMysqlDatabaseConfigurationSummary) o; + return java.util.Objects.equals(this.databaseId, other.databaseId) + && java.util.Objects.equals( + this.isHeatWaveClusterAttached, other.isHeatWaveClusterAttached) + && java.util.Objects.equals(this.isHighlyAvailable, other.isHighlyAvailable) + && java.util.Objects.equals(this.shapeName, other.shapeName) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.databaseId == null ? 43 : this.databaseId.hashCode()); + result = + (result * PRIME) + + (this.isHeatWaveClusterAttached == null + ? 43 + : this.isHeatWaveClusterAttached.hashCode()); + result = + (result * PRIME) + + (this.isHighlyAvailable == null ? 43 : this.isHighlyAvailable.hashCode()); + result = (result * PRIME) + (this.shapeName == null ? 43 : this.shapeName.hashCode()); + return result; + } +} diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/MySqlSqlStats.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/MySqlSqlStats.java new file mode 100644 index 00000000000..ee0b724b083 --- /dev/null +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/MySqlSqlStats.java @@ -0,0 +1,1515 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.opsi.model; + +/** + * MySql Sql Stats type object.
+ * 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: 20200630") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = MySqlSqlStats.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class MySqlSqlStats extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "digest", + "timeCollected", + "commandType", + "totalRows", + "perfSchemaUsedPercent", + "schemaName", + "execCount", + "totalLatencyInPs", + "lockLatencyInPs", + "errCount", + "warnCount", + "rowsAffected", + "rowsSent", + "rowsExamined", + "tmpDiskTables", + "tmpTables", + "selectFullJoin", + "selectFullRangeJoin", + "selectRange", + "selectRangeCheck", + "selectScan", + "sortMergePasses", + "sortRange", + "rowsSorted", + "sortScan", + "noIndexUsedCount", + "noGoodIndexUsedCount", + "cpuLatencyInPs", + "maxControlledMemoryInBytes", + "maxTotalMemoryInBytes", + "execCountSecondary", + "timeFirstSeen", + "timeLastSeen" + }) + public MySqlSqlStats( + String digest, + java.util.Date timeCollected, + String commandType, + Long totalRows, + Long perfSchemaUsedPercent, + String schemaName, + Long execCount, + Long totalLatencyInPs, + Long lockLatencyInPs, + Long errCount, + Long warnCount, + Long rowsAffected, + Long rowsSent, + Long rowsExamined, + Long tmpDiskTables, + Long tmpTables, + Long selectFullJoin, + Long selectFullRangeJoin, + Long selectRange, + Long selectRangeCheck, + Long selectScan, + Long sortMergePasses, + Long sortRange, + Long rowsSorted, + Long sortScan, + Long noIndexUsedCount, + Long noGoodIndexUsedCount, + Long cpuLatencyInPs, + Long maxControlledMemoryInBytes, + Long maxTotalMemoryInBytes, + Long execCountSecondary, + java.util.Date timeFirstSeen, + java.util.Date timeLastSeen) { + super(); + this.digest = digest; + this.timeCollected = timeCollected; + this.commandType = commandType; + this.totalRows = totalRows; + this.perfSchemaUsedPercent = perfSchemaUsedPercent; + this.schemaName = schemaName; + this.execCount = execCount; + this.totalLatencyInPs = totalLatencyInPs; + this.lockLatencyInPs = lockLatencyInPs; + this.errCount = errCount; + this.warnCount = warnCount; + this.rowsAffected = rowsAffected; + this.rowsSent = rowsSent; + this.rowsExamined = rowsExamined; + this.tmpDiskTables = tmpDiskTables; + this.tmpTables = tmpTables; + this.selectFullJoin = selectFullJoin; + this.selectFullRangeJoin = selectFullRangeJoin; + this.selectRange = selectRange; + this.selectRangeCheck = selectRangeCheck; + this.selectScan = selectScan; + this.sortMergePasses = sortMergePasses; + this.sortRange = sortRange; + this.rowsSorted = rowsSorted; + this.sortScan = sortScan; + this.noIndexUsedCount = noIndexUsedCount; + this.noGoodIndexUsedCount = noGoodIndexUsedCount; + this.cpuLatencyInPs = cpuLatencyInPs; + this.maxControlledMemoryInBytes = maxControlledMemoryInBytes; + this.maxTotalMemoryInBytes = maxTotalMemoryInBytes; + this.execCountSecondary = execCountSecondary; + this.timeFirstSeen = timeFirstSeen; + this.timeLastSeen = timeLastSeen; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Unique SQL ID Digest for a MySql Statement. Example: {@code + * "c20fcea11911be36651b7ca7bd3712d4ed9ac1134cee9c6620039e1fb13b5eff"} + */ + @com.fasterxml.jackson.annotation.JsonProperty("digest") + private String digest; + + /** + * Unique SQL ID Digest for a MySql Statement. Example: {@code + * "c20fcea11911be36651b7ca7bd3712d4ed9ac1134cee9c6620039e1fb13b5eff"} + * + * @param digest the value to set + * @return this builder + */ + public Builder digest(String digest) { + this.digest = digest; + this.__explicitlySet__.add("digest"); + return this; + } + /** Collection timestamp. Example: {@code "2020-03-31T00:00:00.000Z"} */ + @com.fasterxml.jackson.annotation.JsonProperty("timeCollected") + private java.util.Date timeCollected; + + /** + * Collection timestamp. Example: {@code "2020-03-31T00:00:00.000Z"} + * + * @param timeCollected the value to set + * @return this builder + */ + public Builder timeCollected(java.util.Date timeCollected) { + this.timeCollected = timeCollected; + this.__explicitlySet__.add("timeCollected"); + return this; + } + /** Type of statement such as select, update or delete. */ + @com.fasterxml.jackson.annotation.JsonProperty("commandType") + private String commandType; + + /** + * Type of statement such as select, update or delete. + * + * @param commandType the value to set + * @return this builder + */ + public Builder commandType(String commandType) { + this.commandType = commandType; + this.__explicitlySet__.add("commandType"); + return this; + } + /** Total number of SQL statements used in collection ranking calculation. */ + @com.fasterxml.jackson.annotation.JsonProperty("totalRows") + private Long totalRows; + + /** + * Total number of SQL statements used in collection ranking calculation. + * + * @param totalRows the value to set + * @return this builder + */ + public Builder totalRows(Long totalRows) { + this.totalRows = totalRows; + this.__explicitlySet__.add("totalRows"); + return this; + } + /** + * Percent of SQL statements in the perf schema table relative to max or overflow count set + * in @@GLOBAL.performance_schema_digests_size. + */ + @com.fasterxml.jackson.annotation.JsonProperty("perfSchemaUsedPercent") + private Long perfSchemaUsedPercent; + + /** + * Percent of SQL statements in the perf schema table relative to max or overflow count set + * in @@GLOBAL.performance_schema_digests_size. + * + * @param perfSchemaUsedPercent the value to set + * @return this builder + */ + public Builder perfSchemaUsedPercent(Long perfSchemaUsedPercent) { + this.perfSchemaUsedPercent = perfSchemaUsedPercent; + this.__explicitlySet__.add("perfSchemaUsedPercent"); + return this; + } + /** Name of Database Schema. Example: {@code "performance_schema"} */ + @com.fasterxml.jackson.annotation.JsonProperty("schemaName") + private String schemaName; + + /** + * Name of Database Schema. Example: {@code "performance_schema"} + * + * @param schemaName the value to set + * @return this builder + */ + public Builder schemaName(String schemaName) { + this.schemaName = schemaName; + this.__explicitlySet__.add("schemaName"); + return this; + } + /** The total number of times the statement has executed. */ + @com.fasterxml.jackson.annotation.JsonProperty("execCount") + private Long execCount; + + /** + * The total number of times the statement has executed. + * + * @param execCount the value to set + * @return this builder + */ + public Builder execCount(Long execCount) { + this.execCount = execCount; + this.__explicitlySet__.add("execCount"); + return this; + } + /** The total wait time (in picoseconds) of timed occurrences of the statement. */ + @com.fasterxml.jackson.annotation.JsonProperty("totalLatencyInPs") + private Long totalLatencyInPs; + + /** + * The total wait time (in picoseconds) of timed occurrences of the statement. + * + * @param totalLatencyInPs the value to set + * @return this builder + */ + public Builder totalLatencyInPs(Long totalLatencyInPs) { + this.totalLatencyInPs = totalLatencyInPs; + this.__explicitlySet__.add("totalLatencyInPs"); + return this; + } + /** + * The total time waiting (in picoseconds) for locks by timed occurrences of the statement. + */ + @com.fasterxml.jackson.annotation.JsonProperty("lockLatencyInPs") + private Long lockLatencyInPs; + + /** + * The total time waiting (in picoseconds) for locks by timed occurrences of the statement. + * + * @param lockLatencyInPs the value to set + * @return this builder + */ + public Builder lockLatencyInPs(Long lockLatencyInPs) { + this.lockLatencyInPs = lockLatencyInPs; + this.__explicitlySet__.add("lockLatencyInPs"); + return this; + } + /** The total number of errors produced by occurrences of the statement. */ + @com.fasterxml.jackson.annotation.JsonProperty("errCount") + private Long errCount; + + /** + * The total number of errors produced by occurrences of the statement. + * + * @param errCount the value to set + * @return this builder + */ + public Builder errCount(Long errCount) { + this.errCount = errCount; + this.__explicitlySet__.add("errCount"); + return this; + } + /** The total number of warnings produced by occurrences of the statement. */ + @com.fasterxml.jackson.annotation.JsonProperty("warnCount") + private Long warnCount; + + /** + * The total number of warnings produced by occurrences of the statement. + * + * @param warnCount the value to set + * @return this builder + */ + public Builder warnCount(Long warnCount) { + this.warnCount = warnCount; + this.__explicitlySet__.add("warnCount"); + return this; + } + /** The total number of rows affected by occurrences of the statement. */ + @com.fasterxml.jackson.annotation.JsonProperty("rowsAffected") + private Long rowsAffected; + + /** + * The total number of rows affected by occurrences of the statement. + * + * @param rowsAffected the value to set + * @return this builder + */ + public Builder rowsAffected(Long rowsAffected) { + this.rowsAffected = rowsAffected; + this.__explicitlySet__.add("rowsAffected"); + return this; + } + /** The total number of rows returned by occurrences of the statement. */ + @com.fasterxml.jackson.annotation.JsonProperty("rowsSent") + private Long rowsSent; + + /** + * The total number of rows returned by occurrences of the statement. + * + * @param rowsSent the value to set + * @return this builder + */ + public Builder rowsSent(Long rowsSent) { + this.rowsSent = rowsSent; + this.__explicitlySet__.add("rowsSent"); + return this; + } + /** The total number of rows read from storage engines by occurrences of the statement. */ + @com.fasterxml.jackson.annotation.JsonProperty("rowsExamined") + private Long rowsExamined; + + /** + * The total number of rows read from storage engines by occurrences of the statement. + * + * @param rowsExamined the value to set + * @return this builder + */ + public Builder rowsExamined(Long rowsExamined) { + this.rowsExamined = rowsExamined; + this.__explicitlySet__.add("rowsExamined"); + return this; + } + /** + * The total number of internal on-disk temporary tables created by occurrences of the + * statement. + */ + @com.fasterxml.jackson.annotation.JsonProperty("tmpDiskTables") + private Long tmpDiskTables; + + /** + * The total number of internal on-disk temporary tables created by occurrences of the + * statement. + * + * @param tmpDiskTables the value to set + * @return this builder + */ + public Builder tmpDiskTables(Long tmpDiskTables) { + this.tmpDiskTables = tmpDiskTables; + this.__explicitlySet__.add("tmpDiskTables"); + return this; + } + /** + * The total number of internal in-memory temporary tables created by occurrences of the + * statement Count + */ + @com.fasterxml.jackson.annotation.JsonProperty("tmpTables") + private Long tmpTables; + + /** + * The total number of internal in-memory temporary tables created by occurrences of the + * statement Count + * + * @param tmpTables the value to set + * @return this builder + */ + public Builder tmpTables(Long tmpTables) { + this.tmpTables = tmpTables; + this.__explicitlySet__.add("tmpTables"); + return this; + } + /** + * The total number of joins that perform table scans because they do not use indexes by + * occurrences of the statement. If this value is not 0 + */ + @com.fasterxml.jackson.annotation.JsonProperty("selectFullJoin") + private Long selectFullJoin; + + /** + * The total number of joins that perform table scans because they do not use indexes by + * occurrences of the statement. If this value is not 0 + * + * @param selectFullJoin the value to set + * @return this builder + */ + public Builder selectFullJoin(Long selectFullJoin) { + this.selectFullJoin = selectFullJoin; + this.__explicitlySet__.add("selectFullJoin"); + return this; + } + /** + * The total number of joins that used a range search on a reference table by occurrences of + * the statement + */ + @com.fasterxml.jackson.annotation.JsonProperty("selectFullRangeJoin") + private Long selectFullRangeJoin; + + /** + * The total number of joins that used a range search on a reference table by occurrences of + * the statement + * + * @param selectFullRangeJoin the value to set + * @return this builder + */ + public Builder selectFullRangeJoin(Long selectFullRangeJoin) { + this.selectFullRangeJoin = selectFullRangeJoin; + this.__explicitlySet__.add("selectFullRangeJoin"); + return this; + } + /** + * The total number of joins that used ranges on the first table by occurrences of the + * statement. This is normally not a critical issue even if the value is quite large. Count + */ + @com.fasterxml.jackson.annotation.JsonProperty("selectRange") + private Long selectRange; + + /** + * The total number of joins that used ranges on the first table by occurrences of the + * statement. This is normally not a critical issue even if the value is quite large. Count + * + * @param selectRange the value to set + * @return this builder + */ + public Builder selectRange(Long selectRange) { + this.selectRange = selectRange; + this.__explicitlySet__.add("selectRange"); + return this; + } + /** + * The total number of joins without keys that check for key usage after each row by + * occurrences of the statement. If this is not 0 + */ + @com.fasterxml.jackson.annotation.JsonProperty("selectRangeCheck") + private Long selectRangeCheck; + + /** + * The total number of joins without keys that check for key usage after each row by + * occurrences of the statement. If this is not 0 + * + * @param selectRangeCheck the value to set + * @return this builder + */ + public Builder selectRangeCheck(Long selectRangeCheck) { + this.selectRangeCheck = selectRangeCheck; + this.__explicitlySet__.add("selectRangeCheck"); + return this; + } + /** + * The total number of joins that did a full scan of the first table by occurrences of the + * statement Count + */ + @com.fasterxml.jackson.annotation.JsonProperty("selectScan") + private Long selectScan; + + /** + * The total number of joins that did a full scan of the first table by occurrences of the + * statement Count + * + * @param selectScan the value to set + * @return this builder + */ + public Builder selectScan(Long selectScan) { + this.selectScan = selectScan; + this.__explicitlySet__.add("selectScan"); + return this; + } + /** The total number of sort merge passes by occurrences of the statement. */ + @com.fasterxml.jackson.annotation.JsonProperty("sortMergePasses") + private Long sortMergePasses; + + /** + * The total number of sort merge passes by occurrences of the statement. + * + * @param sortMergePasses the value to set + * @return this builder + */ + public Builder sortMergePasses(Long sortMergePasses) { + this.sortMergePasses = sortMergePasses; + this.__explicitlySet__.add("sortMergePasses"); + return this; + } + /** + * The total number of sorts that were done using ranges by occurrences of the statement. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sortRange") + private Long sortRange; + + /** + * The total number of sorts that were done using ranges by occurrences of the statement. + * + * @param sortRange the value to set + * @return this builder + */ + public Builder sortRange(Long sortRange) { + this.sortRange = sortRange; + this.__explicitlySet__.add("sortRange"); + return this; + } + /** The total number of rows sorted by occurrences of the statement. */ + @com.fasterxml.jackson.annotation.JsonProperty("rowsSorted") + private Long rowsSorted; + + /** + * The total number of rows sorted by occurrences of the statement. + * + * @param rowsSorted the value to set + * @return this builder + */ + public Builder rowsSorted(Long rowsSorted) { + this.rowsSorted = rowsSorted; + this.__explicitlySet__.add("rowsSorted"); + return this; + } + /** + * The total number of sorts that were done by scanning the table by occurrences of the + * statement. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sortScan") + private Long sortScan; + + /** + * The total number of sorts that were done by scanning the table by occurrences of the + * statement. + * + * @param sortScan the value to set + * @return this builder + */ + public Builder sortScan(Long sortScan) { + this.sortScan = sortScan; + this.__explicitlySet__.add("sortScan"); + return this; + } + /** + * The number of occurences of the statement which performed a table scan without using an + * index Count + */ + @com.fasterxml.jackson.annotation.JsonProperty("noIndexUsedCount") + private Long noIndexUsedCount; + + /** + * The number of occurences of the statement which performed a table scan without using an + * index Count + * + * @param noIndexUsedCount the value to set + * @return this builder + */ + public Builder noIndexUsedCount(Long noIndexUsedCount) { + this.noIndexUsedCount = noIndexUsedCount; + this.__explicitlySet__.add("noIndexUsedCount"); + return this; + } + /** + * The number of occurences of the statement where the server found no good index to use + * Count + */ + @com.fasterxml.jackson.annotation.JsonProperty("noGoodIndexUsedCount") + private Long noGoodIndexUsedCount; + + /** + * The number of occurences of the statement where the server found no good index to use + * Count + * + * @param noGoodIndexUsedCount the value to set + * @return this builder + */ + public Builder noGoodIndexUsedCount(Long noGoodIndexUsedCount) { + this.noGoodIndexUsedCount = noGoodIndexUsedCount; + this.__explicitlySet__.add("noGoodIndexUsedCount"); + return this; + } + /** The total time spent on CPU (in picoseconds) for the current thread. */ + @com.fasterxml.jackson.annotation.JsonProperty("cpuLatencyInPs") + private Long cpuLatencyInPs; + + /** + * The total time spent on CPU (in picoseconds) for the current thread. + * + * @param cpuLatencyInPs the value to set + * @return this builder + */ + public Builder cpuLatencyInPs(Long cpuLatencyInPs) { + this.cpuLatencyInPs = cpuLatencyInPs; + this.__explicitlySet__.add("cpuLatencyInPs"); + return this; + } + /** The maximum amount of controlled memory (in bytes) used by the statement. */ + @com.fasterxml.jackson.annotation.JsonProperty("maxControlledMemoryInBytes") + private Long maxControlledMemoryInBytes; + + /** + * The maximum amount of controlled memory (in bytes) used by the statement. + * + * @param maxControlledMemoryInBytes the value to set + * @return this builder + */ + public Builder maxControlledMemoryInBytes(Long maxControlledMemoryInBytes) { + this.maxControlledMemoryInBytes = maxControlledMemoryInBytes; + this.__explicitlySet__.add("maxControlledMemoryInBytes"); + return this; + } + /** The maximum amount of memory (in bytes) used by the statement. */ + @com.fasterxml.jackson.annotation.JsonProperty("maxTotalMemoryInBytes") + private Long maxTotalMemoryInBytes; + + /** + * The maximum amount of memory (in bytes) used by the statement. + * + * @param maxTotalMemoryInBytes the value to set + * @return this builder + */ + public Builder maxTotalMemoryInBytes(Long maxTotalMemoryInBytes) { + this.maxTotalMemoryInBytes = maxTotalMemoryInBytes; + this.__explicitlySet__.add("maxTotalMemoryInBytes"); + return this; + } + /** + * The total number of times a query was processed on the secondary engine (HEATWAVE) for + * occurrences of this statement Count. + */ + @com.fasterxml.jackson.annotation.JsonProperty("execCountSecondary") + private Long execCountSecondary; + + /** + * The total number of times a query was processed on the secondary engine (HEATWAVE) for + * occurrences of this statement Count. + * + * @param execCountSecondary the value to set + * @return this builder + */ + public Builder execCountSecondary(Long execCountSecondary) { + this.execCountSecondary = execCountSecondary; + this.__explicitlySet__.add("execCountSecondary"); + return this; + } + /** + * The time at which statement was first seen. Example: {@code "2023-01-16 08:04:31.533577"} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeFirstSeen") + private java.util.Date timeFirstSeen; + + /** + * The time at which statement was first seen. Example: {@code "2023-01-16 08:04:31.533577"} + * + * @param timeFirstSeen the value to set + * @return this builder + */ + public Builder timeFirstSeen(java.util.Date timeFirstSeen) { + this.timeFirstSeen = timeFirstSeen; + this.__explicitlySet__.add("timeFirstSeen"); + return this; + } + /** + * The time at which statement was most recently seen for all occurrences of the statement. + * Example: {@code "2023-01-30 02:17:08.067961"} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeLastSeen") + private java.util.Date timeLastSeen; + + /** + * The time at which statement was most recently seen for all occurrences of the statement. + * Example: {@code "2023-01-30 02:17:08.067961"} + * + * @param timeLastSeen the value to set + * @return this builder + */ + public Builder timeLastSeen(java.util.Date timeLastSeen) { + this.timeLastSeen = timeLastSeen; + this.__explicitlySet__.add("timeLastSeen"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public MySqlSqlStats build() { + MySqlSqlStats model = + new MySqlSqlStats( + this.digest, + this.timeCollected, + this.commandType, + this.totalRows, + this.perfSchemaUsedPercent, + this.schemaName, + this.execCount, + this.totalLatencyInPs, + this.lockLatencyInPs, + this.errCount, + this.warnCount, + this.rowsAffected, + this.rowsSent, + this.rowsExamined, + this.tmpDiskTables, + this.tmpTables, + this.selectFullJoin, + this.selectFullRangeJoin, + this.selectRange, + this.selectRangeCheck, + this.selectScan, + this.sortMergePasses, + this.sortRange, + this.rowsSorted, + this.sortScan, + this.noIndexUsedCount, + this.noGoodIndexUsedCount, + this.cpuLatencyInPs, + this.maxControlledMemoryInBytes, + this.maxTotalMemoryInBytes, + this.execCountSecondary, + this.timeFirstSeen, + this.timeLastSeen); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(MySqlSqlStats model) { + if (model.wasPropertyExplicitlySet("digest")) { + this.digest(model.getDigest()); + } + if (model.wasPropertyExplicitlySet("timeCollected")) { + this.timeCollected(model.getTimeCollected()); + } + if (model.wasPropertyExplicitlySet("commandType")) { + this.commandType(model.getCommandType()); + } + if (model.wasPropertyExplicitlySet("totalRows")) { + this.totalRows(model.getTotalRows()); + } + if (model.wasPropertyExplicitlySet("perfSchemaUsedPercent")) { + this.perfSchemaUsedPercent(model.getPerfSchemaUsedPercent()); + } + if (model.wasPropertyExplicitlySet("schemaName")) { + this.schemaName(model.getSchemaName()); + } + if (model.wasPropertyExplicitlySet("execCount")) { + this.execCount(model.getExecCount()); + } + if (model.wasPropertyExplicitlySet("totalLatencyInPs")) { + this.totalLatencyInPs(model.getTotalLatencyInPs()); + } + if (model.wasPropertyExplicitlySet("lockLatencyInPs")) { + this.lockLatencyInPs(model.getLockLatencyInPs()); + } + if (model.wasPropertyExplicitlySet("errCount")) { + this.errCount(model.getErrCount()); + } + if (model.wasPropertyExplicitlySet("warnCount")) { + this.warnCount(model.getWarnCount()); + } + if (model.wasPropertyExplicitlySet("rowsAffected")) { + this.rowsAffected(model.getRowsAffected()); + } + if (model.wasPropertyExplicitlySet("rowsSent")) { + this.rowsSent(model.getRowsSent()); + } + if (model.wasPropertyExplicitlySet("rowsExamined")) { + this.rowsExamined(model.getRowsExamined()); + } + if (model.wasPropertyExplicitlySet("tmpDiskTables")) { + this.tmpDiskTables(model.getTmpDiskTables()); + } + if (model.wasPropertyExplicitlySet("tmpTables")) { + this.tmpTables(model.getTmpTables()); + } + if (model.wasPropertyExplicitlySet("selectFullJoin")) { + this.selectFullJoin(model.getSelectFullJoin()); + } + if (model.wasPropertyExplicitlySet("selectFullRangeJoin")) { + this.selectFullRangeJoin(model.getSelectFullRangeJoin()); + } + if (model.wasPropertyExplicitlySet("selectRange")) { + this.selectRange(model.getSelectRange()); + } + if (model.wasPropertyExplicitlySet("selectRangeCheck")) { + this.selectRangeCheck(model.getSelectRangeCheck()); + } + if (model.wasPropertyExplicitlySet("selectScan")) { + this.selectScan(model.getSelectScan()); + } + if (model.wasPropertyExplicitlySet("sortMergePasses")) { + this.sortMergePasses(model.getSortMergePasses()); + } + if (model.wasPropertyExplicitlySet("sortRange")) { + this.sortRange(model.getSortRange()); + } + if (model.wasPropertyExplicitlySet("rowsSorted")) { + this.rowsSorted(model.getRowsSorted()); + } + if (model.wasPropertyExplicitlySet("sortScan")) { + this.sortScan(model.getSortScan()); + } + if (model.wasPropertyExplicitlySet("noIndexUsedCount")) { + this.noIndexUsedCount(model.getNoIndexUsedCount()); + } + if (model.wasPropertyExplicitlySet("noGoodIndexUsedCount")) { + this.noGoodIndexUsedCount(model.getNoGoodIndexUsedCount()); + } + if (model.wasPropertyExplicitlySet("cpuLatencyInPs")) { + this.cpuLatencyInPs(model.getCpuLatencyInPs()); + } + if (model.wasPropertyExplicitlySet("maxControlledMemoryInBytes")) { + this.maxControlledMemoryInBytes(model.getMaxControlledMemoryInBytes()); + } + if (model.wasPropertyExplicitlySet("maxTotalMemoryInBytes")) { + this.maxTotalMemoryInBytes(model.getMaxTotalMemoryInBytes()); + } + if (model.wasPropertyExplicitlySet("execCountSecondary")) { + this.execCountSecondary(model.getExecCountSecondary()); + } + if (model.wasPropertyExplicitlySet("timeFirstSeen")) { + this.timeFirstSeen(model.getTimeFirstSeen()); + } + if (model.wasPropertyExplicitlySet("timeLastSeen")) { + this.timeLastSeen(model.getTimeLastSeen()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Unique SQL ID Digest for a MySql Statement. Example: {@code + * "c20fcea11911be36651b7ca7bd3712d4ed9ac1134cee9c6620039e1fb13b5eff"} + */ + @com.fasterxml.jackson.annotation.JsonProperty("digest") + private final String digest; + + /** + * Unique SQL ID Digest for a MySql Statement. Example: {@code + * "c20fcea11911be36651b7ca7bd3712d4ed9ac1134cee9c6620039e1fb13b5eff"} + * + * @return the value + */ + public String getDigest() { + return digest; + } + + /** Collection timestamp. Example: {@code "2020-03-31T00:00:00.000Z"} */ + @com.fasterxml.jackson.annotation.JsonProperty("timeCollected") + private final java.util.Date timeCollected; + + /** + * Collection timestamp. Example: {@code "2020-03-31T00:00:00.000Z"} + * + * @return the value + */ + public java.util.Date getTimeCollected() { + return timeCollected; + } + + /** Type of statement such as select, update or delete. */ + @com.fasterxml.jackson.annotation.JsonProperty("commandType") + private final String commandType; + + /** + * Type of statement such as select, update or delete. + * + * @return the value + */ + public String getCommandType() { + return commandType; + } + + /** Total number of SQL statements used in collection ranking calculation. */ + @com.fasterxml.jackson.annotation.JsonProperty("totalRows") + private final Long totalRows; + + /** + * Total number of SQL statements used in collection ranking calculation. + * + * @return the value + */ + public Long getTotalRows() { + return totalRows; + } + + /** + * Percent of SQL statements in the perf schema table relative to max or overflow count set + * in @@GLOBAL.performance_schema_digests_size. + */ + @com.fasterxml.jackson.annotation.JsonProperty("perfSchemaUsedPercent") + private final Long perfSchemaUsedPercent; + + /** + * Percent of SQL statements in the perf schema table relative to max or overflow count set + * in @@GLOBAL.performance_schema_digests_size. + * + * @return the value + */ + public Long getPerfSchemaUsedPercent() { + return perfSchemaUsedPercent; + } + + /** Name of Database Schema. Example: {@code "performance_schema"} */ + @com.fasterxml.jackson.annotation.JsonProperty("schemaName") + private final String schemaName; + + /** + * Name of Database Schema. Example: {@code "performance_schema"} + * + * @return the value + */ + public String getSchemaName() { + return schemaName; + } + + /** The total number of times the statement has executed. */ + @com.fasterxml.jackson.annotation.JsonProperty("execCount") + private final Long execCount; + + /** + * The total number of times the statement has executed. + * + * @return the value + */ + public Long getExecCount() { + return execCount; + } + + /** The total wait time (in picoseconds) of timed occurrences of the statement. */ + @com.fasterxml.jackson.annotation.JsonProperty("totalLatencyInPs") + private final Long totalLatencyInPs; + + /** + * The total wait time (in picoseconds) of timed occurrences of the statement. + * + * @return the value + */ + public Long getTotalLatencyInPs() { + return totalLatencyInPs; + } + + /** The total time waiting (in picoseconds) for locks by timed occurrences of the statement. */ + @com.fasterxml.jackson.annotation.JsonProperty("lockLatencyInPs") + private final Long lockLatencyInPs; + + /** + * The total time waiting (in picoseconds) for locks by timed occurrences of the statement. + * + * @return the value + */ + public Long getLockLatencyInPs() { + return lockLatencyInPs; + } + + /** The total number of errors produced by occurrences of the statement. */ + @com.fasterxml.jackson.annotation.JsonProperty("errCount") + private final Long errCount; + + /** + * The total number of errors produced by occurrences of the statement. + * + * @return the value + */ + public Long getErrCount() { + return errCount; + } + + /** The total number of warnings produced by occurrences of the statement. */ + @com.fasterxml.jackson.annotation.JsonProperty("warnCount") + private final Long warnCount; + + /** + * The total number of warnings produced by occurrences of the statement. + * + * @return the value + */ + public Long getWarnCount() { + return warnCount; + } + + /** The total number of rows affected by occurrences of the statement. */ + @com.fasterxml.jackson.annotation.JsonProperty("rowsAffected") + private final Long rowsAffected; + + /** + * The total number of rows affected by occurrences of the statement. + * + * @return the value + */ + public Long getRowsAffected() { + return rowsAffected; + } + + /** The total number of rows returned by occurrences of the statement. */ + @com.fasterxml.jackson.annotation.JsonProperty("rowsSent") + private final Long rowsSent; + + /** + * The total number of rows returned by occurrences of the statement. + * + * @return the value + */ + public Long getRowsSent() { + return rowsSent; + } + + /** The total number of rows read from storage engines by occurrences of the statement. */ + @com.fasterxml.jackson.annotation.JsonProperty("rowsExamined") + private final Long rowsExamined; + + /** + * The total number of rows read from storage engines by occurrences of the statement. + * + * @return the value + */ + public Long getRowsExamined() { + return rowsExamined; + } + + /** + * The total number of internal on-disk temporary tables created by occurrences of the + * statement. + */ + @com.fasterxml.jackson.annotation.JsonProperty("tmpDiskTables") + private final Long tmpDiskTables; + + /** + * The total number of internal on-disk temporary tables created by occurrences of the + * statement. + * + * @return the value + */ + public Long getTmpDiskTables() { + return tmpDiskTables; + } + + /** + * The total number of internal in-memory temporary tables created by occurrences of the + * statement Count + */ + @com.fasterxml.jackson.annotation.JsonProperty("tmpTables") + private final Long tmpTables; + + /** + * The total number of internal in-memory temporary tables created by occurrences of the + * statement Count + * + * @return the value + */ + public Long getTmpTables() { + return tmpTables; + } + + /** + * The total number of joins that perform table scans because they do not use indexes by + * occurrences of the statement. If this value is not 0 + */ + @com.fasterxml.jackson.annotation.JsonProperty("selectFullJoin") + private final Long selectFullJoin; + + /** + * The total number of joins that perform table scans because they do not use indexes by + * occurrences of the statement. If this value is not 0 + * + * @return the value + */ + public Long getSelectFullJoin() { + return selectFullJoin; + } + + /** + * The total number of joins that used a range search on a reference table by occurrences of the + * statement + */ + @com.fasterxml.jackson.annotation.JsonProperty("selectFullRangeJoin") + private final Long selectFullRangeJoin; + + /** + * The total number of joins that used a range search on a reference table by occurrences of the + * statement + * + * @return the value + */ + public Long getSelectFullRangeJoin() { + return selectFullRangeJoin; + } + + /** + * The total number of joins that used ranges on the first table by occurrences of the + * statement. This is normally not a critical issue even if the value is quite large. Count + */ + @com.fasterxml.jackson.annotation.JsonProperty("selectRange") + private final Long selectRange; + + /** + * The total number of joins that used ranges on the first table by occurrences of the + * statement. This is normally not a critical issue even if the value is quite large. Count + * + * @return the value + */ + public Long getSelectRange() { + return selectRange; + } + + /** + * The total number of joins without keys that check for key usage after each row by occurrences + * of the statement. If this is not 0 + */ + @com.fasterxml.jackson.annotation.JsonProperty("selectRangeCheck") + private final Long selectRangeCheck; + + /** + * The total number of joins without keys that check for key usage after each row by occurrences + * of the statement. If this is not 0 + * + * @return the value + */ + public Long getSelectRangeCheck() { + return selectRangeCheck; + } + + /** + * The total number of joins that did a full scan of the first table by occurrences of the + * statement Count + */ + @com.fasterxml.jackson.annotation.JsonProperty("selectScan") + private final Long selectScan; + + /** + * The total number of joins that did a full scan of the first table by occurrences of the + * statement Count + * + * @return the value + */ + public Long getSelectScan() { + return selectScan; + } + + /** The total number of sort merge passes by occurrences of the statement. */ + @com.fasterxml.jackson.annotation.JsonProperty("sortMergePasses") + private final Long sortMergePasses; + + /** + * The total number of sort merge passes by occurrences of the statement. + * + * @return the value + */ + public Long getSortMergePasses() { + return sortMergePasses; + } + + /** The total number of sorts that were done using ranges by occurrences of the statement. */ + @com.fasterxml.jackson.annotation.JsonProperty("sortRange") + private final Long sortRange; + + /** + * The total number of sorts that were done using ranges by occurrences of the statement. + * + * @return the value + */ + public Long getSortRange() { + return sortRange; + } + + /** The total number of rows sorted by occurrences of the statement. */ + @com.fasterxml.jackson.annotation.JsonProperty("rowsSorted") + private final Long rowsSorted; + + /** + * The total number of rows sorted by occurrences of the statement. + * + * @return the value + */ + public Long getRowsSorted() { + return rowsSorted; + } + + /** + * The total number of sorts that were done by scanning the table by occurrences of the + * statement. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sortScan") + private final Long sortScan; + + /** + * The total number of sorts that were done by scanning the table by occurrences of the + * statement. + * + * @return the value + */ + public Long getSortScan() { + return sortScan; + } + + /** + * The number of occurences of the statement which performed a table scan without using an index + * Count + */ + @com.fasterxml.jackson.annotation.JsonProperty("noIndexUsedCount") + private final Long noIndexUsedCount; + + /** + * The number of occurences of the statement which performed a table scan without using an index + * Count + * + * @return the value + */ + public Long getNoIndexUsedCount() { + return noIndexUsedCount; + } + + /** + * The number of occurences of the statement where the server found no good index to use Count + */ + @com.fasterxml.jackson.annotation.JsonProperty("noGoodIndexUsedCount") + private final Long noGoodIndexUsedCount; + + /** + * The number of occurences of the statement where the server found no good index to use Count + * + * @return the value + */ + public Long getNoGoodIndexUsedCount() { + return noGoodIndexUsedCount; + } + + /** The total time spent on CPU (in picoseconds) for the current thread. */ + @com.fasterxml.jackson.annotation.JsonProperty("cpuLatencyInPs") + private final Long cpuLatencyInPs; + + /** + * The total time spent on CPU (in picoseconds) for the current thread. + * + * @return the value + */ + public Long getCpuLatencyInPs() { + return cpuLatencyInPs; + } + + /** The maximum amount of controlled memory (in bytes) used by the statement. */ + @com.fasterxml.jackson.annotation.JsonProperty("maxControlledMemoryInBytes") + private final Long maxControlledMemoryInBytes; + + /** + * The maximum amount of controlled memory (in bytes) used by the statement. + * + * @return the value + */ + public Long getMaxControlledMemoryInBytes() { + return maxControlledMemoryInBytes; + } + + /** The maximum amount of memory (in bytes) used by the statement. */ + @com.fasterxml.jackson.annotation.JsonProperty("maxTotalMemoryInBytes") + private final Long maxTotalMemoryInBytes; + + /** + * The maximum amount of memory (in bytes) used by the statement. + * + * @return the value + */ + public Long getMaxTotalMemoryInBytes() { + return maxTotalMemoryInBytes; + } + + /** + * The total number of times a query was processed on the secondary engine (HEATWAVE) for + * occurrences of this statement Count. + */ + @com.fasterxml.jackson.annotation.JsonProperty("execCountSecondary") + private final Long execCountSecondary; + + /** + * The total number of times a query was processed on the secondary engine (HEATWAVE) for + * occurrences of this statement Count. + * + * @return the value + */ + public Long getExecCountSecondary() { + return execCountSecondary; + } + + /** The time at which statement was first seen. Example: {@code "2023-01-16 08:04:31.533577"} */ + @com.fasterxml.jackson.annotation.JsonProperty("timeFirstSeen") + private final java.util.Date timeFirstSeen; + + /** + * The time at which statement was first seen. Example: {@code "2023-01-16 08:04:31.533577"} + * + * @return the value + */ + public java.util.Date getTimeFirstSeen() { + return timeFirstSeen; + } + + /** + * The time at which statement was most recently seen for all occurrences of the statement. + * Example: {@code "2023-01-30 02:17:08.067961"} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeLastSeen") + private final java.util.Date timeLastSeen; + + /** + * The time at which statement was most recently seen for all occurrences of the statement. + * Example: {@code "2023-01-30 02:17:08.067961"} + * + * @return the value + */ + public java.util.Date getTimeLastSeen() { + return timeLastSeen; + } + + @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("MySqlSqlStats("); + sb.append("super=").append(super.toString()); + sb.append("digest=").append(String.valueOf(this.digest)); + sb.append(", timeCollected=").append(String.valueOf(this.timeCollected)); + sb.append(", commandType=").append(String.valueOf(this.commandType)); + sb.append(", totalRows=").append(String.valueOf(this.totalRows)); + sb.append(", perfSchemaUsedPercent=").append(String.valueOf(this.perfSchemaUsedPercent)); + sb.append(", schemaName=").append(String.valueOf(this.schemaName)); + sb.append(", execCount=").append(String.valueOf(this.execCount)); + sb.append(", totalLatencyInPs=").append(String.valueOf(this.totalLatencyInPs)); + sb.append(", lockLatencyInPs=").append(String.valueOf(this.lockLatencyInPs)); + sb.append(", errCount=").append(String.valueOf(this.errCount)); + sb.append(", warnCount=").append(String.valueOf(this.warnCount)); + sb.append(", rowsAffected=").append(String.valueOf(this.rowsAffected)); + sb.append(", rowsSent=").append(String.valueOf(this.rowsSent)); + sb.append(", rowsExamined=").append(String.valueOf(this.rowsExamined)); + sb.append(", tmpDiskTables=").append(String.valueOf(this.tmpDiskTables)); + sb.append(", tmpTables=").append(String.valueOf(this.tmpTables)); + sb.append(", selectFullJoin=").append(String.valueOf(this.selectFullJoin)); + sb.append(", selectFullRangeJoin=").append(String.valueOf(this.selectFullRangeJoin)); + sb.append(", selectRange=").append(String.valueOf(this.selectRange)); + sb.append(", selectRangeCheck=").append(String.valueOf(this.selectRangeCheck)); + sb.append(", selectScan=").append(String.valueOf(this.selectScan)); + sb.append(", sortMergePasses=").append(String.valueOf(this.sortMergePasses)); + sb.append(", sortRange=").append(String.valueOf(this.sortRange)); + sb.append(", rowsSorted=").append(String.valueOf(this.rowsSorted)); + sb.append(", sortScan=").append(String.valueOf(this.sortScan)); + sb.append(", noIndexUsedCount=").append(String.valueOf(this.noIndexUsedCount)); + sb.append(", noGoodIndexUsedCount=").append(String.valueOf(this.noGoodIndexUsedCount)); + sb.append(", cpuLatencyInPs=").append(String.valueOf(this.cpuLatencyInPs)); + sb.append(", maxControlledMemoryInBytes=") + .append(String.valueOf(this.maxControlledMemoryInBytes)); + sb.append(", maxTotalMemoryInBytes=").append(String.valueOf(this.maxTotalMemoryInBytes)); + sb.append(", execCountSecondary=").append(String.valueOf(this.execCountSecondary)); + sb.append(", timeFirstSeen=").append(String.valueOf(this.timeFirstSeen)); + sb.append(", timeLastSeen=").append(String.valueOf(this.timeLastSeen)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof MySqlSqlStats)) { + return false; + } + + MySqlSqlStats other = (MySqlSqlStats) o; + return java.util.Objects.equals(this.digest, other.digest) + && java.util.Objects.equals(this.timeCollected, other.timeCollected) + && java.util.Objects.equals(this.commandType, other.commandType) + && java.util.Objects.equals(this.totalRows, other.totalRows) + && java.util.Objects.equals(this.perfSchemaUsedPercent, other.perfSchemaUsedPercent) + && java.util.Objects.equals(this.schemaName, other.schemaName) + && java.util.Objects.equals(this.execCount, other.execCount) + && java.util.Objects.equals(this.totalLatencyInPs, other.totalLatencyInPs) + && java.util.Objects.equals(this.lockLatencyInPs, other.lockLatencyInPs) + && java.util.Objects.equals(this.errCount, other.errCount) + && java.util.Objects.equals(this.warnCount, other.warnCount) + && java.util.Objects.equals(this.rowsAffected, other.rowsAffected) + && java.util.Objects.equals(this.rowsSent, other.rowsSent) + && java.util.Objects.equals(this.rowsExamined, other.rowsExamined) + && java.util.Objects.equals(this.tmpDiskTables, other.tmpDiskTables) + && java.util.Objects.equals(this.tmpTables, other.tmpTables) + && java.util.Objects.equals(this.selectFullJoin, other.selectFullJoin) + && java.util.Objects.equals(this.selectFullRangeJoin, other.selectFullRangeJoin) + && java.util.Objects.equals(this.selectRange, other.selectRange) + && java.util.Objects.equals(this.selectRangeCheck, other.selectRangeCheck) + && java.util.Objects.equals(this.selectScan, other.selectScan) + && java.util.Objects.equals(this.sortMergePasses, other.sortMergePasses) + && java.util.Objects.equals(this.sortRange, other.sortRange) + && java.util.Objects.equals(this.rowsSorted, other.rowsSorted) + && java.util.Objects.equals(this.sortScan, other.sortScan) + && java.util.Objects.equals(this.noIndexUsedCount, other.noIndexUsedCount) + && java.util.Objects.equals(this.noGoodIndexUsedCount, other.noGoodIndexUsedCount) + && java.util.Objects.equals(this.cpuLatencyInPs, other.cpuLatencyInPs) + && java.util.Objects.equals( + this.maxControlledMemoryInBytes, other.maxControlledMemoryInBytes) + && java.util.Objects.equals(this.maxTotalMemoryInBytes, other.maxTotalMemoryInBytes) + && java.util.Objects.equals(this.execCountSecondary, other.execCountSecondary) + && java.util.Objects.equals(this.timeFirstSeen, other.timeFirstSeen) + && java.util.Objects.equals(this.timeLastSeen, other.timeLastSeen) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.digest == null ? 43 : this.digest.hashCode()); + result = + (result * PRIME) + + (this.timeCollected == null ? 43 : this.timeCollected.hashCode()); + result = (result * PRIME) + (this.commandType == null ? 43 : this.commandType.hashCode()); + result = (result * PRIME) + (this.totalRows == null ? 43 : this.totalRows.hashCode()); + result = + (result * PRIME) + + (this.perfSchemaUsedPercent == null + ? 43 + : this.perfSchemaUsedPercent.hashCode()); + result = (result * PRIME) + (this.schemaName == null ? 43 : this.schemaName.hashCode()); + result = (result * PRIME) + (this.execCount == null ? 43 : this.execCount.hashCode()); + result = + (result * PRIME) + + (this.totalLatencyInPs == null ? 43 : this.totalLatencyInPs.hashCode()); + result = + (result * PRIME) + + (this.lockLatencyInPs == null ? 43 : this.lockLatencyInPs.hashCode()); + result = (result * PRIME) + (this.errCount == null ? 43 : this.errCount.hashCode()); + result = (result * PRIME) + (this.warnCount == null ? 43 : this.warnCount.hashCode()); + result = (result * PRIME) + (this.rowsAffected == null ? 43 : this.rowsAffected.hashCode()); + result = (result * PRIME) + (this.rowsSent == null ? 43 : this.rowsSent.hashCode()); + result = (result * PRIME) + (this.rowsExamined == null ? 43 : this.rowsExamined.hashCode()); + result = + (result * PRIME) + + (this.tmpDiskTables == null ? 43 : this.tmpDiskTables.hashCode()); + result = (result * PRIME) + (this.tmpTables == null ? 43 : this.tmpTables.hashCode()); + result = + (result * PRIME) + + (this.selectFullJoin == null ? 43 : this.selectFullJoin.hashCode()); + result = + (result * PRIME) + + (this.selectFullRangeJoin == null + ? 43 + : this.selectFullRangeJoin.hashCode()); + result = (result * PRIME) + (this.selectRange == null ? 43 : this.selectRange.hashCode()); + result = + (result * PRIME) + + (this.selectRangeCheck == null ? 43 : this.selectRangeCheck.hashCode()); + result = (result * PRIME) + (this.selectScan == null ? 43 : this.selectScan.hashCode()); + result = + (result * PRIME) + + (this.sortMergePasses == null ? 43 : this.sortMergePasses.hashCode()); + result = (result * PRIME) + (this.sortRange == null ? 43 : this.sortRange.hashCode()); + result = (result * PRIME) + (this.rowsSorted == null ? 43 : this.rowsSorted.hashCode()); + result = (result * PRIME) + (this.sortScan == null ? 43 : this.sortScan.hashCode()); + result = + (result * PRIME) + + (this.noIndexUsedCount == null ? 43 : this.noIndexUsedCount.hashCode()); + result = + (result * PRIME) + + (this.noGoodIndexUsedCount == null + ? 43 + : this.noGoodIndexUsedCount.hashCode()); + result = + (result * PRIME) + + (this.cpuLatencyInPs == null ? 43 : this.cpuLatencyInPs.hashCode()); + result = + (result * PRIME) + + (this.maxControlledMemoryInBytes == null + ? 43 + : this.maxControlledMemoryInBytes.hashCode()); + result = + (result * PRIME) + + (this.maxTotalMemoryInBytes == null + ? 43 + : this.maxTotalMemoryInBytes.hashCode()); + result = + (result * PRIME) + + (this.execCountSecondary == null + ? 43 + : this.execCountSecondary.hashCode()); + result = + (result * PRIME) + + (this.timeFirstSeen == null ? 43 : this.timeFirstSeen.hashCode()); + result = (result * PRIME) + (this.timeLastSeen == null ? 43 : this.timeLastSeen.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/ResourceStatistics.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/ResourceStatistics.java index 088d0785595..e7722f4ceec 100644 --- a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/ResourceStatistics.java +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/ResourceStatistics.java @@ -31,7 +31,9 @@ public final class ResourceStatistics "utilizationPercent", "usageChangePercent", "instanceMetrics", - "totalHostCapacity" + "totalHostCapacity", + "isHeatWaveClusterAttached", + "isHighlyAvailable" }) public ResourceStatistics( Double usage, @@ -41,7 +43,9 @@ public ResourceStatistics( Double utilizationPercent, Double usageChangePercent, java.util.List instanceMetrics, - Double totalHostCapacity) { + Double totalHostCapacity, + Boolean isHeatWaveClusterAttached, + Boolean isHighlyAvailable) { super(); this.usage = usage; this.capacity = capacity; @@ -51,6 +55,8 @@ public ResourceStatistics( this.usageChangePercent = usageChangePercent; this.instanceMetrics = instanceMetrics; this.totalHostCapacity = totalHostCapacity; + this.isHeatWaveClusterAttached = isHeatWaveClusterAttached; + this.isHighlyAvailable = isHighlyAvailable; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -191,6 +197,36 @@ public Builder totalHostCapacity(Double totalHostCapacity) { this.__explicitlySet__.add("totalHostCapacity"); return this; } + /** Specifies if MYSQL DB System has heatwave cluster attached. */ + @com.fasterxml.jackson.annotation.JsonProperty("isHeatWaveClusterAttached") + private Boolean isHeatWaveClusterAttached; + + /** + * Specifies if MYSQL DB System has heatwave cluster attached. + * + * @param isHeatWaveClusterAttached the value to set + * @return this builder + */ + public Builder isHeatWaveClusterAttached(Boolean isHeatWaveClusterAttached) { + this.isHeatWaveClusterAttached = isHeatWaveClusterAttached; + this.__explicitlySet__.add("isHeatWaveClusterAttached"); + return this; + } + /** Specifies if MYSQL DB System is highly available. */ + @com.fasterxml.jackson.annotation.JsonProperty("isHighlyAvailable") + private Boolean isHighlyAvailable; + + /** + * Specifies if MYSQL DB System is highly available. + * + * @param isHighlyAvailable the value to set + * @return this builder + */ + public Builder isHighlyAvailable(Boolean isHighlyAvailable) { + this.isHighlyAvailable = isHighlyAvailable; + this.__explicitlySet__.add("isHighlyAvailable"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -205,7 +241,9 @@ public ResourceStatistics build() { this.utilizationPercent, this.usageChangePercent, this.instanceMetrics, - this.totalHostCapacity); + this.totalHostCapacity, + this.isHeatWaveClusterAttached, + this.isHighlyAvailable); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -238,6 +276,12 @@ public Builder copy(ResourceStatistics model) { if (model.wasPropertyExplicitlySet("totalHostCapacity")) { this.totalHostCapacity(model.getTotalHostCapacity()); } + if (model.wasPropertyExplicitlySet("isHeatWaveClusterAttached")) { + this.isHeatWaveClusterAttached(model.getIsHeatWaveClusterAttached()); + } + if (model.wasPropertyExplicitlySet("isHighlyAvailable")) { + this.isHighlyAvailable(model.getIsHighlyAvailable()); + } return this; } } @@ -369,6 +413,32 @@ public Double getTotalHostCapacity() { return totalHostCapacity; } + /** Specifies if MYSQL DB System has heatwave cluster attached. */ + @com.fasterxml.jackson.annotation.JsonProperty("isHeatWaveClusterAttached") + private final Boolean isHeatWaveClusterAttached; + + /** + * Specifies if MYSQL DB System has heatwave cluster attached. + * + * @return the value + */ + public Boolean getIsHeatWaveClusterAttached() { + return isHeatWaveClusterAttached; + } + + /** Specifies if MYSQL DB System is highly available. */ + @com.fasterxml.jackson.annotation.JsonProperty("isHighlyAvailable") + private final Boolean isHighlyAvailable; + + /** + * Specifies if MYSQL DB System is highly available. + * + * @return the value + */ + public Boolean getIsHighlyAvailable() { + return isHighlyAvailable; + } + @Override public String toString() { return this.toString(true); @@ -392,6 +462,9 @@ public String toString(boolean includeByteArrayContents) { sb.append(", usageChangePercent=").append(String.valueOf(this.usageChangePercent)); sb.append(", instanceMetrics=").append(String.valueOf(this.instanceMetrics)); sb.append(", totalHostCapacity=").append(String.valueOf(this.totalHostCapacity)); + sb.append(", isHeatWaveClusterAttached=") + .append(String.valueOf(this.isHeatWaveClusterAttached)); + sb.append(", isHighlyAvailable=").append(String.valueOf(this.isHighlyAvailable)); sb.append(")"); return sb.toString(); } @@ -414,6 +487,9 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.usageChangePercent, other.usageChangePercent) && java.util.Objects.equals(this.instanceMetrics, other.instanceMetrics) && java.util.Objects.equals(this.totalHostCapacity, other.totalHostCapacity) + && java.util.Objects.equals( + this.isHeatWaveClusterAttached, other.isHeatWaveClusterAttached) + && java.util.Objects.equals(this.isHighlyAvailable, other.isHighlyAvailable) && super.equals(other); } @@ -445,6 +521,14 @@ public int hashCode() { result = (result * PRIME) + (this.totalHostCapacity == null ? 43 : this.totalHostCapacity.hashCode()); + result = + (result * PRIME) + + (this.isHeatWaveClusterAttached == null + ? 43 + : this.isHeatWaveClusterAttached.hashCode()); + result = + (result * PRIME) + + (this.isHighlyAvailable == null ? 43 : this.isHighlyAvailable.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/SummarizeHostInsightHostRecommendationAggregation.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/SummarizeHostInsightHostRecommendationAggregation.java index b55b481a7b7..1bf97ba81ed 100644 --- a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/SummarizeHostInsightHostRecommendationAggregation.java +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/SummarizeHostInsightHostRecommendationAggregation.java @@ -193,6 +193,8 @@ public enum ResourceMetric implements com.oracle.bmc.http.internal.BmcEnum { LogicalMemory("LOGICAL_MEMORY"), Storage("STORAGE"), Network("NETWORK"), + GpuUtilization("GPU_UTILIZATION"), + GpuMemoryUsage("GPU_MEMORY_USAGE"), /** * This value is used if a service returns a value for this enum that is not recognized by diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/SummarizeHostInsightResourceCapacityTrendAggregationCollection.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/SummarizeHostInsightResourceCapacityTrendAggregationCollection.java index a2fb52c80b7..701cacf7cee 100644 --- a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/SummarizeHostInsightResourceCapacityTrendAggregationCollection.java +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/SummarizeHostInsightResourceCapacityTrendAggregationCollection.java @@ -295,6 +295,8 @@ public enum ResourceMetric implements com.oracle.bmc.http.internal.BmcEnum { LogicalMemory("LOGICAL_MEMORY"), Storage("STORAGE"), Network("NETWORK"), + GpuUtilization("GPU_UTILIZATION"), + GpuMemoryUsage("GPU_MEMORY_USAGE"), /** * This value is used if a service returns a value for this enum that is not recognized by diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/SummarizeHostInsightResourceForecastTrendAggregation.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/SummarizeHostInsightResourceForecastTrendAggregation.java index d48d94abfa9..22aec20b5ea 100644 --- a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/SummarizeHostInsightResourceForecastTrendAggregation.java +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/SummarizeHostInsightResourceForecastTrendAggregation.java @@ -338,6 +338,8 @@ public enum ResourceMetric implements com.oracle.bmc.http.internal.BmcEnum { LogicalMemory("LOGICAL_MEMORY"), Storage("STORAGE"), Network("NETWORK"), + GpuUtilization("GPU_UTILIZATION"), + GpuMemoryUsage("GPU_MEMORY_USAGE"), /** * This value is used if a service returns a value for this enum that is not recognized by diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/SummarizeHostInsightResourceStatisticsAggregationCollection.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/SummarizeHostInsightResourceStatisticsAggregationCollection.java index a37b8805a27..00ef6edcbba 100644 --- a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/SummarizeHostInsightResourceStatisticsAggregationCollection.java +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/SummarizeHostInsightResourceStatisticsAggregationCollection.java @@ -273,6 +273,8 @@ public enum ResourceMetric implements com.oracle.bmc.http.internal.BmcEnum { LogicalMemory("LOGICAL_MEMORY"), Storage("STORAGE"), Network("NETWORK"), + GpuUtilization("GPU_UTILIZATION"), + GpuMemoryUsage("GPU_MEMORY_USAGE"), /** * This value is used if a service returns a value for this enum that is not recognized by diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/SummarizeHostInsightResourceUsageAggregation.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/SummarizeHostInsightResourceUsageAggregation.java index e810ec71860..1668d2f18a8 100644 --- a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/SummarizeHostInsightResourceUsageAggregation.java +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/SummarizeHostInsightResourceUsageAggregation.java @@ -254,6 +254,8 @@ public enum ResourceMetric implements com.oracle.bmc.http.internal.BmcEnum { LogicalMemory("LOGICAL_MEMORY"), Storage("STORAGE"), Network("NETWORK"), + GpuUtilization("GPU_UTILIZATION"), + GpuMemoryUsage("GPU_MEMORY_USAGE"), /** * This value is used if a service returns a value for this enum that is not recognized by diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/SummarizeHostInsightResourceUsageTrendAggregationCollection.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/SummarizeHostInsightResourceUsageTrendAggregationCollection.java index 6cad694522e..c39143c38fa 100644 --- a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/SummarizeHostInsightResourceUsageTrendAggregationCollection.java +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/SummarizeHostInsightResourceUsageTrendAggregationCollection.java @@ -224,6 +224,8 @@ public enum ResourceMetric implements com.oracle.bmc.http.internal.BmcEnum { LogicalMemory("LOGICAL_MEMORY"), Storage("STORAGE"), Network("NETWORK"), + GpuUtilization("GPU_UTILIZATION"), + GpuMemoryUsage("GPU_MEMORY_USAGE"), /** * This value is used if a service returns a value for this enum that is not recognized by diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/SummarizeHostInsightResourceUtilizationInsightAggregation.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/SummarizeHostInsightResourceUtilizationInsightAggregation.java index dd617144a49..41717292842 100644 --- a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/SummarizeHostInsightResourceUtilizationInsightAggregation.java +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/SummarizeHostInsightResourceUtilizationInsightAggregation.java @@ -261,6 +261,8 @@ public enum ResourceMetric implements com.oracle.bmc.http.internal.BmcEnum { LogicalMemory("LOGICAL_MEMORY"), Storage("STORAGE"), Network("NETWORK"), + GpuUtilization("GPU_UTILIZATION"), + GpuMemoryUsage("GPU_MEMORY_USAGE"), /** * This value is used if a service returns a value for this enum that is not recognized by diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/UpdateDatabaseInsightDetails.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/UpdateDatabaseInsightDetails.java index aac6475e794..a7ba101a97b 100644 --- a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/UpdateDatabaseInsightDetails.java +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/UpdateDatabaseInsightDetails.java @@ -33,7 +33,10 @@ name = "PE_COMANAGED_DATABASE"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = UpdateAutonomousDatabaseInsightDetails.class, - name = "AUTONOMOUS_DATABASE") + name = "AUTONOMOUS_DATABASE"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = UpdateMdsMySqlDatabaseInsight.class, + name = "MDS_MYSQL_DATABASE_SYSTEM") }) @com.fasterxml.jackson.annotation.JsonFilter( com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/UpdateMacsManagedExternalDatabaseInsightDetails.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/UpdateMacsManagedExternalDatabaseInsightDetails.java index f7b4fdc0ebd..f4df2bc1ee7 100644 --- a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/UpdateMacsManagedExternalDatabaseInsightDetails.java +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/UpdateMacsManagedExternalDatabaseInsightDetails.java @@ -5,7 +5,7 @@ package com.oracle.bmc.opsi.model; /** - * The information to be updated.
+ * The freeformTags and definedTags to be updated.
* Note: Objects should always be created or deserialized using the {@link Builder}. This model * distinguishes fields that are {@code null} because they are unset from fields that are explicitly * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/UpdateMdsMySqlDatabaseInsight.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/UpdateMdsMySqlDatabaseInsight.java new file mode 100644 index 00000000000..65e46fa3335 --- /dev/null +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/UpdateMdsMySqlDatabaseInsight.java @@ -0,0 +1,127 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.opsi.model; + +/** + * Database insight resource.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * 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: 20200630") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = UpdateMdsMySqlDatabaseInsight.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "entitySource") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class UpdateMdsMySqlDatabaseInsight extends UpdateDatabaseInsightDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private java.util.Map freeformTags; + + public Builder freeformTags(java.util.Map freeformTags) { + this.freeformTags = freeformTags; + this.__explicitlySet__.add("freeformTags"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private java.util.Map> definedTags; + + public Builder definedTags( + java.util.Map> definedTags) { + this.definedTags = definedTags; + this.__explicitlySet__.add("definedTags"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public UpdateMdsMySqlDatabaseInsight build() { + UpdateMdsMySqlDatabaseInsight model = + new UpdateMdsMySqlDatabaseInsight(this.freeformTags, this.definedTags); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(UpdateMdsMySqlDatabaseInsight model) { + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public UpdateMdsMySqlDatabaseInsight( + java.util.Map freeformTags, + java.util.Map> definedTags) { + super(freeformTags, definedTags); + } + + @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("UpdateMdsMySqlDatabaseInsight("); + 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 UpdateMdsMySqlDatabaseInsight)) { + return false; + } + + UpdateMdsMySqlDatabaseInsight other = (UpdateMdsMySqlDatabaseInsight) o; + return super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + return result; + } +} diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/UpdatePeComanagedDatabaseInsightDetails.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/UpdatePeComanagedDatabaseInsightDetails.java index 01b166343d4..c41efdefb3b 100644 --- a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/UpdatePeComanagedDatabaseInsightDetails.java +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/model/UpdatePeComanagedDatabaseInsightDetails.java @@ -5,7 +5,7 @@ package com.oracle.bmc.opsi.model; /** - * The information to be updated.
+ * The freeformTags and definedTags to be updated.
* Note: Objects should always be created or deserialized using the {@link Builder}. This model * distinguishes fields that are {@code null} because they are unset from fields that are explicitly * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/IngestMySqlSqlStatsRequest.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/IngestMySqlSqlStatsRequest.java new file mode 100644 index 00000000000..5a310c49360 --- /dev/null +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/IngestMySqlSqlStatsRequest.java @@ -0,0 +1,411 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.opsi.requests; + +import com.oracle.bmc.opsi.model.*; +/** + * Example: Click here to see how to use IngestMySqlSqlStatsRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200630") +public class IngestMySqlSqlStatsRequest + extends com.oracle.bmc.requests.BmcRequest< + com.oracle.bmc.opsi.model.IngestMySqlSqlStatsDetails> { + + /** Collection of MySql SQL stats objects for a particular database. */ + private com.oracle.bmc.opsi.model.IngestMySqlSqlStatsDetails ingestMySqlSqlStatsDetails; + + /** Collection of MySql SQL stats objects for a particular database. */ + public com.oracle.bmc.opsi.model.IngestMySqlSqlStatsDetails getIngestMySqlSqlStatsDetails() { + return ingestMySqlSqlStatsDetails; + } + /** + * Optional [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the associated DBaaS entity. + */ + private String databaseId; + + /** + * Optional [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the associated DBaaS entity. + */ + public String getDatabaseId() { + return databaseId; + } + /** + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * database insight resource. + */ + private String id; + + /** + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * database insight resource. + */ + public String getId() { + return id; + } + /** + * 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. + */ + public String getOpcRequestId() { + return opcRequestId; + } + /** + * Used for optimistic concurrency control. In the update or delete call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous get, create, or update + * response for that resource. The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + */ + private String ifMatch; + + /** + * Used for optimistic concurrency control. In the update or delete call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous get, create, or update + * response for that resource. The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + */ + public String getIfMatch() { + return ifMatch; + } + /** + * A token that uniquely identifies a request that can be retried in case of a timeout or server + * error without risk of executing the same action again. Retry tokens expire after 24 hours. + * + *

Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting + * operations, such as a resource being deleted or purged from the system. + */ + private String opcRetryToken; + + /** + * A token that uniquely identifies a request that can be retried in case of a timeout or server + * error without risk of executing the same action again. Retry tokens expire after 24 hours. + * + *

Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting + * operations, such as a resource being deleted or purged from the system. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.opsi.model.IngestMySqlSqlStatsDetails getBody$() { + return ingestMySqlSqlStatsDetails; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + IngestMySqlSqlStatsRequest, + com.oracle.bmc.opsi.model.IngestMySqlSqlStatsDetails> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** Collection of MySql SQL stats objects for a particular database. */ + private com.oracle.bmc.opsi.model.IngestMySqlSqlStatsDetails ingestMySqlSqlStatsDetails = + null; + + /** + * Collection of MySql SQL stats objects for a particular database. + * + * @param ingestMySqlSqlStatsDetails the value to set + * @return this builder instance + */ + public Builder ingestMySqlSqlStatsDetails( + com.oracle.bmc.opsi.model.IngestMySqlSqlStatsDetails ingestMySqlSqlStatsDetails) { + this.ingestMySqlSqlStatsDetails = ingestMySqlSqlStatsDetails; + return this; + } + + /** + * Optional + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the associated DBaaS entity. + */ + private String databaseId = null; + + /** + * Optional + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the associated DBaaS entity. + * + * @param databaseId the value to set + * @return this builder instance + */ + public Builder databaseId(String databaseId) { + this.databaseId = databaseId; + return this; + } + + /** + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the database insight resource. + */ + private String id = null; + + /** + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the database insight resource. + * + * @param id the value to set + * @return this builder instance + */ + public Builder id(String id) { + this.id = id; + 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 = null; + + /** + * 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 instance + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * Used for optimistic concurrency control. In the update or delete call for a resource, set + * the {@code if-match} parameter to the value of the etag from a previous get, create, or + * update response for that resource. The resource will be updated or deleted only if the + * etag you provide matches the resource's current etag value. + */ + private String ifMatch = null; + + /** + * Used for optimistic concurrency control. In the update or delete call for a resource, set + * the {@code if-match} parameter to the value of the etag from a previous get, create, or + * update response for that resource. The resource will be updated or deleted only if the + * etag you provide matches the resource's current etag value. + * + * @param ifMatch the value to set + * @return this builder instance + */ + public Builder ifMatch(String ifMatch) { + this.ifMatch = ifMatch; + return this; + } + + /** + * A token that uniquely identifies a request that can be retried in case of a timeout or + * server error without risk of executing the same action again. Retry tokens expire after + * 24 hours. + * + *

Note:* Retry tokens can be invalidated before the 24 hour time limit due to + * conflicting operations, such as a resource being deleted or purged from the system. + */ + private String opcRetryToken = null; + + /** + * A token that uniquely identifies a request that can be retried in case of a timeout or + * server error without risk of executing the same action again. Retry tokens expire after + * 24 hours. + * + *

Note:* Retry tokens can be invalidated before the 24 hour time limit due to + * conflicting operations, such as a resource being deleted or purged from the system. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + 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(IngestMySqlSqlStatsRequest o) { + ingestMySqlSqlStatsDetails(o.getIngestMySqlSqlStatsDetails()); + databaseId(o.getDatabaseId()); + id(o.getId()); + opcRequestId(o.getOpcRequestId()); + ifMatch(o.getIfMatch()); + opcRetryToken(o.getOpcRetryToken()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of IngestMySqlSqlStatsRequest 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 IngestMySqlSqlStatsRequest + */ + public IngestMySqlSqlStatsRequest build() { + IngestMySqlSqlStatsRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$(com.oracle.bmc.opsi.model.IngestMySqlSqlStatsDetails body) { + ingestMySqlSqlStatsDetails(body); + return this; + } + + /** + * Build the instance of IngestMySqlSqlStatsRequest 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 IngestMySqlSqlStatsRequest + */ + public IngestMySqlSqlStatsRequest buildWithoutInvocationCallback() { + IngestMySqlSqlStatsRequest request = new IngestMySqlSqlStatsRequest(); + request.ingestMySqlSqlStatsDetails = ingestMySqlSqlStatsDetails; + request.databaseId = databaseId; + request.id = id; + request.opcRequestId = opcRequestId; + request.ifMatch = ifMatch; + request.opcRetryToken = opcRetryToken; + return request; + // new IngestMySqlSqlStatsRequest(ingestMySqlSqlStatsDetails, databaseId, id, + // opcRequestId, ifMatch, opcRetryToken); + } + } + + /** + * 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() + .ingestMySqlSqlStatsDetails(ingestMySqlSqlStatsDetails) + .databaseId(databaseId) + .id(id) + .opcRequestId(opcRequestId) + .ifMatch(ifMatch) + .opcRetryToken(opcRetryToken); + } + + /** + * 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(",ingestMySqlSqlStatsDetails=") + .append(String.valueOf(this.ingestMySqlSqlStatsDetails)); + sb.append(",databaseId=").append(String.valueOf(this.databaseId)); + sb.append(",id=").append(String.valueOf(this.id)); + sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId)); + sb.append(",ifMatch=").append(String.valueOf(this.ifMatch)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof IngestMySqlSqlStatsRequest)) { + return false; + } + + IngestMySqlSqlStatsRequest other = (IngestMySqlSqlStatsRequest) o; + return super.equals(o) + && java.util.Objects.equals( + this.ingestMySqlSqlStatsDetails, other.ingestMySqlSqlStatsDetails) + && java.util.Objects.equals(this.databaseId, other.databaseId) + && java.util.Objects.equals(this.id, other.id) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.ifMatch, other.ifMatch) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.ingestMySqlSqlStatsDetails == null + ? 43 + : this.ingestMySqlSqlStatsDetails.hashCode()); + result = (result * PRIME) + (this.databaseId == null ? 43 : this.databaseId.hashCode()); + result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + return result; + } +} diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/IngestMySqlSqlTextRequest.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/IngestMySqlSqlTextRequest.java new file mode 100644 index 00000000000..369f4ae5b91 --- /dev/null +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/IngestMySqlSqlTextRequest.java @@ -0,0 +1,450 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.opsi.requests; + +import com.oracle.bmc.opsi.model.*; +/** + * Example: Click here to see how to use IngestMySqlSqlTextRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200630") +public class IngestMySqlSqlTextRequest + extends com.oracle.bmc.requests.BmcRequest< + com.oracle.bmc.opsi.model.IngestMySqlSqlTextDetails> { + + /** Collection of SQL text objects for a particular database. */ + private com.oracle.bmc.opsi.model.IngestMySqlSqlTextDetails ingestMySqlSqlTextDetails; + + /** Collection of SQL text objects for a particular database. */ + public com.oracle.bmc.opsi.model.IngestMySqlSqlTextDetails getIngestMySqlSqlTextDetails() { + return ingestMySqlSqlTextDetails; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment. + */ + private String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment. + */ + public String getCompartmentId() { + return compartmentId; + } + /** + * Optional [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the associated DBaaS entity. + */ + private String databaseId; + + /** + * Optional [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the associated DBaaS entity. + */ + public String getDatabaseId() { + return databaseId; + } + /** + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * database insight resource. + */ + private String id; + + /** + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * database insight resource. + */ + public String getId() { + return id; + } + /** + * 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. + */ + public String getOpcRequestId() { + return opcRequestId; + } + /** + * Used for optimistic concurrency control. In the update or delete call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous get, create, or update + * response for that resource. The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + */ + private String ifMatch; + + /** + * Used for optimistic concurrency control. In the update or delete call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous get, create, or update + * response for that resource. The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + */ + public String getIfMatch() { + return ifMatch; + } + /** + * A token that uniquely identifies a request that can be retried in case of a timeout or server + * error without risk of executing the same action again. Retry tokens expire after 24 hours. + * + *

Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting + * operations, such as a resource being deleted or purged from the system. + */ + private String opcRetryToken; + + /** + * A token that uniquely identifies a request that can be retried in case of a timeout or server + * error without risk of executing the same action again. Retry tokens expire after 24 hours. + * + *

Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting + * operations, such as a resource being deleted or purged from the system. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.opsi.model.IngestMySqlSqlTextDetails getBody$() { + return ingestMySqlSqlTextDetails; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + IngestMySqlSqlTextRequest, + com.oracle.bmc.opsi.model.IngestMySqlSqlTextDetails> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** Collection of SQL text objects for a particular database. */ + private com.oracle.bmc.opsi.model.IngestMySqlSqlTextDetails ingestMySqlSqlTextDetails = + null; + + /** + * Collection of SQL text objects for a particular database. + * + * @param ingestMySqlSqlTextDetails the value to set + * @return this builder instance + */ + public Builder ingestMySqlSqlTextDetails( + com.oracle.bmc.opsi.model.IngestMySqlSqlTextDetails ingestMySqlSqlTextDetails) { + this.ingestMySqlSqlTextDetails = ingestMySqlSqlTextDetails; + return this; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment. + */ + private String compartmentId = null; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment. + * + * @param compartmentId the value to set + * @return this builder instance + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + return this; + } + + /** + * Optional + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the associated DBaaS entity. + */ + private String databaseId = null; + + /** + * Optional + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the associated DBaaS entity. + * + * @param databaseId the value to set + * @return this builder instance + */ + public Builder databaseId(String databaseId) { + this.databaseId = databaseId; + return this; + } + + /** + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the database insight resource. + */ + private String id = null; + + /** + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the database insight resource. + * + * @param id the value to set + * @return this builder instance + */ + public Builder id(String id) { + this.id = id; + 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 = null; + + /** + * 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 instance + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * Used for optimistic concurrency control. In the update or delete call for a resource, set + * the {@code if-match} parameter to the value of the etag from a previous get, create, or + * update response for that resource. The resource will be updated or deleted only if the + * etag you provide matches the resource's current etag value. + */ + private String ifMatch = null; + + /** + * Used for optimistic concurrency control. In the update or delete call for a resource, set + * the {@code if-match} parameter to the value of the etag from a previous get, create, or + * update response for that resource. The resource will be updated or deleted only if the + * etag you provide matches the resource's current etag value. + * + * @param ifMatch the value to set + * @return this builder instance + */ + public Builder ifMatch(String ifMatch) { + this.ifMatch = ifMatch; + return this; + } + + /** + * A token that uniquely identifies a request that can be retried in case of a timeout or + * server error without risk of executing the same action again. Retry tokens expire after + * 24 hours. + * + *

Note:* Retry tokens can be invalidated before the 24 hour time limit due to + * conflicting operations, such as a resource being deleted or purged from the system. + */ + private String opcRetryToken = null; + + /** + * A token that uniquely identifies a request that can be retried in case of a timeout or + * server error without risk of executing the same action again. Retry tokens expire after + * 24 hours. + * + *

Note:* Retry tokens can be invalidated before the 24 hour time limit due to + * conflicting operations, such as a resource being deleted or purged from the system. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + 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(IngestMySqlSqlTextRequest o) { + ingestMySqlSqlTextDetails(o.getIngestMySqlSqlTextDetails()); + compartmentId(o.getCompartmentId()); + databaseId(o.getDatabaseId()); + id(o.getId()); + opcRequestId(o.getOpcRequestId()); + ifMatch(o.getIfMatch()); + opcRetryToken(o.getOpcRetryToken()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of IngestMySqlSqlTextRequest 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 IngestMySqlSqlTextRequest + */ + public IngestMySqlSqlTextRequest build() { + IngestMySqlSqlTextRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$(com.oracle.bmc.opsi.model.IngestMySqlSqlTextDetails body) { + ingestMySqlSqlTextDetails(body); + return this; + } + + /** + * Build the instance of IngestMySqlSqlTextRequest 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 IngestMySqlSqlTextRequest + */ + public IngestMySqlSqlTextRequest buildWithoutInvocationCallback() { + IngestMySqlSqlTextRequest request = new IngestMySqlSqlTextRequest(); + request.ingestMySqlSqlTextDetails = ingestMySqlSqlTextDetails; + request.compartmentId = compartmentId; + request.databaseId = databaseId; + request.id = id; + request.opcRequestId = opcRequestId; + request.ifMatch = ifMatch; + request.opcRetryToken = opcRetryToken; + return request; + // new IngestMySqlSqlTextRequest(ingestMySqlSqlTextDetails, compartmentId, databaseId, + // id, opcRequestId, ifMatch, opcRetryToken); + } + } + + /** + * 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() + .ingestMySqlSqlTextDetails(ingestMySqlSqlTextDetails) + .compartmentId(compartmentId) + .databaseId(databaseId) + .id(id) + .opcRequestId(opcRequestId) + .ifMatch(ifMatch) + .opcRetryToken(opcRetryToken); + } + + /** + * 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(",ingestMySqlSqlTextDetails=") + .append(String.valueOf(this.ingestMySqlSqlTextDetails)); + sb.append(",compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(",databaseId=").append(String.valueOf(this.databaseId)); + sb.append(",id=").append(String.valueOf(this.id)); + sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId)); + sb.append(",ifMatch=").append(String.valueOf(this.ifMatch)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof IngestMySqlSqlTextRequest)) { + return false; + } + + IngestMySqlSqlTextRequest other = (IngestMySqlSqlTextRequest) o; + return super.equals(o) + && java.util.Objects.equals( + this.ingestMySqlSqlTextDetails, other.ingestMySqlSqlTextDetails) + && java.util.Objects.equals(this.compartmentId, other.compartmentId) + && java.util.Objects.equals(this.databaseId, other.databaseId) + && java.util.Objects.equals(this.id, other.id) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.ifMatch, other.ifMatch) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.ingestMySqlSqlTextDetails == null + ? 43 + : this.ingestMySqlSqlTextDetails.hashCode()); + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + (this.databaseId == null ? 43 : this.databaseId.hashCode()); + result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + return result; + } +} diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/ListDatabaseConfigurationsRequest.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/ListDatabaseConfigurationsRequest.java index 768963b3c7a..ba05bfd38ca 100644 --- a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/ListDatabaseConfigurationsRequest.java +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/ListDatabaseConfigurationsRequest.java @@ -109,6 +109,7 @@ public enum DatabaseType implements com.oracle.bmc.http.internal.BmcEnum { ComanagedExacsCdb("COMANAGED-EXACS-CDB"), ComanagedExacsPdb("COMANAGED-EXACS-PDB"), ComanagedExacsNoncdb("COMANAGED-EXACS-NONCDB"), + MdsMysql("MDS-MYSQL"), ; private final String value; diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/ListDatabaseInsightsRequest.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/ListDatabaseInsightsRequest.java index f6790863447..7dda062c082 100644 --- a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/ListDatabaseInsightsRequest.java +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/ListDatabaseInsightsRequest.java @@ -87,6 +87,7 @@ public enum DatabaseType implements com.oracle.bmc.http.internal.BmcEnum { ComanagedExacsCdb("COMANAGED-EXACS-CDB"), ComanagedExacsPdb("COMANAGED-EXACS-PDB"), ComanagedExacsNoncdb("COMANAGED-EXACS-NONCDB"), + MdsMysql("MDS-MYSQL"), ; private final String value; diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/SummarizeDatabaseInsightResourceCapacityTrendRequest.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/SummarizeDatabaseInsightResourceCapacityTrendRequest.java index 362b24e7574..e3280ab0688 100644 --- a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/SummarizeDatabaseInsightResourceCapacityTrendRequest.java +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/SummarizeDatabaseInsightResourceCapacityTrendRequest.java @@ -110,6 +110,7 @@ public enum DatabaseType implements com.oracle.bmc.http.internal.BmcEnum { ComanagedExacsCdb("COMANAGED-EXACS-CDB"), ComanagedExacsPdb("COMANAGED-EXACS-PDB"), ComanagedExacsNoncdb("COMANAGED-EXACS-NONCDB"), + MdsMysql("MDS-MYSQL"), ; private final String value; diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/SummarizeDatabaseInsightResourceForecastTrendRequest.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/SummarizeDatabaseInsightResourceForecastTrendRequest.java index 7875d523c10..44e0046226b 100644 --- a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/SummarizeDatabaseInsightResourceForecastTrendRequest.java +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/SummarizeDatabaseInsightResourceForecastTrendRequest.java @@ -110,6 +110,7 @@ public enum DatabaseType implements com.oracle.bmc.http.internal.BmcEnum { ComanagedExacsCdb("COMANAGED-EXACS-CDB"), ComanagedExacsPdb("COMANAGED-EXACS-PDB"), ComanagedExacsNoncdb("COMANAGED-EXACS-NONCDB"), + MdsMysql("MDS-MYSQL"), ; private final String value; diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/SummarizeDatabaseInsightResourceStatisticsRequest.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/SummarizeDatabaseInsightResourceStatisticsRequest.java index 2821d744f21..7bfdd19c6b9 100644 --- a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/SummarizeDatabaseInsightResourceStatisticsRequest.java +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/SummarizeDatabaseInsightResourceStatisticsRequest.java @@ -110,6 +110,7 @@ public enum DatabaseType implements com.oracle.bmc.http.internal.BmcEnum { ComanagedExacsCdb("COMANAGED-EXACS-CDB"), ComanagedExacsPdb("COMANAGED-EXACS-PDB"), ComanagedExacsNoncdb("COMANAGED-EXACS-NONCDB"), + MdsMysql("MDS-MYSQL"), ; private final String value; diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/SummarizeDatabaseInsightResourceUsageRequest.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/SummarizeDatabaseInsightResourceUsageRequest.java index 194dae8961e..0ba09946b43 100644 --- a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/SummarizeDatabaseInsightResourceUsageRequest.java +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/SummarizeDatabaseInsightResourceUsageRequest.java @@ -110,6 +110,7 @@ public enum DatabaseType implements com.oracle.bmc.http.internal.BmcEnum { ComanagedExacsCdb("COMANAGED-EXACS-CDB"), ComanagedExacsPdb("COMANAGED-EXACS-PDB"), ComanagedExacsNoncdb("COMANAGED-EXACS-NONCDB"), + MdsMysql("MDS-MYSQL"), ; private final String value; diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/SummarizeDatabaseInsightResourceUsageTrendRequest.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/SummarizeDatabaseInsightResourceUsageTrendRequest.java index a6a54610259..7f9e975748c 100644 --- a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/SummarizeDatabaseInsightResourceUsageTrendRequest.java +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/SummarizeDatabaseInsightResourceUsageTrendRequest.java @@ -110,6 +110,7 @@ public enum DatabaseType implements com.oracle.bmc.http.internal.BmcEnum { ComanagedExacsCdb("COMANAGED-EXACS-CDB"), ComanagedExacsPdb("COMANAGED-EXACS-PDB"), ComanagedExacsNoncdb("COMANAGED-EXACS-NONCDB"), + MdsMysql("MDS-MYSQL"), ; private final String value; diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/SummarizeDatabaseInsightResourceUtilizationInsightRequest.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/SummarizeDatabaseInsightResourceUtilizationInsightRequest.java index ef5f046c736..3e6ca257efa 100644 --- a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/SummarizeDatabaseInsightResourceUtilizationInsightRequest.java +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/SummarizeDatabaseInsightResourceUtilizationInsightRequest.java @@ -110,6 +110,7 @@ public enum DatabaseType implements com.oracle.bmc.http.internal.BmcEnum { ComanagedExacsCdb("COMANAGED-EXACS-CDB"), ComanagedExacsPdb("COMANAGED-EXACS-PDB"), ComanagedExacsNoncdb("COMANAGED-EXACS-NONCDB"), + MdsMysql("MDS-MYSQL"), ; private final String value; diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/SummarizeHostInsightResourceForecastTrendRequest.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/SummarizeHostInsightResourceForecastTrendRequest.java index d49ed87b8ee..50b6a98ca53 100644 --- a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/SummarizeHostInsightResourceForecastTrendRequest.java +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/SummarizeHostInsightResourceForecastTrendRequest.java @@ -531,6 +531,13 @@ public String getMountPoint() { public String getInterfaceName() { return interfaceName; } + /** GPU identifier. */ + private Integer gpuId; + + /** GPU identifier. */ + public Integer getGpuId() { + return gpuId; + } /** Resource Status */ private java.util.List status; @@ -1175,6 +1182,20 @@ public Builder interfaceName(String interfaceName) { return this; } + /** GPU identifier. */ + private Integer gpuId = null; + + /** + * GPU identifier. + * + * @param gpuId the value to set + * @return this builder instance + */ + public Builder gpuId(Integer gpuId) { + this.gpuId = gpuId; + return this; + } + /** Resource Status */ private java.util.List status = null; @@ -1256,6 +1277,7 @@ public Builder copy(SummarizeHostInsightResourceForecastTrendRequest o) { lowUtilizationThreshold(o.getLowUtilizationThreshold()); mountPoint(o.getMountPoint()); interfaceName(o.getInterfaceName()); + gpuId(o.getGpuId()); status(o.getStatus()); invocationCallback(o.getInvocationCallback()); retryConfiguration(o.getRetryConfiguration()); @@ -1322,6 +1344,7 @@ public SummarizeHostInsightResourceForecastTrendRequest buildWithoutInvocationCa request.lowUtilizationThreshold = lowUtilizationThreshold; request.mountPoint = mountPoint; request.interfaceName = interfaceName; + request.gpuId = gpuId; request.status = status; return request; // new SummarizeHostInsightResourceForecastTrendRequest(compartmentId, resourceMetric, @@ -1330,7 +1353,7 @@ public SummarizeHostInsightResourceForecastTrendRequest buildWithoutInvocationCa // confidence, page, opcRequestId, definedTagEquals, freeformTagEquals, // definedTagExists, freeformTagExists, compartmentIdInSubtree, hostType, hostId, // vmclusterName, highUtilizationThreshold, lowUtilizationThreshold, mountPoint, - // interfaceName, status); + // interfaceName, gpuId, status); } } @@ -1368,6 +1391,7 @@ public Builder toBuilder() { .lowUtilizationThreshold(lowUtilizationThreshold) .mountPoint(mountPoint) .interfaceName(interfaceName) + .gpuId(gpuId) .status(status); } @@ -1413,6 +1437,7 @@ public String toString() { sb.append(",lowUtilizationThreshold=").append(String.valueOf(this.lowUtilizationThreshold)); sb.append(",mountPoint=").append(String.valueOf(this.mountPoint)); sb.append(",interfaceName=").append(String.valueOf(this.interfaceName)); + sb.append(",gpuId=").append(String.valueOf(this.gpuId)); sb.append(",status=").append(String.valueOf(this.status)); sb.append(")"); return sb.toString(); @@ -1460,6 +1485,7 @@ public boolean equals(Object o) { this.lowUtilizationThreshold, other.lowUtilizationThreshold) && java.util.Objects.equals(this.mountPoint, other.mountPoint) && java.util.Objects.equals(this.interfaceName, other.interfaceName) + && java.util.Objects.equals(this.gpuId, other.gpuId) && java.util.Objects.equals(this.status, other.status); } @@ -1536,6 +1562,7 @@ public int hashCode() { result = (result * PRIME) + (this.interfaceName == null ? 43 : this.interfaceName.hashCode()); + result = (result * PRIME) + (this.gpuId == null ? 43 : this.gpuId.hashCode()); result = (result * PRIME) + (this.status == null ? 43 : this.status.hashCode()); return result; } diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/SummarizeSqlInsightsRequest.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/SummarizeSqlInsightsRequest.java index 44a865e11a6..499cd85b43b 100644 --- a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/SummarizeSqlInsightsRequest.java +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/SummarizeSqlInsightsRequest.java @@ -53,6 +53,7 @@ public enum DatabaseType implements com.oracle.bmc.http.internal.BmcEnum { ComanagedExacsCdb("COMANAGED-EXACS-CDB"), ComanagedExacsPdb("COMANAGED-EXACS-PDB"), ComanagedExacsNoncdb("COMANAGED-EXACS-NONCDB"), + MdsMysql("MDS-MYSQL"), ; private final String value; diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/SummarizeSqlStatisticsRequest.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/SummarizeSqlStatisticsRequest.java index b056fe9b79c..9164513e21b 100644 --- a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/SummarizeSqlStatisticsRequest.java +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/requests/SummarizeSqlStatisticsRequest.java @@ -54,6 +54,7 @@ public enum DatabaseType implements com.oracle.bmc.http.internal.BmcEnum { ComanagedExacsCdb("COMANAGED-EXACS-CDB"), ComanagedExacsPdb("COMANAGED-EXACS-PDB"), ComanagedExacsNoncdb("COMANAGED-EXACS-NONCDB"), + MdsMysql("MDS-MYSQL"), ; private final String value; diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/responses/IngestMySqlSqlStatsResponse.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/responses/IngestMySqlSqlStatsResponse.java new file mode 100644 index 00000000000..9481c28c220 --- /dev/null +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/responses/IngestMySqlSqlStatsResponse.java @@ -0,0 +1,225 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.opsi.responses; + +import com.oracle.bmc.opsi.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200630") +public class IngestMySqlSqlStatsResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** 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; + } + + /** The returned {@code IngestMySqlSqlStatsResponseDetails} instance. */ + private com.oracle.bmc.opsi.model.IngestMySqlSqlStatsResponseDetails + ingestMySqlSqlStatsResponseDetails; + + /** + * The returned {@code IngestMySqlSqlStatsResponseDetails} instance. + * + * @return the value + */ + public com.oracle.bmc.opsi.model.IngestMySqlSqlStatsResponseDetails + getIngestMySqlSqlStatsResponseDetails() { + return ingestMySqlSqlStatsResponseDetails; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "etag", + "ingestMySqlSqlStatsResponseDetails" + }) + private IngestMySqlSqlStatsResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String etag, + com.oracle.bmc.opsi.model.IngestMySqlSqlStatsResponseDetails + ingestMySqlSqlStatsResponseDetails) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.etag = etag; + this.ingestMySqlSqlStatsResponseDetails = ingestMySqlSqlStatsResponseDetails; + } + + 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; + } + + /** + * 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; + } + + /** 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; + } + + /** The returned {@code IngestMySqlSqlStatsResponseDetails} instance. */ + private com.oracle.bmc.opsi.model.IngestMySqlSqlStatsResponseDetails + ingestMySqlSqlStatsResponseDetails; + + /** + * The returned {@code IngestMySqlSqlStatsResponseDetails} instance. + * + * @param ingestMySqlSqlStatsResponseDetails the value to set + * @return this builder + */ + public Builder ingestMySqlSqlStatsResponseDetails( + com.oracle.bmc.opsi.model.IngestMySqlSqlStatsResponseDetails + ingestMySqlSqlStatsResponseDetails) { + this.ingestMySqlSqlStatsResponseDetails = ingestMySqlSqlStatsResponseDetails; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(IngestMySqlSqlStatsResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + etag(o.getEtag()); + ingestMySqlSqlStatsResponseDetails(o.getIngestMySqlSqlStatsResponseDetails()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public IngestMySqlSqlStatsResponse build() { + return new IngestMySqlSqlStatsResponse( + __httpStatusCode__, + headers, + opcRequestId, + etag, + ingestMySqlSqlStatsResponseDetails); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",etag=").append(String.valueOf(etag)); + sb.append(",ingestMySqlSqlStatsResponseDetails=") + .append(String.valueOf(ingestMySqlSqlStatsResponseDetails)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof IngestMySqlSqlStatsResponse)) { + return false; + } + + IngestMySqlSqlStatsResponse other = (IngestMySqlSqlStatsResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.etag, other.etag) + && java.util.Objects.equals( + this.ingestMySqlSqlStatsResponseDetails, + other.ingestMySqlSqlStatsResponseDetails); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.etag == null ? 43 : this.etag.hashCode()); + result = + (result * PRIME) + + (this.ingestMySqlSqlStatsResponseDetails == null + ? 43 + : this.ingestMySqlSqlStatsResponseDetails.hashCode()); + return result; + } +} diff --git a/bmc-opsi/src/main/java/com/oracle/bmc/opsi/responses/IngestMySqlSqlTextResponse.java b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/responses/IngestMySqlSqlTextResponse.java new file mode 100644 index 00000000000..0574847142e --- /dev/null +++ b/bmc-opsi/src/main/java/com/oracle/bmc/opsi/responses/IngestMySqlSqlTextResponse.java @@ -0,0 +1,225 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.opsi.responses; + +import com.oracle.bmc.opsi.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200630") +public class IngestMySqlSqlTextResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** 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; + } + + /** The returned {@code IngestMySqlSqlTextResponseDetails} instance. */ + private com.oracle.bmc.opsi.model.IngestMySqlSqlTextResponseDetails + ingestMySqlSqlTextResponseDetails; + + /** + * The returned {@code IngestMySqlSqlTextResponseDetails} instance. + * + * @return the value + */ + public com.oracle.bmc.opsi.model.IngestMySqlSqlTextResponseDetails + getIngestMySqlSqlTextResponseDetails() { + return ingestMySqlSqlTextResponseDetails; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "etag", + "ingestMySqlSqlTextResponseDetails" + }) + private IngestMySqlSqlTextResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String etag, + com.oracle.bmc.opsi.model.IngestMySqlSqlTextResponseDetails + ingestMySqlSqlTextResponseDetails) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.etag = etag; + this.ingestMySqlSqlTextResponseDetails = ingestMySqlSqlTextResponseDetails; + } + + 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; + } + + /** + * 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; + } + + /** 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; + } + + /** The returned {@code IngestMySqlSqlTextResponseDetails} instance. */ + private com.oracle.bmc.opsi.model.IngestMySqlSqlTextResponseDetails + ingestMySqlSqlTextResponseDetails; + + /** + * The returned {@code IngestMySqlSqlTextResponseDetails} instance. + * + * @param ingestMySqlSqlTextResponseDetails the value to set + * @return this builder + */ + public Builder ingestMySqlSqlTextResponseDetails( + com.oracle.bmc.opsi.model.IngestMySqlSqlTextResponseDetails + ingestMySqlSqlTextResponseDetails) { + this.ingestMySqlSqlTextResponseDetails = ingestMySqlSqlTextResponseDetails; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(IngestMySqlSqlTextResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + etag(o.getEtag()); + ingestMySqlSqlTextResponseDetails(o.getIngestMySqlSqlTextResponseDetails()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public IngestMySqlSqlTextResponse build() { + return new IngestMySqlSqlTextResponse( + __httpStatusCode__, + headers, + opcRequestId, + etag, + ingestMySqlSqlTextResponseDetails); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",etag=").append(String.valueOf(etag)); + sb.append(",ingestMySqlSqlTextResponseDetails=") + .append(String.valueOf(ingestMySqlSqlTextResponseDetails)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof IngestMySqlSqlTextResponse)) { + return false; + } + + IngestMySqlSqlTextResponse other = (IngestMySqlSqlTextResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.etag, other.etag) + && java.util.Objects.equals( + this.ingestMySqlSqlTextResponseDetails, + other.ingestMySqlSqlTextResponseDetails); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.etag == null ? 43 : this.etag.hashCode()); + result = + (result * PRIME) + + (this.ingestMySqlSqlTextResponseDetails == null + ? 43 + : this.ingestMySqlSqlTextResponseDetails.hashCode()); + return result; + } +} diff --git a/bmc-opsi/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-opsi/reflect-config.json b/bmc-opsi/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-opsi/reflect-config.json index 9e0794eb105..306c077ce10 100644 --- a/bmc-opsi/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-opsi/reflect-config.json +++ b/bmc-opsi/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-opsi/reflect-config.json @@ -1503,6 +1503,20 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.opsi.model.CreateMdsMySqlDatabaseInsightDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.opsi.model.CreateMdsMySqlDatabaseInsightDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.opsi.model.CreateNewsReportDetails", @@ -2446,6 +2460,20 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.opsi.model.EnableMdsMySqlDatabaseInsightDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.opsi.model.EnableMdsMySqlDatabaseInsightDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.opsi.model.EnablePeComanagedDatabaseInsightDetails", @@ -2932,6 +2960,20 @@ "allDeclaredFields": true, "allDeclaredMethods": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.opsi.model.HostContainers", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.opsi.model.HostContainers$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.opsi.model.HostCpuHardwareConfiguration", @@ -3255,6 +3297,20 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.opsi.model.HostIoUsage", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.opsi.model.HostIoUsage$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.opsi.model.HostMemoryConfiguration", @@ -3725,6 +3781,34 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.opsi.model.IngestMySqlSqlStatsDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.opsi.model.IngestMySqlSqlStatsDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.opsi.model.IngestMySqlSqlStatsResponseDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.opsi.model.IngestMySqlSqlStatsResponseDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.opsi.model.IngestMySqlSqlTextDetails", @@ -4049,6 +4133,62 @@ "allDeclaredFields": true, "allDeclaredMethods": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.opsi.model.MdsMySqlDatabaseInsight", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.opsi.model.MdsMySqlDatabaseInsight$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.opsi.model.MdsMySqlDatabaseInsightSummary", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.opsi.model.MdsMySqlDatabaseInsightSummary$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.opsi.model.MdsMysqlDatabaseConfigurationSummary", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.opsi.model.MdsMysqlDatabaseConfigurationSummary$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.opsi.model.MySqlSqlStats", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.opsi.model.MySqlSqlStats$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.opsi.model.MySqlSqlText", @@ -6451,6 +6591,20 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.opsi.model.UpdateMdsMySqlDatabaseInsight", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.opsi.model.UpdateMdsMySqlDatabaseInsight$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.opsi.model.UpdateNewsReportDetails", diff --git a/bmc-opsi/src/main/resources/com/oracle/bmc/opsi/client.properties b/bmc-opsi/src/main/resources/com/oracle/bmc/opsi/client.properties index d3ee13c46bc..255ec427a74 100644 --- a/bmc-opsi/src/main/resources/com/oracle/bmc/opsi/client.properties +++ b/bmc-opsi/src/main/resources/com/oracle/bmc/opsi/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200630") \ No newline at end of file diff --git a/bmc-optimizer/pom.xml b/bmc-optimizer/pom.xml index 2fd3c9503f0..a6b79f03868 100644 --- a/bmc-optimizer/pom.xml +++ b/bmc-optimizer/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-optimizer @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-optimizer/src/main/resources/com/oracle/bmc/optimizer/client.properties b/bmc-optimizer/src/main/resources/com/oracle/bmc/optimizer/client.properties index 8378b0279ad..85c9bc589af 100644 --- a/bmc-optimizer/src/main/resources/com/oracle/bmc/optimizer/client.properties +++ b/bmc-optimizer/src/main/resources/com/oracle/bmc/optimizer/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200606") \ No newline at end of file diff --git a/bmc-osmanagement/pom.xml b/bmc-osmanagement/pom.xml index b3a06948653..514f6cbbe86 100644 --- a/bmc-osmanagement/pom.xml +++ b/bmc-osmanagement/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-osmanagement @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-osmanagement/src/main/resources/com/oracle/bmc/osmanagement/client.properties b/bmc-osmanagement/src/main/resources/com/oracle/bmc/osmanagement/client.properties index dd6fd1ce27c..f9ee47c9b18 100644 --- a/bmc-osmanagement/src/main/resources/com/oracle/bmc/osmanagement/client.properties +++ b/bmc-osmanagement/src/main/resources/com/oracle/bmc/osmanagement/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190801") \ No newline at end of file diff --git a/bmc-osmanagementhub/pom.xml b/bmc-osmanagementhub/pom.xml index 145f9b7f003..aa8b1f5f767 100644 --- a/bmc-osmanagementhub/pom.xml +++ b/bmc-osmanagementhub/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-osmanagementhub @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-osmanagementhub/src/main/resources/com/oracle/bmc/osmanagementhub/client.properties b/bmc-osmanagementhub/src/main/resources/com/oracle/bmc/osmanagementhub/client.properties index ad7ba0301b3..82b22fa7a0b 100644 --- a/bmc-osmanagementhub/src/main/resources/com/oracle/bmc/osmanagementhub/client.properties +++ b/bmc-osmanagementhub/src/main/resources/com/oracle/bmc/osmanagementhub/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220901") \ No newline at end of file diff --git a/bmc-ospgateway/pom.xml b/bmc-ospgateway/pom.xml index 485c9f84dc7..57e97489545 100644 --- a/bmc-ospgateway/pom.xml +++ b/bmc-ospgateway/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-ospgateway @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-ospgateway/src/main/resources/com/oracle/bmc/ospgateway/client.properties b/bmc-ospgateway/src/main/resources/com/oracle/bmc/ospgateway/client.properties index f863be0efbe..3132d1a8117 100644 --- a/bmc-ospgateway/src/main/resources/com/oracle/bmc/ospgateway/client.properties +++ b/bmc-ospgateway/src/main/resources/com/oracle/bmc/ospgateway/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20191001") \ No newline at end of file diff --git a/bmc-osubbillingschedule/pom.xml b/bmc-osubbillingschedule/pom.xml index c6e694b22d9..4c1a8d820ab 100644 --- a/bmc-osubbillingschedule/pom.xml +++ b/bmc-osubbillingschedule/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-osubbillingschedule @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-osubbillingschedule/src/main/resources/com/oracle/bmc/osubbillingschedule/client.properties b/bmc-osubbillingschedule/src/main/resources/com/oracle/bmc/osubbillingschedule/client.properties index 11d5dc08079..b56c1e52c07 100644 --- a/bmc-osubbillingschedule/src/main/resources/com/oracle/bmc/osubbillingschedule/client.properties +++ b/bmc-osubbillingschedule/src/main/resources/com/oracle/bmc/osubbillingschedule/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20210501") \ No newline at end of file diff --git a/bmc-osuborganizationsubscription/pom.xml b/bmc-osuborganizationsubscription/pom.xml index b87acdce3f2..c704bd1ffa7 100644 --- a/bmc-osuborganizationsubscription/pom.xml +++ b/bmc-osuborganizationsubscription/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-osuborganizationsubscription @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-osuborganizationsubscription/src/main/resources/com/oracle/bmc/osuborganizationsubscription/client.properties b/bmc-osuborganizationsubscription/src/main/resources/com/oracle/bmc/osuborganizationsubscription/client.properties index 11d5dc08079..b56c1e52c07 100644 --- a/bmc-osuborganizationsubscription/src/main/resources/com/oracle/bmc/osuborganizationsubscription/client.properties +++ b/bmc-osuborganizationsubscription/src/main/resources/com/oracle/bmc/osuborganizationsubscription/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20210501") \ No newline at end of file diff --git a/bmc-osubsubscription/pom.xml b/bmc-osubsubscription/pom.xml index 3f498914dcf..2ae8f63edb7 100644 --- a/bmc-osubsubscription/pom.xml +++ b/bmc-osubsubscription/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-osubsubscription @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-osubsubscription/src/main/resources/com/oracle/bmc/osubsubscription/client.properties b/bmc-osubsubscription/src/main/resources/com/oracle/bmc/osubsubscription/client.properties index 11d5dc08079..b56c1e52c07 100644 --- a/bmc-osubsubscription/src/main/resources/com/oracle/bmc/osubsubscription/client.properties +++ b/bmc-osubsubscription/src/main/resources/com/oracle/bmc/osubsubscription/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20210501") \ No newline at end of file diff --git a/bmc-osubusage/pom.xml b/bmc-osubusage/pom.xml index 3b3abda499f..12ccfeef5e8 100644 --- a/bmc-osubusage/pom.xml +++ b/bmc-osubusage/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-osubusage @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-osubusage/src/main/resources/com/oracle/bmc/osubusage/client.properties b/bmc-osubusage/src/main/resources/com/oracle/bmc/osubusage/client.properties index 11d5dc08079..b56c1e52c07 100644 --- a/bmc-osubusage/src/main/resources/com/oracle/bmc/osubusage/client.properties +++ b/bmc-osubusage/src/main/resources/com/oracle/bmc/osubusage/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20210501") \ 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 ba45ab32a25..90fda7c773b 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.44.3 + 3.44.4 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.cloud.oracle.com/Content/API/SDKDocs/javasdk.htm @@ -49,7 +49,7 @@ com.oracle.oci.sdk oci-java-sdk-enforcer-rules - 3.44.3 + 3.44.4 false @@ -86,14 +86,14 @@ com.oracle.oci.sdk oci-java-sdk-bom - 3.44.3 + 3.44.4 pom import com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.44.3 + 3.44.4 pom import diff --git a/bmc-other-examples/bmc-jersey3-examples/pom.xml b/bmc-other-examples/bmc-jersey3-examples/pom.xml index 7c5112188bd..f0aa23ab68b 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.44.3 + 3.44.4 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.cloud.oracle.com/Content/API/SDKDocs/javasdk.htm @@ -49,7 +49,7 @@ com.oracle.oci.sdk oci-java-sdk-enforcer-rules - 3.44.3 + 3.44.4 false @@ -86,14 +86,14 @@ com.oracle.oci.sdk oci-java-sdk-bom - 3.44.3 + 3.44.4 pom import com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey3 - 3.44.3 + 3.44.4 pom import diff --git a/bmc-other-examples/native-maven-example/pom.xml b/bmc-other-examples/native-maven-example/pom.xml index 81da388ab92..6b1b08ab268 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.44.3 + 3.44.4 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.cloud.oracle.com/Content/API/SDKDocs/javasdk.htm @@ -89,14 +89,14 @@ com.oracle.oci.sdk oci-java-sdk-bom - 3.44.3 + 3.44.4 pom import com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.44.3 + 3.44.4 pom import diff --git a/bmc-other-examples/pom.xml b/bmc-other-examples/pom.xml index b02af165d6d..c46d1b4b38e 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.44.3 + 3.44.4 ../pom.xml diff --git a/bmc-psql/pom.xml b/bmc-psql/pom.xml index 28a1b4c8294..9b308aa5f66 100644 --- a/bmc-psql/pom.xml +++ b/bmc-psql/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-psql @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-psql/src/main/resources/com/oracle/bmc/psql/client.properties b/bmc-psql/src/main/resources/com/oracle/bmc/psql/client.properties index de7dfb41098..1783bd95be4 100644 --- a/bmc-psql/src/main/resources/com/oracle/bmc/psql/client.properties +++ b/bmc-psql/src/main/resources/com/oracle/bmc/psql/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220915") \ No newline at end of file diff --git a/bmc-queue/pom.xml b/bmc-queue/pom.xml index 3575cee816e..ea5d08e9fcf 100644 --- a/bmc-queue/pom.xml +++ b/bmc-queue/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-queue @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-queue/src/main/resources/com/oracle/bmc/queue/client.properties b/bmc-queue/src/main/resources/com/oracle/bmc/queue/client.properties index 301ca7879dc..13a482411a9 100644 --- a/bmc-queue/src/main/resources/com/oracle/bmc/queue/client.properties +++ b/bmc-queue/src/main/resources/com/oracle/bmc/queue/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20210201") \ No newline at end of file diff --git a/bmc-recovery/pom.xml b/bmc-recovery/pom.xml index 4c6a13d088c..ab8872067be 100644 --- a/bmc-recovery/pom.xml +++ b/bmc-recovery/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-recovery @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-recovery/src/main/resources/com/oracle/bmc/recovery/client.properties b/bmc-recovery/src/main/resources/com/oracle/bmc/recovery/client.properties index d9cc97a0fd3..10f7546a2ae 100644 --- a/bmc-recovery/src/main/resources/com/oracle/bmc/recovery/client.properties +++ b/bmc-recovery/src/main/resources/com/oracle/bmc/recovery/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20210216") \ No newline at end of file diff --git a/bmc-redis/pom.xml b/bmc-redis/pom.xml index d8bbd62c798..1e5a4b4c400 100644 --- a/bmc-redis/pom.xml +++ b/bmc-redis/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-redis @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-redis/src/main/resources/com/oracle/bmc/redis/client.properties b/bmc-redis/src/main/resources/com/oracle/bmc/redis/client.properties index 99ad9b7e669..ccdfdb2160a 100644 --- a/bmc-redis/src/main/resources/com/oracle/bmc/redis/client.properties +++ b/bmc-redis/src/main/resources/com/oracle/bmc/redis/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220315") \ No newline at end of file diff --git a/bmc-resourcemanager/pom.xml b/bmc-resourcemanager/pom.xml index 151daec9b33..783ad8e604c 100644 --- a/bmc-resourcemanager/pom.xml +++ b/bmc-resourcemanager/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-resourcemanager @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-resourcemanager/src/main/resources/com/oracle/bmc/resourcemanager/client.properties b/bmc-resourcemanager/src/main/resources/com/oracle/bmc/resourcemanager/client.properties index 0d7d1adf89c..46d292afb9f 100644 --- a/bmc-resourcemanager/src/main/resources/com/oracle/bmc/resourcemanager/client.properties +++ b/bmc-resourcemanager/src/main/resources/com/oracle/bmc/resourcemanager/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20180917") \ No newline at end of file diff --git a/bmc-resourcescheduler/pom.xml b/bmc-resourcescheduler/pom.xml index 61f250c3e06..367ef5723e1 100644 --- a/bmc-resourcescheduler/pom.xml +++ b/bmc-resourcescheduler/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-resourcescheduler @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-resourcescheduler/src/main/resources/com/oracle/bmc/resourcescheduler/client.properties b/bmc-resourcescheduler/src/main/resources/com/oracle/bmc/resourcescheduler/client.properties index 314cd755e90..bc37111efcd 100644 --- a/bmc-resourcescheduler/src/main/resources/com/oracle/bmc/resourcescheduler/client.properties +++ b/bmc-resourcescheduler/src/main/resources/com/oracle/bmc/resourcescheduler/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20240430") \ No newline at end of file diff --git a/bmc-resourcesearch/pom.xml b/bmc-resourcesearch/pom.xml index b4711625059..1b5bdd1e048 100644 --- a/bmc-resourcesearch/pom.xml +++ b/bmc-resourcesearch/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-resourcesearch @@ -16,7 +16,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-resourcesearch/src/main/resources/com/oracle/bmc/resourcesearch/client.properties b/bmc-resourcesearch/src/main/resources/com/oracle/bmc/resourcesearch/client.properties index ce03cd23f80..05c77a8ac9f 100644 --- a/bmc-resourcesearch/src/main/resources/com/oracle/bmc/resourcesearch/client.properties +++ b/bmc-resourcesearch/src/main/resources/com/oracle/bmc/resourcesearch/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20180409") \ No newline at end of file diff --git a/bmc-rover/pom.xml b/bmc-rover/pom.xml index bdddb633971..59b6c872895 100644 --- a/bmc-rover/pom.xml +++ b/bmc-rover/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-rover @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-rover/src/main/resources/com/oracle/bmc/rover/client.properties b/bmc-rover/src/main/resources/com/oracle/bmc/rover/client.properties index d7f53986b64..7eb9fd148e0 100644 --- a/bmc-rover/src/main/resources/com/oracle/bmc/rover/client.properties +++ b/bmc-rover/src/main/resources/com/oracle/bmc/rover/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20201210") \ No newline at end of file diff --git a/bmc-sch/pom.xml b/bmc-sch/pom.xml index bb57184afb9..6703944e2e6 100644 --- a/bmc-sch/pom.xml +++ b/bmc-sch/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-sch @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-sch/src/main/resources/com/oracle/bmc/sch/client.properties b/bmc-sch/src/main/resources/com/oracle/bmc/sch/client.properties index ff929420049..8defedc0f99 100644 --- a/bmc-sch/src/main/resources/com/oracle/bmc/sch/client.properties +++ b/bmc-sch/src/main/resources/com/oracle/bmc/sch/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200909") \ No newline at end of file diff --git a/bmc-secrets/pom.xml b/bmc-secrets/pom.xml index 997aacab295..c2b5e97be74 100644 --- a/bmc-secrets/pom.xml +++ b/bmc-secrets/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-secrets @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-secrets/src/main/resources/com/oracle/bmc/secrets/client.properties b/bmc-secrets/src/main/resources/com/oracle/bmc/secrets/client.properties index 8d157a3b5a8..97513bf31ea 100644 --- a/bmc-secrets/src/main/resources/com/oracle/bmc/secrets/client.properties +++ b/bmc-secrets/src/main/resources/com/oracle/bmc/secrets/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190301") \ No newline at end of file diff --git a/bmc-servicecatalog/pom.xml b/bmc-servicecatalog/pom.xml index deb44b99aad..1e05d12d589 100644 --- a/bmc-servicecatalog/pom.xml +++ b/bmc-servicecatalog/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-servicecatalog @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-servicecatalog/src/main/resources/com/oracle/bmc/servicecatalog/client.properties b/bmc-servicecatalog/src/main/resources/com/oracle/bmc/servicecatalog/client.properties index 257705ea73f..3b78ce7341d 100644 --- a/bmc-servicecatalog/src/main/resources/com/oracle/bmc/servicecatalog/client.properties +++ b/bmc-servicecatalog/src/main/resources/com/oracle/bmc/servicecatalog/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20210527") \ No newline at end of file diff --git a/bmc-servicemanagerproxy/pom.xml b/bmc-servicemanagerproxy/pom.xml index 06c32ccd357..8f16137403e 100644 --- a/bmc-servicemanagerproxy/pom.xml +++ b/bmc-servicemanagerproxy/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-servicemanagerproxy @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-servicemanagerproxy/src/main/resources/com/oracle/bmc/servicemanagerproxy/client.properties b/bmc-servicemanagerproxy/src/main/resources/com/oracle/bmc/servicemanagerproxy/client.properties index d5b73eb6e3c..d64147cc8e6 100644 --- a/bmc-servicemanagerproxy/src/main/resources/com/oracle/bmc/servicemanagerproxy/client.properties +++ b/bmc-servicemanagerproxy/src/main/resources/com/oracle/bmc/servicemanagerproxy/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20210914") \ No newline at end of file diff --git a/bmc-servicemesh/pom.xml b/bmc-servicemesh/pom.xml index 79bc6094239..e8f1a546870 100644 --- a/bmc-servicemesh/pom.xml +++ b/bmc-servicemesh/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-servicemesh @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-servicemesh/src/main/resources/com/oracle/bmc/servicemesh/client.properties b/bmc-servicemesh/src/main/resources/com/oracle/bmc/servicemesh/client.properties index 54d68c5f9c1..cd6bd0520d8 100644 --- a/bmc-servicemesh/src/main/resources/com/oracle/bmc/servicemesh/client.properties +++ b/bmc-servicemesh/src/main/resources/com/oracle/bmc/servicemesh/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220615") \ 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 ff8022f231d..16c89556810 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.44.3 + 3.44.4 ../pom.xml oci-java-sdk-shaded-full diff --git a/bmc-shaded/pom.xml b/bmc-shaded/pom.xml index dbccf6497a5..a2c873b65a2 100644 --- a/bmc-shaded/pom.xml +++ b/bmc-shaded/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml diff --git a/bmc-stackmonitoring/pom.xml b/bmc-stackmonitoring/pom.xml index 52a022b3412..3a7777d1a5a 100644 --- a/bmc-stackmonitoring/pom.xml +++ b/bmc-stackmonitoring/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-stackmonitoring @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-stackmonitoring/src/main/resources/com/oracle/bmc/stackmonitoring/client.properties b/bmc-stackmonitoring/src/main/resources/com/oracle/bmc/stackmonitoring/client.properties index 7cce656b793..1be26826e12 100644 --- a/bmc-stackmonitoring/src/main/resources/com/oracle/bmc/stackmonitoring/client.properties +++ b/bmc-stackmonitoring/src/main/resources/com/oracle/bmc/stackmonitoring/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20210330") \ No newline at end of file diff --git a/bmc-streaming/pom.xml b/bmc-streaming/pom.xml index 0c6c5479881..335038002c8 100644 --- a/bmc-streaming/pom.xml +++ b/bmc-streaming/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-streaming @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-streaming/src/main/resources/com/oracle/bmc/streaming/client.properties b/bmc-streaming/src/main/resources/com/oracle/bmc/streaming/client.properties index 6c0bb4710e0..c91d51c4020 100644 --- a/bmc-streaming/src/main/resources/com/oracle/bmc/streaming/client.properties +++ b/bmc-streaming/src/main/resources/com/oracle/bmc/streaming/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20180418") \ No newline at end of file diff --git a/bmc-tenantmanagercontrolplane/pom.xml b/bmc-tenantmanagercontrolplane/pom.xml index 897d4409282..f9137814b08 100644 --- a/bmc-tenantmanagercontrolplane/pom.xml +++ b/bmc-tenantmanagercontrolplane/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-tenantmanagercontrolplane @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-tenantmanagercontrolplane/src/main/resources/com/oracle/bmc/tenantmanagercontrolplane/client.properties b/bmc-tenantmanagercontrolplane/src/main/resources/com/oracle/bmc/tenantmanagercontrolplane/client.properties index 1a0f2a11676..a4ce99ace1c 100644 --- a/bmc-tenantmanagercontrolplane/src/main/resources/com/oracle/bmc/tenantmanagercontrolplane/client.properties +++ b/bmc-tenantmanagercontrolplane/src/main/resources/com/oracle/bmc/tenantmanagercontrolplane/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20230401") \ No newline at end of file diff --git a/bmc-threatintelligence/pom.xml b/bmc-threatintelligence/pom.xml index 1e38bfe4e4b..90e5bd6cb96 100644 --- a/bmc-threatintelligence/pom.xml +++ b/bmc-threatintelligence/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-threatintelligence @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-threatintelligence/src/main/resources/com/oracle/bmc/threatintelligence/client.properties b/bmc-threatintelligence/src/main/resources/com/oracle/bmc/threatintelligence/client.properties index ad7ba0301b3..82b22fa7a0b 100644 --- a/bmc-threatintelligence/src/main/resources/com/oracle/bmc/threatintelligence/client.properties +++ b/bmc-threatintelligence/src/main/resources/com/oracle/bmc/threatintelligence/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220901") \ No newline at end of file diff --git a/bmc-usage/pom.xml b/bmc-usage/pom.xml index 809c137dae6..caf9b917258 100644 --- a/bmc-usage/pom.xml +++ b/bmc-usage/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-usage @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-usage/src/main/resources/com/oracle/bmc/usage/client.properties b/bmc-usage/src/main/resources/com/oracle/bmc/usage/client.properties index 8db78f08f6c..1b7582dc357 100644 --- a/bmc-usage/src/main/resources/com/oracle/bmc/usage/client.properties +++ b/bmc-usage/src/main/resources/com/oracle/bmc/usage/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190111") \ No newline at end of file diff --git a/bmc-usageapi/pom.xml b/bmc-usageapi/pom.xml index de1b306f34d..5f4cfc9e503 100644 --- a/bmc-usageapi/pom.xml +++ b/bmc-usageapi/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-usageapi @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-usageapi/src/main/resources/com/oracle/bmc/usageapi/client.properties b/bmc-usageapi/src/main/resources/com/oracle/bmc/usageapi/client.properties index 4629256e5d1..5b4e57076cb 100644 --- a/bmc-usageapi/src/main/resources/com/oracle/bmc/usageapi/client.properties +++ b/bmc-usageapi/src/main/resources/com/oracle/bmc/usageapi/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200107") \ No newline at end of file diff --git a/bmc-vault/pom.xml b/bmc-vault/pom.xml index 7c4b6ffa23d..14ace36df48 100644 --- a/bmc-vault/pom.xml +++ b/bmc-vault/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-vault @@ -15,12 +15,12 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 com.oracle.oci.sdk oci-java-sdk-workrequests - 3.44.3 + 3.44.4 diff --git a/bmc-vault/src/main/resources/com/oracle/bmc/vault/client.properties b/bmc-vault/src/main/resources/com/oracle/bmc/vault/client.properties index 5f23d892072..6bef5281b8c 100644 --- a/bmc-vault/src/main/resources/com/oracle/bmc/vault/client.properties +++ b/bmc-vault/src/main/resources/com/oracle/bmc/vault/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20180608") \ No newline at end of file diff --git a/bmc-vbsinst/pom.xml b/bmc-vbsinst/pom.xml index 53b5faa04a3..5ec70b88b97 100644 --- a/bmc-vbsinst/pom.xml +++ b/bmc-vbsinst/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-vbsinst @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-vbsinst/src/main/resources/com/oracle/bmc/vbsinst/client.properties b/bmc-vbsinst/src/main/resources/com/oracle/bmc/vbsinst/client.properties index def64acda1c..eb59dae997e 100644 --- a/bmc-vbsinst/src/main/resources/com/oracle/bmc/vbsinst/client.properties +++ b/bmc-vbsinst/src/main/resources/com/oracle/bmc/vbsinst/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20180828") \ No newline at end of file diff --git a/bmc-visualbuilder/pom.xml b/bmc-visualbuilder/pom.xml index 6d21338e77e..0fd5204f10e 100644 --- a/bmc-visualbuilder/pom.xml +++ b/bmc-visualbuilder/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-visualbuilder @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-visualbuilder/src/main/resources/com/oracle/bmc/visualbuilder/client.properties b/bmc-visualbuilder/src/main/resources/com/oracle/bmc/visualbuilder/client.properties index f278c872357..d5e6dac249a 100644 --- a/bmc-visualbuilder/src/main/resources/com/oracle/bmc/visualbuilder/client.properties +++ b/bmc-visualbuilder/src/main/resources/com/oracle/bmc/visualbuilder/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20210601") \ No newline at end of file diff --git a/bmc-vnmonitoring/pom.xml b/bmc-vnmonitoring/pom.xml index d407ec722db..182b7bb3d6f 100644 --- a/bmc-vnmonitoring/pom.xml +++ b/bmc-vnmonitoring/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-vnmonitoring @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-vnmonitoring/src/main/resources/com/oracle/bmc/vnmonitoring/client.properties b/bmc-vnmonitoring/src/main/resources/com/oracle/bmc/vnmonitoring/client.properties index 2fa5d3f17ae..0d8dd8a77fe 100644 --- a/bmc-vnmonitoring/src/main/resources/com/oracle/bmc/vnmonitoring/client.properties +++ b/bmc-vnmonitoring/src/main/resources/com/oracle/bmc/vnmonitoring/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") \ No newline at end of file diff --git a/bmc-vulnerabilityscanning/pom.xml b/bmc-vulnerabilityscanning/pom.xml index b4bc611fd27..d25f3738347 100644 --- a/bmc-vulnerabilityscanning/pom.xml +++ b/bmc-vulnerabilityscanning/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-vulnerabilityscanning @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-vulnerabilityscanning/src/main/resources/com/oracle/bmc/vulnerabilityscanning/client.properties b/bmc-vulnerabilityscanning/src/main/resources/com/oracle/bmc/vulnerabilityscanning/client.properties index ad2c50adec5..d89202e3d8f 100644 --- a/bmc-vulnerabilityscanning/src/main/resources/com/oracle/bmc/vulnerabilityscanning/client.properties +++ b/bmc-vulnerabilityscanning/src/main/resources/com/oracle/bmc/vulnerabilityscanning/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20210215") \ No newline at end of file diff --git a/bmc-waa/pom.xml b/bmc-waa/pom.xml index e5a0af43842..f4c1ae6335b 100644 --- a/bmc-waa/pom.xml +++ b/bmc-waa/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-waa @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-waa/src/main/resources/com/oracle/bmc/waa/client.properties b/bmc-waa/src/main/resources/com/oracle/bmc/waa/client.properties index f118201b51f..f59d3bd3231 100644 --- a/bmc-waa/src/main/resources/com/oracle/bmc/waa/client.properties +++ b/bmc-waa/src/main/resources/com/oracle/bmc/waa/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20211230") \ No newline at end of file diff --git a/bmc-waas/pom.xml b/bmc-waas/pom.xml index b769c059d1e..1506cb82a11 100644 --- a/bmc-waas/pom.xml +++ b/bmc-waas/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-waas @@ -16,7 +16,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-waas/src/main/resources/com/oracle/bmc/waas/client.properties b/bmc-waas/src/main/resources/com/oracle/bmc/waas/client.properties index e0cd3471b85..3d2c87cc069 100644 --- a/bmc-waas/src/main/resources/com/oracle/bmc/waas/client.properties +++ b/bmc-waas/src/main/resources/com/oracle/bmc/waas/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20181116") \ No newline at end of file diff --git a/bmc-waf/pom.xml b/bmc-waf/pom.xml index 7242825d439..bea2df7a377 100644 --- a/bmc-waf/pom.xml +++ b/bmc-waf/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-waf @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 \ No newline at end of file diff --git a/bmc-waf/src/main/resources/com/oracle/bmc/waf/client.properties b/bmc-waf/src/main/resources/com/oracle/bmc/waf/client.properties index 7719e892bbb..2c001a58989 100644 --- a/bmc-waf/src/main/resources/com/oracle/bmc/waf/client.properties +++ b/bmc-waf/src/main/resources/com/oracle/bmc/waf/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20210930") \ No newline at end of file diff --git a/bmc-workrequests/pom.xml b/bmc-workrequests/pom.xml index 2d956bf083c..41957e87215 100644 --- a/bmc-workrequests/pom.xml +++ b/bmc-workrequests/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 ../pom.xml oci-java-sdk-workrequests @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.44.3 + 3.44.4 diff --git a/bmc-workrequests/src/main/resources/com/oracle/bmc/workrequests/client.properties b/bmc-workrequests/src/main/resources/com/oracle/bmc/workrequests/client.properties index 2fa5d3f17ae..0d8dd8a77fe 100644 --- a/bmc-workrequests/src/main/resources/com/oracle/bmc/workrequests/client.properties +++ b/bmc-workrequests/src/main/resources/com/oracle/bmc/workrequests/client.properties @@ -4,6 +4,6 @@ # java.client.codegen.version = 2.100 -java.minimum.client.codegen.version.from.client = 2.100 +java.minimum.client.codegen.version.from.client = 2.26 # @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") \ No newline at end of file diff --git a/pom.xml b/pom.xml index ac25da292a7..8c326f30074 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.oracle.oci.sdk oci-java-sdk - 3.44.3 + 3.44.4 pom Oracle Cloud Infrastructure SDK This project contains the SDK used for Oracle Cloud Infrastructure