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