getResponseErrorModelType() {
+ return ResponseHelper.ErrorCodeAndMessage.class;
+ }
+
+ @Override
+ public BmcException createRuntimeException(
+ int statusCode,
+ String opcRequestId,
+ ErrorCodeAndMessage errorResponse,
+ ServiceDetails serviceDetails) {
+ return new BmcException(
+ statusCode,
+ errorResponse.getCode(),
+ errorResponse.getMessage(),
+ opcRequestId,
+ serviceDetails,
+ errorResponse.getOriginalMessage(),
+ errorResponse.getOriginalMessageTemplate(),
+ errorResponse.getMessageArguments());
+ }
+
+ @Override
+ public BmcException createRuntimeException(
+ int statusCode,
+ String serviceCode,
+ String message,
+ String opcRequestId,
+ ServiceDetails serviceDetails) {
+ return new BmcException(statusCode, serviceCode, message, opcRequestId, serviceDetails);
+ }
+
+ @Override
+ public BmcException createRuntimeException(
+ int statusCode,
+ String serviceCode,
+ String message,
+ String opcRequestId,
+ Throwable cause,
+ ServiceDetails serviceDetails) {
+ return new BmcException(
+ statusCode, serviceCode, message, opcRequestId, cause, serviceDetails);
+ }
+}
diff --git a/bmc-common/src/main/java/com/oracle/bmc/http/internal/ResponseErrorRuntimeExceptionFactory.java b/bmc-common/src/main/java/com/oracle/bmc/http/internal/ResponseErrorRuntimeExceptionFactory.java
new file mode 100644
index 00000000000..1cf827603db
--- /dev/null
+++ b/bmc-common/src/main/java/com/oracle/bmc/http/internal/ResponseErrorRuntimeExceptionFactory.java
@@ -0,0 +1,50 @@
+/**
+ * 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.http.internal;
+
+import com.oracle.bmc.ServiceDetails;
+import com.oracle.bmc.model.SdkRuntimeException;
+
+/**
+ * Factory interface that defines the model type of a response error (used for deserializing a
+ * response error), as well as how to create a SdkRuntimeException
that allows access
+ * to that deserialized error.
+ *
+ * This factory allows client code to inject their own error handling code, complete with their
+ * own error model and SdkRuntimeException
implementation to pass on that information
+ * in the deserialized response.
+ *
+ * @param The model type that represents the model in the response error.
+ * @param A {@link SdkRuntimeException} to be created by the "create exception" methods.
+ */
+public interface ResponseErrorRuntimeExceptionFactory {
+
+ /**
+ * @return a Class that represents the type of model in the response error, which can be used to
+ * deserialize the response content.
+ */
+ public Class getResponseErrorModelType();
+
+ public E createRuntimeException(
+ int statusCode,
+ String opcRequestId,
+ ERRMODEL errorResponse,
+ ServiceDetails serviceDetails);
+
+ public E createRuntimeException(
+ int statusCode,
+ String serviceCode,
+ String message,
+ String opcRequestId,
+ ServiceDetails serviceDetails);
+
+ public E createRuntimeException(
+ int statusCode,
+ String serviceCode,
+ String message,
+ String opcRequestId,
+ Throwable cause,
+ ServiceDetails serviceDetails);
+}
diff --git a/bmc-common/src/main/java/com/oracle/bmc/model/BmcException.java b/bmc-common/src/main/java/com/oracle/bmc/model/BmcException.java
index a522993e54c..f260ab80811 100644
--- a/bmc-common/src/main/java/com/oracle/bmc/model/BmcException.java
+++ b/bmc-common/src/main/java/com/oracle/bmc/model/BmcException.java
@@ -12,7 +12,7 @@
import java.util.Date;
import java.util.Map;
-public class BmcException extends RuntimeException {
+public class BmcException extends SdkRuntimeException {
/** Name of the header that contains the request id. */
public static final String OPC_REQUEST_ID_HEADER = "opc-request-id";
diff --git a/bmc-common/src/main/java/com/oracle/bmc/model/SdkRuntimeException.java b/bmc-common/src/main/java/com/oracle/bmc/model/SdkRuntimeException.java
new file mode 100644
index 00000000000..8f9b36a26f4
--- /dev/null
+++ b/bmc-common/src/main/java/com/oracle/bmc/model/SdkRuntimeException.java
@@ -0,0 +1,36 @@
+/**
+ * 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.model;
+
+/**
+ * Parent class of {@link BmcException}, as well as any {@link RuntimeException} that is defined for
+ * use by the {@link ResponseErrorRuntimeExceptionFactory} injected into {@link ClientCall}.
+ */
+public class SdkRuntimeException extends RuntimeException {
+
+ public SdkRuntimeException() {
+ super();
+ }
+
+ public SdkRuntimeException(
+ String message,
+ Throwable cause,
+ boolean enableSuppression,
+ boolean writableStackTrace) {
+ super(message, cause, enableSuppression, writableStackTrace);
+ }
+
+ public SdkRuntimeException(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public SdkRuntimeException(String message) {
+ super(message);
+ }
+
+ public SdkRuntimeException(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/bmc-common/src/main/resources/com/oracle/bmc/sdk.properties b/bmc-common/src/main/resources/com/oracle/bmc/sdk.properties
index 4337a2c82ca..249960f5a28 100644
--- a/bmc-common/src/main/resources/com/oracle/bmc/sdk.properties
+++ b/bmc-common/src/main/resources/com/oracle/bmc/sdk.properties
@@ -7,5 +7,5 @@ sdk.version = ${pom.version}
# Clients generated using a codegen version between the minimum and maximum
# expressed below are compatible with the version of oci-java-sdk-common in this module.
-java.minimum.client.codegen.version = 2.100
+java.minimum.client.codegen.version = 2.113
java.maximum.client.codegen.version = ${oci.codegen.version}
diff --git a/bmc-common/src/test/java/com/oracle/bmc/auth/SessionTokenAuthTest.java b/bmc-common/src/test/java/com/oracle/bmc/auth/SessionTokenAuthTest.java
index 3f9ea918031..8893db1307c 100644
--- a/bmc-common/src/test/java/com/oracle/bmc/auth/SessionTokenAuthTest.java
+++ b/bmc-common/src/test/java/com/oracle/bmc/auth/SessionTokenAuthTest.java
@@ -8,12 +8,15 @@
import org.junit.Test;
-import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileWriter;
import java.io.IOException;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertTrue;
public class SessionTokenAuthTest {
final String CONFIG_FILE_PATH = "src/test/resources/unit_test_session_token_config";
@@ -23,6 +26,7 @@ public class SessionTokenAuthTest {
final String TOKEN_EXISTS_PROFILE = "TOKENEXISTS";
final String SESSION_TOKEN = "thisisasessiontoken";
final String NEW_SESSION_TOKEN = "this is a new session token!";
+ final String AUTHORIZATION_HEADER_KEY = "authorization";
@Test(expected = NullPointerException.class)
public void testSessionTokenNoPathProvided() throws IOException {
@@ -65,6 +69,44 @@ public void testSessionTokenRefresh() throws IOException {
assertEquals(provider.getKeyId(), "ST$" + NEW_SESSION_TOKEN);
}
+ @Test
+ public void testSessionTokenRefreshPropogatesToSigner() throws IOException {
+ com.oracle.bmc.Service testService =
+ com.oracle.bmc.Services.serviceBuilder()
+ .serviceName("SessionAuthTestService")
+ .serviceEndpointTemplate("https://test-service.test")
+ .build();
+ final ConfigFileReader.ConfigFile configFile =
+ ConfigFileReader.parse(CONFIG_FILE_PATH, TOKEN_EXISTS_PROFILE);
+ writeToSessionTokenFile(SESSION_TOKEN);
+ final SessionTokenAuthenticationDetailsProvider provider =
+ new SessionTokenAuthenticationDetailsProvider(configFile);
+ final com.oracle.bmc.http.signing.internal.DefaultRequestSignerFactory signerFactory =
+ new com.oracle.bmc.http.signing.internal.DefaultRequestSignerFactory(
+ com.oracle.bmc.http.signing.SigningStrategy.STANDARD);
+ final com.oracle.bmc.http.signing.RequestSigner requestSignerImpl =
+ signerFactory.createRequestSigner(testService, provider);
+ final Map headers =
+ requestSignerImpl.signRequest(
+ java.net.URI.create(testService.getServiceEndpointTemplate()),
+ javax.ws.rs.HttpMethod.GET,
+ new HashMap>(),
+ null);
+ // Check if the authorization header contains the old token
+ assertTrue(headers.get(AUTHORIZATION_HEADER_KEY).contains(SESSION_TOKEN));
+
+ writeToSessionTokenFile(NEW_SESSION_TOKEN);
+ assertEquals(provider.refresh(), NEW_SESSION_TOKEN);
+ final Map newHeaders =
+ requestSignerImpl.signRequest(
+ java.net.URI.create(testService.getServiceEndpointTemplate()),
+ javax.ws.rs.HttpMethod.GET,
+ new HashMap>(),
+ null);
+ // Check if the authorization header contains the new token
+ assertTrue(newHeaders.get(AUTHORIZATION_HEADER_KEY).contains(NEW_SESSION_TOKEN));
+ }
+
private void writeToSessionTokenFile(String token) throws IOException {
// Write to & close file.
FileWriter writer = new FileWriter(TOKEN_FILE_PATH);
diff --git a/bmc-common/src/test/java/com/oracle/bmc/http/internal/BaseClientTest.java b/bmc-common/src/test/java/com/oracle/bmc/http/internal/BaseClientTest.java
index 40ee426c9c2..4d7603248b3 100644
--- a/bmc-common/src/test/java/com/oracle/bmc/http/internal/BaseClientTest.java
+++ b/bmc-common/src/test/java/com/oracle/bmc/http/internal/BaseClientTest.java
@@ -4,67 +4,43 @@
*/
package com.oracle.bmc.http.internal;
-import com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider;
import com.oracle.bmc.auth.BasicAuthenticationDetailsProvider;
-import com.oracle.bmc.auth.InstancePrincipalsAuthenticationDetailsProvider;
-import com.oracle.bmc.auth.ResourcePrincipalAuthenticationDetailsProvider;
import com.oracle.bmc.common.InternalBuilderAccess;
-import com.oracle.bmc.http.client.HttpClient;
import com.oracle.bmc.http.client.HttpProvider;
-import com.oracle.bmc.http.client.HttpRequest;
-import com.oracle.bmc.http.client.HttpResponse;
-import com.oracle.bmc.http.client.Method;
import com.oracle.bmc.http.signing.RequestSigner;
import com.oracle.bmc.http.signing.RequestSignerFactory;
import com.oracle.bmc.http.signing.SigningStrategy;
-import com.oracle.bmc.model.BmcException;
import com.oracle.bmc.util.CircuitBreakerUtils;
-import com.oracle.bmc.util.internal.Validate;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.powermock.api.mockito.PowerMockito;
import org.powermock.core.classloader.annotations.PrepareForTest;
import org.powermock.modules.junit4.PowerMockRunner;
-import org.slf4j.Logger;
-import java.io.InputStream;
-import java.net.URI;
-import java.net.URISyntaxException;
-import java.util.Arrays;
-import java.util.Collections;
import java.util.HashMap;
-import java.util.List;
import java.util.Map;
-import java.util.Objects;
-import java.util.concurrent.CompletableFuture;
-import java.util.concurrent.ExecutionException;
-import java.util.function.Supplier;
-import static org.hamcrest.CoreMatchers.instanceOf;
import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotEquals;
-import static org.junit.Assert.assertThat;
import static org.junit.Assert.assertTrue;
-import static org.junit.Assert.fail;
import static org.mockito.Matchers.any;
-import static org.mockito.Mockito.atLeastOnce;
import static org.mockito.Mockito.mock;
-import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
@RunWith(PowerMockRunner.class)
@PrepareForTest({HttpProvider.class, InternalBuilderAccess.class})
public class BaseClientTest {
- @Test
- public void testCloseWithoutEndpoint() {
+
+ private BasicAuthenticationDetailsProvider mockAuthProvider;
+
+ @Before
+ public void setup() {
HttpProvider mockHttpProvider = mock(HttpProvider.class);
PowerMockito.mockStatic(HttpProvider.class);
PowerMockito.when(HttpProvider.getDefault()).thenReturn(mockHttpProvider);
- BasicAuthenticationDetailsProvider mockAuthProvider =
- mock(BasicAuthenticationDetailsProvider.class);
+ mockAuthProvider = mock(BasicAuthenticationDetailsProvider.class);
RequestSigner mockRequestSigner = mock(RequestSigner.class);
@@ -81,11 +57,36 @@ public void testCloseWithoutEndpoint() {
}
PowerMockito.when(InternalBuilderAccess.getSigningStrategyRequestSignerFactories(any()))
.thenReturn(factories);
+ }
+ @Test
+ public void testCloseWithoutEndpoint() {
TestBaseClient client = TestBaseClient.builder().build(mockAuthProvider);
client.close();
}
+ @Test
+ public void testEmptyUpdateBaseEndpoint() {
+ try {
+ TestBaseClient client = TestBaseClient.builder().build(mockAuthProvider);
+ client.updateBaseEndpoint("");
+ } catch (Exception e) {
+ assertTrue(e instanceof IllegalArgumentException);
+ assertEquals("Cannot update the endpoint since it is null or blank.", e.getMessage());
+ }
+ }
+
+ @Test
+ public void testNullUpdateBaseEndpoint() {
+ try {
+ TestBaseClient client = TestBaseClient.builder().build(mockAuthProvider);
+ client.updateBaseEndpoint(null);
+ } catch (Exception e) {
+ assertTrue(e instanceof NullPointerException);
+ assertEquals("Cannot update the endpoint since it is null or blank.", e.getMessage());
+ }
+ }
+
private static class TestBaseClient extends BaseClient {
/** Service instance for ObjectStorage. */
public static final com.oracle.bmc.Service SERVICE =
diff --git a/bmc-common/src/test/java/com/oracle/bmc/http/internal/ClientCallTest.java b/bmc-common/src/test/java/com/oracle/bmc/http/internal/ClientCallTest.java
index 272686b9af1..951fa59e110 100644
--- a/bmc-common/src/test/java/com/oracle/bmc/http/internal/ClientCallTest.java
+++ b/bmc-common/src/test/java/com/oracle/bmc/http/internal/ClientCallTest.java
@@ -4,6 +4,7 @@
*/
package com.oracle.bmc.http.internal;
+import com.oracle.bmc.ServiceDetails;
import com.oracle.bmc.circuitbreaker.CircuitBreakerConfiguration;
import com.oracle.bmc.circuitbreaker.internal.resilience4j.OciCircuitBreakerImpl;
import com.oracle.bmc.http.client.HttpClient;
@@ -11,7 +12,10 @@
import com.oracle.bmc.http.client.HttpResponse;
import com.oracle.bmc.http.client.Method;
import com.oracle.bmc.http.client.Serializer;
+import com.oracle.bmc.http.internal.ClientCallTest.TestErrorModel;
+import com.oracle.bmc.http.internal.ClientCallTest.TestRuntimeSdkException;
import com.oracle.bmc.model.BmcException;
+import com.oracle.bmc.model.SdkRuntimeException;
import com.oracle.bmc.retrier.RetryConfiguration;
import com.oracle.bmc.waiter.MaxAttemptsTerminationStrategy;
@@ -36,6 +40,7 @@
import static org.hamcrest.CoreMatchers.instanceOf;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotEquals;
+import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertThat;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
@@ -375,6 +380,98 @@ public int hashCode() {
}
}
+ public static class TestResponseErrorRuntimeExceptionFactory
+ implements ResponseErrorRuntimeExceptionFactory<
+ TestErrorModel, TestRuntimeSdkException> {
+
+ @Override
+ public Class getResponseErrorModelType() {
+ return TestErrorModel.class;
+ }
+
+ @Override
+ public TestRuntimeSdkException createRuntimeException(
+ int statusCode,
+ String opcRequestId,
+ TestErrorModel errorResponse,
+ ServiceDetails serviceDetails) {
+ return new TestRuntimeSdkException(
+ statusCode, opcRequestId, serviceDetails, errorResponse);
+ }
+
+ @Override
+ public TestRuntimeSdkException createRuntimeException(
+ int statusCode,
+ String serviceCode,
+ String message,
+ String opcRequestId,
+ ServiceDetails serviceDetails) {
+ return new TestRuntimeSdkException(
+ statusCode, opcRequestId, serviceDetails, serviceCode, message);
+ }
+
+ @Override
+ public TestRuntimeSdkException createRuntimeException(
+ int statusCode,
+ String serviceCode,
+ String message,
+ String opcRequestId,
+ Throwable cause,
+ ServiceDetails serviceDetails) {
+ return new TestRuntimeSdkException(
+ statusCode, opcRequestId, serviceDetails, serviceCode, message, cause);
+ }
+ }
+
+ public static class TestRuntimeSdkException extends SdkRuntimeException {
+ private int statusCode;
+ private String errorCode;
+ private String opcRequestId;
+ private ServiceDetails serviceDetails;
+ private TestErrorModel error;
+
+ public TestRuntimeSdkException(
+ int statusCode,
+ String opcRequestId,
+ ServiceDetails serviceDetails,
+ String errorCode,
+ String errorMessage) {
+ this(statusCode, opcRequestId, serviceDetails, errorCode, errorMessage, null);
+ }
+
+ public TestRuntimeSdkException(
+ int statusCode,
+ String opcRequestId,
+ ServiceDetails serviceDetails,
+ String errorCode,
+ String errorMessage,
+ Throwable cause) {
+ super(errorMessage, cause);
+ this.statusCode = statusCode;
+ this.opcRequestId = opcRequestId;
+ this.serviceDetails = serviceDetails;
+ this.errorCode = errorCode;
+ }
+
+ public TestRuntimeSdkException(
+ int statusCode,
+ String opcRequestId,
+ ServiceDetails serviceDetails,
+ TestErrorModel error) {
+ super(error.errorMessage);
+ this.statusCode = statusCode;
+ this.opcRequestId = opcRequestId;
+ this.serviceDetails = serviceDetails;
+ this.errorCode = error.errorCode;
+ this.error = error;
+ }
+ }
+
+ public static class TestErrorModel {
+ private String errorCode;
+ private String errorMessage;
+ }
+
public static class TestResponseHelper {
private static final String OPC_REQUEST_ID = "DummyOPCRequestID";
private static final String JSON_MEDIA_TYPE = "application/json";
@@ -527,6 +624,36 @@ public void test_throwIfNotSuccessful_InValidJsonResponseExtendedForPartialLocal
}
}
+ @Test
+ public void test_throwIfNotSuccessful_CustomRuntimeExceptionFactory() {
+ TestErrorModel tem = new TestErrorModel();
+ tem.errorCode = "TestErrorModel_errorCode";
+ tem.errorMessage = "TestErrorModel_errorMessage";
+
+ when(mockResponse.body(TestErrorModel.class))
+ .thenReturn(CompletableFuture.completedFuture(tem));
+
+ when(mockResponse.status()).thenReturn(BAD_GATEWAY_STATUS);
+ when(mockResponse.header("content-type")).thenReturn(JSON_MEDIA_TYPE);
+ try {
+ ClientCall.builder(mockClient, new ClientCallTest.TestRequest(), responseBuilder)
+ .logger(mockLogger, "mockLogger")
+ .method(Method.GET)
+ // Inject the custom exception factory
+ .responseErrorExceptionFactory(
+ new TestResponseErrorRuntimeExceptionFactory())
+ .callSync();
+ fail("Expected to throw");
+ } catch (TestRuntimeSdkException e) {
+ // expected
+ assertEquals(BAD_GATEWAY_STATUS, e.statusCode);
+ assertEquals(tem.errorMessage, e.getMessage());
+ assertEquals(tem.errorCode, e.errorCode);
+ assertEquals(OPC_REQUEST_ID, e.opcRequestId);
+ assertNotNull(e.serviceDetails);
+ }
+ }
+
@Test
public void test_throwIfNotSuccessful_InvalidJsonResponse() {
ecm =
diff --git a/bmc-common/src/test/resources/unit_test_session_token_config b/bmc-common/src/test/resources/unit_test_session_token_config
index e909c3a657f..5ccc4622a54 100644
--- a/bmc-common/src/test/resources/unit_test_session_token_config
+++ b/bmc-common/src/test/resources/unit_test_session_token_config
@@ -15,5 +15,5 @@ security_token_file=src/test/resources/token
fingerprint=fingerprint
tenancy=tenancy
user=user
-key_file=key_file
+key_file=src/test/resources/pkcs1_private_key.pem
security_token_file=src/test/resources/unit_test_token
\ No newline at end of file
diff --git a/bmc-computecloudatcustomer/pom.xml b/bmc-computecloudatcustomer/pom.xml
index 56ec96e9573..819dbf89023 100644
--- a/bmc-computecloudatcustomer/pom.xml
+++ b/bmc-computecloudatcustomer/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.54.0
+ 3.55.0
../pom.xml
oci-java-sdk-computecloudatcustomer
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.54.0
+ 3.55.0
\ No newline at end of file
diff --git a/bmc-computecloudatcustomer/src/main/resources/com/oracle/bmc/computecloudatcustomer/client.properties b/bmc-computecloudatcustomer/src/main/resources/com/oracle/bmc/computecloudatcustomer/client.properties
index 90e87d3c29c..3a849c3b8b6 100644
--- a/bmc-computecloudatcustomer/src/main/resources/com/oracle/bmc/computecloudatcustomer/client.properties
+++ b/bmc-computecloudatcustomer/src/main/resources/com/oracle/bmc/computecloudatcustomer/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.104
+java.client.codegen.version = 2.113
java.minimum.client.codegen.version.from.client = 2.100
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20221208")
\ No newline at end of file
diff --git a/bmc-computeinstanceagent/pom.xml b/bmc-computeinstanceagent/pom.xml
index 75de3e654bd..712889e8040 100644
--- a/bmc-computeinstanceagent/pom.xml
+++ b/bmc-computeinstanceagent/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.54.0
+ 3.55.0
../pom.xml
oci-java-sdk-computeinstanceagent
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.54.0
+ 3.55.0
diff --git a/bmc-computeinstanceagent/src/main/resources/com/oracle/bmc/computeinstanceagent/client.properties b/bmc-computeinstanceagent/src/main/resources/com/oracle/bmc/computeinstanceagent/client.properties
index 93d53541f3c..7fa51ff7d40 100644
--- a/bmc-computeinstanceagent/src/main/resources/com/oracle/bmc/computeinstanceagent/client.properties
+++ b/bmc-computeinstanceagent/src/main/resources/com/oracle/bmc/computeinstanceagent/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.104
+java.client.codegen.version = 2.113
java.minimum.client.codegen.version.from.client = 2.100
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20180530")
\ No newline at end of file
diff --git a/bmc-containerengine/pom.xml b/bmc-containerengine/pom.xml
index 8a1ac3426d3..1a8a79e7ae1 100644
--- a/bmc-containerengine/pom.xml
+++ b/bmc-containerengine/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.54.0
+ 3.55.0
../pom.xml
@@ -18,7 +18,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.54.0
+ 3.55.0
diff --git a/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/ContainerEngineAsyncClient.java b/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/ContainerEngineAsyncClient.java
index e6b497a7abc..9f02a0dc556 100644
--- a/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/ContainerEngineAsyncClient.java
+++ b/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/ContainerEngineAsyncClient.java
@@ -137,7 +137,10 @@ public java.util.concurrent.Future clusterMig
return clientCall(request, ClusterMigrateToNativeVcnResponse::builder)
.logger(LOG, "clusterMigrateToNativeVcn")
- .serviceDetails("ContainerEngine", "ClusterMigrateToNativeVcn", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "ClusterMigrateToNativeVcn",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/ClusterMigrateToNativeVcn")
.method(com.oracle.bmc.http.client.Method.POST)
.requestBuilder(ClusterMigrateToNativeVcnRequest::builder)
.basePath("/20180222")
@@ -170,7 +173,10 @@ public java.util.concurrent.Future clusterMig
return clientCall(request, CompleteCredentialRotationResponse::builder)
.logger(LOG, "completeCredentialRotation")
- .serviceDetails("ContainerEngine", "CompleteCredentialRotation", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "CompleteCredentialRotation",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/CompleteCredentialRotation")
.method(com.oracle.bmc.http.client.Method.POST)
.requestBuilder(CompleteCredentialRotationRequest::builder)
.basePath("/20180222")
@@ -200,7 +206,10 @@ public java.util.concurrent.Future createCluster(
return clientCall(request, CreateClusterResponse::builder)
.logger(LOG, "createCluster")
- .serviceDetails("ContainerEngine", "CreateCluster", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "CreateCluster",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/CreateCluster")
.method(com.oracle.bmc.http.client.Method.POST)
.requestBuilder(CreateClusterRequest::builder)
.basePath("/20180222")
@@ -227,7 +236,10 @@ public java.util.concurrent.Future createKubeconfig(
return clientCall(request, CreateKubeconfigResponse::builder)
.logger(LOG, "createKubeconfig")
- .serviceDetails("ContainerEngine", "CreateKubeconfig", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "CreateKubeconfig",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/CreateKubeconfig")
.method(com.oracle.bmc.http.client.Method.POST)
.requestBuilder(CreateKubeconfigRequest::builder)
.basePath("/20180222")
@@ -256,7 +268,10 @@ public java.util.concurrent.Future createNodePool(
return clientCall(request, CreateNodePoolResponse::builder)
.logger(LOG, "createNodePool")
- .serviceDetails("ContainerEngine", "CreateNodePool", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "CreateNodePool",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/NodePool/CreateNodePool")
.method(com.oracle.bmc.http.client.Method.POST)
.requestBuilder(CreateNodePoolRequest::builder)
.basePath("/20180222")
@@ -284,7 +299,10 @@ public java.util.concurrent.Future createVirtualN
return clientCall(request, CreateVirtualNodePoolResponse::builder)
.logger(LOG, "createVirtualNodePool")
- .serviceDetails("ContainerEngine", "CreateVirtualNodePool", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "CreateVirtualNodePool",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/VirtualNodePool/CreateVirtualNodePool")
.method(com.oracle.bmc.http.client.Method.POST)
.requestBuilder(CreateVirtualNodePoolRequest::builder)
.basePath("/20180222")
@@ -315,7 +333,10 @@ public java.util.concurrent.Future createWorkload
return clientCall(request, CreateWorkloadMappingResponse::builder)
.logger(LOG, "createWorkloadMapping")
- .serviceDetails("ContainerEngine", "CreateWorkloadMapping", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "CreateWorkloadMapping",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/WorkloadMapping/CreateWorkloadMapping")
.method(com.oracle.bmc.http.client.Method.POST)
.requestBuilder(CreateWorkloadMappingRequest::builder)
.basePath("/20180222")
@@ -345,7 +366,10 @@ public java.util.concurrent.Future deleteCluster(
return clientCall(request, DeleteClusterResponse::builder)
.logger(LOG, "deleteCluster")
- .serviceDetails("ContainerEngine", "DeleteCluster", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "DeleteCluster",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/DeleteCluster")
.method(com.oracle.bmc.http.client.Method.DELETE)
.requestBuilder(DeleteClusterRequest::builder)
.basePath("/20180222")
@@ -373,7 +397,10 @@ public java.util.concurrent.Future deleteNode(
return clientCall(request, DeleteNodeResponse::builder)
.logger(LOG, "deleteNode")
- .serviceDetails("ContainerEngine", "DeleteNode", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "DeleteNode",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/NodePool/DeleteNode")
.method(com.oracle.bmc.http.client.Method.DELETE)
.requestBuilder(DeleteNodeRequest::builder)
.basePath("/20180222")
@@ -408,7 +435,10 @@ public java.util.concurrent.Future deleteNodePool(
return clientCall(request, DeleteNodePoolResponse::builder)
.logger(LOG, "deleteNodePool")
- .serviceDetails("ContainerEngine", "DeleteNodePool", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "DeleteNodePool",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/NodePool/DeleteNodePool")
.method(com.oracle.bmc.http.client.Method.DELETE)
.requestBuilder(DeleteNodePoolRequest::builder)
.basePath("/20180222")
@@ -440,7 +470,10 @@ public java.util.concurrent.Future deleteVirtualN
return clientCall(request, DeleteVirtualNodePoolResponse::builder)
.logger(LOG, "deleteVirtualNodePool")
- .serviceDetails("ContainerEngine", "DeleteVirtualNodePool", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "DeleteVirtualNodePool",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/VirtualNodePool/DeleteVirtualNodePool")
.method(com.oracle.bmc.http.client.Method.DELETE)
.requestBuilder(DeleteVirtualNodePoolRequest::builder)
.basePath("/20180222")
@@ -474,7 +507,10 @@ public java.util.concurrent.Future deleteWorkRequest(
return clientCall(request, DeleteWorkRequestResponse::builder)
.logger(LOG, "deleteWorkRequest")
- .serviceDetails("ContainerEngine", "DeleteWorkRequest", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "DeleteWorkRequest",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/WorkRequest/DeleteWorkRequest")
.method(com.oracle.bmc.http.client.Method.DELETE)
.requestBuilder(DeleteWorkRequestRequest::builder)
.basePath("/20180222")
@@ -501,7 +537,10 @@ public java.util.concurrent.Future deleteWorkload
return clientCall(request, DeleteWorkloadMappingResponse::builder)
.logger(LOG, "deleteWorkloadMapping")
- .serviceDetails("ContainerEngine", "DeleteWorkloadMapping", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "DeleteWorkloadMapping",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/WorkloadMapping/DeleteWorkloadMapping")
.method(com.oracle.bmc.http.client.Method.DELETE)
.requestBuilder(DeleteWorkloadMappingRequest::builder)
.basePath("/20180222")
@@ -531,7 +570,10 @@ public java.util.concurrent.Future disableAddon(
return clientCall(request, DisableAddonResponse::builder)
.logger(LOG, "disableAddon")
- .serviceDetails("ContainerEngine", "DisableAddon", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "DisableAddon",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/DisableAddon")
.method(com.oracle.bmc.http.client.Method.DELETE)
.requestBuilder(DisableAddonRequest::builder)
.basePath("/20180222")
@@ -562,7 +604,10 @@ public java.util.concurrent.Future getAddon(
return clientCall(request, GetAddonResponse::builder)
.logger(LOG, "getAddon")
- .serviceDetails("ContainerEngine", "GetAddon", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "GetAddon",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/GetAddon")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(GetAddonRequest::builder)
.basePath("/20180222")
@@ -591,7 +636,10 @@ public java.util.concurrent.Future getCluster(
return clientCall(request, GetClusterResponse::builder)
.logger(LOG, "getCluster")
- .serviceDetails("ContainerEngine", "GetCluster", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "GetCluster",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/GetCluster")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(GetClusterRequest::builder)
.basePath("/20180222")
@@ -621,7 +669,10 @@ public java.util.concurrent.Future getCluster(
return clientCall(request, GetClusterMigrateToNativeVcnStatusResponse::builder)
.logger(LOG, "getClusterMigrateToNativeVcnStatus")
- .serviceDetails("ContainerEngine", "GetClusterMigrateToNativeVcnStatus", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "GetClusterMigrateToNativeVcnStatus",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/ClusterMigrateToNativeVcnStatus/GetClusterMigrateToNativeVcnStatus")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(GetClusterMigrateToNativeVcnStatusRequest::builder)
.basePath("/20180222")
@@ -653,7 +704,10 @@ public java.util.concurrent.Future getClusterOptions(
return clientCall(request, GetClusterOptionsResponse::builder)
.logger(LOG, "getClusterOptions")
- .serviceDetails("ContainerEngine", "GetClusterOptions", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "GetClusterOptions",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/ClusterOptions/GetClusterOptions")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(GetClusterOptionsRequest::builder)
.basePath("/20180222")
@@ -683,7 +737,10 @@ public java.util.concurrent.Future getClusterOptions(
return clientCall(request, GetCredentialRotationStatusResponse::builder)
.logger(LOG, "getCredentialRotationStatus")
- .serviceDetails("ContainerEngine", "GetCredentialRotationStatus", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "GetCredentialRotationStatus",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/CredentialRotationStatus/GetCredentialRotationStatus")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(GetCredentialRotationStatusRequest::builder)
.basePath("/20180222")
@@ -712,7 +769,10 @@ public java.util.concurrent.Future getNodePool(
return clientCall(request, GetNodePoolResponse::builder)
.logger(LOG, "getNodePool")
- .serviceDetails("ContainerEngine", "GetNodePool", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "GetNodePool",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/NodePool/GetNodePool")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(GetNodePoolRequest::builder)
.basePath("/20180222")
@@ -740,7 +800,10 @@ public java.util.concurrent.Future getNodePoolOption
return clientCall(request, GetNodePoolOptionsResponse::builder)
.logger(LOG, "getNodePoolOptions")
- .serviceDetails("ContainerEngine", "GetNodePoolOptions", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "GetNodePoolOptions",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/NodePoolOptions/GetNodePoolOptions")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(GetNodePoolOptionsRequest::builder)
.basePath("/20180222")
@@ -770,7 +833,10 @@ public java.util.concurrent.Future getVirtualNode(
return clientCall(request, GetVirtualNodeResponse::builder)
.logger(LOG, "getVirtualNode")
- .serviceDetails("ContainerEngine", "GetVirtualNode", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "GetVirtualNode",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/VirtualNodePool/GetVirtualNode")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(GetVirtualNodeRequest::builder)
.basePath("/20180222")
@@ -800,7 +866,10 @@ public java.util.concurrent.Future getVirtualNodePoo
return clientCall(request, GetVirtualNodePoolResponse::builder)
.logger(LOG, "getVirtualNodePool")
- .serviceDetails("ContainerEngine", "GetVirtualNodePool", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "GetVirtualNodePool",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/VirtualNodePool/GetVirtualNodePool")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(GetVirtualNodePoolRequest::builder)
.basePath("/20180222")
@@ -828,7 +897,10 @@ public java.util.concurrent.Future getWorkRequest(
return clientCall(request, GetWorkRequestResponse::builder)
.logger(LOG, "getWorkRequest")
- .serviceDetails("ContainerEngine", "GetWorkRequest", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "GetWorkRequest",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/WorkRequest/GetWorkRequest")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(GetWorkRequestRequest::builder)
.basePath("/20180222")
@@ -860,7 +932,10 @@ public java.util.concurrent.Future getWorkloadMappin
return clientCall(request, GetWorkloadMappingResponse::builder)
.logger(LOG, "getWorkloadMapping")
- .serviceDetails("ContainerEngine", "GetWorkloadMapping", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "GetWorkloadMapping",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/WorkloadMapping/GetWorkloadMapping")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(GetWorkloadMappingRequest::builder)
.basePath("/20180222")
@@ -890,7 +965,10 @@ public java.util.concurrent.Future installAddon(
return clientCall(request, InstallAddonResponse::builder)
.logger(LOG, "installAddon")
- .serviceDetails("ContainerEngine", "InstallAddon", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "InstallAddon",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/InstallAddon")
.method(com.oracle.bmc.http.client.Method.POST)
.requestBuilder(InstallAddonRequest::builder)
.basePath("/20180222")
@@ -919,7 +997,10 @@ public java.util.concurrent.Future listAddonOptions(
return clientCall(request, ListAddonOptionsResponse::builder)
.logger(LOG, "listAddonOptions")
- .serviceDetails("ContainerEngine", "ListAddonOptions", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "ListAddonOptions",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/AddonOptionSummary/ListAddonOptions")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(ListAddonOptionsRequest::builder)
.basePath("/20180222")
@@ -952,7 +1033,10 @@ public java.util.concurrent.Future listAddons(
return clientCall(request, ListAddonsResponse::builder)
.logger(LOG, "listAddons")
- .serviceDetails("ContainerEngine", "ListAddons", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "ListAddons",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/ListAddons")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(ListAddonsRequest::builder)
.basePath("/20180222")
@@ -984,7 +1068,10 @@ public java.util.concurrent.Future listClusters(
return clientCall(request, ListClustersResponse::builder)
.logger(LOG, "listClusters")
- .serviceDetails("ContainerEngine", "ListClusters", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "ListClusters",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/ClusterSummary/ListClusters")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(ListClustersRequest::builder)
.basePath("/20180222")
@@ -1020,7 +1107,10 @@ public java.util.concurrent.Future listNodePools(
return clientCall(request, ListNodePoolsResponse::builder)
.logger(LOG, "listNodePools")
- .serviceDetails("ContainerEngine", "ListNodePools", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "ListNodePools",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/NodePoolSummary/ListNodePools")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(ListNodePoolsRequest::builder)
.basePath("/20180222")
@@ -1057,7 +1147,10 @@ public java.util.concurrent.Future listPodShapes(
return clientCall(request, ListPodShapesResponse::builder)
.logger(LOG, "listPodShapes")
- .serviceDetails("ContainerEngine", "ListPodShapes", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "ListPodShapes",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/PodShapeSummary/ListPodShapes")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(ListPodShapesRequest::builder)
.basePath("/20180222")
@@ -1091,7 +1184,10 @@ public java.util.concurrent.Future listVirtualNode
return clientCall(request, ListVirtualNodePoolsResponse::builder)
.logger(LOG, "listVirtualNodePools")
- .serviceDetails("ContainerEngine", "ListVirtualNodePools", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "ListVirtualNodePools",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/VirtualNodePoolSummary/ListVirtualNodePools")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(ListVirtualNodePoolsRequest::builder)
.basePath("/20180222")
@@ -1130,7 +1226,10 @@ public java.util.concurrent.Future listVirtualNodes(
return clientCall(request, ListVirtualNodesResponse::builder)
.logger(LOG, "listVirtualNodes")
- .serviceDetails("ContainerEngine", "ListVirtualNodes", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "ListVirtualNodes",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/VirtualNodePool/ListVirtualNodes")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(ListVirtualNodesRequest::builder)
.basePath("/20180222")
@@ -1166,7 +1265,10 @@ public java.util.concurrent.Future listWorkReques
return clientCall(request, ListWorkRequestErrorsResponse::builder)
.logger(LOG, "listWorkRequestErrors")
- .serviceDetails("ContainerEngine", "ListWorkRequestErrors", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "ListWorkRequestErrors",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/WorkRequestError/ListWorkRequestErrors")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(ListWorkRequestErrorsRequest::builder)
.basePath("/20180222")
@@ -1196,7 +1298,10 @@ public java.util.concurrent.Future listWorkRequestL
return clientCall(request, ListWorkRequestLogsResponse::builder)
.logger(LOG, "listWorkRequestLogs")
- .serviceDetails("ContainerEngine", "ListWorkRequestLogs", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "ListWorkRequestLogs",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/WorkRequestLogEntry/ListWorkRequestLogs")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(ListWorkRequestLogsRequest::builder)
.basePath("/20180222")
@@ -1224,7 +1329,10 @@ public java.util.concurrent.Future listWorkRequests(
return clientCall(request, ListWorkRequestsResponse::builder)
.logger(LOG, "listWorkRequests")
- .serviceDetails("ContainerEngine", "ListWorkRequests", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "ListWorkRequests",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/WorkRequestSummary/ListWorkRequests")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(ListWorkRequestsRequest::builder)
.basePath("/20180222")
@@ -1264,7 +1372,10 @@ public java.util.concurrent.Future listWorkloadMap
return clientCall(request, ListWorkloadMappingsResponse::builder)
.logger(LOG, "listWorkloadMappings")
- .serviceDetails("ContainerEngine", "ListWorkloadMappings", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "ListWorkloadMappings",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/WorkloadMapping/ListWorkloadMappings")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(ListWorkloadMappingsRequest::builder)
.basePath("/20180222")
@@ -1301,7 +1412,10 @@ public java.util.concurrent.Future startCredent
return clientCall(request, StartCredentialRotationResponse::builder)
.logger(LOG, "startCredentialRotation")
- .serviceDetails("ContainerEngine", "StartCredentialRotation", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "StartCredentialRotation",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/StartCredentialRotation")
.method(com.oracle.bmc.http.client.Method.POST)
.requestBuilder(StartCredentialRotationRequest::builder)
.basePath("/20180222")
@@ -1335,7 +1449,10 @@ public java.util.concurrent.Future updateAddon(
return clientCall(request, UpdateAddonResponse::builder)
.logger(LOG, "updateAddon")
- .serviceDetails("ContainerEngine", "UpdateAddon", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "UpdateAddon",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/UpdateAddon")
.method(com.oracle.bmc.http.client.Method.PUT)
.requestBuilder(UpdateAddonRequest::builder)
.basePath("/20180222")
@@ -1366,7 +1483,10 @@ public java.util.concurrent.Future updateCluster(
return clientCall(request, UpdateClusterResponse::builder)
.logger(LOG, "updateCluster")
- .serviceDetails("ContainerEngine", "UpdateCluster", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "UpdateCluster",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/UpdateCluster")
.method(com.oracle.bmc.http.client.Method.PUT)
.requestBuilder(UpdateClusterRequest::builder)
.basePath("/20180222")
@@ -1399,7 +1519,10 @@ public java.util.concurrent.Future updateCluster(
return clientCall(request, UpdateClusterEndpointConfigResponse::builder)
.logger(LOG, "updateClusterEndpointConfig")
- .serviceDetails("ContainerEngine", "UpdateClusterEndpointConfig", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "UpdateClusterEndpointConfig",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/UpdateClusterEndpointConfig")
.method(com.oracle.bmc.http.client.Method.POST)
.requestBuilder(UpdateClusterEndpointConfigRequest::builder)
.basePath("/20180222")
@@ -1432,7 +1555,10 @@ public java.util.concurrent.Future updateNodePool(
return clientCall(request, UpdateNodePoolResponse::builder)
.logger(LOG, "updateNodePool")
- .serviceDetails("ContainerEngine", "UpdateNodePool", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "UpdateNodePool",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/NodePool/UpdateNodePool")
.method(com.oracle.bmc.http.client.Method.PUT)
.requestBuilder(UpdateNodePoolRequest::builder)
.basePath("/20180222")
@@ -1468,7 +1594,10 @@ public java.util.concurrent.Future updateVirtualN
return clientCall(request, UpdateVirtualNodePoolResponse::builder)
.logger(LOG, "updateVirtualNodePool")
- .serviceDetails("ContainerEngine", "UpdateVirtualNodePool", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "UpdateVirtualNodePool",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/VirtualNodePool/UpdateVirtualNodePool")
.method(com.oracle.bmc.http.client.Method.PUT)
.requestBuilder(UpdateVirtualNodePoolRequest::builder)
.basePath("/20180222")
@@ -1502,7 +1631,10 @@ public java.util.concurrent.Future updateWorkload
return clientCall(request, UpdateWorkloadMappingResponse::builder)
.logger(LOG, "updateWorkloadMapping")
- .serviceDetails("ContainerEngine", "UpdateWorkloadMapping", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "UpdateWorkloadMapping",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/WorkloadMapping/UpdateWorkloadMapping")
.method(com.oracle.bmc.http.client.Method.PUT)
.requestBuilder(UpdateWorkloadMappingRequest::builder)
.basePath("/20180222")
diff --git a/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/ContainerEngineClient.java b/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/ContainerEngineClient.java
index f7444a48072..e8122b6489a 100644
--- a/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/ContainerEngineClient.java
+++ b/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/ContainerEngineClient.java
@@ -160,7 +160,10 @@ public ClusterMigrateToNativeVcnResponse clusterMigrateToNativeVcn(
return clientCall(request, ClusterMigrateToNativeVcnResponse::builder)
.logger(LOG, "clusterMigrateToNativeVcn")
- .serviceDetails("ContainerEngine", "ClusterMigrateToNativeVcn", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "ClusterMigrateToNativeVcn",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/ClusterMigrateToNativeVcn")
.method(com.oracle.bmc.http.client.Method.POST)
.requestBuilder(ClusterMigrateToNativeVcnRequest::builder)
.basePath("/20180222")
@@ -189,7 +192,10 @@ public CompleteCredentialRotationResponse completeCredentialRotation(
return clientCall(request, CompleteCredentialRotationResponse::builder)
.logger(LOG, "completeCredentialRotation")
- .serviceDetails("ContainerEngine", "CompleteCredentialRotation", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "CompleteCredentialRotation",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/CompleteCredentialRotation")
.method(com.oracle.bmc.http.client.Method.POST)
.requestBuilder(CompleteCredentialRotationRequest::builder)
.basePath("/20180222")
@@ -217,7 +223,10 @@ public CreateClusterResponse createCluster(CreateClusterRequest request) {
return clientCall(request, CreateClusterResponse::builder)
.logger(LOG, "createCluster")
- .serviceDetails("ContainerEngine", "CreateCluster", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "CreateCluster",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/CreateCluster")
.method(com.oracle.bmc.http.client.Method.POST)
.requestBuilder(CreateClusterRequest::builder)
.basePath("/20180222")
@@ -241,7 +250,10 @@ public CreateKubeconfigResponse createKubeconfig(CreateKubeconfigRequest request
return clientCall(request, CreateKubeconfigResponse::builder)
.logger(LOG, "createKubeconfig")
- .serviceDetails("ContainerEngine", "CreateKubeconfig", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "CreateKubeconfig",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/CreateKubeconfig")
.method(com.oracle.bmc.http.client.Method.POST)
.requestBuilder(CreateKubeconfigRequest::builder)
.basePath("/20180222")
@@ -267,7 +279,10 @@ public CreateNodePoolResponse createNodePool(CreateNodePoolRequest request) {
return clientCall(request, CreateNodePoolResponse::builder)
.logger(LOG, "createNodePool")
- .serviceDetails("ContainerEngine", "CreateNodePool", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "CreateNodePool",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/NodePool/CreateNodePool")
.method(com.oracle.bmc.http.client.Method.POST)
.requestBuilder(CreateNodePoolRequest::builder)
.basePath("/20180222")
@@ -293,7 +308,10 @@ public CreateVirtualNodePoolResponse createVirtualNodePool(
return clientCall(request, CreateVirtualNodePoolResponse::builder)
.logger(LOG, "createVirtualNodePool")
- .serviceDetails("ContainerEngine", "CreateVirtualNodePool", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "CreateVirtualNodePool",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/VirtualNodePool/CreateVirtualNodePool")
.method(com.oracle.bmc.http.client.Method.POST)
.requestBuilder(CreateVirtualNodePoolRequest::builder)
.basePath("/20180222")
@@ -322,7 +340,10 @@ public CreateWorkloadMappingResponse createWorkloadMapping(
return clientCall(request, CreateWorkloadMappingResponse::builder)
.logger(LOG, "createWorkloadMapping")
- .serviceDetails("ContainerEngine", "CreateWorkloadMapping", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "CreateWorkloadMapping",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/WorkloadMapping/CreateWorkloadMapping")
.method(com.oracle.bmc.http.client.Method.POST)
.requestBuilder(CreateWorkloadMappingRequest::builder)
.basePath("/20180222")
@@ -350,7 +371,10 @@ public DeleteClusterResponse deleteCluster(DeleteClusterRequest request) {
return clientCall(request, DeleteClusterResponse::builder)
.logger(LOG, "deleteCluster")
- .serviceDetails("ContainerEngine", "DeleteCluster", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "DeleteCluster",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/DeleteCluster")
.method(com.oracle.bmc.http.client.Method.DELETE)
.requestBuilder(DeleteClusterRequest::builder)
.basePath("/20180222")
@@ -376,7 +400,10 @@ public DeleteNodeResponse deleteNode(DeleteNodeRequest request) {
return clientCall(request, DeleteNodeResponse::builder)
.logger(LOG, "deleteNode")
- .serviceDetails("ContainerEngine", "DeleteNode", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "DeleteNode",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/NodePool/DeleteNode")
.method(com.oracle.bmc.http.client.Method.DELETE)
.requestBuilder(DeleteNodeRequest::builder)
.basePath("/20180222")
@@ -408,7 +435,10 @@ public DeleteNodePoolResponse deleteNodePool(DeleteNodePoolRequest request) {
return clientCall(request, DeleteNodePoolResponse::builder)
.logger(LOG, "deleteNodePool")
- .serviceDetails("ContainerEngine", "DeleteNodePool", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "DeleteNodePool",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/NodePool/DeleteNodePool")
.method(com.oracle.bmc.http.client.Method.DELETE)
.requestBuilder(DeleteNodePoolRequest::builder)
.basePath("/20180222")
@@ -438,7 +468,10 @@ public DeleteVirtualNodePoolResponse deleteVirtualNodePool(
return clientCall(request, DeleteVirtualNodePoolResponse::builder)
.logger(LOG, "deleteVirtualNodePool")
- .serviceDetails("ContainerEngine", "DeleteVirtualNodePool", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "DeleteVirtualNodePool",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/VirtualNodePool/DeleteVirtualNodePool")
.method(com.oracle.bmc.http.client.Method.DELETE)
.requestBuilder(DeleteVirtualNodePoolRequest::builder)
.basePath("/20180222")
@@ -469,7 +502,10 @@ public DeleteWorkRequestResponse deleteWorkRequest(DeleteWorkRequestRequest requ
return clientCall(request, DeleteWorkRequestResponse::builder)
.logger(LOG, "deleteWorkRequest")
- .serviceDetails("ContainerEngine", "DeleteWorkRequest", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "DeleteWorkRequest",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/WorkRequest/DeleteWorkRequest")
.method(com.oracle.bmc.http.client.Method.DELETE)
.requestBuilder(DeleteWorkRequestRequest::builder)
.basePath("/20180222")
@@ -494,7 +530,10 @@ public DeleteWorkloadMappingResponse deleteWorkloadMapping(
return clientCall(request, DeleteWorkloadMappingResponse::builder)
.logger(LOG, "deleteWorkloadMapping")
- .serviceDetails("ContainerEngine", "DeleteWorkloadMapping", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "DeleteWorkloadMapping",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/WorkloadMapping/DeleteWorkloadMapping")
.method(com.oracle.bmc.http.client.Method.DELETE)
.requestBuilder(DeleteWorkloadMappingRequest::builder)
.basePath("/20180222")
@@ -522,7 +561,10 @@ public DisableAddonResponse disableAddon(DisableAddonRequest request) {
return clientCall(request, DisableAddonResponse::builder)
.logger(LOG, "disableAddon")
- .serviceDetails("ContainerEngine", "DisableAddon", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "DisableAddon",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/DisableAddon")
.method(com.oracle.bmc.http.client.Method.DELETE)
.requestBuilder(DisableAddonRequest::builder)
.basePath("/20180222")
@@ -551,7 +593,10 @@ public GetAddonResponse getAddon(GetAddonRequest request) {
return clientCall(request, GetAddonResponse::builder)
.logger(LOG, "getAddon")
- .serviceDetails("ContainerEngine", "GetAddon", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "GetAddon",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/GetAddon")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(GetAddonRequest::builder)
.basePath("/20180222")
@@ -578,7 +623,10 @@ public GetClusterResponse getCluster(GetClusterRequest request) {
return clientCall(request, GetClusterResponse::builder)
.logger(LOG, "getCluster")
- .serviceDetails("ContainerEngine", "GetCluster", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "GetCluster",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/GetCluster")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(GetClusterRequest::builder)
.basePath("/20180222")
@@ -604,7 +652,10 @@ public GetClusterMigrateToNativeVcnStatusResponse getClusterMigrateToNativeVcnSt
return clientCall(request, GetClusterMigrateToNativeVcnStatusResponse::builder)
.logger(LOG, "getClusterMigrateToNativeVcnStatus")
- .serviceDetails("ContainerEngine", "GetClusterMigrateToNativeVcnStatus", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "GetClusterMigrateToNativeVcnStatus",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/ClusterMigrateToNativeVcnStatus/GetClusterMigrateToNativeVcnStatus")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(GetClusterMigrateToNativeVcnStatusRequest::builder)
.basePath("/20180222")
@@ -633,7 +684,10 @@ public GetClusterOptionsResponse getClusterOptions(GetClusterOptionsRequest requ
return clientCall(request, GetClusterOptionsResponse::builder)
.logger(LOG, "getClusterOptions")
- .serviceDetails("ContainerEngine", "GetClusterOptions", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "GetClusterOptions",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/ClusterOptions/GetClusterOptions")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(GetClusterOptionsRequest::builder)
.basePath("/20180222")
@@ -659,7 +713,10 @@ public GetCredentialRotationStatusResponse getCredentialRotationStatus(
return clientCall(request, GetCredentialRotationStatusResponse::builder)
.logger(LOG, "getCredentialRotationStatus")
- .serviceDetails("ContainerEngine", "GetCredentialRotationStatus", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "GetCredentialRotationStatus",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/CredentialRotationStatus/GetCredentialRotationStatus")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(GetCredentialRotationStatusRequest::builder)
.basePath("/20180222")
@@ -686,7 +743,10 @@ public GetNodePoolResponse getNodePool(GetNodePoolRequest request) {
return clientCall(request, GetNodePoolResponse::builder)
.logger(LOG, "getNodePool")
- .serviceDetails("ContainerEngine", "GetNodePool", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "GetNodePool",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/NodePool/GetNodePool")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(GetNodePoolRequest::builder)
.basePath("/20180222")
@@ -711,7 +771,10 @@ public GetNodePoolOptionsResponse getNodePoolOptions(GetNodePoolOptionsRequest r
return clientCall(request, GetNodePoolOptionsResponse::builder)
.logger(LOG, "getNodePoolOptions")
- .serviceDetails("ContainerEngine", "GetNodePoolOptions", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "GetNodePoolOptions",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/NodePoolOptions/GetNodePoolOptions")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(GetNodePoolOptionsRequest::builder)
.basePath("/20180222")
@@ -738,7 +801,10 @@ public GetVirtualNodeResponse getVirtualNode(GetVirtualNodeRequest request) {
return clientCall(request, GetVirtualNodeResponse::builder)
.logger(LOG, "getVirtualNode")
- .serviceDetails("ContainerEngine", "GetVirtualNode", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "GetVirtualNode",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/VirtualNodePool/GetVirtualNode")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(GetVirtualNodeRequest::builder)
.basePath("/20180222")
@@ -765,7 +831,10 @@ public GetVirtualNodePoolResponse getVirtualNodePool(GetVirtualNodePoolRequest r
return clientCall(request, GetVirtualNodePoolResponse::builder)
.logger(LOG, "getVirtualNodePool")
- .serviceDetails("ContainerEngine", "GetVirtualNodePool", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "GetVirtualNodePool",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/VirtualNodePool/GetVirtualNodePool")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(GetVirtualNodePoolRequest::builder)
.basePath("/20180222")
@@ -790,7 +859,10 @@ public GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request) {
return clientCall(request, GetWorkRequestResponse::builder)
.logger(LOG, "getWorkRequest")
- .serviceDetails("ContainerEngine", "GetWorkRequest", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "GetWorkRequest",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/WorkRequest/GetWorkRequest")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(GetWorkRequestRequest::builder)
.basePath("/20180222")
@@ -819,7 +891,10 @@ public GetWorkloadMappingResponse getWorkloadMapping(GetWorkloadMappingRequest r
return clientCall(request, GetWorkloadMappingResponse::builder)
.logger(LOG, "getWorkloadMapping")
- .serviceDetails("ContainerEngine", "GetWorkloadMapping", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "GetWorkloadMapping",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/WorkloadMapping/GetWorkloadMapping")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(GetWorkloadMappingRequest::builder)
.basePath("/20180222")
@@ -847,7 +922,10 @@ public InstallAddonResponse installAddon(InstallAddonRequest request) {
return clientCall(request, InstallAddonResponse::builder)
.logger(LOG, "installAddon")
- .serviceDetails("ContainerEngine", "InstallAddon", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "InstallAddon",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/InstallAddon")
.method(com.oracle.bmc.http.client.Method.POST)
.requestBuilder(InstallAddonRequest::builder)
.basePath("/20180222")
@@ -873,7 +951,10 @@ public ListAddonOptionsResponse listAddonOptions(ListAddonOptionsRequest request
return clientCall(request, ListAddonOptionsResponse::builder)
.logger(LOG, "listAddonOptions")
- .serviceDetails("ContainerEngine", "ListAddonOptions", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "ListAddonOptions",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/AddonOptionSummary/ListAddonOptions")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(ListAddonOptionsRequest::builder)
.basePath("/20180222")
@@ -904,7 +985,10 @@ public ListAddonsResponse listAddons(ListAddonsRequest request) {
return clientCall(request, ListAddonsResponse::builder)
.logger(LOG, "listAddons")
- .serviceDetails("ContainerEngine", "ListAddons", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "ListAddons",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/ListAddons")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(ListAddonsRequest::builder)
.basePath("/20180222")
@@ -934,7 +1018,10 @@ public ListClustersResponse listClusters(ListClustersRequest request) {
return clientCall(request, ListClustersResponse::builder)
.logger(LOG, "listClusters")
- .serviceDetails("ContainerEngine", "ListClusters", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "ListClusters",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/ClusterSummary/ListClusters")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(ListClustersRequest::builder)
.basePath("/20180222")
@@ -968,7 +1055,10 @@ public ListNodePoolsResponse listNodePools(ListNodePoolsRequest request) {
return clientCall(request, ListNodePoolsResponse::builder)
.logger(LOG, "listNodePools")
- .serviceDetails("ContainerEngine", "ListNodePools", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "ListNodePools",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/NodePoolSummary/ListNodePools")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(ListNodePoolsRequest::builder)
.basePath("/20180222")
@@ -1003,7 +1093,10 @@ public ListPodShapesResponse listPodShapes(ListPodShapesRequest request) {
return clientCall(request, ListPodShapesResponse::builder)
.logger(LOG, "listPodShapes")
- .serviceDetails("ContainerEngine", "ListPodShapes", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "ListPodShapes",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/PodShapeSummary/ListPodShapes")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(ListPodShapesRequest::builder)
.basePath("/20180222")
@@ -1034,7 +1127,10 @@ public ListVirtualNodePoolsResponse listVirtualNodePools(ListVirtualNodePoolsReq
return clientCall(request, ListVirtualNodePoolsResponse::builder)
.logger(LOG, "listVirtualNodePools")
- .serviceDetails("ContainerEngine", "ListVirtualNodePools", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "ListVirtualNodePools",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/VirtualNodePoolSummary/ListVirtualNodePools")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(ListVirtualNodePoolsRequest::builder)
.basePath("/20180222")
@@ -1070,7 +1166,10 @@ public ListVirtualNodesResponse listVirtualNodes(ListVirtualNodesRequest request
return clientCall(request, ListVirtualNodesResponse::builder)
.logger(LOG, "listVirtualNodes")
- .serviceDetails("ContainerEngine", "ListVirtualNodes", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "ListVirtualNodes",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/VirtualNodePool/ListVirtualNodes")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(ListVirtualNodesRequest::builder)
.basePath("/20180222")
@@ -1104,7 +1203,10 @@ public ListWorkRequestErrorsResponse listWorkRequestErrors(
return clientCall(request, ListWorkRequestErrorsResponse::builder)
.logger(LOG, "listWorkRequestErrors")
- .serviceDetails("ContainerEngine", "ListWorkRequestErrors", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "ListWorkRequestErrors",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/WorkRequestError/ListWorkRequestErrors")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(ListWorkRequestErrorsRequest::builder)
.basePath("/20180222")
@@ -1131,7 +1233,10 @@ public ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsReques
return clientCall(request, ListWorkRequestLogsResponse::builder)
.logger(LOG, "listWorkRequestLogs")
- .serviceDetails("ContainerEngine", "ListWorkRequestLogs", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "ListWorkRequestLogs",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/WorkRequestLogEntry/ListWorkRequestLogs")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(ListWorkRequestLogsRequest::builder)
.basePath("/20180222")
@@ -1156,7 +1261,10 @@ public ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request
return clientCall(request, ListWorkRequestsResponse::builder)
.logger(LOG, "listWorkRequests")
- .serviceDetails("ContainerEngine", "ListWorkRequests", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "ListWorkRequests",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/WorkRequestSummary/ListWorkRequests")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(ListWorkRequestsRequest::builder)
.basePath("/20180222")
@@ -1193,7 +1301,10 @@ public ListWorkloadMappingsResponse listWorkloadMappings(ListWorkloadMappingsReq
return clientCall(request, ListWorkloadMappingsResponse::builder)
.logger(LOG, "listWorkloadMappings")
- .serviceDetails("ContainerEngine", "ListWorkloadMappings", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "ListWorkloadMappings",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/WorkloadMapping/ListWorkloadMappings")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(ListWorkloadMappingsRequest::builder)
.basePath("/20180222")
@@ -1228,7 +1339,10 @@ public StartCredentialRotationResponse startCredentialRotation(
return clientCall(request, StartCredentialRotationResponse::builder)
.logger(LOG, "startCredentialRotation")
- .serviceDetails("ContainerEngine", "StartCredentialRotation", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "StartCredentialRotation",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/StartCredentialRotation")
.method(com.oracle.bmc.http.client.Method.POST)
.requestBuilder(StartCredentialRotationRequest::builder)
.basePath("/20180222")
@@ -1260,7 +1374,10 @@ public UpdateAddonResponse updateAddon(UpdateAddonRequest request) {
return clientCall(request, UpdateAddonResponse::builder)
.logger(LOG, "updateAddon")
- .serviceDetails("ContainerEngine", "UpdateAddon", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "UpdateAddon",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/UpdateAddon")
.method(com.oracle.bmc.http.client.Method.PUT)
.requestBuilder(UpdateAddonRequest::builder)
.basePath("/20180222")
@@ -1289,7 +1406,10 @@ public UpdateClusterResponse updateCluster(UpdateClusterRequest request) {
return clientCall(request, UpdateClusterResponse::builder)
.logger(LOG, "updateCluster")
- .serviceDetails("ContainerEngine", "UpdateCluster", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "UpdateCluster",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/UpdateCluster")
.method(com.oracle.bmc.http.client.Method.PUT)
.requestBuilder(UpdateClusterRequest::builder)
.basePath("/20180222")
@@ -1318,7 +1438,10 @@ public UpdateClusterEndpointConfigResponse updateClusterEndpointConfig(
return clientCall(request, UpdateClusterEndpointConfigResponse::builder)
.logger(LOG, "updateClusterEndpointConfig")
- .serviceDetails("ContainerEngine", "UpdateClusterEndpointConfig", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "UpdateClusterEndpointConfig",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/UpdateClusterEndpointConfig")
.method(com.oracle.bmc.http.client.Method.POST)
.requestBuilder(UpdateClusterEndpointConfigRequest::builder)
.basePath("/20180222")
@@ -1348,7 +1471,10 @@ public UpdateNodePoolResponse updateNodePool(UpdateNodePoolRequest request) {
return clientCall(request, UpdateNodePoolResponse::builder)
.logger(LOG, "updateNodePool")
- .serviceDetails("ContainerEngine", "UpdateNodePool", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "UpdateNodePool",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/NodePool/UpdateNodePool")
.method(com.oracle.bmc.http.client.Method.PUT)
.requestBuilder(UpdateNodePoolRequest::builder)
.basePath("/20180222")
@@ -1382,7 +1508,10 @@ public UpdateVirtualNodePoolResponse updateVirtualNodePool(
return clientCall(request, UpdateVirtualNodePoolResponse::builder)
.logger(LOG, "updateVirtualNodePool")
- .serviceDetails("ContainerEngine", "UpdateVirtualNodePool", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "UpdateVirtualNodePool",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/VirtualNodePool/UpdateVirtualNodePool")
.method(com.oracle.bmc.http.client.Method.PUT)
.requestBuilder(UpdateVirtualNodePoolRequest::builder)
.basePath("/20180222")
@@ -1414,7 +1543,10 @@ public UpdateWorkloadMappingResponse updateWorkloadMapping(
return clientCall(request, UpdateWorkloadMappingResponse::builder)
.logger(LOG, "updateWorkloadMapping")
- .serviceDetails("ContainerEngine", "UpdateWorkloadMapping", "")
+ .serviceDetails(
+ "ContainerEngine",
+ "UpdateWorkloadMapping",
+ "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/WorkloadMapping/UpdateWorkloadMapping")
.method(com.oracle.bmc.http.client.Method.PUT)
.requestBuilder(UpdateWorkloadMappingRequest::builder)
.basePath("/20180222")
diff --git a/bmc-containerengine/src/main/resources/com/oracle/bmc/containerengine/client.properties b/bmc-containerengine/src/main/resources/com/oracle/bmc/containerengine/client.properties
index 0b814b32d57..8ab653d5ed0 100644
--- a/bmc-containerengine/src/main/resources/com/oracle/bmc/containerengine/client.properties
+++ b/bmc-containerengine/src/main/resources/com/oracle/bmc/containerengine/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.104
+java.client.codegen.version = 2.113
java.minimum.client.codegen.version.from.client = 2.100
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20180222")
\ No newline at end of file
diff --git a/bmc-containerinstances/pom.xml b/bmc-containerinstances/pom.xml
index 02eb595f2ab..20b879e3ded 100644
--- a/bmc-containerinstances/pom.xml
+++ b/bmc-containerinstances/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.54.0
+ 3.55.0
../pom.xml
oci-java-sdk-containerinstances
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.54.0
+ 3.55.0
\ No newline at end of file
diff --git a/bmc-containerinstances/src/main/resources/com/oracle/bmc/containerinstances/client.properties b/bmc-containerinstances/src/main/resources/com/oracle/bmc/containerinstances/client.properties
index 1a6167dc6b1..2cb3ed6e1e0 100644
--- a/bmc-containerinstances/src/main/resources/com/oracle/bmc/containerinstances/client.properties
+++ b/bmc-containerinstances/src/main/resources/com/oracle/bmc/containerinstances/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.104
+java.client.codegen.version = 2.113
java.minimum.client.codegen.version.from.client = 2.100
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20210415")
\ No newline at end of file
diff --git a/bmc-core/pom.xml b/bmc-core/pom.xml
index e1c8cb5896a..dcd6e3f30aa 100644
--- a/bmc-core/pom.xml
+++ b/bmc-core/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.54.0
+ 3.55.0
../pom.xml
@@ -18,12 +18,12 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.54.0
+ 3.55.0
com.oracle.oci.sdk
oci-java-sdk-workrequests
- 3.54.0
+ 3.55.0
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/Instance.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/Instance.java
index a1abe981170..6cc8071560c 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/Instance.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/Instance.java
@@ -75,7 +75,8 @@ public final class Instance extends com.oracle.bmc.http.client.internal.Explicit
"agentConfig",
"timeMaintenanceRebootDue",
"platformConfig",
- "instanceConfigurationId"
+ "instanceConfigurationId",
+ "licensingConfigs"
})
public Instance(
String availabilityDomain,
@@ -110,7 +111,8 @@ public Instance(
InstanceAgentConfig agentConfig,
java.util.Date timeMaintenanceRebootDue,
PlatformConfig platformConfig,
- String instanceConfigurationId) {
+ String instanceConfigurationId,
+ java.util.List licensingConfigs) {
super();
this.availabilityDomain = availabilityDomain;
this.capacityReservationId = capacityReservationId;
@@ -145,6 +147,7 @@ public Instance(
this.timeMaintenanceRebootDue = timeMaintenanceRebootDue;
this.platformConfig = platformConfig;
this.instanceConfigurationId = instanceConfigurationId;
+ this.licensingConfigs = licensingConfigs;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -789,6 +792,21 @@ public Builder instanceConfigurationId(String instanceConfigurationId) {
this.__explicitlySet__.add("instanceConfigurationId");
return this;
}
+ /** List of licensing configurations associated with the instance. */
+ @com.fasterxml.jackson.annotation.JsonProperty("licensingConfigs")
+ private java.util.List licensingConfigs;
+
+ /**
+ * List of licensing configurations associated with the instance.
+ *
+ * @param licensingConfigs the value to set
+ * @return this builder
+ */
+ public Builder licensingConfigs(java.util.List licensingConfigs) {
+ this.licensingConfigs = licensingConfigs;
+ this.__explicitlySet__.add("licensingConfigs");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -828,7 +846,8 @@ public Instance build() {
this.agentConfig,
this.timeMaintenanceRebootDue,
this.platformConfig,
- this.instanceConfigurationId);
+ this.instanceConfigurationId,
+ this.licensingConfigs);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -936,6 +955,9 @@ public Builder copy(Instance model) {
if (model.wasPropertyExplicitlySet("instanceConfigurationId")) {
this.instanceConfigurationId(model.getInstanceConfigurationId());
}
+ if (model.wasPropertyExplicitlySet("licensingConfigs")) {
+ this.licensingConfigs(model.getLicensingConfigs());
+ }
return this;
}
}
@@ -1671,6 +1693,19 @@ public String getInstanceConfigurationId() {
return instanceConfigurationId;
}
+ /** List of licensing configurations associated with the instance. */
+ @com.fasterxml.jackson.annotation.JsonProperty("licensingConfigs")
+ private final java.util.List licensingConfigs;
+
+ /**
+ * List of licensing configurations associated with the instance.
+ *
+ * @return the value
+ */
+ public java.util.List getLicensingConfigs() {
+ return licensingConfigs;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -1724,6 +1759,7 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", platformConfig=").append(String.valueOf(this.platformConfig));
sb.append(", instanceConfigurationId=")
.append(String.valueOf(this.instanceConfigurationId));
+ sb.append(", licensingConfigs=").append(String.valueOf(this.licensingConfigs));
sb.append(")");
return sb.toString();
}
@@ -1776,6 +1812,7 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.platformConfig, other.platformConfig)
&& java.util.Objects.equals(
this.instanceConfigurationId, other.instanceConfigurationId)
+ && java.util.Objects.equals(this.licensingConfigs, other.licensingConfigs)
&& super.equals(other);
}
@@ -1870,6 +1907,9 @@ public int hashCode() {
+ (this.instanceConfigurationId == null
? 43
: this.instanceConfigurationId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.licensingConfigs == null ? 43 : this.licensingConfigs.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/InstanceConfigurationLaunchInstanceDetails.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/InstanceConfigurationLaunchInstanceDetails.java
index fa5166558c1..b8ee20ab7b1 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/InstanceConfigurationLaunchInstanceDetails.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/InstanceConfigurationLaunchInstanceDetails.java
@@ -53,7 +53,8 @@ public final class InstanceConfigurationLaunchInstanceDetails
"preferredMaintenanceAction",
"instanceOptions",
"availabilityConfig",
- "preemptibleInstanceConfig"
+ "preemptibleInstanceConfig",
+ "licensingConfigs"
})
public InstanceConfigurationLaunchInstanceDetails(
String availabilityDomain,
@@ -81,7 +82,8 @@ public InstanceConfigurationLaunchInstanceDetails(
PreferredMaintenanceAction preferredMaintenanceAction,
InstanceConfigurationInstanceOptions instanceOptions,
InstanceConfigurationAvailabilityConfig availabilityConfig,
- PreemptibleInstanceConfigDetails preemptibleInstanceConfig) {
+ PreemptibleInstanceConfigDetails preemptibleInstanceConfig,
+ java.util.List licensingConfigs) {
super();
this.availabilityDomain = availabilityDomain;
this.capacityReservationId = capacityReservationId;
@@ -109,6 +111,7 @@ public InstanceConfigurationLaunchInstanceDetails(
this.instanceOptions = instanceOptions;
this.availabilityConfig = availabilityConfig;
this.preemptibleInstanceConfig = preemptibleInstanceConfig;
+ this.licensingConfigs = licensingConfigs;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -721,6 +724,22 @@ public Builder preemptibleInstanceConfig(
this.__explicitlySet__.add("preemptibleInstanceConfig");
return this;
}
+ /** List of licensing configurations associated with target launch values. */
+ @com.fasterxml.jackson.annotation.JsonProperty("licensingConfigs")
+ private java.util.List licensingConfigs;
+
+ /**
+ * List of licensing configurations associated with target launch values.
+ *
+ * @param licensingConfigs the value to set
+ * @return this builder
+ */
+ public Builder licensingConfigs(
+ java.util.List licensingConfigs) {
+ this.licensingConfigs = licensingConfigs;
+ this.__explicitlySet__.add("licensingConfigs");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -753,7 +772,8 @@ public InstanceConfigurationLaunchInstanceDetails build() {
this.preferredMaintenanceAction,
this.instanceOptions,
this.availabilityConfig,
- this.preemptibleInstanceConfig);
+ this.preemptibleInstanceConfig,
+ this.licensingConfigs);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -840,6 +860,9 @@ public Builder copy(InstanceConfigurationLaunchInstanceDetails model) {
if (model.wasPropertyExplicitlySet("preemptibleInstanceConfig")) {
this.preemptibleInstanceConfig(model.getPreemptibleInstanceConfig());
}
+ if (model.wasPropertyExplicitlySet("licensingConfigs")) {
+ this.licensingConfigs(model.getLicensingConfigs());
+ }
return this;
}
}
@@ -1499,6 +1522,19 @@ public PreemptibleInstanceConfigDetails getPreemptibleInstanceConfig() {
return preemptibleInstanceConfig;
}
+ /** List of licensing configurations associated with target launch values. */
+ @com.fasterxml.jackson.annotation.JsonProperty("licensingConfigs")
+ private final java.util.List licensingConfigs;
+
+ /**
+ * List of licensing configurations associated with target launch values.
+ *
+ * @return the value
+ */
+ public java.util.List getLicensingConfigs() {
+ return licensingConfigs;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -1544,6 +1580,7 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", availabilityConfig=").append(String.valueOf(this.availabilityConfig));
sb.append(", preemptibleInstanceConfig=")
.append(String.valueOf(this.preemptibleInstanceConfig));
+ sb.append(", licensingConfigs=").append(String.valueOf(this.licensingConfigs));
sb.append(")");
return sb.toString();
}
@@ -1589,6 +1626,7 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.availabilityConfig, other.availabilityConfig)
&& java.util.Objects.equals(
this.preemptibleInstanceConfig, other.preemptibleInstanceConfig)
+ && java.util.Objects.equals(this.licensingConfigs, other.licensingConfigs)
&& super.equals(other);
}
@@ -1670,6 +1708,9 @@ public int hashCode() {
+ (this.preemptibleInstanceConfig == null
? 43
: this.preemptibleInstanceConfig.hashCode());
+ result =
+ (result * PRIME)
+ + (this.licensingConfigs == null ? 43 : this.licensingConfigs.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/LaunchInstanceDetails.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/LaunchInstanceDetails.java
index 3a80ae16463..5cd604b21ec 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/LaunchInstanceDetails.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/LaunchInstanceDetails.java
@@ -54,7 +54,8 @@ public final class LaunchInstanceDetails
"launchVolumeAttachments",
"isPvEncryptionInTransitEnabled",
"platformConfig",
- "instanceConfigurationId"
+ "instanceConfigurationId",
+ "licensingConfigs"
})
public LaunchInstanceDetails(
String availabilityDomain,
@@ -86,7 +87,8 @@ public LaunchInstanceDetails(
java.util.List launchVolumeAttachments,
Boolean isPvEncryptionInTransitEnabled,
LaunchInstancePlatformConfig platformConfig,
- String instanceConfigurationId) {
+ String instanceConfigurationId,
+ java.util.List licensingConfigs) {
super();
this.availabilityDomain = availabilityDomain;
this.capacityReservationId = capacityReservationId;
@@ -118,6 +120,7 @@ public LaunchInstanceDetails(
this.isPvEncryptionInTransitEnabled = isPvEncryptionInTransitEnabled;
this.platformConfig = platformConfig;
this.instanceConfigurationId = instanceConfigurationId;
+ this.licensingConfigs = licensingConfigs;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -801,6 +804,22 @@ public Builder instanceConfigurationId(String instanceConfigurationId) {
this.__explicitlySet__.add("instanceConfigurationId");
return this;
}
+ /** List of licensing configurations associated with target launch values. */
+ @com.fasterxml.jackson.annotation.JsonProperty("licensingConfigs")
+ private java.util.List licensingConfigs;
+
+ /**
+ * List of licensing configurations associated with target launch values.
+ *
+ * @param licensingConfigs the value to set
+ * @return this builder
+ */
+ public Builder licensingConfigs(
+ java.util.List licensingConfigs) {
+ this.licensingConfigs = licensingConfigs;
+ this.__explicitlySet__.add("licensingConfigs");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -837,7 +856,8 @@ public LaunchInstanceDetails build() {
this.launchVolumeAttachments,
this.isPvEncryptionInTransitEnabled,
this.platformConfig,
- this.instanceConfigurationId);
+ this.instanceConfigurationId,
+ this.licensingConfigs);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -936,6 +956,9 @@ public Builder copy(LaunchInstanceDetails model) {
if (model.wasPropertyExplicitlySet("instanceConfigurationId")) {
this.instanceConfigurationId(model.getInstanceConfigurationId());
}
+ if (model.wasPropertyExplicitlySet("licensingConfigs")) {
+ this.licensingConfigs(model.getLicensingConfigs());
+ }
return this;
}
}
@@ -1555,6 +1578,19 @@ public String getInstanceConfigurationId() {
return instanceConfigurationId;
}
+ /** List of licensing configurations associated with target launch values. */
+ @com.fasterxml.jackson.annotation.JsonProperty("licensingConfigs")
+ private final java.util.List licensingConfigs;
+
+ /**
+ * List of licensing configurations associated with target launch values.
+ *
+ * @return the value
+ */
+ public java.util.List getLicensingConfigs() {
+ return licensingConfigs;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -1605,6 +1641,7 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", platformConfig=").append(String.valueOf(this.platformConfig));
sb.append(", instanceConfigurationId=")
.append(String.valueOf(this.instanceConfigurationId));
+ sb.append(", licensingConfigs=").append(String.valueOf(this.licensingConfigs));
sb.append(")");
return sb.toString();
}
@@ -1654,6 +1691,7 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.platformConfig, other.platformConfig)
&& java.util.Objects.equals(
this.instanceConfigurationId, other.instanceConfigurationId)
+ && java.util.Objects.equals(this.licensingConfigs, other.licensingConfigs)
&& super.equals(other);
}
@@ -1747,6 +1785,9 @@ public int hashCode() {
+ (this.instanceConfigurationId == null
? 43
: this.instanceConfigurationId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.licensingConfigs == null ? 43 : this.licensingConfigs.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/LaunchInstanceLicensingConfig.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/LaunchInstanceLicensingConfig.java
new file mode 100644
index 00000000000..1ec8d570e1a
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/LaunchInstanceLicensingConfig.java
@@ -0,0 +1,191 @@
+/**
+ * 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.core.model;
+
+/**
+ * The license config requested for the instance.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model
+ * distinguishes fields that are {@code null} because they are unset from fields that are explicitly
+ * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a
+ * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link
+ * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set
+ * fields into account. The constructor, on the other hand, does not take the explicitly set fields
+ * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code
+ * null}).
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "type",
+ defaultImpl = LaunchInstanceLicensingConfig.class)
+@com.fasterxml.jackson.annotation.JsonSubTypes({
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = LaunchInstanceWindowsLicensingConfig.class,
+ name = "WINDOWS")
+})
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public class LaunchInstanceLicensingConfig
+ extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({"licenseType"})
+ protected LaunchInstanceLicensingConfig(LicenseType licenseType) {
+ super();
+ this.licenseType = licenseType;
+ }
+
+ /**
+ * License Type for the OS license. * {@code OCI_PROVIDED} - OCI provided license (e.g. metered
+ * $/OCPU-hour). * {@code BRING_YOUR_OWN_LICENSE} - Bring your own license.
+ */
+ public enum LicenseType implements com.oracle.bmc.http.internal.BmcEnum {
+ OciProvided("OCI_PROVIDED"),
+ BringYourOwnLicense("BRING_YOUR_OWN_LICENSE"),
+
+ /**
+ * This value is used if a service returns a value for this enum that is not recognized by
+ * this version of the SDK.
+ */
+ UnknownEnumValue(null);
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(LicenseType.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (LicenseType v : LicenseType.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ LicenseType(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static LicenseType create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'LicenseType', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
+ }
+ };
+ /**
+ * License Type for the OS license. * {@code OCI_PROVIDED} - OCI provided license (e.g. metered
+ * $/OCPU-hour). * {@code BRING_YOUR_OWN_LICENSE} - Bring your own license.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("licenseType")
+ private final LicenseType licenseType;
+
+ /**
+ * License Type for the OS license. * {@code OCI_PROVIDED} - OCI provided license (e.g. metered
+ * $/OCPU-hour). * {@code BRING_YOUR_OWN_LICENSE} - Bring your own license.
+ *
+ * @return the value
+ */
+ public LicenseType getLicenseType() {
+ return licenseType;
+ }
+
+ @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("LaunchInstanceLicensingConfig(");
+ sb.append("super=").append(super.toString());
+ sb.append("licenseType=").append(String.valueOf(this.licenseType));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof LaunchInstanceLicensingConfig)) {
+ return false;
+ }
+
+ LaunchInstanceLicensingConfig other = (LaunchInstanceLicensingConfig) o;
+ return java.util.Objects.equals(this.licenseType, other.licenseType) && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result = (result * PRIME) + (this.licenseType == null ? 43 : this.licenseType.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+
+ /** Operating System type of the Configuration. */
+ public enum Type implements com.oracle.bmc.http.internal.BmcEnum {
+ Windows("WINDOWS"),
+
+ /**
+ * This value is used if a service returns a value for this enum that is not recognized by
+ * this version of the SDK.
+ */
+ UnknownEnumValue(null);
+
+ private static final org.slf4j.Logger LOG = org.slf4j.LoggerFactory.getLogger(Type.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (Type v : Type.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ Type(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static Type create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'Type', returning UnknownEnumValue", key);
+ return UnknownEnumValue;
+ }
+ };
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/LaunchInstanceWindowsLicensingConfig.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/LaunchInstanceWindowsLicensingConfig.java
new file mode 100644
index 00000000000..8243deedbaf
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/LaunchInstanceWindowsLicensingConfig.java
@@ -0,0 +1,112 @@
+/**
+ * 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.core.model;
+
+/**
+ * The default windows licensing config.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model
+ * distinguishes fields that are {@code null} because they are unset from fields that are explicitly
+ * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a
+ * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link
+ * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set
+ * fields into account. The constructor, on the other hand, does not take the explicitly set fields
+ * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code
+ * null}).
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = LaunchInstanceWindowsLicensingConfig.Builder.class)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "type")
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class LaunchInstanceWindowsLicensingConfig extends LaunchInstanceLicensingConfig {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("licenseType")
+ private LicenseType licenseType;
+
+ public Builder licenseType(LicenseType licenseType) {
+ this.licenseType = licenseType;
+ this.__explicitlySet__.add("licenseType");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public LaunchInstanceWindowsLicensingConfig build() {
+ LaunchInstanceWindowsLicensingConfig model =
+ new LaunchInstanceWindowsLicensingConfig(this.licenseType);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(LaunchInstanceWindowsLicensingConfig model) {
+ if (model.wasPropertyExplicitlySet("licenseType")) {
+ this.licenseType(model.getLicenseType());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public LaunchInstanceWindowsLicensingConfig(LicenseType licenseType) {
+ super(licenseType);
+ }
+
+ @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("LaunchInstanceWindowsLicensingConfig(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof LaunchInstanceWindowsLicensingConfig)) {
+ return false;
+ }
+
+ LaunchInstanceWindowsLicensingConfig other = (LaunchInstanceWindowsLicensingConfig) o;
+ return super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/LicensingConfig.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/LicensingConfig.java
new file mode 100644
index 00000000000..d5f5e9dd154
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/LicensingConfig.java
@@ -0,0 +1,304 @@
+/**
+ * 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.core.model;
+
+/**
+ * Configuration of the Operating System license.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model
+ * distinguishes fields that are {@code null} because they are unset from fields that are explicitly
+ * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a
+ * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link
+ * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set
+ * fields into account. The constructor, on the other hand, does not take the explicitly set fields
+ * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code
+ * null}).
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = LicensingConfig.Builder.class)
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class LicensingConfig
+ extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({"type", "licenseType", "osVersion"})
+ public LicensingConfig(Type type, LicenseType licenseType, String osVersion) {
+ super();
+ this.type = type;
+ this.licenseType = licenseType;
+ this.osVersion = osVersion;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /** Operating System type of the Configuration. */
+ @com.fasterxml.jackson.annotation.JsonProperty("type")
+ private Type type;
+
+ /**
+ * Operating System type of the Configuration.
+ *
+ * @param type the value to set
+ * @return this builder
+ */
+ public Builder type(Type type) {
+ this.type = type;
+ this.__explicitlySet__.add("type");
+ return this;
+ }
+ /**
+ * License Type for the OS license. * {@code OCI_PROVIDED} - OCI provided license (e.g.
+ * metered $/OCPU-hour). * {@code BRING_YOUR_OWN_LICENSE} - Bring your own license.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("licenseType")
+ private LicenseType licenseType;
+
+ /**
+ * License Type for the OS license. * {@code OCI_PROVIDED} - OCI provided license (e.g.
+ * metered $/OCPU-hour). * {@code BRING_YOUR_OWN_LICENSE} - Bring your own license.
+ *
+ * @param licenseType the value to set
+ * @return this builder
+ */
+ public Builder licenseType(LicenseType licenseType) {
+ this.licenseType = licenseType;
+ this.__explicitlySet__.add("licenseType");
+ return this;
+ }
+ /** The Operating System version of the license config. */
+ @com.fasterxml.jackson.annotation.JsonProperty("osVersion")
+ private String osVersion;
+
+ /**
+ * The Operating System version of the license config.
+ *
+ * @param osVersion the value to set
+ * @return this builder
+ */
+ public Builder osVersion(String osVersion) {
+ this.osVersion = osVersion;
+ this.__explicitlySet__.add("osVersion");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public LicensingConfig build() {
+ LicensingConfig model =
+ new LicensingConfig(this.type, this.licenseType, this.osVersion);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(LicensingConfig model) {
+ if (model.wasPropertyExplicitlySet("type")) {
+ this.type(model.getType());
+ }
+ if (model.wasPropertyExplicitlySet("licenseType")) {
+ this.licenseType(model.getLicenseType());
+ }
+ if (model.wasPropertyExplicitlySet("osVersion")) {
+ this.osVersion(model.getOsVersion());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ /** Operating System type of the Configuration. */
+ public enum Type implements com.oracle.bmc.http.internal.BmcEnum {
+ Windows("WINDOWS"),
+
+ /**
+ * This value is used if a service returns a value for this enum that is not recognized by
+ * this version of the SDK.
+ */
+ UnknownEnumValue(null);
+
+ private static final org.slf4j.Logger LOG = org.slf4j.LoggerFactory.getLogger(Type.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (Type v : Type.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ Type(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static Type create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'Type', returning UnknownEnumValue", key);
+ return UnknownEnumValue;
+ }
+ };
+ /** Operating System type of the Configuration. */
+ @com.fasterxml.jackson.annotation.JsonProperty("type")
+ private final Type type;
+
+ /**
+ * Operating System type of the Configuration.
+ *
+ * @return the value
+ */
+ public Type getType() {
+ return type;
+ }
+
+ /**
+ * License Type for the OS license. * {@code OCI_PROVIDED} - OCI provided license (e.g. metered
+ * $/OCPU-hour). * {@code BRING_YOUR_OWN_LICENSE} - Bring your own license.
+ */
+ public enum LicenseType implements com.oracle.bmc.http.internal.BmcEnum {
+ OciProvided("OCI_PROVIDED"),
+ BringYourOwnLicense("BRING_YOUR_OWN_LICENSE"),
+
+ /**
+ * This value is used if a service returns a value for this enum that is not recognized by
+ * this version of the SDK.
+ */
+ UnknownEnumValue(null);
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(LicenseType.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (LicenseType v : LicenseType.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ LicenseType(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static LicenseType create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'LicenseType', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
+ }
+ };
+ /**
+ * License Type for the OS license. * {@code OCI_PROVIDED} - OCI provided license (e.g. metered
+ * $/OCPU-hour). * {@code BRING_YOUR_OWN_LICENSE} - Bring your own license.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("licenseType")
+ private final LicenseType licenseType;
+
+ /**
+ * License Type for the OS license. * {@code OCI_PROVIDED} - OCI provided license (e.g. metered
+ * $/OCPU-hour). * {@code BRING_YOUR_OWN_LICENSE} - Bring your own license.
+ *
+ * @return the value
+ */
+ public LicenseType getLicenseType() {
+ return licenseType;
+ }
+
+ /** The Operating System version of the license config. */
+ @com.fasterxml.jackson.annotation.JsonProperty("osVersion")
+ private final String osVersion;
+
+ /**
+ * The Operating System version of the license config.
+ *
+ * @return the value
+ */
+ public String getOsVersion() {
+ return osVersion;
+ }
+
+ @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("LicensingConfig(");
+ sb.append("super=").append(super.toString());
+ sb.append("type=").append(String.valueOf(this.type));
+ sb.append(", licenseType=").append(String.valueOf(this.licenseType));
+ sb.append(", osVersion=").append(String.valueOf(this.osVersion));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof LicensingConfig)) {
+ return false;
+ }
+
+ LicensingConfig other = (LicensingConfig) o;
+ return java.util.Objects.equals(this.type, other.type)
+ && java.util.Objects.equals(this.licenseType, other.licenseType)
+ && java.util.Objects.equals(this.osVersion, other.osVersion)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result = (result * PRIME) + (this.type == null ? 43 : this.type.hashCode());
+ result = (result * PRIME) + (this.licenseType == null ? 43 : this.licenseType.hashCode());
+ result = (result * PRIME) + (this.osVersion == null ? 43 : this.osVersion.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdateInstanceDetails.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdateInstanceDetails.java
index 883d1511635..9b16497a94a 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdateInstanceDetails.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdateInstanceDetails.java
@@ -42,7 +42,8 @@ public final class UpdateInstanceDetails
"availabilityConfig",
"timeMaintenanceRebootDue",
"dedicatedVmHostId",
- "platformConfig"
+ "platformConfig",
+ "licensingConfigs"
})
public UpdateInstanceDetails(
String capacityReservationId,
@@ -63,7 +64,8 @@ public UpdateInstanceDetails(
UpdateInstanceAvailabilityConfigDetails availabilityConfig,
java.util.Date timeMaintenanceRebootDue,
String dedicatedVmHostId,
- UpdateInstancePlatformConfig platformConfig) {
+ UpdateInstancePlatformConfig platformConfig,
+ java.util.List licensingConfigs) {
super();
this.capacityReservationId = capacityReservationId;
this.definedTags = definedTags;
@@ -84,6 +86,7 @@ public UpdateInstanceDetails(
this.timeMaintenanceRebootDue = timeMaintenanceRebootDue;
this.dedicatedVmHostId = dedicatedVmHostId;
this.platformConfig = platformConfig;
+ this.licensingConfigs = licensingConfigs;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -549,6 +552,22 @@ public Builder platformConfig(UpdateInstancePlatformConfig platformConfig) {
this.__explicitlySet__.add("platformConfig");
return this;
}
+ /** The list of liscensing configurations with target update values. */
+ @com.fasterxml.jackson.annotation.JsonProperty("licensingConfigs")
+ private java.util.List licensingConfigs;
+
+ /**
+ * The list of liscensing configurations with target update values.
+ *
+ * @param licensingConfigs the value to set
+ * @return this builder
+ */
+ public Builder licensingConfigs(
+ java.util.List licensingConfigs) {
+ this.licensingConfigs = licensingConfigs;
+ this.__explicitlySet__.add("licensingConfigs");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -574,7 +593,8 @@ public UpdateInstanceDetails build() {
this.availabilityConfig,
this.timeMaintenanceRebootDue,
this.dedicatedVmHostId,
- this.platformConfig);
+ this.platformConfig,
+ this.licensingConfigs);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -640,6 +660,9 @@ public Builder copy(UpdateInstanceDetails model) {
if (model.wasPropertyExplicitlySet("platformConfig")) {
this.platformConfig(model.getPlatformConfig());
}
+ if (model.wasPropertyExplicitlySet("licensingConfigs")) {
+ this.licensingConfigs(model.getLicensingConfigs());
+ }
return this;
}
}
@@ -1108,6 +1131,19 @@ public UpdateInstancePlatformConfig getPlatformConfig() {
return platformConfig;
}
+ /** The list of liscensing configurations with target update values. */
+ @com.fasterxml.jackson.annotation.JsonProperty("licensingConfigs")
+ private final java.util.List licensingConfigs;
+
+ /**
+ * The list of liscensing configurations with target update values.
+ *
+ * @return the value
+ */
+ public java.util.List getLicensingConfigs() {
+ return licensingConfigs;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -1144,6 +1180,7 @@ public String toString(boolean includeByteArrayContents) {
.append(String.valueOf(this.timeMaintenanceRebootDue));
sb.append(", dedicatedVmHostId=").append(String.valueOf(this.dedicatedVmHostId));
sb.append(", platformConfig=").append(String.valueOf(this.platformConfig));
+ sb.append(", licensingConfigs=").append(String.valueOf(this.licensingConfigs));
sb.append(")");
return sb.toString();
}
@@ -1179,6 +1216,7 @@ public boolean equals(Object o) {
this.timeMaintenanceRebootDue, other.timeMaintenanceRebootDue)
&& java.util.Objects.equals(this.dedicatedVmHostId, other.dedicatedVmHostId)
&& java.util.Objects.equals(this.platformConfig, other.platformConfig)
+ && java.util.Objects.equals(this.licensingConfigs, other.licensingConfigs)
&& super.equals(other);
}
@@ -1237,6 +1275,9 @@ public int hashCode() {
result =
(result * PRIME)
+ (this.platformConfig == null ? 43 : this.platformConfig.hashCode());
+ result =
+ (result * PRIME)
+ + (this.licensingConfigs == null ? 43 : this.licensingConfigs.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdateInstanceLicensingConfig.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdateInstanceLicensingConfig.java
new file mode 100644
index 00000000000..6791a21841d
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdateInstanceLicensingConfig.java
@@ -0,0 +1,167 @@
+/**
+ * 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.core.model;
+
+/**
+ * The target license config to be updated on the instance.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model
+ * distinguishes fields that are {@code null} because they are unset from fields that are explicitly
+ * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a
+ * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link
+ * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set
+ * fields into account. The constructor, on the other hand, does not take the explicitly set fields
+ * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code
+ * null}).
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "type",
+ defaultImpl = UpdateInstanceLicensingConfig.class)
+@com.fasterxml.jackson.annotation.JsonSubTypes({
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = UpdateInstanceWindowsLicensingConfig.class,
+ name = "WINDOWS")
+})
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public class UpdateInstanceLicensingConfig
+ extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({"licenseType"})
+ protected UpdateInstanceLicensingConfig(LicenseType licenseType) {
+ super();
+ this.licenseType = licenseType;
+ }
+
+ /**
+ * License Type for the OS license. * {@code OCI_PROVIDED} - OCI provided license (e.g. metered
+ * $/OCPU-hour). * {@code BRING_YOUR_OWN_LICENSE} - Bring your own license.
+ */
+ public enum LicenseType implements com.oracle.bmc.http.internal.BmcEnum {
+ OciProvided("OCI_PROVIDED"),
+ BringYourOwnLicense("BRING_YOUR_OWN_LICENSE"),
+ ;
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (LicenseType v : LicenseType.values()) {
+ map.put(v.getValue(), v);
+ }
+ }
+
+ LicenseType(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static LicenseType create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ throw new IllegalArgumentException("Invalid LicenseType: " + key);
+ }
+ };
+ /**
+ * License Type for the OS license. * {@code OCI_PROVIDED} - OCI provided license (e.g. metered
+ * $/OCPU-hour). * {@code BRING_YOUR_OWN_LICENSE} - Bring your own license.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("licenseType")
+ private final LicenseType licenseType;
+
+ /**
+ * License Type for the OS license. * {@code OCI_PROVIDED} - OCI provided license (e.g. metered
+ * $/OCPU-hour). * {@code BRING_YOUR_OWN_LICENSE} - Bring your own license.
+ *
+ * @return the value
+ */
+ public LicenseType getLicenseType() {
+ return licenseType;
+ }
+
+ @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("UpdateInstanceLicensingConfig(");
+ sb.append("super=").append(super.toString());
+ sb.append("licenseType=").append(String.valueOf(this.licenseType));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof UpdateInstanceLicensingConfig)) {
+ return false;
+ }
+
+ UpdateInstanceLicensingConfig other = (UpdateInstanceLicensingConfig) o;
+ return java.util.Objects.equals(this.licenseType, other.licenseType) && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result = (result * PRIME) + (this.licenseType == null ? 43 : this.licenseType.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+
+ /** Operating system type of the configuration. */
+ public enum Type implements com.oracle.bmc.http.internal.BmcEnum {
+ Windows("WINDOWS"),
+ ;
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (Type v : Type.values()) {
+ map.put(v.getValue(), v);
+ }
+ }
+
+ Type(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static Type create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ throw new IllegalArgumentException("Invalid Type: " + key);
+ }
+ };
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdateInstanceWindowsLicensingConfig.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdateInstanceWindowsLicensingConfig.java
new file mode 100644
index 00000000000..2b150a80ae8
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdateInstanceWindowsLicensingConfig.java
@@ -0,0 +1,112 @@
+/**
+ * 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.core.model;
+
+/**
+ * The default windows licensing config.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model
+ * distinguishes fields that are {@code null} because they are unset from fields that are explicitly
+ * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a
+ * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link
+ * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set
+ * fields into account. The constructor, on the other hand, does not take the explicitly set fields
+ * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code
+ * null}).
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = UpdateInstanceWindowsLicensingConfig.Builder.class)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "type")
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class UpdateInstanceWindowsLicensingConfig extends UpdateInstanceLicensingConfig {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("licenseType")
+ private LicenseType licenseType;
+
+ public Builder licenseType(LicenseType licenseType) {
+ this.licenseType = licenseType;
+ this.__explicitlySet__.add("licenseType");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public UpdateInstanceWindowsLicensingConfig build() {
+ UpdateInstanceWindowsLicensingConfig model =
+ new UpdateInstanceWindowsLicensingConfig(this.licenseType);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(UpdateInstanceWindowsLicensingConfig model) {
+ if (model.wasPropertyExplicitlySet("licenseType")) {
+ this.licenseType(model.getLicenseType());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public UpdateInstanceWindowsLicensingConfig(LicenseType licenseType) {
+ super(licenseType);
+ }
+
+ @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("UpdateInstanceWindowsLicensingConfig(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof UpdateInstanceWindowsLicensingConfig)) {
+ return false;
+ }
+
+ UpdateInstanceWindowsLicensingConfig other = (UpdateInstanceWindowsLicensingConfig) o;
+ return super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-core/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-core/reflect-config.json b/bmc-core/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-core/reflect-config.json
index 1e1c27cf7dd..b6e153340ea 100644
--- a/bmc-core/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-core/reflect-config.json
+++ b/bmc-core/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-core/reflect-config.json
@@ -6443,6 +6443,25 @@
"allDeclaredMethods": true,
"allDeclaredConstructors": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.core.model.LaunchInstanceLicensingConfig",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.core.model.LaunchInstanceLicensingConfig$Type",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.core.model.LaunchInstanceLicensingConfig$LicenseType",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.core.model.LaunchInstancePlatformConfig",
@@ -6476,6 +6495,20 @@
"allDeclaredFields": true,
"allDeclaredMethods": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.core.model.LaunchInstanceWindowsLicensingConfig",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.core.model.LaunchInstanceWindowsLicensingConfig$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.core.model.LaunchOptions",
@@ -6534,6 +6567,32 @@
"allDeclaredFields": true,
"allDeclaredMethods": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.core.model.LicensingConfig",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.core.model.LicensingConfig$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.core.model.LicensingConfig$Type",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.core.model.LicensingConfig$LicenseType",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.core.model.ListIpInventoryDetails",
@@ -8539,6 +8598,25 @@
"allDeclaredFields": true,
"allDeclaredMethods": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.core.model.UpdateInstanceLicensingConfig",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.core.model.UpdateInstanceLicensingConfig$Type",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.core.model.UpdateInstanceLicensingConfig$LicenseType",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.core.model.UpdateInstanceMaintenanceEventDetails",
@@ -8649,6 +8727,20 @@
"allDeclaredMethods": true,
"allDeclaredConstructors": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.core.model.UpdateInstanceWindowsLicensingConfig",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.core.model.UpdateInstanceWindowsLicensingConfig$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.core.model.UpdateInternetGatewayDetails",
diff --git a/bmc-core/src/main/resources/com/oracle/bmc/core/client.properties b/bmc-core/src/main/resources/com/oracle/bmc/core/client.properties
index 73df68dc2f1..0ca15ebfe64 100644
--- a/bmc-core/src/main/resources/com/oracle/bmc/core/client.properties
+++ b/bmc-core/src/main/resources/com/oracle/bmc/core/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.104
+java.client.codegen.version = 2.113
java.minimum.client.codegen.version.from.client = 2.100
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
\ No newline at end of file
diff --git a/bmc-dashboardservice/pom.xml b/bmc-dashboardservice/pom.xml
index ae5abd841bf..3fb603cd312 100644
--- a/bmc-dashboardservice/pom.xml
+++ b/bmc-dashboardservice/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.54.0
+ 3.55.0
../pom.xml
oci-java-sdk-dashboardservice
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.54.0
+ 3.55.0
\ No newline at end of file
diff --git a/bmc-dashboardservice/src/main/resources/com/oracle/bmc/dashboardservice/client.properties b/bmc-dashboardservice/src/main/resources/com/oracle/bmc/dashboardservice/client.properties
index f6078d01831..968063f7298 100644
--- a/bmc-dashboardservice/src/main/resources/com/oracle/bmc/dashboardservice/client.properties
+++ b/bmc-dashboardservice/src/main/resources/com/oracle/bmc/dashboardservice/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.104
+java.client.codegen.version = 2.113
java.minimum.client.codegen.version.from.client = 2.100
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20210731")
\ No newline at end of file
diff --git a/bmc-database/pom.xml b/bmc-database/pom.xml
index b5fda927272..a7626d4841f 100644
--- a/bmc-database/pom.xml
+++ b/bmc-database/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.54.0
+ 3.55.0
../pom.xml
@@ -18,12 +18,12 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.54.0
+ 3.55.0
com.oracle.oci.sdk
oci-java-sdk-workrequests
- 3.54.0
+ 3.55.0
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsyncClient.java b/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsyncClient.java
index 4ac9db78a9a..efbe85c0696 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsyncClient.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsyncClient.java
@@ -12830,6 +12830,7 @@ public java.util.concurrent.Future restoreDatabase(
.appendHeader("if-match", request.getIfMatch())
.appendHeader("opc-retry-token", request.getOpcRetryToken())
.appendHeader("opc-request-id", request.getOpcRequestId())
+ .hasBody()
.handleBody(
com.oracle.bmc.database.model.AutonomousContainerDatabase.class,
RotateAutonomousContainerDatabaseEncryptionKeyResponse.Builder
@@ -12877,6 +12878,7 @@ public java.util.concurrent.Future restoreDatabase(
.appendHeader("if-match", request.getIfMatch())
.appendHeader("opc-retry-token", request.getOpcRetryToken())
.appendHeader("opc-request-id", request.getOpcRequestId())
+ .hasBody()
.handleBody(
com.oracle.bmc.database.model.AutonomousDatabase.class,
RotateAutonomousDatabaseEncryptionKeyResponse.Builder::autonomousDatabase)
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseClient.java b/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseClient.java
index a5cbd79a53c..a5c6aa5dd40 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseClient.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseClient.java
@@ -11491,6 +11491,7 @@ public RestoreDatabaseResponse restoreDatabase(RestoreDatabaseRequest request) {
.appendHeader("if-match", request.getIfMatch())
.appendHeader("opc-retry-token", request.getOpcRetryToken())
.appendHeader("opc-request-id", request.getOpcRequestId())
+ .hasBody()
.handleBody(
com.oracle.bmc.database.model.AutonomousContainerDatabase.class,
RotateAutonomousContainerDatabaseEncryptionKeyResponse.Builder
@@ -11533,6 +11534,7 @@ public RotateAutonomousDatabaseEncryptionKeyResponse rotateAutonomousDatabaseEnc
.appendHeader("if-match", request.getIfMatch())
.appendHeader("opc-retry-token", request.getOpcRetryToken())
.appendHeader("opc-request-id", request.getOpcRequestId())
+ .hasBody()
.handleBody(
com.oracle.bmc.database.model.AutonomousDatabase.class,
RotateAutonomousDatabaseEncryptionKeyResponse.Builder::autonomousDatabase)
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/RotateAutonomousContainerDatabaseEncryptionKeyDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/RotateAutonomousContainerDatabaseEncryptionKeyDetails.java
new file mode 100644
index 00000000000..019a86bc389
--- /dev/null
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/RotateAutonomousContainerDatabaseEncryptionKeyDetails.java
@@ -0,0 +1,144 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.database.model;
+
+/**
+ * Key details provided by the user for rotate key operation for Autonomous Database.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model
+ * distinguishes fields that are {@code null} because they are unset from fields that are explicitly
+ * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a
+ * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link
+ * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set
+ * fields into account. The constructor, on the other hand, does not take the explicitly set fields
+ * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code
+ * null}).
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = RotateAutonomousContainerDatabaseEncryptionKeyDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class RotateAutonomousContainerDatabaseEncryptionKeyDetails
+ extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({"keyVersionId"})
+ public RotateAutonomousContainerDatabaseEncryptionKeyDetails(String keyVersionId) {
+ super();
+ this.keyVersionId = keyVersionId;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * Key version ocid of the key provided by the user for rotate operation.
+ * [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("keyVersionId")
+ private String keyVersionId;
+
+ /**
+ * Key version ocid of the key provided by the user for rotate operation.
+ * [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
+ *
+ * @param keyVersionId the value to set
+ * @return this builder
+ */
+ public Builder keyVersionId(String keyVersionId) {
+ this.keyVersionId = keyVersionId;
+ this.__explicitlySet__.add("keyVersionId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public RotateAutonomousContainerDatabaseEncryptionKeyDetails build() {
+ RotateAutonomousContainerDatabaseEncryptionKeyDetails model =
+ new RotateAutonomousContainerDatabaseEncryptionKeyDetails(this.keyVersionId);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(RotateAutonomousContainerDatabaseEncryptionKeyDetails model) {
+ if (model.wasPropertyExplicitlySet("keyVersionId")) {
+ this.keyVersionId(model.getKeyVersionId());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ /**
+ * Key version ocid of the key provided by the user for rotate operation.
+ * [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("keyVersionId")
+ private final String keyVersionId;
+
+ /**
+ * Key version ocid of the key provided by the user for rotate operation.
+ * [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
+ *
+ * @return the value
+ */
+ public String getKeyVersionId() {
+ return keyVersionId;
+ }
+
+ @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("RotateAutonomousContainerDatabaseEncryptionKeyDetails(");
+ sb.append("super=").append(super.toString());
+ sb.append("keyVersionId=").append(String.valueOf(this.keyVersionId));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof RotateAutonomousContainerDatabaseEncryptionKeyDetails)) {
+ return false;
+ }
+
+ RotateAutonomousContainerDatabaseEncryptionKeyDetails other =
+ (RotateAutonomousContainerDatabaseEncryptionKeyDetails) o;
+ return java.util.Objects.equals(this.keyVersionId, other.keyVersionId)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result = (result * PRIME) + (this.keyVersionId == null ? 43 : this.keyVersionId.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/RotateAutonomousDatabaseEncryptionKeyDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/RotateAutonomousDatabaseEncryptionKeyDetails.java
new file mode 100644
index 00000000000..3a9beea39fb
--- /dev/null
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/RotateAutonomousDatabaseEncryptionKeyDetails.java
@@ -0,0 +1,144 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.database.model;
+
+/**
+ * Key details provided by the user for rotate key operation for Autonomous Database.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model
+ * distinguishes fields that are {@code null} because they are unset from fields that are explicitly
+ * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a
+ * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link
+ * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set
+ * fields into account. The constructor, on the other hand, does not take the explicitly set fields
+ * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code
+ * null}).
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = RotateAutonomousDatabaseEncryptionKeyDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class RotateAutonomousDatabaseEncryptionKeyDetails
+ extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({"keyVersionId"})
+ public RotateAutonomousDatabaseEncryptionKeyDetails(String keyVersionId) {
+ super();
+ this.keyVersionId = keyVersionId;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * Key version ocid of the key provided by the user for rotate operation.
+ * [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("keyVersionId")
+ private String keyVersionId;
+
+ /**
+ * Key version ocid of the key provided by the user for rotate operation.
+ * [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
+ *
+ * @param keyVersionId the value to set
+ * @return this builder
+ */
+ public Builder keyVersionId(String keyVersionId) {
+ this.keyVersionId = keyVersionId;
+ this.__explicitlySet__.add("keyVersionId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public RotateAutonomousDatabaseEncryptionKeyDetails build() {
+ RotateAutonomousDatabaseEncryptionKeyDetails model =
+ new RotateAutonomousDatabaseEncryptionKeyDetails(this.keyVersionId);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(RotateAutonomousDatabaseEncryptionKeyDetails model) {
+ if (model.wasPropertyExplicitlySet("keyVersionId")) {
+ this.keyVersionId(model.getKeyVersionId());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ /**
+ * Key version ocid of the key provided by the user for rotate operation.
+ * [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("keyVersionId")
+ private final String keyVersionId;
+
+ /**
+ * Key version ocid of the key provided by the user for rotate operation.
+ * [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
+ *
+ * @return the value
+ */
+ public String getKeyVersionId() {
+ return keyVersionId;
+ }
+
+ @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("RotateAutonomousDatabaseEncryptionKeyDetails(");
+ sb.append("super=").append(super.toString());
+ sb.append("keyVersionId=").append(String.valueOf(this.keyVersionId));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof RotateAutonomousDatabaseEncryptionKeyDetails)) {
+ return false;
+ }
+
+ RotateAutonomousDatabaseEncryptionKeyDetails other =
+ (RotateAutonomousDatabaseEncryptionKeyDetails) o;
+ return java.util.Objects.equals(this.keyVersionId, other.keyVersionId)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result = (result * PRIME) + (this.keyVersionId == null ? 43 : this.keyVersionId.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/requests/RotateAutonomousContainerDatabaseEncryptionKeyRequest.java b/bmc-database/src/main/java/com/oracle/bmc/database/requests/RotateAutonomousContainerDatabaseEncryptionKeyRequest.java
index a218e8f46a5..4a7fd821d0e 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/requests/RotateAutonomousContainerDatabaseEncryptionKeyRequest.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/requests/RotateAutonomousContainerDatabaseEncryptionKeyRequest.java
@@ -13,7 +13,9 @@
*/
@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
public class RotateAutonomousContainerDatabaseEncryptionKeyRequest
- extends com.oracle.bmc.requests.BmcRequest {
+ extends com.oracle.bmc.requests.BmcRequest<
+ com.oracle.bmc.database.model
+ .RotateAutonomousContainerDatabaseEncryptionKeyDetails> {
/**
* The Autonomous Container Database
@@ -71,10 +73,33 @@ public String getOpcRetryToken() {
public String getOpcRequestId() {
return opcRequestId;
}
+ /** Key details provided by the user for rotate key operation for Autonomous Database. */
+ private com.oracle.bmc.database.model.RotateAutonomousContainerDatabaseEncryptionKeyDetails
+ rotateAutonomousContainerDatabaseEncryptionKeyDetails;
+
+ /** Key details provided by the user for rotate key operation for Autonomous Database. */
+ public com.oracle.bmc.database.model.RotateAutonomousContainerDatabaseEncryptionKeyDetails
+ getRotateAutonomousContainerDatabaseEncryptionKeyDetails() {
+ return rotateAutonomousContainerDatabaseEncryptionKeyDetails;
+ }
+
+ /**
+ * Alternative accessor for the body parameter.
+ *
+ * @return body parameter
+ */
+ @Override
+ @com.oracle.bmc.InternalSdk
+ public com.oracle.bmc.database.model.RotateAutonomousContainerDatabaseEncryptionKeyDetails
+ getBody$() {
+ return rotateAutonomousContainerDatabaseEncryptionKeyDetails;
+ }
public static class Builder
implements com.oracle.bmc.requests.BmcRequest.Builder<
- RotateAutonomousContainerDatabaseEncryptionKeyRequest, java.lang.Void> {
+ RotateAutonomousContainerDatabaseEncryptionKeyRequest,
+ com.oracle.bmc.database.model
+ .RotateAutonomousContainerDatabaseEncryptionKeyDetails> {
private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null;
private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null;
@@ -156,6 +181,24 @@ public Builder opcRequestId(String opcRequestId) {
return this;
}
+ /** Key details provided by the user for rotate key operation for Autonomous Database. */
+ private com.oracle.bmc.database.model.RotateAutonomousContainerDatabaseEncryptionKeyDetails
+ rotateAutonomousContainerDatabaseEncryptionKeyDetails = null;
+
+ /**
+ * Key details provided by the user for rotate key operation for Autonomous Database.
+ *
+ * @param rotateAutonomousContainerDatabaseEncryptionKeyDetails the value to set
+ * @return this builder instance
+ */
+ public Builder rotateAutonomousContainerDatabaseEncryptionKeyDetails(
+ com.oracle.bmc.database.model.RotateAutonomousContainerDatabaseEncryptionKeyDetails
+ rotateAutonomousContainerDatabaseEncryptionKeyDetails) {
+ this.rotateAutonomousContainerDatabaseEncryptionKeyDetails =
+ rotateAutonomousContainerDatabaseEncryptionKeyDetails;
+ return this;
+ }
+
/**
* Set the invocation callback for the request to be built.
*
@@ -190,6 +233,8 @@ public Builder copy(RotateAutonomousContainerDatabaseEncryptionKeyRequest o) {
ifMatch(o.getIfMatch());
opcRetryToken(o.getOpcRetryToken());
opcRequestId(o.getOpcRequestId());
+ rotateAutonomousContainerDatabaseEncryptionKeyDetails(
+ o.getRotateAutonomousContainerDatabaseEncryptionKeyDetails());
invocationCallback(o.getInvocationCallback());
retryConfiguration(o.getRetryConfiguration());
return this;
@@ -215,6 +260,20 @@ public RotateAutonomousContainerDatabaseEncryptionKeyRequest build() {
return request;
}
+ /**
+ * Alternative setter for the body parameter.
+ *
+ * @param body the body parameter
+ * @return this builder instance
+ */
+ @com.oracle.bmc.InternalSdk
+ public Builder body$(
+ com.oracle.bmc.database.model.RotateAutonomousContainerDatabaseEncryptionKeyDetails
+ body) {
+ rotateAutonomousContainerDatabaseEncryptionKeyDetails(body);
+ return this;
+ }
+
/**
* Build the instance of RotateAutonomousContainerDatabaseEncryptionKeyRequest as configured
* by this builder
@@ -233,10 +292,13 @@ public RotateAutonomousContainerDatabaseEncryptionKeyRequest build() {
request.ifMatch = ifMatch;
request.opcRetryToken = opcRetryToken;
request.opcRequestId = opcRequestId;
+ request.rotateAutonomousContainerDatabaseEncryptionKeyDetails =
+ rotateAutonomousContainerDatabaseEncryptionKeyDetails;
return request;
// new
// RotateAutonomousContainerDatabaseEncryptionKeyRequest(autonomousContainerDatabaseId,
- // ifMatch, opcRetryToken, opcRequestId);
+ // ifMatch, opcRetryToken, opcRequestId,
+ // rotateAutonomousContainerDatabaseEncryptionKeyDetails);
}
}
@@ -250,7 +312,9 @@ public Builder toBuilder() {
.autonomousContainerDatabaseId(autonomousContainerDatabaseId)
.ifMatch(ifMatch)
.opcRetryToken(opcRetryToken)
- .opcRequestId(opcRequestId);
+ .opcRequestId(opcRequestId)
+ .rotateAutonomousContainerDatabaseEncryptionKeyDetails(
+ rotateAutonomousContainerDatabaseEncryptionKeyDetails);
}
/**
@@ -272,6 +336,8 @@ public String toString() {
sb.append(",ifMatch=").append(String.valueOf(this.ifMatch));
sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken));
sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId));
+ sb.append(",rotateAutonomousContainerDatabaseEncryptionKeyDetails=")
+ .append(String.valueOf(this.rotateAutonomousContainerDatabaseEncryptionKeyDetails));
sb.append(")");
return sb.toString();
}
@@ -292,7 +358,10 @@ public boolean equals(Object o) {
this.autonomousContainerDatabaseId, other.autonomousContainerDatabaseId)
&& java.util.Objects.equals(this.ifMatch, other.ifMatch)
&& java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken)
- && java.util.Objects.equals(this.opcRequestId, other.opcRequestId);
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId)
+ && java.util.Objects.equals(
+ this.rotateAutonomousContainerDatabaseEncryptionKeyDetails,
+ other.rotateAutonomousContainerDatabaseEncryptionKeyDetails);
}
@Override
@@ -309,6 +378,12 @@ public int hashCode() {
(result * PRIME)
+ (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode());
result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.rotateAutonomousContainerDatabaseEncryptionKeyDetails == null
+ ? 43
+ : this.rotateAutonomousContainerDatabaseEncryptionKeyDetails
+ .hashCode());
return result;
}
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/requests/RotateAutonomousDatabaseEncryptionKeyRequest.java b/bmc-database/src/main/java/com/oracle/bmc/database/requests/RotateAutonomousDatabaseEncryptionKeyRequest.java
index 6ad752b2649..90ddb3f19be 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/requests/RotateAutonomousDatabaseEncryptionKeyRequest.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/requests/RotateAutonomousDatabaseEncryptionKeyRequest.java
@@ -13,7 +13,8 @@
*/
@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
public class RotateAutonomousDatabaseEncryptionKeyRequest
- extends com.oracle.bmc.requests.BmcRequest {
+ extends com.oracle.bmc.requests.BmcRequest<
+ com.oracle.bmc.database.model.RotateAutonomousDatabaseEncryptionKeyDetails> {
/**
* The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
@@ -69,10 +70,31 @@ public String getOpcRetryToken() {
public String getOpcRequestId() {
return opcRequestId;
}
+ /** Key details provided by the user for rotate key operation for Autonomous Database. */
+ private com.oracle.bmc.database.model.RotateAutonomousDatabaseEncryptionKeyDetails
+ rotateAutonomousDatabaseEncryptionKeyDetails;
+
+ /** Key details provided by the user for rotate key operation for Autonomous Database. */
+ public com.oracle.bmc.database.model.RotateAutonomousDatabaseEncryptionKeyDetails
+ getRotateAutonomousDatabaseEncryptionKeyDetails() {
+ return rotateAutonomousDatabaseEncryptionKeyDetails;
+ }
+
+ /**
+ * Alternative accessor for the body parameter.
+ *
+ * @return body parameter
+ */
+ @Override
+ @com.oracle.bmc.InternalSdk
+ public com.oracle.bmc.database.model.RotateAutonomousDatabaseEncryptionKeyDetails getBody$() {
+ return rotateAutonomousDatabaseEncryptionKeyDetails;
+ }
public static class Builder
implements com.oracle.bmc.requests.BmcRequest.Builder<
- RotateAutonomousDatabaseEncryptionKeyRequest, java.lang.Void> {
+ RotateAutonomousDatabaseEncryptionKeyRequest,
+ com.oracle.bmc.database.model.RotateAutonomousDatabaseEncryptionKeyDetails> {
private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null;
private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null;
@@ -154,6 +176,24 @@ public Builder opcRequestId(String opcRequestId) {
return this;
}
+ /** Key details provided by the user for rotate key operation for Autonomous Database. */
+ private com.oracle.bmc.database.model.RotateAutonomousDatabaseEncryptionKeyDetails
+ rotateAutonomousDatabaseEncryptionKeyDetails = null;
+
+ /**
+ * Key details provided by the user for rotate key operation for Autonomous Database.
+ *
+ * @param rotateAutonomousDatabaseEncryptionKeyDetails the value to set
+ * @return this builder instance
+ */
+ public Builder rotateAutonomousDatabaseEncryptionKeyDetails(
+ com.oracle.bmc.database.model.RotateAutonomousDatabaseEncryptionKeyDetails
+ rotateAutonomousDatabaseEncryptionKeyDetails) {
+ this.rotateAutonomousDatabaseEncryptionKeyDetails =
+ rotateAutonomousDatabaseEncryptionKeyDetails;
+ return this;
+ }
+
/**
* Set the invocation callback for the request to be built.
*
@@ -188,6 +228,8 @@ public Builder copy(RotateAutonomousDatabaseEncryptionKeyRequest o) {
ifMatch(o.getIfMatch());
opcRetryToken(o.getOpcRetryToken());
opcRequestId(o.getOpcRequestId());
+ rotateAutonomousDatabaseEncryptionKeyDetails(
+ o.getRotateAutonomousDatabaseEncryptionKeyDetails());
invocationCallback(o.getInvocationCallback());
retryConfiguration(o.getRetryConfiguration());
return this;
@@ -212,6 +254,19 @@ public RotateAutonomousDatabaseEncryptionKeyRequest build() {
return request;
}
+ /**
+ * Alternative setter for the body parameter.
+ *
+ * @param body the body parameter
+ * @return this builder instance
+ */
+ @com.oracle.bmc.InternalSdk
+ public Builder body$(
+ com.oracle.bmc.database.model.RotateAutonomousDatabaseEncryptionKeyDetails body) {
+ rotateAutonomousDatabaseEncryptionKeyDetails(body);
+ return this;
+ }
+
/**
* Build the instance of RotateAutonomousDatabaseEncryptionKeyRequest as configured by this
* builder
@@ -229,9 +284,11 @@ public RotateAutonomousDatabaseEncryptionKeyRequest buildWithoutInvocationCallba
request.ifMatch = ifMatch;
request.opcRetryToken = opcRetryToken;
request.opcRequestId = opcRequestId;
+ request.rotateAutonomousDatabaseEncryptionKeyDetails =
+ rotateAutonomousDatabaseEncryptionKeyDetails;
return request;
// new RotateAutonomousDatabaseEncryptionKeyRequest(autonomousDatabaseId, ifMatch,
- // opcRetryToken, opcRequestId);
+ // opcRetryToken, opcRequestId, rotateAutonomousDatabaseEncryptionKeyDetails);
}
}
@@ -245,7 +302,9 @@ public Builder toBuilder() {
.autonomousDatabaseId(autonomousDatabaseId)
.ifMatch(ifMatch)
.opcRetryToken(opcRetryToken)
- .opcRequestId(opcRequestId);
+ .opcRequestId(opcRequestId)
+ .rotateAutonomousDatabaseEncryptionKeyDetails(
+ rotateAutonomousDatabaseEncryptionKeyDetails);
}
/**
@@ -266,6 +325,8 @@ public String toString() {
sb.append(",ifMatch=").append(String.valueOf(this.ifMatch));
sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken));
sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId));
+ sb.append(",rotateAutonomousDatabaseEncryptionKeyDetails=")
+ .append(String.valueOf(this.rotateAutonomousDatabaseEncryptionKeyDetails));
sb.append(")");
return sb.toString();
}
@@ -285,7 +346,10 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.autonomousDatabaseId, other.autonomousDatabaseId)
&& java.util.Objects.equals(this.ifMatch, other.ifMatch)
&& java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken)
- && java.util.Objects.equals(this.opcRequestId, other.opcRequestId);
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId)
+ && java.util.Objects.equals(
+ this.rotateAutonomousDatabaseEncryptionKeyDetails,
+ other.rotateAutonomousDatabaseEncryptionKeyDetails);
}
@Override
@@ -302,6 +366,11 @@ public int hashCode() {
(result * PRIME)
+ (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode());
result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.rotateAutonomousDatabaseEncryptionKeyDetails == null
+ ? 43
+ : this.rotateAutonomousDatabaseEncryptionKeyDetails.hashCode());
return result;
}
}
diff --git a/bmc-database/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-database/reflect-config.json b/bmc-database/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-database/reflect-config.json
index 6a5171f7516..c69e81301bd 100644
--- a/bmc-database/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-database/reflect-config.json
+++ b/bmc-database/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-database/reflect-config.json
@@ -7497,6 +7497,34 @@
"allDeclaredMethods": true,
"allDeclaredConstructors": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.database.model.RotateAutonomousContainerDatabaseEncryptionKeyDetails",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.database.model.RotateAutonomousContainerDatabaseEncryptionKeyDetails$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.database.model.RotateAutonomousDatabaseEncryptionKeyDetails",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.database.model.RotateAutonomousDatabaseEncryptionKeyDetails$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.database.model.RotateAutonomousVmClusterOrdsCertsDetails",
diff --git a/bmc-database/src/main/resources/com/oracle/bmc/database/client.properties b/bmc-database/src/main/resources/com/oracle/bmc/database/client.properties
index 73df68dc2f1..0ca15ebfe64 100644
--- a/bmc-database/src/main/resources/com/oracle/bmc/database/client.properties
+++ b/bmc-database/src/main/resources/com/oracle/bmc/database/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.104
+java.client.codegen.version = 2.113
java.minimum.client.codegen.version.from.client = 2.100
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
\ No newline at end of file
diff --git a/bmc-databasemanagement/pom.xml b/bmc-databasemanagement/pom.xml
index ab593e132a4..4279ef69c16 100644
--- a/bmc-databasemanagement/pom.xml
+++ b/bmc-databasemanagement/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.54.0
+ 3.55.0
../pom.xml
oci-java-sdk-databasemanagement
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.54.0
+ 3.55.0
diff --git a/bmc-databasemanagement/src/main/resources/com/oracle/bmc/databasemanagement/client.properties b/bmc-databasemanagement/src/main/resources/com/oracle/bmc/databasemanagement/client.properties
index 961255feaf1..e7fd67d26ea 100644
--- a/bmc-databasemanagement/src/main/resources/com/oracle/bmc/databasemanagement/client.properties
+++ b/bmc-databasemanagement/src/main/resources/com/oracle/bmc/databasemanagement/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.104
+java.client.codegen.version = 2.113
java.minimum.client.codegen.version.from.client = 2.100
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20201101")
\ No newline at end of file
diff --git a/bmc-databasemigration/pom.xml b/bmc-databasemigration/pom.xml
index 807f5cf000c..cf0dac52e43 100644
--- a/bmc-databasemigration/pom.xml
+++ b/bmc-databasemigration/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.54.0
+ 3.55.0
../pom.xml
oci-java-sdk-databasemigration
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.54.0
+ 3.55.0
diff --git a/bmc-databasemigration/src/main/resources/com/oracle/bmc/databasemigration/client.properties b/bmc-databasemigration/src/main/resources/com/oracle/bmc/databasemigration/client.properties
index 9304f0810ea..b6170f2e7b1 100644
--- a/bmc-databasemigration/src/main/resources/com/oracle/bmc/databasemigration/client.properties
+++ b/bmc-databasemigration/src/main/resources/com/oracle/bmc/databasemigration/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.104
+java.client.codegen.version = 2.113
java.minimum.client.codegen.version.from.client = 2.100
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20230518")
\ No newline at end of file
diff --git a/bmc-databasetools/pom.xml b/bmc-databasetools/pom.xml
index 0855d35d2b4..422042571a2 100644
--- a/bmc-databasetools/pom.xml
+++ b/bmc-databasetools/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.54.0
+ 3.55.0
../pom.xml
oci-java-sdk-databasetools
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.54.0
+ 3.55.0
\ No newline at end of file
diff --git a/bmc-databasetools/src/main/resources/com/oracle/bmc/databasetools/client.properties b/bmc-databasetools/src/main/resources/com/oracle/bmc/databasetools/client.properties
index a59800f1d07..a47c4067f08 100644
--- a/bmc-databasetools/src/main/resources/com/oracle/bmc/databasetools/client.properties
+++ b/bmc-databasetools/src/main/resources/com/oracle/bmc/databasetools/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.104
+java.client.codegen.version = 2.113
java.minimum.client.codegen.version.from.client = 2.100
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20201005")
\ No newline at end of file
diff --git a/bmc-datacatalog/pom.xml b/bmc-datacatalog/pom.xml
index 2cfdf2ef1ce..5b40520f4c8 100644
--- a/bmc-datacatalog/pom.xml
+++ b/bmc-datacatalog/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.54.0
+ 3.55.0
../pom.xml
oci-java-sdk-datacatalog
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.54.0
+ 3.55.0
diff --git a/bmc-datacatalog/src/main/resources/com/oracle/bmc/datacatalog/client.properties b/bmc-datacatalog/src/main/resources/com/oracle/bmc/datacatalog/client.properties
index f07ea0a932b..5757401c7db 100644
--- a/bmc-datacatalog/src/main/resources/com/oracle/bmc/datacatalog/client.properties
+++ b/bmc-datacatalog/src/main/resources/com/oracle/bmc/datacatalog/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.104
+java.client.codegen.version = 2.113
java.minimum.client.codegen.version.from.client = 2.100
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190325")
\ No newline at end of file
diff --git a/bmc-dataflow/pom.xml b/bmc-dataflow/pom.xml
index d1cb2404f38..0bb1d696c15 100644
--- a/bmc-dataflow/pom.xml
+++ b/bmc-dataflow/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.54.0
+ 3.55.0
../pom.xml
oci-java-sdk-dataflow
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.54.0
+ 3.55.0
diff --git a/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/DataFlow.java b/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/DataFlow.java
index 657a69696ed..708e90772c9 100644
--- a/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/DataFlow.java
+++ b/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/DataFlow.java
@@ -65,6 +65,24 @@ public interface DataFlow extends AutoCloseable {
*/
void useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled);
+ /**
+ * Deletes an application using an `applicationId` and terminates related runs. This operation
+ * will timeout in approximate 30 minutes if any related Runs are not terminated successfully.
+ *
+ * @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
+ * CascadingDeleteApplication API.
+ */
+ CascadingDeleteApplicationResponse cascadingDeleteApplication(
+ CascadingDeleteApplicationRequest request);
+
/**
* Moves an application into a different compartment. When provided, If-Match is checked against
* ETag values of the resource. Associated resources, like runs, will not be automatically
diff --git a/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/DataFlowAsync.java b/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/DataFlowAsync.java
index 6741f2718ba..9f1f3be6f56 100644
--- a/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/DataFlowAsync.java
+++ b/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/DataFlowAsync.java
@@ -62,6 +62,23 @@ public interface DataFlowAsync extends AutoCloseable {
*/
void useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled);
+ /**
+ * Deletes an application using an `applicationId` and terminates related runs. This operation
+ * will timeout in approximate 30 minutes if any related Runs are not terminated successfully.
+ *
+ * @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 cascadingDeleteApplication(
+ CascadingDeleteApplicationRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ CascadingDeleteApplicationRequest, CascadingDeleteApplicationResponse>
+ handler);
+
/**
* Moves an application into a different compartment. When provided, If-Match is checked against
* ETag values of the resource. Associated resources, like runs, will not be automatically
diff --git a/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/DataFlowAsyncClient.java b/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/DataFlowAsyncClient.java
index 81d930d8d04..93f92207162 100644
--- a/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/DataFlowAsyncClient.java
+++ b/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/DataFlowAsyncClient.java
@@ -121,6 +121,41 @@ public void setRegion(String regionId) {
super.setRegion(regionId);
}
+ @Override
+ public java.util.concurrent.Future
+ cascadingDeleteApplication(
+ CascadingDeleteApplicationRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ CascadingDeleteApplicationRequest,
+ CascadingDeleteApplicationResponse>
+ handler) {
+
+ Validate.notBlank(request.getApplicationId(), "applicationId must not be blank");
+
+ return clientCall(request, CascadingDeleteApplicationResponse::builder)
+ .logger(LOG, "cascadingDeleteApplication")
+ .serviceDetails(
+ "DataFlow",
+ "CascadingDeleteApplication",
+ "https://docs.oracle.com/iaas/api/#/en/data-flow/20200129/Application/CascadingDeleteApplication")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(CascadingDeleteApplicationRequest::builder)
+ .basePath("/20200129")
+ .appendPathParam("applications")
+ .appendPathParam(request.getApplicationId())
+ .appendPathParam("actions")
+ .appendPathParam("cascadingDeleteApplication")
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("if-match", request.getIfMatch())
+ .handleResponseHeaderString(
+ "opc-work-request-id",
+ CascadingDeleteApplicationResponse.Builder::opcWorkRequestId)
+ .handleResponseHeaderString(
+ "opc-request-id", CascadingDeleteApplicationResponse.Builder::opcRequestId)
+ .callAsync(handler);
+ }
+
@Override
public java.util.concurrent.Future
changeApplicationCompartment(
diff --git a/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/DataFlowClient.java b/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/DataFlowClient.java
index 34148d4d5a2..08c20178f10 100644
--- a/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/DataFlowClient.java
+++ b/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/DataFlowClient.java
@@ -148,6 +148,36 @@ public void setRegion(String regionId) {
super.setRegion(regionId);
}
+ @Override
+ public CascadingDeleteApplicationResponse cascadingDeleteApplication(
+ CascadingDeleteApplicationRequest request) {
+
+ Validate.notBlank(request.getApplicationId(), "applicationId must not be blank");
+
+ return clientCall(request, CascadingDeleteApplicationResponse::builder)
+ .logger(LOG, "cascadingDeleteApplication")
+ .serviceDetails(
+ "DataFlow",
+ "CascadingDeleteApplication",
+ "https://docs.oracle.com/iaas/api/#/en/data-flow/20200129/Application/CascadingDeleteApplication")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(CascadingDeleteApplicationRequest::builder)
+ .basePath("/20200129")
+ .appendPathParam("applications")
+ .appendPathParam(request.getApplicationId())
+ .appendPathParam("actions")
+ .appendPathParam("cascadingDeleteApplication")
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("if-match", request.getIfMatch())
+ .handleResponseHeaderString(
+ "opc-work-request-id",
+ CascadingDeleteApplicationResponse.Builder::opcWorkRequestId)
+ .handleResponseHeaderString(
+ "opc-request-id", CascadingDeleteApplicationResponse.Builder::opcRequestId)
+ .callSync();
+ }
+
@Override
public ChangeApplicationCompartmentResponse changeApplicationCompartment(
ChangeApplicationCompartmentRequest request) {
diff --git a/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/model/ApplicationLifecycleState.java b/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/model/ApplicationLifecycleState.java
index a55adf890d2..88c1e2db60e 100644
--- a/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/model/ApplicationLifecycleState.java
+++ b/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/model/ApplicationLifecycleState.java
@@ -8,6 +8,7 @@
@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200129")
public enum ApplicationLifecycleState implements com.oracle.bmc.http.internal.BmcEnum {
Active("ACTIVE"),
+ Deleting("DELETING"),
Deleted("DELETED"),
Inactive("INACTIVE"),
diff --git a/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/requests/CascadingDeleteApplicationRequest.java b/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/requests/CascadingDeleteApplicationRequest.java
new file mode 100644
index 00000000000..516a57628fa
--- /dev/null
+++ b/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/requests/CascadingDeleteApplicationRequest.java
@@ -0,0 +1,251 @@
+/**
+ * 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.dataflow.requests;
+
+import com.oracle.bmc.dataflow.model.*;
+/**
+ * Example: Click here to see how to use
+ * CascadingDeleteApplicationRequest.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200129")
+public class CascadingDeleteApplicationRequest
+ extends com.oracle.bmc.requests.BmcRequest {
+
+ /** The unique ID for an application. */
+ private String applicationId;
+
+ /** The unique ID for an application. */
+ public String getApplicationId() {
+ return applicationId;
+ }
+ /**
+ * Unique identifier for the request. If provided, the returned request ID will include this
+ * value. Otherwise, a random request ID will be generated by the service.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique identifier for the request. If provided, the returned request ID will include this
+ * value. Otherwise, a random request ID will be generated by the service.
+ */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+ /**
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code
+ * if-match} parameter to the value of the etag from a previous GET or POST response for that
+ * resource. The resource will be updated or deleted only if the etag you provide matches the
+ * resource's current etag value.
+ */
+ private String ifMatch;
+
+ /**
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code
+ * if-match} parameter to the value of the etag from a previous GET or POST response for that
+ * resource. The resource will be updated or deleted only if the etag you provide matches the
+ * resource's current etag value.
+ */
+ public String getIfMatch() {
+ return ifMatch;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.requests.BmcRequest.Builder<
+ CascadingDeleteApplicationRequest, java.lang.Void> {
+ private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null;
+ private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null;
+
+ /** The unique ID for an application. */
+ private String applicationId = null;
+
+ /**
+ * The unique ID for an application.
+ *
+ * @param applicationId the value to set
+ * @return this builder instance
+ */
+ public Builder applicationId(String applicationId) {
+ this.applicationId = applicationId;
+ return this;
+ }
+
+ /**
+ * Unique identifier for the request. If provided, the returned request ID will include this
+ * value. Otherwise, a random request ID will be generated by the service.
+ */
+ private String opcRequestId = null;
+
+ /**
+ * Unique identifier for the request. If provided, the returned request ID will include this
+ * value. Otherwise, a random request ID will be generated by the service.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder instance
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /**
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
+ * {@code if-match} parameter to the value of the etag from a previous GET or POST response
+ * for that resource. The resource will be updated or deleted only if the etag you provide
+ * matches the resource's current etag value.
+ */
+ private String ifMatch = null;
+
+ /**
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
+ * {@code if-match} parameter to the value of the etag from a previous GET or POST response
+ * for that resource. The resource will be updated or deleted only if the etag you provide
+ * matches the resource's current etag value.
+ *
+ * @param ifMatch the value to set
+ * @return this builder instance
+ */
+ public Builder ifMatch(String ifMatch) {
+ this.ifMatch = ifMatch;
+ return this;
+ }
+
+ /**
+ * Set the invocation callback for the request to be built.
+ *
+ * @param invocationCallback the invocation callback to be set for the request
+ * @return this builder instance
+ */
+ public Builder invocationCallback(
+ com.oracle.bmc.http.client.RequestInterceptor invocationCallback) {
+ this.invocationCallback = invocationCallback;
+ return this;
+ }
+
+ /**
+ * Set the retry configuration for the request to be built.
+ *
+ * @param retryConfiguration the retry configuration to be used for the request
+ * @return this builder instance
+ */
+ public Builder retryConfiguration(
+ com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) {
+ this.retryConfiguration = retryConfiguration;
+ return this;
+ }
+
+ /**
+ * Copy method to populate the builder with values from the given instance.
+ *
+ * @return this builder instance
+ */
+ public Builder copy(CascadingDeleteApplicationRequest o) {
+ applicationId(o.getApplicationId());
+ opcRequestId(o.getOpcRequestId());
+ ifMatch(o.getIfMatch());
+ invocationCallback(o.getInvocationCallback());
+ retryConfiguration(o.getRetryConfiguration());
+ return this;
+ }
+
+ /**
+ * Build the instance of CascadingDeleteApplicationRequest as configured by this builder
+ *
+ * Note that this method takes calls to {@link
+ * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account,
+ * while the method {@link Builder#buildWithoutInvocationCallback} does not.
+ *
+ *
This is the preferred method to build an instance.
+ *
+ * @return instance of CascadingDeleteApplicationRequest
+ */
+ public CascadingDeleteApplicationRequest build() {
+ CascadingDeleteApplicationRequest request = buildWithoutInvocationCallback();
+ request.setInvocationCallback(invocationCallback);
+ request.setRetryConfiguration(retryConfiguration);
+ return request;
+ }
+
+ /**
+ * Build the instance of CascadingDeleteApplicationRequest as configured by this builder
+ *
+ *
Note that this method does not take calls to {@link
+ * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account,
+ * while the method {@link Builder#build} does
+ *
+ * @return instance of CascadingDeleteApplicationRequest
+ */
+ public CascadingDeleteApplicationRequest buildWithoutInvocationCallback() {
+ CascadingDeleteApplicationRequest request = new CascadingDeleteApplicationRequest();
+ request.applicationId = applicationId;
+ request.opcRequestId = opcRequestId;
+ request.ifMatch = ifMatch;
+ return request;
+ // new CascadingDeleteApplicationRequest(applicationId, opcRequestId, ifMatch);
+ }
+ }
+
+ /**
+ * Return an instance of {@link Builder} that allows you to modify request properties.
+ *
+ * @return instance of {@link Builder} that allows you to modify request properties.
+ */
+ public Builder toBuilder() {
+ return new Builder()
+ .applicationId(applicationId)
+ .opcRequestId(opcRequestId)
+ .ifMatch(ifMatch);
+ }
+
+ /**
+ * Return a new builder for this request object.
+ *
+ * @return builder for the request object
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ @Override
+ public String toString() {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("(");
+ sb.append("super=").append(super.toString());
+ sb.append(",applicationId=").append(String.valueOf(this.applicationId));
+ sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId));
+ sb.append(",ifMatch=").append(String.valueOf(this.ifMatch));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof CascadingDeleteApplicationRequest)) {
+ return false;
+ }
+
+ CascadingDeleteApplicationRequest other = (CascadingDeleteApplicationRequest) o;
+ return super.equals(o)
+ && java.util.Objects.equals(this.applicationId, other.applicationId)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId)
+ && java.util.Objects.equals(this.ifMatch, other.ifMatch);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.applicationId == null ? 43 : this.applicationId.hashCode());
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/responses/CascadingDeleteApplicationResponse.java b/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/responses/CascadingDeleteApplicationResponse.java
new file mode 100644
index 00000000000..08341db3e62
--- /dev/null
+++ b/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/responses/CascadingDeleteApplicationResponse.java
@@ -0,0 +1,178 @@
+/**
+ * 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.dataflow.responses;
+
+import com.oracle.bmc.dataflow.model.*;
+
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200129")
+public class CascadingDeleteApplicationResponse extends com.oracle.bmc.responses.BmcResponse {
+ /** Unique Oracle assigned identifier for a work request. */
+ private String opcWorkRequestId;
+
+ /**
+ * Unique Oracle assigned identifier for a work request.
+ *
+ * @return the value
+ */
+ public String getOpcWorkRequestId() {
+ return opcWorkRequestId;
+ }
+
+ /**
+ * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ *
+ * @return the value
+ */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+
+ @java.beans.ConstructorProperties({
+ "__httpStatusCode__",
+ "headers",
+ "opcWorkRequestId",
+ "opcRequestId"
+ })
+ private CascadingDeleteApplicationResponse(
+ int __httpStatusCode__,
+ java.util.Map> headers,
+ String opcWorkRequestId,
+ String opcRequestId) {
+ super(__httpStatusCode__, headers);
+ this.opcWorkRequestId = opcWorkRequestId;
+ this.opcRequestId = opcRequestId;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.responses.BmcResponse.Builder<
+ CascadingDeleteApplicationResponse> {
+ private int __httpStatusCode__;
+
+ @Override
+ public Builder __httpStatusCode__(int __httpStatusCode__) {
+ this.__httpStatusCode__ = __httpStatusCode__;
+ return this;
+ }
+
+ private java.util.Map> headers;
+
+ @Override
+ public Builder headers(java.util.Map> headers) {
+ this.headers = headers;
+ return this;
+ }
+
+ /** Unique Oracle assigned identifier for a work request. */
+ private String opcWorkRequestId;
+
+ /**
+ * Unique Oracle assigned identifier for a work request.
+ *
+ * @param opcWorkRequestId the value to set
+ * @return this builder
+ */
+ public Builder opcWorkRequestId(String opcWorkRequestId) {
+ this.opcWorkRequestId = opcWorkRequestId;
+ return this;
+ }
+
+ /**
+ * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /**
+ * Copy method to populate the builder with values from the given instance.
+ *
+ * @return this builder instance
+ */
+ @Override
+ public Builder copy(CascadingDeleteApplicationResponse o) {
+ __httpStatusCode__(o.get__httpStatusCode__());
+ headers(o.getHeaders());
+ opcWorkRequestId(o.getOpcWorkRequestId());
+ opcRequestId(o.getOpcRequestId());
+
+ return this;
+ }
+
+ /**
+ * Build the response object.
+ *
+ * @return the response object
+ */
+ @Override
+ public CascadingDeleteApplicationResponse build() {
+ return new CascadingDeleteApplicationResponse(
+ __httpStatusCode__, headers, opcWorkRequestId, opcRequestId);
+ }
+ }
+
+ /**
+ * Return a new builder for this response object.
+ *
+ * @return builder for the response object
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ @Override
+ public String toString() {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("(");
+ sb.append("super=").append(super.toString());
+ sb.append(",opcWorkRequestId=").append(String.valueOf(opcWorkRequestId));
+ sb.append(",opcRequestId=").append(String.valueOf(opcRequestId));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof CascadingDeleteApplicationResponse)) {
+ return false;
+ }
+
+ CascadingDeleteApplicationResponse other = (CascadingDeleteApplicationResponse) o;
+ return super.equals(o)
+ && java.util.Objects.equals(this.opcWorkRequestId, other.opcWorkRequestId)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.opcWorkRequestId == null ? 43 : this.opcWorkRequestId.hashCode());
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-dataflow/src/main/resources/com/oracle/bmc/dataflow/client.properties b/bmc-dataflow/src/main/resources/com/oracle/bmc/dataflow/client.properties
index f6bfedea309..e6afb7c5349 100644
--- a/bmc-dataflow/src/main/resources/com/oracle/bmc/dataflow/client.properties
+++ b/bmc-dataflow/src/main/resources/com/oracle/bmc/dataflow/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.104
+java.client.codegen.version = 2.113
java.minimum.client.codegen.version.from.client = 2.100
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200129")
\ No newline at end of file
diff --git a/bmc-dataintegration/pom.xml b/bmc-dataintegration/pom.xml
index eca2bcdec48..880721e4aee 100644
--- a/bmc-dataintegration/pom.xml
+++ b/bmc-dataintegration/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.54.0
+ 3.55.0
../pom.xml
oci-java-sdk-dataintegration
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.54.0
+ 3.55.0
diff --git a/bmc-dataintegration/src/main/resources/com/oracle/bmc/dataintegration/client.properties b/bmc-dataintegration/src/main/resources/com/oracle/bmc/dataintegration/client.properties
index b5d9eac8f8a..dc8dd144906 100644
--- a/bmc-dataintegration/src/main/resources/com/oracle/bmc/dataintegration/client.properties
+++ b/bmc-dataintegration/src/main/resources/com/oracle/bmc/dataintegration/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.104
+java.client.codegen.version = 2.113
java.minimum.client.codegen.version.from.client = 2.100
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200430")
\ No newline at end of file
diff --git a/bmc-datalabelingservice/pom.xml b/bmc-datalabelingservice/pom.xml
index ebd91cc94af..78e3e758db3 100644
--- a/bmc-datalabelingservice/pom.xml
+++ b/bmc-datalabelingservice/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.54.0
+ 3.55.0
../pom.xml
oci-java-sdk-datalabelingservice
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.54.0
+ 3.55.0
\ No newline at end of file
diff --git a/bmc-datalabelingservice/src/main/resources/com/oracle/bmc/datalabelingservice/client.properties b/bmc-datalabelingservice/src/main/resources/com/oracle/bmc/datalabelingservice/client.properties
index bec244aded0..b1d9f6bfa28 100644
--- a/bmc-datalabelingservice/src/main/resources/com/oracle/bmc/datalabelingservice/client.properties
+++ b/bmc-datalabelingservice/src/main/resources/com/oracle/bmc/datalabelingservice/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.104
+java.client.codegen.version = 2.113
java.minimum.client.codegen.version.from.client = 2.100
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20211001")
\ No newline at end of file
diff --git a/bmc-datalabelingservicedataplane/pom.xml b/bmc-datalabelingservicedataplane/pom.xml
index 2c2e52b863b..f3b37821219 100644
--- a/bmc-datalabelingservicedataplane/pom.xml
+++ b/bmc-datalabelingservicedataplane/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.54.0
+ 3.55.0
../pom.xml
oci-java-sdk-datalabelingservicedataplane
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.54.0
+ 3.55.0
\ No newline at end of file
diff --git a/bmc-datalabelingservicedataplane/src/main/resources/com/oracle/bmc/datalabelingservicedataplane/client.properties b/bmc-datalabelingservicedataplane/src/main/resources/com/oracle/bmc/datalabelingservicedataplane/client.properties
index bec244aded0..b1d9f6bfa28 100644
--- a/bmc-datalabelingservicedataplane/src/main/resources/com/oracle/bmc/datalabelingservicedataplane/client.properties
+++ b/bmc-datalabelingservicedataplane/src/main/resources/com/oracle/bmc/datalabelingservicedataplane/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.104
+java.client.codegen.version = 2.113
java.minimum.client.codegen.version.from.client = 2.100
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20211001")
\ No newline at end of file
diff --git a/bmc-datasafe/pom.xml b/bmc-datasafe/pom.xml
index 06cb91c370a..ae3fbad8bf2 100644
--- a/bmc-datasafe/pom.xml
+++ b/bmc-datasafe/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.54.0
+ 3.55.0
../pom.xml
oci-java-sdk-datasafe
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.54.0
+ 3.55.0
diff --git a/bmc-datasafe/src/main/resources/com/oracle/bmc/datasafe/client.properties b/bmc-datasafe/src/main/resources/com/oracle/bmc/datasafe/client.properties
index f5c0d9ad84f..758eca6b499 100644
--- a/bmc-datasafe/src/main/resources/com/oracle/bmc/datasafe/client.properties
+++ b/bmc-datasafe/src/main/resources/com/oracle/bmc/datasafe/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.104
+java.client.codegen.version = 2.113
java.minimum.client.codegen.version.from.client = 2.100
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20181201")
\ No newline at end of file
diff --git a/bmc-datascience/pom.xml b/bmc-datascience/pom.xml
index 1f80073d533..9921854cf40 100644
--- a/bmc-datascience/pom.xml
+++ b/bmc-datascience/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.54.0
+ 3.55.0
../pom.xml
oci-java-sdk-datascience
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.54.0
+ 3.55.0
diff --git a/bmc-datascience/src/main/resources/com/oracle/bmc/datascience/client.properties b/bmc-datascience/src/main/resources/com/oracle/bmc/datascience/client.properties
index b2ffe0b1801..1228fc727a7 100644
--- a/bmc-datascience/src/main/resources/com/oracle/bmc/datascience/client.properties
+++ b/bmc-datascience/src/main/resources/com/oracle/bmc/datascience/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.104
+java.client.codegen.version = 2.113
java.minimum.client.codegen.version.from.client = 2.100
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101")
\ No newline at end of file
diff --git a/bmc-delegateaccesscontrol/pom.xml b/bmc-delegateaccesscontrol/pom.xml
index 67aae6d0068..3654cb8a190 100644
--- a/bmc-delegateaccesscontrol/pom.xml
+++ b/bmc-delegateaccesscontrol/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.54.0
+ 3.55.0
../pom.xml
oci-java-sdk-delegateaccesscontrol
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.54.0
+ 3.55.0
\ No newline at end of file
diff --git a/bmc-delegateaccesscontrol/src/main/resources/com/oracle/bmc/delegateaccesscontrol/client.properties b/bmc-delegateaccesscontrol/src/main/resources/com/oracle/bmc/delegateaccesscontrol/client.properties
index 0447d7c5238..82792b34625 100644
--- a/bmc-delegateaccesscontrol/src/main/resources/com/oracle/bmc/delegateaccesscontrol/client.properties
+++ b/bmc-delegateaccesscontrol/src/main/resources/com/oracle/bmc/delegateaccesscontrol/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.104
+java.client.codegen.version = 2.113
java.minimum.client.codegen.version.from.client = 2.100
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20230801")
\ No newline at end of file
diff --git a/bmc-demandsignal/pom.xml b/bmc-demandsignal/pom.xml
index 8944503b8e8..d4910b9e7ab 100644
--- a/bmc-demandsignal/pom.xml
+++ b/bmc-demandsignal/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.54.0
+ 3.55.0
../pom.xml
oci-java-sdk-demandsignal
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.54.0
+ 3.55.0
\ No newline at end of file
diff --git a/bmc-demandsignal/src/main/resources/com/oracle/bmc/demandsignal/client.properties b/bmc-demandsignal/src/main/resources/com/oracle/bmc/demandsignal/client.properties
index 50b50b22f0d..be82145b2f3 100644
--- a/bmc-demandsignal/src/main/resources/com/oracle/bmc/demandsignal/client.properties
+++ b/bmc-demandsignal/src/main/resources/com/oracle/bmc/demandsignal/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.104
+java.client.codegen.version = 2.113
java.minimum.client.codegen.version.from.client = 2.100
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20240430")
\ No newline at end of file
diff --git a/bmc-desktops/pom.xml b/bmc-desktops/pom.xml
index 4a3fcfd682f..71e8d7b7d0e 100644
--- a/bmc-desktops/pom.xml
+++ b/bmc-desktops/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.54.0
+ 3.55.0
../pom.xml
oci-java-sdk-desktops
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.54.0
+ 3.55.0
\ No newline at end of file
diff --git a/bmc-desktops/src/main/resources/com/oracle/bmc/desktops/client.properties b/bmc-desktops/src/main/resources/com/oracle/bmc/desktops/client.properties
index 55299c1b1f5..85cdc7a9eb8 100644
--- a/bmc-desktops/src/main/resources/com/oracle/bmc/desktops/client.properties
+++ b/bmc-desktops/src/main/resources/com/oracle/bmc/desktops/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.104
+java.client.codegen.version = 2.113
java.minimum.client.codegen.version.from.client = 2.100
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220618")
\ No newline at end of file
diff --git a/bmc-devops/pom.xml b/bmc-devops/pom.xml
index 8867fdd9598..608a68e5d57 100644
--- a/bmc-devops/pom.xml
+++ b/bmc-devops/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.54.0
+ 3.55.0
../pom.xml
oci-java-sdk-devops
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.54.0
+ 3.55.0
\ No newline at end of file
diff --git a/bmc-devops/src/main/resources/com/oracle/bmc/devops/client.properties b/bmc-devops/src/main/resources/com/oracle/bmc/devops/client.properties
index 657d8786311..46ea16ba359 100644
--- a/bmc-devops/src/main/resources/com/oracle/bmc/devops/client.properties
+++ b/bmc-devops/src/main/resources/com/oracle/bmc/devops/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.104
+java.client.codegen.version = 2.113
java.minimum.client.codegen.version.from.client = 2.100
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20210630")
\ No newline at end of file
diff --git a/bmc-disasterrecovery/pom.xml b/bmc-disasterrecovery/pom.xml
index 54b09edca01..5cac4d9a7a9 100644
--- a/bmc-disasterrecovery/pom.xml
+++ b/bmc-disasterrecovery/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.54.0
+ 3.55.0
../pom.xml
oci-java-sdk-disasterrecovery
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.54.0
+ 3.55.0
\ No newline at end of file
diff --git a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/DisasterRecovery.java b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/DisasterRecovery.java
index 87907350573..f8200c9ec45 100644
--- a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/DisasterRecovery.java
+++ b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/DisasterRecovery.java
@@ -436,6 +436,21 @@ DisassociateDrProtectionGroupResponse disassociateDrProtectionGroup(
*/
PauseDrPlanExecutionResponse pauseDrPlanExecution(PauseDrPlanExecutionRequest request);
+ /**
+ * Refresh DR Plan identified by *drPlanId*.
+ *
+ * @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 RefreshDrPlan API.
+ */
+ RefreshDrPlanResponse refreshDrPlan(RefreshDrPlanRequest request);
+
/**
* Resume the DR plan execution identified by *drPlanExecutionId*.
*
@@ -533,6 +548,21 @@ DisassociateDrProtectionGroupResponse disassociateDrProtectionGroup(
UpdateDrProtectionGroupRoleResponse updateDrProtectionGroupRole(
UpdateDrProtectionGroupRoleRequest request);
+ /**
+ * Verify DR Plan identified by *drPlanId*.
+ *
+ * @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 VerifyDrPlan API.
+ */
+ VerifyDrPlanResponse verifyDrPlan(VerifyDrPlanRequest request);
+
/**
* Gets the pre-configured waiters available for resources for this service.
*
diff --git a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/DisasterRecoveryAsync.java b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/DisasterRecoveryAsync.java
index fa43ca70c3f..9b984764eca 100644
--- a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/DisasterRecoveryAsync.java
+++ b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/DisasterRecoveryAsync.java
@@ -431,6 +431,21 @@ java.util.concurrent.Future pauseDrPlanExecution(
PauseDrPlanExecutionRequest, PauseDrPlanExecutionResponse>
handler);
+ /**
+ * Refresh DR Plan identified by *drPlanId*.
+ *
+ * @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 refreshDrPlan(
+ RefreshDrPlanRequest request,
+ com.oracle.bmc.responses.AsyncHandler
+ handler);
+
/**
* Resume the DR plan execution identified by *drPlanExecutionId*.
*
@@ -526,4 +541,19 @@ java.util.concurrent.Future updateDrProtect
com.oracle.bmc.responses.AsyncHandler<
UpdateDrProtectionGroupRoleRequest, UpdateDrProtectionGroupRoleResponse>
handler);
+
+ /**
+ * Verify DR Plan identified by *drPlanId*.
+ *
+ * @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 verifyDrPlan(
+ VerifyDrPlanRequest request,
+ com.oracle.bmc.responses.AsyncHandler
+ handler);
}
diff --git a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/DisasterRecoveryAsyncClient.java b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/DisasterRecoveryAsyncClient.java
index 0ec4779e0c3..c5dcde71be1 100644
--- a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/DisasterRecoveryAsyncClient.java
+++ b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/DisasterRecoveryAsyncClient.java
@@ -714,6 +714,7 @@ public java.util.concurrent.Future listDrPlans(
.appendQueryParam("page", request.getPage())
.appendEnumQueryParam("sortOrder", request.getSortOrder())
.appendEnumQueryParam("sortBy", request.getSortBy())
+ .appendEnumQueryParam("lifecycleSubState", request.getLifecycleSubState())
.accept("application/json")
.appendHeader("opc-request-id", request.getOpcRequestId())
.handleBody(
@@ -915,6 +916,41 @@ public java.util.concurrent.Future pauseDrPlanExec
.callAsync(handler);
}
+ @Override
+ public java.util.concurrent.Future refreshDrPlan(
+ RefreshDrPlanRequest request,
+ final com.oracle.bmc.responses.AsyncHandler
+ handler) {
+ Objects.requireNonNull(
+ request.getRefreshDrPlanDetails(), "refreshDrPlanDetails is required");
+
+ Validate.notBlank(request.getDrPlanId(), "drPlanId must not be blank");
+
+ return clientCall(request, RefreshDrPlanResponse::builder)
+ .logger(LOG, "refreshDrPlan")
+ .serviceDetails(
+ "DisasterRecovery",
+ "RefreshDrPlan",
+ "https://docs.oracle.com/iaas/api/#/en/disaster-recovery/20220125/DrPlan/RefreshDrPlan")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(RefreshDrPlanRequest::builder)
+ .basePath("/20220125")
+ .appendPathParam("drPlans")
+ .appendPathParam(request.getDrPlanId())
+ .appendPathParam("actions")
+ .appendPathParam("refresh")
+ .accept("application/json")
+ .appendHeader("if-match", request.getIfMatch())
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .hasBody()
+ .handleResponseHeaderString(
+ "opc-work-request-id", RefreshDrPlanResponse.Builder::opcWorkRequestId)
+ .handleResponseHeaderString(
+ "opc-request-id", RefreshDrPlanResponse.Builder::opcRequestId)
+ .callAsync(handler);
+ }
+
@Override
public java.util.concurrent.Future resumeDrPlanExecution(
ResumeDrPlanExecutionRequest request,
@@ -1134,6 +1170,40 @@ public java.util.concurrent.Future updateDrProt
.callAsync(handler);
}
+ @Override
+ public java.util.concurrent.Future verifyDrPlan(
+ VerifyDrPlanRequest request,
+ final com.oracle.bmc.responses.AsyncHandler
+ handler) {
+ Objects.requireNonNull(request.getVerifyDrPlanDetails(), "verifyDrPlanDetails is required");
+
+ Validate.notBlank(request.getDrPlanId(), "drPlanId must not be blank");
+
+ return clientCall(request, VerifyDrPlanResponse::builder)
+ .logger(LOG, "verifyDrPlan")
+ .serviceDetails(
+ "DisasterRecovery",
+ "VerifyDrPlan",
+ "https://docs.oracle.com/iaas/api/#/en/disaster-recovery/20220125/DrPlan/VerifyDrPlan")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(VerifyDrPlanRequest::builder)
+ .basePath("/20220125")
+ .appendPathParam("drPlans")
+ .appendPathParam(request.getDrPlanId())
+ .appendPathParam("actions")
+ .appendPathParam("verify")
+ .accept("application/json")
+ .appendHeader("if-match", request.getIfMatch())
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .hasBody()
+ .handleResponseHeaderString(
+ "opc-work-request-id", VerifyDrPlanResponse.Builder::opcWorkRequestId)
+ .handleResponseHeaderString(
+ "opc-request-id", VerifyDrPlanResponse.Builder::opcRequestId)
+ .callAsync(handler);
+ }
+
/**
* Create a new client instance.
*
diff --git a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/DisasterRecoveryClient.java b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/DisasterRecoveryClient.java
index 5276c6f798b..671afbf351d 100644
--- a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/DisasterRecoveryClient.java
+++ b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/DisasterRecoveryClient.java
@@ -693,6 +693,7 @@ public ListDrPlansResponse listDrPlans(ListDrPlansRequest request) {
.appendQueryParam("page", request.getPage())
.appendEnumQueryParam("sortOrder", request.getSortOrder())
.appendEnumQueryParam("sortBy", request.getSortBy())
+ .appendEnumQueryParam("lifecycleSubState", request.getLifecycleSubState())
.accept("application/json")
.appendHeader("opc-request-id", request.getOpcRequestId())
.operationUsesDefaultRetries()
@@ -882,6 +883,39 @@ public PauseDrPlanExecutionResponse pauseDrPlanExecution(PauseDrPlanExecutionReq
.callSync();
}
+ @Override
+ public RefreshDrPlanResponse refreshDrPlan(RefreshDrPlanRequest request) {
+ Objects.requireNonNull(
+ request.getRefreshDrPlanDetails(), "refreshDrPlanDetails is required");
+
+ Validate.notBlank(request.getDrPlanId(), "drPlanId must not be blank");
+
+ return clientCall(request, RefreshDrPlanResponse::builder)
+ .logger(LOG, "refreshDrPlan")
+ .serviceDetails(
+ "DisasterRecovery",
+ "RefreshDrPlan",
+ "https://docs.oracle.com/iaas/api/#/en/disaster-recovery/20220125/DrPlan/RefreshDrPlan")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(RefreshDrPlanRequest::builder)
+ .basePath("/20220125")
+ .appendPathParam("drPlans")
+ .appendPathParam(request.getDrPlanId())
+ .appendPathParam("actions")
+ .appendPathParam("refresh")
+ .accept("application/json")
+ .appendHeader("if-match", request.getIfMatch())
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .operationUsesDefaultRetries()
+ .hasBody()
+ .handleResponseHeaderString(
+ "opc-work-request-id", RefreshDrPlanResponse.Builder::opcWorkRequestId)
+ .handleResponseHeaderString(
+ "opc-request-id", RefreshDrPlanResponse.Builder::opcRequestId)
+ .callSync();
+ }
+
@Override
public ResumeDrPlanExecutionResponse resumeDrPlanExecution(
ResumeDrPlanExecutionRequest request) {
@@ -1086,6 +1120,38 @@ public UpdateDrProtectionGroupRoleResponse updateDrProtectionGroupRole(
.callSync();
}
+ @Override
+ public VerifyDrPlanResponse verifyDrPlan(VerifyDrPlanRequest request) {
+ Objects.requireNonNull(request.getVerifyDrPlanDetails(), "verifyDrPlanDetails is required");
+
+ Validate.notBlank(request.getDrPlanId(), "drPlanId must not be blank");
+
+ return clientCall(request, VerifyDrPlanResponse::builder)
+ .logger(LOG, "verifyDrPlan")
+ .serviceDetails(
+ "DisasterRecovery",
+ "VerifyDrPlan",
+ "https://docs.oracle.com/iaas/api/#/en/disaster-recovery/20220125/DrPlan/VerifyDrPlan")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(VerifyDrPlanRequest::builder)
+ .basePath("/20220125")
+ .appendPathParam("drPlans")
+ .appendPathParam(request.getDrPlanId())
+ .appendPathParam("actions")
+ .appendPathParam("verify")
+ .accept("application/json")
+ .appendHeader("if-match", request.getIfMatch())
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .operationUsesDefaultRetries()
+ .hasBody()
+ .handleResponseHeaderString(
+ "opc-work-request-id", VerifyDrPlanResponse.Builder::opcWorkRequestId)
+ .handleResponseHeaderString(
+ "opc-request-id", VerifyDrPlanResponse.Builder::opcRequestId)
+ .callSync();
+ }
+
@Override
public DisasterRecoveryWaiters getWaiters() {
return waiters;
diff --git a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/CreateDrPlanDetails.java b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/CreateDrPlanDetails.java
index 263dc6f8a10..1f80c1e24d0 100644
--- a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/CreateDrPlanDetails.java
+++ b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/CreateDrPlanDetails.java
@@ -27,6 +27,7 @@ public final class CreateDrPlanDetails
"displayName",
"type",
"drProtectionGroupId",
+ "sourcePlanId",
"freeformTags",
"definedTags"
})
@@ -34,12 +35,14 @@ public CreateDrPlanDetails(
String displayName,
DrPlanType type,
String drProtectionGroupId,
+ String sourcePlanId,
java.util.Map freeformTags,
java.util.Map> definedTags) {
super();
this.displayName = displayName;
this.type = type;
this.drProtectionGroupId = drProtectionGroupId;
+ this.sourcePlanId = sourcePlanId;
this.freeformTags = freeformTags;
this.definedTags = definedTags;
}
@@ -103,6 +106,27 @@ public Builder drProtectionGroupId(String drProtectionGroupId) {
this.__explicitlySet__.add("drProtectionGroupId");
return this;
}
+ /**
+ * The OCID of the source DR plan that should be cloned.
+ *
+ * Example: {@code ocid1.drplan.oc1..uniqueID}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("sourcePlanId")
+ private String sourcePlanId;
+
+ /**
+ * The OCID of the source DR plan that should be cloned.
+ *
+ *
Example: {@code ocid1.drplan.oc1..uniqueID}
+ *
+ * @param sourcePlanId the value to set
+ * @return this builder
+ */
+ public Builder sourcePlanId(String sourcePlanId) {
+ this.sourcePlanId = sourcePlanId;
+ this.__explicitlySet__.add("sourcePlanId");
+ return this;
+ }
/**
* Simple key-value pair that is applied without any predefined name, type or scope. Exists
* for cross-compatibility only.
@@ -158,6 +182,7 @@ public CreateDrPlanDetails build() {
this.displayName,
this.type,
this.drProtectionGroupId,
+ this.sourcePlanId,
this.freeformTags,
this.definedTags);
for (String explicitlySetProperty : this.__explicitlySet__) {
@@ -177,6 +202,9 @@ public Builder copy(CreateDrPlanDetails model) {
if (model.wasPropertyExplicitlySet("drProtectionGroupId")) {
this.drProtectionGroupId(model.getDrProtectionGroupId());
}
+ if (model.wasPropertyExplicitlySet("sourcePlanId")) {
+ this.sourcePlanId(model.getSourcePlanId());
+ }
if (model.wasPropertyExplicitlySet("freeformTags")) {
this.freeformTags(model.getFreeformTags());
}
@@ -247,6 +275,25 @@ public String getDrProtectionGroupId() {
return drProtectionGroupId;
}
+ /**
+ * The OCID of the source DR plan that should be cloned.
+ *
+ *
Example: {@code ocid1.drplan.oc1..uniqueID}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("sourcePlanId")
+ private final String sourcePlanId;
+
+ /**
+ * The OCID of the source DR plan that should be cloned.
+ *
+ *
Example: {@code ocid1.drplan.oc1..uniqueID}
+ *
+ * @return the value
+ */
+ public String getSourcePlanId() {
+ return sourcePlanId;
+ }
+
/**
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for
* cross-compatibility only.
@@ -305,6 +352,7 @@ public String toString(boolean includeByteArrayContents) {
sb.append("displayName=").append(String.valueOf(this.displayName));
sb.append(", type=").append(String.valueOf(this.type));
sb.append(", drProtectionGroupId=").append(String.valueOf(this.drProtectionGroupId));
+ sb.append(", sourcePlanId=").append(String.valueOf(this.sourcePlanId));
sb.append(", freeformTags=").append(String.valueOf(this.freeformTags));
sb.append(", definedTags=").append(String.valueOf(this.definedTags));
sb.append(")");
@@ -324,6 +372,7 @@ public boolean equals(Object o) {
return java.util.Objects.equals(this.displayName, other.displayName)
&& java.util.Objects.equals(this.type, other.type)
&& java.util.Objects.equals(this.drProtectionGroupId, other.drProtectionGroupId)
+ && java.util.Objects.equals(this.sourcePlanId, other.sourcePlanId)
&& java.util.Objects.equals(this.freeformTags, other.freeformTags)
&& java.util.Objects.equals(this.definedTags, other.definedTags)
&& super.equals(other);
@@ -340,6 +389,7 @@ public int hashCode() {
+ (this.drProtectionGroupId == null
? 43
: this.drProtectionGroupId.hashCode());
+ result = (result * PRIME) + (this.sourcePlanId == null ? 43 : this.sourcePlanId.hashCode());
result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode());
result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode());
result = (result * PRIME) + super.hashCode();
diff --git a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrPlan.java b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrPlan.java
index efbd241d2dc..7f155500978 100644
--- a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrPlan.java
+++ b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrPlan.java
@@ -31,8 +31,10 @@ public final class DrPlan extends com.oracle.bmc.http.client.internal.Explicitly
"drProtectionGroupId",
"peerDrProtectionGroupId",
"peerRegion",
+ "sourcePlanId",
"planGroups",
"lifecycleState",
+ "lifecycleSubState",
"lifeCycleDetails",
"freeformTags",
"definedTags",
@@ -48,8 +50,10 @@ public DrPlan(
String drProtectionGroupId,
String peerDrProtectionGroupId,
String peerRegion,
+ String sourcePlanId,
java.util.List planGroups,
DrPlanLifecycleState lifecycleState,
+ DrPlanLifecycleSubState lifecycleSubState,
String lifeCycleDetails,
java.util.Map freeformTags,
java.util.Map> definedTags,
@@ -64,8 +68,10 @@ public DrPlan(
this.drProtectionGroupId = drProtectionGroupId;
this.peerDrProtectionGroupId = peerDrProtectionGroupId;
this.peerRegion = peerRegion;
+ this.sourcePlanId = sourcePlanId;
this.planGroups = planGroups;
this.lifecycleState = lifecycleState;
+ this.lifecycleSubState = lifecycleSubState;
this.lifeCycleDetails = lifeCycleDetails;
this.freeformTags = freeformTags;
this.definedTags = definedTags;
@@ -259,6 +265,29 @@ public Builder peerRegion(String peerRegion) {
this.__explicitlySet__.add("peerRegion");
return this;
}
+ /**
+ * If this is a cloned DR plan, the OCID of the source DR plan that was used to clone this
+ * DR plan. If this DR plan was not cloned, then the value for this will be {@code null}.
+ *
+ * Example: {@code ocid1.drplan.oc1..uniqueID}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("sourcePlanId")
+ private String sourcePlanId;
+
+ /**
+ * If this is a cloned DR plan, the OCID of the source DR plan that was used to clone this
+ * DR plan. If this DR plan was not cloned, then the value for this will be {@code null}.
+ *
+ *
Example: {@code ocid1.drplan.oc1..uniqueID}
+ *
+ * @param sourcePlanId the value to set
+ * @return this builder
+ */
+ public Builder sourcePlanId(String sourcePlanId) {
+ this.sourcePlanId = sourcePlanId;
+ this.__explicitlySet__.add("sourcePlanId");
+ return this;
+ }
/** The list of groups in this DR plan. */
@com.fasterxml.jackson.annotation.JsonProperty("planGroups")
private java.util.List planGroups;
@@ -289,6 +318,21 @@ public Builder lifecycleState(DrPlanLifecycleState lifecycleState) {
this.__explicitlySet__.add("lifecycleState");
return this;
}
+ /** The current state of the DR plan. */
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleSubState")
+ private DrPlanLifecycleSubState lifecycleSubState;
+
+ /**
+ * The current state of the DR plan.
+ *
+ * @param lifecycleSubState the value to set
+ * @return this builder
+ */
+ public Builder lifecycleSubState(DrPlanLifecycleSubState lifecycleSubState) {
+ this.lifecycleSubState = lifecycleSubState;
+ this.__explicitlySet__.add("lifecycleSubState");
+ return this;
+ }
/** A message describing the DR plan's current state in more detail. */
@com.fasterxml.jackson.annotation.JsonProperty("lifeCycleDetails")
private String lifeCycleDetails;
@@ -386,8 +430,10 @@ public DrPlan build() {
this.drProtectionGroupId,
this.peerDrProtectionGroupId,
this.peerRegion,
+ this.sourcePlanId,
this.planGroups,
this.lifecycleState,
+ this.lifecycleSubState,
this.lifeCycleDetails,
this.freeformTags,
this.definedTags,
@@ -427,12 +473,18 @@ public Builder copy(DrPlan model) {
if (model.wasPropertyExplicitlySet("peerRegion")) {
this.peerRegion(model.getPeerRegion());
}
+ if (model.wasPropertyExplicitlySet("sourcePlanId")) {
+ this.sourcePlanId(model.getSourcePlanId());
+ }
if (model.wasPropertyExplicitlySet("planGroups")) {
this.planGroups(model.getPlanGroups());
}
if (model.wasPropertyExplicitlySet("lifecycleState")) {
this.lifecycleState(model.getLifecycleState());
}
+ if (model.wasPropertyExplicitlySet("lifecycleSubState")) {
+ this.lifecycleSubState(model.getLifecycleSubState());
+ }
if (model.wasPropertyExplicitlySet("lifeCycleDetails")) {
this.lifeCycleDetails(model.getLifeCycleDetails());
}
@@ -623,6 +675,27 @@ public String getPeerRegion() {
return peerRegion;
}
+ /**
+ * If this is a cloned DR plan, the OCID of the source DR plan that was used to clone this DR
+ * plan. If this DR plan was not cloned, then the value for this will be {@code null}.
+ *
+ * Example: {@code ocid1.drplan.oc1..uniqueID}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("sourcePlanId")
+ private final String sourcePlanId;
+
+ /**
+ * If this is a cloned DR plan, the OCID of the source DR plan that was used to clone this DR
+ * plan. If this DR plan was not cloned, then the value for this will be {@code null}.
+ *
+ *
Example: {@code ocid1.drplan.oc1..uniqueID}
+ *
+ * @return the value
+ */
+ public String getSourcePlanId() {
+ return sourcePlanId;
+ }
+
/** The list of groups in this DR plan. */
@com.fasterxml.jackson.annotation.JsonProperty("planGroups")
private final java.util.List planGroups;
@@ -649,6 +722,19 @@ public DrPlanLifecycleState getLifecycleState() {
return lifecycleState;
}
+ /** The current state of the DR plan. */
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleSubState")
+ private final DrPlanLifecycleSubState lifecycleSubState;
+
+ /**
+ * The current state of the DR plan.
+ *
+ * @return the value
+ */
+ public DrPlanLifecycleSubState getLifecycleSubState() {
+ return lifecycleSubState;
+ }
+
/** A message describing the DR plan's current state in more detail. */
@com.fasterxml.jackson.annotation.JsonProperty("lifeCycleDetails")
private final String lifeCycleDetails;
@@ -746,8 +832,10 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", peerDrProtectionGroupId=")
.append(String.valueOf(this.peerDrProtectionGroupId));
sb.append(", peerRegion=").append(String.valueOf(this.peerRegion));
+ sb.append(", sourcePlanId=").append(String.valueOf(this.sourcePlanId));
sb.append(", planGroups=").append(String.valueOf(this.planGroups));
sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState));
+ sb.append(", lifecycleSubState=").append(String.valueOf(this.lifecycleSubState));
sb.append(", lifeCycleDetails=").append(String.valueOf(this.lifeCycleDetails));
sb.append(", freeformTags=").append(String.valueOf(this.freeformTags));
sb.append(", definedTags=").append(String.valueOf(this.definedTags));
@@ -776,8 +864,10 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(
this.peerDrProtectionGroupId, other.peerDrProtectionGroupId)
&& java.util.Objects.equals(this.peerRegion, other.peerRegion)
+ && java.util.Objects.equals(this.sourcePlanId, other.sourcePlanId)
&& java.util.Objects.equals(this.planGroups, other.planGroups)
&& java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
+ && java.util.Objects.equals(this.lifecycleSubState, other.lifecycleSubState)
&& java.util.Objects.equals(this.lifeCycleDetails, other.lifeCycleDetails)
&& java.util.Objects.equals(this.freeformTags, other.freeformTags)
&& java.util.Objects.equals(this.definedTags, other.definedTags)
@@ -808,10 +898,14 @@ public int hashCode() {
? 43
: this.peerDrProtectionGroupId.hashCode());
result = (result * PRIME) + (this.peerRegion == null ? 43 : this.peerRegion.hashCode());
+ result = (result * PRIME) + (this.sourcePlanId == null ? 43 : this.sourcePlanId.hashCode());
result = (result * PRIME) + (this.planGroups == null ? 43 : this.planGroups.hashCode());
result =
(result * PRIME)
+ (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode());
+ result =
+ (result * PRIME)
+ + (this.lifecycleSubState == null ? 43 : this.lifecycleSubState.hashCode());
result =
(result * PRIME)
+ (this.lifeCycleDetails == null ? 43 : this.lifeCycleDetails.hashCode());
diff --git a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrPlanGroup.java b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrPlanGroup.java
index 68c8f1bed27..0b7616d03a7 100644
--- a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrPlanGroup.java
+++ b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrPlanGroup.java
@@ -21,16 +21,25 @@
com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
public final class DrPlanGroup extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"id", "type", "displayName", "isPauseEnabled", "steps"})
+ @java.beans.ConstructorProperties({
+ "id",
+ "type",
+ "refreshStatus",
+ "displayName",
+ "isPauseEnabled",
+ "steps"
+ })
public DrPlanGroup(
String id,
DrPlanGroupType type,
+ DrPlanGroupRefreshStatus refreshStatus,
String displayName,
Boolean isPauseEnabled,
java.util.List steps) {
super();
this.id = id;
this.type = type;
+ this.refreshStatus = refreshStatus;
this.displayName = displayName;
this.isPauseEnabled = isPauseEnabled;
this.steps = steps;
@@ -80,6 +89,27 @@ public Builder type(DrPlanGroupType type) {
this.__explicitlySet__.add("type");
return this;
}
+ /**
+ * The DR plan group refresh status.
+ *
+ * Example: {@code GROUP_MODIFIED}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("refreshStatus")
+ private DrPlanGroupRefreshStatus refreshStatus;
+
+ /**
+ * The DR plan group refresh status.
+ *
+ *
Example: {@code GROUP_MODIFIED}
+ *
+ * @param refreshStatus the value to set
+ * @return this builder
+ */
+ public Builder refreshStatus(DrPlanGroupRefreshStatus refreshStatus) {
+ this.refreshStatus = refreshStatus;
+ this.__explicitlySet__.add("refreshStatus");
+ return this;
+ }
/**
* The display name of the group.
*
@@ -148,7 +178,12 @@ public Builder steps(java.util.List steps) {
public DrPlanGroup build() {
DrPlanGroup model =
new DrPlanGroup(
- this.id, this.type, this.displayName, this.isPauseEnabled, this.steps);
+ this.id,
+ this.type,
+ this.refreshStatus,
+ this.displayName,
+ this.isPauseEnabled,
+ this.steps);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -163,6 +198,9 @@ public Builder copy(DrPlanGroup model) {
if (model.wasPropertyExplicitlySet("type")) {
this.type(model.getType());
}
+ if (model.wasPropertyExplicitlySet("refreshStatus")) {
+ this.refreshStatus(model.getRefreshStatus());
+ }
if (model.wasPropertyExplicitlySet("displayName")) {
this.displayName(model.getDisplayName());
}
@@ -223,6 +261,25 @@ public DrPlanGroupType getType() {
return type;
}
+ /**
+ * The DR plan group refresh status.
+ *
+ * Example: {@code GROUP_MODIFIED}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("refreshStatus")
+ private final DrPlanGroupRefreshStatus refreshStatus;
+
+ /**
+ * The DR plan group refresh status.
+ *
+ *
Example: {@code GROUP_MODIFIED}
+ *
+ * @return the value
+ */
+ public DrPlanGroupRefreshStatus getRefreshStatus() {
+ return refreshStatus;
+ }
+
/**
* The display name of the group.
*
@@ -295,6 +352,7 @@ public String toString(boolean includeByteArrayContents) {
sb.append("super=").append(super.toString());
sb.append("id=").append(String.valueOf(this.id));
sb.append(", type=").append(String.valueOf(this.type));
+ sb.append(", refreshStatus=").append(String.valueOf(this.refreshStatus));
sb.append(", displayName=").append(String.valueOf(this.displayName));
sb.append(", isPauseEnabled=").append(String.valueOf(this.isPauseEnabled));
sb.append(", steps=").append(String.valueOf(this.steps));
@@ -314,6 +372,7 @@ public boolean equals(Object o) {
DrPlanGroup other = (DrPlanGroup) o;
return java.util.Objects.equals(this.id, other.id)
&& java.util.Objects.equals(this.type, other.type)
+ && java.util.Objects.equals(this.refreshStatus, other.refreshStatus)
&& java.util.Objects.equals(this.displayName, other.displayName)
&& java.util.Objects.equals(this.isPauseEnabled, other.isPauseEnabled)
&& java.util.Objects.equals(this.steps, other.steps)
@@ -326,6 +385,9 @@ public int hashCode() {
int result = 1;
result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode());
result = (result * PRIME) + (this.type == null ? 43 : this.type.hashCode());
+ result =
+ (result * PRIME)
+ + (this.refreshStatus == null ? 43 : this.refreshStatus.hashCode());
result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode());
result =
(result * PRIME)
diff --git a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrPlanGroupRefreshStatus.java b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrPlanGroupRefreshStatus.java
new file mode 100644
index 00000000000..84118f59373
--- /dev/null
+++ b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrPlanGroupRefreshStatus.java
@@ -0,0 +1,58 @@
+/**
+ * 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.disasterrecovery.model;
+
+/**
+ * The refresh status of a DR plan group. - GROUP_ADDED - DR plan group was added to the plan. -
+ * GROUP_DELETED - DR plan group was deleted from the plan. - GROUP_MODIFIED - DR plan group was
+ * modified.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220125")
+public enum DrPlanGroupRefreshStatus implements com.oracle.bmc.http.internal.BmcEnum {
+ GroupAdded("GROUP_ADDED"),
+ GroupDeleted("GROUP_DELETED"),
+ GroupModified("GROUP_MODIFIED"),
+
+ /**
+ * This value is used if a service returns a value for this enum that is not recognized by this
+ * version of the SDK.
+ */
+ UnknownEnumValue(null);
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(DrPlanGroupRefreshStatus.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (DrPlanGroupRefreshStatus v : DrPlanGroupRefreshStatus.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ DrPlanGroupRefreshStatus(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static DrPlanGroupRefreshStatus create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'DrPlanGroupRefreshStatus', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
+ }
+}
diff --git a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrPlanLifecycleSubState.java b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrPlanLifecycleSubState.java
new file mode 100644
index 00000000000..af043edfa99
--- /dev/null
+++ b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrPlanLifecycleSubState.java
@@ -0,0 +1,60 @@
+/**
+ * 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.disasterrecovery.model;
+
+/**
+ * The secondary lifecycle states of a DR plan. Provides information in addition to the lifecycle
+ * state. - NEEDS_REFRESH - The DR plan needs a refresh. - NEEDS_VERIFICATION - The DR plan needs
+ * verification. - REFRESHING - The DR plan is being updated due to a plan refresh. - VERIFYING -
+ * The DR plan is being updated due to a plan verification.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220125")
+public enum DrPlanLifecycleSubState implements com.oracle.bmc.http.internal.BmcEnum {
+ NeedsRefresh("NEEDS_REFRESH"),
+ NeedsVerification("NEEDS_VERIFICATION"),
+ Refreshing("REFRESHING"),
+ Verifying("VERIFYING"),
+
+ /**
+ * This value is used if a service returns a value for this enum that is not recognized by this
+ * version of the SDK.
+ */
+ UnknownEnumValue(null);
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(DrPlanLifecycleSubState.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (DrPlanLifecycleSubState v : DrPlanLifecycleSubState.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ DrPlanLifecycleSubState(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static DrPlanLifecycleSubState create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'DrPlanLifecycleSubState', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
+ }
+}
diff --git a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrPlanStep.java b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrPlanStep.java
index d400bb54daa..cb3b299d341 100644
--- a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrPlanStep.java
+++ b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrPlanStep.java
@@ -26,6 +26,7 @@ public final class DrPlanStep extends com.oracle.bmc.http.client.internal.Explic
"groupId",
"memberId",
"type",
+ "refreshStatus",
"displayName",
"errorMode",
"timeout",
@@ -37,6 +38,7 @@ public DrPlanStep(
String groupId,
String memberId,
DrPlanStepType type,
+ DrPlanStepRefreshStatus refreshStatus,
String displayName,
DrPlanStepErrorMode errorMode,
Integer timeout,
@@ -47,6 +49,7 @@ public DrPlanStep(
this.groupId = groupId;
this.memberId = memberId;
this.type = type;
+ this.refreshStatus = refreshStatus;
this.displayName = displayName;
this.errorMode = errorMode;
this.timeout = timeout;
@@ -134,6 +137,27 @@ public Builder type(DrPlanStepType type) {
this.__explicitlySet__.add("type");
return this;
}
+ /**
+ * The DR plan step refresh status.
+ *
+ * Example: {@code STEP_ADDED}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("refreshStatus")
+ private DrPlanStepRefreshStatus refreshStatus;
+
+ /**
+ * The DR plan step refresh status.
+ *
+ *
Example: {@code STEP_ADDED}
+ *
+ * @param refreshStatus the value to set
+ * @return this builder
+ */
+ public Builder refreshStatus(DrPlanStepRefreshStatus refreshStatus) {
+ this.refreshStatus = refreshStatus;
+ this.__explicitlySet__.add("refreshStatus");
+ return this;
+ }
/**
* The display name of the group.
*
@@ -232,6 +256,7 @@ public DrPlanStep build() {
this.groupId,
this.memberId,
this.type,
+ this.refreshStatus,
this.displayName,
this.errorMode,
this.timeout,
@@ -257,6 +282,9 @@ public Builder copy(DrPlanStep model) {
if (model.wasPropertyExplicitlySet("type")) {
this.type(model.getType());
}
+ if (model.wasPropertyExplicitlySet("refreshStatus")) {
+ this.refreshStatus(model.getRefreshStatus());
+ }
if (model.wasPropertyExplicitlySet("displayName")) {
this.displayName(model.getDisplayName());
}
@@ -355,6 +383,25 @@ public DrPlanStepType getType() {
return type;
}
+ /**
+ * The DR plan step refresh status.
+ *
+ *
Example: {@code STEP_ADDED}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("refreshStatus")
+ private final DrPlanStepRefreshStatus refreshStatus;
+
+ /**
+ * The DR plan step refresh status.
+ *
+ *
Example: {@code STEP_ADDED}
+ *
+ * @return the value
+ */
+ public DrPlanStepRefreshStatus getRefreshStatus() {
+ return refreshStatus;
+ }
+
/**
* The display name of the group.
*
@@ -451,6 +498,7 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", groupId=").append(String.valueOf(this.groupId));
sb.append(", memberId=").append(String.valueOf(this.memberId));
sb.append(", type=").append(String.valueOf(this.type));
+ sb.append(", refreshStatus=").append(String.valueOf(this.refreshStatus));
sb.append(", displayName=").append(String.valueOf(this.displayName));
sb.append(", errorMode=").append(String.valueOf(this.errorMode));
sb.append(", timeout=").append(String.valueOf(this.timeout));
@@ -474,6 +522,7 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.groupId, other.groupId)
&& java.util.Objects.equals(this.memberId, other.memberId)
&& java.util.Objects.equals(this.type, other.type)
+ && java.util.Objects.equals(this.refreshStatus, other.refreshStatus)
&& java.util.Objects.equals(this.displayName, other.displayName)
&& java.util.Objects.equals(this.errorMode, other.errorMode)
&& java.util.Objects.equals(this.timeout, other.timeout)
@@ -490,6 +539,9 @@ public int hashCode() {
result = (result * PRIME) + (this.groupId == null ? 43 : this.groupId.hashCode());
result = (result * PRIME) + (this.memberId == null ? 43 : this.memberId.hashCode());
result = (result * PRIME) + (this.type == null ? 43 : this.type.hashCode());
+ result =
+ (result * PRIME)
+ + (this.refreshStatus == null ? 43 : this.refreshStatus.hashCode());
result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode());
result = (result * PRIME) + (this.errorMode == null ? 43 : this.errorMode.hashCode());
result = (result * PRIME) + (this.timeout == null ? 43 : this.timeout.hashCode());
diff --git a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrPlanStepRefreshStatus.java b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrPlanStepRefreshStatus.java
new file mode 100644
index 00000000000..36a54be15ee
--- /dev/null
+++ b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrPlanStepRefreshStatus.java
@@ -0,0 +1,56 @@
+/**
+ * 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.disasterrecovery.model;
+
+/**
+ * The refresh status of a DR plan step. - STEP_ADDED - DR plan step was added to the group. -
+ * STEP_DELETED - DR plan step was deleted from the group.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220125")
+public enum DrPlanStepRefreshStatus implements com.oracle.bmc.http.internal.BmcEnum {
+ StepAdded("STEP_ADDED"),
+ StepDeleted("STEP_DELETED"),
+
+ /**
+ * This value is used if a service returns a value for this enum that is not recognized by this
+ * version of the SDK.
+ */
+ UnknownEnumValue(null);
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(DrPlanStepRefreshStatus.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (DrPlanStepRefreshStatus v : DrPlanStepRefreshStatus.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ DrPlanStepRefreshStatus(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static DrPlanStepRefreshStatus create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'DrPlanStepRefreshStatus', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
+ }
+}
diff --git a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrPlanStepType.java b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrPlanStepType.java
index 271928626e8..04fd762ab44 100644
--- a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrPlanStepType.java
+++ b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrPlanStepType.java
@@ -4,7 +4,130 @@
*/
package com.oracle.bmc.disasterrecovery.model;
-/** The types of steps in a DR plan. */
+/**
+ * The types of steps in a DR plan. - COMPUTE_INSTANCE_STOP_PRECHECK - A precheck step for
+ * validating a compute instance stop. - COMPUTE_INSTANCE_LAUNCH_PRECHECK - A precheck step for
+ * validating a compute instance launch. - COMPUTE_INSTANCE_TERMINATE_PRECHECK - A precheck step for
+ * validating a compute instance termination. - COMPUTE_INSTANCE_REMOVE_PRECHECK - A precheck step
+ * for validating a compute instance removal. - VOLUME_GROUP_RESTORE_SWITCHOVER_PRECHECK - A
+ * precheck step for validating a volume group restoration during a switchover. -
+ * VOLUME_GROUP_RESTORE_FAILOVER_PRECHECK - A precheck step for validating a volume group
+ * restoration during a failover. - DATABASE_SWITCHOVER_PRECHECK - A precheck step for validating
+ * the database during a switchover. - DATABASE_FAILOVER_PRECHECK - A precheck step for validating
+ * the database during a failover. - AUTONOMOUS_DATABASE_SWITCHOVER_PRECHECK - A precheck step for
+ * validating an autonomous database during a switchover. - AUTONOMOUS_DATABASE_FAILOVER_PRECHECK -
+ * A precheck step for validating an autonomous database during a failover. -
+ * AUTONOMOUS_CONTAINER_DATABASE_SWITCHOVER_PRECHECK - A precheck step for validating an autonomous
+ * container database during a switchover. - AUTONOMOUS_CONTAINER_DATABASE_FAILOVER_PRECHECK - A
+ * precheck step for validating an autonomous container database during a failover. -
+ * AUTONOMOUS_CONTAINER_DATABASE_START_DRILL_CONVERT_TO_SNAPSHOT_STANDBY_PRECHECK - A precheck step
+ * for validating the conversion of an autonomous container database to a snapshot at standby for a
+ * start drill. - AUTONOMOUS_CONTAINER_DATABASE_STOP_DRILL_CONVERT_TO_PHYSICAL_STANDBY_PRECHECK - A
+ * precheck step for validating the conversion of an autonomous container database to a physical
+ * instance at standby for a stop drill. - AUTONOMOUS_CONTAINER_DATABASE_SWITCHOVER - A DR plan step
+ * to perform an autonomous container database switchover. - AUTONOMOUS_CONTAINER_DATABASE_FAILOVER
+ * - A DR plan step to perform an autonomous container database failover. -
+ * AUTONOMOUS_CONTAINER_DATABASE_START_DRILL_CONVERT_TO_SNAPSHOT_STANDBY - A DR plan step to convert
+ * an autonomous container database to a snapshot at standby during a start drill. -
+ * AUTONOMOUS_CONTAINER_DATABASE_STOP_DRILL_CONVERT_TO_PHYSICAL_STANDBY - A DR plan step to convert
+ * an autonomous container database to a physical instance at standby during a stop drill. -
+ * AUTONOMOUS_DATABASE_START_DRILL_CREATE_CLONE_STANDBY_PRECHECK - A precheck step for validating
+ * the creation of an autonomous database clone at standby during a start drill. -
+ * AUTONOMOUS_DATABASE_STOP_DRILL_DELETE_CLONE_STANDBY_PRECHECK - A precheck step for validating the
+ * deletion of an autonomous database clone at standby during a stop drill. -
+ * AUTONOMOUS_DATABASE_START_DRILL_CONVERT_TO_SNAPSHOT_STANDBY_PRECHECK - A precheck step for
+ * validating the conversion of an autonomous database to snapshot at standby during a start drill.
+ * - AUTONOMOUS_DATABASE_STOP_DRILL_CONVERT_TO_PHYSICAL_STANDBY_PRECHECK - A precheck step for
+ * validating the conversion of an autonomous database to a physical instance at standby during a
+ * start drill. - AUTONOMOUS_DATABASE_START_DRILL_CREATE_CLONE_STANDBY - A DR plan step to create an
+ * autonomous database clone at standby during a start drill. -
+ * AUTONOMOUS_DATABASE_STOP_DRILL_DELETE_CLONE_STANDBY - A DR plan step to delete an autonomous
+ * database clone at standby during a stop drill. -
+ * AUTONOMOUS_DATABASE_START_DRILL_CONVERT_TO_SNAPSHOT_STANDBY - A DR plan step to convert an
+ * autonomous database to a snapshot at standby during a start drill. -
+ * AUTONOMOUS_DATABASE_STOP_DRILL_CONVERT_TO_PHYSICAL_STANDBY - A DR plan step to convert an
+ * autonomous database to a physical instance at standby during a stop drill. -
+ * USER_DEFINED_PRECHECK - A precheck step for validating a user-defined step. -
+ * COMPUTE_INSTANCE_LAUNCH - A DR plan step to launch a compute instance. - COMPUTE_INSTANCE_STOP -
+ * A DR plan step to stop a compute instance. - COMPUTE_INSTANCE_TERMINATE - A DR plan step to
+ * terminate a compute instance. - COMPUTE_INSTANCE_REMOVE - A DR plan step to remove a compute
+ * instance. - DATABASE_SWITCHOVER - A DR plan step to perform a database switchover. -
+ * DATABASE_FAILOVER - A DR plan step to perform a database failover. -
+ * AUTONOMOUS_DATABASE_SWITCHOVER - A DR plan step to perform an autonomous database switchover. -
+ * AUTONOMOUS_DATABASE_FAILOVER - A DR plan step to perform an autonomous database failover. -
+ * VOLUME_GROUP_RESTORE_SWITCHOVER - A DR plan step to perform a volume group restoration during a
+ * switchover. - VOLUME_GROUP_RESTORE_FAILOVER - A DR plan step to perform a volume group
+ * restoration during a failover. - VOLUME_GROUP_REVERSE - A DR plan step to reverse a volume group.
+ * - VOLUME_GROUP_DELETE - A DR plan step to delete a volume group. - VOLUME_GROUP_REMOVE - A DR
+ * plan step to remove a volume group. - VOLUME_GROUP_TERMINATE - A DR plan step to terminate a
+ * volume group. - USER_DEFINED - User-defined step - VOLUME_GROUP_RESTORE_START_DRILL_PRECHECK - A
+ * precheck step for validating a volume group restoration during a start drill. -
+ * VOLUME_GROUP_REMOVE_PRECHECK - A precheck step for validating a volume group removal. -
+ * VOLUME_GROUP_TERMINATE_PRECHECK - A precheck step for validating a volume group termination. -
+ * VOLUME_GROUP_RESTORE_START_DRILL - A DR plan step for volume group restoration during a start
+ * drill. - AUTONOMOUS_DATABASE_CREATE_CLONE_PRECHECK - A precheck step for validating the creation
+ * of an autonomous database clone. - AUTONOMOUS_DATABASE_DELETE_CLONE_PRECHECK - A precheck step
+ * for validating the deletion of an autonomous database clone. -
+ * LOAD_BALANCER_UPDATE_PRIMARY_BACKEND_SET_PRECHECK - A precheck step for validating the update of
+ * primary load balancer backend set. - LOAD_BALANCER_UPDATE_STANDBY_BACKEND_SET_PRECHECK - A
+ * precheck step for validating the update of standby load balancer backend set. -
+ * FILE_SYSTEM_SWITCHOVER_PRECHECK - A precheck step for validating a file system during a
+ * switchover. - FILE_SYSTEM_FAILOVER_PRECHECK - A precheck step for validating a file system during
+ * a failover. - FILE_SYSTEM_START_DRILL_PRECHECK - A precheck step for validating a file system
+ * during a start drill. - FILE_SYSTEM_STOP_DRILL_PRECHECK - A precheck step for validating a file
+ * system during a stop drill. - FILE_SYSTEM_REMOVE_PRECHECK - A precheck step for validating a file
+ * system removal. - FILE_SYSTEM_TERMINATE_PRECHECK - A precheck step for validating a file system
+ * termination. - FILE_SYSTEM_MOUNT_PRECHECK - A precheck step for validating a file system to be
+ * mounted. - FILE_SYSTEM_UNMOUNT_PRECHECK - A precheck step for validating a file system to be
+ * unmounted. - COMPUTE_INSTANCE_START_PRECHECK - A precheck step for validating the start of a
+ * compute instance. - COMPUTE_INSTANCE_ATTACH_BLOCK_VOLUMES_PRECHECK - A precheck step for
+ * validating the attachment of block volumes to a compute instance. -
+ * COMPUTE_INSTANCE_DETACH_BLOCK_VOLUMES_PRECHECK - A precheck step for validating the detachment of
+ * block volumes from a compute instance. - COMPUTE_INSTANCE_MOUNT_BLOCK_VOLUMES_PRECHECK - A
+ * precheck step for validating the mounting of block volumes on a compute instance. -
+ * COMPUTE_INSTANCE_UNMOUNT_BLOCK_VOLUMES_PRECHECK - A precheck step for validating the unmounting
+ * of block volumes from a compute instance. - COMPUTE_CAPACITY_RESERVATION_START_DRILL_PRECHECK - A
+ * precheck step for validating a compute capacity reservation during a start drill. -
+ * COMPUTE_CAPACITY_AVAILABILITY_START_DRILL_PRECHECK - A precheck step for validating a compute
+ * capacity availability during a start drill . - AUTONOMOUS_DATABASE_CREATE_CLONE - A DR plan step
+ * to create an autonomous database clone. - AUTONOMOUS_DATABASE_DELETE_CLONE - A DR plan step to
+ * delete an autonomous database clone. - LOAD_BALANCER_UPDATE_PRIMARY_BACKEND_SET - A DR plan step
+ * to update a primary load balancer backend set. - LOAD_BALANCER_UPDATE_STANDBY_BACKEND_SET - A DR
+ * plan step to update a standby load balancer backend set. - FILE_SYSTEM_SWITCHOVER - A DR plan
+ * step to perform a file system switchover. - FILE_SYSTEM_FAILOVER - A DR plan step to perform a
+ * file system failover. - FILE_SYSTEM_REMOVE - A DR plan step to remove a file system. -
+ * FILE_SYSTEM_REVERSE - A DR plan step to reverse replication in a file system. -
+ * FILE_SYSTEM_TERMINATE - A DR plan step to terminate a file system. - FILE_SYSTEM_START_DRILL - A
+ * DR plan step to perform a start drill operation for a file system. - FILE_SYSTEM_STOP_DRILL - A
+ * DR plan step to perform a stop drill operation for a file system. - COMPUTE_INSTANCE_START - A DR
+ * plan step to start a compute instance. - COMPUTE_INSTANCE_ATTACH_BLOCK_VOLUMES - A DR plan step
+ * to attach block volumes to a compute instance. - COMPUTE_INSTANCE_DETACH_BLOCK_VOLUMES - A DR
+ * plan step to detach block volumes from a compute instance. - FILE_SYSTEM_MOUNT - A DR plan step
+ * to mount a file system. - FILE_SYSTEM_UNMOUNT - A DR plan step to unmount a file system. -
+ * COMPUTE_CAPACITY_RESERVATION_SWITCHOVER_PRECHECK - A precheck step for validating a compute
+ * capacity reservation during a switchover. - COMPUTE_CAPACITY_RESERVATION_FAILOVER_PRECHECK - A
+ * precheck step for validating a capacity reservation during a failover. -
+ * COMPUTE_CAPACITY_AVAILABILITY_SWITCHOVER_PRECHECK - A precheck step for validating a compute
+ * capacity availability during a switchover. - COMPUTE_CAPACITY_AVAILABILITY_FAILOVER_PRECHECK - A
+ * precheck step for validating a compute capacity availability during a failover. -
+ * OBJECT_STORAGE_BUCKET_SWITCHOVER_DELETE_REPLICATION_PRIMARY_PRECHECK - A precheck step for
+ * validating the deletion of an object storage bucket replication in the primary region during a
+ * switchover. - OBJECT_STORAGE_BUCKET_SWITCHOVER_SETUP_REVERSE_REPLICATION_STANDBY_PRECHECK - A
+ * precheck step for validating an object storage bucket reverse replication set up in the standby
+ * region during a switchover. - OBJECT_STORAGE_BUCKET_FAILOVER_DELETE_REPLICATION_STANDBY_PRECHECK
+ * - A precheck step for validating the deletion of an object storage bucket replication in the
+ * standby region during a failover. -
+ * OBJECT_STORAGE_BUCKET_FAILOVER_SETUP_REVERSE_REPLICATION_STANDBY_PRECHECK - A precheck step for
+ * validating an object storage bucket reverse replication set up in the standby region during a
+ * failover. - OBJECT_STORAGE_BUCKET_SWITCHOVER_DELETE_REPLICATION_PRIMARY - A DR plan step to
+ * delete an object storage bucket replication in the primary region during a switchover. -
+ * OBJECT_STORAGE_BUCKET_SWITCHOVER_SETUP_REVERSE_REPLICATION_STANDBY - A DR plan step to set up an
+ * object storage bucket reverse replication in the standby region during a switchover. -
+ * OBJECT_STORAGE_BUCKET_FAILOVER_DELETE_REPLICATION_STANDBY - A DR plan step to delete an object
+ * storage bucket replication in the standby region during a failover. -
+ * OBJECT_STORAGE_BUCKET_FAILOVER_SETUP_REVERSE_REPLICATION_STANDBY - A DR plan step to set up an
+ * object storage bucket reverse replication in the standby region during a failover.
+ */
@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220125")
public enum DrPlanStepType implements com.oracle.bmc.http.internal.BmcEnum {
ComputeInstanceStopPrecheck("COMPUTE_INSTANCE_STOP_PRECHECK"),
diff --git a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrPlanSummary.java b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrPlanSummary.java
index 587b2ac6451..6f3e1a19df9 100644
--- a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrPlanSummary.java
+++ b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrPlanSummary.java
@@ -32,6 +32,7 @@ public final class DrPlanSummary extends com.oracle.bmc.http.client.internal.Exp
"timeCreated",
"timeUpdated",
"lifecycleState",
+ "lifecycleSubState",
"lifeCycleDetails",
"freeformTags",
"definedTags",
@@ -48,6 +49,7 @@ public DrPlanSummary(
java.util.Date timeCreated,
java.util.Date timeUpdated,
DrPlanLifecycleState lifecycleState,
+ DrPlanLifecycleSubState lifecycleSubState,
String lifeCycleDetails,
java.util.Map freeformTags,
java.util.Map> definedTags,
@@ -63,6 +65,7 @@ public DrPlanSummary(
this.timeCreated = timeCreated;
this.timeUpdated = timeUpdated;
this.lifecycleState = lifecycleState;
+ this.lifecycleSubState = lifecycleSubState;
this.lifeCycleDetails = lifeCycleDetails;
this.freeformTags = freeformTags;
this.definedTags = definedTags;
@@ -283,6 +286,27 @@ public Builder lifecycleState(DrPlanLifecycleState lifecycleState) {
this.__explicitlySet__.add("lifecycleState");
return this;
}
+ /**
+ * The current sub state of the DR plan.
+ *
+ * Example: {@code NEEDS_REFRESH}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleSubState")
+ private DrPlanLifecycleSubState lifecycleSubState;
+
+ /**
+ * The current sub state of the DR plan.
+ *
+ *
Example: {@code NEEDS_REFRESH}
+ *
+ * @param lifecycleSubState the value to set
+ * @return this builder
+ */
+ public Builder lifecycleSubState(DrPlanLifecycleSubState lifecycleSubState) {
+ this.lifecycleSubState = lifecycleSubState;
+ this.__explicitlySet__.add("lifecycleSubState");
+ return this;
+ }
/** A message describing the DR plan's current state in more detail. */
@com.fasterxml.jackson.annotation.JsonProperty("lifeCycleDetails")
private String lifeCycleDetails;
@@ -381,6 +405,7 @@ public DrPlanSummary build() {
this.timeCreated,
this.timeUpdated,
this.lifecycleState,
+ this.lifecycleSubState,
this.lifeCycleDetails,
this.freeformTags,
this.definedTags,
@@ -423,6 +448,9 @@ public Builder copy(DrPlanSummary model) {
if (model.wasPropertyExplicitlySet("lifecycleState")) {
this.lifecycleState(model.getLifecycleState());
}
+ if (model.wasPropertyExplicitlySet("lifecycleSubState")) {
+ this.lifecycleSubState(model.getLifecycleSubState());
+ }
if (model.wasPropertyExplicitlySet("lifeCycleDetails")) {
this.lifeCycleDetails(model.getLifeCycleDetails());
}
@@ -638,6 +666,25 @@ public DrPlanLifecycleState getLifecycleState() {
return lifecycleState;
}
+ /**
+ * The current sub state of the DR plan.
+ *
+ *
Example: {@code NEEDS_REFRESH}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleSubState")
+ private final DrPlanLifecycleSubState lifecycleSubState;
+
+ /**
+ * The current sub state of the DR plan.
+ *
+ *
Example: {@code NEEDS_REFRESH}
+ *
+ * @return the value
+ */
+ public DrPlanLifecycleSubState getLifecycleSubState() {
+ return lifecycleSubState;
+ }
+
/** A message describing the DR plan's current state in more detail. */
@com.fasterxml.jackson.annotation.JsonProperty("lifeCycleDetails")
private final String lifeCycleDetails;
@@ -736,6 +783,7 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", timeCreated=").append(String.valueOf(this.timeCreated));
sb.append(", timeUpdated=").append(String.valueOf(this.timeUpdated));
sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState));
+ sb.append(", lifecycleSubState=").append(String.valueOf(this.lifecycleSubState));
sb.append(", lifeCycleDetails=").append(String.valueOf(this.lifeCycleDetails));
sb.append(", freeformTags=").append(String.valueOf(this.freeformTags));
sb.append(", definedTags=").append(String.valueOf(this.definedTags));
@@ -765,6 +813,7 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.timeCreated, other.timeCreated)
&& java.util.Objects.equals(this.timeUpdated, other.timeUpdated)
&& java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
+ && java.util.Objects.equals(this.lifecycleSubState, other.lifecycleSubState)
&& java.util.Objects.equals(this.lifeCycleDetails, other.lifeCycleDetails)
&& java.util.Objects.equals(this.freeformTags, other.freeformTags)
&& java.util.Objects.equals(this.definedTags, other.definedTags)
@@ -798,6 +847,9 @@ public int hashCode() {
result =
(result * PRIME)
+ (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode());
+ result =
+ (result * PRIME)
+ + (this.lifecycleSubState == null ? 43 : this.lifecycleSubState.hashCode());
result =
(result * PRIME)
+ (this.lifeCycleDetails == null ? 43 : this.lifeCycleDetails.hashCode());
diff --git a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/OperationType.java b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/OperationType.java
index 1038c2b11c3..c610f02e3c6 100644
--- a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/OperationType.java
+++ b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/OperationType.java
@@ -17,6 +17,8 @@ public enum OperationType implements com.oracle.bmc.http.internal.BmcEnum {
CreateDrPlan("CREATE_DR_PLAN"),
UpdateDrPlan("UPDATE_DR_PLAN"),
DeleteDrPlan("DELETE_DR_PLAN"),
+ RefreshDrPlan("REFRESH_DR_PLAN"),
+ VerifyDrPlan("VERIFY_DR_PLAN"),
CreateDrPlanExecution("CREATE_DR_PLAN_EXECUTION"),
UpdateDrPlanExecution("UPDATE_DR_PLAN_EXECUTION"),
DeleteDrPlanExecution("DELETE_DR_PLAN_EXECUTION"),
diff --git a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/RefreshDrPlanDefaultDetails.java b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/RefreshDrPlanDefaultDetails.java
new file mode 100644
index 00000000000..a2de01e59bb
--- /dev/null
+++ b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/RefreshDrPlanDefaultDetails.java
@@ -0,0 +1,100 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.disasterrecovery.model;
+
+/**
+ * The default type.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model
+ * distinguishes fields that are {@code null} because they are unset from fields that are explicitly
+ * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a
+ * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link
+ * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set
+ * fields into account. The constructor, on the other hand, does not take the explicitly set fields
+ * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code
+ * null}).
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220125")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = RefreshDrPlanDefaultDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "type")
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class RefreshDrPlanDefaultDetails extends RefreshDrPlanDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public RefreshDrPlanDefaultDetails build() {
+ RefreshDrPlanDefaultDetails model = new RefreshDrPlanDefaultDetails();
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(RefreshDrPlanDefaultDetails model) {
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public RefreshDrPlanDefaultDetails() {
+ super();
+ }
+
+ @Override
+ public String toString() {
+ return this.toString(true);
+ }
+
+ /**
+ * Return a string representation of the object.
+ *
+ * @param includeByteArrayContents true to include the full contents of byte arrays
+ * @return string representation
+ */
+ public String toString(boolean includeByteArrayContents) {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("RefreshDrPlanDefaultDetails(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof RefreshDrPlanDefaultDetails)) {
+ return false;
+ }
+
+ RefreshDrPlanDefaultDetails other = (RefreshDrPlanDefaultDetails) o;
+ return super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/RefreshDrPlanDetails.java b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/RefreshDrPlanDetails.java
new file mode 100644
index 00000000000..e81fa41f640
--- /dev/null
+++ b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/RefreshDrPlanDetails.java
@@ -0,0 +1,111 @@
+/**
+ * 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.disasterrecovery.model;
+
+/**
+ * The details for refreshing a DR plan.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model
+ * distinguishes fields that are {@code null} because they are unset from fields that are explicitly
+ * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a
+ * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link
+ * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set
+ * fields into account. The constructor, on the other hand, does not take the explicitly set fields
+ * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code
+ * null}).
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220125")
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "type",
+ defaultImpl = RefreshDrPlanDetails.class)
+@com.fasterxml.jackson.annotation.JsonSubTypes({
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = RefreshDrPlanDefaultDetails.class,
+ name = "DEFAULT")
+})
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public class RefreshDrPlanDetails
+ extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({})
+ protected RefreshDrPlanDetails() {
+ super();
+ }
+
+ @Override
+ public String toString() {
+ return this.toString(true);
+ }
+
+ /**
+ * Return a string representation of the object.
+ *
+ * @param includeByteArrayContents true to include the full contents of byte arrays
+ * @return string representation
+ */
+ public String toString(boolean includeByteArrayContents) {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("RefreshDrPlanDetails(");
+ sb.append("super=").append(super.toString());
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof RefreshDrPlanDetails)) {
+ return false;
+ }
+
+ RefreshDrPlanDetails other = (RefreshDrPlanDetails) o;
+ return super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+
+ /** The default type. */
+ public enum Type implements com.oracle.bmc.http.internal.BmcEnum {
+ Default("DEFAULT"),
+ ;
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (Type v : Type.values()) {
+ map.put(v.getValue(), v);
+ }
+ }
+
+ Type(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static Type create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ throw new IllegalArgumentException("Invalid Type: " + key);
+ }
+ };
+}
diff --git a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/VerifyDrPlanDefaultDetails.java b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/VerifyDrPlanDefaultDetails.java
new file mode 100644
index 00000000000..f5a8365510a
--- /dev/null
+++ b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/VerifyDrPlanDefaultDetails.java
@@ -0,0 +1,100 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.disasterrecovery.model;
+
+/**
+ * The default type.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model
+ * distinguishes fields that are {@code null} because they are unset from fields that are explicitly
+ * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a
+ * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link
+ * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set
+ * fields into account. The constructor, on the other hand, does not take the explicitly set fields
+ * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code
+ * null}).
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220125")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = VerifyDrPlanDefaultDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "type")
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class VerifyDrPlanDefaultDetails extends VerifyDrPlanDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public VerifyDrPlanDefaultDetails build() {
+ VerifyDrPlanDefaultDetails model = new VerifyDrPlanDefaultDetails();
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(VerifyDrPlanDefaultDetails model) {
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public VerifyDrPlanDefaultDetails() {
+ super();
+ }
+
+ @Override
+ public String toString() {
+ return this.toString(true);
+ }
+
+ /**
+ * Return a string representation of the object.
+ *
+ * @param includeByteArrayContents true to include the full contents of byte arrays
+ * @return string representation
+ */
+ public String toString(boolean includeByteArrayContents) {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("VerifyDrPlanDefaultDetails(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof VerifyDrPlanDefaultDetails)) {
+ return false;
+ }
+
+ VerifyDrPlanDefaultDetails other = (VerifyDrPlanDefaultDetails) o;
+ return super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/VerifyDrPlanDetails.java b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/VerifyDrPlanDetails.java
new file mode 100644
index 00000000000..33f3db42250
--- /dev/null
+++ b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/VerifyDrPlanDetails.java
@@ -0,0 +1,110 @@
+/**
+ * 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.disasterrecovery.model;
+
+/**
+ * The details for verifying a DR plan.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model
+ * distinguishes fields that are {@code null} because they are unset from fields that are explicitly
+ * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a
+ * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link
+ * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set
+ * fields into account. The constructor, on the other hand, does not take the explicitly set fields
+ * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code
+ * null}).
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220125")
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "type",
+ defaultImpl = VerifyDrPlanDetails.class)
+@com.fasterxml.jackson.annotation.JsonSubTypes({
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = VerifyDrPlanDefaultDetails.class,
+ name = "DEFAULT")
+})
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public class VerifyDrPlanDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({})
+ protected VerifyDrPlanDetails() {
+ super();
+ }
+
+ @Override
+ public String toString() {
+ return this.toString(true);
+ }
+
+ /**
+ * Return a string representation of the object.
+ *
+ * @param includeByteArrayContents true to include the full contents of byte arrays
+ * @return string representation
+ */
+ public String toString(boolean includeByteArrayContents) {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("VerifyDrPlanDetails(");
+ sb.append("super=").append(super.toString());
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof VerifyDrPlanDetails)) {
+ return false;
+ }
+
+ VerifyDrPlanDetails other = (VerifyDrPlanDetails) o;
+ return super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+
+ /** The default type. */
+ public enum Type implements com.oracle.bmc.http.internal.BmcEnum {
+ Default("DEFAULT"),
+ ;
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (Type v : Type.values()) {
+ map.put(v.getValue(), v);
+ }
+ }
+
+ Type(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static Type create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ throw new IllegalArgumentException("Invalid Type: " + key);
+ }
+ };
+}
diff --git a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/requests/ListDrPlansRequest.java b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/requests/ListDrPlansRequest.java
index 98f49173223..14d84ee293a 100644
--- a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/requests/ListDrPlansRequest.java
+++ b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/requests/ListDrPlansRequest.java
@@ -187,6 +187,13 @@ public SortBy getSortBy() {
public String getOpcRequestId() {
return opcRequestId;
}
+ /** A filter to return only DR plans that match the given lifecycle sub-state. */
+ private com.oracle.bmc.disasterrecovery.model.DrPlanLifecycleSubState lifecycleSubState;
+
+ /** A filter to return only DR plans that match the given lifecycle sub-state. */
+ public com.oracle.bmc.disasterrecovery.model.DrPlanLifecycleSubState getLifecycleSubState() {
+ return lifecycleSubState;
+ }
public static class Builder
implements com.oracle.bmc.requests.BmcRequest.Builder<
@@ -387,6 +394,22 @@ public Builder opcRequestId(String opcRequestId) {
return this;
}
+ /** A filter to return only DR plans that match the given lifecycle sub-state. */
+ private com.oracle.bmc.disasterrecovery.model.DrPlanLifecycleSubState lifecycleSubState =
+ null;
+
+ /**
+ * A filter to return only DR plans that match the given lifecycle sub-state.
+ *
+ * @param lifecycleSubState the value to set
+ * @return this builder instance
+ */
+ public Builder lifecycleSubState(
+ com.oracle.bmc.disasterrecovery.model.DrPlanLifecycleSubState lifecycleSubState) {
+ this.lifecycleSubState = lifecycleSubState;
+ return this;
+ }
+
/**
* Set the invocation callback for the request to be built.
*
@@ -427,6 +450,7 @@ public Builder copy(ListDrPlansRequest o) {
sortOrder(o.getSortOrder());
sortBy(o.getSortBy());
opcRequestId(o.getOpcRequestId());
+ lifecycleSubState(o.getLifecycleSubState());
invocationCallback(o.getInvocationCallback());
retryConfiguration(o.getRetryConfiguration());
return this;
@@ -471,9 +495,10 @@ public ListDrPlansRequest buildWithoutInvocationCallback() {
request.sortOrder = sortOrder;
request.sortBy = sortBy;
request.opcRequestId = opcRequestId;
+ request.lifecycleSubState = lifecycleSubState;
return request;
// new ListDrPlansRequest(drProtectionGroupId, lifecycleState, drPlanId, drPlanType,
- // displayName, limit, page, sortOrder, sortBy, opcRequestId);
+ // displayName, limit, page, sortOrder, sortBy, opcRequestId, lifecycleSubState);
}
}
@@ -493,7 +518,8 @@ public Builder toBuilder() {
.page(page)
.sortOrder(sortOrder)
.sortBy(sortBy)
- .opcRequestId(opcRequestId);
+ .opcRequestId(opcRequestId)
+ .lifecycleSubState(lifecycleSubState);
}
/**
@@ -520,6 +546,7 @@ public String toString() {
sb.append(",sortOrder=").append(String.valueOf(this.sortOrder));
sb.append(",sortBy=").append(String.valueOf(this.sortBy));
sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId));
+ sb.append(",lifecycleSubState=").append(String.valueOf(this.lifecycleSubState));
sb.append(")");
return sb.toString();
}
@@ -544,7 +571,8 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.page, other.page)
&& java.util.Objects.equals(this.sortOrder, other.sortOrder)
&& java.util.Objects.equals(this.sortBy, other.sortBy)
- && java.util.Objects.equals(this.opcRequestId, other.opcRequestId);
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId)
+ && java.util.Objects.equals(this.lifecycleSubState, other.lifecycleSubState);
}
@Override
@@ -567,6 +595,9 @@ public int hashCode() {
result = (result * PRIME) + (this.sortOrder == null ? 43 : this.sortOrder.hashCode());
result = (result * PRIME) + (this.sortBy == null ? 43 : this.sortBy.hashCode());
result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.lifecycleSubState == null ? 43 : this.lifecycleSubState.hashCode());
return result;
}
}
diff --git a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/requests/RefreshDrPlanRequest.java b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/requests/RefreshDrPlanRequest.java
new file mode 100644
index 00000000000..030904f2cf8
--- /dev/null
+++ b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/requests/RefreshDrPlanRequest.java
@@ -0,0 +1,362 @@
+/**
+ * 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.disasterrecovery.requests;
+
+import com.oracle.bmc.disasterrecovery.model.*;
+/**
+ *