diff --git a/CHANGELOG.md b/CHANGELOG.md
index c6f916f365..ff8b13efa5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,67 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/).
+## 2.82.0 - 2025-03-25
+### Added
+- Support for pipelines in the OpenSearch service
+- Support for uploading and downloading the model metadata artifacts in the Data Science service
+- Support for model references via native API in the Data Science service
+- Support for scheduling cross-region database backups in the HeatWave service
+- Support for specifying backup retention days for manual cross-region backups in the HeatWave service
+- Support for IPv6 addresses for dedicated infrastructure in the Database service
+- Support for NewDev edition for the development community in the Database service
+- Support for grouping sensitive types across the tenancies and reuse of groups in the discovery workflow in the Data Safe service
+- Support for generating custom assessment reports in the Data Safe service
+- Support for user quotas on file system resources in the File Storage service
+- Support for long term retention backups in the Autonomous Recovery service
+- Support for Cross Region Replication(CRR) in the PostgreSQL service
+- Support for subscriptions and cluster placement groups on exascale infrastructure in the Database service
+- Support for multiple standby databases for autonomous dataguard associations in the Database service
+- Support for major version upgrade of clusters in the OpenSearch service
+- Support for Customer Service Identifier(CSI) number in list assigned subscriptions response in the Organizations service
+- Support for Managed Services for Mac service
+- Support for scheduling customer-initiated backups in the GoldenGate service
+- Support for GPU memory clusters and fabrics in the Compute service
+- Support for agent platforms and Retrieval Augmented Generation (RAG) agents in the Generative AI Agent service
+- Support for knowledge based metadata summaries in the Generative AI Agent service
+- Support for create and update operations on onboard configurations in the Stack Monitoring service
+- Support for automatic activation of the management agents on compute instance launch in the Stack Monitoring service
+- Support for importing collectd resources in the Stack Monitoring service
+- Support for updating the handler configurations for collected resources in Stack Monitoring service
+- Support for monitored resource types based on source type and resource category in the Stack Monitoring service
+- Support for adding tags in maintenance windows in the Stack Monitoring service
+- Support for host API feature in the Compute service
+
+### Fixed
+- Java 8 incompatibility introduced in the previous release: NoSuchMethodError for ByteBuffer.flip()
+
+### Breaking Changes
+- Method public java.lang.String getOpcRetryToken() has been removed from com.oracle.bmc.tenantmanagercontrolplane.responses.CreateSubscriptionMappingResponse in the Organizations service
+- Method public java.lang.Integer getMaxMemoryGB() has been removed from the model com.oracle.bmc.opensearch.model.CreateOpensearchClusterPipelineDetails in the OpenSearch service
+- Method public java.lang.Integer getMaxOcpuCount() has been removed from the model com.oracle.bmc.opensearch.model.CreateOpensearchClusterPipelineDetails in the OpenSearch service
+- Method public java.lang.Integer getMinMemoryGB() has been removed from the model com.oracle.bmc.opensearch.model.CreateOpensearchClusterPipelineDetails in the OpenSearch service
+- Method public java.lang.Integer getMinOcpuCount() has been removed from the model com.oracle.bmc.opensearch.model.CreateOpensearchClusterPipelineDetails in the OpenSearch service
+- Method public java.util.Map getSystemTags() has been removed from the model com.oracle.bmc.opensearch.model.CreateOpensearchClusterPipelineDetails in the OpenSearch service
+- Method public java.lang.Integer getMaxMemoryGB() has been removed from the model com.oracle.bmc.opensearch.model.OpensearchClusterPipeline in the OpenSearch service
+- Method public java.lang.Integer getMaxOcpuCount() has been removed from the model com.oracle.bmc.opensearch.model.OpensearchClusterPipeline in the OpenSearch service
+- Method public java.lang.Integer getMinMemoryGB() has been removed from the model com.oracle.bmc.opensearch.model.OpensearchClusterPipeline in the OpenSearch service
+- Method public java.lang.Integer getMinOcpuCount() has been removed from the model com.oracle.bmc.opensearch.model.OpensearchClusterPipeline in the OpenSearch service
+- Method public java.lang.Integer getMaxMemoryGB() has been removed from the model com.oracle.bmc.opensearch.model.OpensearchClusterPipelineSummary in the OpenSearch service
+- Method public java.lang.Integer getMaxOcpuCount() has been removed from the model com.oracle.bmc.opensearch.model.OpensearchClusterPipelineSummary in the OpenSearch service
+- Method public java.lang.Integer getMinMemoryGB() has been removed from the model com.oracle.bmc.opensearch.model.OpensearchClusterPipelineSummary in the OpenSearch service
+- Method public java.lang.Integer getMinOcpuCount() has been removed from the model com.oracle.bmc.opensearch.model.OpensearchClusterPipelineSummary in the OpenSearch service
+- Class com.oracle.bmc.opensearch.model.OpensearchPipelineValidationResponse has been removed from the OpenSearch service
+- Class com.oracle.bmc.opensearch.model.PipelineValidationErrorDetails has been removed from the OpenSearch service
+- Method public java.lang.Integer getMaxMemoryGB() has been removed from the model com.oracle.bmc.opensearch.model.UpdateOpensearchClusterPipelineDetails in the OpenSearch service
+- Method public java.lang.Integer getMaxOcpuCount() has been removed from the model com.oracle.bmc.opensearch.model.UpdateOpensearchClusterPipelineDetails in the OpenSearch service
+- Method public java.lang.Integer getMinMemoryGB() has been removed from the model com.oracle.bmc.opensearch.model.UpdateOpensearchClusterPipelineDetails in the OpenSearch service
+- Method public java.lang.Integer getMinOcpuCount() has been removed from the model com.oracle.bmc.opensearch.model.UpdateOpensearchClusterPipelineDetails in the OpenSearch service
+- Class com.oracle.bmc.opensearch.model.ValidateOpensearchPipelineDetails has been removed from the OpenSearch service
+- Method public java.lang.String getIpAnycastId() has been removed from the model com.oracle.bmc.core.model.CreateByoipRangeDetails in the Core service
+- Method public java.lang.String getMonitorIp() has been removed from the model com.oracle.bmc.core.model.CreateByoipRangeDetails in the Core service
+- Method public java.lang.String getIpAnycastId() has been removed from the model com.oracle.bmc.core.model.UpdateByoipRangeDetails in the Core service
+- Method public java.lang.String getMonitorIp() has been removed from the model com.oracle.bmc.core.model.UpdateByoipRangeDetails in the Core service
+
## 2.81.0 - 2025-02-25
### Added
- Support for backup retention locks on autonomous database create and update operations in the Database service
diff --git a/bmc-accessgovernancecp/pom.xml b/bmc-accessgovernancecp/pom.xml
index a19dfdc18e..18456411a5 100644
--- a/bmc-accessgovernancecp/pom.xml
+++ b/bmc-accessgovernancecp/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.81.0
+ 2.82.0
../pom.xml
oci-java-sdk-accessgovernancecp
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.81.0
+ 2.82.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 f910c81759..2692e995d7 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.81.0
+ 2.82.0
../pom.xml
@@ -18,7 +18,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.81.0
+ 2.82.0
diff --git a/bmc-addons/bmc-graalvm-addon/pom.xml b/bmc-addons/bmc-graalvm-addon/pom.xml
index e5277897ad..9f0a5f5790 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.81.0
+ 2.82.0
../pom.xml
oci-java-sdk-addons-graalvm
@@ -127,24 +127,24 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.81.0
+ 2.82.0
com.oracle.oci.sdk
oci-java-sdk-objectstorage-extensions
- 2.81.0
+ 2.82.0
test
com.oracle.oci.sdk
oci-java-sdk-identity
- 2.81.0
+ 2.82.0
test
com.oracle.oci.sdk
oci-java-sdk-core
- 2.81.0
+ 2.82.0
test
diff --git a/bmc-addons/bmc-graalvm-addon/src/main/java/com/oracle/bmc/graalvm/BouncyCastleFeature.java b/bmc-addons/bmc-graalvm-addon/src/main/java/com/oracle/bmc/graalvm/BouncyCastleFeature.java
deleted file mode 100644
index a699727876..0000000000
--- a/bmc-addons/bmc-graalvm-addon/src/main/java/com/oracle/bmc/graalvm/BouncyCastleFeature.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/**
- * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
- * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
- */
-package com.oracle.bmc.graalvm;
-
-import org.bouncycastle.jce.provider.BouncyCastleProvider;
-import org.graalvm.nativeimage.ImageSingletons;
-import org.graalvm.nativeimage.hosted.Feature;
-import org.graalvm.nativeimage.hosted.RuntimeClassInitialization;
-import org.graalvm.nativeimage.impl.RuntimeClassInitializationSupport;
-
-import java.security.Security;
-
-/**
- * Configures bouncy castle.
- */
-final class BouncyCastleFeature implements Feature {
-
- @Override
- public void afterRegistration(AfterRegistrationAccess access) {
- RuntimeClassInitialization.initializeAtBuildTime("org.bouncycastle");
- RuntimeClassInitializationSupport classInitSupport =
- ImageSingletons.lookup(RuntimeClassInitializationSupport.class);
- classInitSupport.rerunInitialization(
- "org.bouncycastle.jcajce.provider.drbg.DRBG$Default",
- "Register the BouncyCastle provider at build time");
- classInitSupport.rerunInitialization(
- "org.bouncycastle.jcajce.provider.drbg.DRBG$NonceAndIV",
- "Register the BouncyCastle provider at build time");
- Security.addProvider(new BouncyCastleProvider());
- }
-}
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 efa5649f59..d9f8188442 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
@@ -97,6 +97,7 @@
"com.oracle.bmc.marketplaceprivateoffer.SdkClientsMetadata",
"com.oracle.bmc.marketplacepublisher.SdkClientsMetadata",
"com.oracle.bmc.mediaservices.SdkClientsMetadata",
+ "com.oracle.bmc.mngdmac.SdkClientsMetadata",
"com.oracle.bmc.monitoring.SdkClientsMetadata",
"com.oracle.bmc.mysql.SdkClientsMetadata",
"com.oracle.bmc.networkfirewall.SdkClientsMetadata",
diff --git a/bmc-addons/bmc-oke-workload-identity/pom.xml b/bmc-addons/bmc-oke-workload-identity/pom.xml
index 0a38ad8fe6..19b5afe00b 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.81.0
+ 2.82.0
4.0.0
@@ -38,7 +38,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.81.0
+ 2.82.0
diff --git a/bmc-addons/bmc-resteasy-client-configurator/pom.xml b/bmc-addons/bmc-resteasy-client-configurator/pom.xml
index 2c43783332..707b8094f3 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.81.0
+ 2.82.0
../pom.xml
@@ -25,7 +25,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.81.0
+ 2.82.0
diff --git a/bmc-addons/bmc-sasl/pom.xml b/bmc-addons/bmc-sasl/pom.xml
index 0a0b503d64..23a625e122 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.81.0
+ 2.82.0
../pom.xml
@@ -62,7 +62,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.81.0
+ 2.82.0
diff --git a/bmc-addons/pom.xml b/bmc-addons/pom.xml
index 141ef07c69..c65f359be4 100644
--- a/bmc-addons/pom.xml
+++ b/bmc-addons/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.81.0
+ 2.82.0
../pom.xml
diff --git a/bmc-adm/pom.xml b/bmc-adm/pom.xml
index 1c6a8a42be..798a649e81 100644
--- a/bmc-adm/pom.xml
+++ b/bmc-adm/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.81.0
+ 2.82.0
../pom.xml
oci-java-sdk-adm
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.81.0
+ 2.82.0
\ No newline at end of file
diff --git a/bmc-aianomalydetection/pom.xml b/bmc-aianomalydetection/pom.xml
index 4f768fd58a..c614e38fdc 100644
--- a/bmc-aianomalydetection/pom.xml
+++ b/bmc-aianomalydetection/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.81.0
+ 2.82.0
../pom.xml
oci-java-sdk-aianomalydetection
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.81.0
+ 2.82.0
\ No newline at end of file
diff --git a/bmc-aidocument/pom.xml b/bmc-aidocument/pom.xml
index 913d9a281e..f653755f81 100644
--- a/bmc-aidocument/pom.xml
+++ b/bmc-aidocument/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.81.0
+ 2.82.0
../pom.xml
oci-java-sdk-aidocument
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.81.0
+ 2.82.0
\ No newline at end of file
diff --git a/bmc-ailanguage/pom.xml b/bmc-ailanguage/pom.xml
index c186fd231b..1f212a636d 100644
--- a/bmc-ailanguage/pom.xml
+++ b/bmc-ailanguage/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.81.0
+ 2.82.0
../pom.xml
oci-java-sdk-ailanguage
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.81.0
+ 2.82.0
diff --git a/bmc-aispeech/pom.xml b/bmc-aispeech/pom.xml
index 1f9a034619..8432c3628c 100644
--- a/bmc-aispeech/pom.xml
+++ b/bmc-aispeech/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.81.0
+ 2.82.0
../pom.xml
oci-java-sdk-aispeech
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.81.0
+ 2.82.0
\ No newline at end of file
diff --git a/bmc-aivision/pom.xml b/bmc-aivision/pom.xml
index 43b0d5e02c..d9053c3cb6 100644
--- a/bmc-aivision/pom.xml
+++ b/bmc-aivision/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.81.0
+ 2.82.0
../pom.xml
oci-java-sdk-aivision
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.81.0
+ 2.82.0
\ No newline at end of file
diff --git a/bmc-analytics/pom.xml b/bmc-analytics/pom.xml
index 521ff17183..b42fbe52eb 100644
--- a/bmc-analytics/pom.xml
+++ b/bmc-analytics/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.81.0
+ 2.82.0
../pom.xml
oci-java-sdk-analytics
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.81.0
+ 2.82.0
diff --git a/bmc-announcementsservice/pom.xml b/bmc-announcementsservice/pom.xml
index e993989ad3..f01ff5db10 100644
--- a/bmc-announcementsservice/pom.xml
+++ b/bmc-announcementsservice/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.81.0
+ 2.82.0
../pom.xml
oci-java-sdk-announcementsservice
@@ -17,7 +17,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.81.0
+ 2.82.0
diff --git a/bmc-apigateway/pom.xml b/bmc-apigateway/pom.xml
index c398cad9a2..ad616af551 100644
--- a/bmc-apigateway/pom.xml
+++ b/bmc-apigateway/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.81.0
+ 2.82.0
../pom.xml
oci-java-sdk-apigateway
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.81.0
+ 2.82.0
diff --git a/bmc-apmconfig/pom.xml b/bmc-apmconfig/pom.xml
index 7d29c4b2e0..2306ba00b4 100644
--- a/bmc-apmconfig/pom.xml
+++ b/bmc-apmconfig/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.81.0
+ 2.82.0
../pom.xml
oci-java-sdk-apmconfig
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.81.0
+ 2.82.0
\ No newline at end of file
diff --git a/bmc-apmcontrolplane/pom.xml b/bmc-apmcontrolplane/pom.xml
index fd311ba3ad..b135abfa24 100644
--- a/bmc-apmcontrolplane/pom.xml
+++ b/bmc-apmcontrolplane/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.81.0
+ 2.82.0
../pom.xml
oci-java-sdk-apmcontrolplane
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.81.0
+ 2.82.0
diff --git a/bmc-apmsynthetics/pom.xml b/bmc-apmsynthetics/pom.xml
index 0f4b27c56a..275306b098 100644
--- a/bmc-apmsynthetics/pom.xml
+++ b/bmc-apmsynthetics/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.81.0
+ 2.82.0
../pom.xml
oci-java-sdk-apmsynthetics
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.81.0
+ 2.82.0
diff --git a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/ApmSynthetic.java b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/ApmSynthetic.java
index 7b852b4fcc..8ceab666a4 100644
--- a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/ApmSynthetic.java
+++ b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/ApmSynthetic.java
@@ -8,7 +8,7 @@
import com.oracle.bmc.apmsynthetics.responses.*;
/**
- * Use the Application Performance Monitoring Synthetic Monitoring API to query synthetic scripts and monitors. For more information, see [Application Performance Monitoring](https://docs.oracle.com/iaas/application-performance-monitoring/index.html).
+ * Use the APM Availability Monitoring API to query Scripts, Monitors, Dedicated Vantage Points and On-Premise Vantage Points resources. For more information, see [Application Performance Monitoring](https://docs.oracle.com/iaas/application-performance-monitoring/index.html).
* This service client uses CircuitBreakerUtils.DEFAULT_CIRCUIT_BREAKER for all the operations by default if no circuit breaker configuration is defined by the user.
*/
@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200630")
diff --git a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/ApmSyntheticAsync.java b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/ApmSyntheticAsync.java
index 6980c90b51..85c0ccc7af 100644
--- a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/ApmSyntheticAsync.java
+++ b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/ApmSyntheticAsync.java
@@ -8,7 +8,7 @@
import com.oracle.bmc.apmsynthetics.responses.*;
/**
- * Use the Application Performance Monitoring Synthetic Monitoring API to query synthetic scripts and monitors. For more information, see [Application Performance Monitoring](https://docs.oracle.com/iaas/application-performance-monitoring/index.html).
+ * Use the APM Availability Monitoring API to query Scripts, Monitors, Dedicated Vantage Points and On-Premise Vantage Points resources. For more information, see [Application Performance Monitoring](https://docs.oracle.com/iaas/application-performance-monitoring/index.html).
*/
@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200630")
public interface ApmSyntheticAsync extends AutoCloseable {
diff --git a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/ApmSyntheticAsyncClient.java b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/ApmSyntheticAsyncClient.java
index c94b7f6a96..619a7dc06c 100644
--- a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/ApmSyntheticAsyncClient.java
+++ b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/ApmSyntheticAsyncClient.java
@@ -472,10 +472,7 @@ public java.util.concurrent.Future aggregateNetwor
com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib);
com.oracle.bmc.ServiceDetails serviceDetails =
new com.oracle.bmc.ServiceDetails(
- "ApmSynthetic",
- "AggregateNetworkData",
- ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/AggregatedNetworkDataResult/AggregateNetworkData");
+ "ApmSynthetic", "AggregateNetworkData", ib.getRequestUri().toString(), "");
final java.util.function.Function
transformer =
AggregateNetworkDataConverter.fromResponse(
@@ -530,7 +527,7 @@ protected void beforeRetryAction() {}
"ApmSynthetic",
"CreateDedicatedVantagePoint",
ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/DedicatedVantagePoint/CreateDedicatedVantagePoint");
+ "");
final java.util.function.Function<
javax.ws.rs.core.Response, CreateDedicatedVantagePointResponse>
transformer =
@@ -581,10 +578,7 @@ public java.util.concurrent.Future createMonitor(
com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib);
com.oracle.bmc.ServiceDetails serviceDetails =
new com.oracle.bmc.ServiceDetails(
- "ApmSynthetic",
- "CreateMonitor",
- ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/Monitor/CreateMonitor");
+ "ApmSynthetic", "CreateMonitor", ib.getRequestUri().toString(), "");
final java.util.function.Function
transformer =
CreateMonitorConverter.fromResponse(java.util.Optional.of(serviceDetails));
@@ -637,7 +631,7 @@ protected void beforeRetryAction() {}
"ApmSynthetic",
"CreateOnPremiseVantagePoint",
ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/OnPremiseVantagePoint/CreateOnPremiseVantagePoint");
+ "");
final java.util.function.Function<
javax.ws.rs.core.Response, CreateOnPremiseVantagePointResponse>
transformer =
@@ -688,10 +682,7 @@ public java.util.concurrent.Future createScript(
com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib);
com.oracle.bmc.ServiceDetails serviceDetails =
new com.oracle.bmc.ServiceDetails(
- "ApmSynthetic",
- "CreateScript",
- ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/Script/CreateScript");
+ "ApmSynthetic", "CreateScript", ib.getRequestUri().toString(), "");
final java.util.function.Function
transformer =
CreateScriptConverter.fromResponse(java.util.Optional.of(serviceDetails));
@@ -738,10 +729,7 @@ public java.util.concurrent.Future createWorker(
com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib);
com.oracle.bmc.ServiceDetails serviceDetails =
new com.oracle.bmc.ServiceDetails(
- "ApmSynthetic",
- "CreateWorker",
- ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/Worker/CreateWorker");
+ "ApmSynthetic", "CreateWorker", ib.getRequestUri().toString(), "");
final java.util.function.Function
transformer =
CreateWorkerConverter.fromResponse(java.util.Optional.of(serviceDetails));
@@ -793,7 +781,7 @@ protected void beforeRetryAction() {}
"ApmSynthetic",
"DeleteDedicatedVantagePoint",
ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/DedicatedVantagePoint/DeleteDedicatedVantagePoint");
+ "");
final java.util.function.Function<
javax.ws.rs.core.Response, DeleteDedicatedVantagePointResponse>
transformer =
@@ -838,10 +826,7 @@ public java.util.concurrent.Future deleteMonitor(
DeleteMonitorConverter.fromRequest(client, interceptedRequest);
com.oracle.bmc.ServiceDetails serviceDetails =
new com.oracle.bmc.ServiceDetails(
- "ApmSynthetic",
- "DeleteMonitor",
- ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/Monitor/DeleteMonitor");
+ "ApmSynthetic", "DeleteMonitor", ib.getRequestUri().toString(), "");
final java.util.function.Function
transformer =
DeleteMonitorConverter.fromResponse(java.util.Optional.of(serviceDetails));
@@ -888,7 +873,7 @@ protected void beforeRetryAction() {}
"ApmSynthetic",
"DeleteOnPremiseVantagePoint",
ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/OnPremiseVantagePoint/DeleteOnPremiseVantagePoint");
+ "");
final java.util.function.Function<
javax.ws.rs.core.Response, DeleteOnPremiseVantagePointResponse>
transformer =
@@ -933,10 +918,7 @@ public java.util.concurrent.Future deleteScript(
DeleteScriptConverter.fromRequest(client, interceptedRequest);
com.oracle.bmc.ServiceDetails serviceDetails =
new com.oracle.bmc.ServiceDetails(
- "ApmSynthetic",
- "DeleteScript",
- ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/Script/DeleteScript");
+ "ApmSynthetic", "DeleteScript", ib.getRequestUri().toString(), "");
final java.util.function.Function
transformer =
DeleteScriptConverter.fromResponse(java.util.Optional.of(serviceDetails));
@@ -977,10 +959,7 @@ public java.util.concurrent.Future deleteWorker(
DeleteWorkerConverter.fromRequest(client, interceptedRequest);
com.oracle.bmc.ServiceDetails serviceDetails =
new com.oracle.bmc.ServiceDetails(
- "ApmSynthetic",
- "DeleteWorker",
- ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/Worker/DeleteWorker");
+ "ApmSynthetic", "DeleteWorker", ib.getRequestUri().toString(), "");
final java.util.function.Function
transformer =
DeleteWorkerConverter.fromResponse(java.util.Optional.of(serviceDetails));
@@ -1025,7 +1004,7 @@ public java.util.concurrent.Future getDedicate
"ApmSynthetic",
"GetDedicatedVantagePoint",
ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/DedicatedVantagePoint/GetDedicatedVantagePoint");
+ "");
final java.util.function.Function<
javax.ws.rs.core.Response, GetDedicatedVantagePointResponse>
transformer =
@@ -1068,10 +1047,7 @@ public java.util.concurrent.Future getMonitor(
GetMonitorConverter.fromRequest(client, interceptedRequest);
com.oracle.bmc.ServiceDetails serviceDetails =
new com.oracle.bmc.ServiceDetails(
- "ApmSynthetic",
- "GetMonitor",
- ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/Monitor/GetMonitor");
+ "ApmSynthetic", "GetMonitor", ib.getRequestUri().toString(), "");
final java.util.function.Function
transformer =
GetMonitorConverter.fromResponse(java.util.Optional.of(serviceDetails));
@@ -1113,10 +1089,7 @@ public java.util.concurrent.Future getMonitorResult(
GetMonitorResultConverter.fromRequest(client, interceptedRequest);
com.oracle.bmc.ServiceDetails serviceDetails =
new com.oracle.bmc.ServiceDetails(
- "ApmSynthetic",
- "GetMonitorResult",
- ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/MonitorResult/GetMonitorResult");
+ "ApmSynthetic", "GetMonitorResult", ib.getRequestUri().toString(), "");
final java.util.function.Function
transformer =
GetMonitorResultConverter.fromResponse(
@@ -1162,7 +1135,7 @@ public java.util.concurrent.Future getOnPremis
"ApmSynthetic",
"GetOnPremiseVantagePoint",
ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/OnPremiseVantagePoint/GetOnPremiseVantagePoint");
+ "");
final java.util.function.Function<
javax.ws.rs.core.Response, GetOnPremiseVantagePointResponse>
transformer =
@@ -1205,10 +1178,7 @@ public java.util.concurrent.Future getScript(
GetScriptConverter.fromRequest(client, interceptedRequest);
com.oracle.bmc.ServiceDetails serviceDetails =
new com.oracle.bmc.ServiceDetails(
- "ApmSynthetic",
- "GetScript",
- ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/Script/GetScript");
+ "ApmSynthetic", "GetScript", ib.getRequestUri().toString(), "");
final java.util.function.Function
transformer =
GetScriptConverter.fromResponse(java.util.Optional.of(serviceDetails));
@@ -1247,10 +1217,7 @@ public java.util.concurrent.Future getWorker(
GetWorkerConverter.fromRequest(client, interceptedRequest);
com.oracle.bmc.ServiceDetails serviceDetails =
new com.oracle.bmc.ServiceDetails(
- "ApmSynthetic",
- "GetWorker",
- ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/Worker/GetWorker");
+ "ApmSynthetic", "GetWorker", ib.getRequestUri().toString(), "");
final java.util.function.Function
transformer =
GetWorkerConverter.fromResponse(java.util.Optional.of(serviceDetails));
@@ -1296,7 +1263,7 @@ protected void beforeRetryAction() {}
"ApmSynthetic",
"ListDedicatedVantagePoints",
ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/DedicatedVantagePointCollection/ListDedicatedVantagePoints");
+ "");
final java.util.function.Function<
javax.ws.rs.core.Response, ListDedicatedVantagePointsResponse>
transformer =
@@ -1341,10 +1308,7 @@ public java.util.concurrent.Future listMonitors(
ListMonitorsConverter.fromRequest(client, interceptedRequest);
com.oracle.bmc.ServiceDetails serviceDetails =
new com.oracle.bmc.ServiceDetails(
- "ApmSynthetic",
- "ListMonitors",
- ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/MonitorCollection/ListMonitors");
+ "ApmSynthetic", "ListMonitors", ib.getRequestUri().toString(), "");
final java.util.function.Function
transformer =
ListMonitorsConverter.fromResponse(java.util.Optional.of(serviceDetails));
@@ -1391,7 +1355,7 @@ protected void beforeRetryAction() {}
"ApmSynthetic",
"ListOnPremiseVantagePoints",
ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/OnPremiseVantagePointCollection/ListOnPremiseVantagePoints");
+ "");
final java.util.function.Function<
javax.ws.rs.core.Response, ListOnPremiseVantagePointsResponse>
transformer =
@@ -1440,7 +1404,7 @@ public java.util.concurrent.Future listPublicVa
"ApmSynthetic",
"ListPublicVantagePoints",
ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/PublicVantagePointCollection/ListPublicVantagePoints");
+ "");
final java.util.function.Function<
javax.ws.rs.core.Response, ListPublicVantagePointsResponse>
transformer =
@@ -1484,10 +1448,7 @@ public java.util.concurrent.Future listScripts(
ListScriptsConverter.fromRequest(client, interceptedRequest);
com.oracle.bmc.ServiceDetails serviceDetails =
new com.oracle.bmc.ServiceDetails(
- "ApmSynthetic",
- "ListScripts",
- ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/ScriptCollection/ListScripts");
+ "ApmSynthetic", "ListScripts", ib.getRequestUri().toString(), "");
final java.util.function.Function
transformer =
ListScriptsConverter.fromResponse(java.util.Optional.of(serviceDetails));
@@ -1528,10 +1489,7 @@ public java.util.concurrent.Future listWorkers(
ListWorkersConverter.fromRequest(client, interceptedRequest);
com.oracle.bmc.ServiceDetails serviceDetails =
new com.oracle.bmc.ServiceDetails(
- "ApmSynthetic",
- "ListWorkers",
- ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/WorkerCollection/ListWorkers");
+ "ApmSynthetic", "ListWorkers", ib.getRequestUri().toString(), "");
final java.util.function.Function
transformer =
ListWorkersConverter.fromResponse(java.util.Optional.of(serviceDetails));
@@ -1578,7 +1536,7 @@ protected void beforeRetryAction() {}
"ApmSynthetic",
"UpdateDedicatedVantagePoint",
ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/DedicatedVantagePoint/UpdateDedicatedVantagePoint");
+ "");
final java.util.function.Function<
javax.ws.rs.core.Response, UpdateDedicatedVantagePointResponse>
transformer =
@@ -1628,10 +1586,7 @@ public java.util.concurrent.Future updateMonitor(
UpdateMonitorConverter.fromRequest(client, interceptedRequest);
com.oracle.bmc.ServiceDetails serviceDetails =
new com.oracle.bmc.ServiceDetails(
- "ApmSynthetic",
- "UpdateMonitor",
- ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/Monitor/UpdateMonitor");
+ "ApmSynthetic", "UpdateMonitor", ib.getRequestUri().toString(), "");
final java.util.function.Function
transformer =
UpdateMonitorConverter.fromResponse(java.util.Optional.of(serviceDetails));
@@ -1683,7 +1638,7 @@ protected void beforeRetryAction() {}
"ApmSynthetic",
"UpdateOnPremiseVantagePoint",
ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/OnPremiseVantagePoint/UpdateOnPremiseVantagePoint");
+ "");
final java.util.function.Function<
javax.ws.rs.core.Response, UpdateOnPremiseVantagePointResponse>
transformer =
@@ -1733,10 +1688,7 @@ public java.util.concurrent.Future updateScript(
UpdateScriptConverter.fromRequest(client, interceptedRequest);
com.oracle.bmc.ServiceDetails serviceDetails =
new com.oracle.bmc.ServiceDetails(
- "ApmSynthetic",
- "UpdateScript",
- ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/Script/UpdateScript");
+ "ApmSynthetic", "UpdateScript", ib.getRequestUri().toString(), "");
final java.util.function.Function
transformer =
UpdateScriptConverter.fromResponse(java.util.Optional.of(serviceDetails));
@@ -1782,10 +1734,7 @@ public java.util.concurrent.Future updateWorker(
UpdateWorkerConverter.fromRequest(client, interceptedRequest);
com.oracle.bmc.ServiceDetails serviceDetails =
new com.oracle.bmc.ServiceDetails(
- "ApmSynthetic",
- "UpdateWorker",
- ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/Worker/UpdateWorker");
+ "ApmSynthetic", "UpdateWorker", ib.getRequestUri().toString(), "");
final java.util.function.Function
transformer =
UpdateWorkerConverter.fromResponse(java.util.Optional.of(serviceDetails));
diff --git a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/ApmSyntheticClient.java b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/ApmSyntheticClient.java
index 213fa29662..025334deb1 100644
--- a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/ApmSyntheticClient.java
+++ b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/ApmSyntheticClient.java
@@ -489,10 +489,7 @@ public AggregateNetworkDataResponse aggregateNetworkData(AggregateNetworkDataReq
com.oracle.bmc.http.internal.RetryUtils.setClientRetriesHeader(ib, retrier);
com.oracle.bmc.ServiceDetails serviceDetails =
new com.oracle.bmc.ServiceDetails(
- "ApmSynthetic",
- "AggregateNetworkData",
- ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/AggregatedNetworkDataResult/AggregateNetworkData");
+ "ApmSynthetic", "AggregateNetworkData", ib.getRequestUri().toString(), "");
java.util.function.Function
transformer =
AggregateNetworkDataConverter.fromResponse(
@@ -535,7 +532,7 @@ public CreateDedicatedVantagePointResponse createDedicatedVantagePoint(
"ApmSynthetic",
"CreateDedicatedVantagePoint",
ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/DedicatedVantagePoint/CreateDedicatedVantagePoint");
+ "");
java.util.function.Function
transformer =
CreateDedicatedVantagePointConverter.fromResponse(
@@ -575,10 +572,7 @@ public CreateMonitorResponse createMonitor(CreateMonitorRequest request) {
com.oracle.bmc.http.internal.RetryUtils.setClientRetriesHeader(ib, retrier);
com.oracle.bmc.ServiceDetails serviceDetails =
new com.oracle.bmc.ServiceDetails(
- "ApmSynthetic",
- "CreateMonitor",
- ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/Monitor/CreateMonitor");
+ "ApmSynthetic", "CreateMonitor", ib.getRequestUri().toString(), "");
java.util.function.Function transformer =
CreateMonitorConverter.fromResponse(java.util.Optional.of(serviceDetails));
return retrier.execute(
@@ -619,7 +613,7 @@ public CreateOnPremiseVantagePointResponse createOnPremiseVantagePoint(
"ApmSynthetic",
"CreateOnPremiseVantagePoint",
ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/OnPremiseVantagePoint/CreateOnPremiseVantagePoint");
+ "");
java.util.function.Function
transformer =
CreateOnPremiseVantagePointConverter.fromResponse(
@@ -659,10 +653,7 @@ public CreateScriptResponse createScript(CreateScriptRequest request) {
com.oracle.bmc.http.internal.RetryUtils.setClientRetriesHeader(ib, retrier);
com.oracle.bmc.ServiceDetails serviceDetails =
new com.oracle.bmc.ServiceDetails(
- "ApmSynthetic",
- "CreateScript",
- ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/Script/CreateScript");
+ "ApmSynthetic", "CreateScript", ib.getRequestUri().toString(), "");
java.util.function.Function transformer =
CreateScriptConverter.fromResponse(java.util.Optional.of(serviceDetails));
return retrier.execute(
@@ -699,10 +690,7 @@ public CreateWorkerResponse createWorker(CreateWorkerRequest request) {
com.oracle.bmc.http.internal.RetryUtils.setClientRetriesHeader(ib, retrier);
com.oracle.bmc.ServiceDetails serviceDetails =
new com.oracle.bmc.ServiceDetails(
- "ApmSynthetic",
- "CreateWorker",
- ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/Worker/CreateWorker");
+ "ApmSynthetic", "CreateWorker", ib.getRequestUri().toString(), "");
java.util.function.Function transformer =
CreateWorkerConverter.fromResponse(java.util.Optional.of(serviceDetails));
return retrier.execute(
@@ -742,7 +730,7 @@ public DeleteDedicatedVantagePointResponse deleteDedicatedVantagePoint(
"ApmSynthetic",
"DeleteDedicatedVantagePoint",
ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/DedicatedVantagePoint/DeleteDedicatedVantagePoint");
+ "");
java.util.function.Function
transformer =
DeleteDedicatedVantagePointConverter.fromResponse(
@@ -777,10 +765,7 @@ public DeleteMonitorResponse deleteMonitor(DeleteMonitorRequest request) {
com.oracle.bmc.http.internal.RetryUtils.setClientRetriesHeader(ib, retrier);
com.oracle.bmc.ServiceDetails serviceDetails =
new com.oracle.bmc.ServiceDetails(
- "ApmSynthetic",
- "DeleteMonitor",
- ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/Monitor/DeleteMonitor");
+ "ApmSynthetic", "DeleteMonitor", ib.getRequestUri().toString(), "");
java.util.function.Function transformer =
DeleteMonitorConverter.fromResponse(java.util.Optional.of(serviceDetails));
return retrier.execute(
@@ -817,7 +802,7 @@ public DeleteOnPremiseVantagePointResponse deleteOnPremiseVantagePoint(
"ApmSynthetic",
"DeleteOnPremiseVantagePoint",
ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/OnPremiseVantagePoint/DeleteOnPremiseVantagePoint");
+ "");
java.util.function.Function
transformer =
DeleteOnPremiseVantagePointConverter.fromResponse(
@@ -852,10 +837,7 @@ public DeleteScriptResponse deleteScript(DeleteScriptRequest request) {
com.oracle.bmc.http.internal.RetryUtils.setClientRetriesHeader(ib, retrier);
com.oracle.bmc.ServiceDetails serviceDetails =
new com.oracle.bmc.ServiceDetails(
- "ApmSynthetic",
- "DeleteScript",
- ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/Script/DeleteScript");
+ "ApmSynthetic", "DeleteScript", ib.getRequestUri().toString(), "");
java.util.function.Function transformer =
DeleteScriptConverter.fromResponse(java.util.Optional.of(serviceDetails));
return retrier.execute(
@@ -888,10 +870,7 @@ public DeleteWorkerResponse deleteWorker(DeleteWorkerRequest request) {
com.oracle.bmc.http.internal.RetryUtils.setClientRetriesHeader(ib, retrier);
com.oracle.bmc.ServiceDetails serviceDetails =
new com.oracle.bmc.ServiceDetails(
- "ApmSynthetic",
- "DeleteWorker",
- ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/Worker/DeleteWorker");
+ "ApmSynthetic", "DeleteWorker", ib.getRequestUri().toString(), "");
java.util.function.Function transformer =
DeleteWorkerConverter.fromResponse(java.util.Optional.of(serviceDetails));
return retrier.execute(
@@ -928,7 +907,7 @@ public GetDedicatedVantagePointResponse getDedicatedVantagePoint(
"ApmSynthetic",
"GetDedicatedVantagePoint",
ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/DedicatedVantagePoint/GetDedicatedVantagePoint");
+ "");
java.util.function.Function
transformer =
GetDedicatedVantagePointConverter.fromResponse(
@@ -961,10 +940,7 @@ public GetMonitorResponse getMonitor(GetMonitorRequest request) {
com.oracle.bmc.http.internal.RetryUtils.setClientRetriesHeader(ib, retrier);
com.oracle.bmc.ServiceDetails serviceDetails =
new com.oracle.bmc.ServiceDetails(
- "ApmSynthetic",
- "GetMonitor",
- ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/Monitor/GetMonitor");
+ "ApmSynthetic", "GetMonitor", ib.getRequestUri().toString(), "");
java.util.function.Function transformer =
GetMonitorConverter.fromResponse(java.util.Optional.of(serviceDetails));
return retrier.execute(
@@ -996,10 +972,7 @@ public GetMonitorResultResponse getMonitorResult(GetMonitorResultRequest request
com.oracle.bmc.http.internal.RetryUtils.setClientRetriesHeader(ib, retrier);
com.oracle.bmc.ServiceDetails serviceDetails =
new com.oracle.bmc.ServiceDetails(
- "ApmSynthetic",
- "GetMonitorResult",
- ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/MonitorResult/GetMonitorResult");
+ "ApmSynthetic", "GetMonitorResult", ib.getRequestUri().toString(), "");
java.util.function.Function
transformer =
GetMonitorResultConverter.fromResponse(
@@ -1037,7 +1010,7 @@ public GetOnPremiseVantagePointResponse getOnPremiseVantagePoint(
"ApmSynthetic",
"GetOnPremiseVantagePoint",
ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/OnPremiseVantagePoint/GetOnPremiseVantagePoint");
+ "");
java.util.function.Function
transformer =
GetOnPremiseVantagePointConverter.fromResponse(
@@ -1070,10 +1043,7 @@ public GetScriptResponse getScript(GetScriptRequest request) {
com.oracle.bmc.http.internal.RetryUtils.setClientRetriesHeader(ib, retrier);
com.oracle.bmc.ServiceDetails serviceDetails =
new com.oracle.bmc.ServiceDetails(
- "ApmSynthetic",
- "GetScript",
- ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/Script/GetScript");
+ "ApmSynthetic", "GetScript", ib.getRequestUri().toString(), "");
java.util.function.Function transformer =
GetScriptConverter.fromResponse(java.util.Optional.of(serviceDetails));
return retrier.execute(
@@ -1104,10 +1074,7 @@ public GetWorkerResponse getWorker(GetWorkerRequest request) {
com.oracle.bmc.http.internal.RetryUtils.setClientRetriesHeader(ib, retrier);
com.oracle.bmc.ServiceDetails serviceDetails =
new com.oracle.bmc.ServiceDetails(
- "ApmSynthetic",
- "GetWorker",
- ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/Worker/GetWorker");
+ "ApmSynthetic", "GetWorker", ib.getRequestUri().toString(), "");
java.util.function.Function transformer =
GetWorkerConverter.fromResponse(java.util.Optional.of(serviceDetails));
return retrier.execute(
@@ -1143,7 +1110,7 @@ public ListDedicatedVantagePointsResponse listDedicatedVantagePoints(
"ApmSynthetic",
"ListDedicatedVantagePoints",
ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/DedicatedVantagePointCollection/ListDedicatedVantagePoints");
+ "");
java.util.function.Function
transformer =
ListDedicatedVantagePointsConverter.fromResponse(
@@ -1177,10 +1144,7 @@ public ListMonitorsResponse listMonitors(ListMonitorsRequest request) {
com.oracle.bmc.http.internal.RetryUtils.setClientRetriesHeader(ib, retrier);
com.oracle.bmc.ServiceDetails serviceDetails =
new com.oracle.bmc.ServiceDetails(
- "ApmSynthetic",
- "ListMonitors",
- ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/MonitorCollection/ListMonitors");
+ "ApmSynthetic", "ListMonitors", ib.getRequestUri().toString(), "");
java.util.function.Function transformer =
ListMonitorsConverter.fromResponse(java.util.Optional.of(serviceDetails));
return retrier.execute(
@@ -1216,7 +1180,7 @@ public ListOnPremiseVantagePointsResponse listOnPremiseVantagePoints(
"ApmSynthetic",
"ListOnPremiseVantagePoints",
ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/OnPremiseVantagePointCollection/ListOnPremiseVantagePoints");
+ "");
java.util.function.Function
transformer =
ListOnPremiseVantagePointsConverter.fromResponse(
@@ -1254,7 +1218,7 @@ public ListPublicVantagePointsResponse listPublicVantagePoints(
"ApmSynthetic",
"ListPublicVantagePoints",
ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/PublicVantagePointCollection/ListPublicVantagePoints");
+ "");
java.util.function.Function
transformer =
ListPublicVantagePointsConverter.fromResponse(
@@ -1288,10 +1252,7 @@ public ListScriptsResponse listScripts(ListScriptsRequest request) {
com.oracle.bmc.http.internal.RetryUtils.setClientRetriesHeader(ib, retrier);
com.oracle.bmc.ServiceDetails serviceDetails =
new com.oracle.bmc.ServiceDetails(
- "ApmSynthetic",
- "ListScripts",
- ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/ScriptCollection/ListScripts");
+ "ApmSynthetic", "ListScripts", ib.getRequestUri().toString(), "");
java.util.function.Function transformer =
ListScriptsConverter.fromResponse(java.util.Optional.of(serviceDetails));
return retrier.execute(
@@ -1323,10 +1284,7 @@ public ListWorkersResponse listWorkers(ListWorkersRequest request) {
com.oracle.bmc.http.internal.RetryUtils.setClientRetriesHeader(ib, retrier);
com.oracle.bmc.ServiceDetails serviceDetails =
new com.oracle.bmc.ServiceDetails(
- "ApmSynthetic",
- "ListWorkers",
- ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/WorkerCollection/ListWorkers");
+ "ApmSynthetic", "ListWorkers", ib.getRequestUri().toString(), "");
java.util.function.Function transformer =
ListWorkersConverter.fromResponse(java.util.Optional.of(serviceDetails));
return retrier.execute(
@@ -1362,7 +1320,7 @@ public UpdateDedicatedVantagePointResponse updateDedicatedVantagePoint(
"ApmSynthetic",
"UpdateDedicatedVantagePoint",
ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/DedicatedVantagePoint/UpdateDedicatedVantagePoint");
+ "");
java.util.function.Function
transformer =
UpdateDedicatedVantagePointConverter.fromResponse(
@@ -1401,10 +1359,7 @@ public UpdateMonitorResponse updateMonitor(UpdateMonitorRequest request) {
com.oracle.bmc.http.internal.RetryUtils.setClientRetriesHeader(ib, retrier);
com.oracle.bmc.ServiceDetails serviceDetails =
new com.oracle.bmc.ServiceDetails(
- "ApmSynthetic",
- "UpdateMonitor",
- ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/Monitor/UpdateMonitor");
+ "ApmSynthetic", "UpdateMonitor", ib.getRequestUri().toString(), "");
java.util.function.Function transformer =
UpdateMonitorConverter.fromResponse(java.util.Optional.of(serviceDetails));
return retrier.execute(
@@ -1444,7 +1399,7 @@ public UpdateOnPremiseVantagePointResponse updateOnPremiseVantagePoint(
"ApmSynthetic",
"UpdateOnPremiseVantagePoint",
ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/OnPremiseVantagePoint/UpdateOnPremiseVantagePoint");
+ "");
java.util.function.Function
transformer =
UpdateOnPremiseVantagePointConverter.fromResponse(
@@ -1483,10 +1438,7 @@ public UpdateScriptResponse updateScript(UpdateScriptRequest request) {
com.oracle.bmc.http.internal.RetryUtils.setClientRetriesHeader(ib, retrier);
com.oracle.bmc.ServiceDetails serviceDetails =
new com.oracle.bmc.ServiceDetails(
- "ApmSynthetic",
- "UpdateScript",
- ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/Script/UpdateScript");
+ "ApmSynthetic", "UpdateScript", ib.getRequestUri().toString(), "");
java.util.function.Function transformer =
UpdateScriptConverter.fromResponse(java.util.Optional.of(serviceDetails));
return retrier.execute(
@@ -1522,10 +1474,7 @@ public UpdateWorkerResponse updateWorker(UpdateWorkerRequest request) {
com.oracle.bmc.http.internal.RetryUtils.setClientRetriesHeader(ib, retrier);
com.oracle.bmc.ServiceDetails serviceDetails =
new com.oracle.bmc.ServiceDetails(
- "ApmSynthetic",
- "UpdateWorker",
- ib.getRequestUri().toString(),
- "https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/20200630/Worker/UpdateWorker");
+ "ApmSynthetic", "UpdateWorker", ib.getRequestUri().toString(), "");
java.util.function.Function transformer =
UpdateWorkerConverter.fromResponse(java.util.Optional.of(serviceDetails));
return retrier.execute(
diff --git a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/FtpMonitorConfiguration.java b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/FtpMonitorConfiguration.java
index 08a0f4a81d..1a707bb10f 100644
--- a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/FtpMonitorConfiguration.java
+++ b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/FtpMonitorConfiguration.java
@@ -77,13 +77,13 @@ public Builder ftpRequestType(FtpRequestType ftpRequestType) {
return this;
}
/**
- * If enabled, Active mode will be used for the FTP connection.
+ * If enabled, Active mode will be used for the FTP connection. Not supported for SFTP protocol.
**/
@com.fasterxml.jackson.annotation.JsonProperty("isActiveMode")
private Boolean isActiveMode;
/**
- * If enabled, Active mode will be used for the FTP connection.
+ * If enabled, Active mode will be used for the FTP connection. Not supported for SFTP protocol.
* @param isActiveMode the value to set
* @return this builder
**/
@@ -307,13 +307,13 @@ public FtpRequestType getFtpRequestType() {
}
/**
- * If enabled, Active mode will be used for the FTP connection.
+ * If enabled, Active mode will be used for the FTP connection. Not supported for SFTP protocol.
**/
@com.fasterxml.jackson.annotation.JsonProperty("isActiveMode")
private final Boolean isActiveMode;
/**
- * If enabled, Active mode will be used for the FTP connection.
+ * If enabled, Active mode will be used for the FTP connection. Not supported for SFTP protocol.
* @return the value
**/
public Boolean getIsActiveMode() {
diff --git a/bmc-apmtraces/pom.xml b/bmc-apmtraces/pom.xml
index 22d106ccc6..634ab263e0 100644
--- a/bmc-apmtraces/pom.xml
+++ b/bmc-apmtraces/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.81.0
+ 2.82.0
../pom.xml
oci-java-sdk-apmtraces
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.81.0
+ 2.82.0
diff --git a/bmc-appmgmtcontrol/pom.xml b/bmc-appmgmtcontrol/pom.xml
index 6f7eef6722..633dcf1101 100644
--- a/bmc-appmgmtcontrol/pom.xml
+++ b/bmc-appmgmtcontrol/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.81.0
+ 2.82.0
../pom.xml
oci-java-sdk-appmgmtcontrol
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.81.0
+ 2.82.0
\ No newline at end of file
diff --git a/bmc-artifacts/pom.xml b/bmc-artifacts/pom.xml
index 46b66a9dc9..5cb14ba244 100644
--- a/bmc-artifacts/pom.xml
+++ b/bmc-artifacts/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.81.0
+ 2.82.0
../pom.xml
oci-java-sdk-artifacts
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.81.0
+ 2.82.0
diff --git a/bmc-audit/pom.xml b/bmc-audit/pom.xml
index 0bcb4d5ee9..9246193580 100644
--- a/bmc-audit/pom.xml
+++ b/bmc-audit/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.81.0
+ 2.82.0
../pom.xml
@@ -19,7 +19,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.81.0
+ 2.82.0
diff --git a/bmc-autoscaling/pom.xml b/bmc-autoscaling/pom.xml
index 77b047e8ab..fd9040cd9a 100644
--- a/bmc-autoscaling/pom.xml
+++ b/bmc-autoscaling/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.81.0
+ 2.82.0
../pom.xml
oci-java-sdk-autoscaling
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.81.0
+ 2.82.0
diff --git a/bmc-bastion/pom.xml b/bmc-bastion/pom.xml
index 7f728d78e7..6efb2b5807 100644
--- a/bmc-bastion/pom.xml
+++ b/bmc-bastion/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.81.0
+ 2.82.0
../pom.xml
oci-java-sdk-bastion
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.81.0
+ 2.82.0
diff --git a/bmc-bds/pom.xml b/bmc-bds/pom.xml
index 83d467a9d3..43ea8b8c88 100644
--- a/bmc-bds/pom.xml
+++ b/bmc-bds/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.81.0
+ 2.82.0
../pom.xml
oci-java-sdk-bds
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.81.0
+ 2.82.0
diff --git a/bmc-blockchain/pom.xml b/bmc-blockchain/pom.xml
index 20077bebbd..ea63b7c035 100644
--- a/bmc-blockchain/pom.xml
+++ b/bmc-blockchain/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.81.0
+ 2.82.0
../pom.xml
oci-java-sdk-blockchain
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.81.0
+ 2.82.0
diff --git a/bmc-bom/pom.xml b/bmc-bom/pom.xml
index 9ce76bd4fc..3531bf0047 100644
--- a/bmc-bom/pom.xml
+++ b/bmc-bom/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.81.0
+ 2.82.0
../pom.xml
oci-java-sdk-bom
@@ -19,947 +19,965 @@
com.oracle.oci.sdk
oci-java-sdk-circuitbreaker
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-common
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-enforcer-rules
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-shaded-full
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-audit
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-containerengine
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-core
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-database
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-dns
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-email
- 2.81.0
+ 2.82.0
+ false
+
+
+ com.oracle.oci.sdk
+ oci-java-sdk-objectstorage-generated
+ 2.82.0
+ false
+
+
+ com.oracle.oci.sdk
+ oci-java-sdk-objectstorage-extensions
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-filestorage
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-identity
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-loadbalancer
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-objectstorage
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-addons-resteasy-client-configurator
- 2.81.0
+ 2.82.0
com.oracle.oci.sdk
oci-java-sdk-addons-sasl
- 2.81.0
+ 2.82.0
com.oracle.oci.sdk
oci-java-sdk-addons-oke-workload-identity
- 2.81.0
+ 2.82.0
com.oracle.oci.sdk
oci-java-sdk-addons-graalvm
- 2.81.0
+ 2.82.0
com.oracle.oci.sdk
oci-java-sdk-resourcesearch
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-addons-apache
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-keymanagement
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-announcementsservice
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-healthchecks
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-waas
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-streaming
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-resourcemanager
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-monitoring
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-ons
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-autoscaling
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-budget
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-workrequests
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-limits
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-functions
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-events
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-dts
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-oce
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-oda
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-analytics
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-integration
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-osmanagement
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-marketplace
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-apigateway
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-datacatalog
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-dataflow
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-datascience
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-nosql
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-secrets
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-vault
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-bds
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-encryption
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-cims
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-datasafe
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-mysql
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-dataintegration
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-ocvp
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-usageapi
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-blockchain
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-loggingingestion
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-logging
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-loganalytics
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-managementdashboard
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-sch
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-loggingsearch
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-managementagent
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-cloudguard
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-opsi
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-computeinstanceagent
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-optimizer
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-tenantmanagercontrolplane
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-rover
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-databasemanagement
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-artifacts
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-apmsynthetics
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-goldengate
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-apmcontrolplane
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-apmtraces
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-networkloadbalancer
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-vulnerabilityscanning
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-databasemigration
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-servicecatalog
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-ailanguage
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-operatoraccesscontrol
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-bastion
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-genericartifactscontent
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-jms
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-devops
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-aianomalydetection
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-datalabelingservice
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-datalabelingservicedataplane
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-apmconfig
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-waf
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-certificates
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-certificatesmanagement
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-usage
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-databasetools
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-servicemanagerproxy
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-appmgmtcontrol
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-ospgateway
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-identitydataplane
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-visualbuilder
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-osubusage
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-osubsubscription
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-osuborganizationsubscription
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-osubbillingschedule
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-dashboardservice
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-threatintelligence
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-aivision
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-aispeech
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-stackmonitoring
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-servicemesh
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-adm
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-licensemanager
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-onesubscription
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-governancerulescontrolplane
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-waa
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-networkfirewall
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-vnmonitoring
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-emwarehouse
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-lockbox
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-fusionapps
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-mediaservices
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-opa
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-opensearch
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-cloudmigrations
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-cloudbridge
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-disasterrecovery
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-containerinstances
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-aidocument
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-queue
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-recovery
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-vbsinst
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-identitydomains
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-accessgovernancecp
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-ocicontrolcenter
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-osmanagementhub
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-fleetsoftwareupdate
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-computecloudatcustomer
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-marketplacepublisher
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-redis
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-jmsjavadownloads
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-psql
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-generativeai
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-generativeaiinference
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-capacitymanagement
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-globallydistributeddatabase
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-desktops
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-emaildataplane
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-clusterplacementgroups
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-marketplaceprivateoffer
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-resourcescheduler
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-demandsignal
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-fleetappsmanagement
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-delegateaccesscontrol
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-generativeaiagent
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-generativeaiagentruntime
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-securityattribute
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-zpr
- 2.81.0
+ 2.82.0
false
com.oracle.oci.sdk
oci-java-sdk-dblm
- 2.81.0
+ 2.82.0
+ false
+
+
+ com.oracle.oci.sdk
+ oci-java-sdk-mngdmac
+ 2.82.0
false
diff --git a/bmc-budget/pom.xml b/bmc-budget/pom.xml
index 8ad104ad83..96d78bddb0 100644
--- a/bmc-budget/pom.xml
+++ b/bmc-budget/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.81.0
+ 2.82.0
../pom.xml
oci-java-sdk-budget
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.81.0
+ 2.82.0
diff --git a/bmc-capacitymanagement/pom.xml b/bmc-capacitymanagement/pom.xml
index 9aa5332d57..3bda74dcbd 100644
--- a/bmc-capacitymanagement/pom.xml
+++ b/bmc-capacitymanagement/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.81.0
+ 2.82.0
../pom.xml
oci-java-sdk-capacitymanagement
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.81.0
+ 2.82.0
\ No newline at end of file
diff --git a/bmc-certificates/pom.xml b/bmc-certificates/pom.xml
index 8fb8f73791..b78e27acf0 100644
--- a/bmc-certificates/pom.xml
+++ b/bmc-certificates/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.81.0
+ 2.82.0
../pom.xml
oci-java-sdk-certificates
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.81.0
+ 2.82.0
\ No newline at end of file
diff --git a/bmc-certificatesmanagement/pom.xml b/bmc-certificatesmanagement/pom.xml
index 4a42919c56..b9b9b03cff 100644
--- a/bmc-certificatesmanagement/pom.xml
+++ b/bmc-certificatesmanagement/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.81.0
+ 2.82.0
../pom.xml
oci-java-sdk-certificatesmanagement
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.81.0
+ 2.82.0
\ No newline at end of file
diff --git a/bmc-cims/pom.xml b/bmc-cims/pom.xml
index c9e6e4239f..6172b1f693 100644
--- a/bmc-cims/pom.xml
+++ b/bmc-cims/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.81.0
+ 2.82.0
../pom.xml
oci-java-sdk-cims
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.81.0
+ 2.82.0
diff --git a/bmc-circuitbreaker/pom.xml b/bmc-circuitbreaker/pom.xml
index 9ab3ee5c53..5e21514c6b 100644
--- a/bmc-circuitbreaker/pom.xml
+++ b/bmc-circuitbreaker/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.81.0
+ 2.82.0
../pom.xml
oci-java-sdk-circuitbreaker
diff --git a/bmc-cloudbridge/pom.xml b/bmc-cloudbridge/pom.xml
index 8f2d614aa2..8ba23bfe62 100644
--- a/bmc-cloudbridge/pom.xml
+++ b/bmc-cloudbridge/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.81.0
+ 2.82.0
../pom.xml
oci-java-sdk-cloudbridge
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.81.0
+ 2.82.0
\ No newline at end of file
diff --git a/bmc-cloudguard/pom.xml b/bmc-cloudguard/pom.xml
index a062631307..95b47711e1 100644
--- a/bmc-cloudguard/pom.xml
+++ b/bmc-cloudguard/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.81.0
+ 2.82.0
../pom.xml
oci-java-sdk-cloudguard
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.81.0
+ 2.82.0
diff --git a/bmc-cloudmigrations/pom.xml b/bmc-cloudmigrations/pom.xml
index 0d2b22d1e6..7390f58356 100644
--- a/bmc-cloudmigrations/pom.xml
+++ b/bmc-cloudmigrations/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.81.0
+ 2.82.0
../pom.xml
oci-java-sdk-cloudmigrations
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.81.0
+ 2.82.0
\ No newline at end of file
diff --git a/bmc-clusterplacementgroups/pom.xml b/bmc-clusterplacementgroups/pom.xml
index 29fbbfacdd..eb9bb9f212 100644
--- a/bmc-clusterplacementgroups/pom.xml
+++ b/bmc-clusterplacementgroups/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.81.0
+ 2.82.0
../pom.xml
oci-java-sdk-clusterplacementgroups
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.81.0
+ 2.82.0
\ No newline at end of file
diff --git a/bmc-common/pom.xml b/bmc-common/pom.xml
index fd54bf4604..6d069ad49d 100644
--- a/bmc-common/pom.xml
+++ b/bmc-common/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.81.0
+ 2.82.0
../pom.xml
@@ -92,7 +92,7 @@
com.oracle.oci.sdk
oci-java-sdk-circuitbreaker
- 2.81.0
+ 2.82.0
diff --git a/bmc-common/src/main/java/com/oracle/bmc/http/signing/pki/Utf8.java b/bmc-common/src/main/java/com/oracle/bmc/http/signing/pki/Utf8.java
index 239f06b74b..b1ae6ddb5e 100644
--- a/bmc-common/src/main/java/com/oracle/bmc/http/signing/pki/Utf8.java
+++ b/bmc-common/src/main/java/com/oracle/bmc/http/signing/pki/Utf8.java
@@ -8,6 +8,7 @@
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.CharBuffer;
+import java.nio.Buffer;
import java.nio.channels.Channels;
import java.nio.channels.ReadableByteChannel;
import java.nio.channels.WritableByteChannel;
@@ -51,11 +52,15 @@ static Utf8 of(ReadableByteChannel content) throws IOException {
if (bytesRead == -1) {
break; // End of stream
}
- buffer.flip();
+ // cast is necessary to avoid NoSuchMethodError in Java 8
+ // see https://stackoverflow.com/questions/48693695/java-nio-buffer-not-loading-clear-method-on-runtime
+ ((Buffer) buffer).flip();
while (buffer.hasRemaining()) {
sink.write(buffer); // Write to the sink channel
}
- buffer.clear();
+ // cast is necessary to avoid NoSuchMethodError in Java 8
+ // see https://stackoverflow.com/questions/48693695/java-nio-buffer-not-loading-clear-method-on-runtime
+ ((Buffer) buffer).clear();
}
} catch (IOException e) {
throw new RuntimeException(
@@ -66,7 +71,9 @@ static Utf8 of(ReadableByteChannel content) throws IOException {
// Wait for the task to complete
readTask.join();
- buffer.flip();
+ // cast is necessary to avoid NoSuchMethodError in Java 8
+ // see https://stackoverflow.com/questions/48693695/java-nio-buffer-not-loading-clear-method-on-runtime
+ ((Buffer) buffer).flip();
while (buffer.hasRemaining()) {
sink.write(buffer);
}
@@ -248,7 +255,9 @@ private CharBuffer copyOf(CharBuffer existing) {
final CharBuffer copy = CharBuffer.allocate(existing.remaining());
final CharBuffer temp = existing.asReadOnlyBuffer();
copy.put(temp);
- copy.flip();
+ // cast is necessary to avoid NoSuchMethodError in Java 8
+ // see https://stackoverflow.com/questions/48693695/java-nio-buffer-not-loading-clear-method-on-runtime
+ ((Buffer) copy).flip();
return copy;
}
@@ -266,7 +275,9 @@ public Utf8 removeWhitespace() {
modified.put(c);
}
}
- modified.flip();
+ // cast is necessary to avoid NoSuchMethodError in Java 8
+ // see https://stackoverflow.com/questions/48693695/java-nio-buffer-not-loading-clear-method-on-runtime
+ ((Buffer) modified).flip();
return new Chars(modified);
}
diff --git a/bmc-common/src/test/java/com/oracle/bmc/http/signing/pki/Utf8Test.java b/bmc-common/src/test/java/com/oracle/bmc/http/signing/pki/Utf8Test.java
index d4eefca19e..e316929b29 100644
--- a/bmc-common/src/test/java/com/oracle/bmc/http/signing/pki/Utf8Test.java
+++ b/bmc-common/src/test/java/com/oracle/bmc/http/signing/pki/Utf8Test.java
@@ -6,6 +6,11 @@
import org.junit.Test;
+import java.io.ByteArrayInputStream;
+import java.io.IOException;
+import java.nio.channels.Channels;
+import java.nio.channels.ReadableByteChannel;
+
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
@@ -42,4 +47,12 @@ public void testRemoveWhitespace() {
final Utf8 actual = utf8.removeWhitespace();
assertEquals("HelloWorldAgain", Text.of(actual));
}
+
+ @Test
+ public void testWithChannel() throws IOException {
+ ReadableByteChannel channel =
+ Channels.newChannel(new ByteArrayInputStream("Hello world!".getBytes()));
+ Utf8 utf8 = Utf8.of(channel);
+ assertEquals("Hello world!", Text.of(utf8));
+ }
}
diff --git a/bmc-computecloudatcustomer/pom.xml b/bmc-computecloudatcustomer/pom.xml
index 87227ab834..f86d106514 100644
--- a/bmc-computecloudatcustomer/pom.xml
+++ b/bmc-computecloudatcustomer/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.81.0
+ 2.82.0
../pom.xml
oci-java-sdk-computecloudatcustomer
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.81.0
+ 2.82.0
\ No newline at end of file
diff --git a/bmc-computeinstanceagent/pom.xml b/bmc-computeinstanceagent/pom.xml
index d736406636..326c175576 100644
--- a/bmc-computeinstanceagent/pom.xml
+++ b/bmc-computeinstanceagent/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.81.0
+ 2.82.0
../pom.xml
oci-java-sdk-computeinstanceagent
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.81.0
+ 2.82.0
diff --git a/bmc-containerengine/pom.xml b/bmc-containerengine/pom.xml
index 7631f9d84f..42a7d5c960 100644
--- a/bmc-containerengine/pom.xml
+++ b/bmc-containerengine/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.81.0
+ 2.82.0
../pom.xml
@@ -19,7 +19,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.81.0
+ 2.82.0
diff --git a/bmc-containerinstances/pom.xml b/bmc-containerinstances/pom.xml
index eb0baab63b..80cf371a7e 100644
--- a/bmc-containerinstances/pom.xml
+++ b/bmc-containerinstances/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.81.0
+ 2.82.0
../pom.xml
oci-java-sdk-containerinstances
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.81.0
+ 2.82.0
\ No newline at end of file
diff --git a/bmc-containerinstances/src/main/java/com/oracle/bmc/containerinstances/model/ContainerCommandHealthCheck.java b/bmc-containerinstances/src/main/java/com/oracle/bmc/containerinstances/model/ContainerCommandHealthCheck.java
deleted file mode 100644
index 06df5bb9ac..0000000000
--- a/bmc-containerinstances/src/main/java/com/oracle/bmc/containerinstances/model/ContainerCommandHealthCheck.java
+++ /dev/null
@@ -1,278 +0,0 @@
-/**
- * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
- * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
- */
-package com.oracle.bmc.containerinstances.model;
-
-/**
- * Container Health Check with command type.
- *
- * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
- * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
- * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
- * {@link #__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: 20210415")
-@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
- builder = ContainerCommandHealthCheck.Builder.class
-)
-@com.fasterxml.jackson.annotation.JsonTypeInfo(
- use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
- include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
- property = "healthCheckType"
-)
-@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
-public final class ContainerCommandHealthCheck extends ContainerHealthCheck {
- @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
- public static class Builder {
- @com.fasterxml.jackson.annotation.JsonProperty("name")
- private String name;
-
- public Builder name(String name) {
- this.name = name;
- this.__explicitlySet__.add("name");
- return this;
- }
-
- @com.fasterxml.jackson.annotation.JsonProperty("initialDelayInSeconds")
- private Integer initialDelayInSeconds;
-
- public Builder initialDelayInSeconds(Integer initialDelayInSeconds) {
- this.initialDelayInSeconds = initialDelayInSeconds;
- this.__explicitlySet__.add("initialDelayInSeconds");
- return this;
- }
-
- @com.fasterxml.jackson.annotation.JsonProperty("intervalInSeconds")
- private Integer intervalInSeconds;
-
- public Builder intervalInSeconds(Integer intervalInSeconds) {
- this.intervalInSeconds = intervalInSeconds;
- this.__explicitlySet__.add("intervalInSeconds");
- return this;
- }
-
- @com.fasterxml.jackson.annotation.JsonProperty("failureThreshold")
- private Integer failureThreshold;
-
- public Builder failureThreshold(Integer failureThreshold) {
- this.failureThreshold = failureThreshold;
- this.__explicitlySet__.add("failureThreshold");
- return this;
- }
-
- @com.fasterxml.jackson.annotation.JsonProperty("successThreshold")
- private Integer successThreshold;
-
- public Builder successThreshold(Integer successThreshold) {
- this.successThreshold = successThreshold;
- this.__explicitlySet__.add("successThreshold");
- return this;
- }
-
- @com.fasterxml.jackson.annotation.JsonProperty("timeoutInSeconds")
- private Integer timeoutInSeconds;
-
- public Builder timeoutInSeconds(Integer timeoutInSeconds) {
- this.timeoutInSeconds = timeoutInSeconds;
- this.__explicitlySet__.add("timeoutInSeconds");
- return this;
- }
-
- @com.fasterxml.jackson.annotation.JsonProperty("status")
- private Status status;
-
- public Builder status(Status status) {
- this.status = status;
- this.__explicitlySet__.add("status");
- return this;
- }
-
- @com.fasterxml.jackson.annotation.JsonProperty("statusDetails")
- private String statusDetails;
-
- public Builder statusDetails(String statusDetails) {
- this.statusDetails = statusDetails;
- this.__explicitlySet__.add("statusDetails");
- return this;
- }
-
- @com.fasterxml.jackson.annotation.JsonProperty("failureAction")
- private ContainerHealthCheckFailureAction failureAction;
-
- public Builder failureAction(ContainerHealthCheckFailureAction failureAction) {
- this.failureAction = failureAction;
- this.__explicitlySet__.add("failureAction");
- return this;
- }
- /**
- * The list of strings that will be simplified to a single command for checking the status of the container.
- *
- **/
- @com.fasterxml.jackson.annotation.JsonProperty("command")
- private java.util.List command;
-
- /**
- * The list of strings that will be simplified to a single command for checking the status of the container.
- *
- * @param command the value to set
- * @return this builder
- **/
- public Builder command(java.util.List command) {
- this.command = command;
- this.__explicitlySet__.add("command");
- return this;
- }
-
- @com.fasterxml.jackson.annotation.JsonIgnore
- private final java.util.Set __explicitlySet__ = new java.util.HashSet();
-
- public ContainerCommandHealthCheck build() {
- ContainerCommandHealthCheck model =
- new ContainerCommandHealthCheck(
- this.name,
- this.initialDelayInSeconds,
- this.intervalInSeconds,
- this.failureThreshold,
- this.successThreshold,
- this.timeoutInSeconds,
- this.status,
- this.statusDetails,
- this.failureAction,
- this.command);
- for (String explicitlySetProperty : this.__explicitlySet__) {
- model.markPropertyAsExplicitlySet(explicitlySetProperty);
- }
- return model;
- }
-
- @com.fasterxml.jackson.annotation.JsonIgnore
- public Builder copy(ContainerCommandHealthCheck model) {
- if (model.wasPropertyExplicitlySet("name")) {
- this.name(model.getName());
- }
- if (model.wasPropertyExplicitlySet("initialDelayInSeconds")) {
- this.initialDelayInSeconds(model.getInitialDelayInSeconds());
- }
- if (model.wasPropertyExplicitlySet("intervalInSeconds")) {
- this.intervalInSeconds(model.getIntervalInSeconds());
- }
- if (model.wasPropertyExplicitlySet("failureThreshold")) {
- this.failureThreshold(model.getFailureThreshold());
- }
- if (model.wasPropertyExplicitlySet("successThreshold")) {
- this.successThreshold(model.getSuccessThreshold());
- }
- if (model.wasPropertyExplicitlySet("timeoutInSeconds")) {
- this.timeoutInSeconds(model.getTimeoutInSeconds());
- }
- if (model.wasPropertyExplicitlySet("status")) {
- this.status(model.getStatus());
- }
- if (model.wasPropertyExplicitlySet("statusDetails")) {
- this.statusDetails(model.getStatusDetails());
- }
- if (model.wasPropertyExplicitlySet("failureAction")) {
- this.failureAction(model.getFailureAction());
- }
- if (model.wasPropertyExplicitlySet("command")) {
- this.command(model.getCommand());
- }
- return this;
- }
- }
-
- /**
- * Create a new builder.
- */
- public static Builder builder() {
- return new Builder();
- }
-
- public Builder toBuilder() {
- return new Builder().copy(this);
- }
-
- @Deprecated
- public ContainerCommandHealthCheck(
- String name,
- Integer initialDelayInSeconds,
- Integer intervalInSeconds,
- Integer failureThreshold,
- Integer successThreshold,
- Integer timeoutInSeconds,
- Status status,
- String statusDetails,
- ContainerHealthCheckFailureAction failureAction,
- java.util.List command) {
- super(
- name,
- initialDelayInSeconds,
- intervalInSeconds,
- failureThreshold,
- successThreshold,
- timeoutInSeconds,
- status,
- statusDetails,
- failureAction);
- this.command = command;
- }
-
- /**
- * The list of strings that will be simplified to a single command for checking the status of the container.
- *
- **/
- @com.fasterxml.jackson.annotation.JsonProperty("command")
- private final java.util.List command;
-
- /**
- * The list of strings that will be simplified to a single command for checking the status of the container.
- *
- * @return the value
- **/
- public java.util.List getCommand() {
- return command;
- }
-
- @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("ContainerCommandHealthCheck(");
- sb.append("super=").append(super.toString(includeByteArrayContents));
- sb.append(", command=").append(String.valueOf(this.command));
- sb.append(")");
- return sb.toString();
- }
-
- @Override
- public boolean equals(Object o) {
- if (this == o) {
- return true;
- }
- if (!(o instanceof ContainerCommandHealthCheck)) {
- return false;
- }
-
- ContainerCommandHealthCheck other = (ContainerCommandHealthCheck) o;
- return java.util.Objects.equals(this.command, other.command) && super.equals(other);
- }
-
- @Override
- public int hashCode() {
- final int PRIME = 59;
- int result = super.hashCode();
- result = (result * PRIME) + (this.command == null ? 43 : this.command.hashCode());
- return result;
- }
-}
diff --git a/bmc-containerinstances/src/main/java/com/oracle/bmc/containerinstances/model/CreateContainerCommandHealthCheckDetails.java b/bmc-containerinstances/src/main/java/com/oracle/bmc/containerinstances/model/CreateContainerCommandHealthCheckDetails.java
deleted file mode 100644
index d22f391b46..0000000000
--- a/bmc-containerinstances/src/main/java/com/oracle/bmc/containerinstances/model/CreateContainerCommandHealthCheckDetails.java
+++ /dev/null
@@ -1,250 +0,0 @@
-/**
- * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
- * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
- */
-package com.oracle.bmc.containerinstances.model;
-
-/**
- * Container Health Check Command type.
- *
- * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
- * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
- * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
- * {@link #__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: 20210415")
-@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
- builder = CreateContainerCommandHealthCheckDetails.Builder.class
-)
-@com.fasterxml.jackson.annotation.JsonTypeInfo(
- use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
- include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
- property = "healthCheckType"
-)
-@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
-public final class CreateContainerCommandHealthCheckDetails
- extends CreateContainerHealthCheckDetails {
- @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
- public static class Builder {
- @com.fasterxml.jackson.annotation.JsonProperty("name")
- private String name;
-
- public Builder name(String name) {
- this.name = name;
- this.__explicitlySet__.add("name");
- return this;
- }
-
- @com.fasterxml.jackson.annotation.JsonProperty("initialDelayInSeconds")
- private Integer initialDelayInSeconds;
-
- public Builder initialDelayInSeconds(Integer initialDelayInSeconds) {
- this.initialDelayInSeconds = initialDelayInSeconds;
- this.__explicitlySet__.add("initialDelayInSeconds");
- return this;
- }
-
- @com.fasterxml.jackson.annotation.JsonProperty("intervalInSeconds")
- private Integer intervalInSeconds;
-
- public Builder intervalInSeconds(Integer intervalInSeconds) {
- this.intervalInSeconds = intervalInSeconds;
- this.__explicitlySet__.add("intervalInSeconds");
- return this;
- }
-
- @com.fasterxml.jackson.annotation.JsonProperty("failureThreshold")
- private Integer failureThreshold;
-
- public Builder failureThreshold(Integer failureThreshold) {
- this.failureThreshold = failureThreshold;
- this.__explicitlySet__.add("failureThreshold");
- return this;
- }
-
- @com.fasterxml.jackson.annotation.JsonProperty("successThreshold")
- private Integer successThreshold;
-
- public Builder successThreshold(Integer successThreshold) {
- this.successThreshold = successThreshold;
- this.__explicitlySet__.add("successThreshold");
- return this;
- }
-
- @com.fasterxml.jackson.annotation.JsonProperty("timeoutInSeconds")
- private Integer timeoutInSeconds;
-
- public Builder timeoutInSeconds(Integer timeoutInSeconds) {
- this.timeoutInSeconds = timeoutInSeconds;
- this.__explicitlySet__.add("timeoutInSeconds");
- return this;
- }
-
- @com.fasterxml.jackson.annotation.JsonProperty("failureAction")
- private ContainerHealthCheckFailureAction failureAction;
-
- public Builder failureAction(ContainerHealthCheckFailureAction failureAction) {
- this.failureAction = failureAction;
- this.__explicitlySet__.add("failureAction");
- return this;
- }
- /**
- * The list of strings that will be simplified to a single command for checking the status of the container.
- *
- **/
- @com.fasterxml.jackson.annotation.JsonProperty("command")
- private java.util.List command;
-
- /**
- * The list of strings that will be simplified to a single command for checking the status of the container.
- *
- * @param command the value to set
- * @return this builder
- **/
- public Builder command(java.util.List command) {
- this.command = command;
- this.__explicitlySet__.add("command");
- return this;
- }
-
- @com.fasterxml.jackson.annotation.JsonIgnore
- private final java.util.Set __explicitlySet__ = new java.util.HashSet();
-
- public CreateContainerCommandHealthCheckDetails build() {
- CreateContainerCommandHealthCheckDetails model =
- new CreateContainerCommandHealthCheckDetails(
- this.name,
- this.initialDelayInSeconds,
- this.intervalInSeconds,
- this.failureThreshold,
- this.successThreshold,
- this.timeoutInSeconds,
- this.failureAction,
- this.command);
- for (String explicitlySetProperty : this.__explicitlySet__) {
- model.markPropertyAsExplicitlySet(explicitlySetProperty);
- }
- return model;
- }
-
- @com.fasterxml.jackson.annotation.JsonIgnore
- public Builder copy(CreateContainerCommandHealthCheckDetails model) {
- if (model.wasPropertyExplicitlySet("name")) {
- this.name(model.getName());
- }
- if (model.wasPropertyExplicitlySet("initialDelayInSeconds")) {
- this.initialDelayInSeconds(model.getInitialDelayInSeconds());
- }
- if (model.wasPropertyExplicitlySet("intervalInSeconds")) {
- this.intervalInSeconds(model.getIntervalInSeconds());
- }
- if (model.wasPropertyExplicitlySet("failureThreshold")) {
- this.failureThreshold(model.getFailureThreshold());
- }
- if (model.wasPropertyExplicitlySet("successThreshold")) {
- this.successThreshold(model.getSuccessThreshold());
- }
- if (model.wasPropertyExplicitlySet("timeoutInSeconds")) {
- this.timeoutInSeconds(model.getTimeoutInSeconds());
- }
- if (model.wasPropertyExplicitlySet("failureAction")) {
- this.failureAction(model.getFailureAction());
- }
- if (model.wasPropertyExplicitlySet("command")) {
- this.command(model.getCommand());
- }
- return this;
- }
- }
-
- /**
- * Create a new builder.
- */
- public static Builder builder() {
- return new Builder();
- }
-
- public Builder toBuilder() {
- return new Builder().copy(this);
- }
-
- @Deprecated
- public CreateContainerCommandHealthCheckDetails(
- String name,
- Integer initialDelayInSeconds,
- Integer intervalInSeconds,
- Integer failureThreshold,
- Integer successThreshold,
- Integer timeoutInSeconds,
- ContainerHealthCheckFailureAction failureAction,
- java.util.List command) {
- super(
- name,
- initialDelayInSeconds,
- intervalInSeconds,
- failureThreshold,
- successThreshold,
- timeoutInSeconds,
- failureAction);
- this.command = command;
- }
-
- /**
- * The list of strings that will be simplified to a single command for checking the status of the container.
- *
- **/
- @com.fasterxml.jackson.annotation.JsonProperty("command")
- private final java.util.List command;
-
- /**
- * The list of strings that will be simplified to a single command for checking the status of the container.
- *
- * @return the value
- **/
- public java.util.List getCommand() {
- return command;
- }
-
- @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("CreateContainerCommandHealthCheckDetails(");
- sb.append("super=").append(super.toString(includeByteArrayContents));
- sb.append(", command=").append(String.valueOf(this.command));
- sb.append(")");
- return sb.toString();
- }
-
- @Override
- public boolean equals(Object o) {
- if (this == o) {
- return true;
- }
- if (!(o instanceof CreateContainerCommandHealthCheckDetails)) {
- return false;
- }
-
- CreateContainerCommandHealthCheckDetails other =
- (CreateContainerCommandHealthCheckDetails) o;
- return java.util.Objects.equals(this.command, other.command) && super.equals(other);
- }
-
- @Override
- public int hashCode() {
- final int PRIME = 59;
- int result = super.hashCode();
- result = (result * PRIME) + (this.command == null ? 43 : this.command.hashCode());
- return result;
- }
-}
diff --git a/bmc-core/pom.xml b/bmc-core/pom.xml
index 2bed3ade27..8e199b5810 100644
--- a/bmc-core/pom.xml
+++ b/bmc-core/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.81.0
+ 2.82.0
../pom.xml
@@ -19,12 +19,12 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.81.0
+ 2.82.0
com.oracle.oci.sdk
oci-java-sdk-workrequests
- 2.81.0
+ 2.82.0
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/Compute.java b/bmc-core/src/main/java/com/oracle/bmc/core/Compute.java
index 376c23ac12..440ee0435a 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/Compute.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/Compute.java
@@ -211,6 +211,51 @@ ChangeComputeCapacityTopologyCompartmentResponse changeComputeCapacityTopologyCo
ChangeComputeClusterCompartmentResponse changeComputeClusterCompartment(
ChangeComputeClusterCompartmentRequest request);
+ /**
+ * Moves a compute GPU memory cluster into a different compartment. For information about moving resources between
+ * compartments, see [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs.
+ * This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided.
+ * The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
+ * Example: Click here to see how to use ChangeComputeGpuMemoryClusterCompartment API.
+ */
+ ChangeComputeGpuMemoryClusterCompartmentResponse changeComputeGpuMemoryClusterCompartment(
+ ChangeComputeGpuMemoryClusterCompartmentRequest request);
+
+ /**
+ * Moves a compute GPU memory fabric into a different compartment. For information about moving resources between
+ * compartments, see [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs.
+ * This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided.
+ * The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
+ * Example: Click here to see how to use ChangeComputeGpuMemoryFabricCompartment API.
+ */
+ ChangeComputeGpuMemoryFabricCompartmentResponse changeComputeGpuMemoryFabricCompartment(
+ ChangeComputeGpuMemoryFabricCompartmentRequest request);
+
+ /**
+ * Moves a compute host into a different compartment. For information about moving resources between
+ * compartments, see [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs.
+ * This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided.
+ * The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
+ * Example: Click here to see how to use ChangeComputeHostCompartment API.
+ */
+ ChangeComputeHostCompartmentResponse changeComputeHostCompartment(
+ ChangeComputeHostCompartmentRequest request);
+
/**
* Moves a compute image capability schema into a different compartment within the same tenancy.
* For information about moving resources between compartments, see
@@ -369,6 +414,20 @@ CreateComputeCapacityTopologyResponse createComputeCapacityTopology(
*/
CreateComputeClusterResponse createComputeCluster(CreateComputeClusterRequest request);
+ /**
+ * Create a compute GPU memory cluster instance on a specific compute GPU memory fabric
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs.
+ * This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided.
+ * The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
+ * Example: Click here to see how to use CreateComputeGpuMemoryCluster API.
+ */
+ CreateComputeGpuMemoryClusterResponse createComputeGpuMemoryCluster(
+ CreateComputeGpuMemoryClusterRequest request);
+
/**
* Creates compute image capability schema.
*
@@ -508,6 +567,19 @@ DeleteComputeCapacityTopologyResponse deleteComputeCapacityTopology(
*/
DeleteComputeClusterResponse deleteComputeCluster(DeleteComputeClusterRequest request);
+ /**
+ * Terminates and deletes the specified compute GPU memory cluster and underlying instances.
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs.
+ * This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided.
+ * The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
+ * Example: Click here to see how to use DeleteComputeGpuMemoryCluster API.
+ */
+ DeleteComputeGpuMemoryClusterResponse deleteComputeGpuMemoryCluster(
+ DeleteComputeGpuMemoryClusterRequest request);
+
/**
* Deletes the specified Compute Image Capability Schema
*
@@ -769,6 +841,47 @@ GetComputeGlobalImageCapabilitySchemaResponse getComputeGlobalImageCapabilitySch
getComputeGlobalImageCapabilitySchemaVersion(
GetComputeGlobalImageCapabilitySchemaVersionRequest request);
+ /**
+ * Gets information about the specified compute GPU memory 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 GetComputeGpuMemoryCluster API.
+ */
+ GetComputeGpuMemoryClusterResponse getComputeGpuMemoryCluster(
+ GetComputeGpuMemoryClusterRequest request);
+
+ /**
+ * Gets information about the specified compute GPU memory fabric
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs.
+ * This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided.
+ * The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
+ * Example: Click here to see how to use GetComputeGpuMemoryFabric API.
+ */
+ GetComputeGpuMemoryFabricResponse getComputeGpuMemoryFabric(
+ GetComputeGpuMemoryFabricRequest request);
+
+ /**
+ * Gets information about the specified compute host
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs.
+ * This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided.
+ * The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
+ * Example: Click here to see how to use GetComputeHost API.
+ */
+ GetComputeHostResponse getComputeHost(GetComputeHostRequest request);
+
/**
* Gets the specified Compute Image Capability Schema
*
@@ -1274,6 +1387,60 @@ ListComputeCapacityTopologiesResponse listComputeCapacityTopologies(
ListComputeGlobalImageCapabilitySchemasResponse listComputeGlobalImageCapabilitySchemas(
ListComputeGlobalImageCapabilitySchemasRequest request);
+ /**
+ * List all of the GPU memory cluster instances.
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs.
+ * This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided.
+ * The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
+ * Example: Click here to see how to use ListComputeGpuMemoryClusterInstances API.
+ */
+ ListComputeGpuMemoryClusterInstancesResponse listComputeGpuMemoryClusterInstances(
+ ListComputeGpuMemoryClusterInstancesRequest request);
+
+ /**
+ * List all of the compute GPU memory clusters.
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs.
+ * This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided.
+ * The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
+ * Example: Click here to see how to use ListComputeGpuMemoryClusters API.
+ */
+ ListComputeGpuMemoryClustersResponse listComputeGpuMemoryClusters(
+ ListComputeGpuMemoryClustersRequest request);
+
+ /**
+ * Lists the compute GPU memory fabrics that match the specified criteria and compartmentId.
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs.
+ * This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided.
+ * The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
+ * Example: Click here to see how to use ListComputeGpuMemoryFabrics API.
+ */
+ ListComputeGpuMemoryFabricsResponse listComputeGpuMemoryFabrics(
+ ListComputeGpuMemoryFabricsRequest request);
+
+ /**
+ * Generates a list of summary host details
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs.
+ * This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided.
+ * The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
+ * Example: Click here to see how to use ListComputeHosts API.
+ */
+ ListComputeHostsResponse listComputeHosts(ListComputeHostsRequest request);
+
/**
* Lists Compute Image Capability Schema in the specified compartment. You can also query by a specific imageId.
*
@@ -1589,6 +1756,47 @@ UpdateComputeCapacityTopologyResponse updateComputeCapacityTopology(
*/
UpdateComputeClusterResponse updateComputeCluster(UpdateComputeClusterRequest request);
+ /**
+ * Updates a compute gpu memory cluster 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 uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided.
+ * The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
+ * Example: Click here to see how to use UpdateComputeGpuMemoryCluster API.
+ */
+ UpdateComputeGpuMemoryClusterResponse updateComputeGpuMemoryCluster(
+ UpdateComputeGpuMemoryClusterRequest request);
+
+ /**
+ * Customer can update displayName and tags for compute GPU memory fabric record
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs.
+ * This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided.
+ * The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
+ * Example: Click here to see how to use UpdateComputeGpuMemoryFabric API.
+ */
+ UpdateComputeGpuMemoryFabricResponse updateComputeGpuMemoryFabric(
+ UpdateComputeGpuMemoryFabricRequest request);
+
+ /**
+ * Customer can update the some fields for ComputeHost record
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs.
+ * This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided.
+ * The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
+ * Example: Click here to see how to use UpdateComputeHost API.
+ */
+ UpdateComputeHostResponse updateComputeHost(UpdateComputeHostRequest request);
+
/**
* Updates the specified Compute Image Capability Schema
*
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/ComputeAsync.java b/bmc-core/src/main/java/com/oracle/bmc/core/ComputeAsync.java
index 483bec59dc..dee855b277 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/ComputeAsync.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/ComputeAsync.java
@@ -247,6 +247,65 @@ java.util.concurrent.Future captureConsoleHistory
ChangeComputeClusterCompartmentResponse>
handler);
+ /**
+ * Moves a compute GPU memory cluster into a different compartment. For information about moving resources between
+ * compartments, see [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
+ *
+ *
+ * @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
+ changeComputeGpuMemoryClusterCompartment(
+ ChangeComputeGpuMemoryClusterCompartmentRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ ChangeComputeGpuMemoryClusterCompartmentRequest,
+ ChangeComputeGpuMemoryClusterCompartmentResponse>
+ handler);
+
+ /**
+ * Moves a compute GPU memory fabric into a different compartment. For information about moving resources between
+ * compartments, see [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
+ *
+ *
+ * @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
+ changeComputeGpuMemoryFabricCompartment(
+ ChangeComputeGpuMemoryFabricCompartmentRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ ChangeComputeGpuMemoryFabricCompartmentRequest,
+ ChangeComputeGpuMemoryFabricCompartmentResponse>
+ handler);
+
+ /**
+ * Moves a compute host into a different compartment. For information about moving resources between
+ * compartments, see [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
+ *
+ *
+ * @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 changeComputeHostCompartment(
+ ChangeComputeHostCompartmentRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ ChangeComputeHostCompartmentRequest,
+ ChangeComputeHostCompartmentResponse>
+ handler);
+
/**
* Moves a compute image capability schema into a different compartment within the same tenancy.
* For information about moving resources between compartments, see
@@ -442,6 +501,25 @@ java.util.concurrent.Future createComputeCluster(
CreateComputeClusterRequest, CreateComputeClusterResponse>
handler);
+ /**
+ * Create a compute GPU memory cluster instance on a specific compute GPU memory fabric
+ *
+ *
+ * @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
+ createComputeGpuMemoryCluster(
+ CreateComputeGpuMemoryClusterRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ CreateComputeGpuMemoryClusterRequest,
+ CreateComputeGpuMemoryClusterResponse>
+ handler);
+
/**
* Creates compute image capability schema.
*
@@ -615,6 +693,24 @@ java.util.concurrent.Future deleteComputeCluster(
DeleteComputeClusterRequest, DeleteComputeClusterResponse>
handler);
+ /**
+ * Terminates and deletes the specified compute GPU memory cluster and underlying instances.
+ *
+ * @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
+ deleteComputeGpuMemoryCluster(
+ DeleteComputeGpuMemoryClusterRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ DeleteComputeGpuMemoryClusterRequest,
+ DeleteComputeGpuMemoryClusterResponse>
+ handler);
+
/**
* Deletes the specified Compute Image Capability Schema
*
@@ -945,6 +1041,56 @@ java.util.concurrent.Future getComputeCluster(
GetComputeGlobalImageCapabilitySchemaVersionResponse>
handler);
+ /**
+ * Gets information about the specified compute GPU memory 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 getComputeGpuMemoryCluster(
+ GetComputeGpuMemoryClusterRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ GetComputeGpuMemoryClusterRequest, GetComputeGpuMemoryClusterResponse>
+ handler);
+
+ /**
+ * Gets information about the specified compute GPU memory fabric
+ *
+ *
+ * @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 getComputeGpuMemoryFabric(
+ GetComputeGpuMemoryFabricRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ GetComputeGpuMemoryFabricRequest, GetComputeGpuMemoryFabricResponse>
+ handler);
+
+ /**
+ * Gets information about the specified compute host
+ *
+ *
+ * @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 getComputeHost(
+ GetComputeHostRequest request,
+ com.oracle.bmc.responses.AsyncHandler
+ handler);
+
/**
* Gets the specified Compute Image Capability Schema
*
@@ -1568,6 +1714,75 @@ java.util.concurrent.Future listComputeClusters(
ListComputeGlobalImageCapabilitySchemasResponse>
handler);
+ /**
+ * List all of the GPU memory cluster instances.
+ *
+ *
+ * @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
+ listComputeGpuMemoryClusterInstances(
+ ListComputeGpuMemoryClusterInstancesRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ ListComputeGpuMemoryClusterInstancesRequest,
+ ListComputeGpuMemoryClusterInstancesResponse>
+ handler);
+
+ /**
+ * List all of the compute GPU memory clusters.
+ *
+ *
+ * @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 listComputeGpuMemoryClusters(
+ ListComputeGpuMemoryClustersRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ ListComputeGpuMemoryClustersRequest,
+ ListComputeGpuMemoryClustersResponse>
+ handler);
+
+ /**
+ * Lists the compute GPU memory fabrics that match the specified criteria and compartmentId.
+ *
+ * @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 listComputeGpuMemoryFabrics(
+ ListComputeGpuMemoryFabricsRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ ListComputeGpuMemoryFabricsRequest, ListComputeGpuMemoryFabricsResponse>
+ handler);
+
+ /**
+ * Generates a list of summary host details
+ *
+ *
+ * @param request The request object containing the details to send
+ * @param handler The request handler to invoke upon completion, may be null.
+ * @return A Future that can be used to get the response if no AsyncHandler was
+ * provided. Note, if you provide an AsyncHandler and use the Future, some
+ * types of responses (like java.io.InputStream) may not be able to be read in
+ * both places as the underlying stream may only be consumed once.
+ */
+ java.util.concurrent.Future listComputeHosts(
+ ListComputeHostsRequest request,
+ com.oracle.bmc.responses.AsyncHandler
+ handler);
+
/**
* Lists Compute Image Capability Schema in the specified compartment. You can also query by a specific imageId.
*
@@ -1965,6 +2180,60 @@ java.util.concurrent.Future updateComputeCluster(
UpdateComputeClusterRequest, UpdateComputeClusterResponse>
handler);
+ /**
+ * Updates a compute gpu memory cluster 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
+ updateComputeGpuMemoryCluster(
+ UpdateComputeGpuMemoryClusterRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ UpdateComputeGpuMemoryClusterRequest,
+ UpdateComputeGpuMemoryClusterResponse>
+ handler);
+
+ /**
+ * Customer can update displayName and tags for compute GPU memory fabric record
+ *
+ *
+ * @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 updateComputeGpuMemoryFabric(
+ UpdateComputeGpuMemoryFabricRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ UpdateComputeGpuMemoryFabricRequest,
+ UpdateComputeGpuMemoryFabricResponse>
+ handler);
+
+ /**
+ * Customer can update the some fields for ComputeHost record
+ *
+ *
+ * @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 updateComputeHost(
+ UpdateComputeHostRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ UpdateComputeHostRequest, UpdateComputeHostResponse>
+ handler);
+
/**
* Updates the specified Compute Image Capability Schema
*
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/ComputeAsyncClient.java b/bmc-core/src/main/java/com/oracle/bmc/core/ComputeAsyncClient.java
index b6edea4305..8ff764bac0 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/ComputeAsyncClient.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/ComputeAsyncClient.java
@@ -955,6 +955,187 @@ protected void beforeRetryAction() {}
}
}
+ @Override
+ public java.util.concurrent.Future
+ changeComputeGpuMemoryClusterCompartment(
+ ChangeComputeGpuMemoryClusterCompartmentRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ ChangeComputeGpuMemoryClusterCompartmentRequest,
+ ChangeComputeGpuMemoryClusterCompartmentResponse>
+ handler) {
+ LOG.trace("Called async changeComputeGpuMemoryClusterCompartment");
+ final ChangeComputeGpuMemoryClusterCompartmentRequest interceptedRequest =
+ ChangeComputeGpuMemoryClusterCompartmentConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ ChangeComputeGpuMemoryClusterCompartmentConverter.fromRequest(
+ client, interceptedRequest);
+ com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Compute",
+ "ChangeComputeGpuMemoryClusterCompartment",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryCluster/ChangeComputeGpuMemoryClusterCompartment");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response, ChangeComputeGpuMemoryClusterCompartmentResponse>
+ transformer =
+ ChangeComputeGpuMemoryClusterCompartmentConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ com.oracle.bmc.responses.AsyncHandler<
+ ChangeComputeGpuMemoryClusterCompartmentRequest,
+ ChangeComputeGpuMemoryClusterCompartmentResponse>
+ handlerToUse = handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ ChangeComputeGpuMemoryClusterCompartmentRequest,
+ ChangeComputeGpuMemoryClusterCompartmentResponse>,
+ java.util.concurrent.Future<
+ ChangeComputeGpuMemoryClusterCompartmentResponse>>
+ futureSupplier =
+ client.postFutureSupplier(
+ interceptedRequest,
+ interceptedRequest
+ .getChangeComputeGpuMemoryClusterCompartmentDetails(),
+ ib,
+ transformer);
+
+ if (this.authenticationDetailsProvider
+ instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) {
+ return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper<
+ ChangeComputeGpuMemoryClusterCompartmentRequest,
+ ChangeComputeGpuMemoryClusterCompartmentResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
+ @Override
+ public java.util.concurrent.Future
+ changeComputeGpuMemoryFabricCompartment(
+ ChangeComputeGpuMemoryFabricCompartmentRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ ChangeComputeGpuMemoryFabricCompartmentRequest,
+ ChangeComputeGpuMemoryFabricCompartmentResponse>
+ handler) {
+ LOG.trace("Called async changeComputeGpuMemoryFabricCompartment");
+ final ChangeComputeGpuMemoryFabricCompartmentRequest interceptedRequest =
+ ChangeComputeGpuMemoryFabricCompartmentConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ ChangeComputeGpuMemoryFabricCompartmentConverter.fromRequest(
+ client, interceptedRequest);
+ com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Compute",
+ "ChangeComputeGpuMemoryFabricCompartment",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryFabric/ChangeComputeGpuMemoryFabricCompartment");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response, ChangeComputeGpuMemoryFabricCompartmentResponse>
+ transformer =
+ ChangeComputeGpuMemoryFabricCompartmentConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ com.oracle.bmc.responses.AsyncHandler<
+ ChangeComputeGpuMemoryFabricCompartmentRequest,
+ ChangeComputeGpuMemoryFabricCompartmentResponse>
+ handlerToUse = handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ ChangeComputeGpuMemoryFabricCompartmentRequest,
+ ChangeComputeGpuMemoryFabricCompartmentResponse>,
+ java.util.concurrent.Future<
+ ChangeComputeGpuMemoryFabricCompartmentResponse>>
+ futureSupplier =
+ client.postFutureSupplier(
+ interceptedRequest,
+ interceptedRequest
+ .getChangeComputeGpuMemoryFabricCompartmentDetails(),
+ ib,
+ transformer);
+
+ if (this.authenticationDetailsProvider
+ instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) {
+ return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper<
+ ChangeComputeGpuMemoryFabricCompartmentRequest,
+ ChangeComputeGpuMemoryFabricCompartmentResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
+ @Override
+ public java.util.concurrent.Future
+ changeComputeHostCompartment(
+ ChangeComputeHostCompartmentRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ ChangeComputeHostCompartmentRequest,
+ ChangeComputeHostCompartmentResponse>
+ handler) {
+ LOG.trace("Called async changeComputeHostCompartment");
+ final ChangeComputeHostCompartmentRequest interceptedRequest =
+ ChangeComputeHostCompartmentConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ ChangeComputeHostCompartmentConverter.fromRequest(client, interceptedRequest);
+ com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Compute",
+ "ChangeComputeHostCompartment",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHost/ChangeComputeHostCompartment");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response, ChangeComputeHostCompartmentResponse>
+ transformer =
+ ChangeComputeHostCompartmentConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ com.oracle.bmc.responses.AsyncHandler<
+ ChangeComputeHostCompartmentRequest, ChangeComputeHostCompartmentResponse>
+ handlerToUse = handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ ChangeComputeHostCompartmentRequest,
+ ChangeComputeHostCompartmentResponse>,
+ java.util.concurrent.Future>
+ futureSupplier =
+ client.postFutureSupplier(
+ interceptedRequest,
+ interceptedRequest.getChangeComputeHostCompartmentDetails(),
+ ib,
+ transformer);
+
+ if (this.authenticationDetailsProvider
+ instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) {
+ return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper<
+ ChangeComputeHostCompartmentRequest, ChangeComputeHostCompartmentResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
@Override
public java.util.concurrent.Future
changeComputeImageCapabilitySchemaCompartment(
@@ -1468,6 +1649,63 @@ protected void beforeRetryAction() {}
}
}
+ @Override
+ public java.util.concurrent.Future
+ createComputeGpuMemoryCluster(
+ CreateComputeGpuMemoryClusterRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ CreateComputeGpuMemoryClusterRequest,
+ CreateComputeGpuMemoryClusterResponse>
+ handler) {
+ LOG.trace("Called async createComputeGpuMemoryCluster");
+ final CreateComputeGpuMemoryClusterRequest interceptedRequest =
+ CreateComputeGpuMemoryClusterConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ CreateComputeGpuMemoryClusterConverter.fromRequest(client, interceptedRequest);
+ com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Compute",
+ "CreateComputeGpuMemoryCluster",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryCluster/CreateComputeGpuMemoryCluster");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response, CreateComputeGpuMemoryClusterResponse>
+ transformer =
+ CreateComputeGpuMemoryClusterConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ com.oracle.bmc.responses.AsyncHandler<
+ CreateComputeGpuMemoryClusterRequest, CreateComputeGpuMemoryClusterResponse>
+ handlerToUse = handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ CreateComputeGpuMemoryClusterRequest,
+ CreateComputeGpuMemoryClusterResponse>,
+ java.util.concurrent.Future>
+ futureSupplier =
+ client.postFutureSupplier(
+ interceptedRequest,
+ interceptedRequest.getCreateComputeGpuMemoryClusterDetails(),
+ ib,
+ transformer);
+
+ if (this.authenticationDetailsProvider
+ instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) {
+ return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper<
+ CreateComputeGpuMemoryClusterRequest, CreateComputeGpuMemoryClusterResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
@Override
public java.util.concurrent.Future
createComputeImageCapabilitySchema(
@@ -1891,6 +2129,57 @@ protected void beforeRetryAction() {}
}
}
+ @Override
+ public java.util.concurrent.Future
+ deleteComputeGpuMemoryCluster(
+ DeleteComputeGpuMemoryClusterRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ DeleteComputeGpuMemoryClusterRequest,
+ DeleteComputeGpuMemoryClusterResponse>
+ handler) {
+ LOG.trace("Called async deleteComputeGpuMemoryCluster");
+ final DeleteComputeGpuMemoryClusterRequest interceptedRequest =
+ DeleteComputeGpuMemoryClusterConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ DeleteComputeGpuMemoryClusterConverter.fromRequest(client, interceptedRequest);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Compute",
+ "DeleteComputeGpuMemoryCluster",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryCluster/DeleteComputeGpuMemoryCluster");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response, DeleteComputeGpuMemoryClusterResponse>
+ transformer =
+ DeleteComputeGpuMemoryClusterConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ com.oracle.bmc.responses.AsyncHandler<
+ DeleteComputeGpuMemoryClusterRequest, DeleteComputeGpuMemoryClusterResponse>
+ handlerToUse = handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ DeleteComputeGpuMemoryClusterRequest,
+ DeleteComputeGpuMemoryClusterResponse>,
+ 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<
+ DeleteComputeGpuMemoryClusterRequest, DeleteComputeGpuMemoryClusterResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
@Override
public java.util.concurrent.Future
deleteComputeImageCapabilitySchema(
@@ -2739,26 +3028,171 @@ protected void beforeRetryAction() {}
javax.ws.rs.core.Response,
GetComputeGlobalImageCapabilitySchemaVersionResponse>
transformer =
- GetComputeGlobalImageCapabilitySchemaVersionConverter.fromResponse(
- java.util.Optional.of(serviceDetails));
- com.oracle.bmc.responses.AsyncHandler<
- GetComputeGlobalImageCapabilitySchemaVersionRequest,
- GetComputeGlobalImageCapabilitySchemaVersionResponse>
+ GetComputeGlobalImageCapabilitySchemaVersionConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ com.oracle.bmc.responses.AsyncHandler<
+ GetComputeGlobalImageCapabilitySchemaVersionRequest,
+ GetComputeGlobalImageCapabilitySchemaVersionResponse>
+ handlerToUse = handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ GetComputeGlobalImageCapabilitySchemaVersionRequest,
+ GetComputeGlobalImageCapabilitySchemaVersionResponse>,
+ java.util.concurrent.Future<
+ GetComputeGlobalImageCapabilitySchemaVersionResponse>>
+ futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer);
+
+ if (this.authenticationDetailsProvider
+ instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) {
+ return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper<
+ GetComputeGlobalImageCapabilitySchemaVersionRequest,
+ GetComputeGlobalImageCapabilitySchemaVersionResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
+ @Override
+ public java.util.concurrent.Future
+ getComputeGpuMemoryCluster(
+ GetComputeGpuMemoryClusterRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ GetComputeGpuMemoryClusterRequest,
+ GetComputeGpuMemoryClusterResponse>
+ handler) {
+ LOG.trace("Called async getComputeGpuMemoryCluster");
+ final GetComputeGpuMemoryClusterRequest interceptedRequest =
+ GetComputeGpuMemoryClusterConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ GetComputeGpuMemoryClusterConverter.fromRequest(client, interceptedRequest);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Compute",
+ "GetComputeGpuMemoryCluster",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryCluster/GetComputeGpuMemoryCluster");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response, GetComputeGpuMemoryClusterResponse>
+ transformer =
+ GetComputeGpuMemoryClusterConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ com.oracle.bmc.responses.AsyncHandler<
+ GetComputeGpuMemoryClusterRequest, GetComputeGpuMemoryClusterResponse>
+ handlerToUse = handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ GetComputeGpuMemoryClusterRequest,
+ GetComputeGpuMemoryClusterResponse>,
+ 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<
+ GetComputeGpuMemoryClusterRequest, GetComputeGpuMemoryClusterResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
+ @Override
+ public java.util.concurrent.Future getComputeGpuMemoryFabric(
+ GetComputeGpuMemoryFabricRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ GetComputeGpuMemoryFabricRequest, GetComputeGpuMemoryFabricResponse>
+ handler) {
+ LOG.trace("Called async getComputeGpuMemoryFabric");
+ final GetComputeGpuMemoryFabricRequest interceptedRequest =
+ GetComputeGpuMemoryFabricConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ GetComputeGpuMemoryFabricConverter.fromRequest(client, interceptedRequest);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Compute",
+ "GetComputeGpuMemoryFabric",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryFabric/GetComputeGpuMemoryFabric");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response, GetComputeGpuMemoryFabricResponse>
+ transformer =
+ GetComputeGpuMemoryFabricConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ com.oracle.bmc.responses.AsyncHandler<
+ GetComputeGpuMemoryFabricRequest, GetComputeGpuMemoryFabricResponse>
+ handlerToUse = handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ GetComputeGpuMemoryFabricRequest,
+ GetComputeGpuMemoryFabricResponse>,
+ 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<
+ GetComputeGpuMemoryFabricRequest, GetComputeGpuMemoryFabricResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
+ @Override
+ public java.util.concurrent.Future getComputeHost(
+ GetComputeHostRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ GetComputeHostRequest, GetComputeHostResponse>
+ handler) {
+ LOG.trace("Called async getComputeHost");
+ final GetComputeHostRequest interceptedRequest =
+ GetComputeHostConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ GetComputeHostConverter.fromRequest(client, interceptedRequest);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Compute",
+ "GetComputeHost",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHost/GetComputeHost");
+ final java.util.function.Function
+ transformer =
+ GetComputeHostConverter.fromResponse(java.util.Optional.of(serviceDetails));
+ com.oracle.bmc.responses.AsyncHandler
handlerToUse = handler;
java.util.function.Function<
com.oracle.bmc.responses.AsyncHandler<
- GetComputeGlobalImageCapabilitySchemaVersionRequest,
- GetComputeGlobalImageCapabilitySchemaVersionResponse>,
- java.util.concurrent.Future<
- GetComputeGlobalImageCapabilitySchemaVersionResponse>>
+ GetComputeHostRequest, GetComputeHostResponse>,
+ 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<
- GetComputeGlobalImageCapabilitySchemaVersionRequest,
- GetComputeGlobalImageCapabilitySchemaVersionResponse>(
+ GetComputeHostRequest, GetComputeHostResponse>(
(com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
this.authenticationDetailsProvider,
handlerToUse,
@@ -4293,6 +4727,208 @@ protected void beforeRetryAction() {}
}
}
+ @Override
+ public java.util.concurrent.Future
+ listComputeGpuMemoryClusterInstances(
+ ListComputeGpuMemoryClusterInstancesRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ ListComputeGpuMemoryClusterInstancesRequest,
+ ListComputeGpuMemoryClusterInstancesResponse>
+ handler) {
+ LOG.trace("Called async listComputeGpuMemoryClusterInstances");
+ final ListComputeGpuMemoryClusterInstancesRequest interceptedRequest =
+ ListComputeGpuMemoryClusterInstancesConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ ListComputeGpuMemoryClusterInstancesConverter.fromRequest(
+ client, interceptedRequest);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Compute",
+ "ListComputeGpuMemoryClusterInstances",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryClusterInstanceSummary/ListComputeGpuMemoryClusterInstances");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response, ListComputeGpuMemoryClusterInstancesResponse>
+ transformer =
+ ListComputeGpuMemoryClusterInstancesConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ com.oracle.bmc.responses.AsyncHandler<
+ ListComputeGpuMemoryClusterInstancesRequest,
+ ListComputeGpuMemoryClusterInstancesResponse>
+ handlerToUse = handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ ListComputeGpuMemoryClusterInstancesRequest,
+ ListComputeGpuMemoryClusterInstancesResponse>,
+ 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<
+ ListComputeGpuMemoryClusterInstancesRequest,
+ ListComputeGpuMemoryClusterInstancesResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
+ @Override
+ public java.util.concurrent.Future
+ listComputeGpuMemoryClusters(
+ ListComputeGpuMemoryClustersRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ ListComputeGpuMemoryClustersRequest,
+ ListComputeGpuMemoryClustersResponse>
+ handler) {
+ LOG.trace("Called async listComputeGpuMemoryClusters");
+ final ListComputeGpuMemoryClustersRequest interceptedRequest =
+ ListComputeGpuMemoryClustersConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ ListComputeGpuMemoryClustersConverter.fromRequest(client, interceptedRequest);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Compute",
+ "ListComputeGpuMemoryClusters",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryClusterCollection/ListComputeGpuMemoryClusters");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response, ListComputeGpuMemoryClustersResponse>
+ transformer =
+ ListComputeGpuMemoryClustersConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ com.oracle.bmc.responses.AsyncHandler<
+ ListComputeGpuMemoryClustersRequest, ListComputeGpuMemoryClustersResponse>
+ handlerToUse = handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ ListComputeGpuMemoryClustersRequest,
+ ListComputeGpuMemoryClustersResponse>,
+ 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<
+ ListComputeGpuMemoryClustersRequest, ListComputeGpuMemoryClustersResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
+ @Override
+ public java.util.concurrent.Future
+ listComputeGpuMemoryFabrics(
+ ListComputeGpuMemoryFabricsRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ ListComputeGpuMemoryFabricsRequest,
+ ListComputeGpuMemoryFabricsResponse>
+ handler) {
+ LOG.trace("Called async listComputeGpuMemoryFabrics");
+ final ListComputeGpuMemoryFabricsRequest interceptedRequest =
+ ListComputeGpuMemoryFabricsConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ ListComputeGpuMemoryFabricsConverter.fromRequest(client, interceptedRequest);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Compute",
+ "ListComputeGpuMemoryFabrics",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryFabric/ListComputeGpuMemoryFabrics");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response, ListComputeGpuMemoryFabricsResponse>
+ transformer =
+ ListComputeGpuMemoryFabricsConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ com.oracle.bmc.responses.AsyncHandler<
+ ListComputeGpuMemoryFabricsRequest, ListComputeGpuMemoryFabricsResponse>
+ handlerToUse = handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ ListComputeGpuMemoryFabricsRequest,
+ ListComputeGpuMemoryFabricsResponse>,
+ 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<
+ ListComputeGpuMemoryFabricsRequest, ListComputeGpuMemoryFabricsResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
+ @Override
+ public java.util.concurrent.Future listComputeHosts(
+ ListComputeHostsRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ ListComputeHostsRequest, ListComputeHostsResponse>
+ handler) {
+ LOG.trace("Called async listComputeHosts");
+ final ListComputeHostsRequest interceptedRequest =
+ ListComputeHostsConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ ListComputeHostsConverter.fromRequest(client, interceptedRequest);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Compute",
+ "ListComputeHosts",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHost/ListComputeHosts");
+ final java.util.function.Function
+ transformer =
+ ListComputeHostsConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ com.oracle.bmc.responses.AsyncHandler
+ handlerToUse = handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ ListComputeHostsRequest, ListComputeHostsResponse>,
+ 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<
+ ListComputeHostsRequest, ListComputeHostsResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
@Override
public java.util.concurrent.Future
listComputeImageCapabilitySchemas(
@@ -5283,6 +5919,171 @@ protected void beforeRetryAction() {}
}
}
+ @Override
+ public java.util.concurrent.Future
+ updateComputeGpuMemoryCluster(
+ UpdateComputeGpuMemoryClusterRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ UpdateComputeGpuMemoryClusterRequest,
+ UpdateComputeGpuMemoryClusterResponse>
+ handler) {
+ LOG.trace("Called async updateComputeGpuMemoryCluster");
+ final UpdateComputeGpuMemoryClusterRequest interceptedRequest =
+ UpdateComputeGpuMemoryClusterConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ UpdateComputeGpuMemoryClusterConverter.fromRequest(client, interceptedRequest);
+ com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Compute",
+ "UpdateComputeGpuMemoryCluster",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryCluster/UpdateComputeGpuMemoryCluster");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response, UpdateComputeGpuMemoryClusterResponse>
+ transformer =
+ UpdateComputeGpuMemoryClusterConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ com.oracle.bmc.responses.AsyncHandler<
+ UpdateComputeGpuMemoryClusterRequest, UpdateComputeGpuMemoryClusterResponse>
+ handlerToUse = handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ UpdateComputeGpuMemoryClusterRequest,
+ UpdateComputeGpuMemoryClusterResponse>,
+ java.util.concurrent.Future>
+ futureSupplier =
+ client.putFutureSupplier(
+ interceptedRequest,
+ interceptedRequest.getUpdateComputeGpuMemoryClusterDetails(),
+ ib,
+ transformer);
+
+ if (this.authenticationDetailsProvider
+ instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) {
+ return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper<
+ UpdateComputeGpuMemoryClusterRequest, UpdateComputeGpuMemoryClusterResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
+ @Override
+ public java.util.concurrent.Future
+ updateComputeGpuMemoryFabric(
+ UpdateComputeGpuMemoryFabricRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ UpdateComputeGpuMemoryFabricRequest,
+ UpdateComputeGpuMemoryFabricResponse>
+ handler) {
+ LOG.trace("Called async updateComputeGpuMemoryFabric");
+ final UpdateComputeGpuMemoryFabricRequest interceptedRequest =
+ UpdateComputeGpuMemoryFabricConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ UpdateComputeGpuMemoryFabricConverter.fromRequest(client, interceptedRequest);
+ com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Compute",
+ "UpdateComputeGpuMemoryFabric",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryFabric/UpdateComputeGpuMemoryFabric");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response, UpdateComputeGpuMemoryFabricResponse>
+ transformer =
+ UpdateComputeGpuMemoryFabricConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ com.oracle.bmc.responses.AsyncHandler<
+ UpdateComputeGpuMemoryFabricRequest, UpdateComputeGpuMemoryFabricResponse>
+ handlerToUse = handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ UpdateComputeGpuMemoryFabricRequest,
+ UpdateComputeGpuMemoryFabricResponse>,
+ java.util.concurrent.Future>
+ futureSupplier =
+ client.putFutureSupplier(
+ interceptedRequest,
+ interceptedRequest.getUpdateComputeGpuMemoryFabricDetails(),
+ ib,
+ transformer);
+
+ if (this.authenticationDetailsProvider
+ instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) {
+ return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper<
+ UpdateComputeGpuMemoryFabricRequest, UpdateComputeGpuMemoryFabricResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
+ @Override
+ public java.util.concurrent.Future updateComputeHost(
+ UpdateComputeHostRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ UpdateComputeHostRequest, UpdateComputeHostResponse>
+ handler) {
+ LOG.trace("Called async updateComputeHost");
+ final UpdateComputeHostRequest interceptedRequest =
+ UpdateComputeHostConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ UpdateComputeHostConverter.fromRequest(client, interceptedRequest);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Compute",
+ "UpdateComputeHost",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHost/UpdateComputeHost");
+ final java.util.function.Function
+ transformer =
+ UpdateComputeHostConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ com.oracle.bmc.responses.AsyncHandler
+ handlerToUse = handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ UpdateComputeHostRequest, UpdateComputeHostResponse>,
+ java.util.concurrent.Future>
+ futureSupplier =
+ client.putFutureSupplier(
+ interceptedRequest,
+ interceptedRequest.getUpdateComputeHostDetails(),
+ ib,
+ transformer);
+
+ if (this.authenticationDetailsProvider
+ instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) {
+ return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper<
+ UpdateComputeHostRequest, UpdateComputeHostResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
@Override
public java.util.concurrent.Future
updateComputeImageCapabilitySchema(
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/ComputeClient.java b/bmc-core/src/main/java/com/oracle/bmc/core/ComputeClient.java
index 9e52c10c40..35c4ccb55e 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/ComputeClient.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/ComputeClient.java
@@ -934,6 +934,143 @@ public ChangeComputeClusterCompartmentResponse changeComputeClusterCompartment(
});
}
+ @Override
+ public ChangeComputeGpuMemoryClusterCompartmentResponse
+ changeComputeGpuMemoryClusterCompartment(
+ ChangeComputeGpuMemoryClusterCompartmentRequest request) {
+ LOG.trace("Called changeComputeGpuMemoryClusterCompartment");
+ final ChangeComputeGpuMemoryClusterCompartmentRequest interceptedRequest =
+ ChangeComputeGpuMemoryClusterCompartmentConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ ChangeComputeGpuMemoryClusterCompartmentConverter.fromRequest(
+ client, interceptedRequest);
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration, true);
+ 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(
+ "Compute",
+ "ChangeComputeGpuMemoryClusterCompartment",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryCluster/ChangeComputeGpuMemoryClusterCompartment");
+ java.util.function.Function<
+ javax.ws.rs.core.Response, ChangeComputeGpuMemoryClusterCompartmentResponse>
+ transformer =
+ ChangeComputeGpuMemoryClusterCompartmentConverter.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
+ .getChangeComputeGpuMemoryClusterCompartmentDetails(),
+ retriedRequest);
+ return transformer.apply(response);
+ });
+ });
+ }
+
+ @Override
+ public ChangeComputeGpuMemoryFabricCompartmentResponse changeComputeGpuMemoryFabricCompartment(
+ ChangeComputeGpuMemoryFabricCompartmentRequest request) {
+ LOG.trace("Called changeComputeGpuMemoryFabricCompartment");
+ final ChangeComputeGpuMemoryFabricCompartmentRequest interceptedRequest =
+ ChangeComputeGpuMemoryFabricCompartmentConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ ChangeComputeGpuMemoryFabricCompartmentConverter.fromRequest(
+ client, interceptedRequest);
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration, true);
+ 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(
+ "Compute",
+ "ChangeComputeGpuMemoryFabricCompartment",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryFabric/ChangeComputeGpuMemoryFabricCompartment");
+ java.util.function.Function<
+ javax.ws.rs.core.Response, ChangeComputeGpuMemoryFabricCompartmentResponse>
+ transformer =
+ ChangeComputeGpuMemoryFabricCompartmentConverter.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
+ .getChangeComputeGpuMemoryFabricCompartmentDetails(),
+ retriedRequest);
+ return transformer.apply(response);
+ });
+ });
+ }
+
+ @Override
+ public ChangeComputeHostCompartmentResponse changeComputeHostCompartment(
+ ChangeComputeHostCompartmentRequest request) {
+ LOG.trace("Called changeComputeHostCompartment");
+ final ChangeComputeHostCompartmentRequest interceptedRequest =
+ ChangeComputeHostCompartmentConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ ChangeComputeHostCompartmentConverter.fromRequest(client, interceptedRequest);
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration, true);
+ 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(
+ "Compute",
+ "ChangeComputeHostCompartment",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHost/ChangeComputeHostCompartment");
+ java.util.function.Function
+ transformer =
+ ChangeComputeHostCompartmentConverter.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
+ .getChangeComputeHostCompartmentDetails(),
+ retriedRequest);
+ return transformer.apply(response);
+ });
+ });
+ }
+
@Override
public ChangeComputeImageCapabilitySchemaCompartmentResponse
changeComputeImageCapabilitySchemaCompartment(
@@ -1334,6 +1471,51 @@ public CreateComputeClusterResponse createComputeCluster(CreateComputeClusterReq
});
}
+ @Override
+ public CreateComputeGpuMemoryClusterResponse createComputeGpuMemoryCluster(
+ CreateComputeGpuMemoryClusterRequest request) {
+ LOG.trace("Called createComputeGpuMemoryCluster");
+ final CreateComputeGpuMemoryClusterRequest interceptedRequest =
+ CreateComputeGpuMemoryClusterConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ CreateComputeGpuMemoryClusterConverter.fromRequest(client, interceptedRequest);
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration, true);
+ 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(
+ "Compute",
+ "CreateComputeGpuMemoryCluster",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryCluster/CreateComputeGpuMemoryCluster");
+ java.util.function.Function<
+ javax.ws.rs.core.Response, CreateComputeGpuMemoryClusterResponse>
+ transformer =
+ CreateComputeGpuMemoryClusterConverter.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
+ .getCreateComputeGpuMemoryClusterDetails(),
+ retriedRequest);
+ return transformer.apply(response);
+ });
+ });
+ }
+
@Override
public CreateComputeImageCapabilitySchemaResponse createComputeImageCapabilitySchema(
CreateComputeImageCapabilitySchemaRequest request) {
@@ -1664,6 +1846,46 @@ public DeleteComputeClusterResponse deleteComputeCluster(DeleteComputeClusterReq
});
}
+ @Override
+ public DeleteComputeGpuMemoryClusterResponse deleteComputeGpuMemoryCluster(
+ DeleteComputeGpuMemoryClusterRequest request) {
+ LOG.trace("Called deleteComputeGpuMemoryCluster");
+ final DeleteComputeGpuMemoryClusterRequest interceptedRequest =
+ DeleteComputeGpuMemoryClusterConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ DeleteComputeGpuMemoryClusterConverter.fromRequest(client, interceptedRequest);
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration, true);
+ com.oracle.bmc.http.internal.RetryUtils.setClientRetriesHeader(ib, retrier);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Compute",
+ "DeleteComputeGpuMemoryCluster",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryCluster/DeleteComputeGpuMemoryCluster");
+ java.util.function.Function<
+ javax.ws.rs.core.Response, DeleteComputeGpuMemoryClusterResponse>
+ transformer =
+ DeleteComputeGpuMemoryClusterConverter.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 DeleteComputeImageCapabilitySchemaResponse deleteComputeImageCapabilitySchema(
DeleteComputeImageCapabilitySchemaRequest request) {
@@ -2350,6 +2572,117 @@ public GetComputeGlobalImageCapabilitySchemaResponse getComputeGlobalImageCapabi
});
}
+ @Override
+ public GetComputeGpuMemoryClusterResponse getComputeGpuMemoryCluster(
+ GetComputeGpuMemoryClusterRequest request) {
+ LOG.trace("Called getComputeGpuMemoryCluster");
+ final GetComputeGpuMemoryClusterRequest interceptedRequest =
+ GetComputeGpuMemoryClusterConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ GetComputeGpuMemoryClusterConverter.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(
+ "Compute",
+ "GetComputeGpuMemoryCluster",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryCluster/GetComputeGpuMemoryCluster");
+ java.util.function.Function
+ transformer =
+ GetComputeGpuMemoryClusterConverter.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 GetComputeGpuMemoryFabricResponse getComputeGpuMemoryFabric(
+ GetComputeGpuMemoryFabricRequest request) {
+ LOG.trace("Called getComputeGpuMemoryFabric");
+ final GetComputeGpuMemoryFabricRequest interceptedRequest =
+ GetComputeGpuMemoryFabricConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ GetComputeGpuMemoryFabricConverter.fromRequest(client, interceptedRequest);
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration, true);
+ com.oracle.bmc.http.internal.RetryUtils.setClientRetriesHeader(ib, retrier);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Compute",
+ "GetComputeGpuMemoryFabric",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryFabric/GetComputeGpuMemoryFabric");
+ java.util.function.Function
+ transformer =
+ GetComputeGpuMemoryFabricConverter.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 GetComputeHostResponse getComputeHost(GetComputeHostRequest request) {
+ LOG.trace("Called getComputeHost");
+ final GetComputeHostRequest interceptedRequest =
+ GetComputeHostConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ GetComputeHostConverter.fromRequest(client, interceptedRequest);
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration, true);
+ com.oracle.bmc.http.internal.RetryUtils.setClientRetriesHeader(ib, retrier);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Compute",
+ "GetComputeHost",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHost/GetComputeHost");
+ java.util.function.Function transformer =
+ GetComputeHostConverter.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 GetComputeImageCapabilitySchemaResponse getComputeImageCapabilitySchema(
GetComputeImageCapabilitySchemaRequest request) {
@@ -3514,6 +3847,159 @@ public ListComputeGlobalImageCapabilitySchemasResponse listComputeGlobalImageCap
});
}
+ @Override
+ public ListComputeGpuMemoryClusterInstancesResponse listComputeGpuMemoryClusterInstances(
+ ListComputeGpuMemoryClusterInstancesRequest request) {
+ LOG.trace("Called listComputeGpuMemoryClusterInstances");
+ final ListComputeGpuMemoryClusterInstancesRequest interceptedRequest =
+ ListComputeGpuMemoryClusterInstancesConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ ListComputeGpuMemoryClusterInstancesConverter.fromRequest(
+ client, interceptedRequest);
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration, true);
+ com.oracle.bmc.http.internal.RetryUtils.setClientRetriesHeader(ib, retrier);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Compute",
+ "ListComputeGpuMemoryClusterInstances",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryClusterInstanceSummary/ListComputeGpuMemoryClusterInstances");
+ java.util.function.Function<
+ javax.ws.rs.core.Response, ListComputeGpuMemoryClusterInstancesResponse>
+ transformer =
+ ListComputeGpuMemoryClusterInstancesConverter.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 ListComputeGpuMemoryClustersResponse listComputeGpuMemoryClusters(
+ ListComputeGpuMemoryClustersRequest request) {
+ LOG.trace("Called listComputeGpuMemoryClusters");
+ final ListComputeGpuMemoryClustersRequest interceptedRequest =
+ ListComputeGpuMemoryClustersConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ ListComputeGpuMemoryClustersConverter.fromRequest(client, interceptedRequest);
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration, true);
+ com.oracle.bmc.http.internal.RetryUtils.setClientRetriesHeader(ib, retrier);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Compute",
+ "ListComputeGpuMemoryClusters",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryClusterCollection/ListComputeGpuMemoryClusters");
+ java.util.function.Function
+ transformer =
+ ListComputeGpuMemoryClustersConverter.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 ListComputeGpuMemoryFabricsResponse listComputeGpuMemoryFabrics(
+ ListComputeGpuMemoryFabricsRequest request) {
+ LOG.trace("Called listComputeGpuMemoryFabrics");
+ final ListComputeGpuMemoryFabricsRequest interceptedRequest =
+ ListComputeGpuMemoryFabricsConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ ListComputeGpuMemoryFabricsConverter.fromRequest(client, interceptedRequest);
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration, true);
+ com.oracle.bmc.http.internal.RetryUtils.setClientRetriesHeader(ib, retrier);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Compute",
+ "ListComputeGpuMemoryFabrics",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryFabric/ListComputeGpuMemoryFabrics");
+ java.util.function.Function
+ transformer =
+ ListComputeGpuMemoryFabricsConverter.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 ListComputeHostsResponse listComputeHosts(ListComputeHostsRequest request) {
+ LOG.trace("Called listComputeHosts");
+ final ListComputeHostsRequest interceptedRequest =
+ ListComputeHostsConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ ListComputeHostsConverter.fromRequest(client, interceptedRequest);
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration, true);
+ com.oracle.bmc.http.internal.RetryUtils.setClientRetriesHeader(ib, retrier);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Compute",
+ "ListComputeHosts",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHost/ListComputeHosts");
+ java.util.function.Function
+ transformer =
+ ListComputeHostsConverter.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 ListComputeImageCapabilitySchemasResponse listComputeImageCapabilitySchemas(
ListComputeImageCapabilitySchemasRequest request) {
@@ -4279,6 +4765,136 @@ public UpdateComputeClusterResponse updateComputeCluster(UpdateComputeClusterReq
});
}
+ @Override
+ public UpdateComputeGpuMemoryClusterResponse updateComputeGpuMemoryCluster(
+ UpdateComputeGpuMemoryClusterRequest request) {
+ LOG.trace("Called updateComputeGpuMemoryCluster");
+ final UpdateComputeGpuMemoryClusterRequest interceptedRequest =
+ UpdateComputeGpuMemoryClusterConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ UpdateComputeGpuMemoryClusterConverter.fromRequest(client, interceptedRequest);
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration, true);
+ 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(
+ "Compute",
+ "UpdateComputeGpuMemoryCluster",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryCluster/UpdateComputeGpuMemoryCluster");
+ java.util.function.Function<
+ javax.ws.rs.core.Response, UpdateComputeGpuMemoryClusterResponse>
+ transformer =
+ UpdateComputeGpuMemoryClusterConverter.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
+ .getUpdateComputeGpuMemoryClusterDetails(),
+ retriedRequest);
+ return transformer.apply(response);
+ });
+ });
+ }
+
+ @Override
+ public UpdateComputeGpuMemoryFabricResponse updateComputeGpuMemoryFabric(
+ UpdateComputeGpuMemoryFabricRequest request) {
+ LOG.trace("Called updateComputeGpuMemoryFabric");
+ final UpdateComputeGpuMemoryFabricRequest interceptedRequest =
+ UpdateComputeGpuMemoryFabricConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ UpdateComputeGpuMemoryFabricConverter.fromRequest(client, interceptedRequest);
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration, true);
+ 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(
+ "Compute",
+ "UpdateComputeGpuMemoryFabric",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryFabric/UpdateComputeGpuMemoryFabric");
+ java.util.function.Function
+ transformer =
+ UpdateComputeGpuMemoryFabricConverter.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
+ .getUpdateComputeGpuMemoryFabricDetails(),
+ retriedRequest);
+ return transformer.apply(response);
+ });
+ });
+ }
+
+ @Override
+ public UpdateComputeHostResponse updateComputeHost(UpdateComputeHostRequest request) {
+ LOG.trace("Called updateComputeHost");
+ final UpdateComputeHostRequest interceptedRequest =
+ UpdateComputeHostConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ UpdateComputeHostConverter.fromRequest(client, interceptedRequest);
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration, true);
+ com.oracle.bmc.http.internal.RetryUtils.setClientRetriesHeader(ib, retrier);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Compute",
+ "UpdateComputeHost",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHost/UpdateComputeHost");
+ java.util.function.Function
+ transformer =
+ UpdateComputeHostConverter.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.getUpdateComputeHostDetails(),
+ retriedRequest);
+ return transformer.apply(response);
+ });
+ });
+ }
+
@Override
public UpdateComputeImageCapabilitySchemaResponse updateComputeImageCapabilitySchema(
UpdateComputeImageCapabilitySchemaRequest request) {
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/ComputePaginators.java b/bmc-core/src/main/java/com/oracle/bmc/core/ComputePaginators.java
index 4b2c5c8d3f..70ffc31aa2 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/ComputePaginators.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/ComputePaginators.java
@@ -1802,6 +1802,487 @@ public ListComputeGlobalImageCapabilitySchemasResponse apply(
});
}
+ /**
+ * Creates a new iterable which will iterate over the responses received from the listComputeGpuMemoryClusterInstances 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
+ listComputeGpuMemoryClusterInstancesResponseIterator(
+ final ListComputeGpuMemoryClusterInstancesRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseIterable<
+ ListComputeGpuMemoryClusterInstancesRequest.Builder,
+ ListComputeGpuMemoryClusterInstancesRequest,
+ ListComputeGpuMemoryClusterInstancesResponse>(
+ new java.util.function.Supplier<
+ ListComputeGpuMemoryClusterInstancesRequest.Builder>() {
+ @Override
+ public ListComputeGpuMemoryClusterInstancesRequest.Builder get() {
+ return ListComputeGpuMemoryClusterInstancesRequest.builder().copy(request);
+ }
+ },
+ new java.util.function.Function<
+ ListComputeGpuMemoryClusterInstancesResponse, String>() {
+ @Override
+ public String apply(ListComputeGpuMemoryClusterInstancesResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListComputeGpuMemoryClusterInstancesRequest.Builder>,
+ ListComputeGpuMemoryClusterInstancesRequest>() {
+ @Override
+ public ListComputeGpuMemoryClusterInstancesRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListComputeGpuMemoryClusterInstancesRequest.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<
+ ListComputeGpuMemoryClusterInstancesRequest,
+ ListComputeGpuMemoryClusterInstancesResponse>() {
+ @Override
+ public ListComputeGpuMemoryClusterInstancesResponse apply(
+ ListComputeGpuMemoryClusterInstancesRequest request) {
+ return client.listComputeGpuMemoryClusterInstances(request);
+ }
+ });
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the {@link com.oracle.bmc.core.model.ComputeGpuMemoryClusterInstanceSummary} objects
+ * contained in responses from the listComputeGpuMemoryClusterInstances operation. This iterable will fetch more data from the
+ * server as needed.
+ *
+ * @param request a request which can be sent to the service operation
+ * @return an {@link java.lang.Iterable} which can be used to iterate over the {@link com.oracle.bmc.core.model.ComputeGpuMemoryClusterInstanceSummary} objects
+ * contained in responses received from the service.
+ */
+ public Iterable
+ listComputeGpuMemoryClusterInstancesRecordIterator(
+ final ListComputeGpuMemoryClusterInstancesRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseRecordIterable<
+ ListComputeGpuMemoryClusterInstancesRequest.Builder,
+ ListComputeGpuMemoryClusterInstancesRequest,
+ ListComputeGpuMemoryClusterInstancesResponse,
+ com.oracle.bmc.core.model.ComputeGpuMemoryClusterInstanceSummary>(
+ new java.util.function.Supplier<
+ ListComputeGpuMemoryClusterInstancesRequest.Builder>() {
+ @Override
+ public ListComputeGpuMemoryClusterInstancesRequest.Builder get() {
+ return ListComputeGpuMemoryClusterInstancesRequest.builder().copy(request);
+ }
+ },
+ new java.util.function.Function<
+ ListComputeGpuMemoryClusterInstancesResponse, String>() {
+ @Override
+ public String apply(ListComputeGpuMemoryClusterInstancesResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListComputeGpuMemoryClusterInstancesRequest.Builder>,
+ ListComputeGpuMemoryClusterInstancesRequest>() {
+ @Override
+ public ListComputeGpuMemoryClusterInstancesRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListComputeGpuMemoryClusterInstancesRequest.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<
+ ListComputeGpuMemoryClusterInstancesRequest,
+ ListComputeGpuMemoryClusterInstancesResponse>() {
+ @Override
+ public ListComputeGpuMemoryClusterInstancesResponse apply(
+ ListComputeGpuMemoryClusterInstancesRequest request) {
+ return client.listComputeGpuMemoryClusterInstances(request);
+ }
+ },
+ new java.util.function.Function<
+ ListComputeGpuMemoryClusterInstancesResponse,
+ java.util.List<
+ com.oracle.bmc.core.model
+ .ComputeGpuMemoryClusterInstanceSummary>>() {
+ @Override
+ public java.util.List<
+ com.oracle.bmc.core.model
+ .ComputeGpuMemoryClusterInstanceSummary>
+ apply(ListComputeGpuMemoryClusterInstancesResponse response) {
+ return response.getComputeGpuMemoryClusterInstanceCollection().getItems();
+ }
+ });
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the responses received from the listComputeGpuMemoryClusters 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
+ listComputeGpuMemoryClustersResponseIterator(
+ final ListComputeGpuMemoryClustersRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseIterable<
+ ListComputeGpuMemoryClustersRequest.Builder, ListComputeGpuMemoryClustersRequest,
+ ListComputeGpuMemoryClustersResponse>(
+ new java.util.function.Supplier() {
+ @Override
+ public ListComputeGpuMemoryClustersRequest.Builder get() {
+ return ListComputeGpuMemoryClustersRequest.builder().copy(request);
+ }
+ },
+ new java.util.function.Function() {
+ @Override
+ public String apply(ListComputeGpuMemoryClustersResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListComputeGpuMemoryClustersRequest.Builder>,
+ ListComputeGpuMemoryClustersRequest>() {
+ @Override
+ public ListComputeGpuMemoryClustersRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListComputeGpuMemoryClustersRequest.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<
+ ListComputeGpuMemoryClustersRequest,
+ ListComputeGpuMemoryClustersResponse>() {
+ @Override
+ public ListComputeGpuMemoryClustersResponse apply(
+ ListComputeGpuMemoryClustersRequest request) {
+ return client.listComputeGpuMemoryClusters(request);
+ }
+ });
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the {@link com.oracle.bmc.core.model.ComputeGpuMemoryClusterSummary} objects
+ * contained in responses from the listComputeGpuMemoryClusters operation. This iterable will fetch more data from the
+ * server as needed.
+ *
+ * @param request a request which can be sent to the service operation
+ * @return an {@link java.lang.Iterable} which can be used to iterate over the {@link com.oracle.bmc.core.model.ComputeGpuMemoryClusterSummary} objects
+ * contained in responses received from the service.
+ */
+ public Iterable
+ listComputeGpuMemoryClustersRecordIterator(
+ final ListComputeGpuMemoryClustersRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseRecordIterable<
+ ListComputeGpuMemoryClustersRequest.Builder, ListComputeGpuMemoryClustersRequest,
+ ListComputeGpuMemoryClustersResponse,
+ com.oracle.bmc.core.model.ComputeGpuMemoryClusterSummary>(
+ new java.util.function.Supplier() {
+ @Override
+ public ListComputeGpuMemoryClustersRequest.Builder get() {
+ return ListComputeGpuMemoryClustersRequest.builder().copy(request);
+ }
+ },
+ new java.util.function.Function() {
+ @Override
+ public String apply(ListComputeGpuMemoryClustersResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListComputeGpuMemoryClustersRequest.Builder>,
+ ListComputeGpuMemoryClustersRequest>() {
+ @Override
+ public ListComputeGpuMemoryClustersRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListComputeGpuMemoryClustersRequest.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<
+ ListComputeGpuMemoryClustersRequest,
+ ListComputeGpuMemoryClustersResponse>() {
+ @Override
+ public ListComputeGpuMemoryClustersResponse apply(
+ ListComputeGpuMemoryClustersRequest request) {
+ return client.listComputeGpuMemoryClusters(request);
+ }
+ },
+ new java.util.function.Function<
+ ListComputeGpuMemoryClustersResponse,
+ java.util.List<
+ com.oracle.bmc.core.model.ComputeGpuMemoryClusterSummary>>() {
+ @Override
+ public java.util.List
+ apply(ListComputeGpuMemoryClustersResponse response) {
+ return response.getComputeGpuMemoryClusterCollection().getItems();
+ }
+ });
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the responses received from the listComputeGpuMemoryFabrics 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
+ listComputeGpuMemoryFabricsResponseIterator(
+ final ListComputeGpuMemoryFabricsRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseIterable<
+ ListComputeGpuMemoryFabricsRequest.Builder, ListComputeGpuMemoryFabricsRequest,
+ ListComputeGpuMemoryFabricsResponse>(
+ new java.util.function.Supplier() {
+ @Override
+ public ListComputeGpuMemoryFabricsRequest.Builder get() {
+ return ListComputeGpuMemoryFabricsRequest.builder().copy(request);
+ }
+ },
+ new java.util.function.Function() {
+ @Override
+ public String apply(ListComputeGpuMemoryFabricsResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListComputeGpuMemoryFabricsRequest.Builder>,
+ ListComputeGpuMemoryFabricsRequest>() {
+ @Override
+ public ListComputeGpuMemoryFabricsRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListComputeGpuMemoryFabricsRequest.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<
+ ListComputeGpuMemoryFabricsRequest, ListComputeGpuMemoryFabricsResponse>() {
+ @Override
+ public ListComputeGpuMemoryFabricsResponse apply(
+ ListComputeGpuMemoryFabricsRequest request) {
+ return client.listComputeGpuMemoryFabrics(request);
+ }
+ });
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the {@link com.oracle.bmc.core.model.ComputeGpuMemoryFabricSummary} objects
+ * contained in responses from the listComputeGpuMemoryFabrics operation. This iterable will fetch more data from the
+ * server as needed.
+ *
+ * @param request a request which can be sent to the service operation
+ * @return an {@link java.lang.Iterable} which can be used to iterate over the {@link com.oracle.bmc.core.model.ComputeGpuMemoryFabricSummary} objects
+ * contained in responses received from the service.
+ */
+ public Iterable
+ listComputeGpuMemoryFabricsRecordIterator(
+ final ListComputeGpuMemoryFabricsRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseRecordIterable<
+ ListComputeGpuMemoryFabricsRequest.Builder, ListComputeGpuMemoryFabricsRequest,
+ ListComputeGpuMemoryFabricsResponse,
+ com.oracle.bmc.core.model.ComputeGpuMemoryFabricSummary>(
+ new java.util.function.Supplier() {
+ @Override
+ public ListComputeGpuMemoryFabricsRequest.Builder get() {
+ return ListComputeGpuMemoryFabricsRequest.builder().copy(request);
+ }
+ },
+ new java.util.function.Function() {
+ @Override
+ public String apply(ListComputeGpuMemoryFabricsResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListComputeGpuMemoryFabricsRequest.Builder>,
+ ListComputeGpuMemoryFabricsRequest>() {
+ @Override
+ public ListComputeGpuMemoryFabricsRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListComputeGpuMemoryFabricsRequest.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<
+ ListComputeGpuMemoryFabricsRequest, ListComputeGpuMemoryFabricsResponse>() {
+ @Override
+ public ListComputeGpuMemoryFabricsResponse apply(
+ ListComputeGpuMemoryFabricsRequest request) {
+ return client.listComputeGpuMemoryFabrics(request);
+ }
+ },
+ new java.util.function.Function<
+ ListComputeGpuMemoryFabricsResponse,
+ java.util.List>() {
+ @Override
+ public java.util.List
+ apply(ListComputeGpuMemoryFabricsResponse response) {
+ return response.getComputeGpuMemoryFabricCollection().getItems();
+ }
+ });
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the responses received from the listComputeHosts 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 listComputeHostsResponseIterator(
+ final ListComputeHostsRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseIterable<
+ ListComputeHostsRequest.Builder, ListComputeHostsRequest, ListComputeHostsResponse>(
+ new java.util.function.Supplier() {
+ @Override
+ public ListComputeHostsRequest.Builder get() {
+ return ListComputeHostsRequest.builder().copy(request);
+ }
+ },
+ new java.util.function.Function() {
+ @Override
+ public String apply(ListComputeHostsResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListComputeHostsRequest.Builder>,
+ ListComputeHostsRequest>() {
+ @Override
+ public ListComputeHostsRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListComputeHostsRequest.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<
+ ListComputeHostsRequest, ListComputeHostsResponse>() {
+ @Override
+ public ListComputeHostsResponse apply(ListComputeHostsRequest request) {
+ return client.listComputeHosts(request);
+ }
+ });
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the {@link com.oracle.bmc.core.model.ComputeHostSummary} objects
+ * contained in responses from the listComputeHosts operation. This iterable will fetch more data from the
+ * server as needed.
+ *
+ * @param request a request which can be sent to the service operation
+ * @return an {@link java.lang.Iterable} which can be used to iterate over the {@link com.oracle.bmc.core.model.ComputeHostSummary} objects
+ * contained in responses received from the service.
+ */
+ public Iterable listComputeHostsRecordIterator(
+ final ListComputeHostsRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseRecordIterable<
+ ListComputeHostsRequest.Builder, ListComputeHostsRequest, ListComputeHostsResponse,
+ com.oracle.bmc.core.model.ComputeHostSummary>(
+ new java.util.function.Supplier() {
+ @Override
+ public ListComputeHostsRequest.Builder get() {
+ return ListComputeHostsRequest.builder().copy(request);
+ }
+ },
+ new java.util.function.Function() {
+ @Override
+ public String apply(ListComputeHostsResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListComputeHostsRequest.Builder>,
+ ListComputeHostsRequest>() {
+ @Override
+ public ListComputeHostsRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListComputeHostsRequest.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<
+ ListComputeHostsRequest, ListComputeHostsResponse>() {
+ @Override
+ public ListComputeHostsResponse apply(ListComputeHostsRequest request) {
+ return client.listComputeHosts(request);
+ }
+ },
+ new java.util.function.Function<
+ ListComputeHostsResponse,
+ java.util.List>() {
+ @Override
+ public java.util.List apply(
+ ListComputeHostsResponse response) {
+ return response.getComputeHostCollection().getItems();
+ }
+ });
+ }
+
/**
* Creates a new iterable which will iterate over the responses received from the listComputeImageCapabilitySchemas operation. This iterable
* will fetch more data from the server as needed.
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/ComputeWaiters.java b/bmc-core/src/main/java/com/oracle/bmc/core/ComputeWaiters.java
index a3898673c2..90792265f5 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/ComputeWaiters.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/ComputeWaiters.java
@@ -177,6 +177,69 @@ public ChangeComputeCapacityTopologyCompartmentResponse call()
request);
}
+ /**
+ * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration.
+ *
+ * @param request the request to send
+ * @return a new {@link com.oracle.bmc.waiter.Waiter} instance
+ */
+ public com.oracle.bmc.waiter.Waiter<
+ ChangeComputeHostCompartmentRequest, ChangeComputeHostCompartmentResponse>
+ forChangeComputeHostCompartment(ChangeComputeHostCompartmentRequest request) {
+ return forChangeComputeHostCompartment(
+ request,
+ com.oracle.bmc.waiter.Waiters.DEFAULT_POLLING_TERMINATION_STRATEGY,
+ com.oracle.bmc.waiter.Waiters.DEFAULT_POLLING_DELAY_STRATEGY);
+ }
+
+ /**
+ * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the provided configuration.
+ *
+ * @param request the request to send
+ * @param terminationStrategy the {@link com.oracle.bmc.waiter.TerminationStrategy} to use
+ * @param delayStrategy the {@link com.oracle.bmc.waiter.DelayStrategy} to use
+ * @return a new {@link com.oracle.bmc.waiter.Waiter} instance
+ */
+ public com.oracle.bmc.waiter.Waiter<
+ ChangeComputeHostCompartmentRequest, ChangeComputeHostCompartmentResponse>
+ forChangeComputeHostCompartment(
+ ChangeComputeHostCompartmentRequest request,
+ com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
+ com.oracle.bmc.waiter.DelayStrategy delayStrategy) {
+ if (workRequestClient == null) {
+ throw new IllegalStateException(
+ "A WorkRequestClient must be supplied to this waiter for this operation");
+ }
+
+ return new com.oracle.bmc.waiter.internal.SimpleWaiterImpl<>(
+ executorService,
+ new java.util.concurrent.Callable() {
+ @Override
+ public ChangeComputeHostCompartmentResponse call() throws Exception {
+ final ChangeComputeHostCompartmentResponse response =
+ client.changeComputeHostCompartment(request);
+
+ if (response.getOpcWorkRequestId() != null) {
+ final com.oracle.bmc.workrequests.requests.GetWorkRequestRequest
+ getWorkRequestRequest =
+ com.oracle.bmc.workrequests.requests
+ .GetWorkRequestRequest.builder()
+ .workRequestId(response.getOpcWorkRequestId())
+ .build();
+ workRequestClient
+ .getWaiters()
+ .forWorkRequest(
+ getWorkRequestRequest,
+ terminationStrategy,
+ delayStrategy)
+ .execute();
+ }
+ return response;
+ }
+ },
+ request);
+ }
+
/**
* Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration.
*
@@ -433,6 +496,69 @@ public CreateComputeCapacityTopologyResponse call() throws Exception {
request);
}
+ /**
+ * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration.
+ *
+ * @param request the request to send
+ * @return a new {@link com.oracle.bmc.waiter.Waiter} instance
+ */
+ public com.oracle.bmc.waiter.Waiter<
+ CreateComputeGpuMemoryClusterRequest, CreateComputeGpuMemoryClusterResponse>
+ forCreateComputeGpuMemoryCluster(CreateComputeGpuMemoryClusterRequest request) {
+ return forCreateComputeGpuMemoryCluster(
+ request,
+ com.oracle.bmc.waiter.Waiters.DEFAULT_POLLING_TERMINATION_STRATEGY,
+ com.oracle.bmc.waiter.Waiters.DEFAULT_POLLING_DELAY_STRATEGY);
+ }
+
+ /**
+ * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the provided configuration.
+ *
+ * @param request the request to send
+ * @param terminationStrategy the {@link com.oracle.bmc.waiter.TerminationStrategy} to use
+ * @param delayStrategy the {@link com.oracle.bmc.waiter.DelayStrategy} to use
+ * @return a new {@link com.oracle.bmc.waiter.Waiter} instance
+ */
+ public com.oracle.bmc.waiter.Waiter<
+ CreateComputeGpuMemoryClusterRequest, CreateComputeGpuMemoryClusterResponse>
+ forCreateComputeGpuMemoryCluster(
+ CreateComputeGpuMemoryClusterRequest request,
+ com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
+ com.oracle.bmc.waiter.DelayStrategy delayStrategy) {
+ if (workRequestClient == null) {
+ throw new IllegalStateException(
+ "A WorkRequestClient must be supplied to this waiter for this operation");
+ }
+
+ return new com.oracle.bmc.waiter.internal.SimpleWaiterImpl<>(
+ executorService,
+ new java.util.concurrent.Callable() {
+ @Override
+ public CreateComputeGpuMemoryClusterResponse call() throws Exception {
+ final CreateComputeGpuMemoryClusterResponse response =
+ client.createComputeGpuMemoryCluster(request);
+
+ if (response.getOpcWorkRequestId() != null) {
+ final com.oracle.bmc.workrequests.requests.GetWorkRequestRequest
+ getWorkRequestRequest =
+ com.oracle.bmc.workrequests.requests
+ .GetWorkRequestRequest.builder()
+ .workRequestId(response.getOpcWorkRequestId())
+ .build();
+ workRequestClient
+ .getWaiters()
+ .forWorkRequest(
+ getWorkRequestRequest,
+ terminationStrategy,
+ delayStrategy)
+ .execute();
+ }
+ return response;
+ }
+ },
+ request);
+ }
+
/**
* Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration.
*
@@ -681,6 +807,69 @@ public DeleteComputeCapacityTopologyResponse call() throws Exception {
request);
}
+ /**
+ * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration.
+ *
+ * @param request the request to send
+ * @return a new {@link com.oracle.bmc.waiter.Waiter} instance
+ */
+ public com.oracle.bmc.waiter.Waiter<
+ DeleteComputeGpuMemoryClusterRequest, DeleteComputeGpuMemoryClusterResponse>
+ forDeleteComputeGpuMemoryCluster(DeleteComputeGpuMemoryClusterRequest request) {
+ return forDeleteComputeGpuMemoryCluster(
+ request,
+ com.oracle.bmc.waiter.Waiters.DEFAULT_POLLING_TERMINATION_STRATEGY,
+ com.oracle.bmc.waiter.Waiters.DEFAULT_POLLING_DELAY_STRATEGY);
+ }
+
+ /**
+ * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the provided configuration.
+ *
+ * @param request the request to send
+ * @param terminationStrategy the {@link com.oracle.bmc.waiter.TerminationStrategy} to use
+ * @param delayStrategy the {@link com.oracle.bmc.waiter.DelayStrategy} to use
+ * @return a new {@link com.oracle.bmc.waiter.Waiter} instance
+ */
+ public com.oracle.bmc.waiter.Waiter<
+ DeleteComputeGpuMemoryClusterRequest, DeleteComputeGpuMemoryClusterResponse>
+ forDeleteComputeGpuMemoryCluster(
+ DeleteComputeGpuMemoryClusterRequest request,
+ com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
+ com.oracle.bmc.waiter.DelayStrategy delayStrategy) {
+ if (workRequestClient == null) {
+ throw new IllegalStateException(
+ "A WorkRequestClient must be supplied to this waiter for this operation");
+ }
+
+ return new com.oracle.bmc.waiter.internal.SimpleWaiterImpl<>(
+ executorService,
+ new java.util.concurrent.Callable() {
+ @Override
+ public DeleteComputeGpuMemoryClusterResponse call() throws Exception {
+ final DeleteComputeGpuMemoryClusterResponse response =
+ client.deleteComputeGpuMemoryCluster(request);
+
+ if (response.getOpcWorkRequestId() != null) {
+ final com.oracle.bmc.workrequests.requests.GetWorkRequestRequest
+ getWorkRequestRequest =
+ com.oracle.bmc.workrequests.requests
+ .GetWorkRequestRequest.builder()
+ .workRequestId(response.getOpcWorkRequestId())
+ .build();
+ workRequestClient
+ .getWaiters()
+ .forWorkRequest(
+ getWorkRequestRequest,
+ terminationStrategy,
+ delayStrategy)
+ .execute();
+ }
+ return response;
+ }
+ },
+ request);
+ }
+
/**
* Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration.
*
@@ -1236,6 +1425,329 @@ public boolean test(GetComputeClusterResponse 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<
+ GetComputeGpuMemoryClusterRequest, GetComputeGpuMemoryClusterResponse>
+ forComputeGpuMemoryCluster(
+ GetComputeGpuMemoryClusterRequest request,
+ com.oracle.bmc.core.model.ComputeGpuMemoryCluster.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 forComputeGpuMemoryCluster(
+ 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<
+ GetComputeGpuMemoryClusterRequest, GetComputeGpuMemoryClusterResponse>
+ forComputeGpuMemoryCluster(
+ GetComputeGpuMemoryClusterRequest request,
+ com.oracle.bmc.core.model.ComputeGpuMemoryCluster.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 forComputeGpuMemoryCluster(
+ 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<
+ GetComputeGpuMemoryClusterRequest, GetComputeGpuMemoryClusterResponse>
+ forComputeGpuMemoryCluster(
+ GetComputeGpuMemoryClusterRequest request,
+ com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
+ com.oracle.bmc.waiter.DelayStrategy delayStrategy,
+ com.oracle.bmc.core.model.ComputeGpuMemoryCluster.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 forComputeGpuMemoryCluster(
+ com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
+ request,
+ targetStates);
+ }
+
+ // Helper method to create a new Waiter for ComputeGpuMemoryCluster.
+ private com.oracle.bmc.waiter.Waiter<
+ GetComputeGpuMemoryClusterRequest, GetComputeGpuMemoryClusterResponse>
+ forComputeGpuMemoryCluster(
+ com.oracle.bmc.waiter.BmcGenericWaiter waiter,
+ final GetComputeGpuMemoryClusterRequest request,
+ final com.oracle.bmc.core.model.ComputeGpuMemoryCluster.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<
+ GetComputeGpuMemoryClusterRequest,
+ GetComputeGpuMemoryClusterResponse>() {
+ @Override
+ public GetComputeGpuMemoryClusterResponse apply(
+ GetComputeGpuMemoryClusterRequest request) {
+ return client.getComputeGpuMemoryCluster(request);
+ }
+ },
+ new java.util.function.Predicate() {
+ @Override
+ public boolean test(GetComputeGpuMemoryClusterResponse response) {
+ return targetStatesSet.contains(
+ response.getComputeGpuMemoryCluster().getLifecycleState());
+ }
+ },
+ targetStatesSet.contains(
+ com.oracle.bmc.core.model.ComputeGpuMemoryCluster.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<
+ GetComputeGpuMemoryFabricRequest, GetComputeGpuMemoryFabricResponse>
+ forComputeGpuMemoryFabric(
+ GetComputeGpuMemoryFabricRequest request,
+ com.oracle.bmc.core.model.ComputeGpuMemoryFabric.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 forComputeGpuMemoryFabric(
+ 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<
+ GetComputeGpuMemoryFabricRequest, GetComputeGpuMemoryFabricResponse>
+ forComputeGpuMemoryFabric(
+ GetComputeGpuMemoryFabricRequest request,
+ com.oracle.bmc.core.model.ComputeGpuMemoryFabric.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 forComputeGpuMemoryFabric(
+ 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<
+ GetComputeGpuMemoryFabricRequest, GetComputeGpuMemoryFabricResponse>
+ forComputeGpuMemoryFabric(
+ GetComputeGpuMemoryFabricRequest request,
+ com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
+ com.oracle.bmc.waiter.DelayStrategy delayStrategy,
+ com.oracle.bmc.core.model.ComputeGpuMemoryFabric.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 forComputeGpuMemoryFabric(
+ com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
+ request,
+ targetStates);
+ }
+
+ // Helper method to create a new Waiter for ComputeGpuMemoryFabric.
+ private com.oracle.bmc.waiter.Waiter<
+ GetComputeGpuMemoryFabricRequest, GetComputeGpuMemoryFabricResponse>
+ forComputeGpuMemoryFabric(
+ com.oracle.bmc.waiter.BmcGenericWaiter waiter,
+ final GetComputeGpuMemoryFabricRequest request,
+ final com.oracle.bmc.core.model.ComputeGpuMemoryFabric.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<
+ GetComputeGpuMemoryFabricRequest,
+ GetComputeGpuMemoryFabricResponse>() {
+ @Override
+ public GetComputeGpuMemoryFabricResponse apply(
+ GetComputeGpuMemoryFabricRequest request) {
+ return client.getComputeGpuMemoryFabric(request);
+ }
+ },
+ new java.util.function.Predicate() {
+ @Override
+ public boolean test(GetComputeGpuMemoryFabricResponse response) {
+ return targetStatesSet.contains(
+ response.getComputeGpuMemoryFabric().getLifecycleState());
+ }
+ },
+ false),
+ 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
+ forComputeHost(
+ GetComputeHostRequest request,
+ com.oracle.bmc.core.model.ComputeHost.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 forComputeHost(
+ 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
+ forComputeHost(
+ GetComputeHostRequest request,
+ com.oracle.bmc.core.model.ComputeHost.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 forComputeHost(
+ 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
+ forComputeHost(
+ GetComputeHostRequest request,
+ com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
+ com.oracle.bmc.waiter.DelayStrategy delayStrategy,
+ com.oracle.bmc.core.model.ComputeHost.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 forComputeHost(
+ com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
+ request,
+ targetStates);
+ }
+
+ // Helper method to create a new Waiter for ComputeHost.
+ private com.oracle.bmc.waiter.Waiter
+ forComputeHost(
+ com.oracle.bmc.waiter.BmcGenericWaiter waiter,
+ final GetComputeHostRequest request,
+ final com.oracle.bmc.core.model.ComputeHost.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<
+ GetComputeHostRequest, GetComputeHostResponse>() {
+ @Override
+ public GetComputeHostResponse apply(GetComputeHostRequest request) {
+ return client.getComputeHost(request);
+ }
+ },
+ new java.util.function.Predicate() {
+ @Override
+ public boolean test(GetComputeHostResponse response) {
+ return targetStatesSet.contains(
+ response.getComputeHost().getLifecycleState());
+ }
+ },
+ false),
+ request);
+ }
+
/**
* Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration.
*
@@ -2252,6 +2764,130 @@ public UpdateComputeCapacityTopologyResponse call() throws Exception {
request);
}
+ /**
+ * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration.
+ *
+ * @param request the request to send
+ * @return a new {@link com.oracle.bmc.waiter.Waiter} instance
+ */
+ public com.oracle.bmc.waiter.Waiter<
+ UpdateComputeGpuMemoryClusterRequest, UpdateComputeGpuMemoryClusterResponse>
+ forUpdateComputeGpuMemoryCluster(UpdateComputeGpuMemoryClusterRequest request) {
+ return forUpdateComputeGpuMemoryCluster(
+ request,
+ com.oracle.bmc.waiter.Waiters.DEFAULT_POLLING_TERMINATION_STRATEGY,
+ com.oracle.bmc.waiter.Waiters.DEFAULT_POLLING_DELAY_STRATEGY);
+ }
+
+ /**
+ * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the provided configuration.
+ *
+ * @param request the request to send
+ * @param terminationStrategy the {@link com.oracle.bmc.waiter.TerminationStrategy} to use
+ * @param delayStrategy the {@link com.oracle.bmc.waiter.DelayStrategy} to use
+ * @return a new {@link com.oracle.bmc.waiter.Waiter} instance
+ */
+ public com.oracle.bmc.waiter.Waiter<
+ UpdateComputeGpuMemoryClusterRequest, UpdateComputeGpuMemoryClusterResponse>
+ forUpdateComputeGpuMemoryCluster(
+ UpdateComputeGpuMemoryClusterRequest request,
+ com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
+ com.oracle.bmc.waiter.DelayStrategy delayStrategy) {
+ if (workRequestClient == null) {
+ throw new IllegalStateException(
+ "A WorkRequestClient must be supplied to this waiter for this operation");
+ }
+
+ return new com.oracle.bmc.waiter.internal.SimpleWaiterImpl<>(
+ executorService,
+ new java.util.concurrent.Callable() {
+ @Override
+ public UpdateComputeGpuMemoryClusterResponse call() throws Exception {
+ final UpdateComputeGpuMemoryClusterResponse response =
+ client.updateComputeGpuMemoryCluster(request);
+
+ if (response.getOpcWorkRequestId() != null) {
+ final com.oracle.bmc.workrequests.requests.GetWorkRequestRequest
+ getWorkRequestRequest =
+ com.oracle.bmc.workrequests.requests
+ .GetWorkRequestRequest.builder()
+ .workRequestId(response.getOpcWorkRequestId())
+ .build();
+ workRequestClient
+ .getWaiters()
+ .forWorkRequest(
+ getWorkRequestRequest,
+ terminationStrategy,
+ delayStrategy)
+ .execute();
+ }
+ return response;
+ }
+ },
+ request);
+ }
+
+ /**
+ * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration.
+ *
+ * @param request the request to send
+ * @return a new {@link com.oracle.bmc.waiter.Waiter} instance
+ */
+ public com.oracle.bmc.waiter.Waiter
+ forUpdateComputeHost(UpdateComputeHostRequest request) {
+ return forUpdateComputeHost(
+ request,
+ com.oracle.bmc.waiter.Waiters.DEFAULT_POLLING_TERMINATION_STRATEGY,
+ com.oracle.bmc.waiter.Waiters.DEFAULT_POLLING_DELAY_STRATEGY);
+ }
+
+ /**
+ * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the provided configuration.
+ *
+ * @param request the request to send
+ * @param terminationStrategy the {@link com.oracle.bmc.waiter.TerminationStrategy} to use
+ * @param delayStrategy the {@link com.oracle.bmc.waiter.DelayStrategy} to use
+ * @return a new {@link com.oracle.bmc.waiter.Waiter} instance
+ */
+ public com.oracle.bmc.waiter.Waiter
+ forUpdateComputeHost(
+ UpdateComputeHostRequest request,
+ com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
+ com.oracle.bmc.waiter.DelayStrategy delayStrategy) {
+ if (workRequestClient == null) {
+ throw new IllegalStateException(
+ "A WorkRequestClient must be supplied to this waiter for this operation");
+ }
+
+ return new com.oracle.bmc.waiter.internal.SimpleWaiterImpl<>(
+ executorService,
+ new java.util.concurrent.Callable() {
+ @Override
+ public UpdateComputeHostResponse call() throws Exception {
+ final UpdateComputeHostResponse response =
+ client.updateComputeHost(request);
+
+ if (response.getOpcWorkRequestId() != null) {
+ final com.oracle.bmc.workrequests.requests.GetWorkRequestRequest
+ getWorkRequestRequest =
+ com.oracle.bmc.workrequests.requests
+ .GetWorkRequestRequest.builder()
+ .workRequestId(response.getOpcWorkRequestId())
+ .build();
+ workRequestClient
+ .getWaiters()
+ .forWorkRequest(
+ getWorkRequestRequest,
+ terminationStrategy,
+ delayStrategy)
+ .execute();
+ }
+ return response;
+ }
+ },
+ request);
+ }
+
/**
* Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration.
*
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ChangeComputeGpuMemoryClusterCompartmentConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ChangeComputeGpuMemoryClusterCompartmentConverter.java
new file mode 100644
index 0000000000..af214afb20
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ChangeComputeGpuMemoryClusterCompartmentConverter.java
@@ -0,0 +1,148 @@
+/**
+ * Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.core.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.core.model.*;
+import com.oracle.bmc.core.requests.*;
+import com.oracle.bmc.core.responses.*;
+import com.oracle.bmc.util.internal.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+public class ChangeComputeGpuMemoryClusterCompartmentConverter {
+ 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(
+ ChangeComputeGpuMemoryClusterCompartmentConverter.class);
+
+ public static com.oracle.bmc.core.requests.ChangeComputeGpuMemoryClusterCompartmentRequest
+ interceptRequest(
+ com.oracle.bmc.core.requests.ChangeComputeGpuMemoryClusterCompartmentRequest
+ request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.core.requests.ChangeComputeGpuMemoryClusterCompartmentRequest request) {
+ Validate.notNull(request, "request instance is required");
+ Validate.notBlank(
+ request.getComputeGpuMemoryClusterId(),
+ "computeGpuMemoryClusterId must not be blank");
+ Validate.notNull(
+ request.getChangeComputeGpuMemoryClusterCompartmentDetails(),
+ "changeComputeGpuMemoryClusterCompartmentDetails is required");
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget()
+ .path("/20160918")
+ .path("computeGpuMemoryClusters")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getComputeGpuMemoryClusterId()))
+ .path("actions")
+ .path("changeCompartment");
+
+ 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.core.responses.ChangeComputeGpuMemoryClusterCompartmentResponse>
+ fromResponse() {
+ return fromResponse(java.util.Optional.empty());
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.core.responses.ChangeComputeGpuMemoryClusterCompartmentResponse>
+ fromResponse(java.util.Optional serviceDetails) {
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.core.responses
+ .ChangeComputeGpuMemoryClusterCompartmentResponse>
+ transformer =
+ new java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.core.responses
+ .ChangeComputeGpuMemoryClusterCompartmentResponse>() {
+ @Override
+ public com.oracle.bmc.core.responses
+ .ChangeComputeGpuMemoryClusterCompartmentResponse
+ apply(javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.core.responses.ChangeComputeGpuMemoryClusterCompartmentResponse");
+ 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.core.responses
+ .ChangeComputeGpuMemoryClusterCompartmentResponse
+ .Builder
+ builder =
+ com.oracle.bmc.core.responses
+ .ChangeComputeGpuMemoryClusterCompartmentResponse
+ .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.core.responses
+ .ChangeComputeGpuMemoryClusterCompartmentResponse
+ responseWrapper = builder.build();
+
+ ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse);
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ChangeComputeGpuMemoryFabricCompartmentConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ChangeComputeGpuMemoryFabricCompartmentConverter.java
new file mode 100644
index 0000000000..aebca80c79
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ChangeComputeGpuMemoryFabricCompartmentConverter.java
@@ -0,0 +1,148 @@
+/**
+ * Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.core.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.core.model.*;
+import com.oracle.bmc.core.requests.*;
+import com.oracle.bmc.core.responses.*;
+import com.oracle.bmc.util.internal.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+public class ChangeComputeGpuMemoryFabricCompartmentConverter {
+ 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(
+ ChangeComputeGpuMemoryFabricCompartmentConverter.class);
+
+ public static com.oracle.bmc.core.requests.ChangeComputeGpuMemoryFabricCompartmentRequest
+ interceptRequest(
+ com.oracle.bmc.core.requests.ChangeComputeGpuMemoryFabricCompartmentRequest
+ request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.core.requests.ChangeComputeGpuMemoryFabricCompartmentRequest request) {
+ Validate.notNull(request, "request instance is required");
+ Validate.notBlank(
+ request.getComputeGpuMemoryFabricId(),
+ "computeGpuMemoryFabricId must not be blank");
+ Validate.notNull(
+ request.getChangeComputeGpuMemoryFabricCompartmentDetails(),
+ "changeComputeGpuMemoryFabricCompartmentDetails is required");
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget()
+ .path("/20160918")
+ .path("computeGpuMemoryFabrics")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getComputeGpuMemoryFabricId()))
+ .path("actions")
+ .path("changeCompartment");
+
+ 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.core.responses.ChangeComputeGpuMemoryFabricCompartmentResponse>
+ fromResponse() {
+ return fromResponse(java.util.Optional.empty());
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.core.responses.ChangeComputeGpuMemoryFabricCompartmentResponse>
+ fromResponse(java.util.Optional serviceDetails) {
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.core.responses
+ .ChangeComputeGpuMemoryFabricCompartmentResponse>
+ transformer =
+ new java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.core.responses
+ .ChangeComputeGpuMemoryFabricCompartmentResponse>() {
+ @Override
+ public com.oracle.bmc.core.responses
+ .ChangeComputeGpuMemoryFabricCompartmentResponse
+ apply(javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.core.responses.ChangeComputeGpuMemoryFabricCompartmentResponse");
+ 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.core.responses
+ .ChangeComputeGpuMemoryFabricCompartmentResponse
+ .Builder
+ builder =
+ com.oracle.bmc.core.responses
+ .ChangeComputeGpuMemoryFabricCompartmentResponse
+ .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.core.responses
+ .ChangeComputeGpuMemoryFabricCompartmentResponse
+ responseWrapper = builder.build();
+
+ ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse);
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ChangeComputeHostCompartmentConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ChangeComputeHostCompartmentConverter.java
new file mode 100644
index 0000000000..6230146c52
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ChangeComputeHostCompartmentConverter.java
@@ -0,0 +1,151 @@
+/**
+ * Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.core.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.core.model.*;
+import com.oracle.bmc.core.requests.*;
+import com.oracle.bmc.core.responses.*;
+import com.oracle.bmc.util.internal.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+public class ChangeComputeHostCompartmentConverter {
+ 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(ChangeComputeHostCompartmentConverter.class);
+
+ public static com.oracle.bmc.core.requests.ChangeComputeHostCompartmentRequest interceptRequest(
+ com.oracle.bmc.core.requests.ChangeComputeHostCompartmentRequest request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.core.requests.ChangeComputeHostCompartmentRequest request) {
+ Validate.notNull(request, "request instance is required");
+ Validate.notBlank(request.getComputeHostId(), "computeHostId must not be blank");
+ Validate.notNull(
+ request.getChangeComputeHostCompartmentDetails(),
+ "changeComputeHostCompartmentDetails is required");
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget()
+ .path("/20160918")
+ .path("computeHosts")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getComputeHostId()))
+ .path("actions")
+ .path("changeCompartment");
+
+ 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.core.responses.ChangeComputeHostCompartmentResponse>
+ fromResponse() {
+ return fromResponse(java.util.Optional.empty());
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.core.responses.ChangeComputeHostCompartmentResponse>
+ fromResponse(java.util.Optional serviceDetails) {
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.core.responses.ChangeComputeHostCompartmentResponse>
+ transformer =
+ new java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.core.responses
+ .ChangeComputeHostCompartmentResponse>() {
+ @Override
+ public com.oracle.bmc.core.responses
+ .ChangeComputeHostCompartmentResponse
+ apply(javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.core.responses.ChangeComputeHostCompartmentResponse");
+ 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.core.responses.ChangeComputeHostCompartmentResponse
+ .Builder
+ builder =
+ com.oracle.bmc.core.responses
+ .ChangeComputeHostCompartmentResponse
+ .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));
+ }
+
+ 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));
+ }
+
+ com.oracle.bmc.core.responses.ChangeComputeHostCompartmentResponse
+ responseWrapper = builder.build();
+
+ ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse);
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/CreateComputeGpuMemoryClusterConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/CreateComputeGpuMemoryClusterConverter.java
new file mode 100644
index 0000000000..f383657474
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/CreateComputeGpuMemoryClusterConverter.java
@@ -0,0 +1,161 @@
+/**
+ * Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.core.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.core.model.*;
+import com.oracle.bmc.core.requests.*;
+import com.oracle.bmc.core.responses.*;
+import com.oracle.bmc.util.internal.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+public class CreateComputeGpuMemoryClusterConverter {
+ 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(CreateComputeGpuMemoryClusterConverter.class);
+
+ public static com.oracle.bmc.core.requests.CreateComputeGpuMemoryClusterRequest
+ interceptRequest(
+ com.oracle.bmc.core.requests.CreateComputeGpuMemoryClusterRequest request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.core.requests.CreateComputeGpuMemoryClusterRequest request) {
+ Validate.notNull(request, "request instance is required");
+ Validate.notNull(
+ request.getCreateComputeGpuMemoryClusterDetails(),
+ "createComputeGpuMemoryClusterDetails is required");
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget().path("/20160918").path("computeGpuMemoryClusters");
+
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
+
+ ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
+
+ if (request.getOpcRetryToken() != null) {
+ ib.header("opc-retry-token", request.getOpcRetryToken());
+ }
+
+ 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.core.responses.CreateComputeGpuMemoryClusterResponse>
+ fromResponse() {
+ return fromResponse(java.util.Optional.empty());
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.core.responses.CreateComputeGpuMemoryClusterResponse>
+ fromResponse(java.util.Optional serviceDetails) {
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.core.responses.CreateComputeGpuMemoryClusterResponse>
+ transformer =
+ new java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.core.responses
+ .CreateComputeGpuMemoryClusterResponse>() {
+ @Override
+ public com.oracle.bmc.core.responses
+ .CreateComputeGpuMemoryClusterResponse
+ apply(javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.core.responses.CreateComputeGpuMemoryClusterResponse");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.core.model
+ .ComputeGpuMemoryCluster>>
+ responseFn;
+ if (serviceDetails.isPresent()) {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.core.model
+ .ComputeGpuMemoryCluster
+ .class,
+ serviceDetails.get());
+ } else {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.core.model
+ .ComputeGpuMemoryCluster
+ .class);
+ }
+
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.core.model.ComputeGpuMemoryCluster>
+ response = responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ com.oracle.bmc.core.responses.CreateComputeGpuMemoryClusterResponse
+ .Builder
+ builder =
+ com.oracle.bmc.core.responses
+ .CreateComputeGpuMemoryClusterResponse
+ .builder()
+ .__httpStatusCode__(rawResponse.getStatus())
+ .headers(headers);
+
+ builder.computeGpuMemoryCluster(response.getItem());
+
+ 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));
+ }
+
+ 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));
+ }
+
+ com.oracle.bmc.core.responses.CreateComputeGpuMemoryClusterResponse
+ responseWrapper = builder.build();
+
+ ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse);
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/DeleteComputeGpuMemoryClusterConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/DeleteComputeGpuMemoryClusterConverter.java
new file mode 100644
index 0000000000..2ffb1df59d
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/DeleteComputeGpuMemoryClusterConverter.java
@@ -0,0 +1,145 @@
+/**
+ * Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.core.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.core.model.*;
+import com.oracle.bmc.core.requests.*;
+import com.oracle.bmc.core.responses.*;
+import com.oracle.bmc.util.internal.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+public class DeleteComputeGpuMemoryClusterConverter {
+ 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(DeleteComputeGpuMemoryClusterConverter.class);
+
+ public static com.oracle.bmc.core.requests.DeleteComputeGpuMemoryClusterRequest
+ interceptRequest(
+ com.oracle.bmc.core.requests.DeleteComputeGpuMemoryClusterRequest request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.core.requests.DeleteComputeGpuMemoryClusterRequest request) {
+ Validate.notNull(request, "request instance is required");
+ Validate.notBlank(
+ request.getComputeGpuMemoryClusterId(),
+ "computeGpuMemoryClusterId must not be blank");
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget()
+ .path("/20160918")
+ .path("computeGpuMemoryClusters")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getComputeGpuMemoryClusterId()));
+
+ 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.core.responses.DeleteComputeGpuMemoryClusterResponse>
+ fromResponse() {
+ return fromResponse(java.util.Optional.empty());
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.core.responses.DeleteComputeGpuMemoryClusterResponse>
+ fromResponse(java.util.Optional serviceDetails) {
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.core.responses.DeleteComputeGpuMemoryClusterResponse>
+ transformer =
+ new java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.core.responses
+ .DeleteComputeGpuMemoryClusterResponse>() {
+ @Override
+ public com.oracle.bmc.core.responses
+ .DeleteComputeGpuMemoryClusterResponse
+ apply(javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.core.responses.DeleteComputeGpuMemoryClusterResponse");
+ 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.core.responses.DeleteComputeGpuMemoryClusterResponse
+ .Builder
+ builder =
+ com.oracle.bmc.core.responses
+ .DeleteComputeGpuMemoryClusterResponse
+ .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));
+ }
+
+ 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));
+ }
+
+ com.oracle.bmc.core.responses.DeleteComputeGpuMemoryClusterResponse
+ responseWrapper = builder.build();
+
+ ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse);
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/GetComputeGpuMemoryClusterConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/GetComputeGpuMemoryClusterConverter.java
new file mode 100644
index 0000000000..a5d62dc259
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/GetComputeGpuMemoryClusterConverter.java
@@ -0,0 +1,149 @@
+/**
+ * Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.core.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.core.model.*;
+import com.oracle.bmc.core.requests.*;
+import com.oracle.bmc.core.responses.*;
+import com.oracle.bmc.util.internal.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+public class GetComputeGpuMemoryClusterConverter {
+ 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(GetComputeGpuMemoryClusterConverter.class);
+
+ public static com.oracle.bmc.core.requests.GetComputeGpuMemoryClusterRequest interceptRequest(
+ com.oracle.bmc.core.requests.GetComputeGpuMemoryClusterRequest request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.core.requests.GetComputeGpuMemoryClusterRequest request) {
+ Validate.notNull(request, "request instance is required");
+ Validate.notBlank(
+ request.getComputeGpuMemoryClusterId(),
+ "computeGpuMemoryClusterId must not be blank");
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget()
+ .path("/20160918")
+ .path("computeGpuMemoryClusters")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getComputeGpuMemoryClusterId()));
+
+ 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.core.responses.GetComputeGpuMemoryClusterResponse>
+ fromResponse() {
+ return fromResponse(java.util.Optional.empty());
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.core.responses.GetComputeGpuMemoryClusterResponse>
+ fromResponse(java.util.Optional serviceDetails) {
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.core.responses.GetComputeGpuMemoryClusterResponse>
+ transformer =
+ new java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.core.responses
+ .GetComputeGpuMemoryClusterResponse>() {
+ @Override
+ public com.oracle.bmc.core.responses.GetComputeGpuMemoryClusterResponse
+ apply(javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.core.responses.GetComputeGpuMemoryClusterResponse");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.core.model
+ .ComputeGpuMemoryCluster>>
+ responseFn;
+ if (serviceDetails.isPresent()) {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.core.model
+ .ComputeGpuMemoryCluster
+ .class,
+ serviceDetails.get());
+ } else {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.core.model
+ .ComputeGpuMemoryCluster
+ .class);
+ }
+
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.core.model.ComputeGpuMemoryCluster>
+ response = responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ com.oracle.bmc.core.responses.GetComputeGpuMemoryClusterResponse
+ .Builder
+ builder =
+ com.oracle.bmc.core.responses
+ .GetComputeGpuMemoryClusterResponse
+ .builder()
+ .__httpStatusCode__(rawResponse.getStatus())
+ .headers(headers);
+
+ builder.computeGpuMemoryCluster(response.getItem());
+
+ 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));
+ }
+
+ 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.core.responses.GetComputeGpuMemoryClusterResponse
+ responseWrapper = builder.build();
+
+ ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse);
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/GetComputeGpuMemoryFabricConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/GetComputeGpuMemoryFabricConverter.java
new file mode 100644
index 0000000000..421e5cfb88
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/GetComputeGpuMemoryFabricConverter.java
@@ -0,0 +1,145 @@
+/**
+ * Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.core.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.core.model.*;
+import com.oracle.bmc.core.requests.*;
+import com.oracle.bmc.core.responses.*;
+import com.oracle.bmc.util.internal.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+public class GetComputeGpuMemoryFabricConverter {
+ 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(GetComputeGpuMemoryFabricConverter.class);
+
+ public static com.oracle.bmc.core.requests.GetComputeGpuMemoryFabricRequest interceptRequest(
+ com.oracle.bmc.core.requests.GetComputeGpuMemoryFabricRequest request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.core.requests.GetComputeGpuMemoryFabricRequest request) {
+ Validate.notNull(request, "request instance is required");
+ Validate.notBlank(
+ request.getComputeGpuMemoryFabricId(),
+ "computeGpuMemoryFabricId must not be blank");
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget()
+ .path("/20160918")
+ .path("computeGpuMemoryFabrics")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getComputeGpuMemoryFabricId()));
+
+ 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.core.responses.GetComputeGpuMemoryFabricResponse>
+ fromResponse() {
+ return fromResponse(java.util.Optional.empty());
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.core.responses.GetComputeGpuMemoryFabricResponse>
+ fromResponse(java.util.Optional serviceDetails) {
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.core.responses.GetComputeGpuMemoryFabricResponse>
+ transformer =
+ new java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.core.responses.GetComputeGpuMemoryFabricResponse>() {
+ @Override
+ public com.oracle.bmc.core.responses.GetComputeGpuMemoryFabricResponse
+ apply(javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.core.responses.GetComputeGpuMemoryFabricResponse");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.core.model
+ .ComputeGpuMemoryFabric>>
+ responseFn;
+ if (serviceDetails.isPresent()) {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.core.model.ComputeGpuMemoryFabric
+ .class,
+ serviceDetails.get());
+ } else {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.core.model.ComputeGpuMemoryFabric
+ .class);
+ }
+
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.core.model.ComputeGpuMemoryFabric>
+ response = responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ com.oracle.bmc.core.responses.GetComputeGpuMemoryFabricResponse
+ .Builder
+ builder =
+ com.oracle.bmc.core.responses
+ .GetComputeGpuMemoryFabricResponse.builder()
+ .__httpStatusCode__(rawResponse.getStatus())
+ .headers(headers);
+
+ builder.computeGpuMemoryFabric(response.getItem());
+
+ 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));
+ }
+
+ 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.core.responses.GetComputeGpuMemoryFabricResponse
+ responseWrapper = builder.build();
+
+ ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse);
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/GetComputeHostConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/GetComputeHostConverter.java
new file mode 100644
index 0000000000..8c5e32138f
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/GetComputeHostConverter.java
@@ -0,0 +1,137 @@
+/**
+ * Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.core.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.core.model.*;
+import com.oracle.bmc.core.requests.*;
+import com.oracle.bmc.core.responses.*;
+import com.oracle.bmc.util.internal.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+public class GetComputeHostConverter {
+ 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(GetComputeHostConverter.class);
+
+ public static com.oracle.bmc.core.requests.GetComputeHostRequest interceptRequest(
+ com.oracle.bmc.core.requests.GetComputeHostRequest request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.core.requests.GetComputeHostRequest request) {
+ Validate.notNull(request, "request instance is required");
+ Validate.notBlank(request.getComputeHostId(), "computeHostId must not be blank");
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget()
+ .path("/20160918")
+ .path("computeHosts")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getComputeHostId()));
+
+ 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.core.responses.GetComputeHostResponse>
+ fromResponse() {
+ return fromResponse(java.util.Optional.empty());
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response, com.oracle.bmc.core.responses.GetComputeHostResponse>
+ fromResponse(java.util.Optional serviceDetails) {
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.core.responses.GetComputeHostResponse>
+ transformer =
+ new java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.core.responses.GetComputeHostResponse>() {
+ @Override
+ public com.oracle.bmc.core.responses.GetComputeHostResponse apply(
+ javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.core.responses.GetComputeHostResponse");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.core.model.ComputeHost>>
+ responseFn;
+ if (serviceDetails.isPresent()) {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.core.model.ComputeHost.class,
+ serviceDetails.get());
+ } else {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.core.model.ComputeHost.class);
+ }
+
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.core.model.ComputeHost>
+ response = responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ com.oracle.bmc.core.responses.GetComputeHostResponse.Builder
+ builder =
+ com.oracle.bmc.core.responses.GetComputeHostResponse
+ .builder()
+ .__httpStatusCode__(rawResponse.getStatus())
+ .headers(headers);
+
+ builder.computeHost(response.getItem());
+
+ 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));
+ }
+
+ 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.core.responses.GetComputeHostResponse
+ responseWrapper = builder.build();
+
+ ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse);
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListComputeGpuMemoryClusterInstancesConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListComputeGpuMemoryClusterInstancesConverter.java
new file mode 100644
index 0000000000..393cb1ca04
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListComputeGpuMemoryClusterInstancesConverter.java
@@ -0,0 +1,200 @@
+/**
+ * Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.core.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.core.model.*;
+import com.oracle.bmc.core.requests.*;
+import com.oracle.bmc.core.responses.*;
+import com.oracle.bmc.util.internal.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+public class ListComputeGpuMemoryClusterInstancesConverter {
+ 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(ListComputeGpuMemoryClusterInstancesConverter.class);
+
+ public static com.oracle.bmc.core.requests.ListComputeGpuMemoryClusterInstancesRequest
+ interceptRequest(
+ com.oracle.bmc.core.requests.ListComputeGpuMemoryClusterInstancesRequest
+ request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.core.requests.ListComputeGpuMemoryClusterInstancesRequest request) {
+ Validate.notNull(request, "request instance is required");
+ Validate.notBlank(
+ request.getComputeGpuMemoryClusterId(),
+ "computeGpuMemoryClusterId must not be blank");
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget()
+ .path("/20160918")
+ .path("computeGpuMemoryClusters")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getComputeGpuMemoryClusterId()))
+ .path("instances");
+
+ if (request.getPage() != null) {
+ target =
+ target.queryParam(
+ "page",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getPage()));
+ }
+
+ 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.getLimit() != null) {
+ target =
+ target.queryParam(
+ "limit",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getLimit()));
+ }
+
+ 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.core.responses.ListComputeGpuMemoryClusterInstancesResponse>
+ fromResponse() {
+ return fromResponse(java.util.Optional.empty());
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.core.responses.ListComputeGpuMemoryClusterInstancesResponse>
+ fromResponse(java.util.Optional serviceDetails) {
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.core.responses.ListComputeGpuMemoryClusterInstancesResponse>
+ transformer =
+ new java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.core.responses
+ .ListComputeGpuMemoryClusterInstancesResponse>() {
+ @Override
+ public com.oracle.bmc.core.responses
+ .ListComputeGpuMemoryClusterInstancesResponse
+ apply(javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.core.responses.ListComputeGpuMemoryClusterInstancesResponse");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.core.model
+ .ComputeGpuMemoryClusterInstanceCollection>>
+ responseFn;
+ if (serviceDetails.isPresent()) {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.core.model
+ .ComputeGpuMemoryClusterInstanceCollection
+ .class,
+ serviceDetails.get());
+ } else {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.core.model
+ .ComputeGpuMemoryClusterInstanceCollection
+ .class);
+ }
+
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.core.model
+ .ComputeGpuMemoryClusterInstanceCollection>
+ response = responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ com.oracle.bmc.core.responses
+ .ListComputeGpuMemoryClusterInstancesResponse
+ .Builder
+ builder =
+ com.oracle.bmc.core.responses
+ .ListComputeGpuMemoryClusterInstancesResponse
+ .builder()
+ .__httpStatusCode__(rawResponse.getStatus())
+ .headers(headers);
+
+ builder.computeGpuMemoryClusterInstanceCollection(
+ response.getItem());
+
+ 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));
+ }
+
+ 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));
+ }
+
+ 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.core.responses
+ .ListComputeGpuMemoryClusterInstancesResponse
+ responseWrapper = builder.build();
+
+ ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse);
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListComputeGpuMemoryClustersConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListComputeGpuMemoryClustersConverter.java
new file mode 100644
index 0000000000..bdb4589ad0
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListComputeGpuMemoryClustersConverter.java
@@ -0,0 +1,225 @@
+/**
+ * Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.core.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.core.model.*;
+import com.oracle.bmc.core.requests.*;
+import com.oracle.bmc.core.responses.*;
+import com.oracle.bmc.util.internal.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+public class ListComputeGpuMemoryClustersConverter {
+ 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(ListComputeGpuMemoryClustersConverter.class);
+
+ public static com.oracle.bmc.core.requests.ListComputeGpuMemoryClustersRequest interceptRequest(
+ com.oracle.bmc.core.requests.ListComputeGpuMemoryClustersRequest request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.core.requests.ListComputeGpuMemoryClustersRequest 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("/20160918").path("computeGpuMemoryClusters");
+
+ if (request.getComputeGpuMemoryClusterId() != null) {
+ target =
+ target.queryParam(
+ "computeGpuMemoryClusterId",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getComputeGpuMemoryClusterId()));
+ }
+
+ if (request.getAvailabilityDomain() != null) {
+ target =
+ target.queryParam(
+ "availabilityDomain",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getAvailabilityDomain()));
+ }
+
+ target =
+ target.queryParam(
+ "compartmentId",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getCompartmentId()));
+
+ if (request.getDisplayName() != null) {
+ target =
+ target.queryParam(
+ "displayName",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getDisplayName()));
+ }
+
+ if (request.getComputeClusterId() != null) {
+ target =
+ target.queryParam(
+ "computeClusterId",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getComputeClusterId()));
+ }
+
+ if (request.getPage() != null) {
+ target =
+ target.queryParam(
+ "page",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getPage()));
+ }
+
+ 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.getLimit() != null) {
+ target =
+ target.queryParam(
+ "limit",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getLimit()));
+ }
+
+ 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.core.responses.ListComputeGpuMemoryClustersResponse>
+ fromResponse() {
+ return fromResponse(java.util.Optional.empty());
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.core.responses.ListComputeGpuMemoryClustersResponse>
+ fromResponse(java.util.Optional serviceDetails) {
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.core.responses.ListComputeGpuMemoryClustersResponse>
+ transformer =
+ new java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.core.responses
+ .ListComputeGpuMemoryClustersResponse>() {
+ @Override
+ public com.oracle.bmc.core.responses
+ .ListComputeGpuMemoryClustersResponse
+ apply(javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.core.responses.ListComputeGpuMemoryClustersResponse");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.core.model
+ .ComputeGpuMemoryClusterCollection>>
+ responseFn;
+ if (serviceDetails.isPresent()) {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.core.model
+ .ComputeGpuMemoryClusterCollection
+ .class,
+ serviceDetails.get());
+ } else {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.core.model
+ .ComputeGpuMemoryClusterCollection
+ .class);
+ }
+
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.core.model
+ .ComputeGpuMemoryClusterCollection>
+ response = responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ com.oracle.bmc.core.responses.ListComputeGpuMemoryClustersResponse
+ .Builder
+ builder =
+ com.oracle.bmc.core.responses
+ .ListComputeGpuMemoryClustersResponse
+ .builder()
+ .__httpStatusCode__(rawResponse.getStatus())
+ .headers(headers);
+
+ builder.computeGpuMemoryClusterCollection(response.getItem());
+
+ 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));
+ }
+
+ 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));
+ }
+
+ 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.core.responses.ListComputeGpuMemoryClustersResponse
+ responseWrapper = builder.build();
+
+ ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse);
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListComputeGpuMemoryFabricsConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListComputeGpuMemoryFabricsConverter.java
new file mode 100644
index 0000000000..6b1ef01547
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListComputeGpuMemoryFabricsConverter.java
@@ -0,0 +1,239 @@
+/**
+ * Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.core.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.core.model.*;
+import com.oracle.bmc.core.requests.*;
+import com.oracle.bmc.core.responses.*;
+import com.oracle.bmc.util.internal.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+public class ListComputeGpuMemoryFabricsConverter {
+ 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(ListComputeGpuMemoryFabricsConverter.class);
+
+ public static com.oracle.bmc.core.requests.ListComputeGpuMemoryFabricsRequest interceptRequest(
+ com.oracle.bmc.core.requests.ListComputeGpuMemoryFabricsRequest request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.core.requests.ListComputeGpuMemoryFabricsRequest 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("/20160918").path("computeGpuMemoryFabrics");
+
+ if (request.getComputeGpuMemoryFabricId() != null) {
+ target =
+ target.queryParam(
+ "computeGpuMemoryFabricId",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getComputeGpuMemoryFabricId()));
+ }
+
+ if (request.getAvailabilityDomain() != null) {
+ target =
+ target.queryParam(
+ "availabilityDomain",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getAvailabilityDomain()));
+ }
+
+ target =
+ target.queryParam(
+ "compartmentId",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getCompartmentId()));
+
+ if (request.getDisplayName() != null) {
+ target =
+ target.queryParam(
+ "displayName",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getDisplayName()));
+ }
+
+ if (request.getComputeHpcIslandId() != null) {
+ target =
+ target.queryParam(
+ "computeHpcIslandId",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getComputeHpcIslandId()));
+ }
+
+ if (request.getComputeNetworkBlockId() != null) {
+ target =
+ target.queryParam(
+ "computeNetworkBlockId",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getComputeNetworkBlockId()));
+ }
+
+ if (request.getComputeGpuMemoryFabricLifecycleState() != null) {
+ target =
+ target.queryParam(
+ "computeGpuMemoryFabricLifecycleState",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getComputeGpuMemoryFabricLifecycleState().getValue()));
+ }
+
+ if (request.getComputeGpuMemoryFabricHealth() != null) {
+ target =
+ target.queryParam(
+ "computeGpuMemoryFabricHealth",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getComputeGpuMemoryFabricHealth().getValue()));
+ }
+
+ if (request.getLimit() != null) {
+ target =
+ target.queryParam(
+ "limit",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getLimit()));
+ }
+
+ if (request.getPage() != null) {
+ target =
+ target.queryParam(
+ "page",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getPage()));
+ }
+
+ 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()));
+ }
+
+ 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.core.responses.ListComputeGpuMemoryFabricsResponse>
+ fromResponse() {
+ return fromResponse(java.util.Optional.empty());
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.core.responses.ListComputeGpuMemoryFabricsResponse>
+ fromResponse(java.util.Optional serviceDetails) {
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.core.responses.ListComputeGpuMemoryFabricsResponse>
+ transformer =
+ new java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.core.responses
+ .ListComputeGpuMemoryFabricsResponse>() {
+ @Override
+ public com.oracle.bmc.core.responses.ListComputeGpuMemoryFabricsResponse
+ apply(javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.core.responses.ListComputeGpuMemoryFabricsResponse");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.core.model
+ .ComputeGpuMemoryFabricCollection>>
+ responseFn;
+ if (serviceDetails.isPresent()) {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.core.model
+ .ComputeGpuMemoryFabricCollection
+ .class,
+ serviceDetails.get());
+ } else {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.core.model
+ .ComputeGpuMemoryFabricCollection
+ .class);
+ }
+
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.core.model
+ .ComputeGpuMemoryFabricCollection>
+ response = responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ com.oracle.bmc.core.responses.ListComputeGpuMemoryFabricsResponse
+ .Builder
+ builder =
+ com.oracle.bmc.core.responses
+ .ListComputeGpuMemoryFabricsResponse
+ .builder()
+ .__httpStatusCode__(rawResponse.getStatus())
+ .headers(headers);
+
+ builder.computeGpuMemoryFabricCollection(response.getItem());
+
+ 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));
+ }
+
+ 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.core.responses.ListComputeGpuMemoryFabricsResponse
+ responseWrapper = builder.build();
+
+ ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse);
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListComputeHostsConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListComputeHostsConverter.java
new file mode 100644
index 0000000000..5272d20229
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListComputeHostsConverter.java
@@ -0,0 +1,217 @@
+/**
+ * Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.core.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.core.model.*;
+import com.oracle.bmc.core.requests.*;
+import com.oracle.bmc.core.responses.*;
+import com.oracle.bmc.util.internal.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+public class ListComputeHostsConverter {
+ 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(ListComputeHostsConverter.class);
+
+ public static com.oracle.bmc.core.requests.ListComputeHostsRequest interceptRequest(
+ com.oracle.bmc.core.requests.ListComputeHostsRequest request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.core.requests.ListComputeHostsRequest 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("/20160918").path("computeHosts");
+
+ if (request.getAvailabilityDomain() != null) {
+ target =
+ target.queryParam(
+ "availabilityDomain",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getAvailabilityDomain()));
+ }
+
+ target =
+ target.queryParam(
+ "compartmentId",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getCompartmentId()));
+
+ if (request.getDisplayName() != null) {
+ target =
+ target.queryParam(
+ "displayName",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getDisplayName()));
+ }
+
+ if (request.getNetworkResourceId() != null) {
+ target =
+ target.queryParam(
+ "networkResourceId",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getNetworkResourceId()));
+ }
+
+ if (request.getLimit() != null) {
+ target =
+ target.queryParam(
+ "limit",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getLimit()));
+ }
+
+ if (request.getPage() != null) {
+ target =
+ target.queryParam(
+ "page",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getPage()));
+ }
+
+ 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.getComputeHostLifecycleState() != null) {
+ target =
+ target.queryParam(
+ "computeHostLifecycleState",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getComputeHostLifecycleState()));
+ }
+
+ if (request.getComputeHostHealth() != null) {
+ target =
+ target.queryParam(
+ "computeHostHealth",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getComputeHostHealth()));
+ }
+
+ 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.core.responses.ListComputeHostsResponse>
+ fromResponse() {
+ return fromResponse(java.util.Optional.empty());
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.core.responses.ListComputeHostsResponse>
+ fromResponse(java.util.Optional serviceDetails) {
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.core.responses.ListComputeHostsResponse>
+ transformer =
+ new java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.core.responses.ListComputeHostsResponse>() {
+ @Override
+ public com.oracle.bmc.core.responses.ListComputeHostsResponse apply(
+ javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.core.responses.ListComputeHostsResponse");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.core.model
+ .ComputeHostCollection>>
+ responseFn;
+ if (serviceDetails.isPresent()) {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.core.model.ComputeHostCollection
+ .class,
+ serviceDetails.get());
+ } else {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.core.model.ComputeHostCollection
+ .class);
+ }
+
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.core.model.ComputeHostCollection>
+ response = responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ com.oracle.bmc.core.responses.ListComputeHostsResponse.Builder
+ builder =
+ com.oracle.bmc.core.responses
+ .ListComputeHostsResponse.builder()
+ .__httpStatusCode__(rawResponse.getStatus())
+ .headers(headers);
+
+ builder.computeHostCollection(response.getItem());
+
+ 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));
+ }
+
+ 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.core.responses.ListComputeHostsResponse
+ responseWrapper = builder.build();
+
+ ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse);
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/UpdateComputeGpuMemoryClusterConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/UpdateComputeGpuMemoryClusterConverter.java
new file mode 100644
index 0000000000..107824dcb6
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/UpdateComputeGpuMemoryClusterConverter.java
@@ -0,0 +1,173 @@
+/**
+ * Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.core.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.core.model.*;
+import com.oracle.bmc.core.requests.*;
+import com.oracle.bmc.core.responses.*;
+import com.oracle.bmc.util.internal.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+public class UpdateComputeGpuMemoryClusterConverter {
+ 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(UpdateComputeGpuMemoryClusterConverter.class);
+
+ public static com.oracle.bmc.core.requests.UpdateComputeGpuMemoryClusterRequest
+ interceptRequest(
+ com.oracle.bmc.core.requests.UpdateComputeGpuMemoryClusterRequest request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.core.requests.UpdateComputeGpuMemoryClusterRequest request) {
+ Validate.notNull(request, "request instance is required");
+ Validate.notBlank(
+ request.getComputeGpuMemoryClusterId(),
+ "computeGpuMemoryClusterId must not be blank");
+ Validate.notNull(
+ request.getUpdateComputeGpuMemoryClusterDetails(),
+ "updateComputeGpuMemoryClusterDetails is required");
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget()
+ .path("/20160918")
+ .path("computeGpuMemoryClusters")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getComputeGpuMemoryClusterId()));
+
+ 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.core.responses.UpdateComputeGpuMemoryClusterResponse>
+ fromResponse() {
+ return fromResponse(java.util.Optional.empty());
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.core.responses.UpdateComputeGpuMemoryClusterResponse>
+ fromResponse(java.util.Optional serviceDetails) {
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.core.responses.UpdateComputeGpuMemoryClusterResponse>
+ transformer =
+ new java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.core.responses
+ .UpdateComputeGpuMemoryClusterResponse>() {
+ @Override
+ public com.oracle.bmc.core.responses
+ .UpdateComputeGpuMemoryClusterResponse
+ apply(javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.core.responses.UpdateComputeGpuMemoryClusterResponse");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.core.model
+ .ComputeGpuMemoryCluster>>
+ responseFn;
+ if (serviceDetails.isPresent()) {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.core.model
+ .ComputeGpuMemoryCluster
+ .class,
+ serviceDetails.get());
+ } else {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.core.model
+ .ComputeGpuMemoryCluster
+ .class);
+ }
+
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.core.model.ComputeGpuMemoryCluster>
+ response = responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ com.oracle.bmc.core.responses.UpdateComputeGpuMemoryClusterResponse
+ .Builder
+ builder =
+ com.oracle.bmc.core.responses
+ .UpdateComputeGpuMemoryClusterResponse
+ .builder()
+ .__httpStatusCode__(rawResponse.getStatus())
+ .headers(headers);
+
+ builder.computeGpuMemoryCluster(response.getItem());
+
+ 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));
+ }
+
+ 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