diff --git a/CHANGELOG.md b/CHANGELOG.md
index b31f9538a1a..6287b33d143 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,84 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/).
+## 2.98.0 - 2026-09-22
+### Added
+- Support for recurring maintenance windows in the Application Performance Monitoring Synthetics service
+- Support for crypto posture assessments in the Data Safe service
+- Support for customer-managed compute capacity reservations for model deployments, notebook sessions, jobs, and pipelines in the Data Science service
+- Support for code-only functions with managed runtimes and automated image builds in the Functions service
+- Support for routing profiles and model discovery in the Generative AI service
+- Support for generating, filtering, and downloading Customer Instance Report exports in the Marketplace Publisher service
+- Support for higher usage submission limits for metered SaaS listings and legacy subscription endpoints in the Service Enablement Lifecycle Framework service
+- Support for customer-managed encryption keys for database systems and cross-region backup copies in the PostgreSQL service
+- Support for listing available VMware binaries and generating download links in the Oracle Cloud VMware Solution service
+- Support for data verification using database object counts, object statuses, and estimated table row counts in the Database Migration service
+- Support for settings specific to online logical, offline logical, and online standby Oracle migrations in the Database Migration service
+- Support for configurable fault-domain preferences during provisioning in the Oracle Cloud VMware Solution service
+- Support for code-only functions with managed runtimes and automated image builds in the Functions service
+- Support for out-of-place Grid Infrastructure patching and upgrades with Oracle-provided or custom Grid Infrastructure software images in the Database service
+- Support for active-passive cross-region replication in the OCI Cache service
+- Support for the Cluster Health service
+- Support for scheduling and canceling maintenance window changes after provisioning Autonomous Database Serverless instances in the Database service
+- Support for quick launches of BaseDB Database systems in the Database service
+- Support for IoT Flow Runtime (Node-RED) resources in the OCI Internet of Things (OCI IoT) service
+- Support for blue/green deployments in the MySQL HeatWave service
+- Support for capacity reservations, capacity reservation configurations, and associating reservations when creating instances in the Big Data service
+- Support for Zero Trust Packet Routing (ZPR) security attributes on recovery subnets in the Autonomous Recovery service
+- Support for network firewall as a Virtual Test Access Points (VTAP) source in the Networking service
+- Support for NL2SQL model selection, annotation, background mode and delta enrichment in the Generative AI service
+- Support for NL2SQL model selection, annotation, background mode and delta enrichment in the Generative AI Data service
+- Support for B200, B300, L40S, and MI300X dedicated AI cluster unit shapes in the Generative AI service
+- Support for creating databases from another database with additional input fields and source encryption-key location details in the Database service
+- Support for IPv6 dual-stack endpoints in the Compute Instance Agent service
+
+### Breaking Changes
+- The Distributed Database V26 service was renamed to Distributed Database service
+- Method `getImage()` has been removed from the model `CreateFunctionDetails` in the Functions service
+- Method `getImageDigest()` has been removed from the model `CreateFunctionDetails` in the Functions service
+- The return type of method `getSourceDetails()` has changed to `com.oracle.bmc.functions.model.CreateFunctionSourceDetails` in the model `CreateFunctionDetails` in the Functions service
+- Method `getImage()` has been removed from the model `Function` in the Functions service
+- Method `getImageDigest()` has been removed from the model `Function` in the Functions service
+- Method `getImage()` has been removed from the model `FunctionSummary` in the Functions service
+- Method `getImageDigest()` has been removed from the model `FunctionSummary` in the Functions service
+- Method `getImage()` has been removed from the model `UpdateFunctionDetails` in the Functions service
+- Method `getImageDigest()` has been removed from the model `UpdateFunctionDetails` in the Functions service
+- Method `getApplication()` has been removed from the response `UpdateApplicationResponse` in the Functions service
+- Method `getEtag()` has been removed from the response `UpdateApplicationResponse` in the Functions service
+- Method `getEtag()` has been removed from the response `UpdateFunctionResponse` in the Functions service
+- Method `getFunction()` has been removed from the response `UpdateFunctionResponse` in the Functions service
+- Method `getTenantAdminEmail()` has been removed from the model `CustomerInstanceReportRecord` in the Marketplace Publisher service
+- Method `getTenantAdminName()` has been removed from the model `CustomerInstanceReportRecord` in the Marketplace Publisher service
+- The return type of method `getMetricType()` has changed to `com.oracle.bmc.marketplacepublisher.model.MetricType` in the model `ListingPart` in the Marketplace Publisher service
+- Class `com.oracle.bmc.marketplacepublisher.model.ListingPart$MetricType` has been removed from the Marketplace Publisher service
+- The return type of method `getOpnStatus()` has changed to `com.oracle.bmc.marketplacepublisher.model.AdminOpnPartnerSummary$MembershipStatus` in the model `OpnMembership` in the Marketplace Publisher service
+- Class `com.oracle.bmc.marketplacepublisher.model.OpnMembership$OpnStatus` has been removed from the Marketplace Publisher service
+- The return type of method `getPublisherStatus()` has changed to `com.oracle.bmc.marketplacepublisher.model.PublisherStatus` in the model `Publisher` in the Marketplace Publisher service
+- Class `com.oracle.bmc.marketplacepublisher.model.Publisher$PublisherStatus` has been removed from the Marketplace Publisher service
+- The enum value `Yearly` has been removed from the model `SaaSPricingPlan$BillingFrequency` in the Marketplace Publisher service
+- Method `getDateRange()` has been removed from the request `ListCustomerInstanceReportRecordsRequest` in the Marketplace Publisher service
+- Class `com.oracle.bmc.marketplacepublisher.requests.ListCustomerInstanceReportRecordsRequest$DateRange` has been removed from the Marketplace Publisher service
+- Enum value `DisplayName` has been removed from the request `ListCustomerInstanceReportRecordsRequest$SortBy` in the Marketplace Publisher service
+- Enum value `TimeCreated` has been removed from the request `ListCustomerInstanceReportRecordsRequest$SortBy` in the Marketplace Publisher service
+- Method `public java.lang.String getUsageRecordId()` has been removed from the model `com.oracle.bmc.self.model.CreateSubscriptionUsageRecordDetails` in the Service Enablement Lifecycle Framework service
+- Client-side decryption using `KmsMasterKeyProvider(KmsMasterKey)` now rejects encrypted blobs whose master key ID, vault ID, or region differs from the configured key. To decrypt data encrypted with different KMS keys, use `KmsMasterKeyProvider(BasicAuthenticationDetailsProvider)`
+- Client-side decryption using `KmsMasterKeyProvider(BasicAuthenticationDetailsProvider)` now requires the region to be known independently of the encrypted blob through built-in SDK definitions, `Region.register(...)`, supported region metadata configuration, opted-in Instance Metadata Service (IMDS), or an exact region match on `ConfigFileAuthenticationDetailsProvider` or `SessionTokenAuthenticationDetailsProvider`. A region resolved only through implicit OC1 or `OCI_DEFAULT_REALM` fallback is rejected. If a region is not yet included in this SDK release, register it or supply region metadata before decrypting
+- Class `com.oracle.bmc.generativeaidata.CancelEnrichmentJob` has been removed from the Generative AI Data service
+- Class `com.oracle.bmc.generativeaidata.CancelEnrichmentJobClient$Builder` has been removed from the Generative AI Data service
+- Class `com.oracle.bmc.generativeaidata.GenerateEnrichmentJob` has been removed from the Generative AI Data service
+- Class `com.oracle.bmc.generativeaidata.GenerateEnrichmentJobClient$Builder` has been removed from the Generative AI Data service
+- Class `com.oracle.bmc.generativeaidata.GenerateSqlFromNlJob` has been removed from the Generative AI Data service
+- Class `com.oracle.bmc.generativeaidata.GenerateSqlFromNlJobClient$Builder` has been removed from the Generative AI Data service
+- Class `com.oracle.bmc.generativeaidata.GetEnrichmentJob` has been removed from the Generative AI Data service
+- Class `com.oracle.bmc.generativeaidata.GetEnrichmentJobClient$Builder` has been removed from the Generative AI Data service
+- Class `com.oracle.bmc.generativeaidata.GetEnrichmentJobWaiters` has been removed from the Generative AI Data service
+- Class `com.oracle.bmc.generativeaidata.ListEnrichmentJobs` has been removed from the Generative AI Data service
+- Class `com.oracle.bmc.generativeaidata.ListEnrichmentJobsClient$Builder` has been removed from the Generative AI Data service
+- Class `com.oracle.bmc.generativeaidata.ListEnrichmentJobsPaginators` has been removed from the Generative AI Data service
+
+### Changed
+- Updated `jackson-core` and `jackson-databind` to version `2.21.5` to address CVE-2026-54515
+
## 2.97.0 - 2026-08-11
### Added
- Support for the OCI Device Data FHIR (Fast Healthcare Interoperability Resources) Service
diff --git a/bmc-accessgovernancecp/pom.xml b/bmc-accessgovernancecp/pom.xml
index b90b93dc7e1..73e6097140b 100644
--- a/bmc-accessgovernancecp/pom.xml
+++ b/bmc-accessgovernancecp/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.97.0
+ 2.98.0
../pom.xml
oci-java-sdk-accessgovernancecp
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.97.0
+ 2.98.0
\ No newline at end of file
diff --git a/bmc-addons/bmc-apache-connector-provider/pom.xml b/bmc-addons/bmc-apache-connector-provider/pom.xml
index 02b28058204..79b9877ee6b 100644
--- a/bmc-addons/bmc-apache-connector-provider/pom.xml
+++ b/bmc-addons/bmc-apache-connector-provider/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk-addons
- 2.97.0
+ 2.98.0
../pom.xml
@@ -18,7 +18,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.97.0
+ 2.98.0
diff --git a/bmc-addons/bmc-graalvm-addon/pom.xml b/bmc-addons/bmc-graalvm-addon/pom.xml
index cb1c0d26a27..3e99733b010 100644
--- a/bmc-addons/bmc-graalvm-addon/pom.xml
+++ b/bmc-addons/bmc-graalvm-addon/pom.xml
@@ -4,7 +4,7 @@
oci-java-sdk-addons
com.oracle.oci.sdk
- 2.97.0
+ 2.98.0
../pom.xml
oci-java-sdk-addons-graalvm
@@ -127,24 +127,24 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.97.0
+ 2.98.0
com.oracle.oci.sdk
oci-java-sdk-objectstorage-extensions
- 2.97.0
+ 2.98.0
test
com.oracle.oci.sdk
oci-java-sdk-identity
- 2.97.0
+ 2.98.0
test
com.oracle.oci.sdk
oci-java-sdk-core
- 2.97.0
+ 2.98.0
test
diff --git a/bmc-addons/bmc-graalvm-addon/src/main/java/com/oracle/bmc/graalvm/SdkAutomaticFeatureMetadata.java b/bmc-addons/bmc-graalvm-addon/src/main/java/com/oracle/bmc/graalvm/SdkAutomaticFeatureMetadata.java
index cf5f25ab859..2ba8e777410 100644
--- a/bmc-addons/bmc-graalvm-addon/src/main/java/com/oracle/bmc/graalvm/SdkAutomaticFeatureMetadata.java
+++ b/bmc-addons/bmc-graalvm-addon/src/main/java/com/oracle/bmc/graalvm/SdkAutomaticFeatureMetadata.java
@@ -36,6 +36,7 @@
"com.oracle.bmc.cloudbridge.SdkClientsMetadata",
"com.oracle.bmc.cloudguard.SdkClientsMetadata",
"com.oracle.bmc.cloudmigrations.SdkClientsMetadata",
+ "com.oracle.bmc.clusterhealth.SdkClientsMetadata",
"com.oracle.bmc.clusterplacementgroups.SdkClientsMetadata",
"com.oracle.bmc.computecloudatcustomer.SdkClientsMetadata",
"com.oracle.bmc.computeinstanceagent.SdkClientsMetadata",
@@ -68,7 +69,6 @@
"com.oracle.bmc.dif.SdkClientsMetadata",
"com.oracle.bmc.disasterrecovery.SdkClientsMetadata",
"com.oracle.bmc.distributeddatabase.SdkClientsMetadata",
- "com.oracle.bmc.distributeddatabasev26.SdkClientsMetadata",
"com.oracle.bmc.dns.SdkClientsMetadata",
"com.oracle.bmc.email.SdkClientsMetadata",
"com.oracle.bmc.emaildataplane.SdkClientsMetadata",
diff --git a/bmc-addons/bmc-oke-workload-identity/pom.xml b/bmc-addons/bmc-oke-workload-identity/pom.xml
index d1d0c5b4f4d..34a5a41b4c2 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
- 2.97.0
+ 2.98.0
4.0.0
@@ -38,7 +38,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.97.0
+ 2.98.0
com.fasterxml.jackson.core
diff --git a/bmc-addons/bmc-resteasy-client-configurator/pom.xml b/bmc-addons/bmc-resteasy-client-configurator/pom.xml
index ceb0dac2e6a..a7c90ccf976 100644
--- a/bmc-addons/bmc-resteasy-client-configurator/pom.xml
+++ b/bmc-addons/bmc-resteasy-client-configurator/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk-addons
- 2.97.0
+ 2.98.0
../pom.xml
@@ -25,7 +25,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.97.0
+ 2.98.0
diff --git a/bmc-addons/bmc-sasl/pom.xml b/bmc-addons/bmc-sasl/pom.xml
index 998b93f0793..3c11155b6cf 100644
--- a/bmc-addons/bmc-sasl/pom.xml
+++ b/bmc-addons/bmc-sasl/pom.xml
@@ -7,7 +7,7 @@
oci-java-sdk-addons
com.oracle.oci.sdk
- 2.97.0
+ 2.98.0
../pom.xml
@@ -62,7 +62,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.97.0
+ 2.98.0
diff --git a/bmc-addons/pom.xml b/bmc-addons/pom.xml
index 85c705b0323..dab8f6176d8 100644
--- a/bmc-addons/pom.xml
+++ b/bmc-addons/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.97.0
+ 2.98.0
../pom.xml
diff --git a/bmc-adm/pom.xml b/bmc-adm/pom.xml
index ef6de865d36..0996b7f2078 100644
--- a/bmc-adm/pom.xml
+++ b/bmc-adm/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.97.0
+ 2.98.0
../pom.xml
oci-java-sdk-adm
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.97.0
+ 2.98.0
\ No newline at end of file
diff --git a/bmc-aidataplatform/pom.xml b/bmc-aidataplatform/pom.xml
index 9970e533052..b9da06d2374 100644
--- a/bmc-aidataplatform/pom.xml
+++ b/bmc-aidataplatform/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.97.0
+ 2.98.0
../pom.xml
oci-java-sdk-aidataplatform
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.97.0
+ 2.98.0
\ No newline at end of file
diff --git a/bmc-aidocument/pom.xml b/bmc-aidocument/pom.xml
index 4fd557a6c70..befd00177aa 100644
--- a/bmc-aidocument/pom.xml
+++ b/bmc-aidocument/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.97.0
+ 2.98.0
../pom.xml
oci-java-sdk-aidocument
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.97.0
+ 2.98.0
\ No newline at end of file
diff --git a/bmc-ailanguage/pom.xml b/bmc-ailanguage/pom.xml
index 6133fccbc9b..975c61ce10d 100644
--- a/bmc-ailanguage/pom.xml
+++ b/bmc-ailanguage/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.97.0
+ 2.98.0
../pom.xml
oci-java-sdk-ailanguage
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.97.0
+ 2.98.0
diff --git a/bmc-aispeech/pom.xml b/bmc-aispeech/pom.xml
index b15ac411fc8..7f1f3f44b6d 100644
--- a/bmc-aispeech/pom.xml
+++ b/bmc-aispeech/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.97.0
+ 2.98.0
../pom.xml
oci-java-sdk-aispeech
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.97.0
+ 2.98.0
\ No newline at end of file
diff --git a/bmc-aivision/pom.xml b/bmc-aivision/pom.xml
index cd1de43ca21..39da994cebd 100644
--- a/bmc-aivision/pom.xml
+++ b/bmc-aivision/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.97.0
+ 2.98.0
../pom.xml
oci-java-sdk-aivision
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.97.0
+ 2.98.0
\ No newline at end of file
diff --git a/bmc-analytics/pom.xml b/bmc-analytics/pom.xml
index 36425b46535..e7a24bd17b0 100644
--- a/bmc-analytics/pom.xml
+++ b/bmc-analytics/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.97.0
+ 2.98.0
../pom.xml
oci-java-sdk-analytics
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.97.0
+ 2.98.0
diff --git a/bmc-announcementsservice/pom.xml b/bmc-announcementsservice/pom.xml
index 4cca8b0f08e..8b4fb6f4c66 100644
--- a/bmc-announcementsservice/pom.xml
+++ b/bmc-announcementsservice/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.97.0
+ 2.98.0
../pom.xml
oci-java-sdk-announcementsservice
@@ -17,7 +17,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.97.0
+ 2.98.0
diff --git a/bmc-apiaccesscontrol/pom.xml b/bmc-apiaccesscontrol/pom.xml
index ca5855530c4..014be433711 100644
--- a/bmc-apiaccesscontrol/pom.xml
+++ b/bmc-apiaccesscontrol/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.97.0
+ 2.98.0
../pom.xml
oci-java-sdk-apiaccesscontrol
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.97.0
+ 2.98.0
\ No newline at end of file
diff --git a/bmc-apigateway/pom.xml b/bmc-apigateway/pom.xml
index 017308b2396..6b7163a66b8 100644
--- a/bmc-apigateway/pom.xml
+++ b/bmc-apigateway/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.97.0
+ 2.98.0
../pom.xml
oci-java-sdk-apigateway
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.97.0
+ 2.98.0
diff --git a/bmc-apiplatform/pom.xml b/bmc-apiplatform/pom.xml
index 8bf15cb1d5c..b11661dfd04 100644
--- a/bmc-apiplatform/pom.xml
+++ b/bmc-apiplatform/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.97.0
+ 2.98.0
../pom.xml
oci-java-sdk-apiplatform
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.97.0
+ 2.98.0
\ No newline at end of file
diff --git a/bmc-apmconfig/pom.xml b/bmc-apmconfig/pom.xml
index 6fe900d6558..6febbddb442 100644
--- a/bmc-apmconfig/pom.xml
+++ b/bmc-apmconfig/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.97.0
+ 2.98.0
../pom.xml
oci-java-sdk-apmconfig
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.97.0
+ 2.98.0
\ No newline at end of file
diff --git a/bmc-apmcontrolplane/pom.xml b/bmc-apmcontrolplane/pom.xml
index 584943d73d9..1090e1bb2f1 100644
--- a/bmc-apmcontrolplane/pom.xml
+++ b/bmc-apmcontrolplane/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.97.0
+ 2.98.0
../pom.xml
oci-java-sdk-apmcontrolplane
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.97.0
+ 2.98.0
diff --git a/bmc-apmsynthetics/pom.xml b/bmc-apmsynthetics/pom.xml
index 5621efc147d..d6a078f173c 100644
--- a/bmc-apmsynthetics/pom.xml
+++ b/bmc-apmsynthetics/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.97.0
+ 2.98.0
../pom.xml
oci-java-sdk-apmsynthetics
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.97.0
+ 2.98.0
diff --git a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/DnsConfiguration.java b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/DnsConfiguration.java
index 5a29649bf7a..b9e78cbf8c6 100644
--- a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/DnsConfiguration.java
+++ b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/DnsConfiguration.java
@@ -45,13 +45,13 @@ public Builder isOverrideDns(Boolean isOverrideDns) {
return this;
}
/**
- * Attribute to override the DNS IP value. This value will be honored only if isOverrideDns is set to true.
+ * Attribute to override the DNS IP value. This value is required only if isOverrideDns is set to true.
**/
@com.fasterxml.jackson.annotation.JsonProperty("overrideDnsIp")
private String overrideDnsIp;
/**
- * Attribute to override the DNS IP value. This value will be honored only if isOverrideDns is set to true.
+ * Attribute to override the DNS IP value. This value is required only if isOverrideDns is set to true.
* @param overrideDnsIp the value to set
* @return this builder
**/
@@ -110,13 +110,13 @@ public Boolean getIsOverrideDns() {
}
/**
- * Attribute to override the DNS IP value. This value will be honored only if isOverrideDns is set to true.
+ * Attribute to override the DNS IP value. This value is required only if isOverrideDns is set to true.
**/
@com.fasterxml.jackson.annotation.JsonProperty("overrideDnsIp")
private final String overrideDnsIp;
/**
- * Attribute to override the DNS IP value. This value will be honored only if isOverrideDns is set to true.
+ * Attribute to override the DNS IP value. This value is required only if isOverrideDns is set to true.
* @return the value
**/
public String getOverrideDnsIp() {
diff --git a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/MaintenanceWindowRecurrenceType.java b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/MaintenanceWindowRecurrenceType.java
new file mode 100644
index 00000000000..01be5fb26d4
--- /dev/null
+++ b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/MaintenanceWindowRecurrenceType.java
@@ -0,0 +1,55 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.apmsynthetics.model;
+
+/**
+ * Maintenance window recurrence type.
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200630")
+public enum MaintenanceWindowRecurrenceType {
+ Weekly("WEEKLY"),
+ Monthly("MONTHLY"),
+
+ /**
+ * 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(MaintenanceWindowRecurrenceType.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (MaintenanceWindowRecurrenceType v : MaintenanceWindowRecurrenceType.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ MaintenanceWindowRecurrenceType(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static MaintenanceWindowRecurrenceType create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'MaintenanceWindowRecurrenceType', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
+ }
+}
diff --git a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/MaintenanceWindowSchedule.java b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/MaintenanceWindowSchedule.java
index 2e704f83288..fa01d1be372 100644
--- a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/MaintenanceWindowSchedule.java
+++ b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/MaintenanceWindowSchedule.java
@@ -22,15 +22,42 @@
public final class MaintenanceWindowSchedule
extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"timeStarted", "timeEnded"})
- public MaintenanceWindowSchedule(java.util.Date timeStarted, java.util.Date timeEnded) {
+ @java.beans.ConstructorProperties({
+ "scheduleType",
+ "timeStarted",
+ "timeEnded",
+ "recurrenceType"
+ })
+ public MaintenanceWindowSchedule(
+ MaintenanceWindowScheduleType scheduleType,
+ java.util.Date timeStarted,
+ java.util.Date timeEnded,
+ MaintenanceWindowRecurrenceType recurrenceType) {
super();
+ this.scheduleType = scheduleType;
this.timeStarted = timeStarted;
this.timeEnded = timeEnded;
+ this.recurrenceType = recurrenceType;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
public static class Builder {
+ /**
+ * Type of maintenance window schedule. If not provided, a schedule with timeStarted and timeEnded is treated as ONE_TIME.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("scheduleType")
+ private MaintenanceWindowScheduleType scheduleType;
+
+ /**
+ * Type of maintenance window schedule. If not provided, a schedule with timeStarted and timeEnded is treated as ONE_TIME.
+ * @param scheduleType the value to set
+ * @return this builder
+ **/
+ public Builder scheduleType(MaintenanceWindowScheduleType scheduleType) {
+ this.scheduleType = scheduleType;
+ this.__explicitlySet__.add("scheduleType");
+ return this;
+ }
/**
* Start time of the maintenance window, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format.
* Example: {@code 2020-02-12T22:47:12.613Z}
@@ -71,13 +98,33 @@ public Builder timeEnded(java.util.Date timeEnded) {
this.__explicitlySet__.add("timeEnded");
return this;
}
+ /**
+ * Type of recurrence for a recurring maintenance window.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("recurrenceType")
+ private MaintenanceWindowRecurrenceType recurrenceType;
+
+ /**
+ * Type of recurrence for a recurring maintenance window.
+ * @param recurrenceType the value to set
+ * @return this builder
+ **/
+ public Builder recurrenceType(MaintenanceWindowRecurrenceType recurrenceType) {
+ this.recurrenceType = recurrenceType;
+ this.__explicitlySet__.add("recurrenceType");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
public MaintenanceWindowSchedule build() {
MaintenanceWindowSchedule model =
- new MaintenanceWindowSchedule(this.timeStarted, this.timeEnded);
+ new MaintenanceWindowSchedule(
+ this.scheduleType,
+ this.timeStarted,
+ this.timeEnded,
+ this.recurrenceType);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -86,12 +133,18 @@ public MaintenanceWindowSchedule build() {
@com.fasterxml.jackson.annotation.JsonIgnore
public Builder copy(MaintenanceWindowSchedule model) {
+ if (model.wasPropertyExplicitlySet("scheduleType")) {
+ this.scheduleType(model.getScheduleType());
+ }
if (model.wasPropertyExplicitlySet("timeStarted")) {
this.timeStarted(model.getTimeStarted());
}
if (model.wasPropertyExplicitlySet("timeEnded")) {
this.timeEnded(model.getTimeEnded());
}
+ if (model.wasPropertyExplicitlySet("recurrenceType")) {
+ this.recurrenceType(model.getRecurrenceType());
+ }
return this;
}
}
@@ -107,6 +160,20 @@ public Builder toBuilder() {
return new Builder().copy(this);
}
+ /**
+ * Type of maintenance window schedule. If not provided, a schedule with timeStarted and timeEnded is treated as ONE_TIME.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("scheduleType")
+ private final MaintenanceWindowScheduleType scheduleType;
+
+ /**
+ * Type of maintenance window schedule. If not provided, a schedule with timeStarted and timeEnded is treated as ONE_TIME.
+ * @return the value
+ **/
+ public MaintenanceWindowScheduleType getScheduleType() {
+ return scheduleType;
+ }
+
/**
* Start time of the maintenance window, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format.
* Example: {@code 2020-02-12T22:47:12.613Z}
@@ -143,6 +210,20 @@ public java.util.Date getTimeEnded() {
return timeEnded;
}
+ /**
+ * Type of recurrence for a recurring maintenance window.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("recurrenceType")
+ private final MaintenanceWindowRecurrenceType recurrenceType;
+
+ /**
+ * Type of recurrence for a recurring maintenance window.
+ * @return the value
+ **/
+ public MaintenanceWindowRecurrenceType getRecurrenceType() {
+ return recurrenceType;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -157,8 +238,10 @@ public String toString(boolean includeByteArrayContents) {
java.lang.StringBuilder sb = new java.lang.StringBuilder();
sb.append("MaintenanceWindowSchedule(");
sb.append("super=").append(super.toString());
- sb.append("timeStarted=").append(String.valueOf(this.timeStarted));
+ sb.append("scheduleType=").append(String.valueOf(this.scheduleType));
+ sb.append(", timeStarted=").append(String.valueOf(this.timeStarted));
sb.append(", timeEnded=").append(String.valueOf(this.timeEnded));
+ sb.append(", recurrenceType=").append(String.valueOf(this.recurrenceType));
sb.append(")");
return sb.toString();
}
@@ -173,8 +256,10 @@ public boolean equals(Object o) {
}
MaintenanceWindowSchedule other = (MaintenanceWindowSchedule) o;
- return java.util.Objects.equals(this.timeStarted, other.timeStarted)
+ return java.util.Objects.equals(this.scheduleType, other.scheduleType)
+ && java.util.Objects.equals(this.timeStarted, other.timeStarted)
&& java.util.Objects.equals(this.timeEnded, other.timeEnded)
+ && java.util.Objects.equals(this.recurrenceType, other.recurrenceType)
&& super.equals(other);
}
@@ -182,8 +267,12 @@ public boolean equals(Object o) {
public int hashCode() {
final int PRIME = 59;
int result = 1;
+ result = (result * PRIME) + (this.scheduleType == null ? 43 : this.scheduleType.hashCode());
result = (result * PRIME) + (this.timeStarted == null ? 43 : this.timeStarted.hashCode());
result = (result * PRIME) + (this.timeEnded == null ? 43 : this.timeEnded.hashCode());
+ result =
+ (result * PRIME)
+ + (this.recurrenceType == null ? 43 : this.recurrenceType.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/MaintenanceWindowScheduleType.java b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/MaintenanceWindowScheduleType.java
new file mode 100644
index 00000000000..7625c8566da
--- /dev/null
+++ b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/MaintenanceWindowScheduleType.java
@@ -0,0 +1,55 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.apmsynthetics.model;
+
+/**
+ * Maintenance window schedule type.
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200630")
+public enum MaintenanceWindowScheduleType {
+ OneTime("ONE_TIME"),
+ Recurring("RECURRING"),
+
+ /**
+ * 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(MaintenanceWindowScheduleType.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (MaintenanceWindowScheduleType v : MaintenanceWindowScheduleType.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ MaintenanceWindowScheduleType(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static MaintenanceWindowScheduleType create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'MaintenanceWindowScheduleType', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
+ }
+}
diff --git a/bmc-apmtraces/pom.xml b/bmc-apmtraces/pom.xml
index 7bdc0781e7a..aea8e27428d 100644
--- a/bmc-apmtraces/pom.xml
+++ b/bmc-apmtraces/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.97.0
+ 2.98.0
../pom.xml
oci-java-sdk-apmtraces
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.97.0
+ 2.98.0
diff --git a/bmc-appmgmtcontrol/pom.xml b/bmc-appmgmtcontrol/pom.xml
index 0ef3c436bb4..23a7f4b4dcb 100644
--- a/bmc-appmgmtcontrol/pom.xml
+++ b/bmc-appmgmtcontrol/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.97.0
+ 2.98.0
../pom.xml
oci-java-sdk-appmgmtcontrol
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.97.0
+ 2.98.0
\ No newline at end of file
diff --git a/bmc-artifacts/pom.xml b/bmc-artifacts/pom.xml
index 6b535056cbb..b8a0893a8ee 100644
--- a/bmc-artifacts/pom.xml
+++ b/bmc-artifacts/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.97.0
+ 2.98.0
../pom.xml
oci-java-sdk-artifacts
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.97.0
+ 2.98.0
diff --git a/bmc-audit/pom.xml b/bmc-audit/pom.xml
index 96cc3eed6ae..d2bbf994553 100644
--- a/bmc-audit/pom.xml
+++ b/bmc-audit/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.97.0
+ 2.98.0
../pom.xml
@@ -19,7 +19,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.97.0
+ 2.98.0
diff --git a/bmc-autoscaling/pom.xml b/bmc-autoscaling/pom.xml
index d98cc9fde86..e66a36e927e 100644
--- a/bmc-autoscaling/pom.xml
+++ b/bmc-autoscaling/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.97.0
+ 2.98.0
../pom.xml
oci-java-sdk-autoscaling
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.97.0
+ 2.98.0
diff --git a/bmc-bastion/pom.xml b/bmc-bastion/pom.xml
index c51def22d3f..dc8aae90b76 100644
--- a/bmc-bastion/pom.xml
+++ b/bmc-bastion/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.97.0
+ 2.98.0
../pom.xml
oci-java-sdk-bastion
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.97.0
+ 2.98.0
diff --git a/bmc-batch/pom.xml b/bmc-batch/pom.xml
index c79b526a8d5..c8427d1f47c 100644
--- a/bmc-batch/pom.xml
+++ b/bmc-batch/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.97.0
+ 2.98.0
../pom.xml
oci-java-sdk-batch
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.97.0
+ 2.98.0
\ No newline at end of file
diff --git a/bmc-bds/pom.xml b/bmc-bds/pom.xml
index 4c76caa6965..38c9340fb4d 100644
--- a/bmc-bds/pom.xml
+++ b/bmc-bds/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.97.0
+ 2.98.0
../pom.xml
oci-java-sdk-bds
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.97.0
+ 2.98.0
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/Bds.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/Bds.java
index b53ece4f8f3..4b94c214f3c 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/Bds.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/Bds.java
@@ -60,6 +60,19 @@ public interface Bds extends AutoCloseable {
*/
void useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled);
+ /**
+ * Activates the BDS capacity reservation configuration identified by the given ID.
+ * @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 ActivateBdsCapacityReservationConfiguration API.
+ */
+ ActivateBdsCapacityReservationConfigurationResponse activateBdsCapacityReservationConfiguration(
+ ActivateBdsCapacityReservationConfigurationRequest request);
+
/**
* Activate specified metastore configuration.
*
@@ -232,6 +245,19 @@ BdsInstanceResetPasswordResponse bdsInstanceResetPassword(
*/
CertificateServiceInfoResponse certificateServiceInfo(CertificateServiceInfoRequest request);
+ /**
+ * Moves a BDS capacity reservation into a different compartment.
+ * @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 ChangeBdsCapacityReservationCompartment API.
+ */
+ ChangeBdsCapacityReservationCompartmentResponse changeBdsCapacityReservationCompartment(
+ ChangeBdsCapacityReservationCompartmentRequest request);
+
/**
* Moves a Big Data Service cluster into a different compartment.
*
@@ -285,6 +311,34 @@ ChangeBdsInstanceCompartmentResponse changeBdsInstanceCompartment(
*/
CreateBdsCapacityReportResponse createBdsCapacityReport(CreateBdsCapacityReportRequest request);
+ /**
+ * Creates a reusable BDS capacity reservation resource.
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs.
+ * 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 CreateBdsCapacityReservation API.
+ */
+ CreateBdsCapacityReservationResponse createBdsCapacityReservation(
+ CreateBdsCapacityReservationRequest request);
+
+ /**
+ * Creates a configuration between the specified BDS cluster and a BDS capacity reservation.
+ *
+ * @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 CreateBdsCapacityReservationConfiguration API.
+ */
+ CreateBdsCapacityReservationConfigurationResponse createBdsCapacityReservationConfiguration(
+ CreateBdsCapacityReservationConfigurationRequest request);
+
/**
* Create a BDS certificate configuration for the cluster.
*
@@ -381,6 +435,20 @@ CreateNodeReplaceConfigurationResponse createNodeReplaceConfiguration(
CreateResourcePrincipalConfigurationResponse createResourcePrincipalConfiguration(
CreateResourcePrincipalConfigurationRequest request);
+ /**
+ * Deactivates the BDS capacity reservation configuration identified by the given ID.
+ * @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 DeactivateBdsCapacityReservationConfiguration API.
+ */
+ DeactivateBdsCapacityReservationConfigurationResponse
+ deactivateBdsCapacityReservationConfiguration(
+ DeactivateBdsCapacityReservationConfigurationRequest request);
+
/**
* Deactivate the IAM user sync configuration.
* @param request The request object containing the details to send
@@ -419,6 +487,32 @@ DeactivateUpstConfigurationResponse deactivateUpstConfiguration(
*/
DeleteBdsApiKeyResponse deleteBdsApiKey(DeleteBdsApiKeyRequest request);
+ /**
+ * Deletes the BDS capacity reservation identified by the given ID.
+ * @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 DeleteBdsCapacityReservation API.
+ */
+ DeleteBdsCapacityReservationResponse deleteBdsCapacityReservation(
+ DeleteBdsCapacityReservationRequest request);
+
+ /**
+ * Deletes the BDS capacity reservation configuration identified by the given ID.
+ * @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 DeleteBdsCapacityReservationConfiguration API.
+ */
+ DeleteBdsCapacityReservationConfigurationResponse deleteBdsCapacityReservationConfiguration(
+ DeleteBdsCapacityReservationConfigurationRequest request);
+
/**
* Delete the BDS certificate configuration for the given ID.
* @param request The request object containing the details to send
@@ -587,6 +681,32 @@ GetAutoScalingConfigurationResponse getAutoScalingConfiguration(
*/
GetBdsApiKeyResponse getBdsApiKey(GetBdsApiKeyRequest request);
+ /**
+ * Returns information about the BDS capacity reservation identified by the given ID.
+ * @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 GetBdsCapacityReservation API.
+ */
+ GetBdsCapacityReservationResponse getBdsCapacityReservation(
+ GetBdsCapacityReservationRequest request);
+
+ /**
+ * Returns information about the BDS capacity reservation configuration identified by the given ID.
+ * @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 GetBdsCapacityReservationConfiguration API.
+ */
+ GetBdsCapacityReservationConfigurationResponse getBdsCapacityReservationConfiguration(
+ GetBdsCapacityReservationConfigurationRequest request);
+
/**
* Returns details of the BdsCertificateConfiguration identified by the given ID.
*
@@ -797,6 +917,49 @@ ListAutoScalingConfigurationsResponse listAutoScalingConfigurations(
*/
ListBdsApiKeysResponse listBdsApiKeys(ListBdsApiKeysRequest request);
+ /**
+ * Returns a list of BDS capacity reservation configurations associated with the specified BDS capacity reservation.
+ *
+ * @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 ListBdsCapacityReservationAssociatedConfigurations API.
+ */
+ ListBdsCapacityReservationAssociatedConfigurationsResponse
+ listBdsCapacityReservationAssociatedConfigurations(
+ ListBdsCapacityReservationAssociatedConfigurationsRequest request);
+
+ /**
+ * Returns a list of BDS capacity reservation configurations for the specified BDS cluster.
+ *
+ * @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 ListBdsCapacityReservationConfigurations API.
+ */
+ ListBdsCapacityReservationConfigurationsResponse listBdsCapacityReservationConfigurations(
+ ListBdsCapacityReservationConfigurationsRequest request);
+
+ /**
+ * Returns a list of BDS capacity reservations in a compartment.
+ *
+ * @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 ListBdsCapacityReservations API.
+ */
+ ListBdsCapacityReservationsResponse listBdsCapacityReservations(
+ ListBdsCapacityReservationsRequest request);
+
/**
* Returns a list of BDS certificate configurations associated with this Big Data Service cluster.
*
@@ -1262,6 +1425,32 @@ TestBdsObjectStorageConnectionResponse testBdsObjectStorageConnection(
UpdateAutoScalingConfigurationResponse updateAutoScalingConfiguration(
UpdateAutoScalingConfigurationRequest request);
+ /**
+ * Updates the BDS capacity reservation identified by the given ID.
+ * @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 UpdateBdsCapacityReservation API.
+ */
+ UpdateBdsCapacityReservationResponse updateBdsCapacityReservation(
+ UpdateBdsCapacityReservationRequest request);
+
+ /**
+ * Updates the BDS capacity reservation configuration identified by the given ID.
+ * @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 UpdateBdsCapacityReservationConfiguration API.
+ */
+ UpdateBdsCapacityReservationConfigurationResponse updateBdsCapacityReservationConfiguration(
+ UpdateBdsCapacityReservationConfigurationRequest request);
+
/**
* Updates the Big Data Service cluster identified by the given ID.
* @param request The request object containing the details to send
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/BdsAsync.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/BdsAsync.java
index 20c2e04260a..68af308700b 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/BdsAsync.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/BdsAsync.java
@@ -59,6 +59,24 @@ public interface BdsAsync extends AutoCloseable {
*/
void useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled);
+ /**
+ * Activates the BDS capacity reservation configuration identified by the given ID.
+ *
+ * @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
+ activateBdsCapacityReservationConfiguration(
+ ActivateBdsCapacityReservationConfigurationRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ ActivateBdsCapacityReservationConfigurationRequest,
+ ActivateBdsCapacityReservationConfigurationResponse>
+ handler);
+
/**
* Activate specified metastore configuration.
*
@@ -272,6 +290,24 @@ java.util.concurrent.Future certificateServiceIn
CertificateServiceInfoRequest, CertificateServiceInfoResponse>
handler);
+ /**
+ * Moves a BDS capacity reservation into a different compartment.
+ *
+ * @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
+ changeBdsCapacityReservationCompartment(
+ ChangeBdsCapacityReservationCompartmentRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ ChangeBdsCapacityReservationCompartmentRequest,
+ ChangeBdsCapacityReservationCompartmentResponse>
+ handler);
+
/**
* Moves a Big Data Service cluster into a different compartment.
*
@@ -338,6 +374,43 @@ java.util.concurrent.Future createBdsCapacityRe
CreateBdsCapacityReportRequest, CreateBdsCapacityReportResponse>
handler);
+ /**
+ * Creates a reusable BDS capacity reservation resource.
+ *
+ *
+ * @param request The request object containing the details to send
+ * @param handler The request handler to invoke upon completion, may be null.
+ * @return A Future that can be used to get the response if no AsyncHandler was
+ * provided. Note, if you provide an AsyncHandler and use the Future, some
+ * types of responses (like java.io.InputStream) may not be able to be read in
+ * both places as the underlying stream may only be consumed once.
+ */
+ java.util.concurrent.Future createBdsCapacityReservation(
+ CreateBdsCapacityReservationRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ CreateBdsCapacityReservationRequest,
+ CreateBdsCapacityReservationResponse>
+ handler);
+
+ /**
+ * Creates a configuration between the specified BDS cluster and a BDS capacity reservation.
+ *
+ *
+ * @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
+ createBdsCapacityReservationConfiguration(
+ CreateBdsCapacityReservationConfigurationRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ CreateBdsCapacityReservationConfigurationRequest,
+ CreateBdsCapacityReservationConfigurationResponse>
+ handler);
+
/**
* Create a BDS certificate configuration for the cluster.
*
@@ -466,6 +539,24 @@ java.util.concurrent.Future createIdentityC
CreateResourcePrincipalConfigurationResponse>
handler);
+ /**
+ * Deactivates the BDS capacity reservation configuration identified by the given ID.
+ *
+ * @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
+ deactivateBdsCapacityReservationConfiguration(
+ DeactivateBdsCapacityReservationConfigurationRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ DeactivateBdsCapacityReservationConfigurationRequest,
+ DeactivateBdsCapacityReservationConfigurationResponse>
+ handler);
+
/**
* Deactivate the IAM user sync configuration.
*
@@ -515,6 +606,41 @@ java.util.concurrent.Future deleteBdsApiKey(
com.oracle.bmc.responses.AsyncHandler
handler);
+ /**
+ * Deletes the BDS capacity reservation identified by the given ID.
+ *
+ * @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 deleteBdsCapacityReservation(
+ DeleteBdsCapacityReservationRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ DeleteBdsCapacityReservationRequest,
+ DeleteBdsCapacityReservationResponse>
+ handler);
+
+ /**
+ * Deletes the BDS capacity reservation configuration identified by the given ID.
+ *
+ * @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
+ deleteBdsCapacityReservationConfiguration(
+ DeleteBdsCapacityReservationConfigurationRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ DeleteBdsCapacityReservationConfigurationRequest,
+ DeleteBdsCapacityReservationConfigurationResponse>
+ handler);
+
/**
* Delete the BDS certificate configuration for the given ID.
*
@@ -735,6 +861,40 @@ java.util.concurrent.Future getBdsApiKey(
com.oracle.bmc.responses.AsyncHandler
handler);
+ /**
+ * Returns information about the BDS capacity reservation identified by the given ID.
+ *
+ * @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 getBdsCapacityReservation(
+ GetBdsCapacityReservationRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ GetBdsCapacityReservationRequest, GetBdsCapacityReservationResponse>
+ handler);
+
+ /**
+ * Returns information about the BDS capacity reservation configuration identified by the given ID.
+ *
+ * @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
+ getBdsCapacityReservationConfiguration(
+ GetBdsCapacityReservationConfigurationRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ GetBdsCapacityReservationConfigurationRequest,
+ GetBdsCapacityReservationConfigurationResponse>
+ handler);
+
/**
* Returns details of the BdsCertificateConfiguration identified by the given ID.
*
@@ -1003,6 +1163,61 @@ java.util.concurrent.Future listBdsApiKeys(
com.oracle.bmc.responses.AsyncHandler
handler);
+ /**
+ * Returns a list of BDS capacity reservation configurations associated with the specified BDS capacity reservation.
+ *
+ *
+ * @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
+ listBdsCapacityReservationAssociatedConfigurations(
+ ListBdsCapacityReservationAssociatedConfigurationsRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ ListBdsCapacityReservationAssociatedConfigurationsRequest,
+ ListBdsCapacityReservationAssociatedConfigurationsResponse>
+ handler);
+
+ /**
+ * Returns a list of BDS capacity reservation configurations for the specified BDS cluster.
+ *
+ *
+ * @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
+ listBdsCapacityReservationConfigurations(
+ ListBdsCapacityReservationConfigurationsRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ ListBdsCapacityReservationConfigurationsRequest,
+ ListBdsCapacityReservationConfigurationsResponse>
+ handler);
+
+ /**
+ * Returns a list of BDS capacity reservations in a compartment.
+ *
+ *
+ * @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 listBdsCapacityReservations(
+ ListBdsCapacityReservationsRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ ListBdsCapacityReservationsRequest, ListBdsCapacityReservationsResponse>
+ handler);
+
/**
* Returns a list of BDS certificate configurations associated with this Big Data Service cluster.
*
@@ -1600,6 +1815,41 @@ java.util.concurrent.Future stopBdsInstance(
UpdateAutoScalingConfigurationResponse>
handler);
+ /**
+ * Updates the BDS capacity reservation identified by the given ID.
+ *
+ * @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 updateBdsCapacityReservation(
+ UpdateBdsCapacityReservationRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ UpdateBdsCapacityReservationRequest,
+ UpdateBdsCapacityReservationResponse>
+ handler);
+
+ /**
+ * Updates the BDS capacity reservation configuration identified by the given ID.
+ *
+ * @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
+ updateBdsCapacityReservationConfiguration(
+ UpdateBdsCapacityReservationConfigurationRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ UpdateBdsCapacityReservationConfigurationRequest,
+ UpdateBdsCapacityReservationConfigurationResponse>
+ handler);
+
/**
* Updates the Big Data Service cluster identified by the given ID.
*
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/BdsAsyncClient.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/BdsAsyncClient.java
index ac0b37bbc2c..a22847f9490 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/BdsAsyncClient.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/BdsAsyncClient.java
@@ -470,6 +470,63 @@ public void close() {
client.close();
}
+ @Override
+ public java.util.concurrent.Future
+ activateBdsCapacityReservationConfiguration(
+ ActivateBdsCapacityReservationConfigurationRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ ActivateBdsCapacityReservationConfigurationRequest,
+ ActivateBdsCapacityReservationConfigurationResponse>
+ handler) {
+ LOG.trace("Called async activateBdsCapacityReservationConfiguration");
+ final ActivateBdsCapacityReservationConfigurationRequest interceptedRequest =
+ ActivateBdsCapacityReservationConfigurationConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ ActivateBdsCapacityReservationConfigurationConverter.fromRequest(
+ client, interceptedRequest);
+ com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Bds",
+ "ActivateBdsCapacityReservationConfiguration",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsCapacityReservationConfiguration/ActivateBdsCapacityReservationConfiguration");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ ActivateBdsCapacityReservationConfigurationResponse>
+ transformer =
+ ActivateBdsCapacityReservationConfigurationConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ com.oracle.bmc.responses.AsyncHandler<
+ ActivateBdsCapacityReservationConfigurationRequest,
+ ActivateBdsCapacityReservationConfigurationResponse>
+ handlerToUse = handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ ActivateBdsCapacityReservationConfigurationRequest,
+ ActivateBdsCapacityReservationConfigurationResponse>,
+ java.util.concurrent.Future<
+ ActivateBdsCapacityReservationConfigurationResponse>>
+ futureSupplier = client.postFutureSupplier(interceptedRequest, ib, transformer);
+
+ if (this.authenticationDetailsProvider
+ instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) {
+ return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper<
+ ActivateBdsCapacityReservationConfigurationRequest,
+ ActivateBdsCapacityReservationConfigurationResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
@Override
public java.util.concurrent.Future
activateBdsMetastoreConfiguration(
@@ -1159,6 +1216,68 @@ protected void beforeRetryAction() {}
}
}
+ @Override
+ public java.util.concurrent.Future
+ changeBdsCapacityReservationCompartment(
+ ChangeBdsCapacityReservationCompartmentRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ ChangeBdsCapacityReservationCompartmentRequest,
+ ChangeBdsCapacityReservationCompartmentResponse>
+ handler) {
+ LOG.trace("Called async changeBdsCapacityReservationCompartment");
+ final ChangeBdsCapacityReservationCompartmentRequest interceptedRequest =
+ ChangeBdsCapacityReservationCompartmentConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ ChangeBdsCapacityReservationCompartmentConverter.fromRequest(
+ client, interceptedRequest);
+ com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Bds",
+ "ChangeBdsCapacityReservationCompartment",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsCapacityReservation/ChangeBdsCapacityReservationCompartment");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response, ChangeBdsCapacityReservationCompartmentResponse>
+ transformer =
+ ChangeBdsCapacityReservationCompartmentConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ com.oracle.bmc.responses.AsyncHandler<
+ ChangeBdsCapacityReservationCompartmentRequest,
+ ChangeBdsCapacityReservationCompartmentResponse>
+ handlerToUse = handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ ChangeBdsCapacityReservationCompartmentRequest,
+ ChangeBdsCapacityReservationCompartmentResponse>,
+ java.util.concurrent.Future<
+ ChangeBdsCapacityReservationCompartmentResponse>>
+ futureSupplier =
+ client.postFutureSupplier(
+ interceptedRequest,
+ interceptedRequest
+ .getChangeBdsCapacityReservationCompartmentDetails(),
+ ib,
+ transformer);
+
+ if (this.authenticationDetailsProvider
+ instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) {
+ return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper<
+ ChangeBdsCapacityReservationCompartmentRequest,
+ ChangeBdsCapacityReservationCompartmentResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
@Override
public java.util.concurrent.Future
changeBdsInstanceCompartment(
@@ -1372,6 +1491,126 @@ protected void beforeRetryAction() {}
}
}
+ @Override
+ public java.util.concurrent.Future
+ createBdsCapacityReservation(
+ CreateBdsCapacityReservationRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ CreateBdsCapacityReservationRequest,
+ CreateBdsCapacityReservationResponse>
+ handler) {
+ LOG.trace("Called async createBdsCapacityReservation");
+ final CreateBdsCapacityReservationRequest interceptedRequest =
+ CreateBdsCapacityReservationConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ CreateBdsCapacityReservationConverter.fromRequest(client, interceptedRequest);
+ com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Bds",
+ "CreateBdsCapacityReservation",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsCapacityReservation/CreateBdsCapacityReservation");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response, CreateBdsCapacityReservationResponse>
+ transformer =
+ CreateBdsCapacityReservationConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ com.oracle.bmc.responses.AsyncHandler<
+ CreateBdsCapacityReservationRequest, CreateBdsCapacityReservationResponse>
+ handlerToUse = handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ CreateBdsCapacityReservationRequest,
+ CreateBdsCapacityReservationResponse>,
+ java.util.concurrent.Future>
+ futureSupplier =
+ client.postFutureSupplier(
+ interceptedRequest,
+ interceptedRequest.getCreateBdsCapacityReservationDetails(),
+ ib,
+ transformer);
+
+ if (this.authenticationDetailsProvider
+ instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) {
+ return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper<
+ CreateBdsCapacityReservationRequest, CreateBdsCapacityReservationResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
+ @Override
+ public java.util.concurrent.Future
+ createBdsCapacityReservationConfiguration(
+ CreateBdsCapacityReservationConfigurationRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ CreateBdsCapacityReservationConfigurationRequest,
+ CreateBdsCapacityReservationConfigurationResponse>
+ handler) {
+ LOG.trace("Called async createBdsCapacityReservationConfiguration");
+ final CreateBdsCapacityReservationConfigurationRequest interceptedRequest =
+ CreateBdsCapacityReservationConfigurationConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ CreateBdsCapacityReservationConfigurationConverter.fromRequest(
+ client, interceptedRequest);
+ com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Bds",
+ "CreateBdsCapacityReservationConfiguration",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsCapacityReservationConfiguration/CreateBdsCapacityReservationConfiguration");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ CreateBdsCapacityReservationConfigurationResponse>
+ transformer =
+ CreateBdsCapacityReservationConfigurationConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ com.oracle.bmc.responses.AsyncHandler<
+ CreateBdsCapacityReservationConfigurationRequest,
+ CreateBdsCapacityReservationConfigurationResponse>
+ handlerToUse = handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ CreateBdsCapacityReservationConfigurationRequest,
+ CreateBdsCapacityReservationConfigurationResponse>,
+ java.util.concurrent.Future<
+ CreateBdsCapacityReservationConfigurationResponse>>
+ futureSupplier =
+ client.postFutureSupplier(
+ interceptedRequest,
+ interceptedRequest
+ .getCreateBdsCapacityReservationConfigurationDetails(),
+ ib,
+ transformer);
+
+ if (this.authenticationDetailsProvider
+ instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) {
+ return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper<
+ CreateBdsCapacityReservationConfigurationRequest,
+ CreateBdsCapacityReservationConfigurationResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
@Override
public java.util.concurrent.Future
createBdsCertificateConfiguration(
@@ -1774,6 +2013,63 @@ protected void beforeRetryAction() {}
}
}
+ @Override
+ public java.util.concurrent.Future
+ deactivateBdsCapacityReservationConfiguration(
+ DeactivateBdsCapacityReservationConfigurationRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ DeactivateBdsCapacityReservationConfigurationRequest,
+ DeactivateBdsCapacityReservationConfigurationResponse>
+ handler) {
+ LOG.trace("Called async deactivateBdsCapacityReservationConfiguration");
+ final DeactivateBdsCapacityReservationConfigurationRequest interceptedRequest =
+ DeactivateBdsCapacityReservationConfigurationConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ DeactivateBdsCapacityReservationConfigurationConverter.fromRequest(
+ client, interceptedRequest);
+ com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Bds",
+ "DeactivateBdsCapacityReservationConfiguration",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsCapacityReservationConfiguration/DeactivateBdsCapacityReservationConfiguration");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ DeactivateBdsCapacityReservationConfigurationResponse>
+ transformer =
+ DeactivateBdsCapacityReservationConfigurationConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ com.oracle.bmc.responses.AsyncHandler<
+ DeactivateBdsCapacityReservationConfigurationRequest,
+ DeactivateBdsCapacityReservationConfigurationResponse>
+ handlerToUse = handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ DeactivateBdsCapacityReservationConfigurationRequest,
+ DeactivateBdsCapacityReservationConfigurationResponse>,
+ java.util.concurrent.Future<
+ DeactivateBdsCapacityReservationConfigurationResponse>>
+ futureSupplier = client.postFutureSupplier(interceptedRequest, ib, transformer);
+
+ if (this.authenticationDetailsProvider
+ instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) {
+ return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper<
+ DeactivateBdsCapacityReservationConfigurationRequest,
+ DeactivateBdsCapacityReservationConfigurationResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
@Override
public java.util.concurrent.Future
deactivateIamUserSyncConfiguration(
@@ -1936,6 +2232,113 @@ protected void beforeRetryAction() {}
}
}
+ @Override
+ public java.util.concurrent.Future
+ deleteBdsCapacityReservation(
+ DeleteBdsCapacityReservationRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ DeleteBdsCapacityReservationRequest,
+ DeleteBdsCapacityReservationResponse>
+ handler) {
+ LOG.trace("Called async deleteBdsCapacityReservation");
+ final DeleteBdsCapacityReservationRequest interceptedRequest =
+ DeleteBdsCapacityReservationConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ DeleteBdsCapacityReservationConverter.fromRequest(client, interceptedRequest);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Bds",
+ "DeleteBdsCapacityReservation",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsCapacityReservation/DeleteBdsCapacityReservation");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response, DeleteBdsCapacityReservationResponse>
+ transformer =
+ DeleteBdsCapacityReservationConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ com.oracle.bmc.responses.AsyncHandler<
+ DeleteBdsCapacityReservationRequest, DeleteBdsCapacityReservationResponse>
+ handlerToUse = handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ DeleteBdsCapacityReservationRequest,
+ DeleteBdsCapacityReservationResponse>,
+ java.util.concurrent.Future>
+ futureSupplier = client.deleteFutureSupplier(interceptedRequest, ib, transformer);
+
+ if (this.authenticationDetailsProvider
+ instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) {
+ return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper<
+ DeleteBdsCapacityReservationRequest, DeleteBdsCapacityReservationResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
+ @Override
+ public java.util.concurrent.Future
+ deleteBdsCapacityReservationConfiguration(
+ DeleteBdsCapacityReservationConfigurationRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ DeleteBdsCapacityReservationConfigurationRequest,
+ DeleteBdsCapacityReservationConfigurationResponse>
+ handler) {
+ LOG.trace("Called async deleteBdsCapacityReservationConfiguration");
+ final DeleteBdsCapacityReservationConfigurationRequest interceptedRequest =
+ DeleteBdsCapacityReservationConfigurationConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ DeleteBdsCapacityReservationConfigurationConverter.fromRequest(
+ client, interceptedRequest);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Bds",
+ "DeleteBdsCapacityReservationConfiguration",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsCapacityReservationConfiguration/DeleteBdsCapacityReservationConfiguration");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ DeleteBdsCapacityReservationConfigurationResponse>
+ transformer =
+ DeleteBdsCapacityReservationConfigurationConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ com.oracle.bmc.responses.AsyncHandler<
+ DeleteBdsCapacityReservationConfigurationRequest,
+ DeleteBdsCapacityReservationConfigurationResponse>
+ handlerToUse = handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ DeleteBdsCapacityReservationConfigurationRequest,
+ DeleteBdsCapacityReservationConfigurationResponse>,
+ java.util.concurrent.Future<
+ DeleteBdsCapacityReservationConfigurationResponse>>
+ futureSupplier = client.deleteFutureSupplier(interceptedRequest, ib, transformer);
+
+ if (this.authenticationDetailsProvider
+ instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) {
+ return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper<
+ DeleteBdsCapacityReservationConfigurationRequest,
+ DeleteBdsCapacityReservationConfigurationResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
@Override
public java.util.concurrent.Future
deleteBdsCertificateConfiguration(
@@ -2599,6 +3002,109 @@ protected void beforeRetryAction() {}
}
}
+ @Override
+ public java.util.concurrent.Future getBdsCapacityReservation(
+ GetBdsCapacityReservationRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ GetBdsCapacityReservationRequest, GetBdsCapacityReservationResponse>
+ handler) {
+ LOG.trace("Called async getBdsCapacityReservation");
+ final GetBdsCapacityReservationRequest interceptedRequest =
+ GetBdsCapacityReservationConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ GetBdsCapacityReservationConverter.fromRequest(client, interceptedRequest);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Bds",
+ "GetBdsCapacityReservation",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsCapacityReservation/GetBdsCapacityReservation");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response, GetBdsCapacityReservationResponse>
+ transformer =
+ GetBdsCapacityReservationConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ com.oracle.bmc.responses.AsyncHandler<
+ GetBdsCapacityReservationRequest, GetBdsCapacityReservationResponse>
+ handlerToUse = handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ GetBdsCapacityReservationRequest,
+ GetBdsCapacityReservationResponse>,
+ java.util.concurrent.Future>
+ futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer);
+
+ if (this.authenticationDetailsProvider
+ instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) {
+ return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper<
+ GetBdsCapacityReservationRequest, GetBdsCapacityReservationResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
+ @Override
+ public java.util.concurrent.Future
+ getBdsCapacityReservationConfiguration(
+ GetBdsCapacityReservationConfigurationRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ GetBdsCapacityReservationConfigurationRequest,
+ GetBdsCapacityReservationConfigurationResponse>
+ handler) {
+ LOG.trace("Called async getBdsCapacityReservationConfiguration");
+ final GetBdsCapacityReservationConfigurationRequest interceptedRequest =
+ GetBdsCapacityReservationConfigurationConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ GetBdsCapacityReservationConfigurationConverter.fromRequest(
+ client, interceptedRequest);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Bds",
+ "GetBdsCapacityReservationConfiguration",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsCapacityReservationConfiguration/GetBdsCapacityReservationConfiguration");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response, GetBdsCapacityReservationConfigurationResponse>
+ transformer =
+ GetBdsCapacityReservationConfigurationConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ com.oracle.bmc.responses.AsyncHandler<
+ GetBdsCapacityReservationConfigurationRequest,
+ GetBdsCapacityReservationConfigurationResponse>
+ handlerToUse = handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ GetBdsCapacityReservationConfigurationRequest,
+ GetBdsCapacityReservationConfigurationResponse>,
+ java.util.concurrent.Future>
+ futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer);
+
+ if (this.authenticationDetailsProvider
+ instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) {
+ return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper<
+ GetBdsCapacityReservationConfigurationRequest,
+ GetBdsCapacityReservationConfigurationResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
@Override
public java.util.concurrent.Future
getBdsCertificateConfiguration(
@@ -3383,6 +3889,169 @@ protected void beforeRetryAction() {}
}
}
+ @Override
+ public java.util.concurrent.Future
+ listBdsCapacityReservationAssociatedConfigurations(
+ ListBdsCapacityReservationAssociatedConfigurationsRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ ListBdsCapacityReservationAssociatedConfigurationsRequest,
+ ListBdsCapacityReservationAssociatedConfigurationsResponse>
+ handler) {
+ LOG.trace("Called async listBdsCapacityReservationAssociatedConfigurations");
+ final ListBdsCapacityReservationAssociatedConfigurationsRequest interceptedRequest =
+ ListBdsCapacityReservationAssociatedConfigurationsConverter.interceptRequest(
+ request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ ListBdsCapacityReservationAssociatedConfigurationsConverter.fromRequest(
+ client, interceptedRequest);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Bds",
+ "ListBdsCapacityReservationAssociatedConfigurations",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsCapacityReservationConfiguration/ListBdsCapacityReservationAssociatedConfigurations");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ ListBdsCapacityReservationAssociatedConfigurationsResponse>
+ transformer =
+ ListBdsCapacityReservationAssociatedConfigurationsConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ com.oracle.bmc.responses.AsyncHandler<
+ ListBdsCapacityReservationAssociatedConfigurationsRequest,
+ ListBdsCapacityReservationAssociatedConfigurationsResponse>
+ handlerToUse = handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ ListBdsCapacityReservationAssociatedConfigurationsRequest,
+ ListBdsCapacityReservationAssociatedConfigurationsResponse>,
+ java.util.concurrent.Future<
+ ListBdsCapacityReservationAssociatedConfigurationsResponse>>
+ futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer);
+
+ if (this.authenticationDetailsProvider
+ instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) {
+ return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper<
+ ListBdsCapacityReservationAssociatedConfigurationsRequest,
+ ListBdsCapacityReservationAssociatedConfigurationsResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
+ @Override
+ public java.util.concurrent.Future
+ listBdsCapacityReservationConfigurations(
+ ListBdsCapacityReservationConfigurationsRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ ListBdsCapacityReservationConfigurationsRequest,
+ ListBdsCapacityReservationConfigurationsResponse>
+ handler) {
+ LOG.trace("Called async listBdsCapacityReservationConfigurations");
+ final ListBdsCapacityReservationConfigurationsRequest interceptedRequest =
+ ListBdsCapacityReservationConfigurationsConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ ListBdsCapacityReservationConfigurationsConverter.fromRequest(
+ client, interceptedRequest);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Bds",
+ "ListBdsCapacityReservationConfigurations",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsCapacityReservationConfiguration/ListBdsCapacityReservationConfigurations");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response, ListBdsCapacityReservationConfigurationsResponse>
+ transformer =
+ ListBdsCapacityReservationConfigurationsConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ com.oracle.bmc.responses.AsyncHandler<
+ ListBdsCapacityReservationConfigurationsRequest,
+ ListBdsCapacityReservationConfigurationsResponse>
+ handlerToUse = handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ ListBdsCapacityReservationConfigurationsRequest,
+ ListBdsCapacityReservationConfigurationsResponse>,
+ java.util.concurrent.Future<
+ ListBdsCapacityReservationConfigurationsResponse>>
+ futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer);
+
+ if (this.authenticationDetailsProvider
+ instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) {
+ return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper<
+ ListBdsCapacityReservationConfigurationsRequest,
+ ListBdsCapacityReservationConfigurationsResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
+ @Override
+ public java.util.concurrent.Future
+ listBdsCapacityReservations(
+ ListBdsCapacityReservationsRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ ListBdsCapacityReservationsRequest,
+ ListBdsCapacityReservationsResponse>
+ handler) {
+ LOG.trace("Called async listBdsCapacityReservations");
+ final ListBdsCapacityReservationsRequest interceptedRequest =
+ ListBdsCapacityReservationsConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ ListBdsCapacityReservationsConverter.fromRequest(client, interceptedRequest);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Bds",
+ "ListBdsCapacityReservations",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsCapacityReservation/ListBdsCapacityReservations");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response, ListBdsCapacityReservationsResponse>
+ transformer =
+ ListBdsCapacityReservationsConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ com.oracle.bmc.responses.AsyncHandler<
+ ListBdsCapacityReservationsRequest, ListBdsCapacityReservationsResponse>
+ handlerToUse = handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ ListBdsCapacityReservationsRequest,
+ ListBdsCapacityReservationsResponse>,
+ java.util.concurrent.Future>
+ futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer);
+
+ if (this.authenticationDetailsProvider
+ instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) {
+ return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper<
+ ListBdsCapacityReservationsRequest, ListBdsCapacityReservationsResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
@Override
public java.util.concurrent.Future
listBdsCertificateConfigurations(
@@ -5186,6 +5855,126 @@ protected void beforeRetryAction() {}
}
}
+ @Override
+ public java.util.concurrent.Future
+ updateBdsCapacityReservation(
+ UpdateBdsCapacityReservationRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ UpdateBdsCapacityReservationRequest,
+ UpdateBdsCapacityReservationResponse>
+ handler) {
+ LOG.trace("Called async updateBdsCapacityReservation");
+ final UpdateBdsCapacityReservationRequest interceptedRequest =
+ UpdateBdsCapacityReservationConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ UpdateBdsCapacityReservationConverter.fromRequest(client, interceptedRequest);
+ com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Bds",
+ "UpdateBdsCapacityReservation",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsCapacityReservation/UpdateBdsCapacityReservation");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response, UpdateBdsCapacityReservationResponse>
+ transformer =
+ UpdateBdsCapacityReservationConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ com.oracle.bmc.responses.AsyncHandler<
+ UpdateBdsCapacityReservationRequest, UpdateBdsCapacityReservationResponse>
+ handlerToUse = handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ UpdateBdsCapacityReservationRequest,
+ UpdateBdsCapacityReservationResponse>,
+ java.util.concurrent.Future>
+ futureSupplier =
+ client.putFutureSupplier(
+ interceptedRequest,
+ interceptedRequest.getUpdateBdsCapacityReservationDetails(),
+ ib,
+ transformer);
+
+ if (this.authenticationDetailsProvider
+ instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) {
+ return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper<
+ UpdateBdsCapacityReservationRequest, UpdateBdsCapacityReservationResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
+ @Override
+ public java.util.concurrent.Future
+ updateBdsCapacityReservationConfiguration(
+ UpdateBdsCapacityReservationConfigurationRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ UpdateBdsCapacityReservationConfigurationRequest,
+ UpdateBdsCapacityReservationConfigurationResponse>
+ handler) {
+ LOG.trace("Called async updateBdsCapacityReservationConfiguration");
+ final UpdateBdsCapacityReservationConfigurationRequest interceptedRequest =
+ UpdateBdsCapacityReservationConfigurationConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ UpdateBdsCapacityReservationConfigurationConverter.fromRequest(
+ client, interceptedRequest);
+ com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Bds",
+ "UpdateBdsCapacityReservationConfiguration",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsCapacityReservationConfiguration/UpdateBdsCapacityReservationConfiguration");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ UpdateBdsCapacityReservationConfigurationResponse>
+ transformer =
+ UpdateBdsCapacityReservationConfigurationConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ com.oracle.bmc.responses.AsyncHandler<
+ UpdateBdsCapacityReservationConfigurationRequest,
+ UpdateBdsCapacityReservationConfigurationResponse>
+ handlerToUse = handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ UpdateBdsCapacityReservationConfigurationRequest,
+ UpdateBdsCapacityReservationConfigurationResponse>,
+ java.util.concurrent.Future<
+ UpdateBdsCapacityReservationConfigurationResponse>>
+ futureSupplier =
+ client.putFutureSupplier(
+ interceptedRequest,
+ interceptedRequest
+ .getUpdateBdsCapacityReservationConfigurationDetails(),
+ ib,
+ transformer);
+
+ if (this.authenticationDetailsProvider
+ instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) {
+ return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper<
+ UpdateBdsCapacityReservationConfigurationRequest,
+ UpdateBdsCapacityReservationConfigurationResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
@Override
public java.util.concurrent.Future updateBdsInstance(
UpdateBdsInstanceRequest request,
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/BdsClient.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/BdsClient.java
index 1fccf2b9684..6045f2f5c5c 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/BdsClient.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/BdsClient.java
@@ -558,6 +558,50 @@ public void close() {
client.close();
}
+ @Override
+ public ActivateBdsCapacityReservationConfigurationResponse
+ activateBdsCapacityReservationConfiguration(
+ ActivateBdsCapacityReservationConfigurationRequest request) {
+ LOG.trace("Called activateBdsCapacityReservationConfiguration");
+ final ActivateBdsCapacityReservationConfigurationRequest interceptedRequest =
+ ActivateBdsCapacityReservationConfigurationConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ ActivateBdsCapacityReservationConfigurationConverter.fromRequest(
+ client, interceptedRequest);
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration, false);
+ com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib);
+ com.oracle.bmc.http.internal.RetryUtils.setClientRetriesHeader(ib, retrier);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Bds",
+ "ActivateBdsCapacityReservationConfiguration",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsCapacityReservationConfiguration/ActivateBdsCapacityReservationConfiguration");
+ java.util.function.Function<
+ javax.ws.rs.core.Response,
+ ActivateBdsCapacityReservationConfigurationResponse>
+ transformer =
+ ActivateBdsCapacityReservationConfigurationConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ return retrier.execute(
+ interceptedRequest,
+ retryRequest -> {
+ final com.oracle.bmc.retrier.TokenRefreshRetrier tokenRefreshRetrier =
+ new com.oracle.bmc.retrier.TokenRefreshRetrier(
+ authenticationDetailsProvider);
+ return tokenRefreshRetrier.execute(
+ retryRequest,
+ retriedRequest -> {
+ javax.ws.rs.core.Response response =
+ client.post(ib, retriedRequest);
+ return transformer.apply(response);
+ });
+ });
+ }
+
@Override
public ActivateBdsMetastoreConfigurationResponse activateBdsMetastoreConfiguration(
ActivateBdsMetastoreConfigurationRequest request) {
@@ -1104,6 +1148,52 @@ public CertificateServiceInfoResponse certificateServiceInfo(
});
}
+ @Override
+ public ChangeBdsCapacityReservationCompartmentResponse changeBdsCapacityReservationCompartment(
+ ChangeBdsCapacityReservationCompartmentRequest request) {
+ LOG.trace("Called changeBdsCapacityReservationCompartment");
+ final ChangeBdsCapacityReservationCompartmentRequest interceptedRequest =
+ ChangeBdsCapacityReservationCompartmentConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ ChangeBdsCapacityReservationCompartmentConverter.fromRequest(
+ client, interceptedRequest);
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration, false);
+ com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib);
+ com.oracle.bmc.http.internal.RetryUtils.setClientRetriesHeader(ib, retrier);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Bds",
+ "ChangeBdsCapacityReservationCompartment",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsCapacityReservation/ChangeBdsCapacityReservationCompartment");
+ java.util.function.Function<
+ javax.ws.rs.core.Response, ChangeBdsCapacityReservationCompartmentResponse>
+ transformer =
+ ChangeBdsCapacityReservationCompartmentConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ return retrier.execute(
+ interceptedRequest,
+ retryRequest -> {
+ final com.oracle.bmc.retrier.TokenRefreshRetrier tokenRefreshRetrier =
+ new com.oracle.bmc.retrier.TokenRefreshRetrier(
+ authenticationDetailsProvider);
+ return tokenRefreshRetrier.execute(
+ retryRequest,
+ retriedRequest -> {
+ javax.ws.rs.core.Response response =
+ client.post(
+ ib,
+ retriedRequest
+ .getChangeBdsCapacityReservationCompartmentDetails(),
+ retriedRequest);
+ return transformer.apply(response);
+ });
+ });
+ }
+
@Override
public ChangeBdsInstanceCompartmentResponse changeBdsInstanceCompartment(
ChangeBdsInstanceCompartmentRequest request) {
@@ -1273,6 +1363,98 @@ public CreateBdsCapacityReportResponse createBdsCapacityReport(
});
}
+ @Override
+ public CreateBdsCapacityReservationResponse createBdsCapacityReservation(
+ CreateBdsCapacityReservationRequest request) {
+ LOG.trace("Called createBdsCapacityReservation");
+ final CreateBdsCapacityReservationRequest interceptedRequest =
+ CreateBdsCapacityReservationConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ CreateBdsCapacityReservationConverter.fromRequest(client, interceptedRequest);
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration, false);
+ com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib);
+ com.oracle.bmc.http.internal.RetryUtils.setClientRetriesHeader(ib, retrier);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Bds",
+ "CreateBdsCapacityReservation",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsCapacityReservation/CreateBdsCapacityReservation");
+ java.util.function.Function
+ transformer =
+ CreateBdsCapacityReservationConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ return retrier.execute(
+ interceptedRequest,
+ retryRequest -> {
+ final com.oracle.bmc.retrier.TokenRefreshRetrier tokenRefreshRetrier =
+ new com.oracle.bmc.retrier.TokenRefreshRetrier(
+ authenticationDetailsProvider);
+ return tokenRefreshRetrier.execute(
+ retryRequest,
+ retriedRequest -> {
+ javax.ws.rs.core.Response response =
+ client.post(
+ ib,
+ retriedRequest
+ .getCreateBdsCapacityReservationDetails(),
+ retriedRequest);
+ return transformer.apply(response);
+ });
+ });
+ }
+
+ @Override
+ public CreateBdsCapacityReservationConfigurationResponse
+ createBdsCapacityReservationConfiguration(
+ CreateBdsCapacityReservationConfigurationRequest request) {
+ LOG.trace("Called createBdsCapacityReservationConfiguration");
+ final CreateBdsCapacityReservationConfigurationRequest interceptedRequest =
+ CreateBdsCapacityReservationConfigurationConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ CreateBdsCapacityReservationConfigurationConverter.fromRequest(
+ client, interceptedRequest);
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration, false);
+ com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib);
+ com.oracle.bmc.http.internal.RetryUtils.setClientRetriesHeader(ib, retrier);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Bds",
+ "CreateBdsCapacityReservationConfiguration",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsCapacityReservationConfiguration/CreateBdsCapacityReservationConfiguration");
+ java.util.function.Function<
+ javax.ws.rs.core.Response,
+ CreateBdsCapacityReservationConfigurationResponse>
+ transformer =
+ CreateBdsCapacityReservationConfigurationConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ return retrier.execute(
+ interceptedRequest,
+ retryRequest -> {
+ final com.oracle.bmc.retrier.TokenRefreshRetrier tokenRefreshRetrier =
+ new com.oracle.bmc.retrier.TokenRefreshRetrier(
+ authenticationDetailsProvider);
+ return tokenRefreshRetrier.execute(
+ retryRequest,
+ retriedRequest -> {
+ javax.ws.rs.core.Response response =
+ client.post(
+ ib,
+ retriedRequest
+ .getCreateBdsCapacityReservationConfigurationDetails(),
+ retriedRequest);
+ return transformer.apply(response);
+ });
+ });
+ }
+
@Override
public CreateBdsCertificateConfigurationResponse createBdsCertificateConfiguration(
CreateBdsCertificateConfigurationRequest request) {
@@ -1585,6 +1767,50 @@ public CreateResourcePrincipalConfigurationResponse createResourcePrincipalConfi
});
}
+ @Override
+ public DeactivateBdsCapacityReservationConfigurationResponse
+ deactivateBdsCapacityReservationConfiguration(
+ DeactivateBdsCapacityReservationConfigurationRequest request) {
+ LOG.trace("Called deactivateBdsCapacityReservationConfiguration");
+ final DeactivateBdsCapacityReservationConfigurationRequest interceptedRequest =
+ DeactivateBdsCapacityReservationConfigurationConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ DeactivateBdsCapacityReservationConfigurationConverter.fromRequest(
+ client, interceptedRequest);
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration, false);
+ com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib);
+ com.oracle.bmc.http.internal.RetryUtils.setClientRetriesHeader(ib, retrier);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Bds",
+ "DeactivateBdsCapacityReservationConfiguration",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsCapacityReservationConfiguration/DeactivateBdsCapacityReservationConfiguration");
+ java.util.function.Function<
+ javax.ws.rs.core.Response,
+ DeactivateBdsCapacityReservationConfigurationResponse>
+ transformer =
+ DeactivateBdsCapacityReservationConfigurationConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ return retrier.execute(
+ interceptedRequest,
+ retryRequest -> {
+ final com.oracle.bmc.retrier.TokenRefreshRetrier tokenRefreshRetrier =
+ new com.oracle.bmc.retrier.TokenRefreshRetrier(
+ authenticationDetailsProvider);
+ return tokenRefreshRetrier.execute(
+ retryRequest,
+ retriedRequest -> {
+ javax.ws.rs.core.Response response =
+ client.post(ib, retriedRequest);
+ return transformer.apply(response);
+ });
+ });
+ }
+
@Override
public DeactivateIamUserSyncConfigurationResponse deactivateIamUserSyncConfiguration(
DeactivateIamUserSyncConfigurationRequest request) {
@@ -1712,6 +1938,88 @@ public DeleteBdsApiKeyResponse deleteBdsApiKey(DeleteBdsApiKeyRequest request) {
});
}
+ @Override
+ public DeleteBdsCapacityReservationResponse deleteBdsCapacityReservation(
+ DeleteBdsCapacityReservationRequest request) {
+ LOG.trace("Called deleteBdsCapacityReservation");
+ final DeleteBdsCapacityReservationRequest interceptedRequest =
+ DeleteBdsCapacityReservationConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ DeleteBdsCapacityReservationConverter.fromRequest(client, interceptedRequest);
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration, false);
+ com.oracle.bmc.http.internal.RetryUtils.setClientRetriesHeader(ib, retrier);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Bds",
+ "DeleteBdsCapacityReservation",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsCapacityReservation/DeleteBdsCapacityReservation");
+ java.util.function.Function
+ transformer =
+ DeleteBdsCapacityReservationConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ return retrier.execute(
+ interceptedRequest,
+ retryRequest -> {
+ final com.oracle.bmc.retrier.TokenRefreshRetrier tokenRefreshRetrier =
+ new com.oracle.bmc.retrier.TokenRefreshRetrier(
+ authenticationDetailsProvider);
+ return tokenRefreshRetrier.execute(
+ retryRequest,
+ retriedRequest -> {
+ javax.ws.rs.core.Response response =
+ client.delete(ib, retriedRequest);
+ return transformer.apply(response);
+ });
+ });
+ }
+
+ @Override
+ public DeleteBdsCapacityReservationConfigurationResponse
+ deleteBdsCapacityReservationConfiguration(
+ DeleteBdsCapacityReservationConfigurationRequest request) {
+ LOG.trace("Called deleteBdsCapacityReservationConfiguration");
+ final DeleteBdsCapacityReservationConfigurationRequest interceptedRequest =
+ DeleteBdsCapacityReservationConfigurationConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ DeleteBdsCapacityReservationConfigurationConverter.fromRequest(
+ client, interceptedRequest);
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration, false);
+ com.oracle.bmc.http.internal.RetryUtils.setClientRetriesHeader(ib, retrier);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Bds",
+ "DeleteBdsCapacityReservationConfiguration",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsCapacityReservationConfiguration/DeleteBdsCapacityReservationConfiguration");
+ java.util.function.Function<
+ javax.ws.rs.core.Response,
+ DeleteBdsCapacityReservationConfigurationResponse>
+ transformer =
+ DeleteBdsCapacityReservationConfigurationConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ return retrier.execute(
+ interceptedRequest,
+ retryRequest -> {
+ final com.oracle.bmc.retrier.TokenRefreshRetrier tokenRefreshRetrier =
+ new com.oracle.bmc.retrier.TokenRefreshRetrier(
+ authenticationDetailsProvider);
+ return tokenRefreshRetrier.execute(
+ retryRequest,
+ retriedRequest -> {
+ javax.ws.rs.core.Response response =
+ client.delete(ib, retriedRequest);
+ return transformer.apply(response);
+ });
+ });
+ }
+
@Override
public DeleteBdsCertificateConfigurationResponse deleteBdsCertificateConfiguration(
DeleteBdsCertificateConfigurationRequest request) {
@@ -2236,6 +2544,84 @@ public GetBdsApiKeyResponse getBdsApiKey(GetBdsApiKeyRequest request) {
});
}
+ @Override
+ public GetBdsCapacityReservationResponse getBdsCapacityReservation(
+ GetBdsCapacityReservationRequest request) {
+ LOG.trace("Called getBdsCapacityReservation");
+ final GetBdsCapacityReservationRequest interceptedRequest =
+ GetBdsCapacityReservationConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ GetBdsCapacityReservationConverter.fromRequest(client, interceptedRequest);
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration, false);
+ com.oracle.bmc.http.internal.RetryUtils.setClientRetriesHeader(ib, retrier);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Bds",
+ "GetBdsCapacityReservation",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsCapacityReservation/GetBdsCapacityReservation");
+ java.util.function.Function
+ transformer =
+ GetBdsCapacityReservationConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ return retrier.execute(
+ interceptedRequest,
+ retryRequest -> {
+ final com.oracle.bmc.retrier.TokenRefreshRetrier tokenRefreshRetrier =
+ new com.oracle.bmc.retrier.TokenRefreshRetrier(
+ authenticationDetailsProvider);
+ return tokenRefreshRetrier.execute(
+ retryRequest,
+ retriedRequest -> {
+ javax.ws.rs.core.Response response = client.get(ib, retriedRequest);
+ return transformer.apply(response);
+ });
+ });
+ }
+
+ @Override
+ public GetBdsCapacityReservationConfigurationResponse getBdsCapacityReservationConfiguration(
+ GetBdsCapacityReservationConfigurationRequest request) {
+ LOG.trace("Called getBdsCapacityReservationConfiguration");
+ final GetBdsCapacityReservationConfigurationRequest interceptedRequest =
+ GetBdsCapacityReservationConfigurationConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ GetBdsCapacityReservationConfigurationConverter.fromRequest(
+ client, interceptedRequest);
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration, false);
+ com.oracle.bmc.http.internal.RetryUtils.setClientRetriesHeader(ib, retrier);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Bds",
+ "GetBdsCapacityReservationConfiguration",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsCapacityReservationConfiguration/GetBdsCapacityReservationConfiguration");
+ java.util.function.Function<
+ javax.ws.rs.core.Response, GetBdsCapacityReservationConfigurationResponse>
+ transformer =
+ GetBdsCapacityReservationConfigurationConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ return retrier.execute(
+ interceptedRequest,
+ retryRequest -> {
+ final com.oracle.bmc.retrier.TokenRefreshRetrier tokenRefreshRetrier =
+ new com.oracle.bmc.retrier.TokenRefreshRetrier(
+ authenticationDetailsProvider);
+ return tokenRefreshRetrier.execute(
+ retryRequest,
+ retriedRequest -> {
+ javax.ws.rs.core.Response response = client.get(ib, retriedRequest);
+ return transformer.apply(response);
+ });
+ });
+ }
+
@Override
public GetBdsCertificateConfigurationResponse getBdsCertificateConfiguration(
GetBdsCertificateConfigurationRequest request) {
@@ -2845,6 +3231,128 @@ public ListBdsApiKeysResponse listBdsApiKeys(ListBdsApiKeysRequest request) {
});
}
+ @Override
+ public ListBdsCapacityReservationAssociatedConfigurationsResponse
+ listBdsCapacityReservationAssociatedConfigurations(
+ ListBdsCapacityReservationAssociatedConfigurationsRequest request) {
+ LOG.trace("Called listBdsCapacityReservationAssociatedConfigurations");
+ final ListBdsCapacityReservationAssociatedConfigurationsRequest interceptedRequest =
+ ListBdsCapacityReservationAssociatedConfigurationsConverter.interceptRequest(
+ request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ ListBdsCapacityReservationAssociatedConfigurationsConverter.fromRequest(
+ client, interceptedRequest);
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration, false);
+ com.oracle.bmc.http.internal.RetryUtils.setClientRetriesHeader(ib, retrier);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Bds",
+ "ListBdsCapacityReservationAssociatedConfigurations",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsCapacityReservationConfiguration/ListBdsCapacityReservationAssociatedConfigurations");
+ java.util.function.Function<
+ javax.ws.rs.core.Response,
+ ListBdsCapacityReservationAssociatedConfigurationsResponse>
+ transformer =
+ ListBdsCapacityReservationAssociatedConfigurationsConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ return retrier.execute(
+ interceptedRequest,
+ retryRequest -> {
+ final com.oracle.bmc.retrier.TokenRefreshRetrier tokenRefreshRetrier =
+ new com.oracle.bmc.retrier.TokenRefreshRetrier(
+ authenticationDetailsProvider);
+ return tokenRefreshRetrier.execute(
+ retryRequest,
+ retriedRequest -> {
+ javax.ws.rs.core.Response response = client.get(ib, retriedRequest);
+ return transformer.apply(response);
+ });
+ });
+ }
+
+ @Override
+ public ListBdsCapacityReservationConfigurationsResponse
+ listBdsCapacityReservationConfigurations(
+ ListBdsCapacityReservationConfigurationsRequest request) {
+ LOG.trace("Called listBdsCapacityReservationConfigurations");
+ final ListBdsCapacityReservationConfigurationsRequest interceptedRequest =
+ ListBdsCapacityReservationConfigurationsConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ ListBdsCapacityReservationConfigurationsConverter.fromRequest(
+ client, interceptedRequest);
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration, false);
+ com.oracle.bmc.http.internal.RetryUtils.setClientRetriesHeader(ib, retrier);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Bds",
+ "ListBdsCapacityReservationConfigurations",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsCapacityReservationConfiguration/ListBdsCapacityReservationConfigurations");
+ java.util.function.Function<
+ javax.ws.rs.core.Response, ListBdsCapacityReservationConfigurationsResponse>
+ transformer =
+ ListBdsCapacityReservationConfigurationsConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ return retrier.execute(
+ interceptedRequest,
+ retryRequest -> {
+ final com.oracle.bmc.retrier.TokenRefreshRetrier tokenRefreshRetrier =
+ new com.oracle.bmc.retrier.TokenRefreshRetrier(
+ authenticationDetailsProvider);
+ return tokenRefreshRetrier.execute(
+ retryRequest,
+ retriedRequest -> {
+ javax.ws.rs.core.Response response = client.get(ib, retriedRequest);
+ return transformer.apply(response);
+ });
+ });
+ }
+
+ @Override
+ public ListBdsCapacityReservationsResponse listBdsCapacityReservations(
+ ListBdsCapacityReservationsRequest request) {
+ LOG.trace("Called listBdsCapacityReservations");
+ final ListBdsCapacityReservationsRequest interceptedRequest =
+ ListBdsCapacityReservationsConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ ListBdsCapacityReservationsConverter.fromRequest(client, interceptedRequest);
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration, false);
+ com.oracle.bmc.http.internal.RetryUtils.setClientRetriesHeader(ib, retrier);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Bds",
+ "ListBdsCapacityReservations",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsCapacityReservation/ListBdsCapacityReservations");
+ java.util.function.Function
+ transformer =
+ ListBdsCapacityReservationsConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ return retrier.execute(
+ interceptedRequest,
+ retryRequest -> {
+ final com.oracle.bmc.retrier.TokenRefreshRetrier tokenRefreshRetrier =
+ new com.oracle.bmc.retrier.TokenRefreshRetrier(
+ authenticationDetailsProvider);
+ return tokenRefreshRetrier.execute(
+ retryRequest,
+ retriedRequest -> {
+ javax.ws.rs.core.Response response = client.get(ib, retriedRequest);
+ return transformer.apply(response);
+ });
+ });
+ }
+
@Override
public ListBdsCertificateConfigurationsResponse listBdsCertificateConfigurations(
ListBdsCertificateConfigurationsRequest request) {
@@ -4257,6 +4765,98 @@ public UpdateAutoScalingConfigurationResponse updateAutoScalingConfiguration(
});
}
+ @Override
+ public UpdateBdsCapacityReservationResponse updateBdsCapacityReservation(
+ UpdateBdsCapacityReservationRequest request) {
+ LOG.trace("Called updateBdsCapacityReservation");
+ final UpdateBdsCapacityReservationRequest interceptedRequest =
+ UpdateBdsCapacityReservationConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ UpdateBdsCapacityReservationConverter.fromRequest(client, interceptedRequest);
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration, false);
+ com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib);
+ com.oracle.bmc.http.internal.RetryUtils.setClientRetriesHeader(ib, retrier);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Bds",
+ "UpdateBdsCapacityReservation",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsCapacityReservation/UpdateBdsCapacityReservation");
+ java.util.function.Function
+ transformer =
+ UpdateBdsCapacityReservationConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ return retrier.execute(
+ interceptedRequest,
+ retryRequest -> {
+ final com.oracle.bmc.retrier.TokenRefreshRetrier tokenRefreshRetrier =
+ new com.oracle.bmc.retrier.TokenRefreshRetrier(
+ authenticationDetailsProvider);
+ return tokenRefreshRetrier.execute(
+ retryRequest,
+ retriedRequest -> {
+ javax.ws.rs.core.Response response =
+ client.put(
+ ib,
+ retriedRequest
+ .getUpdateBdsCapacityReservationDetails(),
+ retriedRequest);
+ return transformer.apply(response);
+ });
+ });
+ }
+
+ @Override
+ public UpdateBdsCapacityReservationConfigurationResponse
+ updateBdsCapacityReservationConfiguration(
+ UpdateBdsCapacityReservationConfigurationRequest request) {
+ LOG.trace("Called updateBdsCapacityReservationConfiguration");
+ final UpdateBdsCapacityReservationConfigurationRequest interceptedRequest =
+ UpdateBdsCapacityReservationConfigurationConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ UpdateBdsCapacityReservationConfigurationConverter.fromRequest(
+ client, interceptedRequest);
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration, false);
+ com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib);
+ com.oracle.bmc.http.internal.RetryUtils.setClientRetriesHeader(ib, retrier);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Bds",
+ "UpdateBdsCapacityReservationConfiguration",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsCapacityReservationConfiguration/UpdateBdsCapacityReservationConfiguration");
+ java.util.function.Function<
+ javax.ws.rs.core.Response,
+ UpdateBdsCapacityReservationConfigurationResponse>
+ transformer =
+ UpdateBdsCapacityReservationConfigurationConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ return retrier.execute(
+ interceptedRequest,
+ retryRequest -> {
+ final com.oracle.bmc.retrier.TokenRefreshRetrier tokenRefreshRetrier =
+ new com.oracle.bmc.retrier.TokenRefreshRetrier(
+ authenticationDetailsProvider);
+ return tokenRefreshRetrier.execute(
+ retryRequest,
+ retriedRequest -> {
+ javax.ws.rs.core.Response response =
+ client.put(
+ ib,
+ retriedRequest
+ .getUpdateBdsCapacityReservationConfigurationDetails(),
+ retriedRequest);
+ return transformer.apply(response);
+ });
+ });
+ }
+
@Override
public UpdateBdsInstanceResponse updateBdsInstance(UpdateBdsInstanceRequest request) {
LOG.trace("Called updateBdsInstance");
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/BdsPaginators.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/BdsPaginators.java
index d9963bb92bb..1c9481aa1ff 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/BdsPaginators.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/BdsPaginators.java
@@ -264,6 +264,396 @@ public java.util.List apply(
});
}
+ /**
+ * Creates a new iterable which will iterate over the responses received from the listBdsCapacityReservationAssociatedConfigurations 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
+ listBdsCapacityReservationAssociatedConfigurationsResponseIterator(
+ final ListBdsCapacityReservationAssociatedConfigurationsRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseIterable<
+ ListBdsCapacityReservationAssociatedConfigurationsRequest.Builder,
+ ListBdsCapacityReservationAssociatedConfigurationsRequest,
+ ListBdsCapacityReservationAssociatedConfigurationsResponse>(
+ new java.util.function.Supplier<
+ ListBdsCapacityReservationAssociatedConfigurationsRequest.Builder>() {
+ @Override
+ public ListBdsCapacityReservationAssociatedConfigurationsRequest.Builder get() {
+ return ListBdsCapacityReservationAssociatedConfigurationsRequest.builder()
+ .copy(request);
+ }
+ },
+ new java.util.function.Function<
+ ListBdsCapacityReservationAssociatedConfigurationsResponse, String>() {
+ @Override
+ public String apply(
+ ListBdsCapacityReservationAssociatedConfigurationsResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListBdsCapacityReservationAssociatedConfigurationsRequest.Builder>,
+ ListBdsCapacityReservationAssociatedConfigurationsRequest>() {
+ @Override
+ public ListBdsCapacityReservationAssociatedConfigurationsRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListBdsCapacityReservationAssociatedConfigurationsRequest
+ .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<
+ ListBdsCapacityReservationAssociatedConfigurationsRequest,
+ ListBdsCapacityReservationAssociatedConfigurationsResponse>() {
+ @Override
+ public ListBdsCapacityReservationAssociatedConfigurationsResponse apply(
+ ListBdsCapacityReservationAssociatedConfigurationsRequest request) {
+ return client.listBdsCapacityReservationAssociatedConfigurations(request);
+ }
+ });
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the {@link com.oracle.bmc.bds.model.BdsCapacityReservationAssociatedConfigurationSummary} objects
+ * contained in responses from the listBdsCapacityReservationAssociatedConfigurations 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.bds.model.BdsCapacityReservationAssociatedConfigurationSummary} objects
+ * contained in responses received from the service.
+ */
+ public Iterable
+ listBdsCapacityReservationAssociatedConfigurationsRecordIterator(
+ final ListBdsCapacityReservationAssociatedConfigurationsRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseRecordIterable<
+ ListBdsCapacityReservationAssociatedConfigurationsRequest.Builder,
+ ListBdsCapacityReservationAssociatedConfigurationsRequest,
+ ListBdsCapacityReservationAssociatedConfigurationsResponse,
+ com.oracle.bmc.bds.model.BdsCapacityReservationAssociatedConfigurationSummary>(
+ new java.util.function.Supplier<
+ ListBdsCapacityReservationAssociatedConfigurationsRequest.Builder>() {
+ @Override
+ public ListBdsCapacityReservationAssociatedConfigurationsRequest.Builder get() {
+ return ListBdsCapacityReservationAssociatedConfigurationsRequest.builder()
+ .copy(request);
+ }
+ },
+ new java.util.function.Function<
+ ListBdsCapacityReservationAssociatedConfigurationsResponse, String>() {
+ @Override
+ public String apply(
+ ListBdsCapacityReservationAssociatedConfigurationsResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListBdsCapacityReservationAssociatedConfigurationsRequest.Builder>,
+ ListBdsCapacityReservationAssociatedConfigurationsRequest>() {
+ @Override
+ public ListBdsCapacityReservationAssociatedConfigurationsRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListBdsCapacityReservationAssociatedConfigurationsRequest
+ .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<
+ ListBdsCapacityReservationAssociatedConfigurationsRequest,
+ ListBdsCapacityReservationAssociatedConfigurationsResponse>() {
+ @Override
+ public ListBdsCapacityReservationAssociatedConfigurationsResponse apply(
+ ListBdsCapacityReservationAssociatedConfigurationsRequest request) {
+ return client.listBdsCapacityReservationAssociatedConfigurations(request);
+ }
+ },
+ new java.util.function.Function<
+ ListBdsCapacityReservationAssociatedConfigurationsResponse,
+ java.util.List<
+ com.oracle.bmc.bds.model
+ .BdsCapacityReservationAssociatedConfigurationSummary>>() {
+ @Override
+ public java.util.List<
+ com.oracle.bmc.bds.model
+ .BdsCapacityReservationAssociatedConfigurationSummary>
+ apply(
+ ListBdsCapacityReservationAssociatedConfigurationsResponse
+ response) {
+ return response.getBdsCapacityReservationAssociatedConfigurationCollection()
+ .getItems();
+ }
+ });
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the responses received from the listBdsCapacityReservationConfigurations 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
+ listBdsCapacityReservationConfigurationsResponseIterator(
+ final ListBdsCapacityReservationConfigurationsRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseIterable<
+ ListBdsCapacityReservationConfigurationsRequest.Builder,
+ ListBdsCapacityReservationConfigurationsRequest,
+ ListBdsCapacityReservationConfigurationsResponse>(
+ new java.util.function.Supplier<
+ ListBdsCapacityReservationConfigurationsRequest.Builder>() {
+ @Override
+ public ListBdsCapacityReservationConfigurationsRequest.Builder get() {
+ return ListBdsCapacityReservationConfigurationsRequest.builder()
+ .copy(request);
+ }
+ },
+ new java.util.function.Function<
+ ListBdsCapacityReservationConfigurationsResponse, String>() {
+ @Override
+ public String apply(ListBdsCapacityReservationConfigurationsResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListBdsCapacityReservationConfigurationsRequest.Builder>,
+ ListBdsCapacityReservationConfigurationsRequest>() {
+ @Override
+ public ListBdsCapacityReservationConfigurationsRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListBdsCapacityReservationConfigurationsRequest.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<
+ ListBdsCapacityReservationConfigurationsRequest,
+ ListBdsCapacityReservationConfigurationsResponse>() {
+ @Override
+ public ListBdsCapacityReservationConfigurationsResponse apply(
+ ListBdsCapacityReservationConfigurationsRequest request) {
+ return client.listBdsCapacityReservationConfigurations(request);
+ }
+ });
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the {@link com.oracle.bmc.bds.model.BdsCapacityReservationConfigurationSummary} objects
+ * contained in responses from the listBdsCapacityReservationConfigurations 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.bds.model.BdsCapacityReservationConfigurationSummary} objects
+ * contained in responses received from the service.
+ */
+ public Iterable
+ listBdsCapacityReservationConfigurationsRecordIterator(
+ final ListBdsCapacityReservationConfigurationsRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseRecordIterable<
+ ListBdsCapacityReservationConfigurationsRequest.Builder,
+ ListBdsCapacityReservationConfigurationsRequest,
+ ListBdsCapacityReservationConfigurationsResponse,
+ com.oracle.bmc.bds.model.BdsCapacityReservationConfigurationSummary>(
+ new java.util.function.Supplier<
+ ListBdsCapacityReservationConfigurationsRequest.Builder>() {
+ @Override
+ public ListBdsCapacityReservationConfigurationsRequest.Builder get() {
+ return ListBdsCapacityReservationConfigurationsRequest.builder()
+ .copy(request);
+ }
+ },
+ new java.util.function.Function<
+ ListBdsCapacityReservationConfigurationsResponse, String>() {
+ @Override
+ public String apply(ListBdsCapacityReservationConfigurationsResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListBdsCapacityReservationConfigurationsRequest.Builder>,
+ ListBdsCapacityReservationConfigurationsRequest>() {
+ @Override
+ public ListBdsCapacityReservationConfigurationsRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListBdsCapacityReservationConfigurationsRequest.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<
+ ListBdsCapacityReservationConfigurationsRequest,
+ ListBdsCapacityReservationConfigurationsResponse>() {
+ @Override
+ public ListBdsCapacityReservationConfigurationsResponse apply(
+ ListBdsCapacityReservationConfigurationsRequest request) {
+ return client.listBdsCapacityReservationConfigurations(request);
+ }
+ },
+ new java.util.function.Function<
+ ListBdsCapacityReservationConfigurationsResponse,
+ java.util.List<
+ com.oracle.bmc.bds.model
+ .BdsCapacityReservationConfigurationSummary>>() {
+ @Override
+ public java.util.List<
+ com.oracle.bmc.bds.model
+ .BdsCapacityReservationConfigurationSummary>
+ apply(ListBdsCapacityReservationConfigurationsResponse response) {
+ return response.getBdsCapacityReservationConfigurationCollection()
+ .getItems();
+ }
+ });
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the responses received from the listBdsCapacityReservations 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
+ listBdsCapacityReservationsResponseIterator(
+ final ListBdsCapacityReservationsRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseIterable<
+ ListBdsCapacityReservationsRequest.Builder, ListBdsCapacityReservationsRequest,
+ ListBdsCapacityReservationsResponse>(
+ new java.util.function.Supplier() {
+ @Override
+ public ListBdsCapacityReservationsRequest.Builder get() {
+ return ListBdsCapacityReservationsRequest.builder().copy(request);
+ }
+ },
+ new java.util.function.Function() {
+ @Override
+ public String apply(ListBdsCapacityReservationsResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListBdsCapacityReservationsRequest.Builder>,
+ ListBdsCapacityReservationsRequest>() {
+ @Override
+ public ListBdsCapacityReservationsRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListBdsCapacityReservationsRequest.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<
+ ListBdsCapacityReservationsRequest, ListBdsCapacityReservationsResponse>() {
+ @Override
+ public ListBdsCapacityReservationsResponse apply(
+ ListBdsCapacityReservationsRequest request) {
+ return client.listBdsCapacityReservations(request);
+ }
+ });
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the {@link com.oracle.bmc.bds.model.BdsCapacityReservationSummary} objects
+ * contained in responses from the listBdsCapacityReservations 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.bds.model.BdsCapacityReservationSummary} objects
+ * contained in responses received from the service.
+ */
+ public Iterable
+ listBdsCapacityReservationsRecordIterator(
+ final ListBdsCapacityReservationsRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseRecordIterable<
+ ListBdsCapacityReservationsRequest.Builder, ListBdsCapacityReservationsRequest,
+ ListBdsCapacityReservationsResponse,
+ com.oracle.bmc.bds.model.BdsCapacityReservationSummary>(
+ new java.util.function.Supplier() {
+ @Override
+ public ListBdsCapacityReservationsRequest.Builder get() {
+ return ListBdsCapacityReservationsRequest.builder().copy(request);
+ }
+ },
+ new java.util.function.Function() {
+ @Override
+ public String apply(ListBdsCapacityReservationsResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListBdsCapacityReservationsRequest.Builder>,
+ ListBdsCapacityReservationsRequest>() {
+ @Override
+ public ListBdsCapacityReservationsRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListBdsCapacityReservationsRequest.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<
+ ListBdsCapacityReservationsRequest, ListBdsCapacityReservationsResponse>() {
+ @Override
+ public ListBdsCapacityReservationsResponse apply(
+ ListBdsCapacityReservationsRequest request) {
+ return client.listBdsCapacityReservations(request);
+ }
+ },
+ new java.util.function.Function<
+ ListBdsCapacityReservationsResponse,
+ java.util.List>() {
+ @Override
+ public java.util.List
+ apply(ListBdsCapacityReservationsResponse response) {
+ return response.getBdsCapacityReservationCollection().getItems();
+ }
+ });
+ }
+
/**
* Creates a new iterable which will iterate over the responses received from the listBdsCertificateConfigurations operation. This iterable
* will fetch more data from the server as needed.
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/BdsWaiters.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/BdsWaiters.java
index 4e4501e9667..b011b78e569 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/BdsWaiters.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/BdsWaiters.java
@@ -233,6 +233,240 @@ public boolean test(GetBdsApiKeyResponse response) {
request);
}
+ /**
+ * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration.
+ *
+ * @param request the request to send
+ * @param targetStates the desired states to wait for. If multiple states are provided then the waiter will return once the resource reaches any of the provided states
+ * @return a new {@code Waiter} instance
+ */
+ public com.oracle.bmc.waiter.Waiter<
+ GetBdsCapacityReservationRequest, GetBdsCapacityReservationResponse>
+ forBdsCapacityReservation(
+ GetBdsCapacityReservationRequest request,
+ com.oracle.bmc.bds.model.BdsCapacityReservation.LifecycleState...
+ targetStates) {
+ com.oracle.bmc.util.internal.Validate.notEmpty(
+ targetStates, "At least one targetState must be provided");
+ com.oracle.bmc.util.internal.Validate.noNullElements(
+ targetStates, "Null targetState values are not permitted");
+
+ return forBdsCapacityReservation(
+ com.oracle.bmc.waiter.Waiters.DEFAULT_POLLING_WAITER, request, targetStates);
+ }
+
+ /**
+ * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the provided configuration.
+ *
+ * @param request the request to send
+ * @param targetState the desired state to wait for
+ * @param terminationStrategy the {@link com.oracle.bmc.waiter.TerminationStrategy} to use
+ * @param delayStrategy the {@link com.oracle.bmc.waiter.DelayStrategy} to use
+ * @return a new {@code com.oracle.bmc.waiter.Waiter} instance
+ */
+ public com.oracle.bmc.waiter.Waiter<
+ GetBdsCapacityReservationRequest, GetBdsCapacityReservationResponse>
+ forBdsCapacityReservation(
+ GetBdsCapacityReservationRequest request,
+ com.oracle.bmc.bds.model.BdsCapacityReservation.LifecycleState targetState,
+ com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
+ com.oracle.bmc.waiter.DelayStrategy delayStrategy) {
+ com.oracle.bmc.util.internal.Validate.notNull(
+ targetState, "The targetState cannot be null");
+
+ return forBdsCapacityReservation(
+ com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
+ request,
+ targetState);
+ }
+
+ /**
+ * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the provided configuration.
+ *
+ * @param request the request to send
+ * @param terminationStrategy the {@link com.oracle.bmc.waiter.TerminationStrategy} to use
+ * @param delayStrategy the {@link com.oracle.bmc.waiter.DelayStrategy} to use
+ * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
+ * @return a new {@code com.oracle.bmc.waiter.Waiter} instance
+ */
+ public com.oracle.bmc.waiter.Waiter<
+ GetBdsCapacityReservationRequest, GetBdsCapacityReservationResponse>
+ forBdsCapacityReservation(
+ GetBdsCapacityReservationRequest request,
+ com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
+ com.oracle.bmc.waiter.DelayStrategy delayStrategy,
+ com.oracle.bmc.bds.model.BdsCapacityReservation.LifecycleState...
+ targetStates) {
+ com.oracle.bmc.util.internal.Validate.notEmpty(
+ targetStates, "At least one target state must be provided");
+ com.oracle.bmc.util.internal.Validate.noNullElements(
+ targetStates, "Null target states are not permitted");
+
+ return forBdsCapacityReservation(
+ com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
+ request,
+ targetStates);
+ }
+
+ // Helper method to create a new Waiter for BdsCapacityReservation.
+ private com.oracle.bmc.waiter.Waiter<
+ GetBdsCapacityReservationRequest, GetBdsCapacityReservationResponse>
+ forBdsCapacityReservation(
+ com.oracle.bmc.waiter.BmcGenericWaiter waiter,
+ final GetBdsCapacityReservationRequest request,
+ final com.oracle.bmc.bds.model.BdsCapacityReservation.LifecycleState...
+ targetStates) {
+ final java.util.Set
+ targetStatesSet = new java.util.HashSet<>(java.util.Arrays.asList(targetStates));
+
+ return new com.oracle.bmc.waiter.internal.SimpleWaiterImpl<>(
+ executorService,
+ waiter.toCallable(
+ () -> request,
+ new java.util.function.Function<
+ GetBdsCapacityReservationRequest,
+ GetBdsCapacityReservationResponse>() {
+ @Override
+ public GetBdsCapacityReservationResponse apply(
+ GetBdsCapacityReservationRequest request) {
+ return client.getBdsCapacityReservation(request);
+ }
+ },
+ new java.util.function.Predicate() {
+ @Override
+ public boolean test(GetBdsCapacityReservationResponse response) {
+ return targetStatesSet.contains(
+ response.getBdsCapacityReservation().getLifecycleState());
+ }
+ },
+ targetStatesSet.contains(
+ com.oracle.bmc.bds.model.BdsCapacityReservation.LifecycleState
+ .Deleted)),
+ request);
+ }
+
+ /**
+ * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration.
+ *
+ * @param request the request to send
+ * @param targetStates the desired states to wait for. If multiple states are provided then the waiter will return once the resource reaches any of the provided states
+ * @return a new {@code Waiter} instance
+ */
+ public com.oracle.bmc.waiter.Waiter<
+ GetBdsCapacityReservationConfigurationRequest,
+ GetBdsCapacityReservationConfigurationResponse>
+ forBdsCapacityReservationConfiguration(
+ GetBdsCapacityReservationConfigurationRequest request,
+ com.oracle.bmc.bds.model.BdsCapacityReservationConfiguration.LifecycleState...
+ targetStates) {
+ com.oracle.bmc.util.internal.Validate.notEmpty(
+ targetStates, "At least one targetState must be provided");
+ com.oracle.bmc.util.internal.Validate.noNullElements(
+ targetStates, "Null targetState values are not permitted");
+
+ return forBdsCapacityReservationConfiguration(
+ com.oracle.bmc.waiter.Waiters.DEFAULT_POLLING_WAITER, request, targetStates);
+ }
+
+ /**
+ * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the provided configuration.
+ *
+ * @param request the request to send
+ * @param targetState the desired state to wait for
+ * @param terminationStrategy the {@link com.oracle.bmc.waiter.TerminationStrategy} to use
+ * @param delayStrategy the {@link com.oracle.bmc.waiter.DelayStrategy} to use
+ * @return a new {@code com.oracle.bmc.waiter.Waiter} instance
+ */
+ public com.oracle.bmc.waiter.Waiter<
+ GetBdsCapacityReservationConfigurationRequest,
+ GetBdsCapacityReservationConfigurationResponse>
+ forBdsCapacityReservationConfiguration(
+ GetBdsCapacityReservationConfigurationRequest request,
+ com.oracle.bmc.bds.model.BdsCapacityReservationConfiguration.LifecycleState
+ targetState,
+ com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
+ com.oracle.bmc.waiter.DelayStrategy delayStrategy) {
+ com.oracle.bmc.util.internal.Validate.notNull(
+ targetState, "The targetState cannot be null");
+
+ return forBdsCapacityReservationConfiguration(
+ com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
+ request,
+ targetState);
+ }
+
+ /**
+ * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the provided configuration.
+ *
+ * @param request the request to send
+ * @param terminationStrategy the {@link com.oracle.bmc.waiter.TerminationStrategy} to use
+ * @param delayStrategy the {@link com.oracle.bmc.waiter.DelayStrategy} to use
+ * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
+ * @return a new {@code com.oracle.bmc.waiter.Waiter} instance
+ */
+ public com.oracle.bmc.waiter.Waiter<
+ GetBdsCapacityReservationConfigurationRequest,
+ GetBdsCapacityReservationConfigurationResponse>
+ forBdsCapacityReservationConfiguration(
+ GetBdsCapacityReservationConfigurationRequest request,
+ com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
+ com.oracle.bmc.waiter.DelayStrategy delayStrategy,
+ com.oracle.bmc.bds.model.BdsCapacityReservationConfiguration.LifecycleState...
+ targetStates) {
+ com.oracle.bmc.util.internal.Validate.notEmpty(
+ targetStates, "At least one target state must be provided");
+ com.oracle.bmc.util.internal.Validate.noNullElements(
+ targetStates, "Null target states are not permitted");
+
+ return forBdsCapacityReservationConfiguration(
+ com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
+ request,
+ targetStates);
+ }
+
+ // Helper method to create a new Waiter for BdsCapacityReservationConfiguration.
+ private com.oracle.bmc.waiter.Waiter<
+ GetBdsCapacityReservationConfigurationRequest,
+ GetBdsCapacityReservationConfigurationResponse>
+ forBdsCapacityReservationConfiguration(
+ com.oracle.bmc.waiter.BmcGenericWaiter waiter,
+ final GetBdsCapacityReservationConfigurationRequest request,
+ final com.oracle.bmc.bds.model.BdsCapacityReservationConfiguration
+ .LifecycleState...
+ targetStates) {
+ final java.util.Set<
+ com.oracle.bmc.bds.model.BdsCapacityReservationConfiguration.LifecycleState>
+ targetStatesSet = new java.util.HashSet<>(java.util.Arrays.asList(targetStates));
+
+ return new com.oracle.bmc.waiter.internal.SimpleWaiterImpl<>(
+ executorService,
+ waiter.toCallable(
+ () -> request,
+ new java.util.function.Function<
+ GetBdsCapacityReservationConfigurationRequest,
+ GetBdsCapacityReservationConfigurationResponse>() {
+ @Override
+ public GetBdsCapacityReservationConfigurationResponse apply(
+ GetBdsCapacityReservationConfigurationRequest request) {
+ return client.getBdsCapacityReservationConfiguration(request);
+ }
+ },
+ new java.util.function.Predicate<
+ GetBdsCapacityReservationConfigurationResponse>() {
+ @Override
+ public boolean test(
+ GetBdsCapacityReservationConfigurationResponse response) {
+ return targetStatesSet.contains(
+ response.getBdsCapacityReservationConfiguration()
+ .getLifecycleState());
+ }
+ },
+ targetStatesSet.contains(
+ com.oracle.bmc.bds.model.BdsCapacityReservationConfiguration
+ .LifecycleState.Deleted)),
+ request);
+ }
+
/**
* Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration.
*
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/internal/http/ActivateBdsCapacityReservationConfigurationConverter.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/internal/http/ActivateBdsCapacityReservationConfigurationConverter.java
new file mode 100644
index 00000000000..94108843cc9
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/internal/http/ActivateBdsCapacityReservationConfigurationConverter.java
@@ -0,0 +1,175 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.bds.model.*;
+import com.oracle.bmc.bds.requests.*;
+import com.oracle.bmc.bds.responses.*;
+import com.oracle.bmc.util.internal.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class ActivateBdsCapacityReservationConfigurationConverter {
+ private static final com.oracle.bmc.http.internal.ResponseConversionFunctionFactoryV2
+ RESPONSE_CONVERSION_FACTORY =
+ new com.oracle.bmc.http.internal.ResponseConversionFunctionFactoryV2();
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(
+ ActivateBdsCapacityReservationConfigurationConverter.class);
+
+ public static com.oracle.bmc.bds.requests.ActivateBdsCapacityReservationConfigurationRequest
+ interceptRequest(
+ com.oracle.bmc.bds.requests.ActivateBdsCapacityReservationConfigurationRequest
+ request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.bds.requests.ActivateBdsCapacityReservationConfigurationRequest
+ request) {
+ Validate.notNull(request, "request instance is required");
+ Validate.notBlank(request.getBdsInstanceId(), "bdsInstanceId must not be blank");
+ Validate.notBlank(
+ request.getBdsCapacityReservationConfigurationId(),
+ "bdsCapacityReservationConfigurationId must not be blank");
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget()
+ .path("/20190531")
+ .path("bdsInstances")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getBdsInstanceId()))
+ .path("bdsCapacityReservationConfigurations")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getBdsCapacityReservationConfigurationId()))
+ .path("actions")
+ .path("activate");
+
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
+
+ ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
+
+ if (request.getOpcRequestId() != null) {
+ ib.header("opc-request-id", request.getOpcRequestId());
+ }
+
+ if (request.getOpcRetryToken() != null) {
+ ib.header("opc-retry-token", request.getOpcRetryToken());
+ }
+
+ if (request.getIfMatch() != null) {
+ ib.header("if-match", request.getIfMatch());
+ }
+
+ if (client.getClientConfigurator() != null) {
+ client.getClientConfigurator().customizeRequest(request, ib);
+ }
+ return ib;
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses
+ .ActivateBdsCapacityReservationConfigurationResponse>
+ fromResponse() {
+ return fromResponse(java.util.Optional.empty());
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses
+ .ActivateBdsCapacityReservationConfigurationResponse>
+ fromResponse(java.util.Optional serviceDetails) {
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses
+ .ActivateBdsCapacityReservationConfigurationResponse>
+ transformer =
+ new java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses
+ .ActivateBdsCapacityReservationConfigurationResponse>() {
+ @Override
+ public com.oracle.bmc.bds.responses
+ .ActivateBdsCapacityReservationConfigurationResponse
+ apply(javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.bds.responses.ActivateBdsCapacityReservationConfigurationResponse");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.bds.model
+ .BdsCapacityReservationConfiguration>>
+ responseFn;
+ if (serviceDetails.isPresent()) {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.bds.model
+ .BdsCapacityReservationConfiguration
+ .class,
+ serviceDetails.get());
+ } else {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.bds.model
+ .BdsCapacityReservationConfiguration
+ .class);
+ }
+
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.bds.model
+ .BdsCapacityReservationConfiguration>
+ response = responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ com.oracle.bmc.bds.responses
+ .ActivateBdsCapacityReservationConfigurationResponse
+ .Builder
+ builder =
+ com.oracle.bmc.bds.responses
+ .ActivateBdsCapacityReservationConfigurationResponse
+ .builder()
+ .__httpStatusCode__(rawResponse.getStatus())
+ .headers(headers);
+
+ builder.bdsCapacityReservationConfiguration(response.getItem());
+
+ java.util.Optional> opcRequestIdHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.getHeadersWithName(
+ headers, "opc-request-id");
+ if (opcRequestIdHeader.isPresent()) {
+ builder.opcRequestId(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-request-id",
+ opcRequestIdHeader.get().get(0),
+ String.class));
+ }
+
+ java.util.Optional> etagHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.getHeadersWithName(
+ headers, "etag");
+ if (etagHeader.isPresent()) {
+ builder.etag(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "etag", etagHeader.get().get(0), String.class));
+ }
+
+ com.oracle.bmc.bds.responses
+ .ActivateBdsCapacityReservationConfigurationResponse
+ responseWrapper = builder.build();
+
+ ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse);
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/internal/http/ChangeBdsCapacityReservationCompartmentConverter.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/internal/http/ChangeBdsCapacityReservationCompartmentConverter.java
new file mode 100644
index 00000000000..c62e395023e
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/internal/http/ChangeBdsCapacityReservationCompartmentConverter.java
@@ -0,0 +1,148 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.bds.model.*;
+import com.oracle.bmc.bds.requests.*;
+import com.oracle.bmc.bds.responses.*;
+import com.oracle.bmc.util.internal.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class ChangeBdsCapacityReservationCompartmentConverter {
+ private static final com.oracle.bmc.http.internal.ResponseConversionFunctionFactoryV2
+ RESPONSE_CONVERSION_FACTORY =
+ new com.oracle.bmc.http.internal.ResponseConversionFunctionFactoryV2();
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(
+ ChangeBdsCapacityReservationCompartmentConverter.class);
+
+ public static com.oracle.bmc.bds.requests.ChangeBdsCapacityReservationCompartmentRequest
+ interceptRequest(
+ com.oracle.bmc.bds.requests.ChangeBdsCapacityReservationCompartmentRequest
+ request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.bds.requests.ChangeBdsCapacityReservationCompartmentRequest request) {
+ Validate.notNull(request, "request instance is required");
+ Validate.notBlank(
+ request.getBdsCapacityReservationId(),
+ "bdsCapacityReservationId must not be blank");
+ Validate.notNull(
+ request.getChangeBdsCapacityReservationCompartmentDetails(),
+ "changeBdsCapacityReservationCompartmentDetails is required");
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget()
+ .path("/20190531")
+ .path("bdsCapacityReservations")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getBdsCapacityReservationId()))
+ .path("actions")
+ .path("changeCompartment");
+
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
+
+ ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
+
+ if (request.getOpcRequestId() != null) {
+ ib.header("opc-request-id", request.getOpcRequestId());
+ }
+
+ if (request.getIfMatch() != null) {
+ ib.header("if-match", request.getIfMatch());
+ }
+
+ if (request.getOpcRetryToken() != null) {
+ ib.header("opc-retry-token", request.getOpcRetryToken());
+ }
+
+ if (client.getClientConfigurator() != null) {
+ client.getClientConfigurator().customizeRequest(request, ib);
+ }
+ return ib;
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses.ChangeBdsCapacityReservationCompartmentResponse>
+ fromResponse() {
+ return fromResponse(java.util.Optional.empty());
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses.ChangeBdsCapacityReservationCompartmentResponse>
+ fromResponse(java.util.Optional serviceDetails) {
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses
+ .ChangeBdsCapacityReservationCompartmentResponse>
+ transformer =
+ new java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses
+ .ChangeBdsCapacityReservationCompartmentResponse>() {
+ @Override
+ public com.oracle.bmc.bds.responses
+ .ChangeBdsCapacityReservationCompartmentResponse
+ apply(javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.bds.responses.ChangeBdsCapacityReservationCompartmentResponse");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders>
+ responseFn;
+ if (serviceDetails.isPresent()) {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ serviceDetails.get());
+ } else {
+ responseFn = RESPONSE_CONVERSION_FACTORY.create();
+ }
+
+ com.oracle.bmc.http.internal.WithHeaders response =
+ responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ com.oracle.bmc.bds.responses
+ .ChangeBdsCapacityReservationCompartmentResponse
+ .Builder
+ builder =
+ com.oracle.bmc.bds.responses
+ .ChangeBdsCapacityReservationCompartmentResponse
+ .builder()
+ .__httpStatusCode__(rawResponse.getStatus())
+ .headers(headers);
+
+ java.util.Optional> opcRequestIdHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.getHeadersWithName(
+ headers, "opc-request-id");
+ if (opcRequestIdHeader.isPresent()) {
+ builder.opcRequestId(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-request-id",
+ opcRequestIdHeader.get().get(0),
+ String.class));
+ }
+
+ com.oracle.bmc.bds.responses
+ .ChangeBdsCapacityReservationCompartmentResponse
+ responseWrapper = builder.build();
+
+ ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse);
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/internal/http/CreateBdsCapacityReservationConfigurationConverter.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/internal/http/CreateBdsCapacityReservationConfigurationConverter.java
new file mode 100644
index 00000000000..e44e8839897
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/internal/http/CreateBdsCapacityReservationConfigurationConverter.java
@@ -0,0 +1,196 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.bds.model.*;
+import com.oracle.bmc.bds.requests.*;
+import com.oracle.bmc.bds.responses.*;
+import com.oracle.bmc.util.internal.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class CreateBdsCapacityReservationConfigurationConverter {
+ private static final com.oracle.bmc.http.internal.ResponseConversionFunctionFactoryV2
+ RESPONSE_CONVERSION_FACTORY =
+ new com.oracle.bmc.http.internal.ResponseConversionFunctionFactoryV2();
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(
+ CreateBdsCapacityReservationConfigurationConverter.class);
+
+ public static com.oracle.bmc.bds.requests.CreateBdsCapacityReservationConfigurationRequest
+ interceptRequest(
+ com.oracle.bmc.bds.requests.CreateBdsCapacityReservationConfigurationRequest
+ request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.bds.requests.CreateBdsCapacityReservationConfigurationRequest request) {
+ Validate.notNull(request, "request instance is required");
+ Validate.notBlank(request.getBdsInstanceId(), "bdsInstanceId must not be blank");
+ Validate.notNull(
+ request.getCreateBdsCapacityReservationConfigurationDetails(),
+ "createBdsCapacityReservationConfigurationDetails is required");
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget()
+ .path("/20190531")
+ .path("bdsInstances")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getBdsInstanceId()))
+ .path("bdsCapacityReservationConfigurations");
+
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
+
+ ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
+
+ if (request.getOpcRequestId() != null) {
+ ib.header("opc-request-id", request.getOpcRequestId());
+ }
+
+ if (request.getOpcRetryToken() != null) {
+ ib.header("opc-retry-token", request.getOpcRetryToken());
+ }
+
+ if (client.getClientConfigurator() != null) {
+ client.getClientConfigurator().customizeRequest(request, ib);
+ }
+ return ib;
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses.CreateBdsCapacityReservationConfigurationResponse>
+ fromResponse() {
+ return fromResponse(java.util.Optional.empty());
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses.CreateBdsCapacityReservationConfigurationResponse>
+ fromResponse(java.util.Optional serviceDetails) {
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses
+ .CreateBdsCapacityReservationConfigurationResponse>
+ transformer =
+ new java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses
+ .CreateBdsCapacityReservationConfigurationResponse>() {
+ @Override
+ public com.oracle.bmc.bds.responses
+ .CreateBdsCapacityReservationConfigurationResponse
+ apply(javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.bds.responses.CreateBdsCapacityReservationConfigurationResponse");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.bds.model
+ .BdsCapacityReservationConfiguration>>
+ responseFn;
+ if (serviceDetails.isPresent()) {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.bds.model
+ .BdsCapacityReservationConfiguration
+ .class,
+ serviceDetails.get());
+ } else {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.bds.model
+ .BdsCapacityReservationConfiguration
+ .class);
+ }
+
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.bds.model
+ .BdsCapacityReservationConfiguration>
+ response = responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ com.oracle.bmc.bds.responses
+ .CreateBdsCapacityReservationConfigurationResponse
+ .Builder
+ builder =
+ com.oracle.bmc.bds.responses
+ .CreateBdsCapacityReservationConfigurationResponse
+ .builder()
+ .__httpStatusCode__(rawResponse.getStatus())
+ .headers(headers);
+
+ builder.bdsCapacityReservationConfiguration(response.getItem());
+
+ java.util.Optional> opcRequestIdHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.getHeadersWithName(
+ headers, "opc-request-id");
+ if (opcRequestIdHeader.isPresent()) {
+ builder.opcRequestId(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-request-id",
+ opcRequestIdHeader.get().get(0),
+ String.class));
+ }
+
+ java.util.Optional> opcWorkRequestIdHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.getHeadersWithName(
+ headers, "opc-work-request-id");
+ if (opcWorkRequestIdHeader.isPresent()) {
+ builder.opcWorkRequestId(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-work-request-id",
+ opcWorkRequestIdHeader.get().get(0),
+ String.class));
+ }
+
+ java.util.Optional> locationHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.getHeadersWithName(
+ headers, "location");
+ if (locationHeader.isPresent()) {
+ builder.location(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "location",
+ locationHeader.get().get(0),
+ String.class));
+ }
+
+ java.util.Optional> contentLocationHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.getHeadersWithName(
+ headers, "content-location");
+ if (contentLocationHeader.isPresent()) {
+ builder.contentLocation(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "content-location",
+ contentLocationHeader.get().get(0),
+ String.class));
+ }
+
+ java.util.Optional> etagHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.getHeadersWithName(
+ headers, "etag");
+ if (etagHeader.isPresent()) {
+ builder.etag(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "etag", etagHeader.get().get(0), String.class));
+ }
+
+ com.oracle.bmc.bds.responses
+ .CreateBdsCapacityReservationConfigurationResponse
+ responseWrapper = builder.build();
+
+ ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse);
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/internal/http/CreateBdsCapacityReservationConverter.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/internal/http/CreateBdsCapacityReservationConverter.java
new file mode 100644
index 00000000000..4e9cdc9c50d
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/internal/http/CreateBdsCapacityReservationConverter.java
@@ -0,0 +1,179 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.bds.model.*;
+import com.oracle.bmc.bds.requests.*;
+import com.oracle.bmc.bds.responses.*;
+import com.oracle.bmc.util.internal.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class CreateBdsCapacityReservationConverter {
+ private static final com.oracle.bmc.http.internal.ResponseConversionFunctionFactoryV2
+ RESPONSE_CONVERSION_FACTORY =
+ new com.oracle.bmc.http.internal.ResponseConversionFunctionFactoryV2();
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(CreateBdsCapacityReservationConverter.class);
+
+ public static com.oracle.bmc.bds.requests.CreateBdsCapacityReservationRequest interceptRequest(
+ com.oracle.bmc.bds.requests.CreateBdsCapacityReservationRequest request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.bds.requests.CreateBdsCapacityReservationRequest request) {
+ Validate.notNull(request, "request instance is required");
+ Validate.notNull(
+ request.getCreateBdsCapacityReservationDetails(),
+ "createBdsCapacityReservationDetails is required");
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget().path("/20190531").path("bdsCapacityReservations");
+
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
+
+ ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
+
+ if (request.getOpcRequestId() != null) {
+ ib.header("opc-request-id", request.getOpcRequestId());
+ }
+
+ if (request.getOpcRetryToken() != null) {
+ ib.header("opc-retry-token", request.getOpcRetryToken());
+ }
+
+ if (client.getClientConfigurator() != null) {
+ client.getClientConfigurator().customizeRequest(request, ib);
+ }
+ return ib;
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses.CreateBdsCapacityReservationResponse>
+ fromResponse() {
+ return fromResponse(java.util.Optional.empty());
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses.CreateBdsCapacityReservationResponse>
+ fromResponse(java.util.Optional serviceDetails) {
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses.CreateBdsCapacityReservationResponse>
+ transformer =
+ new java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses
+ .CreateBdsCapacityReservationResponse>() {
+ @Override
+ public com.oracle.bmc.bds.responses.CreateBdsCapacityReservationResponse
+ apply(javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.bds.responses.CreateBdsCapacityReservationResponse");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.bds.model
+ .BdsCapacityReservation>>
+ responseFn;
+ if (serviceDetails.isPresent()) {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.bds.model.BdsCapacityReservation
+ .class,
+ serviceDetails.get());
+ } else {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.bds.model.BdsCapacityReservation
+ .class);
+ }
+
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.bds.model.BdsCapacityReservation>
+ response = responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ com.oracle.bmc.bds.responses.CreateBdsCapacityReservationResponse
+ .Builder
+ builder =
+ com.oracle.bmc.bds.responses
+ .CreateBdsCapacityReservationResponse
+ .builder()
+ .__httpStatusCode__(rawResponse.getStatus())
+ .headers(headers);
+
+ builder.bdsCapacityReservation(response.getItem());
+
+ java.util.Optional> opcRequestIdHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.getHeadersWithName(
+ headers, "opc-request-id");
+ if (opcRequestIdHeader.isPresent()) {
+ builder.opcRequestId(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-request-id",
+ opcRequestIdHeader.get().get(0),
+ String.class));
+ }
+
+ java.util.Optional> opcWorkRequestIdHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.getHeadersWithName(
+ headers, "opc-work-request-id");
+ if (opcWorkRequestIdHeader.isPresent()) {
+ builder.opcWorkRequestId(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-work-request-id",
+ opcWorkRequestIdHeader.get().get(0),
+ String.class));
+ }
+
+ java.util.Optional> locationHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.getHeadersWithName(
+ headers, "location");
+ if (locationHeader.isPresent()) {
+ builder.location(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "location",
+ locationHeader.get().get(0),
+ String.class));
+ }
+
+ java.util.Optional> contentLocationHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.getHeadersWithName(
+ headers, "content-location");
+ if (contentLocationHeader.isPresent()) {
+ builder.contentLocation(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "content-location",
+ contentLocationHeader.get().get(0),
+ String.class));
+ }
+
+ java.util.Optional> etagHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.getHeadersWithName(
+ headers, "etag");
+ if (etagHeader.isPresent()) {
+ builder.etag(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "etag", etagHeader.get().get(0), String.class));
+ }
+
+ com.oracle.bmc.bds.responses.CreateBdsCapacityReservationResponse
+ responseWrapper = builder.build();
+
+ ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse);
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/internal/http/DeactivateBdsCapacityReservationConfigurationConverter.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/internal/http/DeactivateBdsCapacityReservationConfigurationConverter.java
new file mode 100644
index 00000000000..e4b5edaad9b
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/internal/http/DeactivateBdsCapacityReservationConfigurationConverter.java
@@ -0,0 +1,175 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.bds.model.*;
+import com.oracle.bmc.bds.requests.*;
+import com.oracle.bmc.bds.responses.*;
+import com.oracle.bmc.util.internal.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class DeactivateBdsCapacityReservationConfigurationConverter {
+ private static final com.oracle.bmc.http.internal.ResponseConversionFunctionFactoryV2
+ RESPONSE_CONVERSION_FACTORY =
+ new com.oracle.bmc.http.internal.ResponseConversionFunctionFactoryV2();
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(
+ DeactivateBdsCapacityReservationConfigurationConverter.class);
+
+ public static com.oracle.bmc.bds.requests.DeactivateBdsCapacityReservationConfigurationRequest
+ interceptRequest(
+ com.oracle.bmc.bds.requests.DeactivateBdsCapacityReservationConfigurationRequest
+ request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.bds.requests.DeactivateBdsCapacityReservationConfigurationRequest
+ request) {
+ Validate.notNull(request, "request instance is required");
+ Validate.notBlank(request.getBdsInstanceId(), "bdsInstanceId must not be blank");
+ Validate.notBlank(
+ request.getBdsCapacityReservationConfigurationId(),
+ "bdsCapacityReservationConfigurationId must not be blank");
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget()
+ .path("/20190531")
+ .path("bdsInstances")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getBdsInstanceId()))
+ .path("bdsCapacityReservationConfigurations")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getBdsCapacityReservationConfigurationId()))
+ .path("actions")
+ .path("deactivate");
+
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
+
+ ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
+
+ if (request.getOpcRequestId() != null) {
+ ib.header("opc-request-id", request.getOpcRequestId());
+ }
+
+ if (request.getOpcRetryToken() != null) {
+ ib.header("opc-retry-token", request.getOpcRetryToken());
+ }
+
+ if (request.getIfMatch() != null) {
+ ib.header("if-match", request.getIfMatch());
+ }
+
+ if (client.getClientConfigurator() != null) {
+ client.getClientConfigurator().customizeRequest(request, ib);
+ }
+ return ib;
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses
+ .DeactivateBdsCapacityReservationConfigurationResponse>
+ fromResponse() {
+ return fromResponse(java.util.Optional.empty());
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses
+ .DeactivateBdsCapacityReservationConfigurationResponse>
+ fromResponse(java.util.Optional serviceDetails) {
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses
+ .DeactivateBdsCapacityReservationConfigurationResponse>
+ transformer =
+ new java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses
+ .DeactivateBdsCapacityReservationConfigurationResponse>() {
+ @Override
+ public com.oracle.bmc.bds.responses
+ .DeactivateBdsCapacityReservationConfigurationResponse
+ apply(javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.bds.responses.DeactivateBdsCapacityReservationConfigurationResponse");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.bds.model
+ .BdsCapacityReservationConfiguration>>
+ responseFn;
+ if (serviceDetails.isPresent()) {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.bds.model
+ .BdsCapacityReservationConfiguration
+ .class,
+ serviceDetails.get());
+ } else {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.bds.model
+ .BdsCapacityReservationConfiguration
+ .class);
+ }
+
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.bds.model
+ .BdsCapacityReservationConfiguration>
+ response = responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ com.oracle.bmc.bds.responses
+ .DeactivateBdsCapacityReservationConfigurationResponse
+ .Builder
+ builder =
+ com.oracle.bmc.bds.responses
+ .DeactivateBdsCapacityReservationConfigurationResponse
+ .builder()
+ .__httpStatusCode__(rawResponse.getStatus())
+ .headers(headers);
+
+ builder.bdsCapacityReservationConfiguration(response.getItem());
+
+ java.util.Optional> opcRequestIdHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.getHeadersWithName(
+ headers, "opc-request-id");
+ if (opcRequestIdHeader.isPresent()) {
+ builder.opcRequestId(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-request-id",
+ opcRequestIdHeader.get().get(0),
+ String.class));
+ }
+
+ java.util.Optional> etagHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.getHeadersWithName(
+ headers, "etag");
+ if (etagHeader.isPresent()) {
+ builder.etag(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "etag", etagHeader.get().get(0), String.class));
+ }
+
+ com.oracle.bmc.bds.responses
+ .DeactivateBdsCapacityReservationConfigurationResponse
+ responseWrapper = builder.build();
+
+ ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse);
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/internal/http/DeleteBdsCapacityReservationConfigurationConverter.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/internal/http/DeleteBdsCapacityReservationConfigurationConverter.java
new file mode 100644
index 00000000000..e3a593bc41c
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/internal/http/DeleteBdsCapacityReservationConfigurationConverter.java
@@ -0,0 +1,144 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.bds.model.*;
+import com.oracle.bmc.bds.requests.*;
+import com.oracle.bmc.bds.responses.*;
+import com.oracle.bmc.util.internal.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class DeleteBdsCapacityReservationConfigurationConverter {
+ private static final com.oracle.bmc.http.internal.ResponseConversionFunctionFactoryV2
+ RESPONSE_CONVERSION_FACTORY =
+ new com.oracle.bmc.http.internal.ResponseConversionFunctionFactoryV2();
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(
+ DeleteBdsCapacityReservationConfigurationConverter.class);
+
+ public static com.oracle.bmc.bds.requests.DeleteBdsCapacityReservationConfigurationRequest
+ interceptRequest(
+ com.oracle.bmc.bds.requests.DeleteBdsCapacityReservationConfigurationRequest
+ request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.bds.requests.DeleteBdsCapacityReservationConfigurationRequest request) {
+ Validate.notNull(request, "request instance is required");
+ Validate.notBlank(request.getBdsInstanceId(), "bdsInstanceId must not be blank");
+ Validate.notBlank(
+ request.getBdsCapacityReservationConfigurationId(),
+ "bdsCapacityReservationConfigurationId must not be blank");
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget()
+ .path("/20190531")
+ .path("bdsInstances")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getBdsInstanceId()))
+ .path("bdsCapacityReservationConfigurations")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getBdsCapacityReservationConfigurationId()));
+
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
+
+ ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
+
+ if (request.getIfMatch() != null) {
+ ib.header("if-match", request.getIfMatch());
+ }
+
+ if (request.getOpcRequestId() != null) {
+ ib.header("opc-request-id", request.getOpcRequestId());
+ }
+
+ if (client.getClientConfigurator() != null) {
+ client.getClientConfigurator().customizeRequest(request, ib);
+ }
+ return ib;
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses.DeleteBdsCapacityReservationConfigurationResponse>
+ fromResponse() {
+ return fromResponse(java.util.Optional.empty());
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses.DeleteBdsCapacityReservationConfigurationResponse>
+ fromResponse(java.util.Optional serviceDetails) {
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses
+ .DeleteBdsCapacityReservationConfigurationResponse>
+ transformer =
+ new java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses
+ .DeleteBdsCapacityReservationConfigurationResponse>() {
+ @Override
+ public com.oracle.bmc.bds.responses
+ .DeleteBdsCapacityReservationConfigurationResponse
+ apply(javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.bds.responses.DeleteBdsCapacityReservationConfigurationResponse");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders>
+ responseFn;
+ if (serviceDetails.isPresent()) {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ serviceDetails.get());
+ } else {
+ responseFn = RESPONSE_CONVERSION_FACTORY.create();
+ }
+
+ com.oracle.bmc.http.internal.WithHeaders response =
+ responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ com.oracle.bmc.bds.responses
+ .DeleteBdsCapacityReservationConfigurationResponse
+ .Builder
+ builder =
+ com.oracle.bmc.bds.responses
+ .DeleteBdsCapacityReservationConfigurationResponse
+ .builder()
+ .__httpStatusCode__(rawResponse.getStatus())
+ .headers(headers);
+
+ java.util.Optional> opcRequestIdHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.getHeadersWithName(
+ headers, "opc-request-id");
+ if (opcRequestIdHeader.isPresent()) {
+ builder.opcRequestId(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-request-id",
+ opcRequestIdHeader.get().get(0),
+ String.class));
+ }
+
+ com.oracle.bmc.bds.responses
+ .DeleteBdsCapacityReservationConfigurationResponse
+ responseWrapper = builder.build();
+
+ ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse);
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/internal/http/DeleteBdsCapacityReservationConverter.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/internal/http/DeleteBdsCapacityReservationConverter.java
new file mode 100644
index 00000000000..40a40997eeb
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/internal/http/DeleteBdsCapacityReservationConverter.java
@@ -0,0 +1,132 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.bds.model.*;
+import com.oracle.bmc.bds.requests.*;
+import com.oracle.bmc.bds.responses.*;
+import com.oracle.bmc.util.internal.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class DeleteBdsCapacityReservationConverter {
+ private static final com.oracle.bmc.http.internal.ResponseConversionFunctionFactoryV2
+ RESPONSE_CONVERSION_FACTORY =
+ new com.oracle.bmc.http.internal.ResponseConversionFunctionFactoryV2();
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(DeleteBdsCapacityReservationConverter.class);
+
+ public static com.oracle.bmc.bds.requests.DeleteBdsCapacityReservationRequest interceptRequest(
+ com.oracle.bmc.bds.requests.DeleteBdsCapacityReservationRequest request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.bds.requests.DeleteBdsCapacityReservationRequest request) {
+ Validate.notNull(request, "request instance is required");
+ Validate.notBlank(
+ request.getBdsCapacityReservationId(),
+ "bdsCapacityReservationId must not be blank");
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget()
+ .path("/20190531")
+ .path("bdsCapacityReservations")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getBdsCapacityReservationId()));
+
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
+
+ ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
+
+ if (request.getIfMatch() != null) {
+ ib.header("if-match", request.getIfMatch());
+ }
+
+ if (request.getOpcRequestId() != null) {
+ ib.header("opc-request-id", request.getOpcRequestId());
+ }
+
+ if (client.getClientConfigurator() != null) {
+ client.getClientConfigurator().customizeRequest(request, ib);
+ }
+ return ib;
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses.DeleteBdsCapacityReservationResponse>
+ fromResponse() {
+ return fromResponse(java.util.Optional.empty());
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses.DeleteBdsCapacityReservationResponse>
+ fromResponse(java.util.Optional serviceDetails) {
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses.DeleteBdsCapacityReservationResponse>
+ transformer =
+ new java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses
+ .DeleteBdsCapacityReservationResponse>() {
+ @Override
+ public com.oracle.bmc.bds.responses.DeleteBdsCapacityReservationResponse
+ apply(javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.bds.responses.DeleteBdsCapacityReservationResponse");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders>
+ responseFn;
+ if (serviceDetails.isPresent()) {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ serviceDetails.get());
+ } else {
+ responseFn = RESPONSE_CONVERSION_FACTORY.create();
+ }
+
+ com.oracle.bmc.http.internal.WithHeaders response =
+ responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ com.oracle.bmc.bds.responses.DeleteBdsCapacityReservationResponse
+ .Builder
+ builder =
+ com.oracle.bmc.bds.responses
+ .DeleteBdsCapacityReservationResponse
+ .builder()
+ .__httpStatusCode__(rawResponse.getStatus())
+ .headers(headers);
+
+ java.util.Optional> opcRequestIdHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.getHeadersWithName(
+ headers, "opc-request-id");
+ if (opcRequestIdHeader.isPresent()) {
+ builder.opcRequestId(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-request-id",
+ opcRequestIdHeader.get().get(0),
+ String.class));
+ }
+
+ com.oracle.bmc.bds.responses.DeleteBdsCapacityReservationResponse
+ responseWrapper = builder.build();
+
+ ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse);
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/internal/http/GetBdsCapacityReservationConfigurationConverter.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/internal/http/GetBdsCapacityReservationConfigurationConverter.java
new file mode 100644
index 00000000000..b37bc802628
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/internal/http/GetBdsCapacityReservationConfigurationConverter.java
@@ -0,0 +1,161 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.bds.model.*;
+import com.oracle.bmc.bds.requests.*;
+import com.oracle.bmc.bds.responses.*;
+import com.oracle.bmc.util.internal.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class GetBdsCapacityReservationConfigurationConverter {
+ private static final com.oracle.bmc.http.internal.ResponseConversionFunctionFactoryV2
+ RESPONSE_CONVERSION_FACTORY =
+ new com.oracle.bmc.http.internal.ResponseConversionFunctionFactoryV2();
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(
+ GetBdsCapacityReservationConfigurationConverter.class);
+
+ public static com.oracle.bmc.bds.requests.GetBdsCapacityReservationConfigurationRequest
+ interceptRequest(
+ com.oracle.bmc.bds.requests.GetBdsCapacityReservationConfigurationRequest
+ request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.bds.requests.GetBdsCapacityReservationConfigurationRequest request) {
+ Validate.notNull(request, "request instance is required");
+ Validate.notBlank(request.getBdsInstanceId(), "bdsInstanceId must not be blank");
+ Validate.notBlank(
+ request.getBdsCapacityReservationConfigurationId(),
+ "bdsCapacityReservationConfigurationId must not be blank");
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget()
+ .path("/20190531")
+ .path("bdsInstances")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getBdsInstanceId()))
+ .path("bdsCapacityReservationConfigurations")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getBdsCapacityReservationConfigurationId()));
+
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
+
+ ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
+
+ if (request.getOpcRequestId() != null) {
+ ib.header("opc-request-id", request.getOpcRequestId());
+ }
+
+ if (client.getClientConfigurator() != null) {
+ client.getClientConfigurator().customizeRequest(request, ib);
+ }
+ return ib;
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses.GetBdsCapacityReservationConfigurationResponse>
+ fromResponse() {
+ return fromResponse(java.util.Optional.empty());
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses.GetBdsCapacityReservationConfigurationResponse>
+ fromResponse(java.util.Optional serviceDetails) {
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses.GetBdsCapacityReservationConfigurationResponse>
+ transformer =
+ new java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses
+ .GetBdsCapacityReservationConfigurationResponse>() {
+ @Override
+ public com.oracle.bmc.bds.responses
+ .GetBdsCapacityReservationConfigurationResponse
+ apply(javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.bds.responses.GetBdsCapacityReservationConfigurationResponse");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.bds.model
+ .BdsCapacityReservationConfiguration>>
+ responseFn;
+ if (serviceDetails.isPresent()) {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.bds.model
+ .BdsCapacityReservationConfiguration
+ .class,
+ serviceDetails.get());
+ } else {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.bds.model
+ .BdsCapacityReservationConfiguration
+ .class);
+ }
+
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.bds.model
+ .BdsCapacityReservationConfiguration>
+ response = responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ com.oracle.bmc.bds.responses
+ .GetBdsCapacityReservationConfigurationResponse
+ .Builder
+ builder =
+ com.oracle.bmc.bds.responses
+ .GetBdsCapacityReservationConfigurationResponse
+ .builder()
+ .__httpStatusCode__(rawResponse.getStatus())
+ .headers(headers);
+
+ builder.bdsCapacityReservationConfiguration(response.getItem());
+
+ java.util.Optional> opcRequestIdHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.getHeadersWithName(
+ headers, "opc-request-id");
+ if (opcRequestIdHeader.isPresent()) {
+ builder.opcRequestId(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-request-id",
+ opcRequestIdHeader.get().get(0),
+ String.class));
+ }
+
+ java.util.Optional> etagHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.getHeadersWithName(
+ headers, "etag");
+ if (etagHeader.isPresent()) {
+ builder.etag(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "etag", etagHeader.get().get(0), String.class));
+ }
+
+ com.oracle.bmc.bds.responses
+ .GetBdsCapacityReservationConfigurationResponse
+ responseWrapper = builder.build();
+
+ ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse);
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/internal/http/GetBdsCapacityReservationConverter.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/internal/http/GetBdsCapacityReservationConverter.java
new file mode 100644
index 00000000000..331a3fcdb73
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/internal/http/GetBdsCapacityReservationConverter.java
@@ -0,0 +1,145 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.bds.model.*;
+import com.oracle.bmc.bds.requests.*;
+import com.oracle.bmc.bds.responses.*;
+import com.oracle.bmc.util.internal.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class GetBdsCapacityReservationConverter {
+ private static final com.oracle.bmc.http.internal.ResponseConversionFunctionFactoryV2
+ RESPONSE_CONVERSION_FACTORY =
+ new com.oracle.bmc.http.internal.ResponseConversionFunctionFactoryV2();
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(GetBdsCapacityReservationConverter.class);
+
+ public static com.oracle.bmc.bds.requests.GetBdsCapacityReservationRequest interceptRequest(
+ com.oracle.bmc.bds.requests.GetBdsCapacityReservationRequest request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.bds.requests.GetBdsCapacityReservationRequest request) {
+ Validate.notNull(request, "request instance is required");
+ Validate.notBlank(
+ request.getBdsCapacityReservationId(),
+ "bdsCapacityReservationId must not be blank");
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget()
+ .path("/20190531")
+ .path("bdsCapacityReservations")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getBdsCapacityReservationId()));
+
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
+
+ ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
+
+ if (request.getOpcRequestId() != null) {
+ ib.header("opc-request-id", request.getOpcRequestId());
+ }
+
+ if (client.getClientConfigurator() != null) {
+ client.getClientConfigurator().customizeRequest(request, ib);
+ }
+ return ib;
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses.GetBdsCapacityReservationResponse>
+ fromResponse() {
+ return fromResponse(java.util.Optional.empty());
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses.GetBdsCapacityReservationResponse>
+ fromResponse(java.util.Optional serviceDetails) {
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses.GetBdsCapacityReservationResponse>
+ transformer =
+ new java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses.GetBdsCapacityReservationResponse>() {
+ @Override
+ public com.oracle.bmc.bds.responses.GetBdsCapacityReservationResponse
+ apply(javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.bds.responses.GetBdsCapacityReservationResponse");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.bds.model
+ .BdsCapacityReservation>>
+ responseFn;
+ if (serviceDetails.isPresent()) {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.bds.model.BdsCapacityReservation
+ .class,
+ serviceDetails.get());
+ } else {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.bds.model.BdsCapacityReservation
+ .class);
+ }
+
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.bds.model.BdsCapacityReservation>
+ response = responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ com.oracle.bmc.bds.responses.GetBdsCapacityReservationResponse
+ .Builder
+ builder =
+ com.oracle.bmc.bds.responses
+ .GetBdsCapacityReservationResponse.builder()
+ .__httpStatusCode__(rawResponse.getStatus())
+ .headers(headers);
+
+ builder.bdsCapacityReservation(response.getItem());
+
+ java.util.Optional> opcRequestIdHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.getHeadersWithName(
+ headers, "opc-request-id");
+ if (opcRequestIdHeader.isPresent()) {
+ builder.opcRequestId(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-request-id",
+ opcRequestIdHeader.get().get(0),
+ String.class));
+ }
+
+ java.util.Optional> etagHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.getHeadersWithName(
+ headers, "etag");
+ if (etagHeader.isPresent()) {
+ builder.etag(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "etag", etagHeader.get().get(0), String.class));
+ }
+
+ com.oracle.bmc.bds.responses.GetBdsCapacityReservationResponse
+ responseWrapper = builder.build();
+
+ ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse);
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/internal/http/ListBdsCapacityReservationAssociatedConfigurationsConverter.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/internal/http/ListBdsCapacityReservationAssociatedConfigurationsConverter.java
new file mode 100644
index 00000000000..cc4581704ee
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/internal/http/ListBdsCapacityReservationAssociatedConfigurationsConverter.java
@@ -0,0 +1,221 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.bds.model.*;
+import com.oracle.bmc.bds.requests.*;
+import com.oracle.bmc.bds.responses.*;
+import com.oracle.bmc.util.internal.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class ListBdsCapacityReservationAssociatedConfigurationsConverter {
+ private static final com.oracle.bmc.http.internal.ResponseConversionFunctionFactoryV2
+ RESPONSE_CONVERSION_FACTORY =
+ new com.oracle.bmc.http.internal.ResponseConversionFunctionFactoryV2();
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(
+ ListBdsCapacityReservationAssociatedConfigurationsConverter.class);
+
+ public static com.oracle.bmc.bds.requests
+ .ListBdsCapacityReservationAssociatedConfigurationsRequest
+ interceptRequest(
+ com.oracle.bmc.bds.requests
+ .ListBdsCapacityReservationAssociatedConfigurationsRequest
+ request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.bds.requests.ListBdsCapacityReservationAssociatedConfigurationsRequest
+ request) {
+ Validate.notNull(request, "request instance is required");
+ Validate.notBlank(
+ request.getBdsCapacityReservationId(),
+ "bdsCapacityReservationId must not be blank");
+ Validate.notNull(request.getCompartmentId(), "compartmentId is required");
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget()
+ .path("/20190531")
+ .path("bdsCapacityReservations")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getBdsCapacityReservationId()))
+ .path("associatedConfigurations");
+
+ target =
+ target.queryParam(
+ "compartmentId",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getCompartmentId()));
+
+ if (request.getLifecycleState() != null) {
+ target =
+ target.queryParam(
+ "lifecycleState",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getLifecycleState().getValue()));
+ }
+
+ if (request.getPage() != null) {
+ target =
+ target.queryParam(
+ "page",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getPage()));
+ }
+
+ if (request.getLimit() != null) {
+ target =
+ target.queryParam(
+ "limit",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getLimit()));
+ }
+
+ if (request.getSortBy() != null) {
+ target =
+ target.queryParam(
+ "sortBy",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getSortBy().getValue()));
+ }
+
+ if (request.getSortOrder() != null) {
+ target =
+ target.queryParam(
+ "sortOrder",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getSortOrder().getValue()));
+ }
+
+ if (request.getDisplayName() != null) {
+ target =
+ target.queryParam(
+ "displayName",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getDisplayName()));
+ }
+
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
+
+ ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
+
+ if (request.getOpcRequestId() != null) {
+ ib.header("opc-request-id", request.getOpcRequestId());
+ }
+
+ if (client.getClientConfigurator() != null) {
+ client.getClientConfigurator().customizeRequest(request, ib);
+ }
+ return ib;
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses
+ .ListBdsCapacityReservationAssociatedConfigurationsResponse>
+ fromResponse() {
+ return fromResponse(java.util.Optional.empty());
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses
+ .ListBdsCapacityReservationAssociatedConfigurationsResponse>
+ fromResponse(java.util.Optional serviceDetails) {
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses
+ .ListBdsCapacityReservationAssociatedConfigurationsResponse>
+ transformer =
+ new java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses
+ .ListBdsCapacityReservationAssociatedConfigurationsResponse>() {
+ @Override
+ public com.oracle.bmc.bds.responses
+ .ListBdsCapacityReservationAssociatedConfigurationsResponse
+ apply(javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.bds.responses.ListBdsCapacityReservationAssociatedConfigurationsResponse");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.bds.model
+ .BdsCapacityReservationAssociatedConfigurationCollection>>
+ responseFn;
+ if (serviceDetails.isPresent()) {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.bds.model
+ .BdsCapacityReservationAssociatedConfigurationCollection
+ .class,
+ serviceDetails.get());
+ } else {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.bds.model
+ .BdsCapacityReservationAssociatedConfigurationCollection
+ .class);
+ }
+
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.bds.model
+ .BdsCapacityReservationAssociatedConfigurationCollection>
+ response = responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ com.oracle.bmc.bds.responses
+ .ListBdsCapacityReservationAssociatedConfigurationsResponse
+ .Builder
+ builder =
+ com.oracle.bmc.bds.responses
+ .ListBdsCapacityReservationAssociatedConfigurationsResponse
+ .builder()
+ .__httpStatusCode__(rawResponse.getStatus())
+ .headers(headers);
+
+ builder.bdsCapacityReservationAssociatedConfigurationCollection(
+ response.getItem());
+
+ java.util.Optional> opcRequestIdHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.getHeadersWithName(
+ headers, "opc-request-id");
+ if (opcRequestIdHeader.isPresent()) {
+ builder.opcRequestId(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-request-id",
+ opcRequestIdHeader.get().get(0),
+ String.class));
+ }
+
+ java.util.Optional> opcNextPageHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.getHeadersWithName(
+ headers, "opc-next-page");
+ if (opcNextPageHeader.isPresent()) {
+ builder.opcNextPage(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-next-page",
+ opcNextPageHeader.get().get(0),
+ String.class));
+ }
+
+ com.oracle.bmc.bds.responses
+ .ListBdsCapacityReservationAssociatedConfigurationsResponse
+ responseWrapper = builder.build();
+
+ ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse);
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/internal/http/ListBdsCapacityReservationConfigurationsConverter.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/internal/http/ListBdsCapacityReservationConfigurationsConverter.java
new file mode 100644
index 00000000000..f258aef0a04
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/internal/http/ListBdsCapacityReservationConfigurationsConverter.java
@@ -0,0 +1,207 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.bds.model.*;
+import com.oracle.bmc.bds.requests.*;
+import com.oracle.bmc.bds.responses.*;
+import com.oracle.bmc.util.internal.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class ListBdsCapacityReservationConfigurationsConverter {
+ private static final com.oracle.bmc.http.internal.ResponseConversionFunctionFactoryV2
+ RESPONSE_CONVERSION_FACTORY =
+ new com.oracle.bmc.http.internal.ResponseConversionFunctionFactoryV2();
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(
+ ListBdsCapacityReservationConfigurationsConverter.class);
+
+ public static com.oracle.bmc.bds.requests.ListBdsCapacityReservationConfigurationsRequest
+ interceptRequest(
+ com.oracle.bmc.bds.requests.ListBdsCapacityReservationConfigurationsRequest
+ request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.bds.requests.ListBdsCapacityReservationConfigurationsRequest request) {
+ Validate.notNull(request, "request instance is required");
+ Validate.notBlank(request.getBdsInstanceId(), "bdsInstanceId must not be blank");
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget()
+ .path("/20190531")
+ .path("bdsInstances")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getBdsInstanceId()))
+ .path("bdsCapacityReservationConfigurations");
+
+ if (request.getLifecycleState() != null) {
+ target =
+ target.queryParam(
+ "lifecycleState",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getLifecycleState().getValue()));
+ }
+
+ if (request.getPage() != null) {
+ target =
+ target.queryParam(
+ "page",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getPage()));
+ }
+
+ if (request.getLimit() != null) {
+ target =
+ target.queryParam(
+ "limit",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getLimit()));
+ }
+
+ if (request.getSortBy() != null) {
+ target =
+ target.queryParam(
+ "sortBy",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getSortBy().getValue()));
+ }
+
+ if (request.getSortOrder() != null) {
+ target =
+ target.queryParam(
+ "sortOrder",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getSortOrder().getValue()));
+ }
+
+ if (request.getDisplayName() != null) {
+ target =
+ target.queryParam(
+ "displayName",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getDisplayName()));
+ }
+
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
+
+ ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
+
+ if (request.getOpcRequestId() != null) {
+ ib.header("opc-request-id", request.getOpcRequestId());
+ }
+
+ if (client.getClientConfigurator() != null) {
+ client.getClientConfigurator().customizeRequest(request, ib);
+ }
+ return ib;
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses.ListBdsCapacityReservationConfigurationsResponse>
+ fromResponse() {
+ return fromResponse(java.util.Optional.empty());
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses.ListBdsCapacityReservationConfigurationsResponse>
+ fromResponse(java.util.Optional serviceDetails) {
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses
+ .ListBdsCapacityReservationConfigurationsResponse>
+ transformer =
+ new java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses
+ .ListBdsCapacityReservationConfigurationsResponse>() {
+ @Override
+ public com.oracle.bmc.bds.responses
+ .ListBdsCapacityReservationConfigurationsResponse
+ apply(javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.bds.responses.ListBdsCapacityReservationConfigurationsResponse");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.bds.model
+ .BdsCapacityReservationConfigurationCollection>>
+ responseFn;
+ if (serviceDetails.isPresent()) {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.bds.model
+ .BdsCapacityReservationConfigurationCollection
+ .class,
+ serviceDetails.get());
+ } else {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.bds.model
+ .BdsCapacityReservationConfigurationCollection
+ .class);
+ }
+
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.bds.model
+ .BdsCapacityReservationConfigurationCollection>
+ response = responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ com.oracle.bmc.bds.responses
+ .ListBdsCapacityReservationConfigurationsResponse
+ .Builder
+ builder =
+ com.oracle.bmc.bds.responses
+ .ListBdsCapacityReservationConfigurationsResponse
+ .builder()
+ .__httpStatusCode__(rawResponse.getStatus())
+ .headers(headers);
+
+ builder.bdsCapacityReservationConfigurationCollection(
+ response.getItem());
+
+ java.util.Optional> opcRequestIdHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.getHeadersWithName(
+ headers, "opc-request-id");
+ if (opcRequestIdHeader.isPresent()) {
+ builder.opcRequestId(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-request-id",
+ opcRequestIdHeader.get().get(0),
+ String.class));
+ }
+
+ java.util.Optional> opcNextPageHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.getHeadersWithName(
+ headers, "opc-next-page");
+ if (opcNextPageHeader.isPresent()) {
+ builder.opcNextPage(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-next-page",
+ opcNextPageHeader.get().get(0),
+ String.class));
+ }
+
+ com.oracle.bmc.bds.responses
+ .ListBdsCapacityReservationConfigurationsResponse
+ responseWrapper = builder.build();
+
+ ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse);
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/internal/http/ListBdsCapacityReservationsConverter.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/internal/http/ListBdsCapacityReservationsConverter.java
new file mode 100644
index 00000000000..81759179797
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/internal/http/ListBdsCapacityReservationsConverter.java
@@ -0,0 +1,199 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.bds.model.*;
+import com.oracle.bmc.bds.requests.*;
+import com.oracle.bmc.bds.responses.*;
+import com.oracle.bmc.util.internal.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class ListBdsCapacityReservationsConverter {
+ private static final com.oracle.bmc.http.internal.ResponseConversionFunctionFactoryV2
+ RESPONSE_CONVERSION_FACTORY =
+ new com.oracle.bmc.http.internal.ResponseConversionFunctionFactoryV2();
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(ListBdsCapacityReservationsConverter.class);
+
+ public static com.oracle.bmc.bds.requests.ListBdsCapacityReservationsRequest interceptRequest(
+ com.oracle.bmc.bds.requests.ListBdsCapacityReservationsRequest request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.bds.requests.ListBdsCapacityReservationsRequest request) {
+ Validate.notNull(request, "request instance is required");
+ Validate.notNull(request.getCompartmentId(), "compartmentId is required");
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget().path("/20190531").path("bdsCapacityReservations");
+
+ target =
+ target.queryParam(
+ "compartmentId",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getCompartmentId()));
+
+ if (request.getLifecycleState() != null) {
+ target =
+ target.queryParam(
+ "lifecycleState",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getLifecycleState().getValue()));
+ }
+
+ if (request.getPage() != null) {
+ target =
+ target.queryParam(
+ "page",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getPage()));
+ }
+
+ if (request.getLimit() != null) {
+ target =
+ target.queryParam(
+ "limit",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getLimit()));
+ }
+
+ if (request.getSortBy() != null) {
+ target =
+ target.queryParam(
+ "sortBy",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getSortBy().getValue()));
+ }
+
+ if (request.getSortOrder() != null) {
+ target =
+ target.queryParam(
+ "sortOrder",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getSortOrder().getValue()));
+ }
+
+ if (request.getDisplayName() != null) {
+ target =
+ target.queryParam(
+ "displayName",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getDisplayName()));
+ }
+
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
+
+ ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
+
+ if (request.getOpcRequestId() != null) {
+ ib.header("opc-request-id", request.getOpcRequestId());
+ }
+
+ if (client.getClientConfigurator() != null) {
+ client.getClientConfigurator().customizeRequest(request, ib);
+ }
+ return ib;
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses.ListBdsCapacityReservationsResponse>
+ fromResponse() {
+ return fromResponse(java.util.Optional.empty());
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses.ListBdsCapacityReservationsResponse>
+ fromResponse(java.util.Optional serviceDetails) {
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses.ListBdsCapacityReservationsResponse>
+ transformer =
+ new java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses
+ .ListBdsCapacityReservationsResponse>() {
+ @Override
+ public com.oracle.bmc.bds.responses.ListBdsCapacityReservationsResponse
+ apply(javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.bds.responses.ListBdsCapacityReservationsResponse");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.bds.model
+ .BdsCapacityReservationCollection>>
+ responseFn;
+ if (serviceDetails.isPresent()) {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.bds.model
+ .BdsCapacityReservationCollection
+ .class,
+ serviceDetails.get());
+ } else {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.bds.model
+ .BdsCapacityReservationCollection
+ .class);
+ }
+
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.bds.model
+ .BdsCapacityReservationCollection>
+ response = responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ com.oracle.bmc.bds.responses.ListBdsCapacityReservationsResponse
+ .Builder
+ builder =
+ com.oracle.bmc.bds.responses
+ .ListBdsCapacityReservationsResponse
+ .builder()
+ .__httpStatusCode__(rawResponse.getStatus())
+ .headers(headers);
+
+ builder.bdsCapacityReservationCollection(response.getItem());
+
+ java.util.Optional> opcRequestIdHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.getHeadersWithName(
+ headers, "opc-request-id");
+ if (opcRequestIdHeader.isPresent()) {
+ builder.opcRequestId(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-request-id",
+ opcRequestIdHeader.get().get(0),
+ String.class));
+ }
+
+ java.util.Optional> opcNextPageHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.getHeadersWithName(
+ headers, "opc-next-page");
+ if (opcNextPageHeader.isPresent()) {
+ builder.opcNextPage(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-next-page",
+ opcNextPageHeader.get().get(0),
+ String.class));
+ }
+
+ com.oracle.bmc.bds.responses.ListBdsCapacityReservationsResponse
+ responseWrapper = builder.build();
+
+ ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse);
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/internal/http/UpdateBdsCapacityReservationConfigurationConverter.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/internal/http/UpdateBdsCapacityReservationConfigurationConverter.java
new file mode 100644
index 00000000000..ce7e9673508
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/internal/http/UpdateBdsCapacityReservationConfigurationConverter.java
@@ -0,0 +1,173 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.bds.model.*;
+import com.oracle.bmc.bds.requests.*;
+import com.oracle.bmc.bds.responses.*;
+import com.oracle.bmc.util.internal.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class UpdateBdsCapacityReservationConfigurationConverter {
+ private static final com.oracle.bmc.http.internal.ResponseConversionFunctionFactoryV2
+ RESPONSE_CONVERSION_FACTORY =
+ new com.oracle.bmc.http.internal.ResponseConversionFunctionFactoryV2();
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(
+ UpdateBdsCapacityReservationConfigurationConverter.class);
+
+ public static com.oracle.bmc.bds.requests.UpdateBdsCapacityReservationConfigurationRequest
+ interceptRequest(
+ com.oracle.bmc.bds.requests.UpdateBdsCapacityReservationConfigurationRequest
+ request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.bds.requests.UpdateBdsCapacityReservationConfigurationRequest request) {
+ Validate.notNull(request, "request instance is required");
+ Validate.notBlank(request.getBdsInstanceId(), "bdsInstanceId must not be blank");
+ Validate.notBlank(
+ request.getBdsCapacityReservationConfigurationId(),
+ "bdsCapacityReservationConfigurationId must not be blank");
+ Validate.notNull(
+ request.getUpdateBdsCapacityReservationConfigurationDetails(),
+ "updateBdsCapacityReservationConfigurationDetails is required");
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget()
+ .path("/20190531")
+ .path("bdsInstances")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getBdsInstanceId()))
+ .path("bdsCapacityReservationConfigurations")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getBdsCapacityReservationConfigurationId()));
+
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
+
+ ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
+
+ if (request.getIfMatch() != null) {
+ ib.header("if-match", request.getIfMatch());
+ }
+
+ if (request.getOpcRequestId() != null) {
+ ib.header("opc-request-id", request.getOpcRequestId());
+ }
+
+ if (request.getOpcRetryToken() != null) {
+ ib.header("opc-retry-token", request.getOpcRetryToken());
+ }
+
+ if (client.getClientConfigurator() != null) {
+ client.getClientConfigurator().customizeRequest(request, ib);
+ }
+ return ib;
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses.UpdateBdsCapacityReservationConfigurationResponse>
+ fromResponse() {
+ return fromResponse(java.util.Optional.empty());
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses.UpdateBdsCapacityReservationConfigurationResponse>
+ fromResponse(java.util.Optional serviceDetails) {
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses
+ .UpdateBdsCapacityReservationConfigurationResponse>
+ transformer =
+ new java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses
+ .UpdateBdsCapacityReservationConfigurationResponse>() {
+ @Override
+ public com.oracle.bmc.bds.responses
+ .UpdateBdsCapacityReservationConfigurationResponse
+ apply(javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.bds.responses.UpdateBdsCapacityReservationConfigurationResponse");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.bds.model
+ .BdsCapacityReservationConfiguration>>
+ responseFn;
+ if (serviceDetails.isPresent()) {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.bds.model
+ .BdsCapacityReservationConfiguration
+ .class,
+ serviceDetails.get());
+ } else {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.bds.model
+ .BdsCapacityReservationConfiguration
+ .class);
+ }
+
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.bds.model
+ .BdsCapacityReservationConfiguration>
+ response = responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ com.oracle.bmc.bds.responses
+ .UpdateBdsCapacityReservationConfigurationResponse
+ .Builder
+ builder =
+ com.oracle.bmc.bds.responses
+ .UpdateBdsCapacityReservationConfigurationResponse
+ .builder()
+ .__httpStatusCode__(rawResponse.getStatus())
+ .headers(headers);
+
+ builder.bdsCapacityReservationConfiguration(response.getItem());
+
+ java.util.Optional> opcRequestIdHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.getHeadersWithName(
+ headers, "opc-request-id");
+ if (opcRequestIdHeader.isPresent()) {
+ builder.opcRequestId(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-request-id",
+ opcRequestIdHeader.get().get(0),
+ String.class));
+ }
+
+ java.util.Optional> etagHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.getHeadersWithName(
+ headers, "etag");
+ if (etagHeader.isPresent()) {
+ builder.etag(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "etag", etagHeader.get().get(0), String.class));
+ }
+
+ com.oracle.bmc.bds.responses
+ .UpdateBdsCapacityReservationConfigurationResponse
+ responseWrapper = builder.build();
+
+ ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse);
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/internal/http/UpdateBdsCapacityReservationConverter.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/internal/http/UpdateBdsCapacityReservationConverter.java
new file mode 100644
index 00000000000..302f9f320b8
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/internal/http/UpdateBdsCapacityReservationConverter.java
@@ -0,0 +1,158 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.bds.model.*;
+import com.oracle.bmc.bds.requests.*;
+import com.oracle.bmc.bds.responses.*;
+import com.oracle.bmc.util.internal.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class UpdateBdsCapacityReservationConverter {
+ private static final com.oracle.bmc.http.internal.ResponseConversionFunctionFactoryV2
+ RESPONSE_CONVERSION_FACTORY =
+ new com.oracle.bmc.http.internal.ResponseConversionFunctionFactoryV2();
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(UpdateBdsCapacityReservationConverter.class);
+
+ public static com.oracle.bmc.bds.requests.UpdateBdsCapacityReservationRequest interceptRequest(
+ com.oracle.bmc.bds.requests.UpdateBdsCapacityReservationRequest request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.bds.requests.UpdateBdsCapacityReservationRequest request) {
+ Validate.notNull(request, "request instance is required");
+ Validate.notBlank(
+ request.getBdsCapacityReservationId(),
+ "bdsCapacityReservationId must not be blank");
+ Validate.notNull(
+ request.getUpdateBdsCapacityReservationDetails(),
+ "updateBdsCapacityReservationDetails is required");
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget()
+ .path("/20190531")
+ .path("bdsCapacityReservations")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getBdsCapacityReservationId()));
+
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
+
+ ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
+
+ if (request.getIfMatch() != null) {
+ ib.header("if-match", request.getIfMatch());
+ }
+
+ if (request.getOpcRequestId() != null) {
+ ib.header("opc-request-id", request.getOpcRequestId());
+ }
+
+ if (request.getOpcRetryToken() != null) {
+ ib.header("opc-retry-token", request.getOpcRetryToken());
+ }
+
+ if (client.getClientConfigurator() != null) {
+ client.getClientConfigurator().customizeRequest(request, ib);
+ }
+ return ib;
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses.UpdateBdsCapacityReservationResponse>
+ fromResponse() {
+ return fromResponse(java.util.Optional.empty());
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses.UpdateBdsCapacityReservationResponse>
+ fromResponse(java.util.Optional serviceDetails) {
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses.UpdateBdsCapacityReservationResponse>
+ transformer =
+ new java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.bds.responses
+ .UpdateBdsCapacityReservationResponse>() {
+ @Override
+ public com.oracle.bmc.bds.responses.UpdateBdsCapacityReservationResponse
+ apply(javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.bds.responses.UpdateBdsCapacityReservationResponse");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.bds.model
+ .BdsCapacityReservation>>
+ responseFn;
+ if (serviceDetails.isPresent()) {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.bds.model.BdsCapacityReservation
+ .class,
+ serviceDetails.get());
+ } else {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.bds.model.BdsCapacityReservation
+ .class);
+ }
+
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.bds.model.BdsCapacityReservation>
+ response = responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ com.oracle.bmc.bds.responses.UpdateBdsCapacityReservationResponse
+ .Builder
+ builder =
+ com.oracle.bmc.bds.responses
+ .UpdateBdsCapacityReservationResponse
+ .builder()
+ .__httpStatusCode__(rawResponse.getStatus())
+ .headers(headers);
+
+ builder.bdsCapacityReservation(response.getItem());
+
+ java.util.Optional> opcRequestIdHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.getHeadersWithName(
+ headers, "opc-request-id");
+ if (opcRequestIdHeader.isPresent()) {
+ builder.opcRequestId(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-request-id",
+ opcRequestIdHeader.get().get(0),
+ String.class));
+ }
+
+ java.util.Optional> etagHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.getHeadersWithName(
+ headers, "etag");
+ if (etagHeader.isPresent()) {
+ builder.etag(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "etag", etagHeader.get().get(0), String.class));
+ }
+
+ com.oracle.bmc.bds.responses.UpdateBdsCapacityReservationResponse
+ responseWrapper = builder.build();
+
+ ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse);
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/BdsCapacityReservation.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/BdsCapacityReservation.java
new file mode 100644
index 00000000000..04b7d5f14a4
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/BdsCapacityReservation.java
@@ -0,0 +1,566 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.model;
+
+/**
+ * A reusable BDS capacity reservation 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 #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = BdsCapacityReservation.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public final class BdsCapacityReservation
+ extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({
+ "id",
+ "displayName",
+ "compartmentId",
+ "computeCapacityReservations",
+ "lifecycleState",
+ "timeCreated",
+ "timeUpdated",
+ "freeformTags",
+ "definedTags",
+ "systemTags"
+ })
+ public BdsCapacityReservation(
+ String id,
+ String displayName,
+ String compartmentId,
+ ComputeCapacityReservations computeCapacityReservations,
+ LifecycleState lifecycleState,
+ java.util.Date timeCreated,
+ java.util.Date timeUpdated,
+ java.util.Map freeformTags,
+ java.util.Map> definedTags,
+ java.util.Map> systemTags) {
+ super();
+ this.id = id;
+ this.displayName = displayName;
+ this.compartmentId = compartmentId;
+ this.computeCapacityReservations = computeCapacityReservations;
+ this.lifecycleState = lifecycleState;
+ this.timeCreated = timeCreated;
+ this.timeUpdated = timeUpdated;
+ this.freeformTags = freeformTags;
+ this.definedTags = definedTags;
+ this.systemTags = systemTags;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * The OCID of the BDS capacity reservation.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("id")
+ private String id;
+
+ /**
+ * The OCID of the BDS capacity reservation.
+ * @param id the value to set
+ * @return this builder
+ **/
+ public Builder id(String id) {
+ this.id = id;
+ this.__explicitlySet__.add("id");
+ return this;
+ }
+ /**
+ * A user-friendly name for the BDS capacity reservation.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private String displayName;
+
+ /**
+ * A user-friendly name for the BDS capacity reservation.
+ * @param displayName the value to set
+ * @return this builder
+ **/
+ public Builder displayName(String displayName) {
+ this.displayName = displayName;
+ this.__explicitlySet__.add("displayName");
+ return this;
+ }
+ /**
+ * The OCID of the compartment that contains the BDS capacity reservation.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId")
+ private String compartmentId;
+
+ /**
+ * The OCID of the compartment that contains the BDS capacity reservation.
+ * @param compartmentId the value to set
+ * @return this builder
+ **/
+ public Builder compartmentId(String compartmentId) {
+ this.compartmentId = compartmentId;
+ this.__explicitlySet__.add("compartmentId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("computeCapacityReservations")
+ private ComputeCapacityReservations computeCapacityReservations;
+
+ public Builder computeCapacityReservations(
+ ComputeCapacityReservations computeCapacityReservations) {
+ this.computeCapacityReservations = computeCapacityReservations;
+ this.__explicitlySet__.add("computeCapacityReservations");
+ return this;
+ }
+ /**
+ * The lifecycle state of the BDS capacity reservation.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState")
+ private LifecycleState lifecycleState;
+
+ /**
+ * The lifecycle state of the BDS capacity reservation.
+ * @param lifecycleState the value to set
+ * @return this builder
+ **/
+ public Builder lifecycleState(LifecycleState lifecycleState) {
+ this.lifecycleState = lifecycleState;
+ this.__explicitlySet__.add("lifecycleState");
+ return this;
+ }
+ /**
+ * The time the BDS capacity reservation was created, shown as an RFC 3339 formatted datetime string.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeCreated")
+ private java.util.Date timeCreated;
+
+ /**
+ * The time the BDS capacity reservation was created, shown as an RFC 3339 formatted datetime string.
+ * @param timeCreated the value to set
+ * @return this builder
+ **/
+ public Builder timeCreated(java.util.Date timeCreated) {
+ this.timeCreated = timeCreated;
+ this.__explicitlySet__.add("timeCreated");
+ return this;
+ }
+ /**
+ * The time the BDS capacity reservation was updated, shown as an RFC 3339 formatted datetime string.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeUpdated")
+ private java.util.Date timeUpdated;
+
+ /**
+ * The time the BDS capacity reservation was updated, shown as an RFC 3339 formatted datetime string.
+ * @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;
+ }
+ /**
+ * Simple key-value pair that is applied without any predefined name, type, or scope.
+ * Exists for cross-compatibility only. For example, {@code {"bar-key": "value"}}
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("freeformTags")
+ private java.util.Map freeformTags;
+
+ /**
+ * Simple key-value pair that is applied without any predefined name, type, or scope.
+ * Exists for cross-compatibility only. For example, {@code {"bar-key": "value"}}
+ *
+ * @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 example, {@code {"foo-namespace": {"bar-key": "value"}}}
+ *
+ **/
+ @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 example, {@code {"foo-namespace": {"bar-key": "value"}}}
+ *
+ * @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;
+ }
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("systemTags")
+ private java.util.Map> systemTags;
+
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * @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 BdsCapacityReservation build() {
+ BdsCapacityReservation model =
+ new BdsCapacityReservation(
+ this.id,
+ this.displayName,
+ this.compartmentId,
+ this.computeCapacityReservations,
+ this.lifecycleState,
+ this.timeCreated,
+ this.timeUpdated,
+ this.freeformTags,
+ this.definedTags,
+ this.systemTags);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(BdsCapacityReservation model) {
+ if (model.wasPropertyExplicitlySet("id")) {
+ this.id(model.getId());
+ }
+ if (model.wasPropertyExplicitlySet("displayName")) {
+ this.displayName(model.getDisplayName());
+ }
+ if (model.wasPropertyExplicitlySet("compartmentId")) {
+ this.compartmentId(model.getCompartmentId());
+ }
+ if (model.wasPropertyExplicitlySet("computeCapacityReservations")) {
+ this.computeCapacityReservations(model.getComputeCapacityReservations());
+ }
+ if (model.wasPropertyExplicitlySet("lifecycleState")) {
+ this.lifecycleState(model.getLifecycleState());
+ }
+ if (model.wasPropertyExplicitlySet("timeCreated")) {
+ this.timeCreated(model.getTimeCreated());
+ }
+ if (model.wasPropertyExplicitlySet("timeUpdated")) {
+ this.timeUpdated(model.getTimeUpdated());
+ }
+ 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 BDS capacity reservation.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("id")
+ private final String id;
+
+ /**
+ * The OCID of the BDS capacity reservation.
+ * @return the value
+ **/
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * A user-friendly name for the BDS capacity reservation.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private final String displayName;
+
+ /**
+ * A user-friendly name for the BDS capacity reservation.
+ * @return the value
+ **/
+ public String getDisplayName() {
+ return displayName;
+ }
+
+ /**
+ * The OCID of the compartment that contains the BDS capacity reservation.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId")
+ private final String compartmentId;
+
+ /**
+ * The OCID of the compartment that contains the BDS capacity reservation.
+ * @return the value
+ **/
+ public String getCompartmentId() {
+ return compartmentId;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("computeCapacityReservations")
+ private final ComputeCapacityReservations computeCapacityReservations;
+
+ public ComputeCapacityReservations getComputeCapacityReservations() {
+ return computeCapacityReservations;
+ }
+
+ /**
+ * The lifecycle state of the BDS capacity reservation.
+ **/
+ public enum LifecycleState {
+ Creating("CREATING"),
+ Active("ACTIVE"),
+ Updating("UPDATING"),
+ Deleting("DELETING"),
+ Deleted("DELETED"),
+
+ /**
+ * This value is used if a service returns a value for this enum that is not recognized by this
+ * version of the SDK.
+ */
+ UnknownEnumValue(null);
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(LifecycleState.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (LifecycleState v : LifecycleState.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ LifecycleState(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static LifecycleState create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'LifecycleState', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
+ }
+ };
+ /**
+ * The lifecycle state of the BDS capacity reservation.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState")
+ private final LifecycleState lifecycleState;
+
+ /**
+ * The lifecycle state of the BDS capacity reservation.
+ * @return the value
+ **/
+ public LifecycleState getLifecycleState() {
+ return lifecycleState;
+ }
+
+ /**
+ * The time the BDS capacity reservation was created, shown as an RFC 3339 formatted datetime string.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeCreated")
+ private final java.util.Date timeCreated;
+
+ /**
+ * The time the BDS capacity reservation was created, shown as an RFC 3339 formatted datetime string.
+ * @return the value
+ **/
+ public java.util.Date getTimeCreated() {
+ return timeCreated;
+ }
+
+ /**
+ * The time the BDS capacity reservation was updated, shown as an RFC 3339 formatted datetime string.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeUpdated")
+ private final java.util.Date timeUpdated;
+
+ /**
+ * The time the BDS capacity reservation was updated, shown as an RFC 3339 formatted datetime string.
+ * @return the value
+ **/
+ public java.util.Date getTimeUpdated() {
+ return timeUpdated;
+ }
+
+ /**
+ * Simple key-value pair that is applied without any predefined name, type, or scope.
+ * Exists for cross-compatibility only. For example, {@code {"bar-key": "value"}}
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("freeformTags")
+ private final java.util.Map freeformTags;
+
+ /**
+ * Simple key-value pair that is applied without any predefined name, type, or scope.
+ * Exists for cross-compatibility only. For example, {@code {"bar-key": "value"}}
+ *
+ * @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 example, {@code {"foo-namespace": {"bar-key": "value"}}}
+ *
+ **/
+ @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 example, {@code {"foo-namespace": {"bar-key": "value"}}}
+ *
+ * @return the value
+ **/
+ public java.util.Map> getDefinedTags() {
+ return definedTags;
+ }
+
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("systemTags")
+ private final java.util.Map> systemTags;
+
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * @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("BdsCapacityReservation(");
+ sb.append("super=").append(super.toString());
+ sb.append("id=").append(String.valueOf(this.id));
+ sb.append(", displayName=").append(String.valueOf(this.displayName));
+ sb.append(", compartmentId=").append(String.valueOf(this.compartmentId));
+ sb.append(", computeCapacityReservations=")
+ .append(String.valueOf(this.computeCapacityReservations));
+ sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState));
+ sb.append(", timeCreated=").append(String.valueOf(this.timeCreated));
+ sb.append(", timeUpdated=").append(String.valueOf(this.timeUpdated));
+ 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 BdsCapacityReservation)) {
+ return false;
+ }
+
+ BdsCapacityReservation other = (BdsCapacityReservation) o;
+ return java.util.Objects.equals(this.id, other.id)
+ && java.util.Objects.equals(this.displayName, other.displayName)
+ && java.util.Objects.equals(this.compartmentId, other.compartmentId)
+ && java.util.Objects.equals(
+ this.computeCapacityReservations, other.computeCapacityReservations)
+ && java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
+ && java.util.Objects.equals(this.timeCreated, other.timeCreated)
+ && java.util.Objects.equals(this.timeUpdated, other.timeUpdated)
+ && 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.displayName == null ? 43 : this.displayName.hashCode());
+ result =
+ (result * PRIME)
+ + (this.compartmentId == null ? 43 : this.compartmentId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.computeCapacityReservations == null
+ ? 43
+ : this.computeCapacityReservations.hashCode());
+ result =
+ (result * PRIME)
+ + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode());
+ result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode());
+ result = (result * PRIME) + (this.timeUpdated == null ? 43 : this.timeUpdated.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-bds/src/main/java/com/oracle/bmc/bds/model/BdsCapacityReservationAssociatedConfigurationCollection.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/BdsCapacityReservationAssociatedConfigurationCollection.java
new file mode 100644
index 00000000000..7089af1b81c
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/BdsCapacityReservationAssociatedConfigurationCollection.java
@@ -0,0 +1,139 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.model;
+
+/**
+ * Results of a BDS capacity reservation associated configuration search.
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = BdsCapacityReservationAssociatedConfigurationCollection.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public final class BdsCapacityReservationAssociatedConfigurationCollection
+ extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({"items"})
+ public BdsCapacityReservationAssociatedConfigurationCollection(
+ java.util.List items) {
+ super();
+ this.items = items;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * List of BDS capacity reservation configuration summaries associated with a BDS capacity reservation.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("items")
+ private java.util.List items;
+
+ /**
+ * List of BDS capacity reservation configuration summaries associated with a BDS capacity reservation.
+ * @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 BdsCapacityReservationAssociatedConfigurationCollection build() {
+ BdsCapacityReservationAssociatedConfigurationCollection model =
+ new BdsCapacityReservationAssociatedConfigurationCollection(this.items);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(BdsCapacityReservationAssociatedConfigurationCollection 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 BDS capacity reservation configuration summaries associated with a BDS capacity reservation.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("items")
+ private final java.util.List items;
+
+ /**
+ * List of BDS capacity reservation configuration summaries associated with a BDS capacity reservation.
+ * @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("BdsCapacityReservationAssociatedConfigurationCollection(");
+ 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 BdsCapacityReservationAssociatedConfigurationCollection)) {
+ return false;
+ }
+
+ BdsCapacityReservationAssociatedConfigurationCollection other =
+ (BdsCapacityReservationAssociatedConfigurationCollection) 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-bds/src/main/java/com/oracle/bmc/bds/model/BdsCapacityReservationAssociatedConfigurationSummary.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/BdsCapacityReservationAssociatedConfigurationSummary.java
new file mode 100644
index 00000000000..b60bd3c870d
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/BdsCapacityReservationAssociatedConfigurationSummary.java
@@ -0,0 +1,440 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.model;
+
+/**
+ * Summary of a BDS capacity reservation configuration associated with a BDS capacity reservation.
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = BdsCapacityReservationAssociatedConfigurationSummary.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public final class BdsCapacityReservationAssociatedConfigurationSummary
+ extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({
+ "id",
+ "bdsInstanceId",
+ "displayName",
+ "compartmentId",
+ "lifecycleState",
+ "timeCreated",
+ "timeUpdated"
+ })
+ public BdsCapacityReservationAssociatedConfigurationSummary(
+ String id,
+ String bdsInstanceId,
+ String displayName,
+ String compartmentId,
+ LifecycleState lifecycleState,
+ java.util.Date timeCreated,
+ java.util.Date timeUpdated) {
+ super();
+ this.id = id;
+ this.bdsInstanceId = bdsInstanceId;
+ this.displayName = displayName;
+ this.compartmentId = compartmentId;
+ this.lifecycleState = lifecycleState;
+ this.timeCreated = timeCreated;
+ this.timeUpdated = timeUpdated;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * The OCID of the BDS capacity reservation configuration.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("id")
+ private String id;
+
+ /**
+ * The OCID of the BDS capacity reservation configuration.
+ * @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 BDS cluster linked through the BDS capacity reservation configuration.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("bdsInstanceId")
+ private String bdsInstanceId;
+
+ /**
+ * The OCID of the BDS cluster linked through the BDS capacity reservation configuration.
+ * @param bdsInstanceId the value to set
+ * @return this builder
+ **/
+ public Builder bdsInstanceId(String bdsInstanceId) {
+ this.bdsInstanceId = bdsInstanceId;
+ this.__explicitlySet__.add("bdsInstanceId");
+ return this;
+ }
+ /**
+ * The display name of the BDS capacity reservation configuration.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private String displayName;
+
+ /**
+ * The display name of the BDS capacity reservation configuration.
+ * @param displayName the value to set
+ * @return this builder
+ **/
+ public Builder displayName(String displayName) {
+ this.displayName = displayName;
+ this.__explicitlySet__.add("displayName");
+ return this;
+ }
+ /**
+ * The OCID of the compartment that contains the BDS cluster.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId")
+ private String compartmentId;
+
+ /**
+ * The OCID of the compartment that contains the BDS cluster.
+ * @param compartmentId the value to set
+ * @return this builder
+ **/
+ public Builder compartmentId(String compartmentId) {
+ this.compartmentId = compartmentId;
+ this.__explicitlySet__.add("compartmentId");
+ return this;
+ }
+ /**
+ * The lifecycle state of the BDS capacity reservation configuration.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState")
+ private LifecycleState lifecycleState;
+
+ /**
+ * The lifecycle state of the BDS capacity reservation configuration.
+ * @param lifecycleState the value to set
+ * @return this builder
+ **/
+ public Builder lifecycleState(LifecycleState lifecycleState) {
+ this.lifecycleState = lifecycleState;
+ this.__explicitlySet__.add("lifecycleState");
+ return this;
+ }
+ /**
+ * The time the configuration was created, shown as an RFC 3339 formatted datetime string.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeCreated")
+ private java.util.Date timeCreated;
+
+ /**
+ * The time the configuration was created, shown as an RFC 3339 formatted datetime string.
+ * @param timeCreated the value to set
+ * @return this builder
+ **/
+ public Builder timeCreated(java.util.Date timeCreated) {
+ this.timeCreated = timeCreated;
+ this.__explicitlySet__.add("timeCreated");
+ return this;
+ }
+ /**
+ * The time the configuration was updated, shown as an RFC 3339 formatted datetime string.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeUpdated")
+ private java.util.Date timeUpdated;
+
+ /**
+ * The time the configuration was updated, shown as an RFC 3339 formatted datetime string.
+ * @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;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public BdsCapacityReservationAssociatedConfigurationSummary build() {
+ BdsCapacityReservationAssociatedConfigurationSummary model =
+ new BdsCapacityReservationAssociatedConfigurationSummary(
+ this.id,
+ this.bdsInstanceId,
+ this.displayName,
+ this.compartmentId,
+ this.lifecycleState,
+ this.timeCreated,
+ this.timeUpdated);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(BdsCapacityReservationAssociatedConfigurationSummary model) {
+ if (model.wasPropertyExplicitlySet("id")) {
+ this.id(model.getId());
+ }
+ if (model.wasPropertyExplicitlySet("bdsInstanceId")) {
+ this.bdsInstanceId(model.getBdsInstanceId());
+ }
+ if (model.wasPropertyExplicitlySet("displayName")) {
+ this.displayName(model.getDisplayName());
+ }
+ if (model.wasPropertyExplicitlySet("compartmentId")) {
+ this.compartmentId(model.getCompartmentId());
+ }
+ if (model.wasPropertyExplicitlySet("lifecycleState")) {
+ this.lifecycleState(model.getLifecycleState());
+ }
+ if (model.wasPropertyExplicitlySet("timeCreated")) {
+ this.timeCreated(model.getTimeCreated());
+ }
+ if (model.wasPropertyExplicitlySet("timeUpdated")) {
+ this.timeUpdated(model.getTimeUpdated());
+ }
+ 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 BDS capacity reservation configuration.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("id")
+ private final String id;
+
+ /**
+ * The OCID of the BDS capacity reservation configuration.
+ * @return the value
+ **/
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * The OCID of the BDS cluster linked through the BDS capacity reservation configuration.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("bdsInstanceId")
+ private final String bdsInstanceId;
+
+ /**
+ * The OCID of the BDS cluster linked through the BDS capacity reservation configuration.
+ * @return the value
+ **/
+ public String getBdsInstanceId() {
+ return bdsInstanceId;
+ }
+
+ /**
+ * The display name of the BDS capacity reservation configuration.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private final String displayName;
+
+ /**
+ * The display name of the BDS capacity reservation configuration.
+ * @return the value
+ **/
+ public String getDisplayName() {
+ return displayName;
+ }
+
+ /**
+ * The OCID of the compartment that contains the BDS cluster.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId")
+ private final String compartmentId;
+
+ /**
+ * The OCID of the compartment that contains the BDS cluster.
+ * @return the value
+ **/
+ public String getCompartmentId() {
+ return compartmentId;
+ }
+
+ /**
+ * The lifecycle state of the BDS capacity reservation configuration.
+ **/
+ public enum LifecycleState {
+ Creating("CREATING"),
+ Active("ACTIVE"),
+ Inactive("INACTIVE"),
+ Updating("UPDATING"),
+ Deleting("DELETING"),
+ Deleted("DELETED"),
+
+ /**
+ * This value is used if a service returns a value for this enum that is not recognized by this
+ * version of the SDK.
+ */
+ UnknownEnumValue(null);
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(LifecycleState.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (LifecycleState v : LifecycleState.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ LifecycleState(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static LifecycleState create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'LifecycleState', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
+ }
+ };
+ /**
+ * The lifecycle state of the BDS capacity reservation configuration.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState")
+ private final LifecycleState lifecycleState;
+
+ /**
+ * The lifecycle state of the BDS capacity reservation configuration.
+ * @return the value
+ **/
+ public LifecycleState getLifecycleState() {
+ return lifecycleState;
+ }
+
+ /**
+ * The time the configuration was created, shown as an RFC 3339 formatted datetime string.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeCreated")
+ private final java.util.Date timeCreated;
+
+ /**
+ * The time the configuration was created, shown as an RFC 3339 formatted datetime string.
+ * @return the value
+ **/
+ public java.util.Date getTimeCreated() {
+ return timeCreated;
+ }
+
+ /**
+ * The time the configuration was updated, shown as an RFC 3339 formatted datetime string.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeUpdated")
+ private final java.util.Date timeUpdated;
+
+ /**
+ * The time the configuration was updated, shown as an RFC 3339 formatted datetime string.
+ * @return the value
+ **/
+ public java.util.Date getTimeUpdated() {
+ return timeUpdated;
+ }
+
+ @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("BdsCapacityReservationAssociatedConfigurationSummary(");
+ sb.append("super=").append(super.toString());
+ sb.append("id=").append(String.valueOf(this.id));
+ sb.append(", bdsInstanceId=").append(String.valueOf(this.bdsInstanceId));
+ sb.append(", displayName=").append(String.valueOf(this.displayName));
+ sb.append(", compartmentId=").append(String.valueOf(this.compartmentId));
+ sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState));
+ sb.append(", timeCreated=").append(String.valueOf(this.timeCreated));
+ sb.append(", timeUpdated=").append(String.valueOf(this.timeUpdated));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof BdsCapacityReservationAssociatedConfigurationSummary)) {
+ return false;
+ }
+
+ BdsCapacityReservationAssociatedConfigurationSummary other =
+ (BdsCapacityReservationAssociatedConfigurationSummary) o;
+ return java.util.Objects.equals(this.id, other.id)
+ && java.util.Objects.equals(this.bdsInstanceId, other.bdsInstanceId)
+ && java.util.Objects.equals(this.displayName, other.displayName)
+ && java.util.Objects.equals(this.compartmentId, other.compartmentId)
+ && java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
+ && java.util.Objects.equals(this.timeCreated, other.timeCreated)
+ && java.util.Objects.equals(this.timeUpdated, other.timeUpdated)
+ && 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.bdsInstanceId == null ? 43 : this.bdsInstanceId.hashCode());
+ result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode());
+ result =
+ (result * PRIME)
+ + (this.compartmentId == null ? 43 : this.compartmentId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode());
+ result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode());
+ result = (result * PRIME) + (this.timeUpdated == null ? 43 : this.timeUpdated.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/BdsCapacityReservationCollection.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/BdsCapacityReservationCollection.java
new file mode 100644
index 00000000000..a305f1645e7
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/BdsCapacityReservationCollection.java
@@ -0,0 +1,136 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.model;
+
+/**
+ * Results of a BDS capacity reservation search.
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = BdsCapacityReservationCollection.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public final class BdsCapacityReservationCollection
+ extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({"items"})
+ public BdsCapacityReservationCollection(java.util.List items) {
+ super();
+ this.items = items;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * List of BDS capacity reservation summaries.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("items")
+ private java.util.List items;
+
+ /**
+ * List of BDS capacity reservation summaries.
+ * @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 BdsCapacityReservationCollection build() {
+ BdsCapacityReservationCollection model =
+ new BdsCapacityReservationCollection(this.items);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(BdsCapacityReservationCollection 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 BDS capacity reservation summaries.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("items")
+ private final java.util.List items;
+
+ /**
+ * List of BDS capacity reservation summaries.
+ * @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("BdsCapacityReservationCollection(");
+ 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 BdsCapacityReservationCollection)) {
+ return false;
+ }
+
+ BdsCapacityReservationCollection other = (BdsCapacityReservationCollection) 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-bds/src/main/java/com/oracle/bmc/bds/model/BdsCapacityReservationConfiguration.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/BdsCapacityReservationConfiguration.java
new file mode 100644
index 00000000000..ee555acdf5c
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/BdsCapacityReservationConfiguration.java
@@ -0,0 +1,443 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.model;
+
+/**
+ * A configuration between a BDS cluster and a BDS capacity reservation.
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = BdsCapacityReservationConfiguration.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public final class BdsCapacityReservationConfiguration
+ extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({
+ "id",
+ "bdsInstanceId",
+ "bdsCapacityReservationId",
+ "displayName",
+ "lifecycleState",
+ "timeCreated",
+ "timeUpdated"
+ })
+ public BdsCapacityReservationConfiguration(
+ String id,
+ String bdsInstanceId,
+ String bdsCapacityReservationId,
+ String displayName,
+ LifecycleState lifecycleState,
+ java.util.Date timeCreated,
+ java.util.Date timeUpdated) {
+ super();
+ this.id = id;
+ this.bdsInstanceId = bdsInstanceId;
+ this.bdsCapacityReservationId = bdsCapacityReservationId;
+ this.displayName = displayName;
+ this.lifecycleState = lifecycleState;
+ this.timeCreated = timeCreated;
+ this.timeUpdated = timeUpdated;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * The OCID of the BDS capacity reservation configuration.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("id")
+ private String id;
+
+ /**
+ * The OCID of the BDS capacity reservation configuration.
+ * @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 BDS cluster associated with the BDS capacity reservation.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("bdsInstanceId")
+ private String bdsInstanceId;
+
+ /**
+ * The OCID of the BDS cluster associated with the BDS capacity reservation.
+ * @param bdsInstanceId the value to set
+ * @return this builder
+ **/
+ public Builder bdsInstanceId(String bdsInstanceId) {
+ this.bdsInstanceId = bdsInstanceId;
+ this.__explicitlySet__.add("bdsInstanceId");
+ return this;
+ }
+ /**
+ * The OCID of the BDS capacity reservation associated with the BDS cluster.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("bdsCapacityReservationId")
+ private String bdsCapacityReservationId;
+
+ /**
+ * The OCID of the BDS capacity reservation associated with the BDS cluster.
+ * @param bdsCapacityReservationId the value to set
+ * @return this builder
+ **/
+ public Builder bdsCapacityReservationId(String bdsCapacityReservationId) {
+ this.bdsCapacityReservationId = bdsCapacityReservationId;
+ this.__explicitlySet__.add("bdsCapacityReservationId");
+ return this;
+ }
+ /**
+ * The display name of the BDS capacity reservation configuration.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private String displayName;
+
+ /**
+ * The display name of the BDS capacity reservation configuration.
+ * @param displayName the value to set
+ * @return this builder
+ **/
+ public Builder displayName(String displayName) {
+ this.displayName = displayName;
+ this.__explicitlySet__.add("displayName");
+ return this;
+ }
+ /**
+ * The lifecycle state of the BDS capacity reservation configuration.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState")
+ private LifecycleState lifecycleState;
+
+ /**
+ * The lifecycle state of the BDS capacity reservation configuration.
+ * @param lifecycleState the value to set
+ * @return this builder
+ **/
+ public Builder lifecycleState(LifecycleState lifecycleState) {
+ this.lifecycleState = lifecycleState;
+ this.__explicitlySet__.add("lifecycleState");
+ return this;
+ }
+ /**
+ * The time the BDS capacity reservation configuration was created, shown as an RFC 3339 formatted datetime string.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeCreated")
+ private java.util.Date timeCreated;
+
+ /**
+ * The time the BDS capacity reservation configuration was created, shown as an RFC 3339 formatted datetime string.
+ * @param timeCreated the value to set
+ * @return this builder
+ **/
+ public Builder timeCreated(java.util.Date timeCreated) {
+ this.timeCreated = timeCreated;
+ this.__explicitlySet__.add("timeCreated");
+ return this;
+ }
+ /**
+ * The time the BDS capacity reservation configuration was updated, shown as an RFC 3339 formatted datetime string.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeUpdated")
+ private java.util.Date timeUpdated;
+
+ /**
+ * The time the BDS capacity reservation configuration was updated, shown as an RFC 3339 formatted datetime string.
+ * @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;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public BdsCapacityReservationConfiguration build() {
+ BdsCapacityReservationConfiguration model =
+ new BdsCapacityReservationConfiguration(
+ this.id,
+ this.bdsInstanceId,
+ this.bdsCapacityReservationId,
+ this.displayName,
+ this.lifecycleState,
+ this.timeCreated,
+ this.timeUpdated);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(BdsCapacityReservationConfiguration model) {
+ if (model.wasPropertyExplicitlySet("id")) {
+ this.id(model.getId());
+ }
+ if (model.wasPropertyExplicitlySet("bdsInstanceId")) {
+ this.bdsInstanceId(model.getBdsInstanceId());
+ }
+ if (model.wasPropertyExplicitlySet("bdsCapacityReservationId")) {
+ this.bdsCapacityReservationId(model.getBdsCapacityReservationId());
+ }
+ if (model.wasPropertyExplicitlySet("displayName")) {
+ this.displayName(model.getDisplayName());
+ }
+ if (model.wasPropertyExplicitlySet("lifecycleState")) {
+ this.lifecycleState(model.getLifecycleState());
+ }
+ if (model.wasPropertyExplicitlySet("timeCreated")) {
+ this.timeCreated(model.getTimeCreated());
+ }
+ if (model.wasPropertyExplicitlySet("timeUpdated")) {
+ this.timeUpdated(model.getTimeUpdated());
+ }
+ 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 BDS capacity reservation configuration.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("id")
+ private final String id;
+
+ /**
+ * The OCID of the BDS capacity reservation configuration.
+ * @return the value
+ **/
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * The OCID of the BDS cluster associated with the BDS capacity reservation.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("bdsInstanceId")
+ private final String bdsInstanceId;
+
+ /**
+ * The OCID of the BDS cluster associated with the BDS capacity reservation.
+ * @return the value
+ **/
+ public String getBdsInstanceId() {
+ return bdsInstanceId;
+ }
+
+ /**
+ * The OCID of the BDS capacity reservation associated with the BDS cluster.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("bdsCapacityReservationId")
+ private final String bdsCapacityReservationId;
+
+ /**
+ * The OCID of the BDS capacity reservation associated with the BDS cluster.
+ * @return the value
+ **/
+ public String getBdsCapacityReservationId() {
+ return bdsCapacityReservationId;
+ }
+
+ /**
+ * The display name of the BDS capacity reservation configuration.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private final String displayName;
+
+ /**
+ * The display name of the BDS capacity reservation configuration.
+ * @return the value
+ **/
+ public String getDisplayName() {
+ return displayName;
+ }
+
+ /**
+ * The lifecycle state of the BDS capacity reservation configuration.
+ **/
+ public enum LifecycleState {
+ Creating("CREATING"),
+ Active("ACTIVE"),
+ Inactive("INACTIVE"),
+ Updating("UPDATING"),
+ Deleting("DELETING"),
+ Deleted("DELETED"),
+
+ /**
+ * This value is used if a service returns a value for this enum that is not recognized by this
+ * version of the SDK.
+ */
+ UnknownEnumValue(null);
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(LifecycleState.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (LifecycleState v : LifecycleState.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ LifecycleState(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static LifecycleState create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'LifecycleState', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
+ }
+ };
+ /**
+ * The lifecycle state of the BDS capacity reservation configuration.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState")
+ private final LifecycleState lifecycleState;
+
+ /**
+ * The lifecycle state of the BDS capacity reservation configuration.
+ * @return the value
+ **/
+ public LifecycleState getLifecycleState() {
+ return lifecycleState;
+ }
+
+ /**
+ * The time the BDS capacity reservation configuration was created, shown as an RFC 3339 formatted datetime string.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeCreated")
+ private final java.util.Date timeCreated;
+
+ /**
+ * The time the BDS capacity reservation configuration was created, shown as an RFC 3339 formatted datetime string.
+ * @return the value
+ **/
+ public java.util.Date getTimeCreated() {
+ return timeCreated;
+ }
+
+ /**
+ * The time the BDS capacity reservation configuration was updated, shown as an RFC 3339 formatted datetime string.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeUpdated")
+ private final java.util.Date timeUpdated;
+
+ /**
+ * The time the BDS capacity reservation configuration was updated, shown as an RFC 3339 formatted datetime string.
+ * @return the value
+ **/
+ public java.util.Date getTimeUpdated() {
+ return timeUpdated;
+ }
+
+ @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("BdsCapacityReservationConfiguration(");
+ sb.append("super=").append(super.toString());
+ sb.append("id=").append(String.valueOf(this.id));
+ sb.append(", bdsInstanceId=").append(String.valueOf(this.bdsInstanceId));
+ sb.append(", bdsCapacityReservationId=")
+ .append(String.valueOf(this.bdsCapacityReservationId));
+ sb.append(", displayName=").append(String.valueOf(this.displayName));
+ sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState));
+ sb.append(", timeCreated=").append(String.valueOf(this.timeCreated));
+ sb.append(", timeUpdated=").append(String.valueOf(this.timeUpdated));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof BdsCapacityReservationConfiguration)) {
+ return false;
+ }
+
+ BdsCapacityReservationConfiguration other = (BdsCapacityReservationConfiguration) o;
+ return java.util.Objects.equals(this.id, other.id)
+ && java.util.Objects.equals(this.bdsInstanceId, other.bdsInstanceId)
+ && java.util.Objects.equals(
+ this.bdsCapacityReservationId, other.bdsCapacityReservationId)
+ && java.util.Objects.equals(this.displayName, other.displayName)
+ && java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
+ && java.util.Objects.equals(this.timeCreated, other.timeCreated)
+ && java.util.Objects.equals(this.timeUpdated, other.timeUpdated)
+ && 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.bdsInstanceId == null ? 43 : this.bdsInstanceId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.bdsCapacityReservationId == null
+ ? 43
+ : this.bdsCapacityReservationId.hashCode());
+ result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode());
+ result =
+ (result * PRIME)
+ + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode());
+ result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode());
+ result = (result * PRIME) + (this.timeUpdated == null ? 43 : this.timeUpdated.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/BdsCapacityReservationConfigurationCollection.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/BdsCapacityReservationConfigurationCollection.java
new file mode 100644
index 00000000000..5ddd41f2d32
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/BdsCapacityReservationConfigurationCollection.java
@@ -0,0 +1,138 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.model;
+
+/**
+ * Results of a BDS capacity reservation configuration search.
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = BdsCapacityReservationConfigurationCollection.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public final class BdsCapacityReservationConfigurationCollection
+ extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({"items"})
+ public BdsCapacityReservationConfigurationCollection(
+ java.util.List items) {
+ super();
+ this.items = items;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * List of BDS capacity reservation configuration summaries.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("items")
+ private java.util.List items;
+
+ /**
+ * List of BDS capacity reservation configuration summaries.
+ * @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 BdsCapacityReservationConfigurationCollection build() {
+ BdsCapacityReservationConfigurationCollection model =
+ new BdsCapacityReservationConfigurationCollection(this.items);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(BdsCapacityReservationConfigurationCollection 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 BDS capacity reservation configuration summaries.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("items")
+ private final java.util.List items;
+
+ /**
+ * List of BDS capacity reservation configuration summaries.
+ * @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("BdsCapacityReservationConfigurationCollection(");
+ 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 BdsCapacityReservationConfigurationCollection)) {
+ return false;
+ }
+
+ BdsCapacityReservationConfigurationCollection other =
+ (BdsCapacityReservationConfigurationCollection) 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-bds/src/main/java/com/oracle/bmc/bds/model/BdsCapacityReservationConfigurationSummary.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/BdsCapacityReservationConfigurationSummary.java
new file mode 100644
index 00000000000..9ed5babb4ad
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/BdsCapacityReservationConfigurationSummary.java
@@ -0,0 +1,393 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.model;
+
+/**
+ * Summary of a configuration between a BDS cluster and a BDS capacity reservation.
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = BdsCapacityReservationConfigurationSummary.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public final class BdsCapacityReservationConfigurationSummary
+ extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({
+ "id",
+ "bdsInstanceId",
+ "bdsCapacityReservationId",
+ "displayName",
+ "lifecycleState",
+ "timeCreated",
+ "timeUpdated"
+ })
+ public BdsCapacityReservationConfigurationSummary(
+ String id,
+ String bdsInstanceId,
+ String bdsCapacityReservationId,
+ String displayName,
+ BdsCapacityReservationConfiguration.LifecycleState lifecycleState,
+ java.util.Date timeCreated,
+ java.util.Date timeUpdated) {
+ super();
+ this.id = id;
+ this.bdsInstanceId = bdsInstanceId;
+ this.bdsCapacityReservationId = bdsCapacityReservationId;
+ this.displayName = displayName;
+ this.lifecycleState = lifecycleState;
+ this.timeCreated = timeCreated;
+ this.timeUpdated = timeUpdated;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * The OCID of the BDS capacity reservation configuration.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("id")
+ private String id;
+
+ /**
+ * The OCID of the BDS capacity reservation configuration.
+ * @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 BDS cluster associated with the BDS capacity reservation.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("bdsInstanceId")
+ private String bdsInstanceId;
+
+ /**
+ * The OCID of the BDS cluster associated with the BDS capacity reservation.
+ * @param bdsInstanceId the value to set
+ * @return this builder
+ **/
+ public Builder bdsInstanceId(String bdsInstanceId) {
+ this.bdsInstanceId = bdsInstanceId;
+ this.__explicitlySet__.add("bdsInstanceId");
+ return this;
+ }
+ /**
+ * The OCID of the BDS capacity reservation associated with the BDS cluster.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("bdsCapacityReservationId")
+ private String bdsCapacityReservationId;
+
+ /**
+ * The OCID of the BDS capacity reservation associated with the BDS cluster.
+ * @param bdsCapacityReservationId the value to set
+ * @return this builder
+ **/
+ public Builder bdsCapacityReservationId(String bdsCapacityReservationId) {
+ this.bdsCapacityReservationId = bdsCapacityReservationId;
+ this.__explicitlySet__.add("bdsCapacityReservationId");
+ return this;
+ }
+ /**
+ * The display name of the BDS capacity reservation configuration.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private String displayName;
+
+ /**
+ * The display name of the BDS capacity reservation configuration.
+ * @param displayName the value to set
+ * @return this builder
+ **/
+ public Builder displayName(String displayName) {
+ this.displayName = displayName;
+ this.__explicitlySet__.add("displayName");
+ return this;
+ }
+ /**
+ * The lifecycle state of the BDS capacity reservation configuration.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState")
+ private BdsCapacityReservationConfiguration.LifecycleState lifecycleState;
+
+ /**
+ * The lifecycle state of the BDS capacity reservation configuration.
+ * @param lifecycleState the value to set
+ * @return this builder
+ **/
+ public Builder lifecycleState(
+ BdsCapacityReservationConfiguration.LifecycleState lifecycleState) {
+ this.lifecycleState = lifecycleState;
+ this.__explicitlySet__.add("lifecycleState");
+ return this;
+ }
+ /**
+ * The time the BDS capacity reservation configuration was created, shown as an RFC 3339 formatted datetime string.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeCreated")
+ private java.util.Date timeCreated;
+
+ /**
+ * The time the BDS capacity reservation configuration was created, shown as an RFC 3339 formatted datetime string.
+ * @param timeCreated the value to set
+ * @return this builder
+ **/
+ public Builder timeCreated(java.util.Date timeCreated) {
+ this.timeCreated = timeCreated;
+ this.__explicitlySet__.add("timeCreated");
+ return this;
+ }
+ /**
+ * The time the BDS capacity reservation configuration was updated, shown as an RFC 3339 formatted datetime string.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeUpdated")
+ private java.util.Date timeUpdated;
+
+ /**
+ * The time the BDS capacity reservation configuration was updated, shown as an RFC 3339 formatted datetime string.
+ * @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;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public BdsCapacityReservationConfigurationSummary build() {
+ BdsCapacityReservationConfigurationSummary model =
+ new BdsCapacityReservationConfigurationSummary(
+ this.id,
+ this.bdsInstanceId,
+ this.bdsCapacityReservationId,
+ this.displayName,
+ this.lifecycleState,
+ this.timeCreated,
+ this.timeUpdated);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(BdsCapacityReservationConfigurationSummary model) {
+ if (model.wasPropertyExplicitlySet("id")) {
+ this.id(model.getId());
+ }
+ if (model.wasPropertyExplicitlySet("bdsInstanceId")) {
+ this.bdsInstanceId(model.getBdsInstanceId());
+ }
+ if (model.wasPropertyExplicitlySet("bdsCapacityReservationId")) {
+ this.bdsCapacityReservationId(model.getBdsCapacityReservationId());
+ }
+ if (model.wasPropertyExplicitlySet("displayName")) {
+ this.displayName(model.getDisplayName());
+ }
+ if (model.wasPropertyExplicitlySet("lifecycleState")) {
+ this.lifecycleState(model.getLifecycleState());
+ }
+ if (model.wasPropertyExplicitlySet("timeCreated")) {
+ this.timeCreated(model.getTimeCreated());
+ }
+ if (model.wasPropertyExplicitlySet("timeUpdated")) {
+ this.timeUpdated(model.getTimeUpdated());
+ }
+ 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 BDS capacity reservation configuration.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("id")
+ private final String id;
+
+ /**
+ * The OCID of the BDS capacity reservation configuration.
+ * @return the value
+ **/
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * The OCID of the BDS cluster associated with the BDS capacity reservation.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("bdsInstanceId")
+ private final String bdsInstanceId;
+
+ /**
+ * The OCID of the BDS cluster associated with the BDS capacity reservation.
+ * @return the value
+ **/
+ public String getBdsInstanceId() {
+ return bdsInstanceId;
+ }
+
+ /**
+ * The OCID of the BDS capacity reservation associated with the BDS cluster.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("bdsCapacityReservationId")
+ private final String bdsCapacityReservationId;
+
+ /**
+ * The OCID of the BDS capacity reservation associated with the BDS cluster.
+ * @return the value
+ **/
+ public String getBdsCapacityReservationId() {
+ return bdsCapacityReservationId;
+ }
+
+ /**
+ * The display name of the BDS capacity reservation configuration.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private final String displayName;
+
+ /**
+ * The display name of the BDS capacity reservation configuration.
+ * @return the value
+ **/
+ public String getDisplayName() {
+ return displayName;
+ }
+
+ /**
+ * The lifecycle state of the BDS capacity reservation configuration.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState")
+ private final BdsCapacityReservationConfiguration.LifecycleState lifecycleState;
+
+ /**
+ * The lifecycle state of the BDS capacity reservation configuration.
+ * @return the value
+ **/
+ public BdsCapacityReservationConfiguration.LifecycleState getLifecycleState() {
+ return lifecycleState;
+ }
+
+ /**
+ * The time the BDS capacity reservation configuration was created, shown as an RFC 3339 formatted datetime string.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeCreated")
+ private final java.util.Date timeCreated;
+
+ /**
+ * The time the BDS capacity reservation configuration was created, shown as an RFC 3339 formatted datetime string.
+ * @return the value
+ **/
+ public java.util.Date getTimeCreated() {
+ return timeCreated;
+ }
+
+ /**
+ * The time the BDS capacity reservation configuration was updated, shown as an RFC 3339 formatted datetime string.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeUpdated")
+ private final java.util.Date timeUpdated;
+
+ /**
+ * The time the BDS capacity reservation configuration was updated, shown as an RFC 3339 formatted datetime string.
+ * @return the value
+ **/
+ public java.util.Date getTimeUpdated() {
+ return timeUpdated;
+ }
+
+ @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("BdsCapacityReservationConfigurationSummary(");
+ sb.append("super=").append(super.toString());
+ sb.append("id=").append(String.valueOf(this.id));
+ sb.append(", bdsInstanceId=").append(String.valueOf(this.bdsInstanceId));
+ sb.append(", bdsCapacityReservationId=")
+ .append(String.valueOf(this.bdsCapacityReservationId));
+ sb.append(", displayName=").append(String.valueOf(this.displayName));
+ sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState));
+ sb.append(", timeCreated=").append(String.valueOf(this.timeCreated));
+ sb.append(", timeUpdated=").append(String.valueOf(this.timeUpdated));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof BdsCapacityReservationConfigurationSummary)) {
+ return false;
+ }
+
+ BdsCapacityReservationConfigurationSummary other =
+ (BdsCapacityReservationConfigurationSummary) o;
+ return java.util.Objects.equals(this.id, other.id)
+ && java.util.Objects.equals(this.bdsInstanceId, other.bdsInstanceId)
+ && java.util.Objects.equals(
+ this.bdsCapacityReservationId, other.bdsCapacityReservationId)
+ && java.util.Objects.equals(this.displayName, other.displayName)
+ && java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
+ && java.util.Objects.equals(this.timeCreated, other.timeCreated)
+ && java.util.Objects.equals(this.timeUpdated, other.timeUpdated)
+ && 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.bdsInstanceId == null ? 43 : this.bdsInstanceId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.bdsCapacityReservationId == null
+ ? 43
+ : this.bdsCapacityReservationId.hashCode());
+ result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode());
+ result =
+ (result * PRIME)
+ + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode());
+ result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode());
+ result = (result * PRIME) + (this.timeUpdated == null ? 43 : this.timeUpdated.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/BdsCapacityReservationSummary.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/BdsCapacityReservationSummary.java
new file mode 100644
index 00000000000..67c5a4314d3
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/BdsCapacityReservationSummary.java
@@ -0,0 +1,515 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.model;
+
+/**
+ * Summary of a BDS capacity reservation.
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = BdsCapacityReservationSummary.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public final class BdsCapacityReservationSummary
+ extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({
+ "id",
+ "displayName",
+ "compartmentId",
+ "computeCapacityReservations",
+ "lifecycleState",
+ "timeCreated",
+ "timeUpdated",
+ "freeformTags",
+ "definedTags",
+ "systemTags"
+ })
+ public BdsCapacityReservationSummary(
+ String id,
+ String displayName,
+ String compartmentId,
+ ComputeCapacityReservations computeCapacityReservations,
+ BdsCapacityReservation.LifecycleState lifecycleState,
+ java.util.Date timeCreated,
+ java.util.Date timeUpdated,
+ java.util.Map freeformTags,
+ java.util.Map> definedTags,
+ java.util.Map> systemTags) {
+ super();
+ this.id = id;
+ this.displayName = displayName;
+ this.compartmentId = compartmentId;
+ this.computeCapacityReservations = computeCapacityReservations;
+ this.lifecycleState = lifecycleState;
+ this.timeCreated = timeCreated;
+ this.timeUpdated = timeUpdated;
+ this.freeformTags = freeformTags;
+ this.definedTags = definedTags;
+ this.systemTags = systemTags;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * The OCID of the BDS capacity reservation.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("id")
+ private String id;
+
+ /**
+ * The OCID of the BDS capacity reservation.
+ * @param id the value to set
+ * @return this builder
+ **/
+ public Builder id(String id) {
+ this.id = id;
+ this.__explicitlySet__.add("id");
+ return this;
+ }
+ /**
+ * A user-friendly name for the BDS capacity reservation.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private String displayName;
+
+ /**
+ * A user-friendly name for the BDS capacity reservation.
+ * @param displayName the value to set
+ * @return this builder
+ **/
+ public Builder displayName(String displayName) {
+ this.displayName = displayName;
+ this.__explicitlySet__.add("displayName");
+ return this;
+ }
+ /**
+ * The OCID of the compartment that contains the BDS capacity reservation.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId")
+ private String compartmentId;
+
+ /**
+ * The OCID of the compartment that contains the BDS capacity reservation.
+ * @param compartmentId the value to set
+ * @return this builder
+ **/
+ public Builder compartmentId(String compartmentId) {
+ this.compartmentId = compartmentId;
+ this.__explicitlySet__.add("compartmentId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("computeCapacityReservations")
+ private ComputeCapacityReservations computeCapacityReservations;
+
+ public Builder computeCapacityReservations(
+ ComputeCapacityReservations computeCapacityReservations) {
+ this.computeCapacityReservations = computeCapacityReservations;
+ this.__explicitlySet__.add("computeCapacityReservations");
+ return this;
+ }
+ /**
+ * The lifecycle state of the BDS capacity reservation.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState")
+ private BdsCapacityReservation.LifecycleState lifecycleState;
+
+ /**
+ * The lifecycle state of the BDS capacity reservation.
+ * @param lifecycleState the value to set
+ * @return this builder
+ **/
+ public Builder lifecycleState(BdsCapacityReservation.LifecycleState lifecycleState) {
+ this.lifecycleState = lifecycleState;
+ this.__explicitlySet__.add("lifecycleState");
+ return this;
+ }
+ /**
+ * The time the BDS capacity reservation was created, shown as an RFC 3339 formatted datetime string.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeCreated")
+ private java.util.Date timeCreated;
+
+ /**
+ * The time the BDS capacity reservation was created, shown as an RFC 3339 formatted datetime string.
+ * @param timeCreated the value to set
+ * @return this builder
+ **/
+ public Builder timeCreated(java.util.Date timeCreated) {
+ this.timeCreated = timeCreated;
+ this.__explicitlySet__.add("timeCreated");
+ return this;
+ }
+ /**
+ * The time the BDS capacity reservation was updated, shown as an RFC 3339 formatted datetime string.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeUpdated")
+ private java.util.Date timeUpdated;
+
+ /**
+ * The time the BDS capacity reservation was updated, shown as an RFC 3339 formatted datetime string.
+ * @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;
+ }
+ /**
+ * Simple key-value pair that is applied without any predefined name, type, or scope.
+ * Exists for cross-compatibility only. For example, {@code {"bar-key": "value"}}
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("freeformTags")
+ private java.util.Map freeformTags;
+
+ /**
+ * Simple key-value pair that is applied without any predefined name, type, or scope.
+ * Exists for cross-compatibility only. For example, {@code {"bar-key": "value"}}
+ *
+ * @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 example, {@code {"foo-namespace": {"bar-key": "value"}}}
+ *
+ **/
+ @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 example, {@code {"foo-namespace": {"bar-key": "value"}}}
+ *
+ * @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;
+ }
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("systemTags")
+ private java.util.Map> systemTags;
+
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * @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 BdsCapacityReservationSummary build() {
+ BdsCapacityReservationSummary model =
+ new BdsCapacityReservationSummary(
+ this.id,
+ this.displayName,
+ this.compartmentId,
+ this.computeCapacityReservations,
+ this.lifecycleState,
+ this.timeCreated,
+ this.timeUpdated,
+ this.freeformTags,
+ this.definedTags,
+ this.systemTags);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(BdsCapacityReservationSummary model) {
+ if (model.wasPropertyExplicitlySet("id")) {
+ this.id(model.getId());
+ }
+ if (model.wasPropertyExplicitlySet("displayName")) {
+ this.displayName(model.getDisplayName());
+ }
+ if (model.wasPropertyExplicitlySet("compartmentId")) {
+ this.compartmentId(model.getCompartmentId());
+ }
+ if (model.wasPropertyExplicitlySet("computeCapacityReservations")) {
+ this.computeCapacityReservations(model.getComputeCapacityReservations());
+ }
+ if (model.wasPropertyExplicitlySet("lifecycleState")) {
+ this.lifecycleState(model.getLifecycleState());
+ }
+ if (model.wasPropertyExplicitlySet("timeCreated")) {
+ this.timeCreated(model.getTimeCreated());
+ }
+ if (model.wasPropertyExplicitlySet("timeUpdated")) {
+ this.timeUpdated(model.getTimeUpdated());
+ }
+ 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 BDS capacity reservation.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("id")
+ private final String id;
+
+ /**
+ * The OCID of the BDS capacity reservation.
+ * @return the value
+ **/
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * A user-friendly name for the BDS capacity reservation.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private final String displayName;
+
+ /**
+ * A user-friendly name for the BDS capacity reservation.
+ * @return the value
+ **/
+ public String getDisplayName() {
+ return displayName;
+ }
+
+ /**
+ * The OCID of the compartment that contains the BDS capacity reservation.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId")
+ private final String compartmentId;
+
+ /**
+ * The OCID of the compartment that contains the BDS capacity reservation.
+ * @return the value
+ **/
+ public String getCompartmentId() {
+ return compartmentId;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("computeCapacityReservations")
+ private final ComputeCapacityReservations computeCapacityReservations;
+
+ public ComputeCapacityReservations getComputeCapacityReservations() {
+ return computeCapacityReservations;
+ }
+
+ /**
+ * The lifecycle state of the BDS capacity reservation.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState")
+ private final BdsCapacityReservation.LifecycleState lifecycleState;
+
+ /**
+ * The lifecycle state of the BDS capacity reservation.
+ * @return the value
+ **/
+ public BdsCapacityReservation.LifecycleState getLifecycleState() {
+ return lifecycleState;
+ }
+
+ /**
+ * The time the BDS capacity reservation was created, shown as an RFC 3339 formatted datetime string.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeCreated")
+ private final java.util.Date timeCreated;
+
+ /**
+ * The time the BDS capacity reservation was created, shown as an RFC 3339 formatted datetime string.
+ * @return the value
+ **/
+ public java.util.Date getTimeCreated() {
+ return timeCreated;
+ }
+
+ /**
+ * The time the BDS capacity reservation was updated, shown as an RFC 3339 formatted datetime string.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeUpdated")
+ private final java.util.Date timeUpdated;
+
+ /**
+ * The time the BDS capacity reservation was updated, shown as an RFC 3339 formatted datetime string.
+ * @return the value
+ **/
+ public java.util.Date getTimeUpdated() {
+ return timeUpdated;
+ }
+
+ /**
+ * Simple key-value pair that is applied without any predefined name, type, or scope.
+ * Exists for cross-compatibility only. For example, {@code {"bar-key": "value"}}
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("freeformTags")
+ private final java.util.Map freeformTags;
+
+ /**
+ * Simple key-value pair that is applied without any predefined name, type, or scope.
+ * Exists for cross-compatibility only. For example, {@code {"bar-key": "value"}}
+ *
+ * @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 example, {@code {"foo-namespace": {"bar-key": "value"}}}
+ *
+ **/
+ @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 example, {@code {"foo-namespace": {"bar-key": "value"}}}
+ *
+ * @return the value
+ **/
+ public java.util.Map> getDefinedTags() {
+ return definedTags;
+ }
+
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("systemTags")
+ private final java.util.Map> systemTags;
+
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * @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("BdsCapacityReservationSummary(");
+ sb.append("super=").append(super.toString());
+ sb.append("id=").append(String.valueOf(this.id));
+ sb.append(", displayName=").append(String.valueOf(this.displayName));
+ sb.append(", compartmentId=").append(String.valueOf(this.compartmentId));
+ sb.append(", computeCapacityReservations=")
+ .append(String.valueOf(this.computeCapacityReservations));
+ sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState));
+ sb.append(", timeCreated=").append(String.valueOf(this.timeCreated));
+ sb.append(", timeUpdated=").append(String.valueOf(this.timeUpdated));
+ 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 BdsCapacityReservationSummary)) {
+ return false;
+ }
+
+ BdsCapacityReservationSummary other = (BdsCapacityReservationSummary) o;
+ return java.util.Objects.equals(this.id, other.id)
+ && java.util.Objects.equals(this.displayName, other.displayName)
+ && java.util.Objects.equals(this.compartmentId, other.compartmentId)
+ && java.util.Objects.equals(
+ this.computeCapacityReservations, other.computeCapacityReservations)
+ && java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
+ && java.util.Objects.equals(this.timeCreated, other.timeCreated)
+ && java.util.Objects.equals(this.timeUpdated, other.timeUpdated)
+ && 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.displayName == null ? 43 : this.displayName.hashCode());
+ result =
+ (result * PRIME)
+ + (this.compartmentId == null ? 43 : this.compartmentId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.computeCapacityReservations == null
+ ? 43
+ : this.computeCapacityReservations.hashCode());
+ result =
+ (result * PRIME)
+ + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode());
+ result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode());
+ result = (result * PRIME) + (this.timeUpdated == null ? 43 : this.timeUpdated.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-bds/src/main/java/com/oracle/bmc/bds/model/BdsInstance.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/BdsInstance.java
index 28874e532d0..10e07ba0c07 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/BdsInstance.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/BdsInstance.java
@@ -34,6 +34,7 @@ public final class BdsInstance extends com.oracle.bmc.http.internal.ExplicitlySe
"networkConfig",
"clusterDetails",
"nodes",
+ "bdsCapacityReservationConfigurations",
"cloudSqlDetails",
"createdBy",
"timeCreated",
@@ -63,6 +64,8 @@ public BdsInstance(
NetworkConfig networkConfig,
ClusterDetails clusterDetails,
java.util.List nodes,
+ java.util.List
+ bdsCapacityReservationConfigurations,
CloudSqlDetails cloudSqlDetails,
String createdBy,
java.util.Date timeCreated,
@@ -91,6 +94,7 @@ public BdsInstance(
this.networkConfig = networkConfig;
this.clusterDetails = clusterDetails;
this.nodes = nodes;
+ this.bdsCapacityReservationConfigurations = bdsCapacityReservationConfigurations;
this.cloudSqlDetails = cloudSqlDetails;
this.createdBy = createdBy;
this.timeCreated = timeCreated;
@@ -318,6 +322,25 @@ public Builder nodes(java.util.List nodes) {
this.__explicitlySet__.add("nodes");
return this;
}
+ /**
+ * The list of BDS capacity reservation configurations associated with the cluster.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("bdsCapacityReservationConfigurations")
+ private java.util.List
+ bdsCapacityReservationConfigurations;
+
+ /**
+ * The list of BDS capacity reservation configurations associated with the cluster.
+ * @param bdsCapacityReservationConfigurations the value to set
+ * @return this builder
+ **/
+ public Builder bdsCapacityReservationConfigurations(
+ java.util.List
+ bdsCapacityReservationConfigurations) {
+ this.bdsCapacityReservationConfigurations = bdsCapacityReservationConfigurations;
+ this.__explicitlySet__.add("bdsCapacityReservationConfigurations");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonProperty("cloudSqlDetails")
private CloudSqlDetails cloudSqlDetails;
@@ -544,6 +567,7 @@ public BdsInstance build() {
this.networkConfig,
this.clusterDetails,
this.nodes,
+ this.bdsCapacityReservationConfigurations,
this.cloudSqlDetails,
this.createdBy,
this.timeCreated,
@@ -607,6 +631,10 @@ public Builder copy(BdsInstance model) {
if (model.wasPropertyExplicitlySet("nodes")) {
this.nodes(model.getNodes());
}
+ if (model.wasPropertyExplicitlySet("bdsCapacityReservationConfigurations")) {
+ this.bdsCapacityReservationConfigurations(
+ model.getBdsCapacityReservationConfigurations());
+ }
if (model.wasPropertyExplicitlySet("cloudSqlDetails")) {
this.cloudSqlDetails(model.getCloudSqlDetails());
}
@@ -952,6 +980,22 @@ public java.util.List getNodes() {
return nodes;
}
+ /**
+ * The list of BDS capacity reservation configurations associated with the cluster.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("bdsCapacityReservationConfigurations")
+ private final java.util.List
+ bdsCapacityReservationConfigurations;
+
+ /**
+ * The list of BDS capacity reservation configurations associated with the cluster.
+ * @return the value
+ **/
+ public java.util.List
+ getBdsCapacityReservationConfigurations() {
+ return bdsCapacityReservationConfigurations;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("cloudSqlDetails")
private final CloudSqlDetails cloudSqlDetails;
@@ -1209,6 +1253,8 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", networkConfig=").append(String.valueOf(this.networkConfig));
sb.append(", clusterDetails=").append(String.valueOf(this.clusterDetails));
sb.append(", nodes=").append(String.valueOf(this.nodes));
+ sb.append(", bdsCapacityReservationConfigurations=")
+ .append(String.valueOf(this.bdsCapacityReservationConfigurations));
sb.append(", cloudSqlDetails=").append(String.valueOf(this.cloudSqlDetails));
sb.append(", createdBy=").append(String.valueOf(this.createdBy));
sb.append(", timeCreated=").append(String.valueOf(this.timeCreated));
@@ -1253,6 +1299,9 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.networkConfig, other.networkConfig)
&& java.util.Objects.equals(this.clusterDetails, other.clusterDetails)
&& java.util.Objects.equals(this.nodes, other.nodes)
+ && java.util.Objects.equals(
+ this.bdsCapacityReservationConfigurations,
+ other.bdsCapacityReservationConfigurations)
&& java.util.Objects.equals(this.cloudSqlDetails, other.cloudSqlDetails)
&& java.util.Objects.equals(this.createdBy, other.createdBy)
&& java.util.Objects.equals(this.timeCreated, other.timeCreated)
@@ -1314,6 +1363,11 @@ public int hashCode() {
(result * PRIME)
+ (this.clusterDetails == null ? 43 : this.clusterDetails.hashCode());
result = (result * PRIME) + (this.nodes == null ? 43 : this.nodes.hashCode());
+ result =
+ (result * PRIME)
+ + (this.bdsCapacityReservationConfigurations == null
+ ? 43
+ : this.bdsCapacityReservationConfigurations.hashCode());
result =
(result * PRIME)
+ (this.cloudSqlDetails == null ? 43 : this.cloudSqlDetails.hashCode());
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/ChangeBdsCapacityReservationCompartmentDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/ChangeBdsCapacityReservationCompartmentDetails.java
new file mode 100644
index 00000000000..669289c44a7
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/ChangeBdsCapacityReservationCompartmentDetails.java
@@ -0,0 +1,140 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.model;
+
+/**
+ * Details for moving a BDS capacity reservation to a different compartment.
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = ChangeBdsCapacityReservationCompartmentDetails.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public final class ChangeBdsCapacityReservationCompartmentDetails
+ extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({"compartmentId"})
+ public ChangeBdsCapacityReservationCompartmentDetails(String compartmentId) {
+ super();
+ this.compartmentId = compartmentId;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * The OCID of the compartment to move the BDS capacity reservation to.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId")
+ private String compartmentId;
+
+ /**
+ * The OCID of the compartment to move the BDS capacity reservation to.
+ * @param compartmentId the value to set
+ * @return this builder
+ **/
+ public Builder compartmentId(String compartmentId) {
+ this.compartmentId = compartmentId;
+ this.__explicitlySet__.add("compartmentId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public ChangeBdsCapacityReservationCompartmentDetails build() {
+ ChangeBdsCapacityReservationCompartmentDetails model =
+ new ChangeBdsCapacityReservationCompartmentDetails(this.compartmentId);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(ChangeBdsCapacityReservationCompartmentDetails model) {
+ if (model.wasPropertyExplicitlySet("compartmentId")) {
+ this.compartmentId(model.getCompartmentId());
+ }
+ 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 compartment to move the BDS capacity reservation to.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId")
+ private final String compartmentId;
+
+ /**
+ * The OCID of the compartment to move the BDS capacity reservation to.
+ * @return the value
+ **/
+ public String getCompartmentId() {
+ return compartmentId;
+ }
+
+ @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("ChangeBdsCapacityReservationCompartmentDetails(");
+ sb.append("super=").append(super.toString());
+ sb.append("compartmentId=").append(String.valueOf(this.compartmentId));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof ChangeBdsCapacityReservationCompartmentDetails)) {
+ return false;
+ }
+
+ ChangeBdsCapacityReservationCompartmentDetails other =
+ (ChangeBdsCapacityReservationCompartmentDetails) o;
+ return java.util.Objects.equals(this.compartmentId, other.compartmentId)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result =
+ (result * PRIME)
+ + (this.compartmentId == null ? 43 : this.compartmentId.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/ComputeCapacityReservations.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/ComputeCapacityReservations.java
new file mode 100644
index 00000000000..b4ba88fc6b8
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/ComputeCapacityReservations.java
@@ -0,0 +1,234 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.model;
+
+/**
+ * Compute capacity reservation ID mappings by domain. For a multi-AD region, domain1, domain2,
+ * and domain3 correspond to AD1, AD2, and AD3 respectively. For a single-AD region, domain1,
+ * domain2, and domain3 correspond to FD1, FD2, and FD3 respectively.
+ *
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = ComputeCapacityReservations.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public final class ComputeCapacityReservations
+ extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({
+ "domain1ReservationId",
+ "domain2ReservationId",
+ "domain3ReservationId"
+ })
+ public ComputeCapacityReservations(
+ String domain1ReservationId, String domain2ReservationId, String domain3ReservationId) {
+ super();
+ this.domain1ReservationId = domain1ReservationId;
+ this.domain2ReservationId = domain2ReservationId;
+ this.domain3ReservationId = domain3ReservationId;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * Capacity reservation OCID corresponding to AD1 for a multi-AD region or FD1 for a single-AD region.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("domain1ReservationId")
+ private String domain1ReservationId;
+
+ /**
+ * Capacity reservation OCID corresponding to AD1 for a multi-AD region or FD1 for a single-AD region.
+ * @param domain1ReservationId the value to set
+ * @return this builder
+ **/
+ public Builder domain1ReservationId(String domain1ReservationId) {
+ this.domain1ReservationId = domain1ReservationId;
+ this.__explicitlySet__.add("domain1ReservationId");
+ return this;
+ }
+ /**
+ * Capacity reservation OCID corresponding to AD2 for a multi-AD region or FD2 for a single-AD region.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("domain2ReservationId")
+ private String domain2ReservationId;
+
+ /**
+ * Capacity reservation OCID corresponding to AD2 for a multi-AD region or FD2 for a single-AD region.
+ * @param domain2ReservationId the value to set
+ * @return this builder
+ **/
+ public Builder domain2ReservationId(String domain2ReservationId) {
+ this.domain2ReservationId = domain2ReservationId;
+ this.__explicitlySet__.add("domain2ReservationId");
+ return this;
+ }
+ /**
+ * Capacity reservation OCID corresponding to AD3 for a multi-AD region or FD3 for a single-AD region.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("domain3ReservationId")
+ private String domain3ReservationId;
+
+ /**
+ * Capacity reservation OCID corresponding to AD3 for a multi-AD region or FD3 for a single-AD region.
+ * @param domain3ReservationId the value to set
+ * @return this builder
+ **/
+ public Builder domain3ReservationId(String domain3ReservationId) {
+ this.domain3ReservationId = domain3ReservationId;
+ this.__explicitlySet__.add("domain3ReservationId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public ComputeCapacityReservations build() {
+ ComputeCapacityReservations model =
+ new ComputeCapacityReservations(
+ this.domain1ReservationId,
+ this.domain2ReservationId,
+ this.domain3ReservationId);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(ComputeCapacityReservations model) {
+ if (model.wasPropertyExplicitlySet("domain1ReservationId")) {
+ this.domain1ReservationId(model.getDomain1ReservationId());
+ }
+ if (model.wasPropertyExplicitlySet("domain2ReservationId")) {
+ this.domain2ReservationId(model.getDomain2ReservationId());
+ }
+ if (model.wasPropertyExplicitlySet("domain3ReservationId")) {
+ this.domain3ReservationId(model.getDomain3ReservationId());
+ }
+ return this;
+ }
+ }
+
+ /**
+ * Create a new builder.
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ /**
+ * Capacity reservation OCID corresponding to AD1 for a multi-AD region or FD1 for a single-AD region.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("domain1ReservationId")
+ private final String domain1ReservationId;
+
+ /**
+ * Capacity reservation OCID corresponding to AD1 for a multi-AD region or FD1 for a single-AD region.
+ * @return the value
+ **/
+ public String getDomain1ReservationId() {
+ return domain1ReservationId;
+ }
+
+ /**
+ * Capacity reservation OCID corresponding to AD2 for a multi-AD region or FD2 for a single-AD region.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("domain2ReservationId")
+ private final String domain2ReservationId;
+
+ /**
+ * Capacity reservation OCID corresponding to AD2 for a multi-AD region or FD2 for a single-AD region.
+ * @return the value
+ **/
+ public String getDomain2ReservationId() {
+ return domain2ReservationId;
+ }
+
+ /**
+ * Capacity reservation OCID corresponding to AD3 for a multi-AD region or FD3 for a single-AD region.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("domain3ReservationId")
+ private final String domain3ReservationId;
+
+ /**
+ * Capacity reservation OCID corresponding to AD3 for a multi-AD region or FD3 for a single-AD region.
+ * @return the value
+ **/
+ public String getDomain3ReservationId() {
+ return domain3ReservationId;
+ }
+
+ @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("ComputeCapacityReservations(");
+ sb.append("super=").append(super.toString());
+ sb.append("domain1ReservationId=").append(String.valueOf(this.domain1ReservationId));
+ sb.append(", domain2ReservationId=").append(String.valueOf(this.domain2ReservationId));
+ sb.append(", domain3ReservationId=").append(String.valueOf(this.domain3ReservationId));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof ComputeCapacityReservations)) {
+ return false;
+ }
+
+ ComputeCapacityReservations other = (ComputeCapacityReservations) o;
+ return java.util.Objects.equals(this.domain1ReservationId, other.domain1ReservationId)
+ && java.util.Objects.equals(this.domain2ReservationId, other.domain2ReservationId)
+ && java.util.Objects.equals(this.domain3ReservationId, other.domain3ReservationId)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result =
+ (result * PRIME)
+ + (this.domain1ReservationId == null
+ ? 43
+ : this.domain1ReservationId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.domain2ReservationId == null
+ ? 43
+ : this.domain2ReservationId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.domain3ReservationId == null
+ ? 43
+ : this.domain3ReservationId.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateBdsCapacityReservationConfigurationDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateBdsCapacityReservationConfigurationDetails.java
new file mode 100644
index 00000000000..1009855c34d
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateBdsCapacityReservationConfigurationDetails.java
@@ -0,0 +1,183 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.model;
+
+/**
+ * Details for associating a BDS capacity reservation with a BDS cluster.
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = CreateBdsCapacityReservationConfigurationDetails.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public final class CreateBdsCapacityReservationConfigurationDetails
+ extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({"displayName", "bdsCapacityReservationId"})
+ public CreateBdsCapacityReservationConfigurationDetails(
+ String displayName, String bdsCapacityReservationId) {
+ super();
+ this.displayName = displayName;
+ this.bdsCapacityReservationId = bdsCapacityReservationId;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * A user-friendly name for the BDS capacity reservation configuration.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private String displayName;
+
+ /**
+ * A user-friendly name for the BDS capacity reservation configuration.
+ * @param displayName the value to set
+ * @return this builder
+ **/
+ public Builder displayName(String displayName) {
+ this.displayName = displayName;
+ this.__explicitlySet__.add("displayName");
+ return this;
+ }
+ /**
+ * The OCID of the BDS capacity reservation to associate with the BDS cluster.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("bdsCapacityReservationId")
+ private String bdsCapacityReservationId;
+
+ /**
+ * The OCID of the BDS capacity reservation to associate with the BDS cluster.
+ * @param bdsCapacityReservationId the value to set
+ * @return this builder
+ **/
+ public Builder bdsCapacityReservationId(String bdsCapacityReservationId) {
+ this.bdsCapacityReservationId = bdsCapacityReservationId;
+ this.__explicitlySet__.add("bdsCapacityReservationId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public CreateBdsCapacityReservationConfigurationDetails build() {
+ CreateBdsCapacityReservationConfigurationDetails model =
+ new CreateBdsCapacityReservationConfigurationDetails(
+ this.displayName, this.bdsCapacityReservationId);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(CreateBdsCapacityReservationConfigurationDetails model) {
+ if (model.wasPropertyExplicitlySet("displayName")) {
+ this.displayName(model.getDisplayName());
+ }
+ if (model.wasPropertyExplicitlySet("bdsCapacityReservationId")) {
+ this.bdsCapacityReservationId(model.getBdsCapacityReservationId());
+ }
+ return this;
+ }
+ }
+
+ /**
+ * Create a new builder.
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ /**
+ * A user-friendly name for the BDS capacity reservation configuration.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private final String displayName;
+
+ /**
+ * A user-friendly name for the BDS capacity reservation configuration.
+ * @return the value
+ **/
+ public String getDisplayName() {
+ return displayName;
+ }
+
+ /**
+ * The OCID of the BDS capacity reservation to associate with the BDS cluster.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("bdsCapacityReservationId")
+ private final String bdsCapacityReservationId;
+
+ /**
+ * The OCID of the BDS capacity reservation to associate with the BDS cluster.
+ * @return the value
+ **/
+ public String getBdsCapacityReservationId() {
+ return bdsCapacityReservationId;
+ }
+
+ @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("CreateBdsCapacityReservationConfigurationDetails(");
+ sb.append("super=").append(super.toString());
+ sb.append("displayName=").append(String.valueOf(this.displayName));
+ sb.append(", bdsCapacityReservationId=")
+ .append(String.valueOf(this.bdsCapacityReservationId));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof CreateBdsCapacityReservationConfigurationDetails)) {
+ return false;
+ }
+
+ CreateBdsCapacityReservationConfigurationDetails other =
+ (CreateBdsCapacityReservationConfigurationDetails) o;
+ return java.util.Objects.equals(this.displayName, other.displayName)
+ && java.util.Objects.equals(
+ this.bdsCapacityReservationId, other.bdsCapacityReservationId)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode());
+ result =
+ (result * PRIME)
+ + (this.bdsCapacityReservationId == null
+ ? 43
+ : this.bdsCapacityReservationId.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateBdsCapacityReservationDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateBdsCapacityReservationDetails.java
new file mode 100644
index 00000000000..5c9de248274
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateBdsCapacityReservationDetails.java
@@ -0,0 +1,313 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.model;
+
+/**
+ * Details for creating a BDS capacity reservation.
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = CreateBdsCapacityReservationDetails.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public final class CreateBdsCapacityReservationDetails
+ extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({
+ "displayName",
+ "compartmentId",
+ "computeCapacityReservations",
+ "freeformTags",
+ "definedTags"
+ })
+ public CreateBdsCapacityReservationDetails(
+ String displayName,
+ String compartmentId,
+ ComputeCapacityReservations computeCapacityReservations,
+ java.util.Map freeformTags,
+ java.util.Map> definedTags) {
+ super();
+ this.displayName = displayName;
+ this.compartmentId = compartmentId;
+ this.computeCapacityReservations = computeCapacityReservations;
+ this.freeformTags = freeformTags;
+ this.definedTags = definedTags;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * A user-friendly name for the BDS capacity reservation.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private String displayName;
+
+ /**
+ * A user-friendly name for the BDS capacity reservation.
+ * @param displayName the value to set
+ * @return this builder
+ **/
+ public Builder displayName(String displayName) {
+ this.displayName = displayName;
+ this.__explicitlySet__.add("displayName");
+ return this;
+ }
+ /**
+ * The OCID of the compartment in which to create the BDS capacity reservation.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId")
+ private String compartmentId;
+
+ /**
+ * The OCID of the compartment in which to create the BDS capacity reservation.
+ * @param compartmentId the value to set
+ * @return this builder
+ **/
+ public Builder compartmentId(String compartmentId) {
+ this.compartmentId = compartmentId;
+ this.__explicitlySet__.add("compartmentId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("computeCapacityReservations")
+ private ComputeCapacityReservations computeCapacityReservations;
+
+ public Builder computeCapacityReservations(
+ ComputeCapacityReservations computeCapacityReservations) {
+ this.computeCapacityReservations = computeCapacityReservations;
+ this.__explicitlySet__.add("computeCapacityReservations");
+ return this;
+ }
+ /**
+ * Simple key-value pair that is applied without any predefined name, type, or scope.
+ * Exists for cross-compatibility only. For example, {@code {"bar-key": "value"}}
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("freeformTags")
+ private java.util.Map freeformTags;
+
+ /**
+ * Simple key-value pair that is applied without any predefined name, type, or scope.
+ * Exists for cross-compatibility only. For example, {@code {"bar-key": "value"}}
+ *
+ * @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 example, {@code {"foo-namespace": {"bar-key": "value"}}}
+ *
+ **/
+ @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 example, {@code {"foo-namespace": {"bar-key": "value"}}}
+ *
+ * @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;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public CreateBdsCapacityReservationDetails build() {
+ CreateBdsCapacityReservationDetails model =
+ new CreateBdsCapacityReservationDetails(
+ this.displayName,
+ this.compartmentId,
+ this.computeCapacityReservations,
+ this.freeformTags,
+ this.definedTags);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(CreateBdsCapacityReservationDetails model) {
+ if (model.wasPropertyExplicitlySet("displayName")) {
+ this.displayName(model.getDisplayName());
+ }
+ if (model.wasPropertyExplicitlySet("compartmentId")) {
+ this.compartmentId(model.getCompartmentId());
+ }
+ if (model.wasPropertyExplicitlySet("computeCapacityReservations")) {
+ this.computeCapacityReservations(model.getComputeCapacityReservations());
+ }
+ 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);
+ }
+
+ /**
+ * A user-friendly name for the BDS capacity reservation.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private final String displayName;
+
+ /**
+ * A user-friendly name for the BDS capacity reservation.
+ * @return the value
+ **/
+ public String getDisplayName() {
+ return displayName;
+ }
+
+ /**
+ * The OCID of the compartment in which to create the BDS capacity reservation.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId")
+ private final String compartmentId;
+
+ /**
+ * The OCID of the compartment in which to create the BDS capacity reservation.
+ * @return the value
+ **/
+ public String getCompartmentId() {
+ return compartmentId;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("computeCapacityReservations")
+ private final ComputeCapacityReservations computeCapacityReservations;
+
+ public ComputeCapacityReservations getComputeCapacityReservations() {
+ return computeCapacityReservations;
+ }
+
+ /**
+ * Simple key-value pair that is applied without any predefined name, type, or scope.
+ * Exists for cross-compatibility only. For example, {@code {"bar-key": "value"}}
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("freeformTags")
+ private final java.util.Map freeformTags;
+
+ /**
+ * Simple key-value pair that is applied without any predefined name, type, or scope.
+ * Exists for cross-compatibility only. For example, {@code {"bar-key": "value"}}
+ *
+ * @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 example, {@code {"foo-namespace": {"bar-key": "value"}}}
+ *
+ **/
+ @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 example, {@code {"foo-namespace": {"bar-key": "value"}}}
+ *
+ * @return the value
+ **/
+ public java.util.Map> getDefinedTags() {
+ return 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("CreateBdsCapacityReservationDetails(");
+ sb.append("super=").append(super.toString());
+ sb.append("displayName=").append(String.valueOf(this.displayName));
+ sb.append(", compartmentId=").append(String.valueOf(this.compartmentId));
+ sb.append(", computeCapacityReservations=")
+ .append(String.valueOf(this.computeCapacityReservations));
+ sb.append(", freeformTags=").append(String.valueOf(this.freeformTags));
+ sb.append(", definedTags=").append(String.valueOf(this.definedTags));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof CreateBdsCapacityReservationDetails)) {
+ return false;
+ }
+
+ CreateBdsCapacityReservationDetails other = (CreateBdsCapacityReservationDetails) o;
+ return java.util.Objects.equals(this.displayName, other.displayName)
+ && java.util.Objects.equals(this.compartmentId, other.compartmentId)
+ && java.util.Objects.equals(
+ this.computeCapacityReservations, other.computeCapacityReservations)
+ && java.util.Objects.equals(this.freeformTags, other.freeformTags)
+ && java.util.Objects.equals(this.definedTags, other.definedTags)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode());
+ result =
+ (result * PRIME)
+ + (this.compartmentId == null ? 43 : this.compartmentId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.computeCapacityReservations == null
+ ? 43
+ : this.computeCapacityReservations.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();
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateBdsInstanceDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateBdsInstanceDetails.java
index 9160ab52ccb..0029f6000e1 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateBdsInstanceDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateBdsInstanceDetails.java
@@ -35,6 +35,8 @@ public CreateBdsInstanceDetails(
NetworkConfig networkConfig,
String bootstrapScriptUrl,
java.util.List nodes,
+ java.util.List
+ bdsCapacityReservationConfigurations,
String kerberosRealmName,
java.util.Map freeformTags,
java.util.Map> definedTags,
@@ -55,6 +57,7 @@ public CreateBdsInstanceDetails(
this.networkConfig = networkConfig;
this.bootstrapScriptUrl = bootstrapScriptUrl;
this.nodes = nodes;
+ this.bdsCapacityReservationConfigurations = bdsCapacityReservationConfigurations;
this.kerberosRealmName = kerberosRealmName;
this.freeformTags = freeformTags;
this.definedTags = definedTags;
@@ -78,6 +81,7 @@ public CreateBdsInstanceDetails(
"networkConfig",
"bootstrapScriptUrl",
"nodes",
+ "bdsCapacityReservationConfigurations",
"kerberosRealmName",
"freeformTags",
"definedTags",
@@ -98,6 +102,8 @@ public CreateBdsInstanceDetails(
NetworkConfig networkConfig,
String bootstrapScriptUrl,
java.util.List nodes,
+ java.util.List
+ bdsCapacityReservationConfigurations,
String kerberosRealmName,
java.util.Map freeformTags,
java.util.Map> definedTags,
@@ -117,6 +123,7 @@ public CreateBdsInstanceDetails(
this.networkConfig = networkConfig;
this.bootstrapScriptUrl = bootstrapScriptUrl;
this.nodes = nodes;
+ this.bdsCapacityReservationConfigurations = bdsCapacityReservationConfigurations;
this.kerberosRealmName = kerberosRealmName;
this.freeformTags = freeformTags;
this.definedTags = definedTags;
@@ -320,6 +327,25 @@ public Builder nodes(java.util.List nodes) {
this.__explicitlySet__.add("nodes");
return this;
}
+ /**
+ * Optional BDS capacity reservation configurations to associate with the cluster during creation.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("bdsCapacityReservationConfigurations")
+ private java.util.List
+ bdsCapacityReservationConfigurations;
+
+ /**
+ * Optional BDS capacity reservation configurations to associate with the cluster during creation.
+ * @param bdsCapacityReservationConfigurations the value to set
+ * @return this builder
+ **/
+ public Builder bdsCapacityReservationConfigurations(
+ java.util.List
+ bdsCapacityReservationConfigurations) {
+ this.bdsCapacityReservationConfigurations = bdsCapacityReservationConfigurations;
+ this.__explicitlySet__.add("bdsCapacityReservationConfigurations");
+ return this;
+ }
/**
* The user-defined kerberos realm name.
**/
@@ -437,6 +463,7 @@ public CreateBdsInstanceDetails build() {
this.networkConfig,
this.bootstrapScriptUrl,
this.nodes,
+ this.bdsCapacityReservationConfigurations,
this.kerberosRealmName,
this.freeformTags,
this.definedTags,
@@ -487,6 +514,10 @@ public Builder copy(CreateBdsInstanceDetails model) {
if (model.wasPropertyExplicitlySet("nodes")) {
this.nodes(model.getNodes());
}
+ if (model.wasPropertyExplicitlySet("bdsCapacityReservationConfigurations")) {
+ this.bdsCapacityReservationConfigurations(
+ model.getBdsCapacityReservationConfigurations());
+ }
if (model.wasPropertyExplicitlySet("kerberosRealmName")) {
this.kerberosRealmName(model.getKerberosRealmName());
}
@@ -693,6 +724,22 @@ public java.util.List getNodes() {
return nodes;
}
+ /**
+ * Optional BDS capacity reservation configurations to associate with the cluster during creation.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("bdsCapacityReservationConfigurations")
+ private final java.util.List
+ bdsCapacityReservationConfigurations;
+
+ /**
+ * Optional BDS capacity reservation configurations to associate with the cluster during creation.
+ * @return the value
+ **/
+ public java.util.List
+ getBdsCapacityReservationConfigurations() {
+ return bdsCapacityReservationConfigurations;
+ }
+
/**
* The user-defined kerberos realm name.
**/
@@ -804,6 +851,8 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", networkConfig=").append(String.valueOf(this.networkConfig));
sb.append(", bootstrapScriptUrl=").append(String.valueOf(this.bootstrapScriptUrl));
sb.append(", nodes=").append(String.valueOf(this.nodes));
+ sb.append(", bdsCapacityReservationConfigurations=")
+ .append(String.valueOf(this.bdsCapacityReservationConfigurations));
sb.append(", kerberosRealmName=").append(String.valueOf(this.kerberosRealmName));
sb.append(", freeformTags=").append(String.valueOf(this.freeformTags));
sb.append(", definedTags=").append(String.valueOf(this.definedTags));
@@ -837,6 +886,9 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.networkConfig, other.networkConfig)
&& java.util.Objects.equals(this.bootstrapScriptUrl, other.bootstrapScriptUrl)
&& java.util.Objects.equals(this.nodes, other.nodes)
+ && java.util.Objects.equals(
+ this.bdsCapacityReservationConfigurations,
+ other.bdsCapacityReservationConfigurations)
&& java.util.Objects.equals(this.kerberosRealmName, other.kerberosRealmName)
&& java.util.Objects.equals(this.freeformTags, other.freeformTags)
&& java.util.Objects.equals(this.definedTags, other.definedTags)
@@ -885,6 +937,11 @@ public int hashCode() {
? 43
: this.bootstrapScriptUrl.hashCode());
result = (result * PRIME) + (this.nodes == null ? 43 : this.nodes.hashCode());
+ result =
+ (result * PRIME)
+ + (this.bdsCapacityReservationConfigurations == null
+ ? 43
+ : this.bdsCapacityReservationConfigurations.hashCode());
result =
(result * PRIME)
+ (this.kerberosRealmName == null ? 43 : this.kerberosRealmName.hashCode());
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/Node.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/Node.java
index fb81d24a54c..42941d335bf 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/Node.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/Node.java
@@ -33,6 +33,7 @@ public final class Node extends com.oracle.bmc.http.internal.ExplicitlySetBmcMod
"sshFingerprint",
"availabilityDomain",
"faultDomain",
+ "computeCapacityReservationId",
"timeCreated",
"timeUpdated",
"ocpus",
@@ -61,6 +62,7 @@ public Node(
String sshFingerprint,
String availabilityDomain,
String faultDomain,
+ String computeCapacityReservationId,
java.util.Date timeCreated,
java.util.Date timeUpdated,
Integer ocpus,
@@ -88,6 +90,7 @@ public Node(
this.sshFingerprint = sshFingerprint;
this.availabilityDomain = availabilityDomain;
this.faultDomain = faultDomain;
+ this.computeCapacityReservationId = computeCapacityReservationId;
this.timeCreated = timeCreated;
this.timeUpdated = timeUpdated;
this.ocpus = ocpus;
@@ -314,6 +317,22 @@ public Builder faultDomain(String faultDomain) {
this.__explicitlySet__.add("faultDomain");
return this;
}
+ /**
+ * The OCID of the Compute capacity reservation used by this node.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("computeCapacityReservationId")
+ private String computeCapacityReservationId;
+
+ /**
+ * The OCID of the Compute capacity reservation used by this node.
+ * @param computeCapacityReservationId the value to set
+ * @return this builder
+ **/
+ public Builder computeCapacityReservationId(String computeCapacityReservationId) {
+ this.computeCapacityReservationId = computeCapacityReservationId;
+ this.__explicitlySet__.add("computeCapacityReservationId");
+ return this;
+ }
/**
* The time the node was created, shown as an RFC 3339 formatted datetime string.
**/
@@ -542,6 +561,7 @@ public Node build() {
this.sshFingerprint,
this.availabilityDomain,
this.faultDomain,
+ this.computeCapacityReservationId,
this.timeCreated,
this.timeUpdated,
this.ocpus,
@@ -602,6 +622,9 @@ public Builder copy(Node model) {
if (model.wasPropertyExplicitlySet("faultDomain")) {
this.faultDomain(model.getFaultDomain());
}
+ if (model.wasPropertyExplicitlySet("computeCapacityReservationId")) {
+ this.computeCapacityReservationId(model.getComputeCapacityReservationId());
+ }
if (model.wasPropertyExplicitlySet("timeCreated")) {
this.timeCreated(model.getTimeCreated());
}
@@ -948,6 +971,20 @@ public String getFaultDomain() {
return faultDomain;
}
+ /**
+ * The OCID of the Compute capacity reservation used by this node.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("computeCapacityReservationId")
+ private final String computeCapacityReservationId;
+
+ /**
+ * The OCID of the Compute capacity reservation used by this node.
+ * @return the value
+ **/
+ public String getComputeCapacityReservationId() {
+ return computeCapacityReservationId;
+ }
+
/**
* The time the node was created, shown as an RFC 3339 formatted datetime string.
**/
@@ -1157,6 +1194,8 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", sshFingerprint=").append(String.valueOf(this.sshFingerprint));
sb.append(", availabilityDomain=").append(String.valueOf(this.availabilityDomain));
sb.append(", faultDomain=").append(String.valueOf(this.faultDomain));
+ sb.append(", computeCapacityReservationId=")
+ .append(String.valueOf(this.computeCapacityReservationId));
sb.append(", timeCreated=").append(String.valueOf(this.timeCreated));
sb.append(", timeUpdated=").append(String.valueOf(this.timeUpdated));
sb.append(", ocpus=").append(String.valueOf(this.ocpus));
@@ -1200,6 +1239,8 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.sshFingerprint, other.sshFingerprint)
&& java.util.Objects.equals(this.availabilityDomain, other.availabilityDomain)
&& java.util.Objects.equals(this.faultDomain, other.faultDomain)
+ && java.util.Objects.equals(
+ this.computeCapacityReservationId, other.computeCapacityReservationId)
&& java.util.Objects.equals(this.timeCreated, other.timeCreated)
&& java.util.Objects.equals(this.timeUpdated, other.timeUpdated)
&& java.util.Objects.equals(this.ocpus, other.ocpus)
@@ -1248,6 +1289,11 @@ public int hashCode() {
? 43
: this.availabilityDomain.hashCode());
result = (result * PRIME) + (this.faultDomain == null ? 43 : this.faultDomain.hashCode());
+ result =
+ (result * PRIME)
+ + (this.computeCapacityReservationId == null
+ ? 43
+ : this.computeCapacityReservationId.hashCode());
result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode());
result = (result * PRIME) + (this.timeUpdated == null ? 43 : this.timeUpdated.hashCode());
result = (result * PRIME) + (this.ocpus == null ? 43 : this.ocpus.hashCode());
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/UpdateBdsCapacityReservationConfigurationDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/UpdateBdsCapacityReservationConfigurationDetails.java
new file mode 100644
index 00000000000..47db8471230
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/UpdateBdsCapacityReservationConfigurationDetails.java
@@ -0,0 +1,183 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.model;
+
+/**
+ * Details for updating a BDS capacity reservation configuration.
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = UpdateBdsCapacityReservationConfigurationDetails.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public final class UpdateBdsCapacityReservationConfigurationDetails
+ extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({"bdsCapacityReservationId", "displayName"})
+ public UpdateBdsCapacityReservationConfigurationDetails(
+ String bdsCapacityReservationId, String displayName) {
+ super();
+ this.bdsCapacityReservationId = bdsCapacityReservationId;
+ this.displayName = displayName;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * The OCID of the BDS capacity reservation to associate with the BDS cluster.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("bdsCapacityReservationId")
+ private String bdsCapacityReservationId;
+
+ /**
+ * The OCID of the BDS capacity reservation to associate with the BDS cluster.
+ * @param bdsCapacityReservationId the value to set
+ * @return this builder
+ **/
+ public Builder bdsCapacityReservationId(String bdsCapacityReservationId) {
+ this.bdsCapacityReservationId = bdsCapacityReservationId;
+ this.__explicitlySet__.add("bdsCapacityReservationId");
+ return this;
+ }
+ /**
+ * A user-friendly name for the BDS capacity reservation configuration.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private String displayName;
+
+ /**
+ * A user-friendly name for the BDS capacity reservation configuration.
+ * @param displayName the value to set
+ * @return this builder
+ **/
+ public Builder displayName(String displayName) {
+ this.displayName = displayName;
+ this.__explicitlySet__.add("displayName");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public UpdateBdsCapacityReservationConfigurationDetails build() {
+ UpdateBdsCapacityReservationConfigurationDetails model =
+ new UpdateBdsCapacityReservationConfigurationDetails(
+ this.bdsCapacityReservationId, this.displayName);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(UpdateBdsCapacityReservationConfigurationDetails model) {
+ if (model.wasPropertyExplicitlySet("bdsCapacityReservationId")) {
+ this.bdsCapacityReservationId(model.getBdsCapacityReservationId());
+ }
+ if (model.wasPropertyExplicitlySet("displayName")) {
+ this.displayName(model.getDisplayName());
+ }
+ return this;
+ }
+ }
+
+ /**
+ * Create a new builder.
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ /**
+ * The OCID of the BDS capacity reservation to associate with the BDS cluster.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("bdsCapacityReservationId")
+ private final String bdsCapacityReservationId;
+
+ /**
+ * The OCID of the BDS capacity reservation to associate with the BDS cluster.
+ * @return the value
+ **/
+ public String getBdsCapacityReservationId() {
+ return bdsCapacityReservationId;
+ }
+
+ /**
+ * A user-friendly name for the BDS capacity reservation configuration.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private final String displayName;
+
+ /**
+ * A user-friendly name for the BDS capacity reservation configuration.
+ * @return the value
+ **/
+ public String getDisplayName() {
+ return displayName;
+ }
+
+ @Override
+ public String toString() {
+ return this.toString(true);
+ }
+
+ /**
+ * Return a string representation of the object.
+ * @param includeByteArrayContents true to include the full contents of byte arrays
+ * @return string representation
+ */
+ public String toString(boolean includeByteArrayContents) {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("UpdateBdsCapacityReservationConfigurationDetails(");
+ sb.append("super=").append(super.toString());
+ sb.append("bdsCapacityReservationId=")
+ .append(String.valueOf(this.bdsCapacityReservationId));
+ sb.append(", displayName=").append(String.valueOf(this.displayName));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof UpdateBdsCapacityReservationConfigurationDetails)) {
+ return false;
+ }
+
+ UpdateBdsCapacityReservationConfigurationDetails other =
+ (UpdateBdsCapacityReservationConfigurationDetails) o;
+ return java.util.Objects.equals(
+ this.bdsCapacityReservationId, other.bdsCapacityReservationId)
+ && java.util.Objects.equals(this.displayName, other.displayName)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result =
+ (result * PRIME)
+ + (this.bdsCapacityReservationId == null
+ ? 43
+ : this.bdsCapacityReservationId.hashCode());
+ result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/UpdateBdsCapacityReservationDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/UpdateBdsCapacityReservationDetails.java
new file mode 100644
index 00000000000..f8d435c2713
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/UpdateBdsCapacityReservationDetails.java
@@ -0,0 +1,271 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.model;
+
+/**
+ * Details for updating a BDS capacity reservation.
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = UpdateBdsCapacityReservationDetails.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public final class UpdateBdsCapacityReservationDetails
+ extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({
+ "displayName",
+ "computeCapacityReservations",
+ "freeformTags",
+ "definedTags"
+ })
+ public UpdateBdsCapacityReservationDetails(
+ String displayName,
+ ComputeCapacityReservations computeCapacityReservations,
+ java.util.Map freeformTags,
+ java.util.Map> definedTags) {
+ super();
+ this.displayName = displayName;
+ this.computeCapacityReservations = computeCapacityReservations;
+ this.freeformTags = freeformTags;
+ this.definedTags = definedTags;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * A user-friendly name for the BDS capacity reservation.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private String displayName;
+
+ /**
+ * A user-friendly name for the BDS capacity reservation.
+ * @param displayName the value to set
+ * @return this builder
+ **/
+ public Builder displayName(String displayName) {
+ this.displayName = displayName;
+ this.__explicitlySet__.add("displayName");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("computeCapacityReservations")
+ private ComputeCapacityReservations computeCapacityReservations;
+
+ public Builder computeCapacityReservations(
+ ComputeCapacityReservations computeCapacityReservations) {
+ this.computeCapacityReservations = computeCapacityReservations;
+ this.__explicitlySet__.add("computeCapacityReservations");
+ return this;
+ }
+ /**
+ * Simple key-value pair that is applied without any predefined name, type, or scope.
+ * Exists for cross-compatibility only. For example, {@code {"bar-key": "value"}}
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("freeformTags")
+ private java.util.Map freeformTags;
+
+ /**
+ * Simple key-value pair that is applied without any predefined name, type, or scope.
+ * Exists for cross-compatibility only. For example, {@code {"bar-key": "value"}}
+ *
+ * @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 example, {@code {"foo-namespace": {"bar-key": "value"}}}
+ *
+ **/
+ @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 example, {@code {"foo-namespace": {"bar-key": "value"}}}
+ *
+ * @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;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set