diff --git a/bmc-computecloudatcustomer/pom.xml b/bmc-computecloudatcustomer/pom.xml
index 4c3c089c11e..3165dcf28d0 100644
--- a/bmc-computecloudatcustomer/pom.xml
+++ b/bmc-computecloudatcustomer/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-computecloudatcustomer
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-computeinstanceagent/pom.xml b/bmc-computeinstanceagent/pom.xml
index f29a09114b4..7655e782736 100644
--- a/bmc-computeinstanceagent/pom.xml
+++ b/bmc-computeinstanceagent/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-computeinstanceagent
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-containerengine/pom.xml b/bmc-containerengine/pom.xml
index a55e8b611ed..55388ef9a4b 100644
--- a/bmc-containerengine/pom.xml
+++ b/bmc-containerengine/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
@@ -18,7 +18,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
diff --git a/bmc-containerinstances/pom.xml b/bmc-containerinstances/pom.xml
index a4d71e97279..441cdf75739 100644
--- a/bmc-containerinstances/pom.xml
+++ b/bmc-containerinstances/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-containerinstances
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-containerregistry/pom.xml b/bmc-containerregistry/pom.xml
index 6528b7deaf4..78bf7f3b556 100644
--- a/bmc-containerregistry/pom.xml
+++ b/bmc-containerregistry/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-containerregistry
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-core/pom.xml b/bmc-core/pom.xml
index d4a742e4bf3..f458f196be6 100644
--- a/bmc-core/pom.xml
+++ b/bmc-core/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
@@ -18,12 +18,12 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
com.oracle.oci.sdk
oci-java-sdk-workrequests
- 3.93.0
+ 3.94.0
diff --git a/bmc-costad/pom.xml b/bmc-costad/pom.xml
index e4c59b28ec8..86b003dafc5 100644
--- a/bmc-costad/pom.xml
+++ b/bmc-costad/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-costad
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-dashboardservice/pom.xml b/bmc-dashboardservice/pom.xml
index 8d12208c472..b6292fde6bc 100644
--- a/bmc-dashboardservice/pom.xml
+++ b/bmc-dashboardservice/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-dashboardservice
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-database/pom.xml b/bmc-database/pom.xml
index 5c73f418a85..4f571d5a797 100644
--- a/bmc-database/pom.xml
+++ b/bmc-database/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
@@ -18,12 +18,12 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
com.oracle.oci.sdk
oci-java-sdk-workrequests
- 3.93.0
+ 3.94.0
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/Database.java b/bmc-database/src/main/java/com/oracle/bmc/database/Database.java
index 3b854f18d0d..84d2f8856a2 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/Database.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/Database.java
@@ -3307,6 +3307,23 @@ GetAdvancedClusterFileSystemResponse getAdvancedClusterFileSystem(
GetAutonomousContainerDatabaseResponse getAutonomousContainerDatabase(
GetAutonomousContainerDatabaseRequest request);
+ /**
+ * Gets information about the specified Autonomous Container Database backup.
+ *
+ * @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
+ * GetAutonomousContainerDatabaseBackup API.
+ */
+ GetAutonomousContainerDatabaseBackupResponse getAutonomousContainerDatabaseBackup(
+ GetAutonomousContainerDatabaseBackupRequest request);
+
/**
* **Deprecated.** Use the {@link
* #getAutonomousContainerDatabase(GetAutonomousContainerDatabaseRequest)
@@ -4986,6 +5003,26 @@ ListAutonomousDatabaseSoftwareImagesResponse listAutonomousDatabaseSoftwareImage
*/
ListAutonomousDatabasesResponse listAutonomousDatabases(ListAutonomousDatabasesRequest request);
+ /**
+ * Gets a list of Autonomous Databases associated with backups at the given timestamp for the
+ * specified Autonomous Container Database. If `compartmentId` is provided, filters to that
+ * compartment; otherwise, uses the container's compartment.
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation will not retry by default, users
+ * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to
+ * enable retries for it. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use
+ * ListAutonomousDatabasesInAutonomousContainerDatabaseBackup API.
+ */
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse
+ listAutonomousDatabasesInAutonomousContainerDatabaseBackup(
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest request);
+
/**
* Gets a list of supported Autonomous AI Database versions. Note that preview version software
* is only available for Autonomous AI Database Serverless
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsync.java b/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsync.java
index f4eb69111e3..74214f1975b 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsync.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsync.java
@@ -3356,6 +3356,24 @@ java.util.concurrent.Future getApplicationVip(
GetAutonomousContainerDatabaseResponse>
handler);
+ /**
+ * Gets information about the specified Autonomous Container Database backup.
+ *
+ * @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
+ getAutonomousContainerDatabaseBackup(
+ GetAutonomousContainerDatabaseBackupRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ GetAutonomousContainerDatabaseBackupRequest,
+ GetAutonomousContainerDatabaseBackupResponse>
+ handler);
+
/**
* **Deprecated.** Use the {@link
* #getAutonomousContainerDatabase(GetAutonomousContainerDatabaseRequest, Consumer, Consumer)
@@ -5047,6 +5065,26 @@ java.util.concurrent.Future listAutonomousDatab
ListAutonomousDatabasesRequest, ListAutonomousDatabasesResponse>
handler);
+ /**
+ * Gets a list of Autonomous Databases associated with backups at the given timestamp for the
+ * specified Autonomous Container Database. If `compartmentId` is provided, filters to that
+ * compartment; otherwise, uses the container's compartment.
+ *
+ * @param request The request object containing the details to send
+ * @param handler The request handler to invoke upon completion, may be null.
+ * @return A Future that can be used to get the response if no AsyncHandler was provided. Note,
+ * if you provide an AsyncHandler and use the Future, some types of responses (like
+ * java.io.InputStream) may not be able to be read in both places as the underlying stream
+ * may only be consumed once.
+ */
+ java.util.concurrent.Future
+ listAutonomousDatabasesInAutonomousContainerDatabaseBackup(
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest,
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse>
+ handler);
+
/**
* Gets a list of supported Autonomous AI Database versions. Note that preview version software
* is only available for Autonomous AI Database Serverless
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 aa7461449a9..4b0188be5e2 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
@@ -7213,6 +7213,42 @@ public java.util.concurrent.Future getApplicationVip(
.callAsync(handler);
}
+ @Override
+ public java.util.concurrent.Future
+ getAutonomousContainerDatabaseBackup(
+ GetAutonomousContainerDatabaseBackupRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ GetAutonomousContainerDatabaseBackupRequest,
+ GetAutonomousContainerDatabaseBackupResponse>
+ handler) {
+
+ Validate.notBlank(
+ request.getAutonomousContainerDatabaseBackupId(),
+ "autonomousContainerDatabaseBackupId must not be blank");
+
+ return clientCall(request, GetAutonomousContainerDatabaseBackupResponse::builder)
+ .logger(LOG, "getAutonomousContainerDatabaseBackup")
+ .serviceDetails(
+ "Database",
+ "GetAutonomousContainerDatabaseBackup",
+ "https://docs.oracle.com/iaas/api/#/en/database/20160918/AutonomousContainerDatabaseBackup/GetAutonomousContainerDatabaseBackup")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(GetAutonomousContainerDatabaseBackupRequest::builder)
+ .basePath("/20160918")
+ .appendPathParam("autonomousContainerDatabaseBackups")
+ .appendPathParam(request.getAutonomousContainerDatabaseBackupId())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleBody(
+ com.oracle.bmc.database.model.AutonomousContainerDatabaseBackup.class,
+ GetAutonomousContainerDatabaseBackupResponse.Builder
+ ::autonomousContainerDatabaseBackup)
+ .handleResponseHeaderString(
+ "opc-request-id",
+ GetAutonomousContainerDatabaseBackupResponse.Builder::opcRequestId)
+ .callAsync(handler);
+ }
+
@Override
public java.util.concurrent.Future
getAutonomousContainerDatabaseDataguardAssociation(
@@ -10349,6 +10385,7 @@ public java.util.concurrent.Future listApplicationV
.appendQueryParam("backupDestinationId", request.getBackupDestinationId())
.appendQueryParam("keyStoreId", request.getKeyStoreId())
.appendEnumQueryParam("infrastructureType", request.getInfrastructureType())
+ .appendQueryParam("isPitrEligible", request.getIsPitrEligible())
.accept("application/json")
.appendHeader("opc-request-id", request.getOpcRequestId())
.handleBodyList(
@@ -10658,6 +10695,58 @@ public java.util.concurrent.Future listAutonomo
.callAsync(handler);
}
+ @Override
+ public java.util.concurrent.Future<
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse>
+ listAutonomousDatabasesInAutonomousContainerDatabaseBackup(
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest,
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse>
+ handler) {
+ Objects.requireNonNull(
+ request.getAutonomousContainerDatabaseId(),
+ "autonomousContainerDatabaseId is required");
+
+ Objects.requireNonNull(request.getTimeStampRequested(), "timeStampRequested is required");
+
+ return clientCall(
+ request,
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse::builder)
+ .logger(LOG, "listAutonomousDatabasesInAutonomousContainerDatabaseBackup")
+ .serviceDetails(
+ "Database",
+ "ListAutonomousDatabasesInAutonomousContainerDatabaseBackup",
+ "https://docs.oracle.com/iaas/api/#/en/database/20160918/AutonomousDatabaseInBackup/ListAutonomousDatabasesInAutonomousContainerDatabaseBackup")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest::builder)
+ .basePath("/20160918")
+ .appendPathParam("autonomousContainerDatabaseBackups")
+ .appendPathParam("listAutonomousDatabasesInBackup")
+ .appendQueryParam(
+ "autonomousContainerDatabaseId", request.getAutonomousContainerDatabaseId())
+ .appendQueryParam("timeStampRequested", request.getTimeStampRequested())
+ .appendQueryParam("compartmentId", request.getCompartmentId())
+ .appendQueryParam("limit", request.getLimit())
+ .appendQueryParam("page", request.getPage())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleBody(
+ com.oracle.bmc.database.model.AutonomousDatabaseInBackupCollection.class,
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse.Builder
+ ::autonomousDatabaseInBackupCollection)
+ .handleResponseHeaderString(
+ "opc-request-id",
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse.Builder
+ ::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-next-page",
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse.Builder
+ ::opcNextPage)
+ .callAsync(handler);
+ }
+
@Override
public java.util.concurrent.Future
listAutonomousDbPreviewVersions(
@@ -11636,6 +11725,8 @@ public java.util.concurrent.Future listDatabases(
.appendEnumQueryParam("sortOrder", request.getSortOrder())
.appendEnumQueryParam("lifecycleState", request.getLifecycleState())
.appendQueryParam("dbName", request.getDbName())
+ .appendEnumQueryParam("managedAutoFailover", request.getManagedAutoFailover())
+ .appendEnumQueryParam("failoverTargets", request.getFailoverTargets())
.accept("application/json")
.handleBodyList(
com.oracle.bmc.database.model.DatabaseSummary.class,
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 ce468dbaf94..6da70926373 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
@@ -6493,6 +6493,37 @@ public GetAutonomousContainerDatabaseResponse getAutonomousContainerDatabase(
.callSync();
}
+ @Override
+ public GetAutonomousContainerDatabaseBackupResponse getAutonomousContainerDatabaseBackup(
+ GetAutonomousContainerDatabaseBackupRequest request) {
+
+ Validate.notBlank(
+ request.getAutonomousContainerDatabaseBackupId(),
+ "autonomousContainerDatabaseBackupId must not be blank");
+
+ return clientCall(request, GetAutonomousContainerDatabaseBackupResponse::builder)
+ .logger(LOG, "getAutonomousContainerDatabaseBackup")
+ .serviceDetails(
+ "Database",
+ "GetAutonomousContainerDatabaseBackup",
+ "https://docs.oracle.com/iaas/api/#/en/database/20160918/AutonomousContainerDatabaseBackup/GetAutonomousContainerDatabaseBackup")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(GetAutonomousContainerDatabaseBackupRequest::builder)
+ .basePath("/20160918")
+ .appendPathParam("autonomousContainerDatabaseBackups")
+ .appendPathParam(request.getAutonomousContainerDatabaseBackupId())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleBody(
+ com.oracle.bmc.database.model.AutonomousContainerDatabaseBackup.class,
+ GetAutonomousContainerDatabaseBackupResponse.Builder
+ ::autonomousContainerDatabaseBackup)
+ .handleResponseHeaderString(
+ "opc-request-id",
+ GetAutonomousContainerDatabaseBackupResponse.Builder::opcRequestId)
+ .callSync();
+ }
+
@Override
public GetAutonomousContainerDatabaseDataguardAssociationResponse
getAutonomousContainerDatabaseDataguardAssociation(
@@ -9262,6 +9293,7 @@ public ListAutonomousDatabaseBackupsResponse listAutonomousDatabaseBackups(
.appendQueryParam("backupDestinationId", request.getBackupDestinationId())
.appendQueryParam("keyStoreId", request.getKeyStoreId())
.appendEnumQueryParam("infrastructureType", request.getInfrastructureType())
+ .appendQueryParam("isPitrEligible", request.getIsPitrEligible())
.accept("application/json")
.appendHeader("opc-request-id", request.getOpcRequestId())
.handleBodyList(
@@ -9539,6 +9571,53 @@ public ListAutonomousDatabasesResponse listAutonomousDatabases(
.callSync();
}
+ @Override
+ public ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse
+ listAutonomousDatabasesInAutonomousContainerDatabaseBackup(
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest request) {
+ Objects.requireNonNull(
+ request.getAutonomousContainerDatabaseId(),
+ "autonomousContainerDatabaseId is required");
+
+ Objects.requireNonNull(request.getTimeStampRequested(), "timeStampRequested is required");
+
+ return clientCall(
+ request,
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse::builder)
+ .logger(LOG, "listAutonomousDatabasesInAutonomousContainerDatabaseBackup")
+ .serviceDetails(
+ "Database",
+ "ListAutonomousDatabasesInAutonomousContainerDatabaseBackup",
+ "https://docs.oracle.com/iaas/api/#/en/database/20160918/AutonomousDatabaseInBackup/ListAutonomousDatabasesInAutonomousContainerDatabaseBackup")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest::builder)
+ .basePath("/20160918")
+ .appendPathParam("autonomousContainerDatabaseBackups")
+ .appendPathParam("listAutonomousDatabasesInBackup")
+ .appendQueryParam(
+ "autonomousContainerDatabaseId", request.getAutonomousContainerDatabaseId())
+ .appendQueryParam("timeStampRequested", request.getTimeStampRequested())
+ .appendQueryParam("compartmentId", request.getCompartmentId())
+ .appendQueryParam("limit", request.getLimit())
+ .appendQueryParam("page", request.getPage())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleBody(
+ com.oracle.bmc.database.model.AutonomousDatabaseInBackupCollection.class,
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse.Builder
+ ::autonomousDatabaseInBackupCollection)
+ .handleResponseHeaderString(
+ "opc-request-id",
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse.Builder
+ ::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-next-page",
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse.Builder
+ ::opcNextPage)
+ .callSync();
+ }
+
@Override
public ListAutonomousDbPreviewVersionsResponse listAutonomousDbPreviewVersions(
ListAutonomousDbPreviewVersionsRequest request) {
@@ -10413,6 +10492,8 @@ public ListDatabasesResponse listDatabases(ListDatabasesRequest request) {
.appendEnumQueryParam("sortOrder", request.getSortOrder())
.appendEnumQueryParam("lifecycleState", request.getLifecycleState())
.appendQueryParam("dbName", request.getDbName())
+ .appendEnumQueryParam("managedAutoFailover", request.getManagedAutoFailover())
+ .appendEnumQueryParam("failoverTargets", request.getFailoverTargets())
.accept("application/json")
.handleBodyList(
com.oracle.bmc.database.model.DatabaseSummary.class,
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/DatabasePaginators.java b/bmc-database/src/main/java/com/oracle/bmc/database/DatabasePaginators.java
index b3a28b2aaca..9ffbde37949 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/DatabasePaginators.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/DatabasePaginators.java
@@ -1745,6 +1745,165 @@ public ListAutonomousDatabasesResponse apply(
});
}
+ /**
+ * Creates a new iterable which will iterate over the responses received from the
+ * listAutonomousDatabasesInAutonomousContainerDatabaseBackup operation. This iterable will
+ * fetch more data from the server as needed.
+ *
+ * @param request a request which can be sent to the service operation
+ * @return an {@link java.lang.Iterable} which can be used to iterate over the responses
+ * received from the service.
+ */
+ public Iterable
+ listAutonomousDatabasesInAutonomousContainerDatabaseBackupResponseIterator(
+ final ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest
+ request) {
+ return new com.oracle.bmc.paginator.internal.ResponseIterable<
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest.Builder,
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest,
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse>(
+ new java.util.function.Supplier<
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest
+ .Builder>() {
+ @Override
+ public ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest.Builder
+ get() {
+ return ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest
+ .builder()
+ .copy(request);
+ }
+ },
+ new java.util.function.Function<
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse,
+ String>() {
+ @Override
+ public String apply(
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse
+ response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest
+ .Builder>,
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest>() {
+ @Override
+ public ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest
+ .Builder>
+ input) {
+ if (input.getNextPageToken() == null) {
+ return input.getRequestBuilder().build();
+ } else {
+ return input.getRequestBuilder()
+ .page(input.getNextPageToken().orElse(null))
+ .build();
+ }
+ }
+ },
+ new java.util.function.Function<
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest,
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse>() {
+ @Override
+ public ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse apply(
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest
+ request) {
+ return client.listAutonomousDatabasesInAutonomousContainerDatabaseBackup(
+ request);
+ }
+ });
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the {@link
+ * com.oracle.bmc.database.model.AutonomousDatabaseInBackupSummary} objects contained in
+ * responses from the listAutonomousDatabasesInAutonomousContainerDatabaseBackup operation. This
+ * iterable will fetch more data from the server as needed.
+ *
+ * @param request a request which can be sent to the service operation
+ * @return an {@link java.lang.Iterable} which can be used to iterate over the {@link
+ * com.oracle.bmc.database.model.AutonomousDatabaseInBackupSummary} objects contained in
+ * responses received from the service.
+ */
+ public Iterable
+ listAutonomousDatabasesInAutonomousContainerDatabaseBackupRecordIterator(
+ final ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest
+ request) {
+ return new com.oracle.bmc.paginator.internal.ResponseRecordIterable<
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest.Builder,
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest,
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse,
+ com.oracle.bmc.database.model.AutonomousDatabaseInBackupSummary>(
+ new java.util.function.Supplier<
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest
+ .Builder>() {
+ @Override
+ public ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest.Builder
+ get() {
+ return ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest
+ .builder()
+ .copy(request);
+ }
+ },
+ new java.util.function.Function<
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse,
+ String>() {
+ @Override
+ public String apply(
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse
+ response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest
+ .Builder>,
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest>() {
+ @Override
+ public ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest
+ .Builder>
+ input) {
+ if (input.getNextPageToken() == null) {
+ return input.getRequestBuilder().build();
+ } else {
+ return input.getRequestBuilder()
+ .page(input.getNextPageToken().orElse(null))
+ .build();
+ }
+ }
+ },
+ new java.util.function.Function<
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest,
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse>() {
+ @Override
+ public ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse apply(
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest
+ request) {
+ return client.listAutonomousDatabasesInAutonomousContainerDatabaseBackup(
+ request);
+ }
+ },
+ new java.util.function.Function<
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse,
+ java.util.List<
+ com.oracle.bmc.database.model
+ .AutonomousDatabaseInBackupSummary>>() {
+ @Override
+ public java.util.List<
+ com.oracle.bmc.database.model.AutonomousDatabaseInBackupSummary>
+ apply(
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse
+ response) {
+ return response.getAutonomousDatabaseInBackupCollection().getItems();
+ }
+ });
+ }
+
/**
* Creates a new iterable which will iterate over the responses received from the
* listAutonomousDbPreviewVersions operation. This iterable will fetch more data from the server
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseWaiters.java b/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseWaiters.java
index d7dbf89b405..6533dcf7ce0 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseWaiters.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseWaiters.java
@@ -10664,6 +10664,134 @@ public boolean test(GetAutonomousContainerDatabaseResponse response) {
request);
}
+ /**
+ * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration.
+ *
+ * @param request the request to send
+ * @param targetStates the desired states to wait for. If multiple states are provided then the
+ * waiter will return once the resource reaches any of the provided states
+ * @return a new {@code Waiter} instance
+ */
+ public com.oracle.bmc.waiter.Waiter<
+ GetAutonomousContainerDatabaseBackupRequest,
+ GetAutonomousContainerDatabaseBackupResponse>
+ forAutonomousContainerDatabaseBackup(
+ GetAutonomousContainerDatabaseBackupRequest request,
+ com.oracle.bmc.database.model.AutonomousContainerDatabaseBackup.LifecycleState
+ ...
+ targetStates) {
+ com.oracle.bmc.util.internal.Validate.notEmpty(
+ targetStates, "At least one targetState must be provided");
+ com.oracle.bmc.util.internal.Validate.noNullElements(
+ targetStates, "Null targetState values are not permitted");
+
+ return forAutonomousContainerDatabaseBackup(
+ com.oracle.bmc.waiter.Waiters.DEFAULT_POLLING_WAITER, request, targetStates);
+ }
+
+ /**
+ * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the provided configuration.
+ *
+ * @param request the request to send
+ * @param targetState the desired state to wait for
+ * @param terminationStrategy the {@link com.oracle.bmc.waiter.TerminationStrategy} to use
+ * @param delayStrategy the {@link com.oracle.bmc.waiter.DelayStrategy} to use
+ * @return a new {@code com.oracle.bmc.waiter.Waiter} instance
+ */
+ public com.oracle.bmc.waiter.Waiter<
+ GetAutonomousContainerDatabaseBackupRequest,
+ GetAutonomousContainerDatabaseBackupResponse>
+ forAutonomousContainerDatabaseBackup(
+ GetAutonomousContainerDatabaseBackupRequest request,
+ com.oracle.bmc.database.model.AutonomousContainerDatabaseBackup.LifecycleState
+ targetState,
+ com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
+ com.oracle.bmc.waiter.DelayStrategy delayStrategy) {
+ com.oracle.bmc.util.internal.Validate.notNull(
+ targetState, "The targetState cannot be null");
+
+ return forAutonomousContainerDatabaseBackup(
+ com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
+ request,
+ targetState);
+ }
+
+ /**
+ * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the provided configuration.
+ *
+ * @param request the request to send
+ * @param terminationStrategy the {@link com.oracle.bmc.waiter.TerminationStrategy} to use
+ * @param delayStrategy the {@link com.oracle.bmc.waiter.DelayStrategy} to use
+ * @param targetStates the desired states to wait for. The waiter will return once the resource
+ * reaches any of the provided states
+ * @return a new {@code com.oracle.bmc.waiter.Waiter} instance
+ */
+ public com.oracle.bmc.waiter.Waiter<
+ GetAutonomousContainerDatabaseBackupRequest,
+ GetAutonomousContainerDatabaseBackupResponse>
+ forAutonomousContainerDatabaseBackup(
+ GetAutonomousContainerDatabaseBackupRequest request,
+ com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
+ com.oracle.bmc.waiter.DelayStrategy delayStrategy,
+ com.oracle.bmc.database.model.AutonomousContainerDatabaseBackup.LifecycleState
+ ...
+ targetStates) {
+ com.oracle.bmc.util.internal.Validate.notEmpty(
+ targetStates, "At least one target state must be provided");
+ com.oracle.bmc.util.internal.Validate.noNullElements(
+ targetStates, "Null target states are not permitted");
+
+ return forAutonomousContainerDatabaseBackup(
+ com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
+ request,
+ targetStates);
+ }
+
+ // Helper method to create a new Waiter for AutonomousContainerDatabaseBackup.
+ private com.oracle.bmc.waiter.Waiter<
+ GetAutonomousContainerDatabaseBackupRequest,
+ GetAutonomousContainerDatabaseBackupResponse>
+ forAutonomousContainerDatabaseBackup(
+ com.oracle.bmc.waiter.BmcGenericWaiter waiter,
+ final GetAutonomousContainerDatabaseBackupRequest request,
+ final com.oracle.bmc.database.model.AutonomousContainerDatabaseBackup
+ .LifecycleState
+ ...
+ targetStates) {
+ final java.util.Set<
+ com.oracle.bmc.database.model.AutonomousContainerDatabaseBackup
+ .LifecycleState>
+ targetStatesSet = new java.util.HashSet<>(java.util.Arrays.asList(targetStates));
+
+ return new com.oracle.bmc.waiter.internal.SimpleWaiterImpl<>(
+ executorService,
+ waiter.toCallable(
+ () -> request,
+ new java.util.function.Function<
+ GetAutonomousContainerDatabaseBackupRequest,
+ GetAutonomousContainerDatabaseBackupResponse>() {
+ @Override
+ public GetAutonomousContainerDatabaseBackupResponse apply(
+ GetAutonomousContainerDatabaseBackupRequest request) {
+ return client.getAutonomousContainerDatabaseBackup(request);
+ }
+ },
+ new java.util.function.Predicate<
+ GetAutonomousContainerDatabaseBackupResponse>() {
+ @Override
+ public boolean test(
+ GetAutonomousContainerDatabaseBackupResponse response) {
+ return targetStatesSet.contains(
+ response.getAutonomousContainerDatabaseBackup()
+ .getLifecycleState());
+ }
+ },
+ targetStatesSet.contains(
+ com.oracle.bmc.database.model.AutonomousContainerDatabaseBackup
+ .LifecycleState.Deleted)),
+ request);
+ }
+
/**
* Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration.
*
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutoFailoverConfiguration.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutoFailoverConfiguration.java
new file mode 100644
index 00000000000..924bc94d6a4
--- /dev/null
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutoFailoverConfiguration.java
@@ -0,0 +1,210 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.database.model;
+
+/**
+ * The properties for defining auto failover configuration.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model
+ * distinguishes fields that are {@code null} because they are unset from fields that are explicitly
+ * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a
+ * set of all explicitly set fields called {@link 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 = AutoFailoverConfiguration.Builder.class)
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class AutoFailoverConfiguration
+ extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({"managedAutoFailover", "failoverTargets"})
+ public AutoFailoverConfiguration(
+ ManagedAutoFailover managedAutoFailover, java.util.List failoverTargets) {
+ super();
+ this.managedAutoFailover = managedAutoFailover;
+ this.failoverTargets = failoverTargets;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /** The state of managed auto failover. */
+ @com.fasterxml.jackson.annotation.JsonProperty("managedAutoFailover")
+ private ManagedAutoFailover managedAutoFailover;
+
+ /**
+ * The state of managed auto failover.
+ *
+ * @param managedAutoFailover the value to set
+ * @return this builder
+ */
+ public Builder managedAutoFailover(ManagedAutoFailover managedAutoFailover) {
+ this.managedAutoFailover = managedAutoFailover;
+ this.__explicitlySet__.add("managedAutoFailover");
+ return this;
+ }
+ /** Specifies the {@code DB_UNIQUE_NAME} of the data guard group member databases. */
+ @com.fasterxml.jackson.annotation.JsonProperty("failoverTargets")
+ private java.util.List failoverTargets;
+
+ /**
+ * Specifies the {@code DB_UNIQUE_NAME} of the data guard group member databases.
+ *
+ * @param failoverTargets the value to set
+ * @return this builder
+ */
+ public Builder failoverTargets(java.util.List failoverTargets) {
+ this.failoverTargets = failoverTargets;
+ this.__explicitlySet__.add("failoverTargets");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public AutoFailoverConfiguration build() {
+ AutoFailoverConfiguration model =
+ new AutoFailoverConfiguration(this.managedAutoFailover, this.failoverTargets);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(AutoFailoverConfiguration model) {
+ if (model.wasPropertyExplicitlySet("managedAutoFailover")) {
+ this.managedAutoFailover(model.getManagedAutoFailover());
+ }
+ if (model.wasPropertyExplicitlySet("failoverTargets")) {
+ this.failoverTargets(model.getFailoverTargets());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ /** The state of managed auto failover. */
+ public enum ManagedAutoFailover implements com.oracle.bmc.http.internal.BmcEnum {
+ Enable("ENABLE"),
+ Disable("DISABLE"),
+ ;
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (ManagedAutoFailover v : ManagedAutoFailover.values()) {
+ map.put(v.getValue(), v);
+ }
+ }
+
+ ManagedAutoFailover(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static ManagedAutoFailover create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ throw new IllegalArgumentException("Invalid ManagedAutoFailover: " + key);
+ }
+ };
+ /** The state of managed auto failover. */
+ @com.fasterxml.jackson.annotation.JsonProperty("managedAutoFailover")
+ private final ManagedAutoFailover managedAutoFailover;
+
+ /**
+ * The state of managed auto failover.
+ *
+ * @return the value
+ */
+ public ManagedAutoFailover getManagedAutoFailover() {
+ return managedAutoFailover;
+ }
+
+ /** Specifies the {@code DB_UNIQUE_NAME} of the data guard group member databases. */
+ @com.fasterxml.jackson.annotation.JsonProperty("failoverTargets")
+ private final java.util.List failoverTargets;
+
+ /**
+ * Specifies the {@code DB_UNIQUE_NAME} of the data guard group member databases.
+ *
+ * @return the value
+ */
+ public java.util.List getFailoverTargets() {
+ return failoverTargets;
+ }
+
+ @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("AutoFailoverConfiguration(");
+ sb.append("super=").append(super.toString());
+ sb.append("managedAutoFailover=").append(String.valueOf(this.managedAutoFailover));
+ sb.append(", failoverTargets=").append(String.valueOf(this.failoverTargets));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof AutoFailoverConfiguration)) {
+ return false;
+ }
+
+ AutoFailoverConfiguration other = (AutoFailoverConfiguration) o;
+ return java.util.Objects.equals(this.managedAutoFailover, other.managedAutoFailover)
+ && java.util.Objects.equals(this.failoverTargets, other.failoverTargets)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result =
+ (result * PRIME)
+ + (this.managedAutoFailover == null
+ ? 43
+ : this.managedAutoFailover.hashCode());
+ result =
+ (result * PRIME)
+ + (this.failoverTargets == null ? 43 : this.failoverTargets.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousContainerDatabaseBackup.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousContainerDatabaseBackup.java
index a6386036b8c..fc017ae074e 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousContainerDatabaseBackup.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousContainerDatabaseBackup.java
@@ -41,7 +41,9 @@ public final class AutonomousContainerDatabaseBackup
"freeformTags",
"definedTags",
"systemTags",
- "autonomousDatabases"
+ "autonomousDatabases",
+ "dbVersion",
+ "backupDestinationDetails"
})
public AutonomousContainerDatabaseBackup(
String id,
@@ -61,7 +63,9 @@ public AutonomousContainerDatabaseBackup(
java.util.Map freeformTags,
java.util.Map> definedTags,
java.util.Map> systemTags,
- java.util.List autonomousDatabases) {
+ java.util.List autonomousDatabases,
+ String dbVersion,
+ BackupDestinationDetails backupDestinationDetails) {
super();
this.id = id;
this.compartmentId = compartmentId;
@@ -81,6 +85,8 @@ public AutonomousContainerDatabaseBackup(
this.definedTags = definedTags;
this.systemTags = systemTags;
this.autonomousDatabases = autonomousDatabases;
+ this.dbVersion = dbVersion;
+ this.backupDestinationDetails = backupDestinationDetails;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -399,6 +405,44 @@ public Builder autonomousDatabases(
this.__explicitlySet__.add("autonomousDatabases");
return this;
}
+ /**
+ * A valid Oracle AI Database version for Autonomous AI Database. When you specify 23ai for
+ * dbversion, the system will provision a 23ai database, but the UI will display it as 26ai.
+ * When you specify 26ai for dbversion, the system will provision and display a 26ai
+ * database as expected. For new databases, it is recommended to use either 19c or 26ai.
+ *
+ * *Note** Starting December 2026, 23ai will not be supported as a valid value for this
+ * parameter.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("dbVersion")
+ private String dbVersion;
+
+ /**
+ * A valid Oracle AI Database version for Autonomous AI Database. When you specify 23ai for
+ * dbversion, the system will provision a 23ai database, but the UI will display it as 26ai.
+ * When you specify 26ai for dbversion, the system will provision and display a 26ai
+ * database as expected. For new databases, it is recommended to use either 19c or 26ai.
+ *
+ *
*Note** Starting December 2026, 23ai will not be supported as a valid value for this
+ * parameter.
+ *
+ * @param dbVersion the value to set
+ * @return this builder
+ */
+ public Builder dbVersion(String dbVersion) {
+ this.dbVersion = dbVersion;
+ this.__explicitlySet__.add("dbVersion");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("backupDestinationDetails")
+ private BackupDestinationDetails backupDestinationDetails;
+
+ public Builder backupDestinationDetails(BackupDestinationDetails backupDestinationDetails) {
+ this.backupDestinationDetails = backupDestinationDetails;
+ this.__explicitlySet__.add("backupDestinationDetails");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -423,7 +467,9 @@ public AutonomousContainerDatabaseBackup build() {
this.freeformTags,
this.definedTags,
this.systemTags,
- this.autonomousDatabases);
+ this.autonomousDatabases,
+ this.dbVersion,
+ this.backupDestinationDetails);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -486,6 +532,12 @@ public Builder copy(AutonomousContainerDatabaseBackup model) {
if (model.wasPropertyExplicitlySet("autonomousDatabases")) {
this.autonomousDatabases(model.getAutonomousDatabases());
}
+ if (model.wasPropertyExplicitlySet("dbVersion")) {
+ this.dbVersion(model.getDbVersion());
+ }
+ if (model.wasPropertyExplicitlySet("backupDestinationDetails")) {
+ this.backupDestinationDetails(model.getBackupDestinationDetails());
+ }
return this;
}
}
@@ -587,7 +639,14 @@ public enum Type implements com.oracle.bmc.http.internal.BmcEnum {
Incremental("INCREMENTAL"),
Full("FULL"),
VirtualFull("VIRTUAL_FULL"),
- ;
+
+ /**
+ * 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;
@@ -595,7 +654,9 @@ public enum Type implements com.oracle.bmc.http.internal.BmcEnum {
static {
map = new java.util.HashMap<>();
for (Type v : Type.values()) {
- map.put(v.getValue(), v);
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
}
}
@@ -613,7 +674,9 @@ public static Type create(String key) {
if (map.containsKey(key)) {
return map.get(key);
}
- throw new IllegalArgumentException("Invalid Type: " + key);
+ LOG.warn(
+ "Received unknown value '{}' for enum 'Type', returning UnknownEnumValue", key);
+ return UnknownEnumValue;
}
};
/** The type of backup. */
@@ -688,7 +751,15 @@ public enum LifecycleState implements com.oracle.bmc.http.internal.BmcEnum {
Deleting("DELETING"),
Deleted("DELETED"),
Failed("FAILED"),
- ;
+
+ /**
+ * This value is used if a service returns a value for this enum that is not recognized by
+ * this version of the SDK.
+ */
+ UnknownEnumValue(null);
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(LifecycleState.class);
private final String value;
private static java.util.Map map;
@@ -696,7 +767,9 @@ public enum LifecycleState implements com.oracle.bmc.http.internal.BmcEnum {
static {
map = new java.util.HashMap<>();
for (LifecycleState v : LifecycleState.values()) {
- map.put(v.getValue(), v);
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
}
}
@@ -714,7 +787,10 @@ public static LifecycleState create(String key) {
if (map.containsKey(key)) {
return map.get(key);
}
- throw new IllegalArgumentException("Invalid LifecycleState: " + key);
+ LOG.warn(
+ "Received unknown value '{}' for enum 'LifecycleState', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
}
};
/** The current state of the backup. */
@@ -760,7 +836,15 @@ public Boolean getIsRemoteBackup() {
public enum InfrastructureType implements com.oracle.bmc.http.internal.BmcEnum {
Cloud("CLOUD"),
CloudAtCustomer("CLOUD_AT_CUSTOMER"),
- ;
+
+ /**
+ * 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(InfrastructureType.class);
private final String value;
private static java.util.Map map;
@@ -768,7 +852,9 @@ public enum InfrastructureType implements com.oracle.bmc.http.internal.BmcEnum {
static {
map = new java.util.HashMap<>();
for (InfrastructureType v : InfrastructureType.values()) {
- map.put(v.getValue(), v);
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
}
}
@@ -786,7 +872,10 @@ public static InfrastructureType create(String key) {
if (map.containsKey(key)) {
return map.get(key);
}
- throw new IllegalArgumentException("Invalid InfrastructureType: " + key);
+ LOG.warn(
+ "Received unknown value '{}' for enum 'InfrastructureType', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
}
};
/** The infrastructure type this resource belongs to. */
@@ -876,6 +965,40 @@ public java.util.List getAutonomousDatabases() {
return autonomousDatabases;
}
+ /**
+ * A valid Oracle AI Database version for Autonomous AI Database. When you specify 23ai for
+ * dbversion, the system will provision a 23ai database, but the UI will display it as 26ai.
+ * When you specify 26ai for dbversion, the system will provision and display a 26ai database as
+ * expected. For new databases, it is recommended to use either 19c or 26ai.
+ *
+ * *Note** Starting December 2026, 23ai will not be supported as a valid value for this
+ * parameter.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("dbVersion")
+ private final String dbVersion;
+
+ /**
+ * A valid Oracle AI Database version for Autonomous AI Database. When you specify 23ai for
+ * dbversion, the system will provision a 23ai database, but the UI will display it as 26ai.
+ * When you specify 26ai for dbversion, the system will provision and display a 26ai database as
+ * expected. For new databases, it is recommended to use either 19c or 26ai.
+ *
+ *
*Note** Starting December 2026, 23ai will not be supported as a valid value for this
+ * parameter.
+ *
+ * @return the value
+ */
+ public String getDbVersion() {
+ return dbVersion;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("backupDestinationDetails")
+ private final BackupDestinationDetails backupDestinationDetails;
+
+ public BackupDestinationDetails getBackupDestinationDetails() {
+ return backupDestinationDetails;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -910,6 +1033,9 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", definedTags=").append(String.valueOf(this.definedTags));
sb.append(", systemTags=").append(String.valueOf(this.systemTags));
sb.append(", autonomousDatabases=").append(String.valueOf(this.autonomousDatabases));
+ sb.append(", dbVersion=").append(String.valueOf(this.dbVersion));
+ sb.append(", backupDestinationDetails=")
+ .append(String.valueOf(this.backupDestinationDetails));
sb.append(")");
return sb.toString();
}
@@ -943,6 +1069,9 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.definedTags, other.definedTags)
&& java.util.Objects.equals(this.systemTags, other.systemTags)
&& java.util.Objects.equals(this.autonomousDatabases, other.autonomousDatabases)
+ && java.util.Objects.equals(this.dbVersion, other.dbVersion)
+ && java.util.Objects.equals(
+ this.backupDestinationDetails, other.backupDestinationDetails)
&& super.equals(other);
}
@@ -994,6 +1123,12 @@ public int hashCode() {
+ (this.autonomousDatabases == null
? 43
: this.autonomousDatabases.hashCode());
+ result = (result * PRIME) + (this.dbVersion == null ? 43 : this.dbVersion.hashCode());
+ result =
+ (result * PRIME)
+ + (this.backupDestinationDetails == null
+ ? 43
+ : this.backupDestinationDetails.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousContainerDatabaseBackupSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousContainerDatabaseBackupSummary.java
index a5262670228..458a868acb5 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousContainerDatabaseBackupSummary.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousContainerDatabaseBackupSummary.java
@@ -47,7 +47,9 @@ public final class AutonomousContainerDatabaseBackupSummary
"freeformTags",
"definedTags",
"systemTags",
- "autonomousDatabases"
+ "autonomousDatabases",
+ "dbVersion",
+ "backupDestinationDetails"
})
public AutonomousContainerDatabaseBackupSummary(
String id,
@@ -67,7 +69,9 @@ public AutonomousContainerDatabaseBackupSummary(
java.util.Map freeformTags,
java.util.Map> definedTags,
java.util.Map> systemTags,
- java.util.List autonomousDatabases) {
+ java.util.List autonomousDatabases,
+ String dbVersion,
+ BackupDestinationDetails backupDestinationDetails) {
super();
this.id = id;
this.compartmentId = compartmentId;
@@ -87,6 +91,8 @@ public AutonomousContainerDatabaseBackupSummary(
this.definedTags = definedTags;
this.systemTags = systemTags;
this.autonomousDatabases = autonomousDatabases;
+ this.dbVersion = dbVersion;
+ this.backupDestinationDetails = backupDestinationDetails;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -405,6 +411,44 @@ public Builder autonomousDatabases(
this.__explicitlySet__.add("autonomousDatabases");
return this;
}
+ /**
+ * A valid Oracle AI Database version for Autonomous AI Database. When you specify 23ai for
+ * dbversion, the system will provision a 23ai database, but the UI will display it as 26ai.
+ * When you specify 26ai for dbversion, the system will provision and display a 26ai
+ * database as expected. For new databases, it is recommended to use either 19c or 26ai.
+ *
+ * *Note** Starting December 2026, 23ai will not be supported as a valid value for this
+ * parameter.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("dbVersion")
+ private String dbVersion;
+
+ /**
+ * A valid Oracle AI Database version for Autonomous AI Database. When you specify 23ai for
+ * dbversion, the system will provision a 23ai database, but the UI will display it as 26ai.
+ * When you specify 26ai for dbversion, the system will provision and display a 26ai
+ * database as expected. For new databases, it is recommended to use either 19c or 26ai.
+ *
+ *
*Note** Starting December 2026, 23ai will not be supported as a valid value for this
+ * parameter.
+ *
+ * @param dbVersion the value to set
+ * @return this builder
+ */
+ public Builder dbVersion(String dbVersion) {
+ this.dbVersion = dbVersion;
+ this.__explicitlySet__.add("dbVersion");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("backupDestinationDetails")
+ private BackupDestinationDetails backupDestinationDetails;
+
+ public Builder backupDestinationDetails(BackupDestinationDetails backupDestinationDetails) {
+ this.backupDestinationDetails = backupDestinationDetails;
+ this.__explicitlySet__.add("backupDestinationDetails");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -429,7 +473,9 @@ public AutonomousContainerDatabaseBackupSummary build() {
this.freeformTags,
this.definedTags,
this.systemTags,
- this.autonomousDatabases);
+ this.autonomousDatabases,
+ this.dbVersion,
+ this.backupDestinationDetails);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -492,6 +538,12 @@ public Builder copy(AutonomousContainerDatabaseBackupSummary model) {
if (model.wasPropertyExplicitlySet("autonomousDatabases")) {
this.autonomousDatabases(model.getAutonomousDatabases());
}
+ if (model.wasPropertyExplicitlySet("dbVersion")) {
+ this.dbVersion(model.getDbVersion());
+ }
+ if (model.wasPropertyExplicitlySet("backupDestinationDetails")) {
+ this.backupDestinationDetails(model.getBackupDestinationDetails());
+ }
return this;
}
}
@@ -919,6 +971,40 @@ public java.util.List getAutonomousDatabases() {
return autonomousDatabases;
}
+ /**
+ * A valid Oracle AI Database version for Autonomous AI Database. When you specify 23ai for
+ * dbversion, the system will provision a 23ai database, but the UI will display it as 26ai.
+ * When you specify 26ai for dbversion, the system will provision and display a 26ai database as
+ * expected. For new databases, it is recommended to use either 19c or 26ai.
+ *
+ * *Note** Starting December 2026, 23ai will not be supported as a valid value for this
+ * parameter.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("dbVersion")
+ private final String dbVersion;
+
+ /**
+ * A valid Oracle AI Database version for Autonomous AI Database. When you specify 23ai for
+ * dbversion, the system will provision a 23ai database, but the UI will display it as 26ai.
+ * When you specify 26ai for dbversion, the system will provision and display a 26ai database as
+ * expected. For new databases, it is recommended to use either 19c or 26ai.
+ *
+ *
*Note** Starting December 2026, 23ai will not be supported as a valid value for this
+ * parameter.
+ *
+ * @return the value
+ */
+ public String getDbVersion() {
+ return dbVersion;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("backupDestinationDetails")
+ private final BackupDestinationDetails backupDestinationDetails;
+
+ public BackupDestinationDetails getBackupDestinationDetails() {
+ return backupDestinationDetails;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -953,6 +1039,9 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", definedTags=").append(String.valueOf(this.definedTags));
sb.append(", systemTags=").append(String.valueOf(this.systemTags));
sb.append(", autonomousDatabases=").append(String.valueOf(this.autonomousDatabases));
+ sb.append(", dbVersion=").append(String.valueOf(this.dbVersion));
+ sb.append(", backupDestinationDetails=")
+ .append(String.valueOf(this.backupDestinationDetails));
sb.append(")");
return sb.toString();
}
@@ -987,6 +1076,9 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.definedTags, other.definedTags)
&& java.util.Objects.equals(this.systemTags, other.systemTags)
&& java.util.Objects.equals(this.autonomousDatabases, other.autonomousDatabases)
+ && java.util.Objects.equals(this.dbVersion, other.dbVersion)
+ && java.util.Objects.equals(
+ this.backupDestinationDetails, other.backupDestinationDetails)
&& super.equals(other);
}
@@ -1038,6 +1130,12 @@ public int hashCode() {
+ (this.autonomousDatabases == null
? 43
: this.autonomousDatabases.hashCode());
+ result = (result * PRIME) + (this.dbVersion == null ? 43 : this.dbVersion.hashCode());
+ result =
+ (result * PRIME)
+ + (this.backupDestinationDetails == null
+ ? 43
+ : this.backupDestinationDetails.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseInBackup.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseInBackup.java
index afdffcdf613..d3349240174 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseInBackup.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseInBackup.java
@@ -23,11 +23,13 @@
public final class AutonomousDatabaseInBackup
extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"compartmentId", "displayName"})
- public AutonomousDatabaseInBackup(String compartmentId, String displayName) {
+ @java.beans.ConstructorProperties({"compartmentId", "displayName", "lifecycleState"})
+ public AutonomousDatabaseInBackup(
+ String compartmentId, String displayName, LifecycleState lifecycleState) {
super();
this.compartmentId = compartmentId;
this.displayName = displayName;
+ this.lifecycleState = lifecycleState;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -70,13 +72,29 @@ public Builder displayName(String displayName) {
this.__explicitlySet__.add("displayName");
return this;
}
+ /** The current state of the Autonomous AI Database. */
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState")
+ private LifecycleState lifecycleState;
+
+ /**
+ * The current state of the Autonomous AI Database.
+ *
+ * @param lifecycleState the value to set
+ * @return this builder
+ */
+ public Builder lifecycleState(LifecycleState lifecycleState) {
+ this.lifecycleState = lifecycleState;
+ this.__explicitlySet__.add("lifecycleState");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
public AutonomousDatabaseInBackup build() {
AutonomousDatabaseInBackup model =
- new AutonomousDatabaseInBackup(this.compartmentId, this.displayName);
+ new AutonomousDatabaseInBackup(
+ this.compartmentId, this.displayName, this.lifecycleState);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -91,6 +109,9 @@ public Builder copy(AutonomousDatabaseInBackup model) {
if (model.wasPropertyExplicitlySet("displayName")) {
this.displayName(model.getDisplayName());
}
+ if (model.wasPropertyExplicitlySet("lifecycleState")) {
+ this.lifecycleState(model.getLifecycleState());
+ }
return this;
}
}
@@ -136,6 +157,85 @@ public String getDisplayName() {
return displayName;
}
+ /** The current state of the Autonomous AI Database. */
+ public enum LifecycleState implements com.oracle.bmc.http.internal.BmcEnum {
+ Provisioning("PROVISIONING"),
+ Available("AVAILABLE"),
+ Stopping("STOPPING"),
+ Stopped("STOPPED"),
+ Starting("STARTING"),
+ Terminating("TERMINATING"),
+ Terminated("TERMINATED"),
+ Unavailable("UNAVAILABLE"),
+ RestoreInProgress("RESTORE_IN_PROGRESS"),
+ RestoreFailed("RESTORE_FAILED"),
+ BackupInProgress("BACKUP_IN_PROGRESS"),
+ ScaleInProgress("SCALE_IN_PROGRESS"),
+ AvailableNeedsAttention("AVAILABLE_NEEDS_ATTENTION"),
+ Updating("UPDATING"),
+ MaintenanceInProgress("MAINTENANCE_IN_PROGRESS"),
+ Restarting("RESTARTING"),
+ Recreating("RECREATING"),
+ RoleChangeInProgress("ROLE_CHANGE_IN_PROGRESS"),
+ Upgrading("UPGRADING"),
+ Inaccessible("INACCESSIBLE"),
+ Standby("STANDBY"),
+ Transporting("TRANSPORTING"),
+
+ /**
+ * This value is used if a service returns a value for this enum that is not recognized by
+ * this version of the SDK.
+ */
+ UnknownEnumValue(null);
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(LifecycleState.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (LifecycleState v : LifecycleState.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ LifecycleState(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static LifecycleState create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'LifecycleState', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
+ }
+ };
+ /** The current state of the Autonomous AI Database. */
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState")
+ private final LifecycleState lifecycleState;
+
+ /**
+ * The current state of the Autonomous AI Database.
+ *
+ * @return the value
+ */
+ public LifecycleState getLifecycleState() {
+ return lifecycleState;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -153,6 +253,7 @@ public String toString(boolean includeByteArrayContents) {
sb.append("super=").append(super.toString());
sb.append("compartmentId=").append(String.valueOf(this.compartmentId));
sb.append(", displayName=").append(String.valueOf(this.displayName));
+ sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState));
sb.append(")");
return sb.toString();
}
@@ -169,6 +270,7 @@ public boolean equals(Object o) {
AutonomousDatabaseInBackup other = (AutonomousDatabaseInBackup) o;
return java.util.Objects.equals(this.compartmentId, other.compartmentId)
&& java.util.Objects.equals(this.displayName, other.displayName)
+ && java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
&& super.equals(other);
}
@@ -180,6 +282,9 @@ public int hashCode() {
(result * PRIME)
+ (this.compartmentId == null ? 43 : this.compartmentId.hashCode());
result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode());
+ result =
+ (result * PRIME)
+ + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseInBackupCollection.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseInBackupCollection.java
new file mode 100644
index 00000000000..aafa748e296
--- /dev/null
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseInBackupCollection.java
@@ -0,0 +1,142 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.database.model;
+
+/**
+ * The collection of Autonomous Database details that are part of Autonomous Container Database
+ * Backup associated.
+ * 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 = AutonomousDatabaseInBackupCollection.Builder.class)
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class AutonomousDatabaseInBackupCollection
+ extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({"items"})
+ public AutonomousDatabaseInBackupCollection(
+ java.util.List items) {
+ super();
+ this.items = items;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * The list of Autonomous Databases that are part of the Autonomous Container Database
+ * Backup.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("items")
+ private java.util.List items;
+
+ /**
+ * The list of Autonomous Databases that are part of the Autonomous Container Database
+ * Backup.
+ *
+ * @param items the value to set
+ * @return this builder
+ */
+ public Builder items(java.util.List items) {
+ this.items = items;
+ this.__explicitlySet__.add("items");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public AutonomousDatabaseInBackupCollection build() {
+ AutonomousDatabaseInBackupCollection model =
+ new AutonomousDatabaseInBackupCollection(this.items);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(AutonomousDatabaseInBackupCollection model) {
+ if (model.wasPropertyExplicitlySet("items")) {
+ this.items(model.getItems());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ /**
+ * The list of Autonomous Databases that are part of the Autonomous Container Database Backup.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("items")
+ private final java.util.List items;
+
+ /**
+ * The list of Autonomous Databases that are part of the Autonomous Container Database Backup.
+ *
+ * @return the value
+ */
+ public java.util.List getItems() {
+ return items;
+ }
+
+ @Override
+ public String toString() {
+ return this.toString(true);
+ }
+
+ /**
+ * Return a string representation of the object.
+ *
+ * @param includeByteArrayContents true to include the full contents of byte arrays
+ * @return string representation
+ */
+ public String toString(boolean includeByteArrayContents) {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("AutonomousDatabaseInBackupCollection(");
+ sb.append("super=").append(super.toString());
+ sb.append("items=").append(String.valueOf(this.items));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof AutonomousDatabaseInBackupCollection)) {
+ return false;
+ }
+
+ AutonomousDatabaseInBackupCollection other = (AutonomousDatabaseInBackupCollection) o;
+ return java.util.Objects.equals(this.items, other.items) && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result = (result * PRIME) + (this.items == null ? 43 : this.items.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseInBackupSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseInBackupSummary.java
new file mode 100644
index 00000000000..c72aff417c7
--- /dev/null
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseInBackupSummary.java
@@ -0,0 +1,292 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.database.model;
+
+/**
+ * The summary of the autonomous database that are in the Autonomous Container Database Backup
+ * associated.
+ * 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 = AutonomousDatabaseInBackupSummary.Builder.class)
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class AutonomousDatabaseInBackupSummary
+ extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({"compartmentId", "displayName", "lifecycleState"})
+ public AutonomousDatabaseInBackupSummary(
+ String compartmentId, String displayName, LifecycleState lifecycleState) {
+ super();
+ this.compartmentId = compartmentId;
+ this.displayName = displayName;
+ this.lifecycleState = lifecycleState;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * compartment.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId")
+ private String compartmentId;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * compartment.
+ *
+ * @param compartmentId the value to set
+ * @return this builder
+ */
+ public Builder compartmentId(String compartmentId) {
+ this.compartmentId = compartmentId;
+ this.__explicitlySet__.add("compartmentId");
+ return this;
+ }
+ /**
+ * The user-friendly name for the Autonomous AI Database. The name does not have to be
+ * unique.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private String displayName;
+
+ /**
+ * The user-friendly name for the Autonomous AI Database. The name does not have to be
+ * unique.
+ *
+ * @param displayName the value to set
+ * @return this builder
+ */
+ public Builder displayName(String displayName) {
+ this.displayName = displayName;
+ this.__explicitlySet__.add("displayName");
+ return this;
+ }
+ /** The current state of the Autonomous AI Database. */
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState")
+ private LifecycleState lifecycleState;
+
+ /**
+ * The current state of the Autonomous AI Database.
+ *
+ * @param lifecycleState the value to set
+ * @return this builder
+ */
+ public Builder lifecycleState(LifecycleState lifecycleState) {
+ this.lifecycleState = lifecycleState;
+ this.__explicitlySet__.add("lifecycleState");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public AutonomousDatabaseInBackupSummary build() {
+ AutonomousDatabaseInBackupSummary model =
+ new AutonomousDatabaseInBackupSummary(
+ this.compartmentId, this.displayName, this.lifecycleState);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(AutonomousDatabaseInBackupSummary model) {
+ if (model.wasPropertyExplicitlySet("compartmentId")) {
+ this.compartmentId(model.getCompartmentId());
+ }
+ if (model.wasPropertyExplicitlySet("displayName")) {
+ this.displayName(model.getDisplayName());
+ }
+ if (model.wasPropertyExplicitlySet("lifecycleState")) {
+ this.lifecycleState(model.getLifecycleState());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * compartment.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId")
+ private final String compartmentId;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * compartment.
+ *
+ * @return the value
+ */
+ public String getCompartmentId() {
+ return compartmentId;
+ }
+
+ /**
+ * The user-friendly name for the Autonomous AI Database. The name does not have to be unique.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private final String displayName;
+
+ /**
+ * The user-friendly name for the Autonomous AI Database. The name does not have to be unique.
+ *
+ * @return the value
+ */
+ public String getDisplayName() {
+ return displayName;
+ }
+
+ /** The current state of the Autonomous AI Database. */
+ public enum LifecycleState implements com.oracle.bmc.http.internal.BmcEnum {
+ Provisioning("PROVISIONING"),
+ Available("AVAILABLE"),
+ Stopping("STOPPING"),
+ Stopped("STOPPED"),
+ Starting("STARTING"),
+ Terminating("TERMINATING"),
+ Terminated("TERMINATED"),
+ Unavailable("UNAVAILABLE"),
+ RestoreInProgress("RESTORE_IN_PROGRESS"),
+ RestoreFailed("RESTORE_FAILED"),
+ BackupInProgress("BACKUP_IN_PROGRESS"),
+ ScaleInProgress("SCALE_IN_PROGRESS"),
+ AvailableNeedsAttention("AVAILABLE_NEEDS_ATTENTION"),
+ Updating("UPDATING"),
+ MaintenanceInProgress("MAINTENANCE_IN_PROGRESS"),
+ Restarting("RESTARTING"),
+ Recreating("RECREATING"),
+ RoleChangeInProgress("ROLE_CHANGE_IN_PROGRESS"),
+ Upgrading("UPGRADING"),
+ Inaccessible("INACCESSIBLE"),
+ Standby("STANDBY"),
+ Transporting("TRANSPORTING"),
+
+ /**
+ * This value is used if a service returns a value for this enum that is not recognized by
+ * this version of the SDK.
+ */
+ UnknownEnumValue(null);
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(LifecycleState.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (LifecycleState v : LifecycleState.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ LifecycleState(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static LifecycleState create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'LifecycleState', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
+ }
+ };
+ /** The current state of the Autonomous AI Database. */
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState")
+ private final LifecycleState lifecycleState;
+
+ /**
+ * The current state of the Autonomous AI Database.
+ *
+ * @return the value
+ */
+ public LifecycleState getLifecycleState() {
+ return lifecycleState;
+ }
+
+ @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("AutonomousDatabaseInBackupSummary(");
+ sb.append("super=").append(super.toString());
+ sb.append("compartmentId=").append(String.valueOf(this.compartmentId));
+ sb.append(", displayName=").append(String.valueOf(this.displayName));
+ sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof AutonomousDatabaseInBackupSummary)) {
+ return false;
+ }
+
+ AutonomousDatabaseInBackupSummary other = (AutonomousDatabaseInBackupSummary) o;
+ return java.util.Objects.equals(this.compartmentId, other.compartmentId)
+ && java.util.Objects.equals(this.displayName, other.displayName)
+ && java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result =
+ (result * PRIME)
+ + (this.compartmentId == null ? 43 : this.compartmentId.hashCode());
+ result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode());
+ result =
+ (result * PRIME)
+ + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousContainerDatabaseBase.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousContainerDatabaseBase.java
index 54b80ec6fd1..76ec2f4347b 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousContainerDatabaseBase.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousContainerDatabaseBase.java
@@ -22,6 +22,9 @@
property = "source",
defaultImpl = CreateAutonomousContainerDatabaseBase.class)
@com.fasterxml.jackson.annotation.JsonSubTypes({
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = CreateAutonomousContainerDatabaseFromBackupTimestampDetails.class,
+ name = "BACKUP_FROM_TIMESTAMP"),
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = CreateAutonomousContainerDatabaseDetails.class,
name = "NONE"),
@@ -1302,6 +1305,7 @@ public int hashCode() {
public enum Source implements com.oracle.bmc.http.internal.BmcEnum {
None("NONE"),
BackupFromId("BACKUP_FROM_ID"),
+ BackupFromTimestamp("BACKUP_FROM_TIMESTAMP"),
;
private final String value;
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousContainerDatabaseFromBackupDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousContainerDatabaseFromBackupDetails.java
index 4174befc5aa..eefb3de908e 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousContainerDatabaseFromBackupDetails.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousContainerDatabaseFromBackupDetails.java
@@ -414,6 +414,60 @@ public Builder autonomousContainerDatabaseBackupId(
this.__explicitlySet__.add("autonomousContainerDatabaseBackupId");
return this;
}
+ /** The Autonomous AI Database clone type. */
+ @com.fasterxml.jackson.annotation.JsonProperty("cloneType")
+ private CloneType cloneType;
+
+ /**
+ * The Autonomous AI Database clone type.
+ *
+ * @param cloneType the value to set
+ * @return this builder
+ */
+ public Builder cloneType(CloneType cloneType) {
+ this.cloneType = cloneType;
+ this.__explicitlySet__.add("cloneType");
+ return this;
+ }
+ /**
+ * A list of Autonomous Databases ( display name of the ADB in specific ) to be cloned from
+ * backup of the source Autonomous Container Database.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("autonomousDatabasesToClone")
+ private java.util.List autonomousDatabasesToClone;
+
+ /**
+ * A list of Autonomous Databases ( display name of the ADB in specific ) to be cloned from
+ * backup of the source Autonomous Container Database.
+ *
+ * @param autonomousDatabasesToClone the value to set
+ * @return this builder
+ */
+ public Builder autonomousDatabasesToClone(
+ java.util.List autonomousDatabasesToClone) {
+ this.autonomousDatabasesToClone = autonomousDatabasesToClone;
+ this.__explicitlySet__.add("autonomousDatabasesToClone");
+ return this;
+ }
+ /**
+ * The speed at which the Autonomous Container Database Clone from backup operation to be
+ * performed by OCI.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("cloneBandWidth")
+ private CloneBandWidth cloneBandWidth;
+
+ /**
+ * The speed at which the Autonomous Container Database Clone from backup operation to be
+ * performed by OCI.
+ *
+ * @param cloneBandWidth the value to set
+ * @return this builder
+ */
+ public Builder cloneBandWidth(CloneBandWidth cloneBandWidth) {
+ this.cloneBandWidth = cloneBandWidth;
+ this.__explicitlySet__.add("cloneBandWidth");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -460,7 +514,10 @@ public CreateAutonomousContainerDatabaseFromBackupDetails build() {
this.vmFailoverReservation,
this.distributionAffinity,
this.netServicesArchitecture,
- this.autonomousContainerDatabaseBackupId);
+ this.autonomousContainerDatabaseBackupId,
+ this.cloneType,
+ this.autonomousDatabasesToClone,
+ this.cloneBandWidth);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -596,6 +653,15 @@ public Builder copy(CreateAutonomousContainerDatabaseFromBackupDetails model) {
this.autonomousContainerDatabaseBackupId(
model.getAutonomousContainerDatabaseBackupId());
}
+ if (model.wasPropertyExplicitlySet("cloneType")) {
+ this.cloneType(model.getCloneType());
+ }
+ if (model.wasPropertyExplicitlySet("autonomousDatabasesToClone")) {
+ this.autonomousDatabasesToClone(model.getAutonomousDatabasesToClone());
+ }
+ if (model.wasPropertyExplicitlySet("cloneBandWidth")) {
+ this.cloneBandWidth(model.getCloneBandWidth());
+ }
return this;
}
}
@@ -650,7 +716,10 @@ public CreateAutonomousContainerDatabaseFromBackupDetails(
Integer vmFailoverReservation,
DistributionAffinity distributionAffinity,
NetServicesArchitecture netServicesArchitecture,
- String autonomousContainerDatabaseBackupId) {
+ String autonomousContainerDatabaseBackupId,
+ CloneType cloneType,
+ java.util.List autonomousDatabasesToClone,
+ CloneBandWidth cloneBandWidth) {
super(
customerContacts,
okvEndPointGroupName,
@@ -692,6 +761,9 @@ public CreateAutonomousContainerDatabaseFromBackupDetails(
distributionAffinity,
netServicesArchitecture);
this.autonomousContainerDatabaseBackupId = autonomousContainerDatabaseBackupId;
+ this.cloneType = cloneType;
+ this.autonomousDatabasesToClone = autonomousDatabasesToClone;
+ this.cloneBandWidth = cloneBandWidth;
}
/**
@@ -711,6 +783,124 @@ public String getAutonomousContainerDatabaseBackupId() {
return autonomousContainerDatabaseBackupId;
}
+ /** The Autonomous AI Database clone type. */
+ public enum CloneType implements com.oracle.bmc.http.internal.BmcEnum {
+ Full("FULL"),
+ Metadata("METADATA"),
+ Partial("PARTIAL"),
+ ;
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (CloneType v : CloneType.values()) {
+ map.put(v.getValue(), v);
+ }
+ }
+
+ CloneType(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static CloneType create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ throw new IllegalArgumentException("Invalid CloneType: " + key);
+ }
+ };
+ /** The Autonomous AI Database clone type. */
+ @com.fasterxml.jackson.annotation.JsonProperty("cloneType")
+ private final CloneType cloneType;
+
+ /**
+ * The Autonomous AI Database clone type.
+ *
+ * @return the value
+ */
+ public CloneType getCloneType() {
+ return cloneType;
+ }
+
+ /**
+ * A list of Autonomous Databases ( display name of the ADB in specific ) to be cloned from
+ * backup of the source Autonomous Container Database.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("autonomousDatabasesToClone")
+ private final java.util.List autonomousDatabasesToClone;
+
+ /**
+ * A list of Autonomous Databases ( display name of the ADB in specific ) to be cloned from
+ * backup of the source Autonomous Container Database.
+ *
+ * @return the value
+ */
+ public java.util.List getAutonomousDatabasesToClone() {
+ return autonomousDatabasesToClone;
+ }
+
+ /**
+ * The speed at which the Autonomous Container Database Clone from backup operation to be
+ * performed by OCI.
+ */
+ public enum CloneBandWidth implements com.oracle.bmc.http.internal.BmcEnum {
+ Slow("SLOW"),
+ Medium("MEDIUM"),
+ Fast("FAST"),
+ ;
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (CloneBandWidth v : CloneBandWidth.values()) {
+ map.put(v.getValue(), v);
+ }
+ }
+
+ CloneBandWidth(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static CloneBandWidth create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ throw new IllegalArgumentException("Invalid CloneBandWidth: " + key);
+ }
+ };
+ /**
+ * The speed at which the Autonomous Container Database Clone from backup operation to be
+ * performed by OCI.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("cloneBandWidth")
+ private final CloneBandWidth cloneBandWidth;
+
+ /**
+ * The speed at which the Autonomous Container Database Clone from backup operation to be
+ * performed by OCI.
+ *
+ * @return the value
+ */
+ public CloneBandWidth getCloneBandWidth() {
+ return cloneBandWidth;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -728,6 +918,10 @@ public String toString(boolean includeByteArrayContents) {
sb.append("super=").append(super.toString(includeByteArrayContents));
sb.append(", autonomousContainerDatabaseBackupId=")
.append(String.valueOf(this.autonomousContainerDatabaseBackupId));
+ sb.append(", cloneType=").append(String.valueOf(this.cloneType));
+ sb.append(", autonomousDatabasesToClone=")
+ .append(String.valueOf(this.autonomousDatabasesToClone));
+ sb.append(", cloneBandWidth=").append(String.valueOf(this.cloneBandWidth));
sb.append(")");
return sb.toString();
}
@@ -746,6 +940,10 @@ public boolean equals(Object o) {
return java.util.Objects.equals(
this.autonomousContainerDatabaseBackupId,
other.autonomousContainerDatabaseBackupId)
+ && java.util.Objects.equals(this.cloneType, other.cloneType)
+ && java.util.Objects.equals(
+ this.autonomousDatabasesToClone, other.autonomousDatabasesToClone)
+ && java.util.Objects.equals(this.cloneBandWidth, other.cloneBandWidth)
&& super.equals(other);
}
@@ -758,6 +956,15 @@ public int hashCode() {
+ (this.autonomousContainerDatabaseBackupId == null
? 43
: this.autonomousContainerDatabaseBackupId.hashCode());
+ result = (result * PRIME) + (this.cloneType == null ? 43 : this.cloneType.hashCode());
+ result =
+ (result * PRIME)
+ + (this.autonomousDatabasesToClone == null
+ ? 43
+ : this.autonomousDatabasesToClone.hashCode());
+ result =
+ (result * PRIME)
+ + (this.cloneBandWidth == null ? 43 : this.cloneBandWidth.hashCode());
return result;
}
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousContainerDatabaseFromBackupTimestampDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousContainerDatabaseFromBackupTimestampDetails.java
new file mode 100644
index 00000000000..32af6428e07
--- /dev/null
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousContainerDatabaseFromBackupTimestampDetails.java
@@ -0,0 +1,1075 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.database.model;
+
+/**
+ * Details to create an Autonomous Container Database (ACD) by cloning backup available, of an
+ * existing ACD, at the requested time stamp.
+ * 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 = CreateAutonomousContainerDatabaseFromBackupTimestampDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "source")
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class CreateAutonomousContainerDatabaseFromBackupTimestampDetails
+ extends CreateAutonomousContainerDatabaseBase {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("customerContacts")
+ private java.util.List customerContacts;
+
+ public Builder customerContacts(java.util.List customerContacts) {
+ this.customerContacts = customerContacts;
+ this.__explicitlySet__.add("customerContacts");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("okvEndPointGroupName")
+ private String okvEndPointGroupName;
+
+ public Builder okvEndPointGroupName(String okvEndPointGroupName) {
+ this.okvEndPointGroupName = okvEndPointGroupName;
+ this.__explicitlySet__.add("okvEndPointGroupName");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private String displayName;
+
+ public Builder displayName(String displayName) {
+ this.displayName = displayName;
+ this.__explicitlySet__.add("displayName");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("dbUniqueName")
+ private String dbUniqueName;
+
+ public Builder dbUniqueName(String dbUniqueName) {
+ this.dbUniqueName = dbUniqueName;
+ this.__explicitlySet__.add("dbUniqueName");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("dbName")
+ private String dbName;
+
+ public Builder dbName(String dbName) {
+ this.dbName = dbName;
+ this.__explicitlySet__.add("dbName");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("serviceLevelAgreementType")
+ private ServiceLevelAgreementType serviceLevelAgreementType;
+
+ public Builder serviceLevelAgreementType(
+ ServiceLevelAgreementType serviceLevelAgreementType) {
+ this.serviceLevelAgreementType = serviceLevelAgreementType;
+ this.__explicitlySet__.add("serviceLevelAgreementType");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("autonomousExadataInfrastructureId")
+ private String autonomousExadataInfrastructureId;
+
+ public Builder autonomousExadataInfrastructureId(String autonomousExadataInfrastructureId) {
+ this.autonomousExadataInfrastructureId = autonomousExadataInfrastructureId;
+ this.__explicitlySet__.add("autonomousExadataInfrastructureId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("dbVersion")
+ private String dbVersion;
+
+ public Builder dbVersion(String dbVersion) {
+ this.dbVersion = dbVersion;
+ this.__explicitlySet__.add("dbVersion");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("databaseSoftwareImageId")
+ private String databaseSoftwareImageId;
+
+ public Builder databaseSoftwareImageId(String databaseSoftwareImageId) {
+ this.databaseSoftwareImageId = databaseSoftwareImageId;
+ this.__explicitlySet__.add("databaseSoftwareImageId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("peerAutonomousExadataInfrastructureId")
+ private String peerAutonomousExadataInfrastructureId;
+
+ public Builder peerAutonomousExadataInfrastructureId(
+ String peerAutonomousExadataInfrastructureId) {
+ this.peerAutonomousExadataInfrastructureId = peerAutonomousExadataInfrastructureId;
+ this.__explicitlySet__.add("peerAutonomousExadataInfrastructureId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("peerAutonomousContainerDatabaseDisplayName")
+ private String peerAutonomousContainerDatabaseDisplayName;
+
+ public Builder peerAutonomousContainerDatabaseDisplayName(
+ String peerAutonomousContainerDatabaseDisplayName) {
+ this.peerAutonomousContainerDatabaseDisplayName =
+ peerAutonomousContainerDatabaseDisplayName;
+ this.__explicitlySet__.add("peerAutonomousContainerDatabaseDisplayName");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("protectionMode")
+ private ProtectionMode protectionMode;
+
+ public Builder protectionMode(ProtectionMode protectionMode) {
+ this.protectionMode = protectionMode;
+ this.__explicitlySet__.add("protectionMode");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("fastStartFailOverLagLimitInSeconds")
+ private Integer fastStartFailOverLagLimitInSeconds;
+
+ public Builder fastStartFailOverLagLimitInSeconds(
+ Integer fastStartFailOverLagLimitInSeconds) {
+ this.fastStartFailOverLagLimitInSeconds = fastStartFailOverLagLimitInSeconds;
+ this.__explicitlySet__.add("fastStartFailOverLagLimitInSeconds");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("isAutomaticFailoverEnabled")
+ private Boolean isAutomaticFailoverEnabled;
+
+ public Builder isAutomaticFailoverEnabled(Boolean isAutomaticFailoverEnabled) {
+ this.isAutomaticFailoverEnabled = isAutomaticFailoverEnabled;
+ this.__explicitlySet__.add("isAutomaticFailoverEnabled");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("peerCloudAutonomousVmClusterId")
+ private String peerCloudAutonomousVmClusterId;
+
+ public Builder peerCloudAutonomousVmClusterId(String peerCloudAutonomousVmClusterId) {
+ this.peerCloudAutonomousVmClusterId = peerCloudAutonomousVmClusterId;
+ this.__explicitlySet__.add("peerCloudAutonomousVmClusterId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("peerAutonomousVmClusterId")
+ private String peerAutonomousVmClusterId;
+
+ public Builder peerAutonomousVmClusterId(String peerAutonomousVmClusterId) {
+ this.peerAutonomousVmClusterId = peerAutonomousVmClusterId;
+ this.__explicitlySet__.add("peerAutonomousVmClusterId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty(
+ "peerAutonomousContainerDatabaseCompartmentId")
+ private String peerAutonomousContainerDatabaseCompartmentId;
+
+ public Builder peerAutonomousContainerDatabaseCompartmentId(
+ String peerAutonomousContainerDatabaseCompartmentId) {
+ this.peerAutonomousContainerDatabaseCompartmentId =
+ peerAutonomousContainerDatabaseCompartmentId;
+ this.__explicitlySet__.add("peerAutonomousContainerDatabaseCompartmentId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty(
+ "peerAutonomousContainerDatabaseBackupConfig")
+ private PeerAutonomousContainerDatabaseBackupConfig
+ peerAutonomousContainerDatabaseBackupConfig;
+
+ public Builder peerAutonomousContainerDatabaseBackupConfig(
+ PeerAutonomousContainerDatabaseBackupConfig
+ peerAutonomousContainerDatabaseBackupConfig) {
+ this.peerAutonomousContainerDatabaseBackupConfig =
+ peerAutonomousContainerDatabaseBackupConfig;
+ this.__explicitlySet__.add("peerAutonomousContainerDatabaseBackupConfig");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("peerDbUniqueName")
+ private String peerDbUniqueName;
+
+ public Builder peerDbUniqueName(String peerDbUniqueName) {
+ this.peerDbUniqueName = peerDbUniqueName;
+ this.__explicitlySet__.add("peerDbUniqueName");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("autonomousVmClusterId")
+ private String autonomousVmClusterId;
+
+ public Builder autonomousVmClusterId(String autonomousVmClusterId) {
+ this.autonomousVmClusterId = autonomousVmClusterId;
+ this.__explicitlySet__.add("autonomousVmClusterId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("cloudAutonomousVmClusterId")
+ private String cloudAutonomousVmClusterId;
+
+ public Builder cloudAutonomousVmClusterId(String cloudAutonomousVmClusterId) {
+ this.cloudAutonomousVmClusterId = cloudAutonomousVmClusterId;
+ this.__explicitlySet__.add("cloudAutonomousVmClusterId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId")
+ private String compartmentId;
+
+ public Builder compartmentId(String compartmentId) {
+ this.compartmentId = compartmentId;
+ this.__explicitlySet__.add("compartmentId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("patchModel")
+ private PatchModel patchModel;
+
+ public Builder patchModel(PatchModel patchModel) {
+ this.patchModel = patchModel;
+ this.__explicitlySet__.add("patchModel");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("maintenanceWindowDetails")
+ private MaintenanceWindow maintenanceWindowDetails;
+
+ public Builder maintenanceWindowDetails(MaintenanceWindow maintenanceWindowDetails) {
+ this.maintenanceWindowDetails = maintenanceWindowDetails;
+ this.__explicitlySet__.add("maintenanceWindowDetails");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("standbyMaintenanceBufferInDays")
+ private Integer standbyMaintenanceBufferInDays;
+
+ public Builder standbyMaintenanceBufferInDays(Integer standbyMaintenanceBufferInDays) {
+ this.standbyMaintenanceBufferInDays = standbyMaintenanceBufferInDays;
+ this.__explicitlySet__.add("standbyMaintenanceBufferInDays");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("versionPreference")
+ private VersionPreference versionPreference;
+
+ public Builder versionPreference(VersionPreference versionPreference) {
+ this.versionPreference = versionPreference;
+ this.__explicitlySet__.add("versionPreference");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("isDstFileUpdateEnabled")
+ private Boolean isDstFileUpdateEnabled;
+
+ public Builder isDstFileUpdateEnabled(Boolean isDstFileUpdateEnabled) {
+ this.isDstFileUpdateEnabled = isDstFileUpdateEnabled;
+ this.__explicitlySet__.add("isDstFileUpdateEnabled");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("freeformTags")
+ private java.util.Map freeformTags;
+
+ public Builder freeformTags(java.util.Map freeformTags) {
+ this.freeformTags = freeformTags;
+ this.__explicitlySet__.add("freeformTags");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("definedTags")
+ private java.util.Map> definedTags;
+
+ public Builder definedTags(
+ java.util.Map> definedTags) {
+ this.definedTags = definedTags;
+ this.__explicitlySet__.add("definedTags");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("backupConfig")
+ private AutonomousContainerDatabaseBackupConfig backupConfig;
+
+ public Builder backupConfig(AutonomousContainerDatabaseBackupConfig backupConfig) {
+ this.backupConfig = backupConfig;
+ this.__explicitlySet__.add("backupConfig");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("kmsKeyId")
+ private String kmsKeyId;
+
+ public Builder kmsKeyId(String kmsKeyId) {
+ this.kmsKeyId = kmsKeyId;
+ this.__explicitlySet__.add("kmsKeyId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("kmsKeyVersionId")
+ private String kmsKeyVersionId;
+
+ public Builder kmsKeyVersionId(String kmsKeyVersionId) {
+ this.kmsKeyVersionId = kmsKeyVersionId;
+ this.__explicitlySet__.add("kmsKeyVersionId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("vaultId")
+ private String vaultId;
+
+ public Builder vaultId(String vaultId) {
+ this.vaultId = vaultId;
+ this.__explicitlySet__.add("vaultId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("keyStoreId")
+ private String keyStoreId;
+
+ public Builder keyStoreId(String keyStoreId) {
+ this.keyStoreId = keyStoreId;
+ this.__explicitlySet__.add("keyStoreId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("encryptionKeyLocationDetails")
+ private EncryptionKeyLocationDetails encryptionKeyLocationDetails;
+
+ public Builder encryptionKeyLocationDetails(
+ EncryptionKeyLocationDetails encryptionKeyLocationDetails) {
+ this.encryptionKeyLocationDetails = encryptionKeyLocationDetails;
+ this.__explicitlySet__.add("encryptionKeyLocationDetails");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("dbSplitThreshold")
+ private Integer dbSplitThreshold;
+
+ public Builder dbSplitThreshold(Integer dbSplitThreshold) {
+ this.dbSplitThreshold = dbSplitThreshold;
+ this.__explicitlySet__.add("dbSplitThreshold");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("vmFailoverReservation")
+ private Integer vmFailoverReservation;
+
+ public Builder vmFailoverReservation(Integer vmFailoverReservation) {
+ this.vmFailoverReservation = vmFailoverReservation;
+ this.__explicitlySet__.add("vmFailoverReservation");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("distributionAffinity")
+ private DistributionAffinity distributionAffinity;
+
+ public Builder distributionAffinity(DistributionAffinity distributionAffinity) {
+ this.distributionAffinity = distributionAffinity;
+ this.__explicitlySet__.add("distributionAffinity");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("netServicesArchitecture")
+ private NetServicesArchitecture netServicesArchitecture;
+
+ public Builder netServicesArchitecture(NetServicesArchitecture netServicesArchitecture) {
+ this.netServicesArchitecture = netServicesArchitecture;
+ this.__explicitlySet__.add("netServicesArchitecture");
+ return this;
+ }
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * source ACD that you will clone to create a new ACD.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("sourceAutonomousContainerDatabaseId")
+ private String sourceAutonomousContainerDatabaseId;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * source ACD that you will clone to create a new ACD.
+ *
+ * @param sourceAutonomousContainerDatabaseId the value to set
+ * @return this builder
+ */
+ public Builder sourceAutonomousContainerDatabaseId(
+ String sourceAutonomousContainerDatabaseId) {
+ this.sourceAutonomousContainerDatabaseId = sourceAutonomousContainerDatabaseId;
+ this.__explicitlySet__.add("sourceAutonomousContainerDatabaseId");
+ return this;
+ }
+ /**
+ * The time stamp representing the point in time to which the Autonomous Container Database
+ * should be cloned from backup. And the requested timeStamp should be in the past.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("timeStampToUseForCloning")
+ private java.util.Date timeStampToUseForCloning;
+
+ /**
+ * The time stamp representing the point in time to which the Autonomous Container Database
+ * should be cloned from backup. And the requested timeStamp should be in the past.
+ *
+ * @param timeStampToUseForCloning the value to set
+ * @return this builder
+ */
+ public Builder timeStampToUseForCloning(java.util.Date timeStampToUseForCloning) {
+ this.timeStampToUseForCloning = timeStampToUseForCloning;
+ this.__explicitlySet__.add("timeStampToUseForCloning");
+ return this;
+ }
+ /**
+ * If set to true, OCI shall attempt to create a point in time to the latest available
+ * backup of the source Autonomous Container Database.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("shouldUseLatestAvailableBackupTimeStamp")
+ private Boolean shouldUseLatestAvailableBackupTimeStamp;
+
+ /**
+ * If set to true, OCI shall attempt to create a point in time to the latest available
+ * backup of the source Autonomous Container Database.
+ *
+ * @param shouldUseLatestAvailableBackupTimeStamp the value to set
+ * @return this builder
+ */
+ public Builder shouldUseLatestAvailableBackupTimeStamp(
+ Boolean shouldUseLatestAvailableBackupTimeStamp) {
+ this.shouldUseLatestAvailableBackupTimeStamp = shouldUseLatestAvailableBackupTimeStamp;
+ this.__explicitlySet__.add("shouldUseLatestAvailableBackupTimeStamp");
+ return this;
+ }
+ /** The Autonomous AI Database clone type. */
+ @com.fasterxml.jackson.annotation.JsonProperty("cloneType")
+ private CloneType cloneType;
+
+ /**
+ * The Autonomous AI Database clone type.
+ *
+ * @param cloneType the value to set
+ * @return this builder
+ */
+ public Builder cloneType(CloneType cloneType) {
+ this.cloneType = cloneType;
+ this.__explicitlySet__.add("cloneType");
+ return this;
+ }
+ /**
+ * A list of Autonomous Databases ( display name of the ADB in specific ) to be cloned from
+ * backup of the source Autonomous Container Database.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("autonomousDatabasesToClone")
+ private java.util.List autonomousDatabasesToClone;
+
+ /**
+ * A list of Autonomous Databases ( display name of the ADB in specific ) to be cloned from
+ * backup of the source Autonomous Container Database.
+ *
+ * @param autonomousDatabasesToClone the value to set
+ * @return this builder
+ */
+ public Builder autonomousDatabasesToClone(
+ java.util.List autonomousDatabasesToClone) {
+ this.autonomousDatabasesToClone = autonomousDatabasesToClone;
+ this.__explicitlySet__.add("autonomousDatabasesToClone");
+ return this;
+ }
+ /**
+ * The speed at which the Autonomous Container Database Clone from backup operation to be
+ * performed by OCI.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("cloneBandWidth")
+ private CloneBandWidth cloneBandWidth;
+
+ /**
+ * The speed at which the Autonomous Container Database Clone from backup operation to be
+ * performed by OCI.
+ *
+ * @param cloneBandWidth the value to set
+ * @return this builder
+ */
+ public Builder cloneBandWidth(CloneBandWidth cloneBandWidth) {
+ this.cloneBandWidth = cloneBandWidth;
+ this.__explicitlySet__.add("cloneBandWidth");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public CreateAutonomousContainerDatabaseFromBackupTimestampDetails build() {
+ CreateAutonomousContainerDatabaseFromBackupTimestampDetails model =
+ new CreateAutonomousContainerDatabaseFromBackupTimestampDetails(
+ this.customerContacts,
+ this.okvEndPointGroupName,
+ this.displayName,
+ this.dbUniqueName,
+ this.dbName,
+ this.serviceLevelAgreementType,
+ this.autonomousExadataInfrastructureId,
+ this.dbVersion,
+ this.databaseSoftwareImageId,
+ this.peerAutonomousExadataInfrastructureId,
+ this.peerAutonomousContainerDatabaseDisplayName,
+ this.protectionMode,
+ this.fastStartFailOverLagLimitInSeconds,
+ this.isAutomaticFailoverEnabled,
+ this.peerCloudAutonomousVmClusterId,
+ this.peerAutonomousVmClusterId,
+ this.peerAutonomousContainerDatabaseCompartmentId,
+ this.peerAutonomousContainerDatabaseBackupConfig,
+ this.peerDbUniqueName,
+ this.autonomousVmClusterId,
+ this.cloudAutonomousVmClusterId,
+ this.compartmentId,
+ this.patchModel,
+ this.maintenanceWindowDetails,
+ this.standbyMaintenanceBufferInDays,
+ this.versionPreference,
+ this.isDstFileUpdateEnabled,
+ this.freeformTags,
+ this.definedTags,
+ this.backupConfig,
+ this.kmsKeyId,
+ this.kmsKeyVersionId,
+ this.vaultId,
+ this.keyStoreId,
+ this.encryptionKeyLocationDetails,
+ this.dbSplitThreshold,
+ this.vmFailoverReservation,
+ this.distributionAffinity,
+ this.netServicesArchitecture,
+ this.sourceAutonomousContainerDatabaseId,
+ this.timeStampToUseForCloning,
+ this.shouldUseLatestAvailableBackupTimeStamp,
+ this.cloneType,
+ this.autonomousDatabasesToClone,
+ this.cloneBandWidth);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(CreateAutonomousContainerDatabaseFromBackupTimestampDetails model) {
+ if (model.wasPropertyExplicitlySet("customerContacts")) {
+ this.customerContacts(model.getCustomerContacts());
+ }
+ if (model.wasPropertyExplicitlySet("okvEndPointGroupName")) {
+ this.okvEndPointGroupName(model.getOkvEndPointGroupName());
+ }
+ if (model.wasPropertyExplicitlySet("displayName")) {
+ this.displayName(model.getDisplayName());
+ }
+ if (model.wasPropertyExplicitlySet("dbUniqueName")) {
+ this.dbUniqueName(model.getDbUniqueName());
+ }
+ if (model.wasPropertyExplicitlySet("dbName")) {
+ this.dbName(model.getDbName());
+ }
+ if (model.wasPropertyExplicitlySet("serviceLevelAgreementType")) {
+ this.serviceLevelAgreementType(model.getServiceLevelAgreementType());
+ }
+ if (model.wasPropertyExplicitlySet("autonomousExadataInfrastructureId")) {
+ this.autonomousExadataInfrastructureId(
+ model.getAutonomousExadataInfrastructureId());
+ }
+ if (model.wasPropertyExplicitlySet("dbVersion")) {
+ this.dbVersion(model.getDbVersion());
+ }
+ if (model.wasPropertyExplicitlySet("databaseSoftwareImageId")) {
+ this.databaseSoftwareImageId(model.getDatabaseSoftwareImageId());
+ }
+ if (model.wasPropertyExplicitlySet("peerAutonomousExadataInfrastructureId")) {
+ this.peerAutonomousExadataInfrastructureId(
+ model.getPeerAutonomousExadataInfrastructureId());
+ }
+ if (model.wasPropertyExplicitlySet("peerAutonomousContainerDatabaseDisplayName")) {
+ this.peerAutonomousContainerDatabaseDisplayName(
+ model.getPeerAutonomousContainerDatabaseDisplayName());
+ }
+ if (model.wasPropertyExplicitlySet("protectionMode")) {
+ this.protectionMode(model.getProtectionMode());
+ }
+ if (model.wasPropertyExplicitlySet("fastStartFailOverLagLimitInSeconds")) {
+ this.fastStartFailOverLagLimitInSeconds(
+ model.getFastStartFailOverLagLimitInSeconds());
+ }
+ if (model.wasPropertyExplicitlySet("isAutomaticFailoverEnabled")) {
+ this.isAutomaticFailoverEnabled(model.getIsAutomaticFailoverEnabled());
+ }
+ if (model.wasPropertyExplicitlySet("peerCloudAutonomousVmClusterId")) {
+ this.peerCloudAutonomousVmClusterId(model.getPeerCloudAutonomousVmClusterId());
+ }
+ if (model.wasPropertyExplicitlySet("peerAutonomousVmClusterId")) {
+ this.peerAutonomousVmClusterId(model.getPeerAutonomousVmClusterId());
+ }
+ if (model.wasPropertyExplicitlySet("peerAutonomousContainerDatabaseCompartmentId")) {
+ this.peerAutonomousContainerDatabaseCompartmentId(
+ model.getPeerAutonomousContainerDatabaseCompartmentId());
+ }
+ if (model.wasPropertyExplicitlySet("peerAutonomousContainerDatabaseBackupConfig")) {
+ this.peerAutonomousContainerDatabaseBackupConfig(
+ model.getPeerAutonomousContainerDatabaseBackupConfig());
+ }
+ if (model.wasPropertyExplicitlySet("peerDbUniqueName")) {
+ this.peerDbUniqueName(model.getPeerDbUniqueName());
+ }
+ if (model.wasPropertyExplicitlySet("autonomousVmClusterId")) {
+ this.autonomousVmClusterId(model.getAutonomousVmClusterId());
+ }
+ if (model.wasPropertyExplicitlySet("cloudAutonomousVmClusterId")) {
+ this.cloudAutonomousVmClusterId(model.getCloudAutonomousVmClusterId());
+ }
+ if (model.wasPropertyExplicitlySet("compartmentId")) {
+ this.compartmentId(model.getCompartmentId());
+ }
+ if (model.wasPropertyExplicitlySet("patchModel")) {
+ this.patchModel(model.getPatchModel());
+ }
+ if (model.wasPropertyExplicitlySet("maintenanceWindowDetails")) {
+ this.maintenanceWindowDetails(model.getMaintenanceWindowDetails());
+ }
+ if (model.wasPropertyExplicitlySet("standbyMaintenanceBufferInDays")) {
+ this.standbyMaintenanceBufferInDays(model.getStandbyMaintenanceBufferInDays());
+ }
+ if (model.wasPropertyExplicitlySet("versionPreference")) {
+ this.versionPreference(model.getVersionPreference());
+ }
+ if (model.wasPropertyExplicitlySet("isDstFileUpdateEnabled")) {
+ this.isDstFileUpdateEnabled(model.getIsDstFileUpdateEnabled());
+ }
+ if (model.wasPropertyExplicitlySet("freeformTags")) {
+ this.freeformTags(model.getFreeformTags());
+ }
+ if (model.wasPropertyExplicitlySet("definedTags")) {
+ this.definedTags(model.getDefinedTags());
+ }
+ if (model.wasPropertyExplicitlySet("backupConfig")) {
+ this.backupConfig(model.getBackupConfig());
+ }
+ if (model.wasPropertyExplicitlySet("kmsKeyId")) {
+ this.kmsKeyId(model.getKmsKeyId());
+ }
+ if (model.wasPropertyExplicitlySet("kmsKeyVersionId")) {
+ this.kmsKeyVersionId(model.getKmsKeyVersionId());
+ }
+ if (model.wasPropertyExplicitlySet("vaultId")) {
+ this.vaultId(model.getVaultId());
+ }
+ if (model.wasPropertyExplicitlySet("keyStoreId")) {
+ this.keyStoreId(model.getKeyStoreId());
+ }
+ if (model.wasPropertyExplicitlySet("encryptionKeyLocationDetails")) {
+ this.encryptionKeyLocationDetails(model.getEncryptionKeyLocationDetails());
+ }
+ if (model.wasPropertyExplicitlySet("dbSplitThreshold")) {
+ this.dbSplitThreshold(model.getDbSplitThreshold());
+ }
+ if (model.wasPropertyExplicitlySet("vmFailoverReservation")) {
+ this.vmFailoverReservation(model.getVmFailoverReservation());
+ }
+ if (model.wasPropertyExplicitlySet("distributionAffinity")) {
+ this.distributionAffinity(model.getDistributionAffinity());
+ }
+ if (model.wasPropertyExplicitlySet("netServicesArchitecture")) {
+ this.netServicesArchitecture(model.getNetServicesArchitecture());
+ }
+ if (model.wasPropertyExplicitlySet("sourceAutonomousContainerDatabaseId")) {
+ this.sourceAutonomousContainerDatabaseId(
+ model.getSourceAutonomousContainerDatabaseId());
+ }
+ if (model.wasPropertyExplicitlySet("timeStampToUseForCloning")) {
+ this.timeStampToUseForCloning(model.getTimeStampToUseForCloning());
+ }
+ if (model.wasPropertyExplicitlySet("shouldUseLatestAvailableBackupTimeStamp")) {
+ this.shouldUseLatestAvailableBackupTimeStamp(
+ model.getShouldUseLatestAvailableBackupTimeStamp());
+ }
+ if (model.wasPropertyExplicitlySet("cloneType")) {
+ this.cloneType(model.getCloneType());
+ }
+ if (model.wasPropertyExplicitlySet("autonomousDatabasesToClone")) {
+ this.autonomousDatabasesToClone(model.getAutonomousDatabasesToClone());
+ }
+ if (model.wasPropertyExplicitlySet("cloneBandWidth")) {
+ this.cloneBandWidth(model.getCloneBandWidth());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public CreateAutonomousContainerDatabaseFromBackupTimestampDetails(
+ java.util.List customerContacts,
+ String okvEndPointGroupName,
+ String displayName,
+ String dbUniqueName,
+ String dbName,
+ ServiceLevelAgreementType serviceLevelAgreementType,
+ String autonomousExadataInfrastructureId,
+ String dbVersion,
+ String databaseSoftwareImageId,
+ String peerAutonomousExadataInfrastructureId,
+ String peerAutonomousContainerDatabaseDisplayName,
+ ProtectionMode protectionMode,
+ Integer fastStartFailOverLagLimitInSeconds,
+ Boolean isAutomaticFailoverEnabled,
+ String peerCloudAutonomousVmClusterId,
+ String peerAutonomousVmClusterId,
+ String peerAutonomousContainerDatabaseCompartmentId,
+ PeerAutonomousContainerDatabaseBackupConfig peerAutonomousContainerDatabaseBackupConfig,
+ String peerDbUniqueName,
+ String autonomousVmClusterId,
+ String cloudAutonomousVmClusterId,
+ String compartmentId,
+ PatchModel patchModel,
+ MaintenanceWindow maintenanceWindowDetails,
+ Integer standbyMaintenanceBufferInDays,
+ VersionPreference versionPreference,
+ Boolean isDstFileUpdateEnabled,
+ java.util.Map freeformTags,
+ java.util.Map> definedTags,
+ AutonomousContainerDatabaseBackupConfig backupConfig,
+ String kmsKeyId,
+ String kmsKeyVersionId,
+ String vaultId,
+ String keyStoreId,
+ EncryptionKeyLocationDetails encryptionKeyLocationDetails,
+ Integer dbSplitThreshold,
+ Integer vmFailoverReservation,
+ DistributionAffinity distributionAffinity,
+ NetServicesArchitecture netServicesArchitecture,
+ String sourceAutonomousContainerDatabaseId,
+ java.util.Date timeStampToUseForCloning,
+ Boolean shouldUseLatestAvailableBackupTimeStamp,
+ CloneType cloneType,
+ java.util.List autonomousDatabasesToClone,
+ CloneBandWidth cloneBandWidth) {
+ super(
+ customerContacts,
+ okvEndPointGroupName,
+ displayName,
+ dbUniqueName,
+ dbName,
+ serviceLevelAgreementType,
+ autonomousExadataInfrastructureId,
+ dbVersion,
+ databaseSoftwareImageId,
+ peerAutonomousExadataInfrastructureId,
+ peerAutonomousContainerDatabaseDisplayName,
+ protectionMode,
+ fastStartFailOverLagLimitInSeconds,
+ isAutomaticFailoverEnabled,
+ peerCloudAutonomousVmClusterId,
+ peerAutonomousVmClusterId,
+ peerAutonomousContainerDatabaseCompartmentId,
+ peerAutonomousContainerDatabaseBackupConfig,
+ peerDbUniqueName,
+ autonomousVmClusterId,
+ cloudAutonomousVmClusterId,
+ compartmentId,
+ patchModel,
+ maintenanceWindowDetails,
+ standbyMaintenanceBufferInDays,
+ versionPreference,
+ isDstFileUpdateEnabled,
+ freeformTags,
+ definedTags,
+ backupConfig,
+ kmsKeyId,
+ kmsKeyVersionId,
+ vaultId,
+ keyStoreId,
+ encryptionKeyLocationDetails,
+ dbSplitThreshold,
+ vmFailoverReservation,
+ distributionAffinity,
+ netServicesArchitecture);
+ this.sourceAutonomousContainerDatabaseId = sourceAutonomousContainerDatabaseId;
+ this.timeStampToUseForCloning = timeStampToUseForCloning;
+ this.shouldUseLatestAvailableBackupTimeStamp = shouldUseLatestAvailableBackupTimeStamp;
+ this.cloneType = cloneType;
+ this.autonomousDatabasesToClone = autonomousDatabasesToClone;
+ this.cloneBandWidth = cloneBandWidth;
+ }
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * source ACD that you will clone to create a new ACD.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("sourceAutonomousContainerDatabaseId")
+ private final String sourceAutonomousContainerDatabaseId;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * source ACD that you will clone to create a new ACD.
+ *
+ * @return the value
+ */
+ public String getSourceAutonomousContainerDatabaseId() {
+ return sourceAutonomousContainerDatabaseId;
+ }
+
+ /**
+ * The time stamp representing the point in time to which the Autonomous Container Database
+ * should be cloned from backup. And the requested timeStamp should be in the past.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("timeStampToUseForCloning")
+ private final java.util.Date timeStampToUseForCloning;
+
+ /**
+ * The time stamp representing the point in time to which the Autonomous Container Database
+ * should be cloned from backup. And the requested timeStamp should be in the past.
+ *
+ * @return the value
+ */
+ public java.util.Date getTimeStampToUseForCloning() {
+ return timeStampToUseForCloning;
+ }
+
+ /**
+ * If set to true, OCI shall attempt to create a point in time to the latest available backup of
+ * the source Autonomous Container Database.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("shouldUseLatestAvailableBackupTimeStamp")
+ private final Boolean shouldUseLatestAvailableBackupTimeStamp;
+
+ /**
+ * If set to true, OCI shall attempt to create a point in time to the latest available backup of
+ * the source Autonomous Container Database.
+ *
+ * @return the value
+ */
+ public Boolean getShouldUseLatestAvailableBackupTimeStamp() {
+ return shouldUseLatestAvailableBackupTimeStamp;
+ }
+
+ /** The Autonomous AI Database clone type. */
+ public enum CloneType implements com.oracle.bmc.http.internal.BmcEnum {
+ Full("FULL"),
+ Metadata("METADATA"),
+ Partial("PARTIAL"),
+ ;
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (CloneType v : CloneType.values()) {
+ map.put(v.getValue(), v);
+ }
+ }
+
+ CloneType(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static CloneType create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ throw new IllegalArgumentException("Invalid CloneType: " + key);
+ }
+ };
+ /** The Autonomous AI Database clone type. */
+ @com.fasterxml.jackson.annotation.JsonProperty("cloneType")
+ private final CloneType cloneType;
+
+ /**
+ * The Autonomous AI Database clone type.
+ *
+ * @return the value
+ */
+ public CloneType getCloneType() {
+ return cloneType;
+ }
+
+ /**
+ * A list of Autonomous Databases ( display name of the ADB in specific ) to be cloned from
+ * backup of the source Autonomous Container Database.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("autonomousDatabasesToClone")
+ private final java.util.List autonomousDatabasesToClone;
+
+ /**
+ * A list of Autonomous Databases ( display name of the ADB in specific ) to be cloned from
+ * backup of the source Autonomous Container Database.
+ *
+ * @return the value
+ */
+ public java.util.List getAutonomousDatabasesToClone() {
+ return autonomousDatabasesToClone;
+ }
+
+ /**
+ * The speed at which the Autonomous Container Database Clone from backup operation to be
+ * performed by OCI.
+ */
+ public enum CloneBandWidth implements com.oracle.bmc.http.internal.BmcEnum {
+ Slow("SLOW"),
+ Medium("MEDIUM"),
+ Fast("FAST"),
+ ;
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (CloneBandWidth v : CloneBandWidth.values()) {
+ map.put(v.getValue(), v);
+ }
+ }
+
+ CloneBandWidth(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static CloneBandWidth create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ throw new IllegalArgumentException("Invalid CloneBandWidth: " + key);
+ }
+ };
+ /**
+ * The speed at which the Autonomous Container Database Clone from backup operation to be
+ * performed by OCI.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("cloneBandWidth")
+ private final CloneBandWidth cloneBandWidth;
+
+ /**
+ * The speed at which the Autonomous Container Database Clone from backup operation to be
+ * performed by OCI.
+ *
+ * @return the value
+ */
+ public CloneBandWidth getCloneBandWidth() {
+ return cloneBandWidth;
+ }
+
+ @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("CreateAutonomousContainerDatabaseFromBackupTimestampDetails(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(", sourceAutonomousContainerDatabaseId=")
+ .append(String.valueOf(this.sourceAutonomousContainerDatabaseId));
+ sb.append(", timeStampToUseForCloning=")
+ .append(String.valueOf(this.timeStampToUseForCloning));
+ sb.append(", shouldUseLatestAvailableBackupTimeStamp=")
+ .append(String.valueOf(this.shouldUseLatestAvailableBackupTimeStamp));
+ sb.append(", cloneType=").append(String.valueOf(this.cloneType));
+ sb.append(", autonomousDatabasesToClone=")
+ .append(String.valueOf(this.autonomousDatabasesToClone));
+ sb.append(", cloneBandWidth=").append(String.valueOf(this.cloneBandWidth));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof CreateAutonomousContainerDatabaseFromBackupTimestampDetails)) {
+ return false;
+ }
+
+ CreateAutonomousContainerDatabaseFromBackupTimestampDetails other =
+ (CreateAutonomousContainerDatabaseFromBackupTimestampDetails) o;
+ return java.util.Objects.equals(
+ this.sourceAutonomousContainerDatabaseId,
+ other.sourceAutonomousContainerDatabaseId)
+ && java.util.Objects.equals(
+ this.timeStampToUseForCloning, other.timeStampToUseForCloning)
+ && java.util.Objects.equals(
+ this.shouldUseLatestAvailableBackupTimeStamp,
+ other.shouldUseLatestAvailableBackupTimeStamp)
+ && java.util.Objects.equals(this.cloneType, other.cloneType)
+ && java.util.Objects.equals(
+ this.autonomousDatabasesToClone, other.autonomousDatabasesToClone)
+ && java.util.Objects.equals(this.cloneBandWidth, other.cloneBandWidth)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.sourceAutonomousContainerDatabaseId == null
+ ? 43
+ : this.sourceAutonomousContainerDatabaseId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.timeStampToUseForCloning == null
+ ? 43
+ : this.timeStampToUseForCloning.hashCode());
+ result =
+ (result * PRIME)
+ + (this.shouldUseLatestAvailableBackupTimeStamp == null
+ ? 43
+ : this.shouldUseLatestAvailableBackupTimeStamp.hashCode());
+ result = (result * PRIME) + (this.cloneType == null ? 43 : this.cloneType.hashCode());
+ result =
+ (result * PRIME)
+ + (this.autonomousDatabasesToClone == null
+ ? 43
+ : this.autonomousDatabasesToClone.hashCode());
+ result =
+ (result * PRIME)
+ + (this.cloneBandWidth == null ? 43 : this.cloneBandWidth.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateStandbyDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateStandbyDetails.java
index 94b925b6004..0eac459ee18 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateStandbyDetails.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateStandbyDetails.java
@@ -35,7 +35,8 @@ public CreateStandbyDetails(
TransportType transportType,
DatabaseStorageSizeDetails storageSizeDetails,
java.util.Map freeformTags,
- java.util.Map> definedTags) {
+ java.util.Map> definedTags,
+ AutoFailoverConfiguration autoFailoverConfiguration) {
super();
this.sourceDatabaseId = sourceDatabaseId;
this.databaseAdminPassword =
@@ -51,6 +52,7 @@ public CreateStandbyDetails(
this.storageSizeDetails = storageSizeDetails;
this.freeformTags = freeformTags;
this.definedTags = definedTags;
+ this.autoFailoverConfiguration = autoFailoverConfiguration;
}
@com.fasterxml.jackson.annotation.JsonCreator
@@ -67,7 +69,8 @@ public CreateStandbyDetails(
"transportType",
"storageSizeDetails",
"freeformTags",
- "definedTags"
+ "definedTags",
+ "autoFailoverConfiguration"
})
public CreateStandbyDetails(
String sourceDatabaseId,
@@ -81,7 +84,8 @@ public CreateStandbyDetails(
TransportType transportType,
DatabaseStorageSizeDetails storageSizeDetails,
java.util.Map freeformTags,
- java.util.Map> definedTags) {
+ java.util.Map> definedTags,
+ AutoFailoverConfiguration autoFailoverConfiguration) {
super();
this.sourceDatabaseId = sourceDatabaseId;
this.databaseAdminPassword = databaseAdminPassword;
@@ -95,6 +99,7 @@ public CreateStandbyDetails(
this.storageSizeDetails = storageSizeDetails;
this.freeformTags = freeformTags;
this.definedTags = definedTags;
+ this.autoFailoverConfiguration = autoFailoverConfiguration;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -342,6 +347,16 @@ public Builder definedTags(
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("autoFailoverConfiguration")
+ private AutoFailoverConfiguration autoFailoverConfiguration;
+
+ public Builder autoFailoverConfiguration(
+ AutoFailoverConfiguration autoFailoverConfiguration) {
+ this.autoFailoverConfiguration = autoFailoverConfiguration;
+ this.__explicitlySet__.add("autoFailoverConfiguration");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -359,7 +374,8 @@ public CreateStandbyDetails build() {
this.transportType,
this.storageSizeDetails,
this.freeformTags,
- this.definedTags);
+ this.definedTags,
+ this.autoFailoverConfiguration);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -405,6 +421,9 @@ public Builder copy(CreateStandbyDetails model) {
if (model.wasPropertyExplicitlySet("definedTags")) {
this.definedTags(model.getDefinedTags());
}
+ if (model.wasPropertyExplicitlySet("autoFailoverConfiguration")) {
+ this.autoFailoverConfiguration(model.getAutoFailoverConfiguration());
+ }
return this;
}
}
@@ -733,6 +752,13 @@ public java.util.Map> getDefinedTags() {
return definedTags;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("autoFailoverConfiguration")
+ private final AutoFailoverConfiguration autoFailoverConfiguration;
+
+ public AutoFailoverConfiguration getAutoFailoverConfiguration() {
+ return autoFailoverConfiguration;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -762,6 +788,8 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", storageSizeDetails=").append(String.valueOf(this.storageSizeDetails));
sb.append(", freeformTags=").append(String.valueOf(this.freeformTags));
sb.append(", definedTags=").append(String.valueOf(this.definedTags));
+ sb.append(", autoFailoverConfiguration=")
+ .append(String.valueOf(this.autoFailoverConfiguration));
sb.append(")");
return sb.toString();
}
@@ -792,6 +820,8 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.storageSizeDetails, other.storageSizeDetails)
&& java.util.Objects.equals(this.freeformTags, other.freeformTags)
&& java.util.Objects.equals(this.definedTags, other.definedTags)
+ && java.util.Objects.equals(
+ this.autoFailoverConfiguration, other.autoFailoverConfiguration)
&& super.equals(other);
}
@@ -837,6 +867,11 @@ public int hashCode() {
: this.storageSizeDetails.hashCode());
result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode());
result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode());
+ result =
+ (result * PRIME)
+ + (this.autoFailoverConfiguration == null
+ ? 43
+ : this.autoFailoverConfiguration.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/DataGuardGroup.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/DataGuardGroup.java
index 06e053accb5..1e893dfce60 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/DataGuardGroup.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/DataGuardGroup.java
@@ -23,12 +23,15 @@
public final class DataGuardGroup
extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"members", "protectionMode"})
+ @java.beans.ConstructorProperties({"members", "protectionMode", "managedAutoFailOverReadiness"})
public DataGuardGroup(
- java.util.List members, ProtectionMode protectionMode) {
+ java.util.List members,
+ ProtectionMode protectionMode,
+ ManagedAutoFailOverReadiness managedAutoFailOverReadiness) {
super();
this.members = members;
this.protectionMode = protectionMode;
+ this.managedAutoFailOverReadiness = managedAutoFailOverReadiness;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -71,12 +74,30 @@ public Builder protectionMode(ProtectionMode protectionMode) {
this.__explicitlySet__.add("protectionMode");
return this;
}
+ /** Specifies readiness of Managed Automatic failover. */
+ @com.fasterxml.jackson.annotation.JsonProperty("managedAutoFailOverReadiness")
+ private ManagedAutoFailOverReadiness managedAutoFailOverReadiness;
+
+ /**
+ * Specifies readiness of Managed Automatic failover.
+ *
+ * @param managedAutoFailOverReadiness the value to set
+ * @return this builder
+ */
+ public Builder managedAutoFailOverReadiness(
+ ManagedAutoFailOverReadiness managedAutoFailOverReadiness) {
+ this.managedAutoFailOverReadiness = managedAutoFailOverReadiness;
+ this.__explicitlySet__.add("managedAutoFailOverReadiness");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
public DataGuardGroup build() {
- DataGuardGroup model = new DataGuardGroup(this.members, this.protectionMode);
+ DataGuardGroup model =
+ new DataGuardGroup(
+ this.members, this.protectionMode, this.managedAutoFailOverReadiness);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -91,6 +112,9 @@ public Builder copy(DataGuardGroup model) {
if (model.wasPropertyExplicitlySet("protectionMode")) {
this.protectionMode(model.getProtectionMode());
}
+ if (model.wasPropertyExplicitlySet("managedAutoFailOverReadiness")) {
+ this.managedAutoFailOverReadiness(model.getManagedAutoFailOverReadiness());
+ }
return this;
}
}
@@ -190,6 +214,65 @@ public ProtectionMode getProtectionMode() {
return protectionMode;
}
+ /** Specifies readiness of Managed Automatic failover. */
+ public enum ManagedAutoFailOverReadiness implements com.oracle.bmc.http.internal.BmcEnum {
+ Healthy("HEALTHY"),
+ Critical("CRITICAL"),
+
+ /**
+ * 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(ManagedAutoFailOverReadiness.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (ManagedAutoFailOverReadiness v : ManagedAutoFailOverReadiness.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ ManagedAutoFailOverReadiness(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static ManagedAutoFailOverReadiness create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'ManagedAutoFailOverReadiness', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
+ }
+ };
+ /** Specifies readiness of Managed Automatic failover. */
+ @com.fasterxml.jackson.annotation.JsonProperty("managedAutoFailOverReadiness")
+ private final ManagedAutoFailOverReadiness managedAutoFailOverReadiness;
+
+ /**
+ * Specifies readiness of Managed Automatic failover.
+ *
+ * @return the value
+ */
+ public ManagedAutoFailOverReadiness getManagedAutoFailOverReadiness() {
+ return managedAutoFailOverReadiness;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -207,6 +290,8 @@ public String toString(boolean includeByteArrayContents) {
sb.append("super=").append(super.toString());
sb.append("members=").append(String.valueOf(this.members));
sb.append(", protectionMode=").append(String.valueOf(this.protectionMode));
+ sb.append(", managedAutoFailOverReadiness=")
+ .append(String.valueOf(this.managedAutoFailOverReadiness));
sb.append(")");
return sb.toString();
}
@@ -223,6 +308,8 @@ public boolean equals(Object o) {
DataGuardGroup other = (DataGuardGroup) o;
return java.util.Objects.equals(this.members, other.members)
&& java.util.Objects.equals(this.protectionMode, other.protectionMode)
+ && java.util.Objects.equals(
+ this.managedAutoFailOverReadiness, other.managedAutoFailOverReadiness)
&& super.equals(other);
}
@@ -234,6 +321,11 @@ public int hashCode() {
result =
(result * PRIME)
+ (this.protectionMode == null ? 43 : this.protectionMode.hashCode());
+ result =
+ (result * PRIME)
+ + (this.managedAutoFailOverReadiness == null
+ ? 43
+ : this.managedAutoFailOverReadiness.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/DataGuardGroupMember.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/DataGuardGroupMember.java
index 5f5ff5d60cd..dee0933d874 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/DataGuardGroupMember.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/DataGuardGroupMember.java
@@ -39,7 +39,9 @@ public final class DataGuardGroupMember
"failoverReadiness",
"failoverReadinessMessage",
"dataLossExposure",
- "timeUpdated"
+ "timeUpdated",
+ "managedAutoFailover",
+ "failoverTargets"
})
public DataGuardGroupMember(
String dbSystemId,
@@ -56,7 +58,9 @@ public DataGuardGroupMember(
FailoverReadiness failoverReadiness,
String failoverReadinessMessage,
String dataLossExposure,
- java.util.Date timeUpdated) {
+ java.util.Date timeUpdated,
+ ManagedAutoFailover managedAutoFailover,
+ java.util.List failoverTargets) {
super();
this.dbSystemId = dbSystemId;
this.databaseId = databaseId;
@@ -73,6 +77,8 @@ public DataGuardGroupMember(
this.failoverReadinessMessage = failoverReadinessMessage;
this.dataLossExposure = dataLossExposure;
this.timeUpdated = timeUpdated;
+ this.managedAutoFailover = managedAutoFailover;
+ this.failoverTargets = failoverTargets;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -264,12 +270,18 @@ public Builder isActiveDataGuardEnabled(Boolean isActiveDataGuardEnabled) {
this.__explicitlySet__.add("isActiveDataGuardEnabled");
return this;
}
- /** The switchover readiness status of the Data Guard member. */
+ /**
+ * The switchover readiness status of the Data Guard member. *
+ * HEALTHY_AND_NOT_ROLECHANGE_TARGET - Indicates that the respective standby member is
+ * healthy but not currently designated to take switchover, when auto failover is enabled.
+ */
@com.fasterxml.jackson.annotation.JsonProperty("switchoverReadiness")
private SwitchoverReadiness switchoverReadiness;
/**
- * The switchover readiness status of the Data Guard member.
+ * The switchover readiness status of the Data Guard member. *
+ * HEALTHY_AND_NOT_ROLECHANGE_TARGET - Indicates that the respective standby member is
+ * healthy but not currently designated to take switchover, when auto failover is enabled.
*
* @param switchoverReadiness the value to set
* @return this builder
@@ -298,12 +310,18 @@ public Builder switchoverReadinessMessage(String switchoverReadinessMessage) {
this.__explicitlySet__.add("switchoverReadinessMessage");
return this;
}
- /** The failover readiness status of the Data Guard member. */
+ /**
+ * The failover readiness status of the Data Guard member. HEALTHY_AND_NOT_ROLECHANGE_TARGET
+ * - Indicates that the respective standby member is healthy but not currently designated to
+ * take failover, when auto failover is enabled.
+ */
@com.fasterxml.jackson.annotation.JsonProperty("failoverReadiness")
private FailoverReadiness failoverReadiness;
/**
- * The failover readiness status of the Data Guard member.
+ * The failover readiness status of the Data Guard member. HEALTHY_AND_NOT_ROLECHANGE_TARGET
+ * - Indicates that the respective standby member is healthy but not currently designated to
+ * take failover, when auto failover is enabled.
*
* @param failoverReadiness the value to set
* @return this builder
@@ -370,6 +388,36 @@ public Builder timeUpdated(java.util.Date timeUpdated) {
this.__explicitlySet__.add("timeUpdated");
return this;
}
+ /** The state of managed auto failover. */
+ @com.fasterxml.jackson.annotation.JsonProperty("managedAutoFailover")
+ private ManagedAutoFailover managedAutoFailover;
+
+ /**
+ * The state of managed auto failover.
+ *
+ * @param managedAutoFailover the value to set
+ * @return this builder
+ */
+ public Builder managedAutoFailover(ManagedAutoFailover managedAutoFailover) {
+ this.managedAutoFailover = managedAutoFailover;
+ this.__explicitlySet__.add("managedAutoFailover");
+ return this;
+ }
+ /** Specifies the {@code DB_UNIQUE_NAME} of the data guard group member databases. */
+ @com.fasterxml.jackson.annotation.JsonProperty("failoverTargets")
+ private java.util.List failoverTargets;
+
+ /**
+ * Specifies the {@code DB_UNIQUE_NAME} of the data guard group member databases.
+ *
+ * @param failoverTargets the value to set
+ * @return this builder
+ */
+ public Builder failoverTargets(java.util.List failoverTargets) {
+ this.failoverTargets = failoverTargets;
+ this.__explicitlySet__.add("failoverTargets");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -391,7 +439,9 @@ public DataGuardGroupMember build() {
this.failoverReadiness,
this.failoverReadinessMessage,
this.dataLossExposure,
- this.timeUpdated);
+ this.timeUpdated,
+ this.managedAutoFailover,
+ this.failoverTargets);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -445,6 +495,12 @@ public Builder copy(DataGuardGroupMember model) {
if (model.wasPropertyExplicitlySet("timeUpdated")) {
this.timeUpdated(model.getTimeUpdated());
}
+ if (model.wasPropertyExplicitlySet("managedAutoFailover")) {
+ this.managedAutoFailover(model.getManagedAutoFailover());
+ }
+ if (model.wasPropertyExplicitlySet("failoverTargets")) {
+ this.failoverTargets(model.getFailoverTargets());
+ }
return this;
}
}
@@ -733,11 +789,16 @@ public Boolean getIsActiveDataGuardEnabled() {
return isActiveDataGuardEnabled;
}
- /** The switchover readiness status of the Data Guard member. */
+ /**
+ * The switchover readiness status of the Data Guard member. * HEALTHY_AND_NOT_ROLECHANGE_TARGET
+ * - Indicates that the respective standby member is healthy but not currently designated to
+ * take switchover, when auto failover is enabled.
+ */
public enum SwitchoverReadiness implements com.oracle.bmc.http.internal.BmcEnum {
Healthy("HEALTHY"),
Warning("WARNING"),
Critical("CRITICAL"),
+ HealthyAndNotRolechangeTarget("HEALTHY_AND_NOT_ROLECHANGE_TARGET"),
/**
* This value is used if a service returns a value for this enum that is not recognized by
@@ -780,12 +841,18 @@ public static SwitchoverReadiness create(String key) {
return UnknownEnumValue;
}
};
- /** The switchover readiness status of the Data Guard member. */
+ /**
+ * The switchover readiness status of the Data Guard member. * HEALTHY_AND_NOT_ROLECHANGE_TARGET
+ * - Indicates that the respective standby member is healthy but not currently designated to
+ * take switchover, when auto failover is enabled.
+ */
@com.fasterxml.jackson.annotation.JsonProperty("switchoverReadiness")
private final SwitchoverReadiness switchoverReadiness;
/**
- * The switchover readiness status of the Data Guard member.
+ * The switchover readiness status of the Data Guard member. * HEALTHY_AND_NOT_ROLECHANGE_TARGET
+ * - Indicates that the respective standby member is healthy but not currently designated to
+ * take switchover, when auto failover is enabled.
*
* @return the value
*/
@@ -810,11 +877,16 @@ public String getSwitchoverReadinessMessage() {
return switchoverReadinessMessage;
}
- /** The failover readiness status of the Data Guard member. */
+ /**
+ * The failover readiness status of the Data Guard member. HEALTHY_AND_NOT_ROLECHANGE_TARGET -
+ * Indicates that the respective standby member is healthy but not currently designated to take
+ * failover, when auto failover is enabled.
+ */
public enum FailoverReadiness implements com.oracle.bmc.http.internal.BmcEnum {
Healthy("HEALTHY"),
Warning("WARNING"),
Critical("CRITICAL"),
+ HealthyAndNotRolechangeTarget("HEALTHY_AND_NOT_ROLECHANGE_TARGET"),
/**
* This value is used if a service returns a value for this enum that is not recognized by
@@ -857,12 +929,18 @@ public static FailoverReadiness create(String key) {
return UnknownEnumValue;
}
};
- /** The failover readiness status of the Data Guard member. */
+ /**
+ * The failover readiness status of the Data Guard member. HEALTHY_AND_NOT_ROLECHANGE_TARGET -
+ * Indicates that the respective standby member is healthy but not currently designated to take
+ * failover, when auto failover is enabled.
+ */
@com.fasterxml.jackson.annotation.JsonProperty("failoverReadiness")
private final FailoverReadiness failoverReadiness;
/**
- * The failover readiness status of the Data Guard member.
+ * The failover readiness status of the Data Guard member. HEALTHY_AND_NOT_ROLECHANGE_TARGET -
+ * Indicates that the respective standby member is healthy but not currently designated to take
+ * failover, when auto failover is enabled.
*
* @return the value
*/
@@ -919,6 +997,78 @@ public java.util.Date getTimeUpdated() {
return timeUpdated;
}
+ /** The state of managed auto failover. */
+ public enum ManagedAutoFailover implements com.oracle.bmc.http.internal.BmcEnum {
+ Enable("ENABLE"),
+ Disable("DISABLE"),
+
+ /**
+ * 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(ManagedAutoFailover.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (ManagedAutoFailover v : ManagedAutoFailover.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ ManagedAutoFailover(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static ManagedAutoFailover create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'ManagedAutoFailover', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
+ }
+ };
+ /** The state of managed auto failover. */
+ @com.fasterxml.jackson.annotation.JsonProperty("managedAutoFailover")
+ private final ManagedAutoFailover managedAutoFailover;
+
+ /**
+ * The state of managed auto failover.
+ *
+ * @return the value
+ */
+ public ManagedAutoFailover getManagedAutoFailover() {
+ return managedAutoFailover;
+ }
+
+ /** Specifies the {@code DB_UNIQUE_NAME} of the data guard group member databases. */
+ @com.fasterxml.jackson.annotation.JsonProperty("failoverTargets")
+ private final java.util.List failoverTargets;
+
+ /**
+ * Specifies the {@code DB_UNIQUE_NAME} of the data guard group member databases.
+ *
+ * @return the value
+ */
+ public java.util.List getFailoverTargets() {
+ return failoverTargets;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -952,6 +1102,8 @@ public String toString(boolean includeByteArrayContents) {
.append(String.valueOf(this.failoverReadinessMessage));
sb.append(", dataLossExposure=").append(String.valueOf(this.dataLossExposure));
sb.append(", timeUpdated=").append(String.valueOf(this.timeUpdated));
+ sb.append(", managedAutoFailover=").append(String.valueOf(this.managedAutoFailover));
+ sb.append(", failoverTargets=").append(String.valueOf(this.failoverTargets));
sb.append(")");
return sb.toString();
}
@@ -984,6 +1136,8 @@ public boolean equals(Object o) {
this.failoverReadinessMessage, other.failoverReadinessMessage)
&& java.util.Objects.equals(this.dataLossExposure, other.dataLossExposure)
&& java.util.Objects.equals(this.timeUpdated, other.timeUpdated)
+ && java.util.Objects.equals(this.managedAutoFailover, other.managedAutoFailover)
+ && java.util.Objects.equals(this.failoverTargets, other.failoverTargets)
&& super.equals(other);
}
@@ -1032,6 +1186,14 @@ public int hashCode() {
(result * PRIME)
+ (this.dataLossExposure == null ? 43 : this.dataLossExposure.hashCode());
result = (result * PRIME) + (this.timeUpdated == null ? 43 : this.timeUpdated.hashCode());
+ result =
+ (result * PRIME)
+ + (this.managedAutoFailover == null
+ ? 43
+ : this.managedAutoFailover.hashCode());
+ result =
+ (result * PRIME)
+ + (this.failoverTargets == null ? 43 : this.failoverTargets.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateDatabaseDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateDatabaseDetails.java
index 2e39f96cdc2..c05af5e41dc 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateDatabaseDetails.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateDatabaseDetails.java
@@ -36,7 +36,12 @@ public UpdateDatabaseDetails(
java.util.Map freeformTags,
java.util.Map> definedTags,
ManagedSoftwareUpdateInputDetails managedSoftwareUpdateDetails,
- PatchOptions patchOptions) {
+ PatchOptions patchOptions,
+ String databaseAdminPassword,
+ ProtectionMode protectionMode,
+ TransportType transportType,
+ Boolean isActiveDataGuardEnabled,
+ AutoFailoverConfiguration autoFailoverConfiguration) {
super();
this.dbBackupConfig = dbBackupConfig;
this.dbHomeId = dbHomeId;
@@ -50,6 +55,12 @@ public UpdateDatabaseDetails(
this.definedTags = definedTags;
this.managedSoftwareUpdateDetails = managedSoftwareUpdateDetails;
this.patchOptions = patchOptions;
+ this.databaseAdminPassword =
+ databaseAdminPassword != null ? databaseAdminPassword.toCharArray() : null;
+ this.protectionMode = protectionMode;
+ this.transportType = transportType;
+ this.isActiveDataGuardEnabled = isActiveDataGuardEnabled;
+ this.autoFailoverConfiguration = autoFailoverConfiguration;
}
@com.fasterxml.jackson.annotation.JsonCreator
@@ -64,7 +75,12 @@ public UpdateDatabaseDetails(
"freeformTags",
"definedTags",
"managedSoftwareUpdateDetails",
- "patchOptions"
+ "patchOptions",
+ "databaseAdminPassword",
+ "protectionMode",
+ "transportType",
+ "isActiveDataGuardEnabled",
+ "autoFailoverConfiguration"
})
public UpdateDatabaseDetails(
DbBackupConfig dbBackupConfig,
@@ -76,7 +92,12 @@ public UpdateDatabaseDetails(
java.util.Map freeformTags,
java.util.Map> definedTags,
ManagedSoftwareUpdateInputDetails managedSoftwareUpdateDetails,
- PatchOptions patchOptions) {
+ PatchOptions patchOptions,
+ char[] databaseAdminPassword,
+ ProtectionMode protectionMode,
+ TransportType transportType,
+ Boolean isActiveDataGuardEnabled,
+ AutoFailoverConfiguration autoFailoverConfiguration) {
super();
this.dbBackupConfig = dbBackupConfig;
this.dbHomeId = dbHomeId;
@@ -88,6 +109,11 @@ public UpdateDatabaseDetails(
this.definedTags = definedTags;
this.managedSoftwareUpdateDetails = managedSoftwareUpdateDetails;
this.patchOptions = patchOptions;
+ this.databaseAdminPassword = databaseAdminPassword;
+ this.protectionMode = protectionMode;
+ this.transportType = transportType;
+ this.isActiveDataGuardEnabled = isActiveDataGuardEnabled;
+ this.autoFailoverConfiguration = autoFailoverConfiguration;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -279,6 +305,121 @@ public Builder patchOptions(PatchOptions patchOptions) {
this.__explicitlySet__.add("patchOptions");
return this;
}
+ /**
+ * The administrator password of the primary database in this Data Guard association.
+ *
+ * *The password MUST be the same as the primary admin password.**
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("databaseAdminPassword")
+ private char[] databaseAdminPassword;
+
+ /**
+ * The administrator password of the primary database in this Data Guard association.
+ *
+ *
*The password MUST be the same as the primary admin password.**
+ *
+ * @param databaseAdminPassword the value to set
+ * @return this builder
+ */
+ public Builder databaseAdminPassword(char[] databaseAdminPassword) {
+ this.databaseAdminPassword = databaseAdminPassword;
+ this.__explicitlySet__.add("databaseAdminPassword");
+ return this;
+ }
+
+ public Builder databaseAdminPassword(String databaseAdminPassword) {
+ this.databaseAdminPassword =
+ databaseAdminPassword != null ? databaseAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("databaseAdminPassword");
+ return this;
+ }
+ /**
+ * The protection mode of this Data Guard. For more information, see [Oracle Data Guard
+ * Protection
+ * Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000)
+ * in the Oracle Data Guard documentation.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("protectionMode")
+ private ProtectionMode protectionMode;
+
+ /**
+ * The protection mode of this Data Guard. For more information, see [Oracle Data Guard
+ * Protection
+ * Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000)
+ * in the Oracle Data Guard documentation.
+ *
+ * @param protectionMode the value to set
+ * @return this builder
+ */
+ public Builder protectionMode(ProtectionMode protectionMode) {
+ this.protectionMode = protectionMode;
+ this.__explicitlySet__.add("protectionMode");
+ return this;
+ }
+ /**
+ * The redo transport type to use for this Data Guard association. Valid values depend on
+ * the specified {@code protectionMode}:
+ *
+ *
MAXIMUM_AVAILABILITY - SYNC or FASTSYNC * MAXIMUM_PERFORMANCE - ASYNC *
+ * MAXIMUM_PROTECTION - SYNC
+ *
+ *
For more information, see [Redo Transport
+ * Services](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-redo-transport-services.htm#SBYDB00400)
+ * in the Oracle Data Guard documentation.
+ *
+ *
*IMPORTANT** - The only transport type currently supported by the Database service is
+ * ASYNC.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("transportType")
+ private TransportType transportType;
+
+ /**
+ * The redo transport type to use for this Data Guard association. Valid values depend on
+ * the specified {@code protectionMode}:
+ *
+ *
MAXIMUM_AVAILABILITY - SYNC or FASTSYNC * MAXIMUM_PERFORMANCE - ASYNC *
+ * MAXIMUM_PROTECTION - SYNC
+ *
+ *
For more information, see [Redo Transport
+ * Services](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-redo-transport-services.htm#SBYDB00400)
+ * in the Oracle Data Guard documentation.
+ *
+ *
*IMPORTANT** - The only transport type currently supported by the Database service is
+ * ASYNC.
+ *
+ * @param transportType the value to set
+ * @return this builder
+ */
+ public Builder transportType(TransportType transportType) {
+ this.transportType = transportType;
+ this.__explicitlySet__.add("transportType");
+ return this;
+ }
+ /** True if active Data Guard is enabled. */
+ @com.fasterxml.jackson.annotation.JsonProperty("isActiveDataGuardEnabled")
+ private Boolean isActiveDataGuardEnabled;
+
+ /**
+ * True if active Data Guard is enabled.
+ *
+ * @param isActiveDataGuardEnabled the value to set
+ * @return this builder
+ */
+ public Builder isActiveDataGuardEnabled(Boolean isActiveDataGuardEnabled) {
+ this.isActiveDataGuardEnabled = isActiveDataGuardEnabled;
+ this.__explicitlySet__.add("isActiveDataGuardEnabled");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("autoFailoverConfiguration")
+ private AutoFailoverConfiguration autoFailoverConfiguration;
+
+ public Builder autoFailoverConfiguration(
+ AutoFailoverConfiguration autoFailoverConfiguration) {
+ this.autoFailoverConfiguration = autoFailoverConfiguration;
+ this.__explicitlySet__.add("autoFailoverConfiguration");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -295,7 +436,12 @@ public UpdateDatabaseDetails build() {
this.freeformTags,
this.definedTags,
this.managedSoftwareUpdateDetails,
- this.patchOptions);
+ this.patchOptions,
+ this.databaseAdminPassword,
+ this.protectionMode,
+ this.transportType,
+ this.isActiveDataGuardEnabled,
+ this.autoFailoverConfiguration);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -334,6 +480,21 @@ public Builder copy(UpdateDatabaseDetails model) {
if (model.wasPropertyExplicitlySet("patchOptions")) {
this.patchOptions(model.getPatchOptions());
}
+ if (model.wasPropertyExplicitlySet("databaseAdminPassword")) {
+ this.databaseAdminPassword(model.getDatabaseAdminPassword());
+ }
+ if (model.wasPropertyExplicitlySet("protectionMode")) {
+ this.protectionMode(model.getProtectionMode());
+ }
+ if (model.wasPropertyExplicitlySet("transportType")) {
+ this.transportType(model.getTransportType());
+ }
+ if (model.wasPropertyExplicitlySet("isActiveDataGuardEnabled")) {
+ this.isActiveDataGuardEnabled(model.getIsActiveDataGuardEnabled());
+ }
+ if (model.wasPropertyExplicitlySet("autoFailoverConfiguration")) {
+ this.autoFailoverConfiguration(model.getAutoFailoverConfiguration());
+ }
return this;
}
}
@@ -533,6 +694,202 @@ public PatchOptions getPatchOptions() {
return patchOptions;
}
+ /**
+ * The administrator password of the primary database in this Data Guard association.
+ *
+ * *The password MUST be the same as the primary admin password.**
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("databaseAdminPassword")
+ private final char[] databaseAdminPassword;
+
+ /**
+ * The administrator password of the primary database in this Data Guard association. <p>
+ * *The password MUST be the same as the primary admin password.**
+ *
+ * @return the value
+ * @deprecated Use getDatabaseAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getDatabaseAdminPassword() {
+ return databaseAdminPassword != null ? new String(databaseAdminPassword) : null;
+ }
+
+ /**
+ * The administrator password of the primary database in this Data Guard association.
+ *
+ *
*The password MUST be the same as the primary admin password.**
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("databaseAdminPassword")
+ public char[] getDatabaseAdminPassword__AsCharArray() {
+ return databaseAdminPassword;
+ }
+ /**
+ * The protection mode of this Data Guard. For more information, see [Oracle Data Guard
+ * Protection
+ * Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000)
+ * in the Oracle Data Guard documentation.
+ */
+ public enum ProtectionMode implements com.oracle.bmc.http.internal.BmcEnum {
+ MaximumAvailability("MAXIMUM_AVAILABILITY"),
+ MaximumPerformance("MAXIMUM_PERFORMANCE"),
+ MaximumProtection("MAXIMUM_PROTECTION"),
+ ;
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (ProtectionMode v : ProtectionMode.values()) {
+ map.put(v.getValue(), v);
+ }
+ }
+
+ ProtectionMode(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static ProtectionMode create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ throw new IllegalArgumentException("Invalid ProtectionMode: " + key);
+ }
+ };
+ /**
+ * The protection mode of this Data Guard. For more information, see [Oracle Data Guard
+ * Protection
+ * Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000)
+ * in the Oracle Data Guard documentation.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("protectionMode")
+ private final ProtectionMode protectionMode;
+
+ /**
+ * The protection mode of this Data Guard. For more information, see [Oracle Data Guard
+ * Protection
+ * Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000)
+ * in the Oracle Data Guard documentation.
+ *
+ * @return the value
+ */
+ public ProtectionMode getProtectionMode() {
+ return protectionMode;
+ }
+
+ /**
+ * The redo transport type to use for this Data Guard association. Valid values depend on the
+ * specified {@code protectionMode}:
+ *
+ * MAXIMUM_AVAILABILITY - SYNC or FASTSYNC * MAXIMUM_PERFORMANCE - ASYNC * MAXIMUM_PROTECTION
+ * - SYNC
+ *
+ *
For more information, see [Redo Transport
+ * Services](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-redo-transport-services.htm#SBYDB00400)
+ * in the Oracle Data Guard documentation.
+ *
+ *
*IMPORTANT** - The only transport type currently supported by the Database service is
+ * ASYNC.
+ */
+ public enum TransportType implements com.oracle.bmc.http.internal.BmcEnum {
+ Sync("SYNC"),
+ Async("ASYNC"),
+ Fastsync("FASTSYNC"),
+ ;
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (TransportType v : TransportType.values()) {
+ map.put(v.getValue(), v);
+ }
+ }
+
+ TransportType(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static TransportType create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ throw new IllegalArgumentException("Invalid TransportType: " + key);
+ }
+ };
+ /**
+ * The redo transport type to use for this Data Guard association. Valid values depend on the
+ * specified {@code protectionMode}:
+ *
+ * MAXIMUM_AVAILABILITY - SYNC or FASTSYNC * MAXIMUM_PERFORMANCE - ASYNC * MAXIMUM_PROTECTION
+ * - SYNC
+ *
+ *
For more information, see [Redo Transport
+ * Services](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-redo-transport-services.htm#SBYDB00400)
+ * in the Oracle Data Guard documentation.
+ *
+ *
*IMPORTANT** - The only transport type currently supported by the Database service is
+ * ASYNC.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("transportType")
+ private final TransportType transportType;
+
+ /**
+ * The redo transport type to use for this Data Guard association. Valid values depend on the
+ * specified {@code protectionMode}:
+ *
+ *
MAXIMUM_AVAILABILITY - SYNC or FASTSYNC * MAXIMUM_PERFORMANCE - ASYNC * MAXIMUM_PROTECTION
+ * - SYNC
+ *
+ *
For more information, see [Redo Transport
+ * Services](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-redo-transport-services.htm#SBYDB00400)
+ * in the Oracle Data Guard documentation.
+ *
+ *
*IMPORTANT** - The only transport type currently supported by the Database service is
+ * ASYNC.
+ *
+ * @return the value
+ */
+ public TransportType getTransportType() {
+ return transportType;
+ }
+
+ /** True if active Data Guard is enabled. */
+ @com.fasterxml.jackson.annotation.JsonProperty("isActiveDataGuardEnabled")
+ private final Boolean isActiveDataGuardEnabled;
+
+ /**
+ * True if active Data Guard is enabled.
+ *
+ * @return the value
+ */
+ public Boolean getIsActiveDataGuardEnabled() {
+ return isActiveDataGuardEnabled;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("autoFailoverConfiguration")
+ private final AutoFailoverConfiguration autoFailoverConfiguration;
+
+ public AutoFailoverConfiguration getAutoFailoverConfiguration() {
+ return autoFailoverConfiguration;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -559,6 +916,13 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", managedSoftwareUpdateDetails=")
.append(String.valueOf(this.managedSoftwareUpdateDetails));
sb.append(", patchOptions=").append(String.valueOf(this.patchOptions));
+ sb.append(", databaseAdminPassword=").append("");
+ sb.append(", protectionMode=").append(String.valueOf(this.protectionMode));
+ sb.append(", transportType=").append(String.valueOf(this.transportType));
+ sb.append(", isActiveDataGuardEnabled=")
+ .append(String.valueOf(this.isActiveDataGuardEnabled));
+ sb.append(", autoFailoverConfiguration=")
+ .append(String.valueOf(this.autoFailoverConfiguration));
sb.append(")");
return sb.toString();
}
@@ -584,6 +948,13 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(
this.managedSoftwareUpdateDetails, other.managedSoftwareUpdateDetails)
&& java.util.Objects.equals(this.patchOptions, other.patchOptions)
+ && java.util.Objects.equals(this.databaseAdminPassword, other.databaseAdminPassword)
+ && java.util.Objects.equals(this.protectionMode, other.protectionMode)
+ && java.util.Objects.equals(this.transportType, other.transportType)
+ && java.util.Objects.equals(
+ this.isActiveDataGuardEnabled, other.isActiveDataGuardEnabled)
+ && java.util.Objects.equals(
+ this.autoFailoverConfiguration, other.autoFailoverConfiguration)
&& super.equals(other);
}
@@ -621,6 +992,27 @@ public int hashCode() {
? 43
: this.managedSoftwareUpdateDetails.hashCode());
result = (result * PRIME) + (this.patchOptions == null ? 43 : this.patchOptions.hashCode());
+ result =
+ (result * PRIME)
+ + (this.databaseAdminPassword == null
+ ? 43
+ : this.databaseAdminPassword.hashCode());
+ result =
+ (result * PRIME)
+ + (this.protectionMode == null ? 43 : this.protectionMode.hashCode());
+ result =
+ (result * PRIME)
+ + (this.transportType == null ? 43 : this.transportType.hashCode());
+ result =
+ (result * PRIME)
+ + (this.isActiveDataGuardEnabled == null
+ ? 43
+ : this.isActiveDataGuardEnabled.hashCode());
+ result =
+ (result * PRIME)
+ + (this.autoFailoverConfiguration == null
+ ? 43
+ : this.autoFailoverConfiguration.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/requests/GetAutonomousContainerDatabaseBackupRequest.java b/bmc-database/src/main/java/com/oracle/bmc/database/requests/GetAutonomousContainerDatabaseBackupRequest.java
new file mode 100644
index 00000000000..7b45a82236d
--- /dev/null
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/requests/GetAutonomousContainerDatabaseBackupRequest.java
@@ -0,0 +1,217 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.database.requests;
+
+import com.oracle.bmc.database.model.*;
+/**
+ * Example: Click here to see how to use
+ * GetAutonomousContainerDatabaseBackupRequest.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+public class GetAutonomousContainerDatabaseBackupRequest
+ extends com.oracle.bmc.requests.BmcRequest {
+
+ /**
+ * The Autonomous Container Database backup
+ * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
+ */
+ private String autonomousContainerDatabaseBackupId;
+
+ /**
+ * The Autonomous Container Database backup
+ * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
+ */
+ public String getAutonomousContainerDatabaseBackupId() {
+ return autonomousContainerDatabaseBackupId;
+ }
+ /** Unique identifier for the request. */
+ private String opcRequestId;
+
+ /** Unique identifier for the request. */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.requests.BmcRequest.Builder<
+ GetAutonomousContainerDatabaseBackupRequest, java.lang.Void> {
+ private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null;
+ private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null;
+
+ /**
+ * The Autonomous Container Database backup
+ * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
+ */
+ private String autonomousContainerDatabaseBackupId = null;
+
+ /**
+ * The Autonomous Container Database backup
+ * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
+ *
+ * @param autonomousContainerDatabaseBackupId the value to set
+ * @return this builder instance
+ */
+ public Builder autonomousContainerDatabaseBackupId(
+ String autonomousContainerDatabaseBackupId) {
+ this.autonomousContainerDatabaseBackupId = autonomousContainerDatabaseBackupId;
+ return this;
+ }
+
+ /** Unique identifier for the request. */
+ private String opcRequestId = null;
+
+ /**
+ * Unique identifier for the request.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder instance
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /**
+ * Set the invocation callback for the request to be built.
+ *
+ * @param invocationCallback the invocation callback to be set for the request
+ * @return this builder instance
+ */
+ public Builder invocationCallback(
+ com.oracle.bmc.http.client.RequestInterceptor invocationCallback) {
+ this.invocationCallback = invocationCallback;
+ return this;
+ }
+
+ /**
+ * Set the retry configuration for the request to be built.
+ *
+ * @param retryConfiguration the retry configuration to be used for the request
+ * @return this builder instance
+ */
+ public Builder retryConfiguration(
+ com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) {
+ this.retryConfiguration = retryConfiguration;
+ return this;
+ }
+
+ /**
+ * Copy method to populate the builder with values from the given instance.
+ *
+ * @return this builder instance
+ */
+ public Builder copy(GetAutonomousContainerDatabaseBackupRequest o) {
+ autonomousContainerDatabaseBackupId(o.getAutonomousContainerDatabaseBackupId());
+ opcRequestId(o.getOpcRequestId());
+ invocationCallback(o.getInvocationCallback());
+ retryConfiguration(o.getRetryConfiguration());
+ return this;
+ }
+
+ /**
+ * Build the instance of GetAutonomousContainerDatabaseBackupRequest 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 GetAutonomousContainerDatabaseBackupRequest
+ */
+ public GetAutonomousContainerDatabaseBackupRequest build() {
+ GetAutonomousContainerDatabaseBackupRequest request = buildWithoutInvocationCallback();
+ request.setInvocationCallback(invocationCallback);
+ request.setRetryConfiguration(retryConfiguration);
+ return request;
+ }
+
+ /**
+ * Build the instance of GetAutonomousContainerDatabaseBackupRequest 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 GetAutonomousContainerDatabaseBackupRequest
+ */
+ public GetAutonomousContainerDatabaseBackupRequest buildWithoutInvocationCallback() {
+ GetAutonomousContainerDatabaseBackupRequest request =
+ new GetAutonomousContainerDatabaseBackupRequest();
+ request.autonomousContainerDatabaseBackupId = autonomousContainerDatabaseBackupId;
+ request.opcRequestId = opcRequestId;
+ return request;
+ // new GetAutonomousContainerDatabaseBackupRequest(autonomousContainerDatabaseBackupId,
+ // opcRequestId);
+ }
+ }
+
+ /**
+ * Return an instance of {@link Builder} that allows you to modify request properties.
+ *
+ * @return instance of {@link Builder} that allows you to modify request properties.
+ */
+ public Builder toBuilder() {
+ return new Builder()
+ .autonomousContainerDatabaseBackupId(autonomousContainerDatabaseBackupId)
+ .opcRequestId(opcRequestId);
+ }
+
+ /**
+ * Return a new builder for this request object.
+ *
+ * @return builder for the request object
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ @Override
+ public String toString() {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("(");
+ sb.append("super=").append(super.toString());
+ sb.append(",autonomousContainerDatabaseBackupId=")
+ .append(String.valueOf(this.autonomousContainerDatabaseBackupId));
+ sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof GetAutonomousContainerDatabaseBackupRequest)) {
+ return false;
+ }
+
+ GetAutonomousContainerDatabaseBackupRequest other =
+ (GetAutonomousContainerDatabaseBackupRequest) o;
+ return super.equals(o)
+ && java.util.Objects.equals(
+ this.autonomousContainerDatabaseBackupId,
+ other.autonomousContainerDatabaseBackupId)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.autonomousContainerDatabaseBackupId == null
+ ? 43
+ : this.autonomousContainerDatabaseBackupId.hashCode());
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListAutonomousDatabaseBackupsRequest.java b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListAutonomousDatabaseBackupsRequest.java
index ce280a97427..3b66239d46c 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListAutonomousDatabaseBackupsRequest.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListAutonomousDatabaseBackupsRequest.java
@@ -208,6 +208,21 @@ public String getKeyStoreId() {
getInfrastructureType() {
return infrastructureType;
}
+ /**
+ * Filters backups based on the current Autonomous AI Database configuration; returns only those
+ * relevant for point-in-time recovery (PITR). Does not guarantee exclusion of backups in orphan
+ * ranges.
+ */
+ private Boolean isPitrEligible;
+
+ /**
+ * Filters backups based on the current Autonomous AI Database configuration; returns only those
+ * relevant for point-in-time recovery (PITR). Does not guarantee exclusion of backups in orphan
+ * ranges.
+ */
+ public Boolean getIsPitrEligible() {
+ return isPitrEligible;
+ }
/** Unique identifier for the request. */
private String opcRequestId;
@@ -420,6 +435,26 @@ public Builder infrastructureType(
return this;
}
+ /**
+ * Filters backups based on the current Autonomous AI Database configuration; returns only
+ * those relevant for point-in-time recovery (PITR). Does not guarantee exclusion of backups
+ * in orphan ranges.
+ */
+ private Boolean isPitrEligible = null;
+
+ /**
+ * Filters backups based on the current Autonomous AI Database configuration; returns only
+ * those relevant for point-in-time recovery (PITR). Does not guarantee exclusion of backups
+ * in orphan ranges.
+ *
+ * @param isPitrEligible the value to set
+ * @return this builder instance
+ */
+ public Builder isPitrEligible(Boolean isPitrEligible) {
+ this.isPitrEligible = isPitrEligible;
+ return this;
+ }
+
/** Unique identifier for the request. */
private String opcRequestId = null;
@@ -476,6 +511,7 @@ public Builder copy(ListAutonomousDatabaseBackupsRequest o) {
backupDestinationId(o.getBackupDestinationId());
keyStoreId(o.getKeyStoreId());
infrastructureType(o.getInfrastructureType());
+ isPitrEligible(o.getIsPitrEligible());
opcRequestId(o.getOpcRequestId());
invocationCallback(o.getInvocationCallback());
retryConfiguration(o.getRetryConfiguration());
@@ -524,11 +560,12 @@ public ListAutonomousDatabaseBackupsRequest buildWithoutInvocationCallback() {
request.backupDestinationId = backupDestinationId;
request.keyStoreId = keyStoreId;
request.infrastructureType = infrastructureType;
+ request.isPitrEligible = isPitrEligible;
request.opcRequestId = opcRequestId;
return request;
// new ListAutonomousDatabaseBackupsRequest(autonomousDatabaseId, compartmentId, limit,
// page, sortBy, sortOrder, lifecycleState, displayName, type, backupDestinationId,
- // keyStoreId, infrastructureType, opcRequestId);
+ // keyStoreId, infrastructureType, isPitrEligible, opcRequestId);
}
}
@@ -551,6 +588,7 @@ public Builder toBuilder() {
.backupDestinationId(backupDestinationId)
.keyStoreId(keyStoreId)
.infrastructureType(infrastructureType)
+ .isPitrEligible(isPitrEligible)
.opcRequestId(opcRequestId);
}
@@ -580,6 +618,7 @@ public String toString() {
sb.append(",backupDestinationId=").append(String.valueOf(this.backupDestinationId));
sb.append(",keyStoreId=").append(String.valueOf(this.keyStoreId));
sb.append(",infrastructureType=").append(String.valueOf(this.infrastructureType));
+ sb.append(",isPitrEligible=").append(String.valueOf(this.isPitrEligible));
sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId));
sb.append(")");
return sb.toString();
@@ -608,6 +647,7 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.backupDestinationId, other.backupDestinationId)
&& java.util.Objects.equals(this.keyStoreId, other.keyStoreId)
&& java.util.Objects.equals(this.infrastructureType, other.infrastructureType)
+ && java.util.Objects.equals(this.isPitrEligible, other.isPitrEligible)
&& java.util.Objects.equals(this.opcRequestId, other.opcRequestId);
}
@@ -643,6 +683,9 @@ public int hashCode() {
+ (this.infrastructureType == null
? 43
: this.infrastructureType.hashCode());
+ result =
+ (result * PRIME)
+ + (this.isPitrEligible == null ? 43 : this.isPitrEligible.hashCode());
result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
return result;
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest.java b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest.java
new file mode 100644
index 00000000000..9236b01094b
--- /dev/null
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest.java
@@ -0,0 +1,360 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.database.requests;
+
+import com.oracle.bmc.database.model.*;
+/**
+ * Example: Click here to see how to use
+ * ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+public class ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest
+ extends com.oracle.bmc.requests.BmcRequest {
+
+ /**
+ * The Autonomous Container Database
+ * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
+ */
+ private String autonomousContainerDatabaseId;
+
+ /**
+ * The Autonomous Container Database
+ * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
+ */
+ public String getAutonomousContainerDatabaseId() {
+ return autonomousContainerDatabaseId;
+ }
+ /**
+ * The timestamp at which the list of autonomous databases present to be returned (ISO-8601
+ * format, e.g., "2025-12-02T06:39:15Z"). The requested value must be after the end timestamp of
+ * the oldest available Autonomous Container Database backup.
+ */
+ private java.util.Date timeStampRequested;
+
+ /**
+ * The timestamp at which the list of autonomous databases present to be returned (ISO-8601
+ * format, e.g., "2025-12-02T06:39:15Z"). The requested value must be after the end timestamp of
+ * the oldest available Autonomous Container Database backup.
+ */
+ public java.util.Date getTimeStampRequested() {
+ return timeStampRequested;
+ }
+ /**
+ * The compartment
+ * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). If not
+ * provided, uses the Autonomous Container Database's compartment.
+ */
+ private String compartmentId;
+
+ /**
+ * The compartment
+ * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). If not
+ * provided, uses the Autonomous Container Database's compartment.
+ */
+ public String getCompartmentId() {
+ return compartmentId;
+ }
+ /** The maximum number of items to return per page. */
+ private Integer limit;
+
+ /** The maximum number of items to return per page. */
+ public Integer getLimit() {
+ return limit;
+ }
+ /** The pagination token to continue listing from. */
+ private String page;
+
+ /** The pagination token to continue listing from. */
+ public String getPage() {
+ return page;
+ }
+ /** Unique identifier for the request. */
+ private String opcRequestId;
+
+ /** Unique identifier for the request. */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.requests.BmcRequest.Builder<
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest,
+ java.lang.Void> {
+ private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null;
+ private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null;
+
+ /**
+ * The Autonomous Container Database
+ * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
+ */
+ private String autonomousContainerDatabaseId = null;
+
+ /**
+ * The Autonomous Container Database
+ * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
+ *
+ * @param autonomousContainerDatabaseId the value to set
+ * @return this builder instance
+ */
+ public Builder autonomousContainerDatabaseId(String autonomousContainerDatabaseId) {
+ this.autonomousContainerDatabaseId = autonomousContainerDatabaseId;
+ return this;
+ }
+
+ /**
+ * The timestamp at which the list of autonomous databases present to be returned (ISO-8601
+ * format, e.g., "2025-12-02T06:39:15Z"). The requested value must be after the end
+ * timestamp of the oldest available Autonomous Container Database backup.
+ */
+ private java.util.Date timeStampRequested = null;
+
+ /**
+ * The timestamp at which the list of autonomous databases present to be returned (ISO-8601
+ * format, e.g., "2025-12-02T06:39:15Z"). The requested value must be after the end
+ * timestamp of the oldest available Autonomous Container Database backup.
+ *
+ * @param timeStampRequested the value to set
+ * @return this builder instance
+ */
+ public Builder timeStampRequested(java.util.Date timeStampRequested) {
+ this.timeStampRequested = timeStampRequested;
+ return this;
+ }
+
+ /**
+ * The compartment
+ * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). If not
+ * provided, uses the Autonomous Container Database's compartment.
+ */
+ private String compartmentId = null;
+
+ /**
+ * The compartment
+ * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). If not
+ * provided, uses the Autonomous Container Database's compartment.
+ *
+ * @param compartmentId the value to set
+ * @return this builder instance
+ */
+ public Builder compartmentId(String compartmentId) {
+ this.compartmentId = compartmentId;
+ return this;
+ }
+
+ /** The maximum number of items to return per page. */
+ private Integer limit = null;
+
+ /**
+ * The maximum number of items to return per page.
+ *
+ * @param limit the value to set
+ * @return this builder instance
+ */
+ public Builder limit(Integer limit) {
+ this.limit = limit;
+ return this;
+ }
+
+ /** The pagination token to continue listing from. */
+ private String page = null;
+
+ /**
+ * The pagination token to continue listing from.
+ *
+ * @param page the value to set
+ * @return this builder instance
+ */
+ public Builder page(String page) {
+ this.page = page;
+ return this;
+ }
+
+ /** Unique identifier for the request. */
+ private String opcRequestId = null;
+
+ /**
+ * Unique identifier for the request.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder instance
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /**
+ * Set the invocation callback for the request to be built.
+ *
+ * @param invocationCallback the invocation callback to be set for the request
+ * @return this builder instance
+ */
+ public Builder invocationCallback(
+ com.oracle.bmc.http.client.RequestInterceptor invocationCallback) {
+ this.invocationCallback = invocationCallback;
+ return this;
+ }
+
+ /**
+ * Set the retry configuration for the request to be built.
+ *
+ * @param retryConfiguration the retry configuration to be used for the request
+ * @return this builder instance
+ */
+ public Builder retryConfiguration(
+ com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) {
+ this.retryConfiguration = retryConfiguration;
+ return this;
+ }
+
+ /**
+ * Copy method to populate the builder with values from the given instance.
+ *
+ * @return this builder instance
+ */
+ public Builder copy(ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest o) {
+ autonomousContainerDatabaseId(o.getAutonomousContainerDatabaseId());
+ timeStampRequested(o.getTimeStampRequested());
+ compartmentId(o.getCompartmentId());
+ limit(o.getLimit());
+ page(o.getPage());
+ opcRequestId(o.getOpcRequestId());
+ invocationCallback(o.getInvocationCallback());
+ retryConfiguration(o.getRetryConfiguration());
+ return this;
+ }
+
+ /**
+ * Build the instance of ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest
+ * 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 ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest
+ */
+ public ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest build() {
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest request =
+ buildWithoutInvocationCallback();
+ request.setInvocationCallback(invocationCallback);
+ request.setRetryConfiguration(retryConfiguration);
+ return request;
+ }
+
+ /**
+ * Build the instance of ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest
+ * 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 ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest
+ */
+ public ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest
+ buildWithoutInvocationCallback() {
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest request =
+ new ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest();
+ request.autonomousContainerDatabaseId = autonomousContainerDatabaseId;
+ request.timeStampRequested = timeStampRequested;
+ request.compartmentId = compartmentId;
+ request.limit = limit;
+ request.page = page;
+ request.opcRequestId = opcRequestId;
+ return request;
+ // new
+ // ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest(autonomousContainerDatabaseId, timeStampRequested, compartmentId, limit, page, opcRequestId);
+ }
+ }
+
+ /**
+ * Return an instance of {@link Builder} that allows you to modify request properties.
+ *
+ * @return instance of {@link Builder} that allows you to modify request properties.
+ */
+ public Builder toBuilder() {
+ return new Builder()
+ .autonomousContainerDatabaseId(autonomousContainerDatabaseId)
+ .timeStampRequested(timeStampRequested)
+ .compartmentId(compartmentId)
+ .limit(limit)
+ .page(page)
+ .opcRequestId(opcRequestId);
+ }
+
+ /**
+ * Return a new builder for this request object.
+ *
+ * @return builder for the request object
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ @Override
+ public String toString() {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("(");
+ sb.append("super=").append(super.toString());
+ sb.append(",autonomousContainerDatabaseId=")
+ .append(String.valueOf(this.autonomousContainerDatabaseId));
+ sb.append(",timeStampRequested=").append(String.valueOf(this.timeStampRequested));
+ sb.append(",compartmentId=").append(String.valueOf(this.compartmentId));
+ sb.append(",limit=").append(String.valueOf(this.limit));
+ sb.append(",page=").append(String.valueOf(this.page));
+ sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest)) {
+ return false;
+ }
+
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest other =
+ (ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest) o;
+ return super.equals(o)
+ && java.util.Objects.equals(
+ this.autonomousContainerDatabaseId, other.autonomousContainerDatabaseId)
+ && java.util.Objects.equals(this.timeStampRequested, other.timeStampRequested)
+ && java.util.Objects.equals(this.compartmentId, other.compartmentId)
+ && java.util.Objects.equals(this.limit, other.limit)
+ && java.util.Objects.equals(this.page, other.page)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.autonomousContainerDatabaseId == null
+ ? 43
+ : this.autonomousContainerDatabaseId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.timeStampRequested == null
+ ? 43
+ : this.timeStampRequested.hashCode());
+ result =
+ (result * PRIME)
+ + (this.compartmentId == null ? 43 : this.compartmentId.hashCode());
+ result = (result * PRIME) + (this.limit == null ? 43 : this.limit.hashCode());
+ result = (result * PRIME) + (this.page == null ? 43 : this.page.hashCode());
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListDatabasesRequest.java b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListDatabasesRequest.java
index 1383bf2ec77..016ba636e6b 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListDatabasesRequest.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListDatabasesRequest.java
@@ -182,6 +182,90 @@ public com.oracle.bmc.database.model.DatabaseSummary.LifecycleState getLifecycle
public String getDbName() {
return dbName;
}
+ /** Filter the databases by managed auto failover param. */
+ private ManagedAutoFailover managedAutoFailover;
+
+ /** Filter the databases by managed auto failover param. */
+ public enum ManagedAutoFailover implements com.oracle.bmc.http.internal.BmcEnum {
+ Registered("REGISTERED"),
+ Unregistered("UNREGISTERED"),
+ All("ALL"),
+ ;
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (ManagedAutoFailover v : ManagedAutoFailover.values()) {
+ map.put(v.getValue(), v);
+ }
+ }
+
+ ManagedAutoFailover(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static ManagedAutoFailover create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ throw new IllegalArgumentException("Invalid ManagedAutoFailover: " + key);
+ }
+ };
+
+ /** Filter the databases by managed auto failover param. */
+ public ManagedAutoFailover getManagedAutoFailover() {
+ return managedAutoFailover;
+ }
+ /** Filter the databases by failoverTargets param. */
+ private FailoverTargets failoverTargets;
+
+ /** Filter the databases by failoverTargets param. */
+ public enum FailoverTargets implements com.oracle.bmc.http.internal.BmcEnum {
+ Defined("DEFINED"),
+ Undefined("UNDEFINED"),
+ All("ALL"),
+ ;
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (FailoverTargets v : FailoverTargets.values()) {
+ map.put(v.getValue(), v);
+ }
+ }
+
+ FailoverTargets(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static FailoverTargets create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ throw new IllegalArgumentException("Invalid FailoverTargets: " + key);
+ }
+ };
+
+ /** Filter the databases by failoverTargets param. */
+ public FailoverTargets getFailoverTargets() {
+ return failoverTargets;
+ }
public static class Builder
implements com.oracle.bmc.requests.BmcRequest.Builder<
@@ -340,6 +424,34 @@ public Builder dbName(String dbName) {
return this;
}
+ /** Filter the databases by managed auto failover param. */
+ private ManagedAutoFailover managedAutoFailover = null;
+
+ /**
+ * Filter the databases by managed auto failover param.
+ *
+ * @param managedAutoFailover the value to set
+ * @return this builder instance
+ */
+ public Builder managedAutoFailover(ManagedAutoFailover managedAutoFailover) {
+ this.managedAutoFailover = managedAutoFailover;
+ return this;
+ }
+
+ /** Filter the databases by failoverTargets param. */
+ private FailoverTargets failoverTargets = null;
+
+ /**
+ * Filter the databases by failoverTargets param.
+ *
+ * @param failoverTargets the value to set
+ * @return this builder instance
+ */
+ public Builder failoverTargets(FailoverTargets failoverTargets) {
+ this.failoverTargets = failoverTargets;
+ return this;
+ }
+
/**
* Set the invocation callback for the request to be built.
*
@@ -379,6 +491,8 @@ public Builder copy(ListDatabasesRequest o) {
sortOrder(o.getSortOrder());
lifecycleState(o.getLifecycleState());
dbName(o.getDbName());
+ managedAutoFailover(o.getManagedAutoFailover());
+ failoverTargets(o.getFailoverTargets());
invocationCallback(o.getInvocationCallback());
retryConfiguration(o.getRetryConfiguration());
return this;
@@ -422,9 +536,11 @@ public ListDatabasesRequest buildWithoutInvocationCallback() {
request.sortOrder = sortOrder;
request.lifecycleState = lifecycleState;
request.dbName = dbName;
+ request.managedAutoFailover = managedAutoFailover;
+ request.failoverTargets = failoverTargets;
return request;
// new ListDatabasesRequest(compartmentId, dbHomeId, systemId, limit, page, sortBy,
- // sortOrder, lifecycleState, dbName);
+ // sortOrder, lifecycleState, dbName, managedAutoFailover, failoverTargets);
}
}
@@ -443,7 +559,9 @@ public Builder toBuilder() {
.sortBy(sortBy)
.sortOrder(sortOrder)
.lifecycleState(lifecycleState)
- .dbName(dbName);
+ .dbName(dbName)
+ .managedAutoFailover(managedAutoFailover)
+ .failoverTargets(failoverTargets);
}
/**
@@ -469,6 +587,8 @@ public String toString() {
sb.append(",sortOrder=").append(String.valueOf(this.sortOrder));
sb.append(",lifecycleState=").append(String.valueOf(this.lifecycleState));
sb.append(",dbName=").append(String.valueOf(this.dbName));
+ sb.append(",managedAutoFailover=").append(String.valueOf(this.managedAutoFailover));
+ sb.append(",failoverTargets=").append(String.valueOf(this.failoverTargets));
sb.append(")");
return sb.toString();
}
@@ -492,7 +612,9 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.sortBy, other.sortBy)
&& java.util.Objects.equals(this.sortOrder, other.sortOrder)
&& java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
- && java.util.Objects.equals(this.dbName, other.dbName);
+ && java.util.Objects.equals(this.dbName, other.dbName)
+ && java.util.Objects.equals(this.managedAutoFailover, other.managedAutoFailover)
+ && java.util.Objects.equals(this.failoverTargets, other.failoverTargets);
}
@Override
@@ -512,6 +634,14 @@ public int hashCode() {
(result * PRIME)
+ (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode());
result = (result * PRIME) + (this.dbName == null ? 43 : this.dbName.hashCode());
+ result =
+ (result * PRIME)
+ + (this.managedAutoFailover == null
+ ? 43
+ : this.managedAutoFailover.hashCode());
+ result =
+ (result * PRIME)
+ + (this.failoverTargets == null ? 43 : this.failoverTargets.hashCode());
return result;
}
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/responses/GetAutonomousContainerDatabaseBackupResponse.java b/bmc-database/src/main/java/com/oracle/bmc/database/responses/GetAutonomousContainerDatabaseBackupResponse.java
new file mode 100644
index 00000000000..adf367c3998
--- /dev/null
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/responses/GetAutonomousContainerDatabaseBackupResponse.java
@@ -0,0 +1,191 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.database.responses;
+
+import com.oracle.bmc.database.model.*;
+
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+public class GetAutonomousContainerDatabaseBackupResponse
+ extends com.oracle.bmc.responses.BmcResponse {
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ *
+ * @return the value
+ */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+
+ /** The returned {@code AutonomousContainerDatabaseBackup} instance. */
+ private com.oracle.bmc.database.model.AutonomousContainerDatabaseBackup
+ autonomousContainerDatabaseBackup;
+
+ /**
+ * The returned {@code AutonomousContainerDatabaseBackup} instance.
+ *
+ * @return the value
+ */
+ public com.oracle.bmc.database.model.AutonomousContainerDatabaseBackup
+ getAutonomousContainerDatabaseBackup() {
+ return autonomousContainerDatabaseBackup;
+ }
+
+ @java.beans.ConstructorProperties({
+ "__httpStatusCode__",
+ "headers",
+ "opcRequestId",
+ "autonomousContainerDatabaseBackup"
+ })
+ private GetAutonomousContainerDatabaseBackupResponse(
+ int __httpStatusCode__,
+ java.util.Map> headers,
+ String opcRequestId,
+ com.oracle.bmc.database.model.AutonomousContainerDatabaseBackup
+ autonomousContainerDatabaseBackup) {
+ super(__httpStatusCode__, headers);
+ this.opcRequestId = opcRequestId;
+ this.autonomousContainerDatabaseBackup = autonomousContainerDatabaseBackup;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.responses.BmcResponse.Builder<
+ GetAutonomousContainerDatabaseBackupResponse> {
+ private int __httpStatusCode__;
+
+ @Override
+ public Builder __httpStatusCode__(int __httpStatusCode__) {
+ this.__httpStatusCode__ = __httpStatusCode__;
+ return this;
+ }
+
+ private java.util.Map> headers;
+
+ @Override
+ public Builder headers(java.util.Map> headers) {
+ this.headers = headers;
+ return this;
+ }
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /** The returned {@code AutonomousContainerDatabaseBackup} instance. */
+ private com.oracle.bmc.database.model.AutonomousContainerDatabaseBackup
+ autonomousContainerDatabaseBackup;
+
+ /**
+ * The returned {@code AutonomousContainerDatabaseBackup} instance.
+ *
+ * @param autonomousContainerDatabaseBackup the value to set
+ * @return this builder
+ */
+ public Builder autonomousContainerDatabaseBackup(
+ com.oracle.bmc.database.model.AutonomousContainerDatabaseBackup
+ autonomousContainerDatabaseBackup) {
+ this.autonomousContainerDatabaseBackup = autonomousContainerDatabaseBackup;
+ return this;
+ }
+
+ /**
+ * Copy method to populate the builder with values from the given instance.
+ *
+ * @return this builder instance
+ */
+ @Override
+ public Builder copy(GetAutonomousContainerDatabaseBackupResponse o) {
+ __httpStatusCode__(o.get__httpStatusCode__());
+ headers(o.getHeaders());
+ opcRequestId(o.getOpcRequestId());
+ autonomousContainerDatabaseBackup(o.getAutonomousContainerDatabaseBackup());
+
+ return this;
+ }
+
+ /**
+ * Build the response object.
+ *
+ * @return the response object
+ */
+ @Override
+ public GetAutonomousContainerDatabaseBackupResponse build() {
+ return new GetAutonomousContainerDatabaseBackupResponse(
+ __httpStatusCode__, headers, opcRequestId, autonomousContainerDatabaseBackup);
+ }
+ }
+
+ /**
+ * Return a new builder for this response object.
+ *
+ * @return builder for the response object
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ @Override
+ public String toString() {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("(");
+ sb.append("super=").append(super.toString());
+ sb.append(",opcRequestId=").append(String.valueOf(opcRequestId));
+ sb.append(",autonomousContainerDatabaseBackup=")
+ .append(String.valueOf(autonomousContainerDatabaseBackup));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof GetAutonomousContainerDatabaseBackupResponse)) {
+ return false;
+ }
+
+ GetAutonomousContainerDatabaseBackupResponse other =
+ (GetAutonomousContainerDatabaseBackupResponse) o;
+ return super.equals(o)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId)
+ && java.util.Objects.equals(
+ this.autonomousContainerDatabaseBackup,
+ other.autonomousContainerDatabaseBackup);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.autonomousContainerDatabaseBackup == null
+ ? 43
+ : this.autonomousContainerDatabaseBackup.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/responses/ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse.java b/bmc-database/src/main/java/com/oracle/bmc/database/responses/ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse.java
new file mode 100644
index 00000000000..2056ceaac27
--- /dev/null
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/responses/ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse.java
@@ -0,0 +1,246 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.database.responses;
+
+import com.oracle.bmc.database.model.*;
+
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+public class ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse
+ extends com.oracle.bmc.responses.BmcResponse {
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ *
+ * @return the value
+ */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+
+ /**
+ * For pagination of a list of items. When paging through a list, if this header appears in the
+ * response, then there are additional items still to get. Include this value as the {@code
+ * page} parameter for the subsequent GET request. For information about pagination, see [List
+ * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
+ */
+ private String opcNextPage;
+
+ /**
+ * For pagination of a list of items. When paging through a list, if this header appears in the
+ * response, then there are additional items still to get. Include this value as the {@code
+ * page} parameter for the subsequent GET request. For information about pagination, see [List
+ * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
+ *
+ * @return the value
+ */
+ public String getOpcNextPage() {
+ return opcNextPage;
+ }
+
+ /** The returned {@code AutonomousDatabaseInBackupCollection} instance. */
+ private com.oracle.bmc.database.model.AutonomousDatabaseInBackupCollection
+ autonomousDatabaseInBackupCollection;
+
+ /**
+ * The returned {@code AutonomousDatabaseInBackupCollection} instance.
+ *
+ * @return the value
+ */
+ public com.oracle.bmc.database.model.AutonomousDatabaseInBackupCollection
+ getAutonomousDatabaseInBackupCollection() {
+ return autonomousDatabaseInBackupCollection;
+ }
+
+ @java.beans.ConstructorProperties({
+ "__httpStatusCode__",
+ "headers",
+ "opcRequestId",
+ "opcNextPage",
+ "autonomousDatabaseInBackupCollection"
+ })
+ private ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse(
+ int __httpStatusCode__,
+ java.util.Map> headers,
+ String opcRequestId,
+ String opcNextPage,
+ com.oracle.bmc.database.model.AutonomousDatabaseInBackupCollection
+ autonomousDatabaseInBackupCollection) {
+ super(__httpStatusCode__, headers);
+ this.opcRequestId = opcRequestId;
+ this.opcNextPage = opcNextPage;
+ this.autonomousDatabaseInBackupCollection = autonomousDatabaseInBackupCollection;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.responses.BmcResponse.Builder<
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse> {
+ private int __httpStatusCode__;
+
+ @Override
+ public Builder __httpStatusCode__(int __httpStatusCode__) {
+ this.__httpStatusCode__ = __httpStatusCode__;
+ return this;
+ }
+
+ private java.util.Map> headers;
+
+ @Override
+ public Builder headers(java.util.Map> headers) {
+ this.headers = headers;
+ return this;
+ }
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /**
+ * For pagination of a list of items. When paging through a list, if this header appears in
+ * the response, then there are additional items still to get. Include this value as the
+ * {@code page} parameter for the subsequent GET request. For information about pagination,
+ * see [List
+ * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
+ */
+ private String opcNextPage;
+
+ /**
+ * For pagination of a list of items. When paging through a list, if this header appears in
+ * the response, then there are additional items still to get. Include this value as the
+ * {@code page} parameter for the subsequent GET request. For information about pagination,
+ * see [List
+ * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
+ *
+ * @param opcNextPage the value to set
+ * @return this builder
+ */
+ public Builder opcNextPage(String opcNextPage) {
+ this.opcNextPage = opcNextPage;
+ return this;
+ }
+
+ /** The returned {@code AutonomousDatabaseInBackupCollection} instance. */
+ private com.oracle.bmc.database.model.AutonomousDatabaseInBackupCollection
+ autonomousDatabaseInBackupCollection;
+
+ /**
+ * The returned {@code AutonomousDatabaseInBackupCollection} instance.
+ *
+ * @param autonomousDatabaseInBackupCollection the value to set
+ * @return this builder
+ */
+ public Builder autonomousDatabaseInBackupCollection(
+ com.oracle.bmc.database.model.AutonomousDatabaseInBackupCollection
+ autonomousDatabaseInBackupCollection) {
+ this.autonomousDatabaseInBackupCollection = autonomousDatabaseInBackupCollection;
+ return this;
+ }
+
+ /**
+ * Copy method to populate the builder with values from the given instance.
+ *
+ * @return this builder instance
+ */
+ @Override
+ public Builder copy(ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse o) {
+ __httpStatusCode__(o.get__httpStatusCode__());
+ headers(o.getHeaders());
+ opcRequestId(o.getOpcRequestId());
+ opcNextPage(o.getOpcNextPage());
+ autonomousDatabaseInBackupCollection(o.getAutonomousDatabaseInBackupCollection());
+
+ return this;
+ }
+
+ /**
+ * Build the response object.
+ *
+ * @return the response object
+ */
+ @Override
+ public ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse build() {
+ return new ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse(
+ __httpStatusCode__,
+ headers,
+ opcRequestId,
+ opcNextPage,
+ autonomousDatabaseInBackupCollection);
+ }
+ }
+
+ /**
+ * Return a new builder for this response object.
+ *
+ * @return builder for the response object
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ @Override
+ public String toString() {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("(");
+ sb.append("super=").append(super.toString());
+ sb.append(",opcRequestId=").append(String.valueOf(opcRequestId));
+ sb.append(",opcNextPage=").append(String.valueOf(opcNextPage));
+ sb.append(",autonomousDatabaseInBackupCollection=")
+ .append(String.valueOf(autonomousDatabaseInBackupCollection));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse)) {
+ return false;
+ }
+
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse other =
+ (ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse) o;
+ return super.equals(o)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId)
+ && java.util.Objects.equals(this.opcNextPage, other.opcNextPage)
+ && java.util.Objects.equals(
+ this.autonomousDatabaseInBackupCollection,
+ other.autonomousDatabaseInBackupCollection);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ result = (result * PRIME) + (this.opcNextPage == null ? 43 : this.opcNextPage.hashCode());
+ result =
+ (result * PRIME)
+ + (this.autonomousDatabaseInBackupCollection == null
+ ? 43
+ : this.autonomousDatabaseInBackupCollection.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 0971f0505b8..3c3b9d619be 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
@@ -295,6 +295,26 @@
"allDeclaredMethods": true,
"allDeclaredConstructors": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.database.model.AutoFailoverConfiguration",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.database.model.AutoFailoverConfiguration$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.database.model.AutoFailoverConfiguration$ManagedAutoFailover",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.database.model.AutomatedMountDetails",
@@ -1074,6 +1094,46 @@
"allDeclaredMethods": true,
"allDeclaredConstructors": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.database.model.AutonomousDatabaseInBackup$LifecycleState",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.database.model.AutonomousDatabaseInBackupCollection",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.database.model.AutonomousDatabaseInBackupCollection$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.database.model.AutonomousDatabaseInBackupSummary",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.database.model.AutonomousDatabaseInBackupSummary$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.database.model.AutonomousDatabaseInBackupSummary$LifecycleState",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.database.model.AutonomousDatabaseKeyHistoryEntry",
@@ -3578,6 +3638,44 @@
"allDeclaredMethods": true,
"allDeclaredConstructors": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.database.model.CreateAutonomousContainerDatabaseFromBackupDetails$CloneType",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.database.model.CreateAutonomousContainerDatabaseFromBackupDetails$CloneBandWidth",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.database.model.CreateAutonomousContainerDatabaseFromBackupTimestampDetails",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.database.model.CreateAutonomousContainerDatabaseFromBackupTimestampDetails$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.database.model.CreateAutonomousContainerDatabaseFromBackupTimestampDetails$CloneType",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.database.model.CreateAutonomousContainerDatabaseFromBackupTimestampDetails$CloneBandWidth",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.database.model.CreateAutonomousDatabaseBackupDetails",
@@ -5105,6 +5203,12 @@
"allDeclaredFields": true,
"allDeclaredMethods": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.database.model.DataGuardGroup$ManagedAutoFailOverReadiness",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.database.model.DataGuardGroupMember",
@@ -5143,6 +5247,12 @@
"allDeclaredFields": true,
"allDeclaredMethods": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.database.model.DataGuardGroupMember$ManagedAutoFailover",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.database.model.DataPatchOptions",
@@ -11000,6 +11110,18 @@
"allDeclaredMethods": true,
"allDeclaredConstructors": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.database.model.UpdateDatabaseDetails$ProtectionMode",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.database.model.UpdateDatabaseDetails$TransportType",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.database.model.UpdateDatabaseSoftwareImageDetails",
diff --git a/bmc-databasemanagement/pom.xml b/bmc-databasemanagement/pom.xml
index 8c1e9de3432..15a0100420c 100644
--- a/bmc-databasemanagement/pom.xml
+++ b/bmc-databasemanagement/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-databasemanagement
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-databasemigration/pom.xml b/bmc-databasemigration/pom.xml
index 39e15f2f1bb..ec0bd15b5a6 100644
--- a/bmc-databasemigration/pom.xml
+++ b/bmc-databasemigration/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-databasemigration
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-databasetools/pom.xml b/bmc-databasetools/pom.xml
index bf969df40a0..462821b79e2 100644
--- a/bmc-databasetools/pom.xml
+++ b/bmc-databasetools/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-databasetools
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-databasetoolsruntime/pom.xml b/bmc-databasetoolsruntime/pom.xml
index 7d988827e91..27af9a511a2 100644
--- a/bmc-databasetoolsruntime/pom.xml
+++ b/bmc-databasetoolsruntime/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-databasetoolsruntime
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-datacatalog/pom.xml b/bmc-datacatalog/pom.xml
index 71134ef7823..fa8957b72de 100644
--- a/bmc-datacatalog/pom.xml
+++ b/bmc-datacatalog/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-datacatalog
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-datacc/pom.xml b/bmc-datacc/pom.xml
index 2715c584c02..f19a4ccc4e6 100644
--- a/bmc-datacc/pom.xml
+++ b/bmc-datacc/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-datacc
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-dataflow/pom.xml b/bmc-dataflow/pom.xml
index 3b0f9afc9d9..0fec081893a 100644
--- a/bmc-dataflow/pom.xml
+++ b/bmc-dataflow/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-dataflow
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-dataintegration/pom.xml b/bmc-dataintegration/pom.xml
index 42eb37bd054..36ad90a4500 100644
--- a/bmc-dataintegration/pom.xml
+++ b/bmc-dataintegration/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-dataintegration
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-datalabelingservice/pom.xml b/bmc-datalabelingservice/pom.xml
index 3a54ac37752..c96dd8917ad 100644
--- a/bmc-datalabelingservice/pom.xml
+++ b/bmc-datalabelingservice/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-datalabelingservice
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-datalabelingservicedataplane/pom.xml b/bmc-datalabelingservicedataplane/pom.xml
index 65c8d056784..dea297a20f9 100644
--- a/bmc-datalabelingservicedataplane/pom.xml
+++ b/bmc-datalabelingservicedataplane/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-datalabelingservicedataplane
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-datasafe/pom.xml b/bmc-datasafe/pom.xml
index c25beabf04b..14dea436311 100644
--- a/bmc-datasafe/pom.xml
+++ b/bmc-datasafe/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-datasafe
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-datascience/pom.xml b/bmc-datascience/pom.xml
index 0cd0cd4b2ba..83e0fea9691 100644
--- a/bmc-datascience/pom.xml
+++ b/bmc-datascience/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-datascience
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-dblm/pom.xml b/bmc-dblm/pom.xml
index 8acb80b0d65..310958203a5 100644
--- a/bmc-dblm/pom.xml
+++ b/bmc-dblm/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-dblm
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-dbmulticloud/pom.xml b/bmc-dbmulticloud/pom.xml
index 62af747a38d..84540bb57e0 100644
--- a/bmc-dbmulticloud/pom.xml
+++ b/bmc-dbmulticloud/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-dbmulticloud
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-delegateaccesscontrol/pom.xml b/bmc-delegateaccesscontrol/pom.xml
index 95ac1717355..faf17e354eb 100644
--- a/bmc-delegateaccesscontrol/pom.xml
+++ b/bmc-delegateaccesscontrol/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-delegateaccesscontrol
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-demandsignal/pom.xml b/bmc-demandsignal/pom.xml
index 67f7df06427..389a6117d02 100644
--- a/bmc-demandsignal/pom.xml
+++ b/bmc-demandsignal/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-demandsignal
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-desktops/pom.xml b/bmc-desktops/pom.xml
index d15ba0d634f..2c658b2db79 100644
--- a/bmc-desktops/pom.xml
+++ b/bmc-desktops/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-desktops
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-devops/pom.xml b/bmc-devops/pom.xml
index 0dfe4b62867..5b8e6081116 100644
--- a/bmc-devops/pom.xml
+++ b/bmc-devops/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-devops
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-dif/pom.xml b/bmc-dif/pom.xml
index 25115f1fedc..f2ce37ef6a7 100644
--- a/bmc-dif/pom.xml
+++ b/bmc-dif/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-dif
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-disasterrecovery/pom.xml b/bmc-disasterrecovery/pom.xml
index cece53b867b..bc9a430baee 100644
--- a/bmc-disasterrecovery/pom.xml
+++ b/bmc-disasterrecovery/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-disasterrecovery
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-distributeddatabase/pom.xml b/bmc-distributeddatabase/pom.xml
index d8c7079d4e0..851342115c8 100644
--- a/bmc-distributeddatabase/pom.xml
+++ b/bmc-distributeddatabase/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-distributeddatabase
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-dns/pom.xml b/bmc-dns/pom.xml
index 947867ec31d..51c21665d20 100644
--- a/bmc-dns/pom.xml
+++ b/bmc-dns/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
@@ -18,12 +18,12 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
com.oracle.oci.sdk
oci-java-sdk-workrequests
- 3.93.0
+ 3.94.0
diff --git a/bmc-email/pom.xml b/bmc-email/pom.xml
index 1a39bb653f0..0b1c2a340e5 100644
--- a/bmc-email/pom.xml
+++ b/bmc-email/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
@@ -18,7 +18,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
diff --git a/bmc-emaildataplane/pom.xml b/bmc-emaildataplane/pom.xml
index e66618d8e45..c461cc53a0a 100644
--- a/bmc-emaildataplane/pom.xml
+++ b/bmc-emaildataplane/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-emaildataplane
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-emwarehouse/pom.xml b/bmc-emwarehouse/pom.xml
index 8aef1cba854..4376997f5b0 100644
--- a/bmc-emwarehouse/pom.xml
+++ b/bmc-emwarehouse/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-emwarehouse
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-encryption/pom.xml b/bmc-encryption/pom.xml
index 8c18e880ce3..ef59a5e2ec9 100644
--- a/bmc-encryption/pom.xml
+++ b/bmc-encryption/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
@@ -18,17 +18,17 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
com.oracle.oci.sdk
oci-java-sdk-common-httpclient
- 3.93.0
+ 3.94.0
com.oracle.oci.sdk
oci-java-sdk-keymanagement
- 3.93.0
+ 3.94.0
com.fasterxml.jackson.core
@@ -48,7 +48,7 @@
com.oracle.oci.sdk
oci-java-sdk-common-httpclient-jersey
- 3.93.0
+ 3.94.0
test
diff --git a/bmc-enforcer-rules/pom.xml b/bmc-enforcer-rules/pom.xml
index 7ee72f570fc..901617a62c1 100644
--- a/bmc-enforcer-rules/pom.xml
+++ b/bmc-enforcer-rules/pom.xml
@@ -6,7 +6,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
oci-java-sdk-enforcer-rules
diff --git a/bmc-events/pom.xml b/bmc-events/pom.xml
index 26ecb39ce73..9012a028073 100644
--- a/bmc-events/pom.xml
+++ b/bmc-events/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-events
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-examples/pom.xml b/bmc-examples/pom.xml
index 7b2525ade8e..a00966629da 100644
--- a/bmc-examples/pom.xml
+++ b/bmc-examples/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-examples
@@ -71,14 +71,14 @@
com.oracle.oci.sdk
oci-java-sdk-bom
- 3.93.0
+ 3.94.0
pom
import
com.oracle.oci.sdk
oci-java-sdk-common-httpclient-jersey
- 3.93.0
+ 3.94.0
pom
import
diff --git a/bmc-filestorage/pom.xml b/bmc-filestorage/pom.xml
index c490c7d9f41..68f79142813 100644
--- a/bmc-filestorage/pom.xml
+++ b/bmc-filestorage/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
@@ -18,7 +18,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
diff --git a/bmc-fleetappsmanagement/pom.xml b/bmc-fleetappsmanagement/pom.xml
index 9a18ef2eeee..1c5d8ea6160 100644
--- a/bmc-fleetappsmanagement/pom.xml
+++ b/bmc-fleetappsmanagement/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-fleetappsmanagement
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-fleetsoftwareupdate/pom.xml b/bmc-fleetsoftwareupdate/pom.xml
index c6acba0e607..59ca932075a 100644
--- a/bmc-fleetsoftwareupdate/pom.xml
+++ b/bmc-fleetsoftwareupdate/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-fleetsoftwareupdate
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-full/pom.xml b/bmc-full/pom.xml
index 8e1c402c3b2..8253a8fe778 100644
--- a/bmc-full/pom.xml
+++ b/bmc-full/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-full
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-bom
- 3.93.0
+ 3.94.0
pom
import
diff --git a/bmc-functions/pom.xml b/bmc-functions/pom.xml
index ff4154526d8..d77be60afb2 100644
--- a/bmc-functions/pom.xml
+++ b/bmc-functions/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-functions
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-fusionapps/pom.xml b/bmc-fusionapps/pom.xml
index feda258b9d6..a0191ef2b02 100644
--- a/bmc-fusionapps/pom.xml
+++ b/bmc-fusionapps/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-fusionapps
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-gdp/pom.xml b/bmc-gdp/pom.xml
index 87650aa90f4..b8fed27c777 100644
--- a/bmc-gdp/pom.xml
+++ b/bmc-gdp/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-gdp
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-generativeai/pom.xml b/bmc-generativeai/pom.xml
index 2eac3734585..0bc151b3bfb 100644
--- a/bmc-generativeai/pom.xml
+++ b/bmc-generativeai/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-generativeai
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-generativeaiagent/pom.xml b/bmc-generativeaiagent/pom.xml
index 7a8dabdad62..13d6ca40fdd 100644
--- a/bmc-generativeaiagent/pom.xml
+++ b/bmc-generativeaiagent/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-generativeaiagent
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-generativeaiagentruntime/pom.xml b/bmc-generativeaiagentruntime/pom.xml
index 63702a30668..a3490363bc8 100644
--- a/bmc-generativeaiagentruntime/pom.xml
+++ b/bmc-generativeaiagentruntime/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-generativeaiagentruntime
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-generativeaidata/pom.xml b/bmc-generativeaidata/pom.xml
index 0114baeecc4..3c5d29d8790 100644
--- a/bmc-generativeaidata/pom.xml
+++ b/bmc-generativeaidata/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-generativeaidata
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-generativeaiinference/pom.xml b/bmc-generativeaiinference/pom.xml
index 0a6cf710a96..dccaa89913b 100644
--- a/bmc-generativeaiinference/pom.xml
+++ b/bmc-generativeaiinference/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-generativeaiinference
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-genericartifactscontent/pom.xml b/bmc-genericartifactscontent/pom.xml
index f4152bd9577..becd002cc6a 100644
--- a/bmc-genericartifactscontent/pom.xml
+++ b/bmc-genericartifactscontent/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-genericartifactscontent
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-goldengate/pom.xml b/bmc-goldengate/pom.xml
index b847ca7a3eb..f5b80d209d2 100644
--- a/bmc-goldengate/pom.xml
+++ b/bmc-goldengate/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-goldengate
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-governancerulescontrolplane/pom.xml b/bmc-governancerulescontrolplane/pom.xml
index 8942b773ae6..07b7eab0b2c 100644
--- a/bmc-governancerulescontrolplane/pom.xml
+++ b/bmc-governancerulescontrolplane/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-governancerulescontrolplane
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-healthchecks/pom.xml b/bmc-healthchecks/pom.xml
index 7746da07188..4550aa44e7b 100644
--- a/bmc-healthchecks/pom.xml
+++ b/bmc-healthchecks/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-healthchecks
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-identity/pom.xml b/bmc-identity/pom.xml
index c24548c30bb..554d08d8fb6 100644
--- a/bmc-identity/pom.xml
+++ b/bmc-identity/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
@@ -18,7 +18,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
diff --git a/bmc-identitydataplane/pom.xml b/bmc-identitydataplane/pom.xml
index a185a892463..8b474295b18 100644
--- a/bmc-identitydataplane/pom.xml
+++ b/bmc-identitydataplane/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-identitydataplane
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-identitydomains/pom.xml b/bmc-identitydomains/pom.xml
index 6a086d01abc..2949f64e26f 100644
--- a/bmc-identitydomains/pom.xml
+++ b/bmc-identitydomains/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-identitydomains
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-integration/pom.xml b/bmc-integration/pom.xml
index 7d9f1fbd92f..7598e157edd 100644
--- a/bmc-integration/pom.xml
+++ b/bmc-integration/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-integration
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-iot/pom.xml b/bmc-iot/pom.xml
index 850559d2703..12eebd090ac 100644
--- a/bmc-iot/pom.xml
+++ b/bmc-iot/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-iot
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-jms/pom.xml b/bmc-jms/pom.xml
index c212bd91533..7c118df97d5 100644
--- a/bmc-jms/pom.xml
+++ b/bmc-jms/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-jms
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-jmsjavadownloads/pom.xml b/bmc-jmsjavadownloads/pom.xml
index cdda5dc2097..5d1cd0db735 100644
--- a/bmc-jmsjavadownloads/pom.xml
+++ b/bmc-jmsjavadownloads/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-jmsjavadownloads
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-jmsutils/pom.xml b/bmc-jmsutils/pom.xml
index cb1978899f7..6e3bfed1ee5 100644
--- a/bmc-jmsutils/pom.xml
+++ b/bmc-jmsutils/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-jmsutils
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-keymanagement/pom.xml b/bmc-keymanagement/pom.xml
index 325b38f918f..aacbf61ea7f 100644
--- a/bmc-keymanagement/pom.xml
+++ b/bmc-keymanagement/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-keymanagement
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-licensemanager/pom.xml b/bmc-licensemanager/pom.xml
index d8f4058b2d2..468d957924f 100644
--- a/bmc-licensemanager/pom.xml
+++ b/bmc-licensemanager/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-licensemanager
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-limits/pom.xml b/bmc-limits/pom.xml
index 402d88782c2..e17430148d3 100644
--- a/bmc-limits/pom.xml
+++ b/bmc-limits/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-limits
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-limitsincrease/pom.xml b/bmc-limitsincrease/pom.xml
index a78daade9f4..43b6bb6fcbe 100644
--- a/bmc-limitsincrease/pom.xml
+++ b/bmc-limitsincrease/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-limitsincrease
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-loadbalancer/pom.xml b/bmc-loadbalancer/pom.xml
index 9f430bad3d2..2e28fd79ce9 100644
--- a/bmc-loadbalancer/pom.xml
+++ b/bmc-loadbalancer/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
@@ -18,7 +18,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
diff --git a/bmc-lockbox/pom.xml b/bmc-lockbox/pom.xml
index c64e01ac16a..f0dcdddbd4e 100644
--- a/bmc-lockbox/pom.xml
+++ b/bmc-lockbox/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-lockbox
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-loganalytics/pom.xml b/bmc-loganalytics/pom.xml
index 4db3dc79f42..544f4c76359 100644
--- a/bmc-loganalytics/pom.xml
+++ b/bmc-loganalytics/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-loganalytics
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-logging/pom.xml b/bmc-logging/pom.xml
index b55be13e037..3d9b9bab21a 100644
--- a/bmc-logging/pom.xml
+++ b/bmc-logging/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-logging
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-loggingingestion/pom.xml b/bmc-loggingingestion/pom.xml
index aff614d86dc..35b952c0cb6 100644
--- a/bmc-loggingingestion/pom.xml
+++ b/bmc-loggingingestion/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-loggingingestion
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-loggingsearch/pom.xml b/bmc-loggingsearch/pom.xml
index 57a6ae07c3c..0a2f6e51938 100644
--- a/bmc-loggingsearch/pom.xml
+++ b/bmc-loggingsearch/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-loggingsearch
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-lustrefilestorage/pom.xml b/bmc-lustrefilestorage/pom.xml
index b7a38a8ad4e..3ebd9dd1596 100644
--- a/bmc-lustrefilestorage/pom.xml
+++ b/bmc-lustrefilestorage/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-lustrefilestorage
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-managedkafka/pom.xml b/bmc-managedkafka/pom.xml
index 99da1de5049..7dcd3123ab0 100644
--- a/bmc-managedkafka/pom.xml
+++ b/bmc-managedkafka/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-managedkafka
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-managementagent/pom.xml b/bmc-managementagent/pom.xml
index ebd9f376b86..bc3825a56c3 100644
--- a/bmc-managementagent/pom.xml
+++ b/bmc-managementagent/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-managementagent
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-managementdashboard/pom.xml b/bmc-managementdashboard/pom.xml
index d5248f52d48..1d92f67dc93 100644
--- a/bmc-managementdashboard/pom.xml
+++ b/bmc-managementdashboard/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-managementdashboard
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-marketplace/pom.xml b/bmc-marketplace/pom.xml
index 3aa4182d798..944b49fede2 100644
--- a/bmc-marketplace/pom.xml
+++ b/bmc-marketplace/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-marketplace
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-marketplaceprivateoffer/pom.xml b/bmc-marketplaceprivateoffer/pom.xml
index 2c51d783acc..38025c55060 100644
--- a/bmc-marketplaceprivateoffer/pom.xml
+++ b/bmc-marketplaceprivateoffer/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.93.0
+ 3.94.0
../pom.xml
oci-java-sdk-marketplaceprivateoffer
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.93.0
+ 3.94.0
\ No newline at end of file
diff --git a/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/Offer.java b/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/Offer.java
index e51d73540a1..c33ae04ebf1 100644
--- a/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/Offer.java
+++ b/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/Offer.java
@@ -140,6 +140,22 @@ public interface Offer extends AutoCloseable {
*/
ListOffersResponse listOffers(ListOffersRequest request);
+ /**
+ * Sends an Offer to be reviewed and accepted by the buyer. Validation will be run on the offer
+ * first to verify the offer is valid and contains all required fields.
+ *
+ * @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 SendOffer API.
+ */
+ SendOfferResponse sendOffer(SendOfferRequest request);
+
/**
* Updates the Offer
*
@@ -155,6 +171,22 @@ public interface Offer extends AutoCloseable {
*/
UpdateOfferResponse updateOffer(UpdateOfferRequest request);
+ /**
+ * Withdraws an Offer and sends it back into DRAFT state. Offers can only be withdrawn before
+ * they are accepted by the buyer.
+ *
+ * @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 WithdrawOffer API.
+ */
+ WithdrawOfferResponse withdrawOffer(WithdrawOfferRequest request);
+
/**
* Gets the pre-configured waiters available for resources for this service.
*
diff --git a/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/OfferAsync.java b/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/OfferAsync.java
index 7a3e3fad59c..e0692e05de9 100644
--- a/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/OfferAsync.java
+++ b/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/OfferAsync.java
@@ -135,6 +135,21 @@ java.util.concurrent.Future listOffers(
ListOffersRequest request,
com.oracle.bmc.responses.AsyncHandler handler);
+ /**
+ * Sends an Offer to be reviewed and accepted by the buyer. Validation will be run on the offer
+ * first to verify the offer is valid and contains all required fields.
+ *
+ * @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 sendOffer(
+ SendOfferRequest request,
+ com.oracle.bmc.responses.AsyncHandler handler);
+
/**
* Updates the Offer
*
@@ -148,4 +163,20 @@ java.util.concurrent.Future listOffers(
java.util.concurrent.Future updateOffer(
UpdateOfferRequest request,
com.oracle.bmc.responses.AsyncHandler handler);
+
+ /**
+ * Withdraws an Offer and sends it back into DRAFT state. Offers can only be withdrawn before
+ * they are accepted by the buyer.
+ *
+ * @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 withdrawOffer(
+ WithdrawOfferRequest request,
+ com.oracle.bmc.responses.AsyncHandler
+ handler);
}
diff --git a/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/OfferAsyncClient.java b/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/OfferAsyncClient.java
index c9d882dd7fc..5f0c4d6d7b8 100644
--- a/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/OfferAsyncClient.java
+++ b/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/OfferAsyncClient.java
@@ -239,6 +239,34 @@ public java.util.concurrent.Future listOffers(
.callAsync(handler);
}
+ @Override
+ public java.util.concurrent.Future sendOffer(
+ SendOfferRequest request,
+ final com.oracle.bmc.responses.AsyncHandler
+ handler) {
+
+ Validate.notBlank(request.getOfferId(), "offerId must not be blank");
+
+ return clientCall(request, SendOfferResponse::builder)
+ .logger(LOG, "sendOffer")
+ .serviceDetails("Offer", "SendOffer", "")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(SendOfferRequest::builder)
+ .basePath("/20220901")
+ .appendPathParam("offers")
+ .appendPathParam(request.getOfferId())
+ .appendPathParam("actions")
+ .appendPathParam("sendOffer")
+ .accept("application/json")
+ .appendHeader("if-match", request.getIfMatch())
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleResponseHeaderString(
+ "opc-work-request-id", SendOfferResponse.Builder::opcWorkRequestId)
+ .handleResponseHeaderString(
+ "opc-request-id", SendOfferResponse.Builder::opcRequestId)
+ .callAsync(handler);
+ }
+
@Override
public java.util.concurrent.Future updateOffer(
UpdateOfferRequest request,
@@ -269,6 +297,34 @@ public java.util.concurrent.Future updateOffer(
.callAsync(handler);
}
+ @Override
+ public java.util.concurrent.Future withdrawOffer(
+ WithdrawOfferRequest request,
+ final com.oracle.bmc.responses.AsyncHandler
+ handler) {
+
+ Validate.notBlank(request.getOfferId(), "offerId must not be blank");
+
+ return clientCall(request, WithdrawOfferResponse::builder)
+ .logger(LOG, "withdrawOffer")
+ .serviceDetails("Offer", "WithdrawOffer", "")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(WithdrawOfferRequest::builder)
+ .basePath("/20220901")
+ .appendPathParam("offers")
+ .appendPathParam(request.getOfferId())
+ .appendPathParam("actions")
+ .appendPathParam("withdrawOffer")
+ .accept("application/json")
+ .appendHeader("if-match", request.getIfMatch())
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleResponseHeaderString(
+ "opc-work-request-id", WithdrawOfferResponse.Builder::opcWorkRequestId)
+ .handleResponseHeaderString(
+ "opc-request-id", WithdrawOfferResponse.Builder::opcRequestId)
+ .callAsync(handler);
+ }
+
/**
* Create a new client instance.
*
diff --git a/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/OfferClient.java b/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/OfferClient.java
index 723ea9ca7f4..2f5c9c4778c 100644
--- a/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/OfferClient.java
+++ b/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/OfferClient.java
@@ -256,6 +256,32 @@ public ListOffersResponse listOffers(ListOffersRequest request) {
.callSync();
}
+ @Override
+ public SendOfferResponse sendOffer(SendOfferRequest request) {
+
+ Validate.notBlank(request.getOfferId(), "offerId must not be blank");
+
+ return clientCall(request, SendOfferResponse::builder)
+ .logger(LOG, "sendOffer")
+ .serviceDetails("Offer", "SendOffer", "")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(SendOfferRequest::builder)
+ .basePath("/20220901")
+ .appendPathParam("offers")
+ .appendPathParam(request.getOfferId())
+ .appendPathParam("actions")
+ .appendPathParam("sendOffer")
+ .accept("application/json")
+ .appendHeader("if-match", request.getIfMatch())
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .operationUsesDefaultRetries()
+ .handleResponseHeaderString(
+ "opc-work-request-id", SendOfferResponse.Builder::opcWorkRequestId)
+ .handleResponseHeaderString(
+ "opc-request-id", SendOfferResponse.Builder::opcRequestId)
+ .callSync();
+ }
+
@Override
public UpdateOfferResponse updateOffer(UpdateOfferRequest request) {
@@ -284,6 +310,32 @@ public UpdateOfferResponse updateOffer(UpdateOfferRequest request) {
.callSync();
}
+ @Override
+ public WithdrawOfferResponse withdrawOffer(WithdrawOfferRequest request) {
+
+ Validate.notBlank(request.getOfferId(), "offerId must not be blank");
+
+ return clientCall(request, WithdrawOfferResponse::builder)
+ .logger(LOG, "withdrawOffer")
+ .serviceDetails("Offer", "WithdrawOffer", "")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(WithdrawOfferRequest::builder)
+ .basePath("/20220901")
+ .appendPathParam("offers")
+ .appendPathParam(request.getOfferId())
+ .appendPathParam("actions")
+ .appendPathParam("withdrawOffer")
+ .accept("application/json")
+ .appendHeader("if-match", request.getIfMatch())
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .operationUsesDefaultRetries()
+ .handleResponseHeaderString(
+ "opc-work-request-id", WithdrawOfferResponse.Builder::opcWorkRequestId)
+ .handleResponseHeaderString(
+ "opc-request-id", WithdrawOfferResponse.Builder::opcRequestId)
+ .callSync();
+ }
+
@Override
public OfferWaiters getWaiters() {
return waiters;
diff --git a/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/OfferQuote.java b/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/OfferQuote.java
new file mode 100644
index 00000000000..98914873dfd
--- /dev/null
+++ b/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/OfferQuote.java
@@ -0,0 +1,229 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.marketplaceprivateoffer;
+
+import com.oracle.bmc.marketplaceprivateoffer.requests.*;
+import com.oracle.bmc.marketplaceprivateoffer.responses.*;
+
+/**
+ * Use the Marketplace Publisher API to manage the publishing of applications in Oracle Cloud
+ * Infrastructure Marketplace. This service client uses CircuitBreakerUtils.DEFAULT_CIRCUIT_BREAKER
+ * for all the operations by default if no circuit breaker configuration is defined by the user.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220901")
+public interface OfferQuote extends AutoCloseable {
+
+ /** Rebuilds the client from scratch. Useful to refresh certificates. */
+ void refreshClient();
+
+ /**
+ * Sets the endpoint to call (ex, https://www.example.com).
+ *
+ * @param endpoint The endpoint of the service.
+ */
+ void setEndpoint(String endpoint);
+
+ /** Gets the set endpoint for REST call (ex, https://www.example.com) */
+ String getEndpoint();
+
+ /**
+ * Sets the region to call (ex, Region.US_PHOENIX_1).
+ *
+ * Note, this will call {@link #setEndpoint(String) setEndpoint} after resolving the
+ * endpoint. If the service is not available in this Region, however, an
+ * IllegalArgumentException will be raised.
+ *
+ * @param region The region of the service.
+ */
+ void setRegion(com.oracle.bmc.Region region);
+
+ /**
+ * Sets the region to call (ex, 'us-phoenix-1').
+ *
+ *
Note, this will first try to map the region ID to a known Region and call {@link
+ * #setRegion(Region) setRegion}.
+ *
+ *
If no known Region could be determined, it will create an endpoint based on the default
+ * endpoint format ({@link com.oracle.bmc.Region#formatDefaultRegionEndpoint(Service, String)}
+ * and then call {@link #setEndpoint(String) setEndpoint}.
+ *
+ * @param regionId The public region ID.
+ */
+ void setRegion(String regionId);
+
+ /**
+ * Determines whether realm specific endpoint should be used or not. Set
+ * realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm
+ * specific endpoint template, otherwise set it to "false"
+ *
+ * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint
+ * template
+ */
+ void useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled);
+
+ /**
+ * Creates a new offer quote.
+ *
+ * @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 CreateOfferQuote
+ * API.
+ */
+ CreateOfferQuoteResponse createOfferQuote(CreateOfferQuoteRequest request);
+
+ /**
+ * Deletes an offer quote resource by identifier.
+ *
+ * @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 DeleteOfferQuote
+ * API.
+ */
+ DeleteOfferQuoteResponse deleteOfferQuote(DeleteOfferQuoteRequest request);
+
+ /**
+ * Gets an offer quote by identifier.
+ *
+ * @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 GetOfferQuote API.
+ */
+ GetOfferQuoteResponse getOfferQuote(GetOfferQuoteRequest request);
+
+ /**
+ * Gets an offer quote internal details by identifier.
+ *
+ * @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
+ * GetOfferQuoteInternalDetail API.
+ */
+ GetOfferQuoteInternalDetailResponse getOfferQuoteInternalDetail(
+ GetOfferQuoteInternalDetailRequest request);
+
+ /**
+ * Returns a list of offer quotes. Requires either a reseller compartment ID or an ISV
+ * compartment ID.
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation 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 ListOfferQuotes
+ * API.
+ */
+ ListOfferQuotesResponse listOfferQuotes(ListOfferQuotesRequest request);
+
+ /**
+ * ISV responds to an offer quote for reseller to review.
+ *
+ * @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 RespondToOfferQuote
+ * API.
+ */
+ RespondToOfferQuoteResponse respondToOfferQuote(RespondToOfferQuoteRequest request);
+
+ /**
+ * Sends an offer quote to be reviewed and updated by the ISV. Validation will be run on the
+ * offer quote first to verify it is valid and contains all required fields.
+ *
+ * @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 SendOfferQuote API.
+ */
+ SendOfferQuoteResponse sendOfferQuote(SendOfferQuoteRequest request);
+
+ /**
+ * Updates the offer quote.
+ *
+ * @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 UpdateOfferQuote
+ * API.
+ */
+ UpdateOfferQuoteResponse updateOfferQuote(UpdateOfferQuoteRequest request);
+
+ /**
+ * Withdraws an offer quote and transitions to previous state. Offer quotes can only be
+ * withdrawn by reseller before the ISV response and withdrawn by the ISV before reseller
+ * acceptance.
+ *
+ * @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 WithdrawOfferQuote
+ * API.
+ */
+ WithdrawOfferQuoteResponse withdrawOfferQuote(WithdrawOfferQuoteRequest request);
+
+ /**
+ * Gets the pre-configured waiters available for resources for this service.
+ *
+ * @return The service waiters.
+ */
+ OfferQuoteWaiters getWaiters();
+
+ /**
+ * Gets the pre-configured paginators available for list operations in this service which may
+ * return multiple pages of data. These paginators provide an {@link java.lang.Iterable}
+ * interface so that service responses, or resources/records, can be iterated through without
+ * having to manually deal with pagination and page tokens.
+ *
+ * @return The service paginators.
+ */
+ OfferQuotePaginators getPaginators();
+}
diff --git a/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/OfferQuoteAsync.java b/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/OfferQuoteAsync.java
new file mode 100644
index 00000000000..55ae41ecb97
--- /dev/null
+++ b/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/OfferQuoteAsync.java
@@ -0,0 +1,206 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.marketplaceprivateoffer;
+
+import com.oracle.bmc.marketplaceprivateoffer.requests.*;
+import com.oracle.bmc.marketplaceprivateoffer.responses.*;
+
+/**
+ * Use the Marketplace Publisher API to manage the publishing of applications in Oracle Cloud
+ * Infrastructure Marketplace.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220901")
+public interface OfferQuoteAsync extends AutoCloseable {
+
+ /** Rebuilds the client from scratch. Useful to refresh certificates. */
+ void refreshClient();
+
+ /**
+ * Sets the endpoint to call (ex, https://www.example.com).
+ *
+ * @param endpoint The endpoint of the serice.
+ */
+ void setEndpoint(String endpoint);
+
+ /** Gets the set endpoint for REST call (ex, https://www.example.com) */
+ String getEndpoint();
+
+ /**
+ * Sets the region to call (ex, Region.US_PHOENIX_1).
+ *
+ *
Note, this will call {@link #setEndpoint(String) setEndpoint} after resolving the
+ * endpoint. If the service is not available in this region, however, an
+ * IllegalArgumentException will be raised.
+ *
+ * @param region The region of the service.
+ */
+ void setRegion(com.oracle.bmc.Region region);
+
+ /**
+ * Sets the region to call (ex, 'us-phoenix-1').
+ *
+ *
Note, this will first try to map the region ID to a known Region and call {@link
+ * #setRegion(Region) setRegion}.
+ *
+ *
If no known Region could be determined, it will create an endpoint based on the default
+ * endpoint format ({@link com.oracle.bmc.Region#formatDefaultRegionEndpoint(Service, String)}
+ * and then call {@link #setEndpoint(String) setEndpoint}.
+ *
+ * @param regionId The public region ID.
+ */
+ void setRegion(String regionId);
+
+ /**
+ * Determines whether realm specific endpoint should be used or not. Set
+ * realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm
+ * specific endpoint template, otherwise set it to "false"
+ *
+ * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint
+ * template
+ */
+ void useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled);
+
+ /**
+ * Creates a new offer quote.
+ *
+ * @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 createOfferQuote(
+ CreateOfferQuoteRequest request,
+ com.oracle.bmc.responses.AsyncHandler
+ handler);
+
+ /**
+ * Deletes an offer quote resource by identifier.
+ *
+ * @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 deleteOfferQuote(
+ DeleteOfferQuoteRequest request,
+ com.oracle.bmc.responses.AsyncHandler
+ handler);
+
+ /**
+ * Gets an offer quote by identifier.
+ *
+ * @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 getOfferQuote(
+ GetOfferQuoteRequest request,
+ com.oracle.bmc.responses.AsyncHandler
+ handler);
+
+ /**
+ * Gets an offer quote internal details by identifier.
+ *
+ * @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 getOfferQuoteInternalDetail(
+ GetOfferQuoteInternalDetailRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ GetOfferQuoteInternalDetailRequest, GetOfferQuoteInternalDetailResponse>
+ handler);
+
+ /**
+ * Returns a list of offer quotes. Requires either a reseller compartment ID or an ISV
+ * compartment ID.
+ *
+ * @param request The request object containing the details to send
+ * @param handler The request handler to invoke upon completion, may be null.
+ * @return A Future that can be used to get the response if no AsyncHandler was provided. Note,
+ * if you provide an AsyncHandler and use the Future, some types of responses (like
+ * java.io.InputStream) may not be able to be read in both places as the underlying stream
+ * may only be consumed once.
+ */
+ java.util.concurrent.Future listOfferQuotes(
+ ListOfferQuotesRequest request,
+ com.oracle.bmc.responses.AsyncHandler
+ handler);
+
+ /**
+ * ISV responds to an offer quote for reseller to review.
+ *
+ * @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 respondToOfferQuote(
+ RespondToOfferQuoteRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ RespondToOfferQuoteRequest, RespondToOfferQuoteResponse>
+ handler);
+
+ /**
+ * Sends an offer quote to be reviewed and updated by the ISV. Validation will be run on the
+ * offer quote first to verify it is valid and contains all required fields.
+ *
+ * @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 sendOfferQuote(
+ SendOfferQuoteRequest request,
+ com.oracle.bmc.responses.AsyncHandler
+ handler);
+
+ /**
+ * Updates the offer quote.
+ *
+ * @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 updateOfferQuote(
+ UpdateOfferQuoteRequest request,
+ com.oracle.bmc.responses.AsyncHandler
+ handler);
+
+ /**
+ * Withdraws an offer quote and transitions to previous state. Offer quotes can only be
+ * withdrawn by reseller before the ISV response and withdrawn by the ISV before reseller
+ * acceptance.
+ *
+ * @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 withdrawOfferQuote(
+ WithdrawOfferQuoteRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ WithdrawOfferQuoteRequest, WithdrawOfferQuoteResponse>
+ handler);
+}
diff --git a/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/OfferQuoteAsyncClient.java b/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/OfferQuoteAsyncClient.java
new file mode 100644
index 00000000000..f39875bda57
--- /dev/null
+++ b/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/OfferQuoteAsyncClient.java
@@ -0,0 +1,542 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.marketplaceprivateoffer;
+
+import com.oracle.bmc.util.internal.Validate;
+import com.oracle.bmc.marketplaceprivateoffer.requests.*;
+import com.oracle.bmc.marketplaceprivateoffer.responses.*;
+
+import java.util.Objects;
+
+/**
+ * Async client implementation for OfferQuote service.
+ * There are two ways to use async client: 1. Use AsyncHandler: using AsyncHandler, if the response
+ * to the call is an {@link java.io.InputStream}, like getObject Api in object storage service,
+ * developers need to process the stream in AsyncHandler, and not anywhere else, because the stream
+ * will be closed right after the AsyncHandler is invoked.
+ * 2. Use Java Future: using Java Future, developers need to close the stream after they are done
+ * with the Java Future.
+ * Accessing the result should be done in a mutually exclusive manner, either through the Future or
+ * the AsyncHandler, but not both. If the Future is used, the caller should pass in null as the
+ * AsyncHandler. If the AsyncHandler is used, it is still safe to use the Future to determine
+ * whether or not the request was completed via Future.isDone/isCancelled.
+ * Please refer to
+ * https://github.com/oracle/oci-java-sdk/blob/master/bmc-examples/src/main/java/ResteasyClientWithObjectStorageExample.java
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220901")
+public class OfferQuoteAsyncClient extends com.oracle.bmc.http.internal.BaseAsyncClient
+ implements OfferQuoteAsync {
+ /** Service instance for OfferQuote. */
+ public static final com.oracle.bmc.Service SERVICE =
+ com.oracle.bmc.Services.serviceBuilder()
+ .serviceName(OfferQuoteClient.class.getName())
+ .serviceEndpointPrefix("")
+ .serviceEndpointTemplate(
+ "https://private-offer.{region}.oci.{secondLevelDomain}")
+ .build();
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(OfferQuoteAsyncClient.class);
+
+ OfferQuoteAsyncClient(
+ com.oracle.bmc.common.ClientBuilderBase, ?> builder,
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider
+ authenticationDetailsProvider) {
+ super(builder, authenticationDetailsProvider);
+ }
+
+ /**
+ * Create a builder for this client.
+ *
+ * @return builder
+ */
+ public static Builder builder() {
+ return new Builder(SERVICE);
+ }
+
+ /**
+ * Builder class for this client. The "authenticationDetailsProvider" is required and must be
+ * passed to the {@link #build(AbstractAuthenticationDetailsProvider)} method.
+ */
+ public static class Builder
+ extends com.oracle.bmc.common.RegionalClientBuilder {
+ private Builder(com.oracle.bmc.Service service) {
+ super(service);
+ final String packageName = "marketplaceprivateoffer";
+ com.oracle.bmc.internal.DeveloperToolConfiguration
+ .throwDisabledServiceExceptionIfAppropriate(packageName);
+ requestSignerFactory =
+ new com.oracle.bmc.http.signing.internal.DefaultRequestSignerFactory(
+ com.oracle.bmc.http.signing.SigningStrategy.STANDARD);
+ }
+
+ /**
+ * Build the client.
+ *
+ * @param authenticationDetailsProvider authentication details provider
+ * @return the client
+ */
+ public OfferQuoteAsyncClient build(
+ @jakarta.annotation.Nonnull
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider
+ authenticationDetailsProvider) {
+ return new OfferQuoteAsyncClient(this, authenticationDetailsProvider);
+ }
+ }
+
+ @Override
+ public void setRegion(com.oracle.bmc.Region region) {
+ super.setRegion(region);
+ }
+
+ @Override
+ public void setRegion(String regionId) {
+ super.setRegion(regionId);
+ }
+
+ @Override
+ public java.util.concurrent.Future createOfferQuote(
+ CreateOfferQuoteRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ CreateOfferQuoteRequest, CreateOfferQuoteResponse>
+ handler) {
+ Objects.requireNonNull(
+ request.getCreateOfferQuoteDetails(), "createOfferQuoteDetails is required");
+
+ return clientCall(request, CreateOfferQuoteResponse::builder)
+ .logger(LOG, "createOfferQuote")
+ .serviceDetails("OfferQuote", "CreateOfferQuote", "")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(CreateOfferQuoteRequest::builder)
+ .basePath("/20220901")
+ .appendPathParam("offerQuotes")
+ .accept("application/json")
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .hasBody()
+ .handleBody(
+ com.oracle.bmc.marketplaceprivateoffer.model.OfferQuote.class,
+ CreateOfferQuoteResponse.Builder::offerQuote)
+ .handleResponseHeaderString(
+ "opc-request-id", CreateOfferQuoteResponse.Builder::opcRequestId)
+ .handleResponseHeaderString("etag", CreateOfferQuoteResponse.Builder::etag)
+ .handleResponseHeaderString("location", CreateOfferQuoteResponse.Builder::location)
+ .handleResponseHeaderString(
+ "content-location", CreateOfferQuoteResponse.Builder::contentLocation)
+ .handleResponseHeaderString(
+ "opc-work-request-id", CreateOfferQuoteResponse.Builder::opcWorkRequestId)
+ .callAsync(handler);
+ }
+
+ @Override
+ public java.util.concurrent.Future deleteOfferQuote(
+ DeleteOfferQuoteRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ DeleteOfferQuoteRequest, DeleteOfferQuoteResponse>
+ handler) {
+
+ Validate.notBlank(request.getOfferQuoteId(), "offerQuoteId must not be blank");
+
+ return clientCall(request, DeleteOfferQuoteResponse::builder)
+ .logger(LOG, "deleteOfferQuote")
+ .serviceDetails("OfferQuote", "DeleteOfferQuote", "")
+ .method(com.oracle.bmc.http.client.Method.DELETE)
+ .requestBuilder(DeleteOfferQuoteRequest::builder)
+ .basePath("/20220901")
+ .appendPathParam("offerQuotes")
+ .appendPathParam(request.getOfferQuoteId())
+ .accept("application/json")
+ .appendHeader("if-match", request.getIfMatch())
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleResponseHeaderString(
+ "opc-work-request-id", DeleteOfferQuoteResponse.Builder::opcWorkRequestId)
+ .handleResponseHeaderString(
+ "opc-request-id", DeleteOfferQuoteResponse.Builder::opcRequestId)
+ .callAsync(handler);
+ }
+
+ @Override
+ public java.util.concurrent.Future getOfferQuote(
+ GetOfferQuoteRequest request,
+ final com.oracle.bmc.responses.AsyncHandler
+ handler) {
+
+ Validate.notBlank(request.getOfferQuoteId(), "offerQuoteId must not be blank");
+
+ return clientCall(request, GetOfferQuoteResponse::builder)
+ .logger(LOG, "getOfferQuote")
+ .serviceDetails("OfferQuote", "GetOfferQuote", "")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(GetOfferQuoteRequest::builder)
+ .basePath("/20220901")
+ .appendPathParam("offerQuotes")
+ .appendPathParam(request.getOfferQuoteId())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleBody(
+ com.oracle.bmc.marketplaceprivateoffer.model.OfferQuote.class,
+ GetOfferQuoteResponse.Builder::offerQuote)
+ .handleResponseHeaderString("etag", GetOfferQuoteResponse.Builder::etag)
+ .handleResponseHeaderString(
+ "opc-request-id", GetOfferQuoteResponse.Builder::opcRequestId)
+ .callAsync(handler);
+ }
+
+ @Override
+ public java.util.concurrent.Future
+ getOfferQuoteInternalDetail(
+ GetOfferQuoteInternalDetailRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ GetOfferQuoteInternalDetailRequest,
+ GetOfferQuoteInternalDetailResponse>
+ handler) {
+
+ Validate.notBlank(request.getOfferQuoteId(), "offerQuoteId must not be blank");
+
+ return clientCall(request, GetOfferQuoteInternalDetailResponse::builder)
+ .logger(LOG, "getOfferQuoteInternalDetail")
+ .serviceDetails("OfferQuote", "GetOfferQuoteInternalDetail", "")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(GetOfferQuoteInternalDetailRequest::builder)
+ .basePath("/20220901")
+ .appendPathParam("offerQuotes")
+ .appendPathParam(request.getOfferQuoteId())
+ .appendPathParam("internalDetails")
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleBody(
+ com.oracle.bmc.marketplaceprivateoffer.model.OfferQuoteInternalDetail.class,
+ GetOfferQuoteInternalDetailResponse.Builder::offerQuoteInternalDetail)
+ .handleResponseHeaderString(
+ "etag", GetOfferQuoteInternalDetailResponse.Builder::etag)
+ .handleResponseHeaderString(
+ "opc-request-id", GetOfferQuoteInternalDetailResponse.Builder::opcRequestId)
+ .callAsync(handler);
+ }
+
+ @Override
+ public java.util.concurrent.Future listOfferQuotes(
+ ListOfferQuotesRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ ListOfferQuotesRequest, ListOfferQuotesResponse>
+ handler) {
+
+ return clientCall(request, ListOfferQuotesResponse::builder)
+ .logger(LOG, "listOfferQuotes")
+ .serviceDetails("OfferQuote", "ListOfferQuotes", "")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(ListOfferQuotesRequest::builder)
+ .basePath("/20220901")
+ .appendPathParam("offerQuotes")
+ .appendQueryParam("resellerCompartmentId", request.getResellerCompartmentId())
+ .appendQueryParam("isvCompartmentId", request.getIsvCompartmentId())
+ .appendEnumQueryParam("lifecycleState", request.getLifecycleState())
+ .appendQueryParam("displayName", request.getDisplayName())
+ .appendQueryParam("id", request.getId())
+ .appendQueryParam("limit", request.getLimit())
+ .appendQueryParam("page", request.getPage())
+ .appendEnumQueryParam("sortOrder", request.getSortOrder())
+ .appendEnumQueryParam("sortBy", request.getSortBy())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleBody(
+ com.oracle.bmc.marketplaceprivateoffer.model.OfferQuoteCollection.class,
+ ListOfferQuotesResponse.Builder::offerQuoteCollection)
+ .handleResponseHeaderString(
+ "opc-request-id", ListOfferQuotesResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-next-page", ListOfferQuotesResponse.Builder::opcNextPage)
+ .callAsync(handler);
+ }
+
+ @Override
+ public java.util.concurrent.Future respondToOfferQuote(
+ RespondToOfferQuoteRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ RespondToOfferQuoteRequest, RespondToOfferQuoteResponse>
+ handler) {
+
+ Validate.notBlank(request.getOfferQuoteId(), "offerQuoteId must not be blank");
+ Objects.requireNonNull(
+ request.getRespondToOfferQuoteDetails(), "respondToOfferQuoteDetails is required");
+
+ return clientCall(request, RespondToOfferQuoteResponse::builder)
+ .logger(LOG, "respondToOfferQuote")
+ .serviceDetails("OfferQuote", "RespondToOfferQuote", "")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(RespondToOfferQuoteRequest::builder)
+ .basePath("/20220901")
+ .appendPathParam("offerQuotes")
+ .appendPathParam(request.getOfferQuoteId())
+ .appendPathParam("actions")
+ .appendPathParam("respondToOfferQuote")
+ .accept("application/json")
+ .appendHeader("if-match", request.getIfMatch())
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .hasBody()
+ .handleResponseHeaderString(
+ "opc-work-request-id",
+ RespondToOfferQuoteResponse.Builder::opcWorkRequestId)
+ .handleResponseHeaderString(
+ "opc-request-id", RespondToOfferQuoteResponse.Builder::opcRequestId)
+ .callAsync(handler);
+ }
+
+ @Override
+ public java.util.concurrent.Future sendOfferQuote(
+ SendOfferQuoteRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ SendOfferQuoteRequest, SendOfferQuoteResponse>
+ handler) {
+
+ Validate.notBlank(request.getOfferQuoteId(), "offerQuoteId must not be blank");
+
+ return clientCall(request, SendOfferQuoteResponse::builder)
+ .logger(LOG, "sendOfferQuote")
+ .serviceDetails("OfferQuote", "SendOfferQuote", "")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(SendOfferQuoteRequest::builder)
+ .basePath("/20220901")
+ .appendPathParam("offerQuotes")
+ .appendPathParam(request.getOfferQuoteId())
+ .appendPathParam("actions")
+ .appendPathParam("sendOfferQuote")
+ .accept("application/json")
+ .appendHeader("if-match", request.getIfMatch())
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .handleResponseHeaderString(
+ "opc-work-request-id", SendOfferQuoteResponse.Builder::opcWorkRequestId)
+ .handleResponseHeaderString(
+ "opc-request-id", SendOfferQuoteResponse.Builder::opcRequestId)
+ .callAsync(handler);
+ }
+
+ @Override
+ public java.util.concurrent.Future updateOfferQuote(
+ UpdateOfferQuoteRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ UpdateOfferQuoteRequest, UpdateOfferQuoteResponse>
+ handler) {
+
+ Validate.notBlank(request.getOfferQuoteId(), "offerQuoteId must not be blank");
+ Objects.requireNonNull(
+ request.getUpdateOfferQuoteDetails(), "updateOfferQuoteDetails is required");
+
+ return clientCall(request, UpdateOfferQuoteResponse::builder)
+ .logger(LOG, "updateOfferQuote")
+ .serviceDetails("OfferQuote", "UpdateOfferQuote", "")
+ .method(com.oracle.bmc.http.client.Method.PUT)
+ .requestBuilder(UpdateOfferQuoteRequest::builder)
+ .basePath("/20220901")
+ .appendPathParam("offerQuotes")
+ .appendPathParam(request.getOfferQuoteId())
+ .accept("application/json")
+ .appendHeader("if-match", request.getIfMatch())
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .hasBody()
+ .handleBody(
+ com.oracle.bmc.marketplaceprivateoffer.model.OfferQuote.class,
+ UpdateOfferQuoteResponse.Builder::offerQuote)
+ .handleResponseHeaderString("etag", UpdateOfferQuoteResponse.Builder::etag)
+ .handleResponseHeaderString(
+ "opc-request-id", UpdateOfferQuoteResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-work-request-id", UpdateOfferQuoteResponse.Builder::opcWorkRequestId)
+ .callAsync(handler);
+ }
+
+ @Override
+ public java.util.concurrent.Future withdrawOfferQuote(
+ WithdrawOfferQuoteRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ WithdrawOfferQuoteRequest, WithdrawOfferQuoteResponse>
+ handler) {
+
+ Validate.notBlank(request.getOfferQuoteId(), "offerQuoteId must not be blank");
+
+ return clientCall(request, WithdrawOfferQuoteResponse::builder)
+ .logger(LOG, "withdrawOfferQuote")
+ .serviceDetails("OfferQuote", "WithdrawOfferQuote", "")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(WithdrawOfferQuoteRequest::builder)
+ .basePath("/20220901")
+ .appendPathParam("offerQuotes")
+ .appendPathParam(request.getOfferQuoteId())
+ .appendPathParam("actions")
+ .appendPathParam("withdrawOfferQuote")
+ .appendQueryParam("resellerCompartmentId", request.getResellerCompartmentId())
+ .appendQueryParam("isvCompartmentId", request.getIsvCompartmentId())
+ .accept("application/json")
+ .appendHeader("if-match", request.getIfMatch())
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .handleResponseHeaderString(
+ "opc-work-request-id", WithdrawOfferQuoteResponse.Builder::opcWorkRequestId)
+ .handleResponseHeaderString(
+ "opc-request-id", WithdrawOfferQuoteResponse.Builder::opcRequestId)
+ .callAsync(handler);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public OfferQuoteAsyncClient(
+ com.oracle.bmc.auth.BasicAuthenticationDetailsProvider authenticationDetailsProvider) {
+ this(builder(), authenticationDetailsProvider);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public OfferQuoteAsyncClient(
+ com.oracle.bmc.auth.BasicAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration) {
+ this(builder().configuration(configuration), authenticationDetailsProvider);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public OfferQuoteAsyncClient(
+ com.oracle.bmc.auth.BasicAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator) {
+ this(
+ builder().configuration(configuration).clientConfigurator(clientConfigurator),
+ authenticationDetailsProvider);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @param defaultRequestSignerFactory {@link Builder#requestSignerFactory}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public OfferQuoteAsyncClient(
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator,
+ com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory) {
+ this(
+ builder()
+ .configuration(configuration)
+ .clientConfigurator(clientConfigurator)
+ .requestSignerFactory(defaultRequestSignerFactory),
+ authenticationDetailsProvider);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @param defaultRequestSignerFactory {@link Builder#requestSignerFactory}
+ * @param additionalClientConfigurators {@link Builder#additionalClientConfigurators}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public OfferQuoteAsyncClient(
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator,
+ com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory,
+ java.util.List additionalClientConfigurators) {
+ this(
+ builder()
+ .configuration(configuration)
+ .clientConfigurator(clientConfigurator)
+ .requestSignerFactory(defaultRequestSignerFactory)
+ .additionalClientConfigurators(additionalClientConfigurators),
+ authenticationDetailsProvider);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @param defaultRequestSignerFactory {@link Builder#requestSignerFactory}
+ * @param additionalClientConfigurators {@link Builder#additionalClientConfigurators}
+ * @param endpoint {@link Builder#endpoint}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public OfferQuoteAsyncClient(
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator,
+ com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory,
+ java.util.List additionalClientConfigurators,
+ String endpoint) {
+ this(
+ builder()
+ .configuration(configuration)
+ .clientConfigurator(clientConfigurator)
+ .requestSignerFactory(defaultRequestSignerFactory)
+ .additionalClientConfigurators(additionalClientConfigurators)
+ .endpoint(endpoint),
+ authenticationDetailsProvider);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @param defaultRequestSignerFactory {@link Builder#requestSignerFactory}
+ * @param additionalClientConfigurators {@link Builder#additionalClientConfigurators}
+ * @param endpoint {@link Builder#endpoint}
+ * @param signingStrategyRequestSignerFactories {@link
+ * Builder#signingStrategyRequestSignerFactories}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public OfferQuoteAsyncClient(
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator,
+ com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory,
+ java.util.Map<
+ com.oracle.bmc.http.signing.SigningStrategy,
+ com.oracle.bmc.http.signing.RequestSignerFactory>
+ signingStrategyRequestSignerFactories,
+ java.util.List additionalClientConfigurators,
+ String endpoint) {
+ this(
+ builder()
+ .configuration(configuration)
+ .clientConfigurator(clientConfigurator)
+ .requestSignerFactory(defaultRequestSignerFactory)
+ .additionalClientConfigurators(additionalClientConfigurators)
+ .endpoint(endpoint)
+ .signingStrategyRequestSignerFactories(
+ signingStrategyRequestSignerFactories),
+ authenticationDetailsProvider);
+ }
+}
diff --git a/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/OfferQuoteClient.java b/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/OfferQuoteClient.java
new file mode 100644
index 00000000000..d59a5970671
--- /dev/null
+++ b/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/OfferQuoteClient.java
@@ -0,0 +1,598 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.marketplaceprivateoffer;
+
+import com.oracle.bmc.util.internal.Validate;
+import com.oracle.bmc.marketplaceprivateoffer.requests.*;
+import com.oracle.bmc.marketplaceprivateoffer.responses.*;
+import com.oracle.bmc.circuitbreaker.CircuitBreakerConfiguration;
+import com.oracle.bmc.util.CircuitBreakerUtils;
+
+import java.util.Objects;
+
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220901")
+public class OfferQuoteClient extends com.oracle.bmc.http.internal.BaseSyncClient
+ implements OfferQuote {
+ /** Service instance for OfferQuote. */
+ public static final com.oracle.bmc.Service SERVICE =
+ com.oracle.bmc.Services.serviceBuilder()
+ .serviceName(OfferQuoteClient.class.getName())
+ .serviceEndpointPrefix("")
+ .serviceEndpointTemplate(
+ "https://private-offer.{region}.oci.{secondLevelDomain}")
+ .build();
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(OfferQuoteClient.class);
+
+ private final OfferQuoteWaiters waiters;
+
+ private final OfferQuotePaginators paginators;
+
+ OfferQuoteClient(
+ com.oracle.bmc.common.ClientBuilderBase, ?> builder,
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
+ java.util.concurrent.ExecutorService executorService) {
+ super(
+ builder,
+ authenticationDetailsProvider,
+ CircuitBreakerUtils.DEFAULT_CIRCUIT_BREAKER_CONFIGURATION);
+
+ if (executorService == null) {
+ // up to 50 (core) threads, time out after 60s idle, all daemon
+ java.util.concurrent.ThreadPoolExecutor threadPoolExecutor =
+ new java.util.concurrent.ThreadPoolExecutor(
+ 50,
+ 50,
+ 60L,
+ java.util.concurrent.TimeUnit.SECONDS,
+ new java.util.concurrent.LinkedBlockingQueue(),
+ com.oracle.bmc.internal.ClientThreadFactory.builder()
+ .isDaemon(true)
+ .nameFormat("OfferQuote-waiters-%d")
+ .build());
+ threadPoolExecutor.allowCoreThreadTimeOut(true);
+
+ executorService = threadPoolExecutor;
+ }
+ this.waiters = new OfferQuoteWaiters(executorService, this);
+
+ this.paginators = new OfferQuotePaginators(this);
+ }
+
+ /**
+ * Create a builder for this client.
+ *
+ * @return builder
+ */
+ public static Builder builder() {
+ return new Builder(SERVICE);
+ }
+
+ /**
+ * Builder class for this client. The "authenticationDetailsProvider" is required and must be
+ * passed to the {@link #build(AbstractAuthenticationDetailsProvider)} method.
+ */
+ public static class Builder
+ extends com.oracle.bmc.common.RegionalClientBuilder {
+ private java.util.concurrent.ExecutorService executorService;
+
+ private Builder(com.oracle.bmc.Service service) {
+ super(service);
+ final String packageName = "marketplaceprivateoffer";
+ com.oracle.bmc.internal.DeveloperToolConfiguration
+ .throwDisabledServiceExceptionIfAppropriate(packageName);
+ requestSignerFactory =
+ new com.oracle.bmc.http.signing.internal.DefaultRequestSignerFactory(
+ com.oracle.bmc.http.signing.SigningStrategy.STANDARD);
+ }
+
+ /**
+ * Set the ExecutorService for the client to be created.
+ *
+ * @param executorService executorService
+ * @return this builder
+ */
+ public Builder executorService(java.util.concurrent.ExecutorService executorService) {
+ this.executorService = executorService;
+ return this;
+ }
+
+ /**
+ * Build the client.
+ *
+ * @param authenticationDetailsProvider authentication details provider
+ * @return the client
+ */
+ public OfferQuoteClient build(
+ @jakarta.annotation.Nonnull
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider
+ authenticationDetailsProvider) {
+ return new OfferQuoteClient(this, authenticationDetailsProvider, executorService);
+ }
+ }
+
+ @Override
+ public void setRegion(com.oracle.bmc.Region region) {
+ super.setRegion(region);
+ }
+
+ @Override
+ public void setRegion(String regionId) {
+ super.setRegion(regionId);
+ }
+
+ @Override
+ public CreateOfferQuoteResponse createOfferQuote(CreateOfferQuoteRequest request) {
+ Objects.requireNonNull(
+ request.getCreateOfferQuoteDetails(), "createOfferQuoteDetails is required");
+
+ return clientCall(request, CreateOfferQuoteResponse::builder)
+ .logger(LOG, "createOfferQuote")
+ .serviceDetails("OfferQuote", "CreateOfferQuote", "")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(CreateOfferQuoteRequest::builder)
+ .basePath("/20220901")
+ .appendPathParam("offerQuotes")
+ .accept("application/json")
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .operationUsesDefaultRetries()
+ .hasBody()
+ .handleBody(
+ com.oracle.bmc.marketplaceprivateoffer.model.OfferQuote.class,
+ CreateOfferQuoteResponse.Builder::offerQuote)
+ .handleResponseHeaderString(
+ "opc-request-id", CreateOfferQuoteResponse.Builder::opcRequestId)
+ .handleResponseHeaderString("etag", CreateOfferQuoteResponse.Builder::etag)
+ .handleResponseHeaderString("location", CreateOfferQuoteResponse.Builder::location)
+ .handleResponseHeaderString(
+ "content-location", CreateOfferQuoteResponse.Builder::contentLocation)
+ .handleResponseHeaderString(
+ "opc-work-request-id", CreateOfferQuoteResponse.Builder::opcWorkRequestId)
+ .callSync();
+ }
+
+ @Override
+ public DeleteOfferQuoteResponse deleteOfferQuote(DeleteOfferQuoteRequest request) {
+
+ Validate.notBlank(request.getOfferQuoteId(), "offerQuoteId must not be blank");
+
+ return clientCall(request, DeleteOfferQuoteResponse::builder)
+ .logger(LOG, "deleteOfferQuote")
+ .serviceDetails("OfferQuote", "DeleteOfferQuote", "")
+ .method(com.oracle.bmc.http.client.Method.DELETE)
+ .requestBuilder(DeleteOfferQuoteRequest::builder)
+ .basePath("/20220901")
+ .appendPathParam("offerQuotes")
+ .appendPathParam(request.getOfferQuoteId())
+ .accept("application/json")
+ .appendHeader("if-match", request.getIfMatch())
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .operationUsesDefaultRetries()
+ .handleResponseHeaderString(
+ "opc-work-request-id", DeleteOfferQuoteResponse.Builder::opcWorkRequestId)
+ .handleResponseHeaderString(
+ "opc-request-id", DeleteOfferQuoteResponse.Builder::opcRequestId)
+ .callSync();
+ }
+
+ @Override
+ public GetOfferQuoteResponse getOfferQuote(GetOfferQuoteRequest request) {
+
+ Validate.notBlank(request.getOfferQuoteId(), "offerQuoteId must not be blank");
+
+ return clientCall(request, GetOfferQuoteResponse::builder)
+ .logger(LOG, "getOfferQuote")
+ .serviceDetails("OfferQuote", "GetOfferQuote", "")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(GetOfferQuoteRequest::builder)
+ .basePath("/20220901")
+ .appendPathParam("offerQuotes")
+ .appendPathParam(request.getOfferQuoteId())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .operationUsesDefaultRetries()
+ .handleBody(
+ com.oracle.bmc.marketplaceprivateoffer.model.OfferQuote.class,
+ GetOfferQuoteResponse.Builder::offerQuote)
+ .handleResponseHeaderString("etag", GetOfferQuoteResponse.Builder::etag)
+ .handleResponseHeaderString(
+ "opc-request-id", GetOfferQuoteResponse.Builder::opcRequestId)
+ .callSync();
+ }
+
+ @Override
+ public GetOfferQuoteInternalDetailResponse getOfferQuoteInternalDetail(
+ GetOfferQuoteInternalDetailRequest request) {
+
+ Validate.notBlank(request.getOfferQuoteId(), "offerQuoteId must not be blank");
+
+ return clientCall(request, GetOfferQuoteInternalDetailResponse::builder)
+ .logger(LOG, "getOfferQuoteInternalDetail")
+ .serviceDetails("OfferQuote", "GetOfferQuoteInternalDetail", "")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(GetOfferQuoteInternalDetailRequest::builder)
+ .basePath("/20220901")
+ .appendPathParam("offerQuotes")
+ .appendPathParam(request.getOfferQuoteId())
+ .appendPathParam("internalDetails")
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .operationUsesDefaultRetries()
+ .handleBody(
+ com.oracle.bmc.marketplaceprivateoffer.model.OfferQuoteInternalDetail.class,
+ GetOfferQuoteInternalDetailResponse.Builder::offerQuoteInternalDetail)
+ .handleResponseHeaderString(
+ "etag", GetOfferQuoteInternalDetailResponse.Builder::etag)
+ .handleResponseHeaderString(
+ "opc-request-id", GetOfferQuoteInternalDetailResponse.Builder::opcRequestId)
+ .callSync();
+ }
+
+ @Override
+ public ListOfferQuotesResponse listOfferQuotes(ListOfferQuotesRequest request) {
+
+ return clientCall(request, ListOfferQuotesResponse::builder)
+ .logger(LOG, "listOfferQuotes")
+ .serviceDetails("OfferQuote", "ListOfferQuotes", "")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(ListOfferQuotesRequest::builder)
+ .basePath("/20220901")
+ .appendPathParam("offerQuotes")
+ .appendQueryParam("resellerCompartmentId", request.getResellerCompartmentId())
+ .appendQueryParam("isvCompartmentId", request.getIsvCompartmentId())
+ .appendEnumQueryParam("lifecycleState", request.getLifecycleState())
+ .appendQueryParam("displayName", request.getDisplayName())
+ .appendQueryParam("id", request.getId())
+ .appendQueryParam("limit", request.getLimit())
+ .appendQueryParam("page", request.getPage())
+ .appendEnumQueryParam("sortOrder", request.getSortOrder())
+ .appendEnumQueryParam("sortBy", request.getSortBy())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .operationUsesDefaultRetries()
+ .handleBody(
+ com.oracle.bmc.marketplaceprivateoffer.model.OfferQuoteCollection.class,
+ ListOfferQuotesResponse.Builder::offerQuoteCollection)
+ .handleResponseHeaderString(
+ "opc-request-id", ListOfferQuotesResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-next-page", ListOfferQuotesResponse.Builder::opcNextPage)
+ .callSync();
+ }
+
+ @Override
+ public RespondToOfferQuoteResponse respondToOfferQuote(RespondToOfferQuoteRequest request) {
+
+ Validate.notBlank(request.getOfferQuoteId(), "offerQuoteId must not be blank");
+ Objects.requireNonNull(
+ request.getRespondToOfferQuoteDetails(), "respondToOfferQuoteDetails is required");
+
+ return clientCall(request, RespondToOfferQuoteResponse::builder)
+ .logger(LOG, "respondToOfferQuote")
+ .serviceDetails("OfferQuote", "RespondToOfferQuote", "")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(RespondToOfferQuoteRequest::builder)
+ .basePath("/20220901")
+ .appendPathParam("offerQuotes")
+ .appendPathParam(request.getOfferQuoteId())
+ .appendPathParam("actions")
+ .appendPathParam("respondToOfferQuote")
+ .accept("application/json")
+ .appendHeader("if-match", request.getIfMatch())
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .operationUsesDefaultRetries()
+ .hasBody()
+ .handleResponseHeaderString(
+ "opc-work-request-id",
+ RespondToOfferQuoteResponse.Builder::opcWorkRequestId)
+ .handleResponseHeaderString(
+ "opc-request-id", RespondToOfferQuoteResponse.Builder::opcRequestId)
+ .callSync();
+ }
+
+ @Override
+ public SendOfferQuoteResponse sendOfferQuote(SendOfferQuoteRequest request) {
+
+ Validate.notBlank(request.getOfferQuoteId(), "offerQuoteId must not be blank");
+
+ return clientCall(request, SendOfferQuoteResponse::builder)
+ .logger(LOG, "sendOfferQuote")
+ .serviceDetails("OfferQuote", "SendOfferQuote", "")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(SendOfferQuoteRequest::builder)
+ .basePath("/20220901")
+ .appendPathParam("offerQuotes")
+ .appendPathParam(request.getOfferQuoteId())
+ .appendPathParam("actions")
+ .appendPathParam("sendOfferQuote")
+ .accept("application/json")
+ .appendHeader("if-match", request.getIfMatch())
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .operationUsesDefaultRetries()
+ .handleResponseHeaderString(
+ "opc-work-request-id", SendOfferQuoteResponse.Builder::opcWorkRequestId)
+ .handleResponseHeaderString(
+ "opc-request-id", SendOfferQuoteResponse.Builder::opcRequestId)
+ .callSync();
+ }
+
+ @Override
+ public UpdateOfferQuoteResponse updateOfferQuote(UpdateOfferQuoteRequest request) {
+
+ Validate.notBlank(request.getOfferQuoteId(), "offerQuoteId must not be blank");
+ Objects.requireNonNull(
+ request.getUpdateOfferQuoteDetails(), "updateOfferQuoteDetails is required");
+
+ return clientCall(request, UpdateOfferQuoteResponse::builder)
+ .logger(LOG, "updateOfferQuote")
+ .serviceDetails("OfferQuote", "UpdateOfferQuote", "")
+ .method(com.oracle.bmc.http.client.Method.PUT)
+ .requestBuilder(UpdateOfferQuoteRequest::builder)
+ .basePath("/20220901")
+ .appendPathParam("offerQuotes")
+ .appendPathParam(request.getOfferQuoteId())
+ .accept("application/json")
+ .appendHeader("if-match", request.getIfMatch())
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .operationUsesDefaultRetries()
+ .hasBody()
+ .handleBody(
+ com.oracle.bmc.marketplaceprivateoffer.model.OfferQuote.class,
+ UpdateOfferQuoteResponse.Builder::offerQuote)
+ .handleResponseHeaderString("etag", UpdateOfferQuoteResponse.Builder::etag)
+ .handleResponseHeaderString(
+ "opc-request-id", UpdateOfferQuoteResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-work-request-id", UpdateOfferQuoteResponse.Builder::opcWorkRequestId)
+ .callSync();
+ }
+
+ @Override
+ public WithdrawOfferQuoteResponse withdrawOfferQuote(WithdrawOfferQuoteRequest request) {
+
+ Validate.notBlank(request.getOfferQuoteId(), "offerQuoteId must not be blank");
+
+ return clientCall(request, WithdrawOfferQuoteResponse::builder)
+ .logger(LOG, "withdrawOfferQuote")
+ .serviceDetails("OfferQuote", "WithdrawOfferQuote", "")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(WithdrawOfferQuoteRequest::builder)
+ .basePath("/20220901")
+ .appendPathParam("offerQuotes")
+ .appendPathParam(request.getOfferQuoteId())
+ .appendPathParam("actions")
+ .appendPathParam("withdrawOfferQuote")
+ .appendQueryParam("resellerCompartmentId", request.getResellerCompartmentId())
+ .appendQueryParam("isvCompartmentId", request.getIsvCompartmentId())
+ .accept("application/json")
+ .appendHeader("if-match", request.getIfMatch())
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .operationUsesDefaultRetries()
+ .handleResponseHeaderString(
+ "opc-work-request-id", WithdrawOfferQuoteResponse.Builder::opcWorkRequestId)
+ .handleResponseHeaderString(
+ "opc-request-id", WithdrawOfferQuoteResponse.Builder::opcRequestId)
+ .callSync();
+ }
+
+ @Override
+ public OfferQuoteWaiters getWaiters() {
+ return waiters;
+ }
+
+ @Override
+ public OfferQuotePaginators getPaginators() {
+ return paginators;
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public OfferQuoteClient(
+ com.oracle.bmc.auth.BasicAuthenticationDetailsProvider authenticationDetailsProvider) {
+ this(builder(), authenticationDetailsProvider, null);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public OfferQuoteClient(
+ com.oracle.bmc.auth.BasicAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration) {
+ this(builder().configuration(configuration), authenticationDetailsProvider, null);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public OfferQuoteClient(
+ com.oracle.bmc.auth.BasicAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator) {
+ this(
+ builder().configuration(configuration).clientConfigurator(clientConfigurator),
+ authenticationDetailsProvider,
+ null);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @param defaultRequestSignerFactory {@link Builder#requestSignerFactory}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public OfferQuoteClient(
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator,
+ com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory) {
+ this(
+ builder()
+ .configuration(configuration)
+ .clientConfigurator(clientConfigurator)
+ .requestSignerFactory(defaultRequestSignerFactory),
+ authenticationDetailsProvider,
+ null);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @param defaultRequestSignerFactory {@link Builder#requestSignerFactory}
+ * @param additionalClientConfigurators {@link Builder#additionalClientConfigurators}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public OfferQuoteClient(
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator,
+ com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory,
+ java.util.List additionalClientConfigurators) {
+ this(
+ builder()
+ .configuration(configuration)
+ .clientConfigurator(clientConfigurator)
+ .requestSignerFactory(defaultRequestSignerFactory)
+ .additionalClientConfigurators(additionalClientConfigurators),
+ authenticationDetailsProvider,
+ null);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @param defaultRequestSignerFactory {@link Builder#requestSignerFactory}
+ * @param additionalClientConfigurators {@link Builder#additionalClientConfigurators}
+ * @param endpoint {@link Builder#endpoint}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public OfferQuoteClient(
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator,
+ com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory,
+ java.util.List additionalClientConfigurators,
+ String endpoint) {
+ this(
+ builder()
+ .configuration(configuration)
+ .clientConfigurator(clientConfigurator)
+ .requestSignerFactory(defaultRequestSignerFactory)
+ .additionalClientConfigurators(additionalClientConfigurators)
+ .endpoint(endpoint),
+ authenticationDetailsProvider,
+ null);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @param defaultRequestSignerFactory {@link Builder#requestSignerFactory}
+ * @param additionalClientConfigurators {@link Builder#additionalClientConfigurators}
+ * @param endpoint {@link Builder#endpoint}
+ * @param signingStrategyRequestSignerFactories {@link
+ * Builder#signingStrategyRequestSignerFactories}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public OfferQuoteClient(
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator,
+ com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory,
+ java.util.Map<
+ com.oracle.bmc.http.signing.SigningStrategy,
+ com.oracle.bmc.http.signing.RequestSignerFactory>
+ signingStrategyRequestSignerFactories,
+ java.util.List additionalClientConfigurators,
+ String endpoint) {
+ this(
+ builder()
+ .configuration(configuration)
+ .clientConfigurator(clientConfigurator)
+ .requestSignerFactory(defaultRequestSignerFactory)
+ .additionalClientConfigurators(additionalClientConfigurators)
+ .endpoint(endpoint)
+ .signingStrategyRequestSignerFactories(
+ signingStrategyRequestSignerFactories),
+ authenticationDetailsProvider,
+ null);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @param defaultRequestSignerFactory {@link Builder#requestSignerFactory}
+ * @param additionalClientConfigurators {@link Builder#additionalClientConfigurators}
+ * @param endpoint {@link Builder#endpoint}
+ * @param signingStrategyRequestSignerFactories {@link
+ * Builder#signingStrategyRequestSignerFactories}
+ * @param executorService {@link Builder#executorService}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public OfferQuoteClient(
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator,
+ com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory,
+ java.util.Map<
+ com.oracle.bmc.http.signing.SigningStrategy,
+ com.oracle.bmc.http.signing.RequestSignerFactory>
+ signingStrategyRequestSignerFactories,
+ java.util.List additionalClientConfigurators,
+ String endpoint,
+ java.util.concurrent.ExecutorService executorService) {
+ this(
+ builder()
+ .configuration(configuration)
+ .clientConfigurator(clientConfigurator)
+ .requestSignerFactory(defaultRequestSignerFactory)
+ .additionalClientConfigurators(additionalClientConfigurators)
+ .endpoint(endpoint)
+ .signingStrategyRequestSignerFactories(
+ signingStrategyRequestSignerFactories),
+ authenticationDetailsProvider,
+ executorService);
+ }
+}
diff --git a/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/OfferQuotePaginators.java b/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/OfferQuotePaginators.java
new file mode 100644
index 00000000000..8db7cdf4cc7
--- /dev/null
+++ b/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/OfferQuotePaginators.java
@@ -0,0 +1,160 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.marketplaceprivateoffer;
+
+import com.oracle.bmc.marketplaceprivateoffer.requests.*;
+import com.oracle.bmc.marketplaceprivateoffer.responses.*;
+
+/**
+ * Collection of helper methods that can be used to provide an {@link java.lang.Iterable} interface
+ * to any list operations of OfferQuote where multiple pages of data may be fetched. Two styles of
+ * iteration are supported:
+ *
+ *
+ * - Iterating over the Response objects returned by the list operation. These are referred to
+ * as ResponseIterators, and the methods are suffixed with ResponseIterator. For example:
+ * listUsersResponseIterator
+ *
- Iterating over the resources/records being listed. These are referred to as
+ * RecordIterators, and the methods are suffixed with RecordIterator. For example:
+ * listUsersRecordIterator
+ *
+ *
+ * These iterables abstract away the need to write code to manually handle pagination via looping
+ * and using the page tokens. They will automatically fetch more data from the service when
+ * required.
+ *
+ * As an example, if we were using the ListUsers operation in IdentityService, then the {@link
+ * java.lang.Iterable} returned by calling a ResponseIterator method would iterate over the
+ * ListUsersResponse objects returned by each ListUsers call, whereas the {@link java.lang.Iterable}
+ * returned by calling a RecordIterator method would iterate over the User records and we don't have
+ * to deal with ListUsersResponse objects at all. In either case, pagination will be automatically
+ * handled so we can iterate until there are no more responses or no more resources/records
+ * available.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220901")
+public class OfferQuotePaginators {
+ private final OfferQuote client;
+
+ public OfferQuotePaginators(OfferQuote client) {
+ this.client = client;
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the responses received from the
+ * listOfferQuotes operation. This iterable will fetch more data from the server as needed.
+ *
+ * @param request a request which can be sent to the service operation
+ * @return an {@link java.lang.Iterable} which can be used to iterate over the responses
+ * received from the service.
+ */
+ public Iterable listOfferQuotesResponseIterator(
+ final ListOfferQuotesRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseIterable<
+ ListOfferQuotesRequest.Builder, ListOfferQuotesRequest, ListOfferQuotesResponse>(
+ new java.util.function.Supplier() {
+ @Override
+ public ListOfferQuotesRequest.Builder get() {
+ return ListOfferQuotesRequest.builder().copy(request);
+ }
+ },
+ new java.util.function.Function() {
+ @Override
+ public String apply(ListOfferQuotesResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListOfferQuotesRequest.Builder>,
+ ListOfferQuotesRequest>() {
+ @Override
+ public ListOfferQuotesRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListOfferQuotesRequest.Builder>
+ input) {
+ if (input.getNextPageToken() == null) {
+ return input.getRequestBuilder().build();
+ } else {
+ return input.getRequestBuilder()
+ .page(input.getNextPageToken().orElse(null))
+ .build();
+ }
+ }
+ },
+ new java.util.function.Function() {
+ @Override
+ public ListOfferQuotesResponse apply(ListOfferQuotesRequest request) {
+ return client.listOfferQuotes(request);
+ }
+ });
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the {@link
+ * com.oracle.bmc.marketplaceprivateoffer.model.OfferQuoteSummary} objects contained in
+ * responses from the listOfferQuotes operation. This iterable will fetch more data from the
+ * server as needed.
+ *
+ * @param request a request which can be sent to the service operation
+ * @return an {@link java.lang.Iterable} which can be used to iterate over the {@link
+ * com.oracle.bmc.marketplaceprivateoffer.model.OfferQuoteSummary} objects contained in
+ * responses received from the service.
+ */
+ public Iterable
+ listOfferQuotesRecordIterator(final ListOfferQuotesRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseRecordIterable<
+ ListOfferQuotesRequest.Builder,
+ ListOfferQuotesRequest,
+ ListOfferQuotesResponse,
+ com.oracle.bmc.marketplaceprivateoffer.model.OfferQuoteSummary>(
+ new java.util.function.Supplier() {
+ @Override
+ public ListOfferQuotesRequest.Builder get() {
+ return ListOfferQuotesRequest.builder().copy(request);
+ }
+ },
+ new java.util.function.Function() {
+ @Override
+ public String apply(ListOfferQuotesResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListOfferQuotesRequest.Builder>,
+ ListOfferQuotesRequest>() {
+ @Override
+ public ListOfferQuotesRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListOfferQuotesRequest.Builder>
+ input) {
+ if (input.getNextPageToken() == null) {
+ return input.getRequestBuilder().build();
+ } else {
+ return input.getRequestBuilder()
+ .page(input.getNextPageToken().orElse(null))
+ .build();
+ }
+ }
+ },
+ new java.util.function.Function() {
+ @Override
+ public ListOfferQuotesResponse apply(ListOfferQuotesRequest request) {
+ return client.listOfferQuotes(request);
+ }
+ },
+ new java.util.function.Function<
+ ListOfferQuotesResponse,
+ java.util.List<
+ com.oracle.bmc.marketplaceprivateoffer.model.OfferQuoteSummary>>() {
+ @Override
+ public java.util.List<
+ com.oracle.bmc.marketplaceprivateoffer.model.OfferQuoteSummary>
+ apply(ListOfferQuotesResponse response) {
+ return response.getOfferQuoteCollection().getItems();
+ }
+ });
+ }
+}
diff --git a/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/OfferQuoteWaiters.java b/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/OfferQuoteWaiters.java
new file mode 100644
index 00000000000..cc94e54630d
--- /dev/null
+++ b/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/OfferQuoteWaiters.java
@@ -0,0 +1,131 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.marketplaceprivateoffer;
+
+import com.oracle.bmc.marketplaceprivateoffer.requests.*;
+import com.oracle.bmc.marketplaceprivateoffer.responses.*;
+
+/**
+ * Collection of helper methods to produce {@link com.oracle.bmc.waiter.Waiter}s for different
+ * resources of OfferQuote.
+ *
+ * The default configuration used is defined by {@link
+ * com.oracle.bmc.waiter.Waiters.Waiters#DEFAULT_POLLING_WAITER}.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220901")
+public class OfferQuoteWaiters {
+ private final java.util.concurrent.ExecutorService executorService;
+ private final OfferQuote client;
+
+ public OfferQuoteWaiters(
+ java.util.concurrent.ExecutorService executorService, OfferQuote client) {
+ this.executorService = executorService;
+ this.client = client;
+ }
+
+ /**
+ * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration.
+ *
+ * @param request the request to send
+ * @param targetStates the desired states to wait for. If multiple states are provided then the
+ * waiter will return once the resource reaches any of the provided states
+ * @return a new {@code Waiter} instance
+ */
+ public com.oracle.bmc.waiter.Waiter forOfferQuote(
+ GetOfferQuoteRequest request,
+ com.oracle.bmc.marketplaceprivateoffer.model.OfferQuote.LifecycleState...
+ targetStates) {
+ com.oracle.bmc.util.internal.Validate.notEmpty(
+ targetStates, "At least one targetState must be provided");
+ com.oracle.bmc.util.internal.Validate.noNullElements(
+ targetStates, "Null targetState values are not permitted");
+
+ return forOfferQuote(
+ com.oracle.bmc.waiter.Waiters.DEFAULT_POLLING_WAITER, request, targetStates);
+ }
+
+ /**
+ * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the provided configuration.
+ *
+ * @param request the request to send
+ * @param targetState the desired state to wait for
+ * @param terminationStrategy the {@link com.oracle.bmc.waiter.TerminationStrategy} to use
+ * @param delayStrategy the {@link com.oracle.bmc.waiter.DelayStrategy} to use
+ * @return a new {@code com.oracle.bmc.waiter.Waiter} instance
+ */
+ public com.oracle.bmc.waiter.Waiter forOfferQuote(
+ GetOfferQuoteRequest request,
+ com.oracle.bmc.marketplaceprivateoffer.model.OfferQuote.LifecycleState targetState,
+ com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
+ com.oracle.bmc.waiter.DelayStrategy delayStrategy) {
+ com.oracle.bmc.util.internal.Validate.notNull(
+ targetState, "The targetState cannot be null");
+
+ return forOfferQuote(
+ com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
+ request,
+ targetState);
+ }
+
+ /**
+ * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the provided configuration.
+ *
+ * @param request the request to send
+ * @param terminationStrategy the {@link com.oracle.bmc.waiter.TerminationStrategy} to use
+ * @param delayStrategy the {@link com.oracle.bmc.waiter.DelayStrategy} to use
+ * @param targetStates the desired states to wait for. The waiter will return once the resource
+ * reaches any of the provided states
+ * @return a new {@code com.oracle.bmc.waiter.Waiter} instance
+ */
+ public com.oracle.bmc.waiter.Waiter forOfferQuote(
+ GetOfferQuoteRequest request,
+ com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
+ com.oracle.bmc.waiter.DelayStrategy delayStrategy,
+ com.oracle.bmc.marketplaceprivateoffer.model.OfferQuote.LifecycleState...
+ targetStates) {
+ com.oracle.bmc.util.internal.Validate.notEmpty(
+ targetStates, "At least one target state must be provided");
+ com.oracle.bmc.util.internal.Validate.noNullElements(
+ targetStates, "Null target states are not permitted");
+
+ return forOfferQuote(
+ com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
+ request,
+ targetStates);
+ }
+
+ // Helper method to create a new Waiter for OfferQuote.
+ private com.oracle.bmc.waiter.Waiter forOfferQuote(
+ com.oracle.bmc.waiter.BmcGenericWaiter waiter,
+ final GetOfferQuoteRequest request,
+ final com.oracle.bmc.marketplaceprivateoffer.model.OfferQuote.LifecycleState...
+ targetStates) {
+ final java.util.Set
+ targetStatesSet = new java.util.HashSet<>(java.util.Arrays.asList(targetStates));
+
+ return new com.oracle.bmc.waiter.internal.SimpleWaiterImpl<>(
+ executorService,
+ waiter.toCallable(
+ () -> request,
+ new java.util.function.Function<
+ GetOfferQuoteRequest, GetOfferQuoteResponse>() {
+ @Override
+ public GetOfferQuoteResponse apply(GetOfferQuoteRequest request) {
+ return client.getOfferQuote(request);
+ }
+ },
+ new java.util.function.Predicate() {
+ @Override
+ public boolean test(GetOfferQuoteResponse response) {
+ return targetStatesSet.contains(
+ response.getOfferQuote().getLifecycleState());
+ }
+ },
+ targetStatesSet.contains(
+ com.oracle.bmc.marketplaceprivateoffer.model.OfferQuote
+ .LifecycleState.Deleted)),
+ request);
+ }
+}
diff --git a/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/QuoteAttachment.java b/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/QuoteAttachment.java
new file mode 100644
index 00000000000..9479be55bf9
--- /dev/null
+++ b/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/QuoteAttachment.java
@@ -0,0 +1,164 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.marketplaceprivateoffer;
+
+import com.oracle.bmc.marketplaceprivateoffer.requests.*;
+import com.oracle.bmc.marketplaceprivateoffer.responses.*;
+
+/**
+ * Use the Marketplace Publisher API to manage the publishing of applications in Oracle Cloud
+ * Infrastructure Marketplace. This service client uses CircuitBreakerUtils.DEFAULT_CIRCUIT_BREAKER
+ * for all the operations by default if no circuit breaker configuration is defined by the user.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220901")
+public interface QuoteAttachment extends AutoCloseable {
+
+ /** Rebuilds the client from scratch. Useful to refresh certificates. */
+ void refreshClient();
+
+ /**
+ * Sets the endpoint to call (ex, https://www.example.com).
+ *
+ * @param endpoint The endpoint of the service.
+ */
+ void setEndpoint(String endpoint);
+
+ /** Gets the set endpoint for REST call (ex, https://www.example.com) */
+ String getEndpoint();
+
+ /**
+ * Sets the region to call (ex, Region.US_PHOENIX_1).
+ *
+ * Note, this will call {@link #setEndpoint(String) setEndpoint} after resolving the
+ * endpoint. If the service is not available in this Region, however, an
+ * IllegalArgumentException will be raised.
+ *
+ * @param region The region of the service.
+ */
+ void setRegion(com.oracle.bmc.Region region);
+
+ /**
+ * Sets the region to call (ex, 'us-phoenix-1').
+ *
+ *
Note, this will first try to map the region ID to a known Region and call {@link
+ * #setRegion(Region) setRegion}.
+ *
+ *
If no known Region could be determined, it will create an endpoint based on the default
+ * endpoint format ({@link com.oracle.bmc.Region#formatDefaultRegionEndpoint(Service, String)}
+ * and then call {@link #setEndpoint(String) setEndpoint}.
+ *
+ * @param regionId The public region ID.
+ */
+ void setRegion(String regionId);
+
+ /**
+ * Determines whether realm specific endpoint should be used or not. Set
+ * realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm
+ * specific endpoint template, otherwise set it to "false"
+ *
+ * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint
+ * template
+ */
+ void useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled);
+
+ /**
+ * Creates a new offer quote attachment.
+ *
+ * @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
+ * CreateQuoteAttachment API.
+ */
+ CreateQuoteAttachmentResponse createQuoteAttachment(CreateQuoteAttachmentRequest request);
+
+ /**
+ * Deletes an offer quote attachment resource by identifier.
+ *
+ * @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
+ * DeleteQuoteAttachment API.
+ */
+ DeleteQuoteAttachmentResponse deleteQuoteAttachment(DeleteQuoteAttachmentRequest request);
+
+ /**
+ * Gets an offer quote attachment by identifier.
+ *
+ * @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 GetQuoteAttachment
+ * API.
+ */
+ GetQuoteAttachmentResponse getQuoteAttachment(GetQuoteAttachmentRequest request);
+
+ /**
+ * Gets an offer quote attachment content by identifier.
+ *
+ * @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
+ * GetQuoteAttachmentContent API.
+ */
+ GetQuoteAttachmentContentResponse getQuoteAttachmentContent(
+ GetQuoteAttachmentContentRequest request);
+
+ /**
+ * Returns a list of offer quote attachments. Requires either a reseller compartment ID or an
+ * ISV compartment ID.
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation 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
+ * ListQuoteAttachments API.
+ */
+ ListQuoteAttachmentsResponse listQuoteAttachments(ListQuoteAttachmentsRequest request);
+
+ /**
+ * Gets the pre-configured waiters available for resources for this service.
+ *
+ * @return The service waiters.
+ */
+ QuoteAttachmentWaiters getWaiters();
+
+ /**
+ * Gets the pre-configured paginators available for list operations in this service which may
+ * return multiple pages of data. These paginators provide an {@link java.lang.Iterable}
+ * interface so that service responses, or resources/records, can be iterated through without
+ * having to manually deal with pagination and page tokens.
+ *
+ * @return The service paginators.
+ */
+ QuoteAttachmentPaginators getPaginators();
+}
diff --git a/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/QuoteAttachmentAsync.java b/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/QuoteAttachmentAsync.java
new file mode 100644
index 00000000000..9e0ab7b8cc5
--- /dev/null
+++ b/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/QuoteAttachmentAsync.java
@@ -0,0 +1,145 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.marketplaceprivateoffer;
+
+import com.oracle.bmc.marketplaceprivateoffer.requests.*;
+import com.oracle.bmc.marketplaceprivateoffer.responses.*;
+
+/**
+ * Use the Marketplace Publisher API to manage the publishing of applications in Oracle Cloud
+ * Infrastructure Marketplace.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220901")
+public interface QuoteAttachmentAsync extends AutoCloseable {
+
+ /** Rebuilds the client from scratch. Useful to refresh certificates. */
+ void refreshClient();
+
+ /**
+ * Sets the endpoint to call (ex, https://www.example.com).
+ *
+ * @param endpoint The endpoint of the serice.
+ */
+ void setEndpoint(String endpoint);
+
+ /** Gets the set endpoint for REST call (ex, https://www.example.com) */
+ String getEndpoint();
+
+ /**
+ * Sets the region to call (ex, Region.US_PHOENIX_1).
+ *
+ *
Note, this will call {@link #setEndpoint(String) setEndpoint} after resolving the
+ * endpoint. If the service is not available in this region, however, an
+ * IllegalArgumentException will be raised.
+ *
+ * @param region The region of the service.
+ */
+ void setRegion(com.oracle.bmc.Region region);
+
+ /**
+ * Sets the region to call (ex, 'us-phoenix-1').
+ *
+ *
Note, this will first try to map the region ID to a known Region and call {@link
+ * #setRegion(Region) setRegion}.
+ *
+ *
If no known Region could be determined, it will create an endpoint based on the default
+ * endpoint format ({@link com.oracle.bmc.Region#formatDefaultRegionEndpoint(Service, String)}
+ * and then call {@link #setEndpoint(String) setEndpoint}.
+ *
+ * @param regionId The public region ID.
+ */
+ void setRegion(String regionId);
+
+ /**
+ * Determines whether realm specific endpoint should be used or not. Set
+ * realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm
+ * specific endpoint template, otherwise set it to "false"
+ *
+ * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint
+ * template
+ */
+ void useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled);
+
+ /**
+ * Creates a new offer quote attachment.
+ *
+ * @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 createQuoteAttachment(
+ CreateQuoteAttachmentRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ CreateQuoteAttachmentRequest, CreateQuoteAttachmentResponse>
+ handler);
+
+ /**
+ * Deletes an offer quote attachment resource by identifier.
+ *
+ * @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 deleteQuoteAttachment(
+ DeleteQuoteAttachmentRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ DeleteQuoteAttachmentRequest, DeleteQuoteAttachmentResponse>
+ handler);
+
+ /**
+ * Gets an offer quote attachment by identifier.
+ *
+ * @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 getQuoteAttachment(
+ GetQuoteAttachmentRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ GetQuoteAttachmentRequest, GetQuoteAttachmentResponse>
+ handler);
+
+ /**
+ * Gets an offer quote attachment content by identifier.
+ *
+ * @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 getQuoteAttachmentContent(
+ GetQuoteAttachmentContentRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ GetQuoteAttachmentContentRequest, GetQuoteAttachmentContentResponse>
+ handler);
+
+ /**
+ * Returns a list of offer quote attachments. Requires either a reseller compartment ID or an
+ * ISV compartment ID.
+ *
+ * @param request The request object containing the details to send
+ * @param handler The request handler to invoke upon completion, may be null.
+ * @return A Future that can be used to get the response if no AsyncHandler was provided. Note,
+ * if you provide an AsyncHandler and use the Future, some types of responses (like
+ * java.io.InputStream) may not be able to be read in both places as the underlying stream
+ * may only be consumed once.
+ */
+ java.util.concurrent.Future listQuoteAttachments(
+ ListQuoteAttachmentsRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ ListQuoteAttachmentsRequest, ListQuoteAttachmentsResponse>
+ handler);
+}
diff --git a/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/QuoteAttachmentAsyncClient.java b/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/QuoteAttachmentAsyncClient.java
new file mode 100644
index 00000000000..31a43ae7ac3
--- /dev/null
+++ b/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/QuoteAttachmentAsyncClient.java
@@ -0,0 +1,462 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.marketplaceprivateoffer;
+
+import com.oracle.bmc.util.internal.Validate;
+import com.oracle.bmc.marketplaceprivateoffer.requests.*;
+import com.oracle.bmc.marketplaceprivateoffer.responses.*;
+
+import java.util.Objects;
+
+/**
+ * Async client implementation for QuoteAttachment service.
+ * There are two ways to use async client: 1. Use AsyncHandler: using AsyncHandler, if the response
+ * to the call is an {@link java.io.InputStream}, like getObject Api in object storage service,
+ * developers need to process the stream in AsyncHandler, and not anywhere else, because the stream
+ * will be closed right after the AsyncHandler is invoked.
+ * 2. Use Java Future: using Java Future, developers need to close the stream after they are done
+ * with the Java Future.
+ * Accessing the result should be done in a mutually exclusive manner, either through the Future or
+ * the AsyncHandler, but not both. If the Future is used, the caller should pass in null as the
+ * AsyncHandler. If the AsyncHandler is used, it is still safe to use the Future to determine
+ * whether or not the request was completed via Future.isDone/isCancelled.
+ * Please refer to
+ * https://github.com/oracle/oci-java-sdk/blob/master/bmc-examples/src/main/java/ResteasyClientWithObjectStorageExample.java
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220901")
+public class QuoteAttachmentAsyncClient extends com.oracle.bmc.http.internal.BaseAsyncClient
+ implements QuoteAttachmentAsync {
+ /** Service instance for QuoteAttachment. */
+ public static final com.oracle.bmc.Service SERVICE =
+ com.oracle.bmc.Services.serviceBuilder()
+ .serviceName(QuoteAttachmentClient.class.getName())
+ .serviceEndpointPrefix("")
+ .serviceEndpointTemplate(
+ "https://private-offer.{region}.oci.{secondLevelDomain}")
+ .build();
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(QuoteAttachmentAsyncClient.class);
+
+ QuoteAttachmentAsyncClient(
+ com.oracle.bmc.common.ClientBuilderBase, ?> builder,
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider
+ authenticationDetailsProvider) {
+ this(builder, authenticationDetailsProvider, true);
+ }
+
+ QuoteAttachmentAsyncClient(
+ com.oracle.bmc.common.ClientBuilderBase, ?> builder,
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
+ boolean isStreamWarningEnabled) {
+ super(builder, authenticationDetailsProvider);
+
+ if (isStreamWarningEnabled && com.oracle.bmc.util.StreamUtils.isExtraStreamLogsEnabled()) {
+ LOG.warn(
+ com.oracle.bmc.util.StreamUtils.getStreamWarningMessage(
+ "QuoteAttachmentAsyncClient", "getQuoteAttachmentContent"));
+ }
+ }
+
+ /**
+ * Create a builder for this client.
+ *
+ * @return builder
+ */
+ public static Builder builder() {
+ return new Builder(SERVICE);
+ }
+
+ /**
+ * Builder class for this client. The "authenticationDetailsProvider" is required and must be
+ * passed to the {@link #build(AbstractAuthenticationDetailsProvider)} method.
+ */
+ public static class Builder
+ extends com.oracle.bmc.common.RegionalClientBuilder<
+ Builder, QuoteAttachmentAsyncClient> {
+ private boolean isStreamWarningEnabled = true;
+
+ private Builder(com.oracle.bmc.Service service) {
+ super(service);
+ final String packageName = "marketplaceprivateoffer";
+ com.oracle.bmc.internal.DeveloperToolConfiguration
+ .throwDisabledServiceExceptionIfAppropriate(packageName);
+ requestSignerFactory =
+ new com.oracle.bmc.http.signing.internal.DefaultRequestSignerFactory(
+ com.oracle.bmc.http.signing.SigningStrategy.STANDARD);
+ }
+
+ /**
+ * Enable/disable the stream warnings for the client
+ *
+ * @param isStreamWarningEnabled executorService
+ * @return this builder
+ */
+ public Builder isStreamWarningEnabled(boolean isStreamWarningEnabled) {
+ this.isStreamWarningEnabled = isStreamWarningEnabled;
+ return this;
+ }
+
+ /**
+ * Build the client.
+ *
+ * @param authenticationDetailsProvider authentication details provider
+ * @return the client
+ */
+ public QuoteAttachmentAsyncClient build(
+ @jakarta.annotation.Nonnull
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider
+ authenticationDetailsProvider) {
+ return new QuoteAttachmentAsyncClient(
+ this, authenticationDetailsProvider, isStreamWarningEnabled);
+ }
+ }
+
+ @Override
+ public void setRegion(com.oracle.bmc.Region region) {
+ super.setRegion(region);
+ }
+
+ @Override
+ public void setRegion(String regionId) {
+ super.setRegion(regionId);
+ }
+
+ @Override
+ public java.util.concurrent.Future createQuoteAttachment(
+ CreateQuoteAttachmentRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ CreateQuoteAttachmentRequest, CreateQuoteAttachmentResponse>
+ handler) {
+
+ Validate.notBlank(request.getOfferQuoteId(), "offerQuoteId must not be blank");
+ Objects.requireNonNull(
+ request.getCreateQuoteAttachmentDetails(),
+ "createQuoteAttachmentDetails is required");
+
+ return clientCall(request, CreateQuoteAttachmentResponse::builder)
+ .logger(LOG, "createQuoteAttachment")
+ .serviceDetails("QuoteAttachment", "CreateQuoteAttachment", "")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(CreateQuoteAttachmentRequest::builder)
+ .basePath("/20220901")
+ .appendPathParam("offerQuotes")
+ .appendPathParam(request.getOfferQuoteId())
+ .appendPathParam("quoteAttachments")
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .hasBody()
+ .handleBody(
+ com.oracle.bmc.marketplaceprivateoffer.model.QuoteAttachment.class,
+ CreateQuoteAttachmentResponse.Builder::quoteAttachment)
+ .handleResponseHeaderString("etag", CreateQuoteAttachmentResponse.Builder::etag)
+ .handleResponseHeaderString(
+ "opc-request-id", CreateQuoteAttachmentResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "location", CreateQuoteAttachmentResponse.Builder::location)
+ .handleResponseHeaderString(
+ "content-location", CreateQuoteAttachmentResponse.Builder::contentLocation)
+ .handleResponseHeaderString(
+ "opc-work-request-id",
+ CreateQuoteAttachmentResponse.Builder::opcWorkRequestId)
+ .callAsync(handler);
+ }
+
+ @Override
+ public java.util.concurrent.Future deleteQuoteAttachment(
+ DeleteQuoteAttachmentRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ DeleteQuoteAttachmentRequest, DeleteQuoteAttachmentResponse>
+ handler) {
+
+ Validate.notBlank(request.getOfferQuoteId(), "offerQuoteId must not be blank");
+
+ Validate.notBlank(request.getQuoteAttachmentId(), "quoteAttachmentId must not be blank");
+
+ return clientCall(request, DeleteQuoteAttachmentResponse::builder)
+ .logger(LOG, "deleteQuoteAttachment")
+ .serviceDetails("QuoteAttachment", "DeleteQuoteAttachment", "")
+ .method(com.oracle.bmc.http.client.Method.DELETE)
+ .requestBuilder(DeleteQuoteAttachmentRequest::builder)
+ .basePath("/20220901")
+ .appendPathParam("offerQuotes")
+ .appendPathParam(request.getOfferQuoteId())
+ .appendPathParam("quoteAttachments")
+ .appendPathParam(request.getQuoteAttachmentId())
+ .accept("application/json")
+ .appendHeader("if-match", request.getIfMatch())
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleResponseHeaderString(
+ "opc-work-request-id",
+ DeleteQuoteAttachmentResponse.Builder::opcWorkRequestId)
+ .handleResponseHeaderString(
+ "opc-request-id", DeleteQuoteAttachmentResponse.Builder::opcRequestId)
+ .callAsync(handler);
+ }
+
+ @Override
+ public java.util.concurrent.Future getQuoteAttachment(
+ GetQuoteAttachmentRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ GetQuoteAttachmentRequest, GetQuoteAttachmentResponse>
+ handler) {
+
+ Validate.notBlank(request.getOfferQuoteId(), "offerQuoteId must not be blank");
+
+ Validate.notBlank(request.getQuoteAttachmentId(), "quoteAttachmentId must not be blank");
+
+ return clientCall(request, GetQuoteAttachmentResponse::builder)
+ .logger(LOG, "getQuoteAttachment")
+ .serviceDetails("QuoteAttachment", "GetQuoteAttachment", "")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(GetQuoteAttachmentRequest::builder)
+ .basePath("/20220901")
+ .appendPathParam("offerQuotes")
+ .appendPathParam(request.getOfferQuoteId())
+ .appendPathParam("quoteAttachments")
+ .appendPathParam(request.getQuoteAttachmentId())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleBody(
+ com.oracle.bmc.marketplaceprivateoffer.model.QuoteAttachment.class,
+ GetQuoteAttachmentResponse.Builder::quoteAttachment)
+ .handleResponseHeaderString("etag", GetQuoteAttachmentResponse.Builder::etag)
+ .handleResponseHeaderString(
+ "opc-request-id", GetQuoteAttachmentResponse.Builder::opcRequestId)
+ .callAsync(handler);
+ }
+
+ @Override
+ public java.util.concurrent.Future getQuoteAttachmentContent(
+ GetQuoteAttachmentContentRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ GetQuoteAttachmentContentRequest, GetQuoteAttachmentContentResponse>
+ handler) {
+
+ Validate.notBlank(request.getOfferQuoteId(), "offerQuoteId must not be blank");
+
+ Validate.notBlank(request.getQuoteAttachmentId(), "quoteAttachmentId must not be blank");
+
+ return clientCall(request, GetQuoteAttachmentContentResponse::builder)
+ .logger(LOG, "getQuoteAttachmentContent")
+ .serviceDetails("QuoteAttachment", "GetQuoteAttachmentContent", "")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(GetQuoteAttachmentContentRequest::builder)
+ .basePath("/20220901")
+ .appendPathParam("offerQuotes")
+ .appendPathParam(request.getOfferQuoteId())
+ .appendPathParam("quoteAttachments")
+ .appendPathParam(request.getQuoteAttachmentId())
+ .appendPathParam("content")
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleBody(
+ java.io.InputStream.class,
+ GetQuoteAttachmentContentResponse.Builder::inputStream)
+ .handleResponseHeaderString(
+ "opc-request-id", GetQuoteAttachmentContentResponse.Builder::opcRequestId)
+ .callAsync(handler);
+ }
+
+ @Override
+ public java.util.concurrent.Future listQuoteAttachments(
+ ListQuoteAttachmentsRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ ListQuoteAttachmentsRequest, ListQuoteAttachmentsResponse>
+ handler) {
+
+ Validate.notBlank(request.getOfferQuoteId(), "offerQuoteId must not be blank");
+
+ return clientCall(request, ListQuoteAttachmentsResponse::builder)
+ .logger(LOG, "listQuoteAttachments")
+ .serviceDetails("QuoteAttachment", "ListQuoteAttachments", "")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(ListQuoteAttachmentsRequest::builder)
+ .basePath("/20220901")
+ .appendPathParam("offerQuotes")
+ .appendPathParam(request.getOfferQuoteId())
+ .appendPathParam("quoteAttachments")
+ .appendQueryParam("resellerCompartmentId", request.getResellerCompartmentId())
+ .appendQueryParam("isvCompartmentId", request.getIsvCompartmentId())
+ .appendEnumQueryParam("lifecycleState", request.getLifecycleState())
+ .appendQueryParam("displayName", request.getDisplayName())
+ .appendQueryParam("id", request.getId())
+ .appendQueryParam("limit", request.getLimit())
+ .appendQueryParam("page", request.getPage())
+ .appendEnumQueryParam("sortOrder", request.getSortOrder())
+ .appendEnumQueryParam("sortBy", request.getSortBy())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleBody(
+ com.oracle.bmc.marketplaceprivateoffer.model.QuoteAttachmentCollection
+ .class,
+ ListQuoteAttachmentsResponse.Builder::quoteAttachmentCollection)
+ .handleResponseHeaderString(
+ "opc-request-id", ListQuoteAttachmentsResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-next-page", ListQuoteAttachmentsResponse.Builder::opcNextPage)
+ .callAsync(handler);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public QuoteAttachmentAsyncClient(
+ com.oracle.bmc.auth.BasicAuthenticationDetailsProvider authenticationDetailsProvider) {
+ this(builder(), authenticationDetailsProvider);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public QuoteAttachmentAsyncClient(
+ com.oracle.bmc.auth.BasicAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration) {
+ this(builder().configuration(configuration), authenticationDetailsProvider);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public QuoteAttachmentAsyncClient(
+ com.oracle.bmc.auth.BasicAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator) {
+ this(
+ builder().configuration(configuration).clientConfigurator(clientConfigurator),
+ authenticationDetailsProvider);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @param defaultRequestSignerFactory {@link Builder#requestSignerFactory}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public QuoteAttachmentAsyncClient(
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator,
+ com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory) {
+ this(
+ builder()
+ .configuration(configuration)
+ .clientConfigurator(clientConfigurator)
+ .requestSignerFactory(defaultRequestSignerFactory),
+ authenticationDetailsProvider);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @param defaultRequestSignerFactory {@link Builder#requestSignerFactory}
+ * @param additionalClientConfigurators {@link Builder#additionalClientConfigurators}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public QuoteAttachmentAsyncClient(
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator,
+ com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory,
+ java.util.List additionalClientConfigurators) {
+ this(
+ builder()
+ .configuration(configuration)
+ .clientConfigurator(clientConfigurator)
+ .requestSignerFactory(defaultRequestSignerFactory)
+ .additionalClientConfigurators(additionalClientConfigurators),
+ authenticationDetailsProvider);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @param defaultRequestSignerFactory {@link Builder#requestSignerFactory}
+ * @param additionalClientConfigurators {@link Builder#additionalClientConfigurators}
+ * @param endpoint {@link Builder#endpoint}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public QuoteAttachmentAsyncClient(
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator,
+ com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory,
+ java.util.List additionalClientConfigurators,
+ String endpoint) {
+ this(
+ builder()
+ .configuration(configuration)
+ .clientConfigurator(clientConfigurator)
+ .requestSignerFactory(defaultRequestSignerFactory)
+ .additionalClientConfigurators(additionalClientConfigurators)
+ .endpoint(endpoint),
+ authenticationDetailsProvider);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @param defaultRequestSignerFactory {@link Builder#requestSignerFactory}
+ * @param additionalClientConfigurators {@link Builder#additionalClientConfigurators}
+ * @param endpoint {@link Builder#endpoint}
+ * @param signingStrategyRequestSignerFactories {@link
+ * Builder#signingStrategyRequestSignerFactories}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public QuoteAttachmentAsyncClient(
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator,
+ com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory,
+ java.util.Map<
+ com.oracle.bmc.http.signing.SigningStrategy,
+ com.oracle.bmc.http.signing.RequestSignerFactory>
+ signingStrategyRequestSignerFactories,
+ java.util.List additionalClientConfigurators,
+ String endpoint) {
+ this(
+ builder()
+ .configuration(configuration)
+ .clientConfigurator(clientConfigurator)
+ .requestSignerFactory(defaultRequestSignerFactory)
+ .additionalClientConfigurators(additionalClientConfigurators)
+ .endpoint(endpoint)
+ .signingStrategyRequestSignerFactories(
+ signingStrategyRequestSignerFactories),
+ authenticationDetailsProvider);
+ }
+}
diff --git a/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/QuoteAttachmentClient.java b/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/QuoteAttachmentClient.java
new file mode 100644
index 00000000000..9ecef8c4f74
--- /dev/null
+++ b/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/QuoteAttachmentClient.java
@@ -0,0 +1,531 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.marketplaceprivateoffer;
+
+import com.oracle.bmc.util.internal.Validate;
+import com.oracle.bmc.marketplaceprivateoffer.requests.*;
+import com.oracle.bmc.marketplaceprivateoffer.responses.*;
+import com.oracle.bmc.circuitbreaker.CircuitBreakerConfiguration;
+import com.oracle.bmc.util.CircuitBreakerUtils;
+
+import java.util.Objects;
+
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220901")
+public class QuoteAttachmentClient extends com.oracle.bmc.http.internal.BaseSyncClient
+ implements QuoteAttachment {
+ /** Service instance for QuoteAttachment. */
+ public static final com.oracle.bmc.Service SERVICE =
+ com.oracle.bmc.Services.serviceBuilder()
+ .serviceName(QuoteAttachmentClient.class.getName())
+ .serviceEndpointPrefix("")
+ .serviceEndpointTemplate(
+ "https://private-offer.{region}.oci.{secondLevelDomain}")
+ .build();
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(QuoteAttachmentClient.class);
+
+ private final QuoteAttachmentWaiters waiters;
+
+ private final QuoteAttachmentPaginators paginators;
+
+ QuoteAttachmentClient(
+ com.oracle.bmc.common.ClientBuilderBase, ?> builder,
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
+ java.util.concurrent.ExecutorService executorService) {
+ this(builder, authenticationDetailsProvider, executorService, true);
+ }
+
+ QuoteAttachmentClient(
+ com.oracle.bmc.common.ClientBuilderBase, ?> builder,
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
+ java.util.concurrent.ExecutorService executorService,
+ boolean isStreamWarningEnabled) {
+ super(
+ builder,
+ authenticationDetailsProvider,
+ CircuitBreakerUtils.DEFAULT_CIRCUIT_BREAKER_CONFIGURATION);
+
+ if (executorService == null) {
+ // up to 50 (core) threads, time out after 60s idle, all daemon
+ java.util.concurrent.ThreadPoolExecutor threadPoolExecutor =
+ new java.util.concurrent.ThreadPoolExecutor(
+ 50,
+ 50,
+ 60L,
+ java.util.concurrent.TimeUnit.SECONDS,
+ new java.util.concurrent.LinkedBlockingQueue(),
+ com.oracle.bmc.internal.ClientThreadFactory.builder()
+ .isDaemon(true)
+ .nameFormat("QuoteAttachment-waiters-%d")
+ .build());
+ threadPoolExecutor.allowCoreThreadTimeOut(true);
+
+ executorService = threadPoolExecutor;
+ }
+ this.waiters = new QuoteAttachmentWaiters(executorService, this);
+
+ this.paginators = new QuoteAttachmentPaginators(this);
+ if (isStreamWarningEnabled && com.oracle.bmc.util.StreamUtils.isExtraStreamLogsEnabled()) {
+ LOG.warn(
+ com.oracle.bmc.util.StreamUtils.getStreamWarningMessage(
+ "QuoteAttachmentClient", "getQuoteAttachmentContent"));
+ }
+ }
+
+ /**
+ * Create a builder for this client.
+ *
+ * @return builder
+ */
+ public static Builder builder() {
+ return new Builder(SERVICE);
+ }
+
+ /**
+ * Builder class for this client. The "authenticationDetailsProvider" is required and must be
+ * passed to the {@link #build(AbstractAuthenticationDetailsProvider)} method.
+ */
+ public static class Builder
+ extends com.oracle.bmc.common.RegionalClientBuilder {
+ private boolean isStreamWarningEnabled = true;
+ private java.util.concurrent.ExecutorService executorService;
+
+ private Builder(com.oracle.bmc.Service service) {
+ super(service);
+ final String packageName = "marketplaceprivateoffer";
+ com.oracle.bmc.internal.DeveloperToolConfiguration
+ .throwDisabledServiceExceptionIfAppropriate(packageName);
+ requestSignerFactory =
+ new com.oracle.bmc.http.signing.internal.DefaultRequestSignerFactory(
+ com.oracle.bmc.http.signing.SigningStrategy.STANDARD);
+ }
+
+ /**
+ * Set the ExecutorService for the client to be created.
+ *
+ * @param executorService executorService
+ * @return this builder
+ */
+ public Builder executorService(java.util.concurrent.ExecutorService executorService) {
+ this.executorService = executorService;
+ return this;
+ }
+
+ /**
+ * Enable/disable the stream warnings for the client
+ *
+ * @param isStreamWarningEnabled executorService
+ * @return this builder
+ */
+ public Builder isStreamWarningEnabled(boolean isStreamWarningEnabled) {
+ this.isStreamWarningEnabled = isStreamWarningEnabled;
+ return this;
+ }
+
+ /**
+ * Build the client.
+ *
+ * @param authenticationDetailsProvider authentication details provider
+ * @return the client
+ */
+ public QuoteAttachmentClient build(
+ @jakarta.annotation.Nonnull
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider
+ authenticationDetailsProvider) {
+ return new QuoteAttachmentClient(
+ this, authenticationDetailsProvider, executorService, isStreamWarningEnabled);
+ }
+ }
+
+ @Override
+ public void setRegion(com.oracle.bmc.Region region) {
+ super.setRegion(region);
+ }
+
+ @Override
+ public void setRegion(String regionId) {
+ super.setRegion(regionId);
+ }
+
+ @Override
+ public CreateQuoteAttachmentResponse createQuoteAttachment(
+ CreateQuoteAttachmentRequest request) {
+
+ Validate.notBlank(request.getOfferQuoteId(), "offerQuoteId must not be blank");
+ Objects.requireNonNull(
+ request.getCreateQuoteAttachmentDetails(),
+ "createQuoteAttachmentDetails is required");
+
+ return clientCall(request, CreateQuoteAttachmentResponse::builder)
+ .logger(LOG, "createQuoteAttachment")
+ .serviceDetails("QuoteAttachment", "CreateQuoteAttachment", "")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(CreateQuoteAttachmentRequest::builder)
+ .basePath("/20220901")
+ .appendPathParam("offerQuotes")
+ .appendPathParam(request.getOfferQuoteId())
+ .appendPathParam("quoteAttachments")
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .operationUsesDefaultRetries()
+ .hasBody()
+ .handleBody(
+ com.oracle.bmc.marketplaceprivateoffer.model.QuoteAttachment.class,
+ CreateQuoteAttachmentResponse.Builder::quoteAttachment)
+ .handleResponseHeaderString("etag", CreateQuoteAttachmentResponse.Builder::etag)
+ .handleResponseHeaderString(
+ "opc-request-id", CreateQuoteAttachmentResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "location", CreateQuoteAttachmentResponse.Builder::location)
+ .handleResponseHeaderString(
+ "content-location", CreateQuoteAttachmentResponse.Builder::contentLocation)
+ .handleResponseHeaderString(
+ "opc-work-request-id",
+ CreateQuoteAttachmentResponse.Builder::opcWorkRequestId)
+ .callSync();
+ }
+
+ @Override
+ public DeleteQuoteAttachmentResponse deleteQuoteAttachment(
+ DeleteQuoteAttachmentRequest request) {
+
+ Validate.notBlank(request.getOfferQuoteId(), "offerQuoteId must not be blank");
+
+ Validate.notBlank(request.getQuoteAttachmentId(), "quoteAttachmentId must not be blank");
+
+ return clientCall(request, DeleteQuoteAttachmentResponse::builder)
+ .logger(LOG, "deleteQuoteAttachment")
+ .serviceDetails("QuoteAttachment", "DeleteQuoteAttachment", "")
+ .method(com.oracle.bmc.http.client.Method.DELETE)
+ .requestBuilder(DeleteQuoteAttachmentRequest::builder)
+ .basePath("/20220901")
+ .appendPathParam("offerQuotes")
+ .appendPathParam(request.getOfferQuoteId())
+ .appendPathParam("quoteAttachments")
+ .appendPathParam(request.getQuoteAttachmentId())
+ .accept("application/json")
+ .appendHeader("if-match", request.getIfMatch())
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .operationUsesDefaultRetries()
+ .handleResponseHeaderString(
+ "opc-work-request-id",
+ DeleteQuoteAttachmentResponse.Builder::opcWorkRequestId)
+ .handleResponseHeaderString(
+ "opc-request-id", DeleteQuoteAttachmentResponse.Builder::opcRequestId)
+ .callSync();
+ }
+
+ @Override
+ public GetQuoteAttachmentResponse getQuoteAttachment(GetQuoteAttachmentRequest request) {
+
+ Validate.notBlank(request.getOfferQuoteId(), "offerQuoteId must not be blank");
+
+ Validate.notBlank(request.getQuoteAttachmentId(), "quoteAttachmentId must not be blank");
+
+ return clientCall(request, GetQuoteAttachmentResponse::builder)
+ .logger(LOG, "getQuoteAttachment")
+ .serviceDetails("QuoteAttachment", "GetQuoteAttachment", "")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(GetQuoteAttachmentRequest::builder)
+ .basePath("/20220901")
+ .appendPathParam("offerQuotes")
+ .appendPathParam(request.getOfferQuoteId())
+ .appendPathParam("quoteAttachments")
+ .appendPathParam(request.getQuoteAttachmentId())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .operationUsesDefaultRetries()
+ .handleBody(
+ com.oracle.bmc.marketplaceprivateoffer.model.QuoteAttachment.class,
+ GetQuoteAttachmentResponse.Builder::quoteAttachment)
+ .handleResponseHeaderString("etag", GetQuoteAttachmentResponse.Builder::etag)
+ .handleResponseHeaderString(
+ "opc-request-id", GetQuoteAttachmentResponse.Builder::opcRequestId)
+ .callSync();
+ }
+
+ @Override
+ public GetQuoteAttachmentContentResponse getQuoteAttachmentContent(
+ GetQuoteAttachmentContentRequest request) {
+
+ Validate.notBlank(request.getOfferQuoteId(), "offerQuoteId must not be blank");
+
+ Validate.notBlank(request.getQuoteAttachmentId(), "quoteAttachmentId must not be blank");
+
+ return clientCall(request, GetQuoteAttachmentContentResponse::builder)
+ .logger(LOG, "getQuoteAttachmentContent")
+ .serviceDetails("QuoteAttachment", "GetQuoteAttachmentContent", "")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(GetQuoteAttachmentContentRequest::builder)
+ .basePath("/20220901")
+ .appendPathParam("offerQuotes")
+ .appendPathParam(request.getOfferQuoteId())
+ .appendPathParam("quoteAttachments")
+ .appendPathParam(request.getQuoteAttachmentId())
+ .appendPathParam("content")
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .operationUsesDefaultRetries()
+ .handleBody(
+ java.io.InputStream.class,
+ GetQuoteAttachmentContentResponse.Builder::inputStream)
+ .handleResponseHeaderString(
+ "opc-request-id", GetQuoteAttachmentContentResponse.Builder::opcRequestId)
+ .callSync();
+ }
+
+ @Override
+ public ListQuoteAttachmentsResponse listQuoteAttachments(ListQuoteAttachmentsRequest request) {
+
+ Validate.notBlank(request.getOfferQuoteId(), "offerQuoteId must not be blank");
+
+ return clientCall(request, ListQuoteAttachmentsResponse::builder)
+ .logger(LOG, "listQuoteAttachments")
+ .serviceDetails("QuoteAttachment", "ListQuoteAttachments", "")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(ListQuoteAttachmentsRequest::builder)
+ .basePath("/20220901")
+ .appendPathParam("offerQuotes")
+ .appendPathParam(request.getOfferQuoteId())
+ .appendPathParam("quoteAttachments")
+ .appendQueryParam("resellerCompartmentId", request.getResellerCompartmentId())
+ .appendQueryParam("isvCompartmentId", request.getIsvCompartmentId())
+ .appendEnumQueryParam("lifecycleState", request.getLifecycleState())
+ .appendQueryParam("displayName", request.getDisplayName())
+ .appendQueryParam("id", request.getId())
+ .appendQueryParam("limit", request.getLimit())
+ .appendQueryParam("page", request.getPage())
+ .appendEnumQueryParam("sortOrder", request.getSortOrder())
+ .appendEnumQueryParam("sortBy", request.getSortBy())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .operationUsesDefaultRetries()
+ .handleBody(
+ com.oracle.bmc.marketplaceprivateoffer.model.QuoteAttachmentCollection
+ .class,
+ ListQuoteAttachmentsResponse.Builder::quoteAttachmentCollection)
+ .handleResponseHeaderString(
+ "opc-request-id", ListQuoteAttachmentsResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-next-page", ListQuoteAttachmentsResponse.Builder::opcNextPage)
+ .callSync();
+ }
+
+ @Override
+ public QuoteAttachmentWaiters getWaiters() {
+ return waiters;
+ }
+
+ @Override
+ public QuoteAttachmentPaginators getPaginators() {
+ return paginators;
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public QuoteAttachmentClient(
+ com.oracle.bmc.auth.BasicAuthenticationDetailsProvider authenticationDetailsProvider) {
+ this(builder(), authenticationDetailsProvider, null);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public QuoteAttachmentClient(
+ com.oracle.bmc.auth.BasicAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration) {
+ this(builder().configuration(configuration), authenticationDetailsProvider, null);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public QuoteAttachmentClient(
+ com.oracle.bmc.auth.BasicAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator) {
+ this(
+ builder().configuration(configuration).clientConfigurator(clientConfigurator),
+ authenticationDetailsProvider,
+ null);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @param defaultRequestSignerFactory {@link Builder#requestSignerFactory}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public QuoteAttachmentClient(
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator,
+ com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory) {
+ this(
+ builder()
+ .configuration(configuration)
+ .clientConfigurator(clientConfigurator)
+ .requestSignerFactory(defaultRequestSignerFactory),
+ authenticationDetailsProvider,
+ null);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @param defaultRequestSignerFactory {@link Builder#requestSignerFactory}
+ * @param additionalClientConfigurators {@link Builder#additionalClientConfigurators}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public QuoteAttachmentClient(
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator,
+ com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory,
+ java.util.List additionalClientConfigurators) {
+ this(
+ builder()
+ .configuration(configuration)
+ .clientConfigurator(clientConfigurator)
+ .requestSignerFactory(defaultRequestSignerFactory)
+ .additionalClientConfigurators(additionalClientConfigurators),
+ authenticationDetailsProvider,
+ null);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @param defaultRequestSignerFactory {@link Builder#requestSignerFactory}
+ * @param additionalClientConfigurators {@link Builder#additionalClientConfigurators}
+ * @param endpoint {@link Builder#endpoint}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public QuoteAttachmentClient(
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator,
+ com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory,
+ java.util.List additionalClientConfigurators,
+ String endpoint) {
+ this(
+ builder()
+ .configuration(configuration)
+ .clientConfigurator(clientConfigurator)
+ .requestSignerFactory(defaultRequestSignerFactory)
+ .additionalClientConfigurators(additionalClientConfigurators)
+ .endpoint(endpoint),
+ authenticationDetailsProvider,
+ null);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @param defaultRequestSignerFactory {@link Builder#requestSignerFactory}
+ * @param additionalClientConfigurators {@link Builder#additionalClientConfigurators}
+ * @param endpoint {@link Builder#endpoint}
+ * @param signingStrategyRequestSignerFactories {@link
+ * Builder#signingStrategyRequestSignerFactories}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public QuoteAttachmentClient(
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator,
+ com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory,
+ java.util.Map<
+ com.oracle.bmc.http.signing.SigningStrategy,
+ com.oracle.bmc.http.signing.RequestSignerFactory>
+ signingStrategyRequestSignerFactories,
+ java.util.List additionalClientConfigurators,
+ String endpoint) {
+ this(
+ builder()
+ .configuration(configuration)
+ .clientConfigurator(clientConfigurator)
+ .requestSignerFactory(defaultRequestSignerFactory)
+ .additionalClientConfigurators(additionalClientConfigurators)
+ .endpoint(endpoint)
+ .signingStrategyRequestSignerFactories(
+ signingStrategyRequestSignerFactories),
+ authenticationDetailsProvider,
+ null);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @param defaultRequestSignerFactory {@link Builder#requestSignerFactory}
+ * @param additionalClientConfigurators {@link Builder#additionalClientConfigurators}
+ * @param endpoint {@link Builder#endpoint}
+ * @param signingStrategyRequestSignerFactories {@link
+ * Builder#signingStrategyRequestSignerFactories}
+ * @param executorService {@link Builder#executorService}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public QuoteAttachmentClient(
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator,
+ com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory,
+ java.util.Map<
+ com.oracle.bmc.http.signing.SigningStrategy,
+ com.oracle.bmc.http.signing.RequestSignerFactory>
+ signingStrategyRequestSignerFactories,
+ java.util.List additionalClientConfigurators,
+ String endpoint,
+ java.util.concurrent.ExecutorService executorService) {
+ this(
+ builder()
+ .configuration(configuration)
+ .clientConfigurator(clientConfigurator)
+ .requestSignerFactory(defaultRequestSignerFactory)
+ .additionalClientConfigurators(additionalClientConfigurators)
+ .endpoint(endpoint)
+ .signingStrategyRequestSignerFactories(
+ signingStrategyRequestSignerFactories),
+ authenticationDetailsProvider,
+ executorService);
+ }
+}
diff --git a/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/QuoteAttachmentPaginators.java b/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/QuoteAttachmentPaginators.java
new file mode 100644
index 00000000000..163873d387f
--- /dev/null
+++ b/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/QuoteAttachmentPaginators.java
@@ -0,0 +1,166 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.marketplaceprivateoffer;
+
+import com.oracle.bmc.marketplaceprivateoffer.requests.*;
+import com.oracle.bmc.marketplaceprivateoffer.responses.*;
+
+/**
+ * Collection of helper methods that can be used to provide an {@link java.lang.Iterable} interface
+ * to any list operations of QuoteAttachment where multiple pages of data may be fetched. Two styles
+ * of iteration are supported:
+ *
+ *
+ * - Iterating over the Response objects returned by the list operation. These are referred to
+ * as ResponseIterators, and the methods are suffixed with ResponseIterator. For example:
+ * listUsersResponseIterator
+ *
- Iterating over the resources/records being listed. These are referred to as
+ * RecordIterators, and the methods are suffixed with RecordIterator. For example:
+ * listUsersRecordIterator
+ *
+ *
+ * These iterables abstract away the need to write code to manually handle pagination via looping
+ * and using the page tokens. They will automatically fetch more data from the service when
+ * required.
+ *
+ * As an example, if we were using the ListUsers operation in IdentityService, then the {@link
+ * java.lang.Iterable} returned by calling a ResponseIterator method would iterate over the
+ * ListUsersResponse objects returned by each ListUsers call, whereas the {@link java.lang.Iterable}
+ * returned by calling a RecordIterator method would iterate over the User records and we don't have
+ * to deal with ListUsersResponse objects at all. In either case, pagination will be automatically
+ * handled so we can iterate until there are no more responses or no more resources/records
+ * available.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220901")
+public class QuoteAttachmentPaginators {
+ private final QuoteAttachment client;
+
+ public QuoteAttachmentPaginators(QuoteAttachment client) {
+ this.client = client;
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the responses received from the
+ * listQuoteAttachments operation. This iterable will fetch more data from the server as needed.
+ *
+ * @param request a request which can be sent to the service operation
+ * @return an {@link java.lang.Iterable} which can be used to iterate over the responses
+ * received from the service.
+ */
+ public Iterable listQuoteAttachmentsResponseIterator(
+ final ListQuoteAttachmentsRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseIterable<
+ ListQuoteAttachmentsRequest.Builder,
+ ListQuoteAttachmentsRequest,
+ ListQuoteAttachmentsResponse>(
+ new java.util.function.Supplier() {
+ @Override
+ public ListQuoteAttachmentsRequest.Builder get() {
+ return ListQuoteAttachmentsRequest.builder().copy(request);
+ }
+ },
+ new java.util.function.Function() {
+ @Override
+ public String apply(ListQuoteAttachmentsResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListQuoteAttachmentsRequest.Builder>,
+ ListQuoteAttachmentsRequest>() {
+ @Override
+ public ListQuoteAttachmentsRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListQuoteAttachmentsRequest.Builder>
+ input) {
+ if (input.getNextPageToken() == null) {
+ return input.getRequestBuilder().build();
+ } else {
+ return input.getRequestBuilder()
+ .page(input.getNextPageToken().orElse(null))
+ .build();
+ }
+ }
+ },
+ new java.util.function.Function<
+ ListQuoteAttachmentsRequest, ListQuoteAttachmentsResponse>() {
+ @Override
+ public ListQuoteAttachmentsResponse apply(ListQuoteAttachmentsRequest request) {
+ return client.listQuoteAttachments(request);
+ }
+ });
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the {@link
+ * com.oracle.bmc.marketplaceprivateoffer.model.QuoteAttachmentSummary} objects contained in
+ * responses from the listQuoteAttachments operation. This iterable will fetch more data from
+ * the server as needed.
+ *
+ * @param request a request which can be sent to the service operation
+ * @return an {@link java.lang.Iterable} which can be used to iterate over the {@link
+ * com.oracle.bmc.marketplaceprivateoffer.model.QuoteAttachmentSummary} objects contained in
+ * responses received from the service.
+ */
+ public Iterable
+ listQuoteAttachmentsRecordIterator(final ListQuoteAttachmentsRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseRecordIterable<
+ ListQuoteAttachmentsRequest.Builder,
+ ListQuoteAttachmentsRequest,
+ ListQuoteAttachmentsResponse,
+ com.oracle.bmc.marketplaceprivateoffer.model.QuoteAttachmentSummary>(
+ new java.util.function.Supplier() {
+ @Override
+ public ListQuoteAttachmentsRequest.Builder get() {
+ return ListQuoteAttachmentsRequest.builder().copy(request);
+ }
+ },
+ new java.util.function.Function() {
+ @Override
+ public String apply(ListQuoteAttachmentsResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListQuoteAttachmentsRequest.Builder>,
+ ListQuoteAttachmentsRequest>() {
+ @Override
+ public ListQuoteAttachmentsRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListQuoteAttachmentsRequest.Builder>
+ input) {
+ if (input.getNextPageToken() == null) {
+ return input.getRequestBuilder().build();
+ } else {
+ return input.getRequestBuilder()
+ .page(input.getNextPageToken().orElse(null))
+ .build();
+ }
+ }
+ },
+ new java.util.function.Function<
+ ListQuoteAttachmentsRequest, ListQuoteAttachmentsResponse>() {
+ @Override
+ public ListQuoteAttachmentsResponse apply(ListQuoteAttachmentsRequest request) {
+ return client.listQuoteAttachments(request);
+ }
+ },
+ new java.util.function.Function<
+ ListQuoteAttachmentsResponse,
+ java.util.List<
+ com.oracle.bmc.marketplaceprivateoffer.model
+ .QuoteAttachmentSummary>>() {
+ @Override
+ public java.util.List<
+ com.oracle.bmc.marketplaceprivateoffer.model
+ .QuoteAttachmentSummary>
+ apply(ListQuoteAttachmentsResponse response) {
+ return response.getQuoteAttachmentCollection().getItems();
+ }
+ });
+ }
+}
diff --git a/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/QuoteAttachmentWaiters.java b/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/QuoteAttachmentWaiters.java
new file mode 100644
index 00000000000..16a7fd147cc
--- /dev/null
+++ b/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/QuoteAttachmentWaiters.java
@@ -0,0 +1,140 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.marketplaceprivateoffer;
+
+import com.oracle.bmc.marketplaceprivateoffer.requests.*;
+import com.oracle.bmc.marketplaceprivateoffer.responses.*;
+
+/**
+ * Collection of helper methods to produce {@link com.oracle.bmc.waiter.Waiter}s for different
+ * resources of QuoteAttachment.
+ *
+ * The default configuration used is defined by {@link
+ * com.oracle.bmc.waiter.Waiters.Waiters#DEFAULT_POLLING_WAITER}.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220901")
+public class QuoteAttachmentWaiters {
+ private final java.util.concurrent.ExecutorService executorService;
+ private final QuoteAttachment client;
+
+ public QuoteAttachmentWaiters(
+ java.util.concurrent.ExecutorService executorService, QuoteAttachment client) {
+ this.executorService = executorService;
+ this.client = client;
+ }
+
+ /**
+ * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration.
+ *
+ * @param request the request to send
+ * @param targetStates the desired states to wait for. If multiple states are provided then the
+ * waiter will return once the resource reaches any of the provided states
+ * @return a new {@code Waiter} instance
+ */
+ public com.oracle.bmc.waiter.Waiter
+ forQuoteAttachment(
+ GetQuoteAttachmentRequest request,
+ com.oracle.bmc.marketplaceprivateoffer.model.QuoteAttachment.LifecycleState...
+ targetStates) {
+ com.oracle.bmc.util.internal.Validate.notEmpty(
+ targetStates, "At least one targetState must be provided");
+ com.oracle.bmc.util.internal.Validate.noNullElements(
+ targetStates, "Null targetState values are not permitted");
+
+ return forQuoteAttachment(
+ com.oracle.bmc.waiter.Waiters.DEFAULT_POLLING_WAITER, request, targetStates);
+ }
+
+ /**
+ * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the provided configuration.
+ *
+ * @param request the request to send
+ * @param targetState the desired state to wait for
+ * @param terminationStrategy the {@link com.oracle.bmc.waiter.TerminationStrategy} to use
+ * @param delayStrategy the {@link com.oracle.bmc.waiter.DelayStrategy} to use
+ * @return a new {@code com.oracle.bmc.waiter.Waiter} instance
+ */
+ public com.oracle.bmc.waiter.Waiter
+ forQuoteAttachment(
+ GetQuoteAttachmentRequest request,
+ com.oracle.bmc.marketplaceprivateoffer.model.QuoteAttachment.LifecycleState
+ targetState,
+ com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
+ com.oracle.bmc.waiter.DelayStrategy delayStrategy) {
+ com.oracle.bmc.util.internal.Validate.notNull(
+ targetState, "The targetState cannot be null");
+
+ return forQuoteAttachment(
+ com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
+ request,
+ targetState);
+ }
+
+ /**
+ * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the provided configuration.
+ *
+ * @param request the request to send
+ * @param terminationStrategy the {@link com.oracle.bmc.waiter.TerminationStrategy} to use
+ * @param delayStrategy the {@link com.oracle.bmc.waiter.DelayStrategy} to use
+ * @param targetStates the desired states to wait for. The waiter will return once the resource
+ * reaches any of the provided states
+ * @return a new {@code com.oracle.bmc.waiter.Waiter} instance
+ */
+ public com.oracle.bmc.waiter.Waiter
+ forQuoteAttachment(
+ GetQuoteAttachmentRequest request,
+ com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
+ com.oracle.bmc.waiter.DelayStrategy delayStrategy,
+ com.oracle.bmc.marketplaceprivateoffer.model.QuoteAttachment.LifecycleState...
+ targetStates) {
+ com.oracle.bmc.util.internal.Validate.notEmpty(
+ targetStates, "At least one target state must be provided");
+ com.oracle.bmc.util.internal.Validate.noNullElements(
+ targetStates, "Null target states are not permitted");
+
+ return forQuoteAttachment(
+ com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
+ request,
+ targetStates);
+ }
+
+ // Helper method to create a new Waiter for QuoteAttachment.
+ private com.oracle.bmc.waiter.Waiter
+ forQuoteAttachment(
+ com.oracle.bmc.waiter.BmcGenericWaiter waiter,
+ final GetQuoteAttachmentRequest request,
+ final com.oracle.bmc.marketplaceprivateoffer.model.QuoteAttachment
+ .LifecycleState
+ ...
+ targetStates) {
+ final java.util.Set<
+ com.oracle.bmc.marketplaceprivateoffer.model.QuoteAttachment.LifecycleState>
+ targetStatesSet = new java.util.HashSet<>(java.util.Arrays.asList(targetStates));
+
+ return new com.oracle.bmc.waiter.internal.SimpleWaiterImpl<>(
+ executorService,
+ waiter.toCallable(
+ () -> request,
+ new java.util.function.Function<
+ GetQuoteAttachmentRequest, GetQuoteAttachmentResponse>() {
+ @Override
+ public GetQuoteAttachmentResponse apply(
+ GetQuoteAttachmentRequest request) {
+ return client.getQuoteAttachment(request);
+ }
+ },
+ new java.util.function.Predicate() {
+ @Override
+ public boolean test(GetQuoteAttachmentResponse response) {
+ return targetStatesSet.contains(
+ response.getQuoteAttachment().getLifecycleState());
+ }
+ },
+ targetStatesSet.contains(
+ com.oracle.bmc.marketplaceprivateoffer.model.QuoteAttachment
+ .LifecycleState.Deleted)),
+ request);
+ }
+}
diff --git a/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/model/Attachment.java b/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/model/Attachment.java
index e5479a359b3..2522fe5ace7 100644
--- a/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/model/Attachment.java
+++ b/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/model/Attachment.java
@@ -31,8 +31,10 @@ public final class Attachment extends com.oracle.bmc.http.client.internal.Explic
"type",
"timeCreated",
"lifecycleState",
+ "offerType",
"freeformTags",
- "definedTags"
+ "definedTags",
+ "systemTags"
})
public Attachment(
String id,
@@ -44,8 +46,10 @@ public Attachment(
Type type,
java.util.Date timeCreated,
LifecycleState lifecycleState,
+ Offer.OfferType offerType,
java.util.Map freeformTags,
- java.util.Map> definedTags) {
+ java.util.Map> definedTags,
+ java.util.Map> systemTags) {
super();
this.id = id;
this.sellerCompartmentId = sellerCompartmentId;
@@ -56,8 +60,10 @@ public Attachment(
this.type = type;
this.timeCreated = timeCreated;
this.lifecycleState = lifecycleState;
+ this.offerType = offerType;
this.freeformTags = freeformTags;
this.definedTags = definedTags;
+ this.systemTags = systemTags;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -197,6 +203,21 @@ public Builder lifecycleState(LifecycleState lifecycleState) {
this.__explicitlySet__.add("lifecycleState");
return this;
}
+ /** The type of the offer. */
+ @com.fasterxml.jackson.annotation.JsonProperty("offerType")
+ private Offer.OfferType offerType;
+
+ /**
+ * The type of the offer.
+ *
+ * @param offerType the value to set
+ * @return this builder
+ */
+ public Builder offerType(Offer.OfferType offerType) {
+ this.offerType = offerType;
+ this.__explicitlySet__.add("offerType");
+ return this;
+ }
/**
* Simple key-value pair that is applied without any predefined name, type or scope. Exists
* for cross-compatibility only. Example: {@code {"bar-key": "value"}}
@@ -236,6 +257,25 @@ public Builder definedTags(
this.__explicitlySet__.add("definedTags");
return this;
}
+ /**
+ * System tags for this resource. Each key is predefined and scoped to a namespace. Example:
+ * {@code {"orcl-cloud": {"free-tier-retained": "true"}}}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("systemTags")
+ private java.util.Map> systemTags;
+
+ /**
+ * System tags for this resource. Each key is predefined and scoped to a namespace. Example:
+ * {@code {"orcl-cloud": {"free-tier-retained": "true"}}}
+ *
+ * @param systemTags the value to set
+ * @return this builder
+ */
+ public Builder systemTags(java.util.Map> systemTags) {
+ this.systemTags = systemTags;
+ this.__explicitlySet__.add("systemTags");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -252,8 +292,10 @@ public Attachment build() {
this.type,
this.timeCreated,
this.lifecycleState,
+ this.offerType,
this.freeformTags,
- this.definedTags);
+ this.definedTags,
+ this.systemTags);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -289,12 +331,18 @@ public Builder copy(Attachment model) {
if (model.wasPropertyExplicitlySet("lifecycleState")) {
this.lifecycleState(model.getLifecycleState());
}
+ if (model.wasPropertyExplicitlySet("offerType")) {
+ this.offerType(model.getOfferType());
+ }
if (model.wasPropertyExplicitlySet("freeformTags")) {
this.freeformTags(model.getFreeformTags());
}
if (model.wasPropertyExplicitlySet("definedTags")) {
this.definedTags(model.getDefinedTags());
}
+ if (model.wasPropertyExplicitlySet("systemTags")) {
+ this.systemTags(model.getSystemTags());
+ }
return this;
}
}
@@ -522,6 +570,19 @@ public LifecycleState getLifecycleState() {
return lifecycleState;
}
+ /** The type of the offer. */
+ @com.fasterxml.jackson.annotation.JsonProperty("offerType")
+ private final Offer.OfferType offerType;
+
+ /**
+ * The type of the offer.
+ *
+ * @return the value
+ */
+ public Offer.OfferType getOfferType() {
+ return offerType;
+ }
+
/**
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for
* cross-compatibility only. Example: {@code {"bar-key": "value"}}
@@ -556,6 +617,23 @@ public java.util.Map> getDefinedTags() {
return definedTags;
}
+ /**
+ * System tags for this resource. Each key is predefined and scoped to a namespace. Example:
+ * {@code {"orcl-cloud": {"free-tier-retained": "true"}}}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("systemTags")
+ private final java.util.Map> systemTags;
+
+ /**
+ * System tags for this resource. Each key is predefined and scoped to a namespace. Example:
+ * {@code {"orcl-cloud": {"free-tier-retained": "true"}}}
+ *
+ * @return the value
+ */
+ public java.util.Map> getSystemTags() {
+ return systemTags;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -580,8 +658,10 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", type=").append(String.valueOf(this.type));
sb.append(", timeCreated=").append(String.valueOf(this.timeCreated));
sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState));
+ sb.append(", offerType=").append(String.valueOf(this.offerType));
sb.append(", freeformTags=").append(String.valueOf(this.freeformTags));
sb.append(", definedTags=").append(String.valueOf(this.definedTags));
+ sb.append(", systemTags=").append(String.valueOf(this.systemTags));
sb.append(")");
return sb.toString();
}
@@ -605,8 +685,10 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.type, other.type)
&& java.util.Objects.equals(this.timeCreated, other.timeCreated)
&& java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
+ && java.util.Objects.equals(this.offerType, other.offerType)
&& java.util.Objects.equals(this.freeformTags, other.freeformTags)
&& java.util.Objects.equals(this.definedTags, other.definedTags)
+ && java.util.Objects.equals(this.systemTags, other.systemTags)
&& super.equals(other);
}
@@ -633,8 +715,10 @@ public int hashCode() {
result =
(result * PRIME)
+ (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode());
+ result = (result * PRIME) + (this.offerType == null ? 43 : this.offerType.hashCode());
result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode());
result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode());
+ result = (result * PRIME) + (this.systemTags == null ? 43 : this.systemTags.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/model/AttachmentSummary.java b/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/model/AttachmentSummary.java
index 9e1e518f6d4..781ab5167e3 100644
--- a/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/model/AttachmentSummary.java
+++ b/bmc-marketplaceprivateoffer/src/main/java/com/oracle/bmc/marketplaceprivateoffer/model/AttachmentSummary.java
@@ -30,8 +30,10 @@ public final class AttachmentSummary
"displayName",
"type",
"lifecycleState",
+ "offerType",
"freeformTags",
- "definedTags"
+ "definedTags",
+ "systemTags"
})
public AttachmentSummary(
String id,
@@ -40,8 +42,10 @@ public AttachmentSummary(
String displayName,
Attachment.Type type,
Attachment.LifecycleState lifecycleState,
+ Offer.OfferType offerType,
java.util.Map freeformTags,
- java.util.Map> definedTags) {
+ java.util.Map