diff --git a/bmc-computecloudatcustomer/pom.xml b/bmc-computecloudatcustomer/pom.xml
index 7ada9ee64e..c62067cc6e 100644
--- a/bmc-computecloudatcustomer/pom.xml
+++ b/bmc-computecloudatcustomer/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.102.0
+ 3.103.0
../pom.xml
oci-java-sdk-computecloudatcustomer
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.102.0
+ 3.103.0
\ No newline at end of file
diff --git a/bmc-computeinstanceagent/pom.xml b/bmc-computeinstanceagent/pom.xml
index 59e2c8f971..8b672a28e9 100644
--- a/bmc-computeinstanceagent/pom.xml
+++ b/bmc-computeinstanceagent/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.102.0
+ 3.103.0
../pom.xml
oci-java-sdk-computeinstanceagent
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.102.0
+ 3.103.0
\ No newline at end of file
diff --git a/bmc-containerengine/pom.xml b/bmc-containerengine/pom.xml
index 89ec5962eb..ebba35a2b9 100644
--- a/bmc-containerengine/pom.xml
+++ b/bmc-containerengine/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.102.0
+ 3.103.0
../pom.xml
@@ -18,7 +18,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.102.0
+ 3.103.0
diff --git a/bmc-containerinstances/pom.xml b/bmc-containerinstances/pom.xml
index 95382dea3b..6ed7d0d154 100644
--- a/bmc-containerinstances/pom.xml
+++ b/bmc-containerinstances/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.102.0
+ 3.103.0
../pom.xml
oci-java-sdk-containerinstances
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.102.0
+ 3.103.0
\ No newline at end of file
diff --git a/bmc-containerregistry/pom.xml b/bmc-containerregistry/pom.xml
index 712c688eb1..a737f68b5c 100644
--- a/bmc-containerregistry/pom.xml
+++ b/bmc-containerregistry/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.102.0
+ 3.103.0
../pom.xml
oci-java-sdk-containerregistry
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.102.0
+ 3.103.0
\ No newline at end of file
diff --git a/bmc-core/pom.xml b/bmc-core/pom.xml
index 5be6eceae1..c1b220f9fd 100644
--- a/bmc-core/pom.xml
+++ b/bmc-core/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.102.0
+ 3.103.0
../pom.xml
@@ -18,12 +18,12 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.102.0
+ 3.103.0
com.oracle.oci.sdk
oci-java-sdk-workrequests
- 3.102.0
+ 3.103.0
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/Blockstorage.java b/bmc-core/src/main/java/com/oracle/bmc/core/Blockstorage.java
index 6ae6a3dcd0..c49fcd4daf 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/Blockstorage.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/Blockstorage.java
@@ -17,6 +17,11 @@
* Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm)
* article.
*
+ * The Core Services API provides both IPv4-only and dual-stack (IPv4 and IPv6) endpoints. By
+ * default, OCI-published SDKs and the CLI use IPv4-only endpoints. Use a dual-stack endpoint to
+ * connect over IPv6 while retaining IPv4 compatibility. Dual-stack endpoints use the following
+ * format: https://{service}.{region}.ds.oci.{secondLevelDomain}.
+ *
*
This service client uses CircuitBreakerUtils.DEFAULT_CIRCUIT_BREAKER for all the operations by
* default if no circuit breaker configuration is defined by the user.
*/
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/BlockstorageAsync.java b/bmc-core/src/main/java/com/oracle/bmc/core/BlockstorageAsync.java
index b38e817792..c24f07d8cf 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/BlockstorageAsync.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/BlockstorageAsync.java
@@ -16,6 +16,11 @@
* permissions are documented in the [Details for the Core
* Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm)
* article.
+ *
+ *
The Core Services API provides both IPv4-only and dual-stack (IPv4 and IPv6) endpoints. By
+ * default, OCI-published SDKs and the CLI use IPv4-only endpoints. Use a dual-stack endpoint to
+ * connect over IPv6 while retaining IPv4 compatibility. Dual-stack endpoints use the following
+ * format: https://{service}.{region}.ds.oci.{secondLevelDomain}.
*/
@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
public interface BlockstorageAsync extends AutoCloseable {
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/Compute.java b/bmc-core/src/main/java/com/oracle/bmc/core/Compute.java
index 8d3a54a7dc..d9c9192bc8 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/Compute.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/Compute.java
@@ -17,6 +17,11 @@
* Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm)
* article.
*
+ *
The Core Services API provides both IPv4-only and dual-stack (IPv4 and IPv6) endpoints. By
+ * default, OCI-published SDKs and the CLI use IPv4-only endpoints. Use a dual-stack endpoint to
+ * connect over IPv6 while retaining IPv4 compatibility. Dual-stack endpoints use the following
+ * format: https://{service}.{region}.ds.oci.{secondLevelDomain}.
+ *
*
This service client does not use circuit breakers by default if the user has not defined a
* circuit breaker configuration.
*/
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/ComputeAsync.java b/bmc-core/src/main/java/com/oracle/bmc/core/ComputeAsync.java
index 10b652ed89..afb37ca2c8 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/ComputeAsync.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/ComputeAsync.java
@@ -16,6 +16,11 @@
* permissions are documented in the [Details for the Core
* Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm)
* article.
+ *
+ *
The Core Services API provides both IPv4-only and dual-stack (IPv4 and IPv6) endpoints. By
+ * default, OCI-published SDKs and the CLI use IPv4-only endpoints. Use a dual-stack endpoint to
+ * connect over IPv6 while retaining IPv4 compatibility. Dual-stack endpoints use the following
+ * format: https://{service}.{region}.ds.oci.{secondLevelDomain}.
*/
@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
public interface ComputeAsync extends AutoCloseable {
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagement.java b/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagement.java
index 4a11e766f6..4bf99b26f4 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagement.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagement.java
@@ -17,6 +17,11 @@
* Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm)
* article.
*
+ *
The Core Services API provides both IPv4-only and dual-stack (IPv4 and IPv6) endpoints. By
+ * default, OCI-published SDKs and the CLI use IPv4-only endpoints. Use a dual-stack endpoint to
+ * connect over IPv6 while retaining IPv4 compatibility. Dual-stack endpoints use the following
+ * format: https://{service}.{region}.ds.oci.{secondLevelDomain}.
+ *
*
This service client uses CircuitBreakerUtils.DEFAULT_CIRCUIT_BREAKER for all the operations by
* default if no circuit breaker configuration is defined by the user.
*/
@@ -117,6 +122,24 @@ AttachInstancePoolInstanceResponse attachInstancePoolInstance(
*/
AttachLoadBalancerResponse attachLoadBalancer(AttachLoadBalancerRequest request);
+ /**
+ * Cancels the specified instance pool refresh. Cancellation stops new batch planning and new
+ * launch submissions. Submitted launch and terminate operations continue until they settle.
+ *
+ * @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
+ * CancelInstancePoolRefresh API.
+ */
+ CancelInstancePoolRefreshResponse cancelInstancePoolRefresh(
+ CancelInstancePoolRefreshRequest request);
+
/**
* Moves a [cluster network with instance
* pools](https://docs.oracle.com/iaas/Content/Compute/Tasks/managingclusternetworks.htm) into a
@@ -399,6 +422,22 @@ GetInstanceConfigurationResponse getInstanceConfiguration(
GetInstancePoolLoadBalancerAttachmentResponse getInstancePoolLoadBalancerAttachment(
GetInstancePoolLoadBalancerAttachmentRequest request);
+ /**
+ * Gets the specified instance pool refresh.
+ *
+ * @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
+ * GetInstancePoolRefresh API.
+ */
+ GetInstancePoolRefreshResponse getInstancePoolRefresh(GetInstancePoolRefreshRequest request);
+
/**
* Creates an instance from an instance configuration.
*
@@ -495,6 +534,23 @@ ListInstanceConfigurationsResponse listInstanceConfigurations(
ListInstancePoolInstancesResponse listInstancePoolInstances(
ListInstancePoolInstancesRequest request);
+ /**
+ * Lists the instance pool refreshes for the specified instance pool.
+ *
+ * @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
+ * ListInstancePoolRefreshes API.
+ */
+ ListInstancePoolRefreshesResponse listInstancePoolRefreshes(
+ ListInstancePoolRefreshesRequest request);
+
/**
* Lists the instance pools in the specified compartment.
*
@@ -511,6 +567,22 @@ ListInstancePoolInstancesResponse listInstancePoolInstances(
*/
ListInstancePoolsResponse listInstancePools(ListInstancePoolsRequest request);
+ /**
+ * Starts an instance refresh for the specified instance pool.
+ *
+ * @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 RefreshInstancePool
+ * API.
+ */
+ RefreshInstancePoolResponse refreshInstancePool(RefreshInstancePoolRequest request);
+
/**
* Performs the reset (immediate power off and power on) action on the specified instance pool,
* which performs the action on all the instances in the pool.
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagementAsync.java b/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagementAsync.java
index 362339b7b9..f6cd9bd278 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagementAsync.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagementAsync.java
@@ -16,6 +16,11 @@
* permissions are documented in the [Details for the Core
* Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm)
* article.
+ *
+ *
The Core Services API provides both IPv4-only and dual-stack (IPv4 and IPv6) endpoints. By
+ * default, OCI-published SDKs and the CLI use IPv4-only endpoints. Use a dual-stack endpoint to
+ * connect over IPv6 while retaining IPv4 compatibility. Dual-stack endpoints use the following
+ * format: https://{service}.{region}.ds.oci.{secondLevelDomain}.
*/
@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
public interface ComputeManagementAsync extends AutoCloseable {
@@ -113,6 +118,23 @@ java.util.concurrent.Future attachLoadBalancer(
AttachLoadBalancerRequest, AttachLoadBalancerResponse>
handler);
+ /**
+ * Cancels the specified instance pool refresh. Cancellation stops new batch planning and new
+ * launch submissions. Submitted launch and terminate operations continue until they settle.
+ *
+ * @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 cancelInstancePoolRefresh(
+ CancelInstancePoolRefreshRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ CancelInstancePoolRefreshRequest, CancelInstancePoolRefreshResponse>
+ handler);
+
/**
* Moves a [cluster network with instance
* pools](https://docs.oracle.com/iaas/Content/Compute/Tasks/managingclusternetworks.htm) into a
@@ -396,6 +418,22 @@ java.util.concurrent.Future getInstancePoolInst
GetInstancePoolLoadBalancerAttachmentResponse>
handler);
+ /**
+ * Gets the specified instance pool refresh.
+ *
+ * @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 getInstancePoolRefresh(
+ GetInstancePoolRefreshRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ GetInstancePoolRefreshRequest, GetInstancePoolRefreshResponse>
+ handler);
+
/**
* Creates an instance from an instance configuration.
*
@@ -488,6 +526,22 @@ java.util.concurrent.Future listInstancePoolI
ListInstancePoolInstancesRequest, ListInstancePoolInstancesResponse>
handler);
+ /**
+ * Lists the instance pool refreshes for the specified instance pool.
+ *
+ * @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 listInstancePoolRefreshes(
+ ListInstancePoolRefreshesRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ ListInstancePoolRefreshesRequest, ListInstancePoolRefreshesResponse>
+ handler);
+
/**
* Lists the instance pools in the specified compartment.
*
@@ -504,6 +558,22 @@ java.util.concurrent.Future listInstancePools(
ListInstancePoolsRequest, ListInstancePoolsResponse>
handler);
+ /**
+ * Starts an instance refresh for the specified instance pool.
+ *
+ * @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 refreshInstancePool(
+ RefreshInstancePoolRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ RefreshInstancePoolRequest, RefreshInstancePoolResponse>
+ handler);
+
/**
* Performs the reset (immediate power off and power on) action on the specified instance pool,
* which performs the action on all the instances in the pool.
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagementAsyncClient.java b/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagementAsyncClient.java
index 6968f67ad9..3123b77b73 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagementAsyncClient.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagementAsyncClient.java
@@ -184,6 +184,53 @@ public java.util.concurrent.Future attachLoadBalance
.callAsync(handler);
}
+ @Override
+ public java.util.concurrent.Future cancelInstancePoolRefresh(
+ CancelInstancePoolRefreshRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ CancelInstancePoolRefreshRequest, CancelInstancePoolRefreshResponse>
+ handler) {
+
+ Validate.notBlank(request.getInstancePoolId(), "instancePoolId must not be blank");
+
+ Validate.notBlank(request.getRefreshId(), "refreshId must not be blank");
+ Objects.requireNonNull(
+ request.getCancelInstancePoolRefreshDetails(),
+ "cancelInstancePoolRefreshDetails is required");
+
+ java.util.Map requiredParametersMap = new java.util.HashMap<>();
+ requiredParametersMap.put("instancePoolId", request.getInstancePoolId());
+ requiredParametersMap.put("refreshId", request.getRefreshId());
+
+ return clientCall(request, CancelInstancePoolRefreshResponse::builder)
+ .logger(LOG, "cancelInstancePoolRefresh")
+ .serviceDetails(
+ "ComputeManagement",
+ "CancelInstancePoolRefresh",
+ "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstancePoolRefresh/CancelInstancePoolRefresh")
+ .requiredParametersMap(requiredParametersMap)
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(CancelInstancePoolRefreshRequest::builder)
+ .basePath("/20160918")
+ .appendPathParam("instancePools")
+ .appendPathParam(request.getInstancePoolId())
+ .appendPathParam("refreshes")
+ .appendPathParam(request.getRefreshId())
+ .appendPathParam("actions")
+ .appendPathParam("cancel")
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .appendHeader("if-match", request.getIfMatch())
+ .hasBody()
+ .handleResponseHeaderString(
+ "opc-request-id", CancelInstancePoolRefreshResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-work-request-id",
+ CancelInstancePoolRefreshResponse.Builder::opcWorkRequestId)
+ .callAsync(handler);
+ }
+
@Override
public java.util.concurrent.Future
changeClusterNetworkCompartment(
@@ -729,6 +776,46 @@ public java.util.concurrent.Future getInstanceP
.callAsync(handler);
}
+ @Override
+ public java.util.concurrent.Future getInstancePoolRefresh(
+ GetInstancePoolRefreshRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ GetInstancePoolRefreshRequest, GetInstancePoolRefreshResponse>
+ handler) {
+
+ Validate.notBlank(request.getInstancePoolId(), "instancePoolId must not be blank");
+
+ Validate.notBlank(request.getRefreshId(), "refreshId must not be blank");
+
+ java.util.Map requiredParametersMap = new java.util.HashMap<>();
+ requiredParametersMap.put("instancePoolId", request.getInstancePoolId());
+ requiredParametersMap.put("refreshId", request.getRefreshId());
+
+ return clientCall(request, GetInstancePoolRefreshResponse::builder)
+ .logger(LOG, "getInstancePoolRefresh")
+ .serviceDetails(
+ "ComputeManagement",
+ "GetInstancePoolRefresh",
+ "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstancePoolRefresh/GetInstancePoolRefresh")
+ .requiredParametersMap(requiredParametersMap)
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(GetInstancePoolRefreshRequest::builder)
+ .basePath("/20160918")
+ .appendPathParam("instancePools")
+ .appendPathParam(request.getInstancePoolId())
+ .appendPathParam("refreshes")
+ .appendPathParam(request.getRefreshId())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleBody(
+ com.oracle.bmc.core.model.InstancePoolRefresh.class,
+ GetInstancePoolRefreshResponse.Builder::instancePoolRefresh)
+ .handleResponseHeaderString("etag", GetInstancePoolRefreshResponse.Builder::etag)
+ .handleResponseHeaderString(
+ "opc-request-id", GetInstancePoolRefreshResponse.Builder::opcRequestId)
+ .callAsync(handler);
+ }
+
@Override
public java.util.concurrent.Future
launchInstanceConfiguration(
@@ -947,6 +1034,51 @@ public java.util.concurrent.Future listInstan
.callAsync(handler);
}
+ @Override
+ public java.util.concurrent.Future listInstancePoolRefreshes(
+ ListInstancePoolRefreshesRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ ListInstancePoolRefreshesRequest, ListInstancePoolRefreshesResponse>
+ handler) {
+ Objects.requireNonNull(request.getCompartmentId(), "compartmentId is required");
+
+ Validate.notBlank(request.getInstancePoolId(), "instancePoolId must not be blank");
+
+ java.util.Map requiredParametersMap = new java.util.HashMap<>();
+ requiredParametersMap.put("compartmentId", request.getCompartmentId());
+ requiredParametersMap.put("instancePoolId", request.getInstancePoolId());
+
+ return clientCall(request, ListInstancePoolRefreshesResponse::builder)
+ .logger(LOG, "listInstancePoolRefreshes")
+ .serviceDetails(
+ "ComputeManagement",
+ "ListInstancePoolRefreshes",
+ "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstancePoolRefreshCollection/ListInstancePoolRefreshes")
+ .requiredParametersMap(requiredParametersMap)
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(ListInstancePoolRefreshesRequest::builder)
+ .basePath("/20160918")
+ .appendPathParam("instancePools")
+ .appendPathParam(request.getInstancePoolId())
+ .appendPathParam("refreshes")
+ .appendQueryParam("compartmentId", request.getCompartmentId())
+ .appendQueryParam("limit", request.getLimit())
+ .appendQueryParam("page", request.getPage())
+ .appendEnumQueryParam("sortBy", request.getSortBy())
+ .appendEnumQueryParam("sortOrder", request.getSortOrder())
+ .appendEnumQueryParam("lifecycleState", request.getLifecycleState())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleBody(
+ com.oracle.bmc.core.model.InstancePoolRefreshCollection.class,
+ ListInstancePoolRefreshesResponse.Builder::instancePoolRefreshCollection)
+ .handleResponseHeaderString(
+ "opc-next-page", ListInstancePoolRefreshesResponse.Builder::opcNextPage)
+ .handleResponseHeaderString(
+ "opc-request-id", ListInstancePoolRefreshesResponse.Builder::opcRequestId)
+ .callAsync(handler);
+ }
+
@Override
public java.util.concurrent.Future listInstancePools(
ListInstancePoolsRequest request,
@@ -987,6 +1119,51 @@ public java.util.concurrent.Future listInstancePools(
.callAsync(handler);
}
+ @Override
+ public java.util.concurrent.Future refreshInstancePool(
+ RefreshInstancePoolRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ RefreshInstancePoolRequest, RefreshInstancePoolResponse>
+ handler) {
+
+ Validate.notBlank(request.getInstancePoolId(), "instancePoolId must not be blank");
+ Objects.requireNonNull(
+ request.getRefreshInstancePoolDetails(), "refreshInstancePoolDetails is required");
+
+ java.util.Map requiredParametersMap = new java.util.HashMap<>();
+ requiredParametersMap.put("instancePoolId", request.getInstancePoolId());
+
+ return clientCall(request, RefreshInstancePoolResponse::builder)
+ .logger(LOG, "refreshInstancePool")
+ .serviceDetails(
+ "ComputeManagement",
+ "RefreshInstancePool",
+ "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstancePoolRefresh/RefreshInstancePool")
+ .requiredParametersMap(requiredParametersMap)
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(RefreshInstancePoolRequest::builder)
+ .basePath("/20160918")
+ .appendPathParam("instancePools")
+ .appendPathParam(request.getInstancePoolId())
+ .appendPathParam("actions")
+ .appendPathParam("refresh")
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .appendHeader("if-match", request.getIfMatch())
+ .hasBody()
+ .handleBody(
+ com.oracle.bmc.core.model.InstancePoolRefresh.class,
+ RefreshInstancePoolResponse.Builder::instancePoolRefresh)
+ .handleResponseHeaderString("etag", RefreshInstancePoolResponse.Builder::etag)
+ .handleResponseHeaderString(
+ "opc-request-id", RefreshInstancePoolResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-work-request-id",
+ RefreshInstancePoolResponse.Builder::opcWorkRequestId)
+ .callAsync(handler);
+ }
+
@Override
public java.util.concurrent.Future resetInstancePool(
ResetInstancePoolRequest request,
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagementClient.java b/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagementClient.java
index 13107f36b2..dc1b3f221c 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagementClient.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagementClient.java
@@ -205,6 +205,51 @@ public AttachLoadBalancerResponse attachLoadBalancer(AttachLoadBalancerRequest r
.callSync();
}
+ @Override
+ public CancelInstancePoolRefreshResponse cancelInstancePoolRefresh(
+ CancelInstancePoolRefreshRequest request) {
+
+ Validate.notBlank(request.getInstancePoolId(), "instancePoolId must not be blank");
+
+ Validate.notBlank(request.getRefreshId(), "refreshId must not be blank");
+ Objects.requireNonNull(
+ request.getCancelInstancePoolRefreshDetails(),
+ "cancelInstancePoolRefreshDetails is required");
+
+ java.util.Map requiredParametersMap = new java.util.HashMap<>();
+ requiredParametersMap.put("instancePoolId", request.getInstancePoolId());
+ requiredParametersMap.put("refreshId", request.getRefreshId());
+
+ return clientCall(request, CancelInstancePoolRefreshResponse::builder)
+ .logger(LOG, "cancelInstancePoolRefresh")
+ .serviceDetails(
+ "ComputeManagement",
+ "CancelInstancePoolRefresh",
+ "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstancePoolRefresh/CancelInstancePoolRefresh")
+ .requiredParametersMap(requiredParametersMap)
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(CancelInstancePoolRefreshRequest::builder)
+ .basePath("/20160918")
+ .appendPathParam("instancePools")
+ .appendPathParam(request.getInstancePoolId())
+ .appendPathParam("refreshes")
+ .appendPathParam(request.getRefreshId())
+ .appendPathParam("actions")
+ .appendPathParam("cancel")
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .appendHeader("if-match", request.getIfMatch())
+ .operationUsesDefaultRetries()
+ .hasBody()
+ .handleResponseHeaderString(
+ "opc-request-id", CancelInstancePoolRefreshResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-work-request-id",
+ CancelInstancePoolRefreshResponse.Builder::opcWorkRequestId)
+ .callSync();
+ }
+
@Override
public ChangeClusterNetworkCompartmentResponse changeClusterNetworkCompartment(
ChangeClusterNetworkCompartmentRequest request) {
@@ -689,6 +734,44 @@ public GetInstancePoolLoadBalancerAttachmentResponse getInstancePoolLoadBalancer
.callSync();
}
+ @Override
+ public GetInstancePoolRefreshResponse getInstancePoolRefresh(
+ GetInstancePoolRefreshRequest request) {
+
+ Validate.notBlank(request.getInstancePoolId(), "instancePoolId must not be blank");
+
+ Validate.notBlank(request.getRefreshId(), "refreshId must not be blank");
+
+ java.util.Map requiredParametersMap = new java.util.HashMap<>();
+ requiredParametersMap.put("instancePoolId", request.getInstancePoolId());
+ requiredParametersMap.put("refreshId", request.getRefreshId());
+
+ return clientCall(request, GetInstancePoolRefreshResponse::builder)
+ .logger(LOG, "getInstancePoolRefresh")
+ .serviceDetails(
+ "ComputeManagement",
+ "GetInstancePoolRefresh",
+ "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstancePoolRefresh/GetInstancePoolRefresh")
+ .requiredParametersMap(requiredParametersMap)
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(GetInstancePoolRefreshRequest::builder)
+ .basePath("/20160918")
+ .appendPathParam("instancePools")
+ .appendPathParam(request.getInstancePoolId())
+ .appendPathParam("refreshes")
+ .appendPathParam(request.getRefreshId())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .operationUsesDefaultRetries()
+ .handleBody(
+ com.oracle.bmc.core.model.InstancePoolRefresh.class,
+ GetInstancePoolRefreshResponse.Builder::instancePoolRefresh)
+ .handleResponseHeaderString("etag", GetInstancePoolRefreshResponse.Builder::etag)
+ .handleResponseHeaderString(
+ "opc-request-id", GetInstancePoolRefreshResponse.Builder::opcRequestId)
+ .callSync();
+ }
+
@Override
public LaunchInstanceConfigurationResponse launchInstanceConfiguration(
LaunchInstanceConfigurationRequest request) {
@@ -885,6 +968,49 @@ public ListInstancePoolInstancesResponse listInstancePoolInstances(
.callSync();
}
+ @Override
+ public ListInstancePoolRefreshesResponse listInstancePoolRefreshes(
+ ListInstancePoolRefreshesRequest request) {
+ Objects.requireNonNull(request.getCompartmentId(), "compartmentId is required");
+
+ Validate.notBlank(request.getInstancePoolId(), "instancePoolId must not be blank");
+
+ java.util.Map requiredParametersMap = new java.util.HashMap<>();
+ requiredParametersMap.put("compartmentId", request.getCompartmentId());
+ requiredParametersMap.put("instancePoolId", request.getInstancePoolId());
+
+ return clientCall(request, ListInstancePoolRefreshesResponse::builder)
+ .logger(LOG, "listInstancePoolRefreshes")
+ .serviceDetails(
+ "ComputeManagement",
+ "ListInstancePoolRefreshes",
+ "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstancePoolRefreshCollection/ListInstancePoolRefreshes")
+ .requiredParametersMap(requiredParametersMap)
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(ListInstancePoolRefreshesRequest::builder)
+ .basePath("/20160918")
+ .appendPathParam("instancePools")
+ .appendPathParam(request.getInstancePoolId())
+ .appendPathParam("refreshes")
+ .appendQueryParam("compartmentId", request.getCompartmentId())
+ .appendQueryParam("limit", request.getLimit())
+ .appendQueryParam("page", request.getPage())
+ .appendEnumQueryParam("sortBy", request.getSortBy())
+ .appendEnumQueryParam("sortOrder", request.getSortOrder())
+ .appendEnumQueryParam("lifecycleState", request.getLifecycleState())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .operationUsesDefaultRetries()
+ .handleBody(
+ com.oracle.bmc.core.model.InstancePoolRefreshCollection.class,
+ ListInstancePoolRefreshesResponse.Builder::instancePoolRefreshCollection)
+ .handleResponseHeaderString(
+ "opc-next-page", ListInstancePoolRefreshesResponse.Builder::opcNextPage)
+ .handleResponseHeaderString(
+ "opc-request-id", ListInstancePoolRefreshesResponse.Builder::opcRequestId)
+ .callSync();
+ }
+
@Override
public ListInstancePoolsResponse listInstancePools(ListInstancePoolsRequest request) {
Objects.requireNonNull(request.getCompartmentId(), "compartmentId is required");
@@ -921,6 +1047,48 @@ public ListInstancePoolsResponse listInstancePools(ListInstancePoolsRequest requ
.callSync();
}
+ @Override
+ public RefreshInstancePoolResponse refreshInstancePool(RefreshInstancePoolRequest request) {
+
+ Validate.notBlank(request.getInstancePoolId(), "instancePoolId must not be blank");
+ Objects.requireNonNull(
+ request.getRefreshInstancePoolDetails(), "refreshInstancePoolDetails is required");
+
+ java.util.Map requiredParametersMap = new java.util.HashMap<>();
+ requiredParametersMap.put("instancePoolId", request.getInstancePoolId());
+
+ return clientCall(request, RefreshInstancePoolResponse::builder)
+ .logger(LOG, "refreshInstancePool")
+ .serviceDetails(
+ "ComputeManagement",
+ "RefreshInstancePool",
+ "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstancePoolRefresh/RefreshInstancePool")
+ .requiredParametersMap(requiredParametersMap)
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(RefreshInstancePoolRequest::builder)
+ .basePath("/20160918")
+ .appendPathParam("instancePools")
+ .appendPathParam(request.getInstancePoolId())
+ .appendPathParam("actions")
+ .appendPathParam("refresh")
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .appendHeader("if-match", request.getIfMatch())
+ .operationUsesDefaultRetries()
+ .hasBody()
+ .handleBody(
+ com.oracle.bmc.core.model.InstancePoolRefresh.class,
+ RefreshInstancePoolResponse.Builder::instancePoolRefresh)
+ .handleResponseHeaderString("etag", RefreshInstancePoolResponse.Builder::etag)
+ .handleResponseHeaderString(
+ "opc-request-id", RefreshInstancePoolResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-work-request-id",
+ RefreshInstancePoolResponse.Builder::opcWorkRequestId)
+ .callSync();
+ }
+
@Override
public ResetInstancePoolResponse resetInstancePool(ResetInstancePoolRequest request) {
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagementPaginators.java b/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagementPaginators.java
index da2654a415..ac0a9c4173 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagementPaginators.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagementPaginators.java
@@ -529,6 +529,129 @@ public java.util.List apply(
});
}
+ /**
+ * Creates a new iterable which will iterate over the responses received from the
+ * listInstancePoolRefreshes 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 listInstancePoolRefreshesResponseIterator(
+ final ListInstancePoolRefreshesRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseIterable<
+ ListInstancePoolRefreshesRequest.Builder,
+ ListInstancePoolRefreshesRequest,
+ ListInstancePoolRefreshesResponse>(
+ new java.util.function.Supplier() {
+ @Override
+ public ListInstancePoolRefreshesRequest.Builder get() {
+ return ListInstancePoolRefreshesRequest.builder().copy(request);
+ }
+ },
+ new java.util.function.Function() {
+ @Override
+ public String apply(ListInstancePoolRefreshesResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListInstancePoolRefreshesRequest.Builder>,
+ ListInstancePoolRefreshesRequest>() {
+ @Override
+ public ListInstancePoolRefreshesRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListInstancePoolRefreshesRequest.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<
+ ListInstancePoolRefreshesRequest, ListInstancePoolRefreshesResponse>() {
+ @Override
+ public ListInstancePoolRefreshesResponse apply(
+ ListInstancePoolRefreshesRequest request) {
+ return client.listInstancePoolRefreshes(request);
+ }
+ });
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the {@link
+ * com.oracle.bmc.core.model.InstancePoolRefreshSummary} objects contained in responses from the
+ * listInstancePoolRefreshes operation. This iterable will fetch more data from the server as
+ * needed.
+ *
+ * @param request a request which can be sent to the service operation
+ * @return an {@link java.lang.Iterable} which can be used to iterate over the {@link
+ * com.oracle.bmc.core.model.InstancePoolRefreshSummary} objects contained in responses
+ * received from the service.
+ */
+ public Iterable
+ listInstancePoolRefreshesRecordIterator(
+ final ListInstancePoolRefreshesRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseRecordIterable<
+ ListInstancePoolRefreshesRequest.Builder,
+ ListInstancePoolRefreshesRequest,
+ ListInstancePoolRefreshesResponse,
+ com.oracle.bmc.core.model.InstancePoolRefreshSummary>(
+ new java.util.function.Supplier() {
+ @Override
+ public ListInstancePoolRefreshesRequest.Builder get() {
+ return ListInstancePoolRefreshesRequest.builder().copy(request);
+ }
+ },
+ new java.util.function.Function() {
+ @Override
+ public String apply(ListInstancePoolRefreshesResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListInstancePoolRefreshesRequest.Builder>,
+ ListInstancePoolRefreshesRequest>() {
+ @Override
+ public ListInstancePoolRefreshesRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListInstancePoolRefreshesRequest.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<
+ ListInstancePoolRefreshesRequest, ListInstancePoolRefreshesResponse>() {
+ @Override
+ public ListInstancePoolRefreshesResponse apply(
+ ListInstancePoolRefreshesRequest request) {
+ return client.listInstancePoolRefreshes(request);
+ }
+ },
+ new java.util.function.Function<
+ ListInstancePoolRefreshesResponse,
+ java.util.List>() {
+ @Override
+ public java.util.List
+ apply(ListInstancePoolRefreshesResponse response) {
+ return response.getInstancePoolRefreshCollection().getItems();
+ }
+ });
+ }
+
/**
* Creates a new iterable which will iterate over the responses received from the
* listInstancePools operation. This iterable will fetch more data from the server as needed.
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagementWaiters.java b/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagementWaiters.java
index 7825f24184..a7968a0e5a 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagementWaiters.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/ComputeManagementWaiters.java
@@ -105,6 +105,69 @@ public AttachInstancePoolInstanceResponse 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<
+ CancelInstancePoolRefreshRequest, CancelInstancePoolRefreshResponse>
+ forCancelInstancePoolRefresh(CancelInstancePoolRefreshRequest request) {
+ return forCancelInstancePoolRefresh(
+ 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<
+ CancelInstancePoolRefreshRequest, CancelInstancePoolRefreshResponse>
+ forCancelInstancePoolRefresh(
+ CancelInstancePoolRefreshRequest 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 CancelInstancePoolRefreshResponse call() throws Exception {
+ final CancelInstancePoolRefreshResponse response =
+ client.cancelInstancePoolRefresh(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.
*
@@ -671,6 +734,115 @@ public boolean test(
request);
}
+ /**
+ * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration.
+ *
+ * @param request the request to send
+ * @param targetStates the desired states to wait for. If multiple states are provided then the
+ * waiter will return once the resource reaches any of the provided states
+ * @return a new {@code Waiter} instance
+ */
+ public com.oracle.bmc.waiter.Waiter<
+ GetInstancePoolRefreshRequest, GetInstancePoolRefreshResponse>
+ forInstancePoolRefresh(
+ GetInstancePoolRefreshRequest request,
+ com.oracle.bmc.core.model.InstancePoolRefresh.LifecycleState... targetStates) {
+ com.oracle.bmc.util.internal.Validate.notEmpty(
+ targetStates, "At least one targetState must be provided");
+ com.oracle.bmc.util.internal.Validate.noNullElements(
+ targetStates, "Null targetState values are not permitted");
+
+ return forInstancePoolRefresh(
+ com.oracle.bmc.waiter.Waiters.DEFAULT_POLLING_WAITER, request, targetStates);
+ }
+
+ /**
+ * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the provided configuration.
+ *
+ * @param request the request to send
+ * @param targetState the desired state to wait for
+ * @param terminationStrategy the {@link com.oracle.bmc.waiter.TerminationStrategy} to use
+ * @param delayStrategy the {@link com.oracle.bmc.waiter.DelayStrategy} to use
+ * @return a new {@code com.oracle.bmc.waiter.Waiter} instance
+ */
+ public com.oracle.bmc.waiter.Waiter<
+ GetInstancePoolRefreshRequest, GetInstancePoolRefreshResponse>
+ forInstancePoolRefresh(
+ GetInstancePoolRefreshRequest request,
+ com.oracle.bmc.core.model.InstancePoolRefresh.LifecycleState targetState,
+ com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
+ com.oracle.bmc.waiter.DelayStrategy delayStrategy) {
+ com.oracle.bmc.util.internal.Validate.notNull(
+ targetState, "The targetState cannot be null");
+
+ return forInstancePoolRefresh(
+ com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
+ request,
+ targetState);
+ }
+
+ /**
+ * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the provided configuration.
+ *
+ * @param request the request to send
+ * @param terminationStrategy the {@link com.oracle.bmc.waiter.TerminationStrategy} to use
+ * @param delayStrategy the {@link com.oracle.bmc.waiter.DelayStrategy} to use
+ * @param targetStates the desired states to wait for. The waiter will return once the resource
+ * reaches any of the provided states
+ * @return a new {@code com.oracle.bmc.waiter.Waiter} instance
+ */
+ public com.oracle.bmc.waiter.Waiter<
+ GetInstancePoolRefreshRequest, GetInstancePoolRefreshResponse>
+ forInstancePoolRefresh(
+ GetInstancePoolRefreshRequest request,
+ com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
+ com.oracle.bmc.waiter.DelayStrategy delayStrategy,
+ com.oracle.bmc.core.model.InstancePoolRefresh.LifecycleState... targetStates) {
+ com.oracle.bmc.util.internal.Validate.notEmpty(
+ targetStates, "At least one target state must be provided");
+ com.oracle.bmc.util.internal.Validate.noNullElements(
+ targetStates, "Null target states are not permitted");
+
+ return forInstancePoolRefresh(
+ com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
+ request,
+ targetStates);
+ }
+
+ // Helper method to create a new Waiter for InstancePoolRefresh.
+ private com.oracle.bmc.waiter.Waiter<
+ GetInstancePoolRefreshRequest, GetInstancePoolRefreshResponse>
+ forInstancePoolRefresh(
+ com.oracle.bmc.waiter.BmcGenericWaiter waiter,
+ final GetInstancePoolRefreshRequest request,
+ final com.oracle.bmc.core.model.InstancePoolRefresh.LifecycleState...
+ targetStates) {
+ final java.util.Set
+ targetStatesSet = new java.util.HashSet<>(java.util.Arrays.asList(targetStates));
+
+ return new com.oracle.bmc.waiter.internal.SimpleWaiterImpl<>(
+ executorService,
+ waiter.toCallable(
+ () -> request,
+ new java.util.function.Function<
+ GetInstancePoolRefreshRequest, GetInstancePoolRefreshResponse>() {
+ @Override
+ public GetInstancePoolRefreshResponse apply(
+ GetInstancePoolRefreshRequest request) {
+ return client.getInstancePoolRefresh(request);
+ }
+ },
+ new java.util.function.Predicate() {
+ @Override
+ public boolean test(GetInstancePoolRefreshResponse response) {
+ return targetStatesSet.contains(
+ response.getInstancePoolRefresh().getLifecycleState());
+ }
+ },
+ false),
+ request);
+ }
+
/**
* Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration.
*
@@ -734,6 +906,67 @@ public LaunchInstanceConfigurationResponse 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
+ forRefreshInstancePool(RefreshInstancePoolRequest request) {
+ return forRefreshInstancePool(
+ 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
+ forRefreshInstancePool(
+ RefreshInstancePoolRequest 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 RefreshInstancePoolResponse call() throws Exception {
+ final RefreshInstancePoolResponse response =
+ client.refreshInstancePool(request);
+
+ if (response.getOpcWorkRequestId() != null) {
+ final com.oracle.bmc.workrequests.requests.GetWorkRequestRequest
+ getWorkRequestRequest =
+ com.oracle.bmc.workrequests.requests
+ .GetWorkRequestRequest.builder()
+ .workRequestId(response.getOpcWorkRequestId())
+ .build();
+ workRequestClient
+ .getWaiters()
+ .forWorkRequest(
+ getWorkRequestRequest,
+ terminationStrategy,
+ delayStrategy)
+ .execute();
+ }
+ return response;
+ }
+ },
+ request);
+ }
+
/**
* Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration.
*
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/VirtualNetwork.java b/bmc-core/src/main/java/com/oracle/bmc/core/VirtualNetwork.java
index b1fa2dae44..1aadfdb411 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/VirtualNetwork.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/VirtualNetwork.java
@@ -17,6 +17,11 @@
* Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm)
* article.
*
+ * The Core Services API provides both IPv4-only and dual-stack (IPv4 and IPv6) endpoints. By
+ * default, OCI-published SDKs and the CLI use IPv4-only endpoints. Use a dual-stack endpoint to
+ * connect over IPv6 while retaining IPv4 compatibility. Dual-stack endpoints use the following
+ * format: https://{service}.{region}.ds.oci.{secondLevelDomain}.
+ *
*
This service client uses CircuitBreakerUtils.DEFAULT_CIRCUIT_BREAKER for all the operations by
* default if no circuit breaker configuration is defined by the user.
*/
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/VirtualNetworkAsync.java b/bmc-core/src/main/java/com/oracle/bmc/core/VirtualNetworkAsync.java
index 5085029de2..a93a1ffdaf 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/VirtualNetworkAsync.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/VirtualNetworkAsync.java
@@ -16,6 +16,11 @@
* permissions are documented in the [Details for the Core
* Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm)
* article.
+ *
+ *
The Core Services API provides both IPv4-only and dual-stack (IPv4 and IPv6) endpoints. By
+ * default, OCI-published SDKs and the CLI use IPv4-only endpoints. Use a dual-stack endpoint to
+ * connect over IPv6 while retaining IPv4 compatibility. Dual-stack endpoints use the following
+ * format: https://{service}.{region}.ds.oci.{secondLevelDomain}.
*/
@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
public interface VirtualNetworkAsync extends AutoCloseable {
diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CloneOracleOfflineLogicalMigrationSettings.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/CancelInstancePoolRefreshDetails.java
similarity index 69%
rename from bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CloneOracleOfflineLogicalMigrationSettings.java
rename to bmc-core/src/main/java/com/oracle/bmc/core/model/CancelInstancePoolRefreshDetails.java
index 03d68408b3..fe5abe9384 100644
--- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CloneOracleOfflineLogicalMigrationSettings.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/CancelInstancePoolRefreshDetails.java
@@ -2,10 +2,10 @@
* Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
*/
-package com.oracle.bmc.databasemigration.model;
+package com.oracle.bmc.core.model;
/**
- * Clone settings for an offline logical Oracle migration.
+ * The details for canceling an instance pool refresh.
* 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
@@ -15,25 +15,27 @@
* into account (since the constructor cannot distinguish explicit {@code null} from unset {@code
* null}).
*/
-@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20230518")
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
- builder = CloneOracleOfflineLogicalMigrationSettings.Builder.class)
-@com.fasterxml.jackson.annotation.JsonTypeInfo(
- use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
- include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
- property = "migrationMethod")
+ builder = CancelInstancePoolRefreshDetails.Builder.class)
@com.fasterxml.jackson.annotation.JsonFilter(
com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
-public final class CloneOracleOfflineLogicalMigrationSettings extends CloneOracleMigrationSettings {
+public final class CancelInstancePoolRefreshDetails
+ extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({})
+ public CancelInstancePoolRefreshDetails() {
+ super();
+ }
+
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
public static class Builder {
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
- public CloneOracleOfflineLogicalMigrationSettings build() {
- CloneOracleOfflineLogicalMigrationSettings model =
- new CloneOracleOfflineLogicalMigrationSettings();
+ public CancelInstancePoolRefreshDetails build() {
+ CancelInstancePoolRefreshDetails model = new CancelInstancePoolRefreshDetails();
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -41,7 +43,7 @@ public CloneOracleOfflineLogicalMigrationSettings build() {
}
@com.fasterxml.jackson.annotation.JsonIgnore
- public Builder copy(CloneOracleOfflineLogicalMigrationSettings model) {
+ public Builder copy(CancelInstancePoolRefreshDetails model) {
return this;
}
}
@@ -55,11 +57,6 @@ public Builder toBuilder() {
return new Builder().copy(this);
}
- @Deprecated
- public CloneOracleOfflineLogicalMigrationSettings() {
- super();
- }
-
@Override
public String toString() {
return this.toString(true);
@@ -73,8 +70,8 @@ public String toString() {
*/
public String toString(boolean includeByteArrayContents) {
java.lang.StringBuilder sb = new java.lang.StringBuilder();
- sb.append("CloneOracleOfflineLogicalMigrationSettings(");
- sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append("CancelInstancePoolRefreshDetails(");
+ sb.append("super=").append(super.toString());
sb.append(")");
return sb.toString();
}
@@ -84,19 +81,19 @@ public boolean equals(Object o) {
if (this == o) {
return true;
}
- if (!(o instanceof CloneOracleOfflineLogicalMigrationSettings)) {
+ if (!(o instanceof CancelInstancePoolRefreshDetails)) {
return false;
}
- CloneOracleOfflineLogicalMigrationSettings other =
- (CloneOracleOfflineLogicalMigrationSettings) o;
+ CancelInstancePoolRefreshDetails other = (CancelInstancePoolRefreshDetails) o;
return super.equals(other);
}
@Override
public int hashCode() {
final int PRIME = 59;
- int result = super.hashCode();
+ int result = 1;
+ result = (result * PRIME) + super.hashCode();
return result;
}
}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/CreateInstancePoolDetails.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/CreateInstancePoolDetails.java
index 06d44b3638..2d7facb4db 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/CreateInstancePoolDetails.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/CreateInstancePoolDetails.java
@@ -39,7 +39,8 @@ public final class CreateInstancePoolDetails
"overridePolicy",
"instanceDisplayNameFormatter",
"instanceHostnameFormatter",
- "lifecycleManagement"
+ "lifecycleManagement",
+ "instanceMaintenancePolicy"
})
public CreateInstancePoolDetails(
String compartmentId,
@@ -53,7 +54,8 @@ public CreateInstancePoolDetails(
InstancePoolLaunchOverridePolicy overridePolicy,
String instanceDisplayNameFormatter,
String instanceHostnameFormatter,
- InstancePoolLifecycleManagementDetails lifecycleManagement) {
+ InstancePoolLifecycleManagementDetails lifecycleManagement,
+ InstancePoolMaintenancePolicyDetails instanceMaintenancePolicy) {
super();
this.compartmentId = compartmentId;
this.definedTags = definedTags;
@@ -67,6 +69,7 @@ public CreateInstancePoolDetails(
this.instanceDisplayNameFormatter = instanceDisplayNameFormatter;
this.instanceHostnameFormatter = instanceHostnameFormatter;
this.lifecycleManagement = lifecycleManagement;
+ this.instanceMaintenancePolicy = instanceMaintenancePolicy;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -307,6 +310,16 @@ public Builder lifecycleManagement(
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("instanceMaintenancePolicy")
+ private InstancePoolMaintenancePolicyDetails instanceMaintenancePolicy;
+
+ public Builder instanceMaintenancePolicy(
+ InstancePoolMaintenancePolicyDetails instanceMaintenancePolicy) {
+ this.instanceMaintenancePolicy = instanceMaintenancePolicy;
+ this.__explicitlySet__.add("instanceMaintenancePolicy");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -324,7 +337,8 @@ public CreateInstancePoolDetails build() {
this.overridePolicy,
this.instanceDisplayNameFormatter,
this.instanceHostnameFormatter,
- this.lifecycleManagement);
+ this.lifecycleManagement,
+ this.instanceMaintenancePolicy);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -369,6 +383,9 @@ public Builder copy(CreateInstancePoolDetails model) {
if (model.wasPropertyExplicitlySet("lifecycleManagement")) {
this.lifecycleManagement(model.getLifecycleManagement());
}
+ if (model.wasPropertyExplicitlySet("instanceMaintenancePolicy")) {
+ this.instanceMaintenancePolicy(model.getInstanceMaintenancePolicy());
+ }
return this;
}
}
@@ -588,6 +605,13 @@ public InstancePoolLifecycleManagementDetails getLifecycleManagement() {
return lifecycleManagement;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("instanceMaintenancePolicy")
+ private final InstancePoolMaintenancePolicyDetails instanceMaintenancePolicy;
+
+ public InstancePoolMaintenancePolicyDetails getInstanceMaintenancePolicy() {
+ return instanceMaintenancePolicy;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -619,6 +643,8 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", instanceHostnameFormatter=")
.append(String.valueOf(this.instanceHostnameFormatter));
sb.append(", lifecycleManagement=").append(String.valueOf(this.lifecycleManagement));
+ sb.append(", instanceMaintenancePolicy=")
+ .append(String.valueOf(this.instanceMaintenancePolicy));
sb.append(")");
return sb.toString();
}
@@ -649,6 +675,8 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(
this.instanceHostnameFormatter, other.instanceHostnameFormatter)
&& java.util.Objects.equals(this.lifecycleManagement, other.lifecycleManagement)
+ && java.util.Objects.equals(
+ this.instanceMaintenancePolicy, other.instanceMaintenancePolicy)
&& super.equals(other);
}
@@ -694,6 +722,11 @@ public int hashCode() {
+ (this.lifecycleManagement == null
? 43
: this.lifecycleManagement.hashCode());
+ result =
+ (result * PRIME)
+ + (this.instanceMaintenancePolicy == null
+ ? 43
+ : this.instanceMaintenancePolicy.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/InstanceAuthz.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/InstanceAuthz.java
new file mode 100644
index 0000000000..9be74a31b1
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/InstanceAuthz.java
@@ -0,0 +1,97 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.core.model;
+
+/**
+ * Authorization-only alias for Compute instance permissions.
+ * 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 = InstanceAuthz.Builder.class)
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class InstanceAuthz extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({})
+ public InstanceAuthz() {
+ super();
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public InstanceAuthz build() {
+ InstanceAuthz model = new InstanceAuthz();
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(InstanceAuthz model) {
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @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("InstanceAuthz(");
+ sb.append("super=").append(super.toString());
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof InstanceAuthz)) {
+ return false;
+ }
+
+ InstanceAuthz other = (InstanceAuthz) o;
+ return super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePool.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePool.java
index 7f5339e105..ed982fff75 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePool.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePool.java
@@ -40,6 +40,7 @@ public final class InstancePool extends com.oracle.bmc.http.client.internal.Expl
"instanceDisplayNameFormatter",
"instanceHostnameFormatter",
"lifecycleManagement",
+ "instanceMaintenancePolicy",
"currentSize"
})
public InstancePool(
@@ -59,6 +60,7 @@ public InstancePool(
String instanceDisplayNameFormatter,
String instanceHostnameFormatter,
InstancePoolLifecycleManagementDetails lifecycleManagement,
+ InstancePoolMaintenancePolicyDetails instanceMaintenancePolicy,
Integer currentSize) {
super();
this.id = id;
@@ -77,6 +79,7 @@ public InstancePool(
this.instanceDisplayNameFormatter = instanceDisplayNameFormatter;
this.instanceHostnameFormatter = instanceHostnameFormatter;
this.lifecycleManagement = lifecycleManagement;
+ this.instanceMaintenancePolicy = instanceMaintenancePolicy;
this.currentSize = currentSize;
}
@@ -366,6 +369,16 @@ public Builder lifecycleManagement(
this.__explicitlySet__.add("lifecycleManagement");
return this;
}
+
+ @com.fasterxml.jackson.annotation.JsonProperty("instanceMaintenancePolicy")
+ private InstancePoolMaintenancePolicyDetails instanceMaintenancePolicy;
+
+ public Builder instanceMaintenancePolicy(
+ InstancePoolMaintenancePolicyDetails instanceMaintenancePolicy) {
+ this.instanceMaintenancePolicy = instanceMaintenancePolicy;
+ this.__explicitlySet__.add("instanceMaintenancePolicy");
+ return this;
+ }
/** Count of instance in running state associated to the Instance Pool. */
@com.fasterxml.jackson.annotation.JsonProperty("currentSize")
private Integer currentSize;
@@ -404,6 +417,7 @@ public InstancePool build() {
this.instanceDisplayNameFormatter,
this.instanceHostnameFormatter,
this.lifecycleManagement,
+ this.instanceMaintenancePolicy,
this.currentSize);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
@@ -461,6 +475,9 @@ public Builder copy(InstancePool model) {
if (model.wasPropertyExplicitlySet("lifecycleManagement")) {
this.lifecycleManagement(model.getLifecycleManagement());
}
+ if (model.wasPropertyExplicitlySet("instanceMaintenancePolicy")) {
+ this.instanceMaintenancePolicy(model.getInstanceMaintenancePolicy());
+ }
if (model.wasPropertyExplicitlySet("currentSize")) {
this.currentSize(model.getCurrentSize());
}
@@ -823,6 +840,13 @@ public InstancePoolLifecycleManagementDetails getLifecycleManagement() {
return lifecycleManagement;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("instanceMaintenancePolicy")
+ private final InstancePoolMaintenancePolicyDetails instanceMaintenancePolicy;
+
+ public InstancePoolMaintenancePolicyDetails getInstanceMaintenancePolicy() {
+ return instanceMaintenancePolicy;
+ }
+
/** Count of instance in running state associated to the Instance Pool. */
@com.fasterxml.jackson.annotation.JsonProperty("currentSize")
private final Integer currentSize;
@@ -871,6 +895,8 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", instanceHostnameFormatter=")
.append(String.valueOf(this.instanceHostnameFormatter));
sb.append(", lifecycleManagement=").append(String.valueOf(this.lifecycleManagement));
+ sb.append(", instanceMaintenancePolicy=")
+ .append(String.valueOf(this.instanceMaintenancePolicy));
sb.append(", currentSize=").append(String.valueOf(this.currentSize));
sb.append(")");
return sb.toString();
@@ -906,6 +932,8 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(
this.instanceHostnameFormatter, other.instanceHostnameFormatter)
&& java.util.Objects.equals(this.lifecycleManagement, other.lifecycleManagement)
+ && java.util.Objects.equals(
+ this.instanceMaintenancePolicy, other.instanceMaintenancePolicy)
&& java.util.Objects.equals(this.currentSize, other.currentSize)
&& super.equals(other);
}
@@ -958,6 +986,11 @@ public int hashCode() {
+ (this.lifecycleManagement == null
? 43
: this.lifecycleManagement.hashCode());
+ result =
+ (result * PRIME)
+ + (this.instanceMaintenancePolicy == null
+ ? 43
+ : this.instanceMaintenancePolicy.hashCode());
result = (result * PRIME) + (this.currentSize == null ? 43 : this.currentSize.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePoolLaunchBeforeTerminatingDetails.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePoolLaunchBeforeTerminatingDetails.java
new file mode 100644
index 0000000000..00a305391f
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePoolLaunchBeforeTerminatingDetails.java
@@ -0,0 +1,187 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.core.model;
+
+/**
+ * Default launch-before-termination settings for instance pool refreshes.
+ * 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 = InstancePoolLaunchBeforeTerminatingDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class InstancePoolLaunchBeforeTerminatingDetails
+ extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({"maxHealthyPercent", "isFullRefresh"})
+ public InstancePoolLaunchBeforeTerminatingDetails(
+ Integer maxHealthyPercent, Boolean isFullRefresh) {
+ super();
+ this.maxHealthyPercent = maxHealthyPercent;
+ this.isFullRefresh = isFullRefresh;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * The maximum percentage of instances that can be in the pool during a refresh. The service
+ * uses this value to calculate launch-before-terminate surge capacity.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("maxHealthyPercent")
+ private Integer maxHealthyPercent;
+
+ /**
+ * The maximum percentage of instances that can be in the pool during a refresh. The service
+ * uses this value to calculate launch-before-terminate surge capacity.
+ *
+ * @param maxHealthyPercent the value to set
+ * @return this builder
+ */
+ public Builder maxHealthyPercent(Integer maxHealthyPercent) {
+ this.maxHealthyPercent = maxHealthyPercent;
+ this.__explicitlySet__.add("maxHealthyPercent");
+ return this;
+ }
+ /**
+ * Whether to refresh eligible instances that already use the target instance configuration.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("isFullRefresh")
+ private Boolean isFullRefresh;
+
+ /**
+ * Whether to refresh eligible instances that already use the target instance configuration.
+ *
+ * @param isFullRefresh the value to set
+ * @return this builder
+ */
+ public Builder isFullRefresh(Boolean isFullRefresh) {
+ this.isFullRefresh = isFullRefresh;
+ this.__explicitlySet__.add("isFullRefresh");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public InstancePoolLaunchBeforeTerminatingDetails build() {
+ InstancePoolLaunchBeforeTerminatingDetails model =
+ new InstancePoolLaunchBeforeTerminatingDetails(
+ this.maxHealthyPercent, this.isFullRefresh);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(InstancePoolLaunchBeforeTerminatingDetails model) {
+ if (model.wasPropertyExplicitlySet("maxHealthyPercent")) {
+ this.maxHealthyPercent(model.getMaxHealthyPercent());
+ }
+ if (model.wasPropertyExplicitlySet("isFullRefresh")) {
+ this.isFullRefresh(model.getIsFullRefresh());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ /**
+ * The maximum percentage of instances that can be in the pool during a refresh. The service
+ * uses this value to calculate launch-before-terminate surge capacity.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("maxHealthyPercent")
+ private final Integer maxHealthyPercent;
+
+ /**
+ * The maximum percentage of instances that can be in the pool during a refresh. The service
+ * uses this value to calculate launch-before-terminate surge capacity.
+ *
+ * @return the value
+ */
+ public Integer getMaxHealthyPercent() {
+ return maxHealthyPercent;
+ }
+
+ /** Whether to refresh eligible instances that already use the target instance configuration. */
+ @com.fasterxml.jackson.annotation.JsonProperty("isFullRefresh")
+ private final Boolean isFullRefresh;
+
+ /**
+ * Whether to refresh eligible instances that already use the target instance configuration.
+ *
+ * @return the value
+ */
+ public Boolean getIsFullRefresh() {
+ return isFullRefresh;
+ }
+
+ @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("InstancePoolLaunchBeforeTerminatingDetails(");
+ sb.append("super=").append(super.toString());
+ sb.append("maxHealthyPercent=").append(String.valueOf(this.maxHealthyPercent));
+ sb.append(", isFullRefresh=").append(String.valueOf(this.isFullRefresh));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof InstancePoolLaunchBeforeTerminatingDetails)) {
+ return false;
+ }
+
+ InstancePoolLaunchBeforeTerminatingDetails other =
+ (InstancePoolLaunchBeforeTerminatingDetails) o;
+ return java.util.Objects.equals(this.maxHealthyPercent, other.maxHealthyPercent)
+ && java.util.Objects.equals(this.isFullRefresh, other.isFullRefresh)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result =
+ (result * PRIME)
+ + (this.maxHealthyPercent == null ? 43 : this.maxHealthyPercent.hashCode());
+ result =
+ (result * PRIME)
+ + (this.isFullRefresh == null ? 43 : this.isFullRefresh.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePoolMaintenancePolicyDetails.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePoolMaintenancePolicyDetails.java
new file mode 100644
index 0000000000..79d17ee572
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePoolMaintenancePolicyDetails.java
@@ -0,0 +1,129 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.core.model;
+
+/**
+ * Optional maintenance policy settings for an instance pool.
+ * 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 = InstancePoolMaintenancePolicyDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class InstancePoolMaintenancePolicyDetails
+ extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({"launchBeforeTerminating"})
+ public InstancePoolMaintenancePolicyDetails(
+ InstancePoolLaunchBeforeTerminatingDetails launchBeforeTerminating) {
+ super();
+ this.launchBeforeTerminating = launchBeforeTerminating;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+
+ @com.fasterxml.jackson.annotation.JsonProperty("launchBeforeTerminating")
+ private InstancePoolLaunchBeforeTerminatingDetails launchBeforeTerminating;
+
+ public Builder launchBeforeTerminating(
+ InstancePoolLaunchBeforeTerminatingDetails launchBeforeTerminating) {
+ this.launchBeforeTerminating = launchBeforeTerminating;
+ this.__explicitlySet__.add("launchBeforeTerminating");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public InstancePoolMaintenancePolicyDetails build() {
+ InstancePoolMaintenancePolicyDetails model =
+ new InstancePoolMaintenancePolicyDetails(this.launchBeforeTerminating);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(InstancePoolMaintenancePolicyDetails model) {
+ if (model.wasPropertyExplicitlySet("launchBeforeTerminating")) {
+ this.launchBeforeTerminating(model.getLaunchBeforeTerminating());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("launchBeforeTerminating")
+ private final InstancePoolLaunchBeforeTerminatingDetails launchBeforeTerminating;
+
+ public InstancePoolLaunchBeforeTerminatingDetails getLaunchBeforeTerminating() {
+ return launchBeforeTerminating;
+ }
+
+ @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("InstancePoolMaintenancePolicyDetails(");
+ sb.append("super=").append(super.toString());
+ sb.append("launchBeforeTerminating=").append(String.valueOf(this.launchBeforeTerminating));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof InstancePoolMaintenancePolicyDetails)) {
+ return false;
+ }
+
+ InstancePoolMaintenancePolicyDetails other = (InstancePoolMaintenancePolicyDetails) o;
+ return java.util.Objects.equals(this.launchBeforeTerminating, other.launchBeforeTerminating)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result =
+ (result * PRIME)
+ + (this.launchBeforeTerminating == null
+ ? 43
+ : this.launchBeforeTerminating.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePoolRefresh.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePoolRefresh.java
new file mode 100644
index 0000000000..b47b81772a
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePoolRefresh.java
@@ -0,0 +1,860 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.core.model;
+
+/**
+ * An instance pool refresh is an asynchronous operation that replaces eligible instances in an
+ * instance pool with instances launched from the pool's target instance configuration.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model
+ * distinguishes fields that are {@code null} because they are unset from fields that are explicitly
+ * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a
+ * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link
+ * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set
+ * fields into account. The constructor, on the other hand, does not take the explicitly set fields
+ * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code
+ * null}).
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = InstancePoolRefresh.Builder.class)
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class InstancePoolRefresh
+ extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({
+ "id",
+ "compartmentId",
+ "systemTags",
+ "instancePoolId",
+ "lifecycleState",
+ "targetInstanceConfigurationId",
+ "maxHealthyPercent",
+ "warmupSeconds",
+ "isFullRefresh",
+ "refreshBatchSize",
+ "totalMemberCount",
+ "remainingMemberCount",
+ "percentComplete",
+ "skippedMemberCount",
+ "timeCreated",
+ "timeCompleted"
+ })
+ public InstancePoolRefresh(
+ String id,
+ String compartmentId,
+ java.util.Map> systemTags,
+ String instancePoolId,
+ LifecycleState lifecycleState,
+ String targetInstanceConfigurationId,
+ Integer maxHealthyPercent,
+ Integer warmupSeconds,
+ Boolean isFullRefresh,
+ Integer refreshBatchSize,
+ Integer totalMemberCount,
+ Integer remainingMemberCount,
+ Integer percentComplete,
+ Integer skippedMemberCount,
+ java.util.Date timeCreated,
+ java.util.Date timeCompleted) {
+ super();
+ this.id = id;
+ this.compartmentId = compartmentId;
+ this.systemTags = systemTags;
+ this.instancePoolId = instancePoolId;
+ this.lifecycleState = lifecycleState;
+ this.targetInstanceConfigurationId = targetInstanceConfigurationId;
+ this.maxHealthyPercent = maxHealthyPercent;
+ this.warmupSeconds = warmupSeconds;
+ this.isFullRefresh = isFullRefresh;
+ this.refreshBatchSize = refreshBatchSize;
+ this.totalMemberCount = totalMemberCount;
+ this.remainingMemberCount = remainingMemberCount;
+ this.percentComplete = percentComplete;
+ this.skippedMemberCount = skippedMemberCount;
+ this.timeCreated = timeCreated;
+ this.timeCompleted = timeCompleted;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance pool refresh.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("id")
+ private String id;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance pool refresh.
+ *
+ * @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](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * compartment containing the instance pool.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId")
+ private String compartmentId;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * compartment containing the instance pool.
+ *
+ * @param compartmentId the value to set
+ * @return this builder
+ */
+ public Builder compartmentId(String compartmentId) {
+ this.compartmentId = compartmentId;
+ this.__explicitlySet__.add("compartmentId");
+ return this;
+ }
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {@code
+ * { "orcl-cloud": { "free-tier-retained": "true" } }}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("systemTags")
+ private java.util.Map> systemTags;
+
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces. 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;
+ }
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance pool.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("instancePoolId")
+ private String instancePoolId;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance pool.
+ *
+ * @param instancePoolId the value to set
+ * @return this builder
+ */
+ public Builder instancePoolId(String instancePoolId) {
+ this.instancePoolId = instancePoolId;
+ this.__explicitlySet__.add("instancePoolId");
+ return this;
+ }
+ /** The current state of the instance pool refresh. */
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState")
+ private LifecycleState lifecycleState;
+
+ /**
+ * The current state of the instance pool refresh.
+ *
+ * @param lifecycleState the value to set
+ * @return this builder
+ */
+ public Builder lifecycleState(LifecycleState lifecycleState) {
+ this.lifecycleState = lifecycleState;
+ this.__explicitlySet__.add("lifecycleState");
+ return this;
+ }
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance configuration captured from the instance pool when the refresh started.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("targetInstanceConfigurationId")
+ private String targetInstanceConfigurationId;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance configuration captured from the instance pool when the refresh started.
+ *
+ * @param targetInstanceConfigurationId the value to set
+ * @return this builder
+ */
+ public Builder targetInstanceConfigurationId(String targetInstanceConfigurationId) {
+ this.targetInstanceConfigurationId = targetInstanceConfigurationId;
+ this.__explicitlySet__.add("targetInstanceConfigurationId");
+ return this;
+ }
+ /** The maximum healthy percentage requested for launch-before-terminate capacity. */
+ @com.fasterxml.jackson.annotation.JsonProperty("maxHealthyPercent")
+ private Integer maxHealthyPercent;
+
+ /**
+ * The maximum healthy percentage requested for launch-before-terminate capacity.
+ *
+ * @param maxHealthyPercent the value to set
+ * @return this builder
+ */
+ public Builder maxHealthyPercent(Integer maxHealthyPercent) {
+ this.maxHealthyPercent = maxHealthyPercent;
+ this.__explicitlySet__.add("maxHealthyPercent");
+ return this;
+ }
+ /** The requested warmup duration in seconds. */
+ @com.fasterxml.jackson.annotation.JsonProperty("warmupSeconds")
+ private Integer warmupSeconds;
+
+ /**
+ * The requested warmup duration in seconds.
+ *
+ * @param warmupSeconds the value to set
+ * @return this builder
+ */
+ public Builder warmupSeconds(Integer warmupSeconds) {
+ this.warmupSeconds = warmupSeconds;
+ this.__explicitlySet__.add("warmupSeconds");
+ return this;
+ }
+ /**
+ * Whether the refresh can select instances that already match the target instance
+ * configuration.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("isFullRefresh")
+ private Boolean isFullRefresh;
+
+ /**
+ * Whether the refresh can select instances that already match the target instance
+ * configuration.
+ *
+ * @param isFullRefresh the value to set
+ * @return this builder
+ */
+ public Builder isFullRefresh(Boolean isFullRefresh) {
+ this.isFullRefresh = isFullRefresh;
+ this.__explicitlySet__.add("isFullRefresh");
+ return this;
+ }
+ /** The maximum number of instances refreshed in a batch. */
+ @com.fasterxml.jackson.annotation.JsonProperty("refreshBatchSize")
+ private Integer refreshBatchSize;
+
+ /**
+ * The maximum number of instances refreshed in a batch.
+ *
+ * @param refreshBatchSize the value to set
+ * @return this builder
+ */
+ public Builder refreshBatchSize(Integer refreshBatchSize) {
+ this.refreshBatchSize = refreshBatchSize;
+ this.__explicitlySet__.add("refreshBatchSize");
+ return this;
+ }
+ /** The total number of instances selected for this refresh. */
+ @com.fasterxml.jackson.annotation.JsonProperty("totalMemberCount")
+ private Integer totalMemberCount;
+
+ /**
+ * The total number of instances selected for this refresh.
+ *
+ * @param totalMemberCount the value to set
+ * @return this builder
+ */
+ public Builder totalMemberCount(Integer totalMemberCount) {
+ this.totalMemberCount = totalMemberCount;
+ this.__explicitlySet__.add("totalMemberCount");
+ return this;
+ }
+ /** The number of instances remaining to be refreshed. */
+ @com.fasterxml.jackson.annotation.JsonProperty("remainingMemberCount")
+ private Integer remainingMemberCount;
+
+ /**
+ * The number of instances remaining to be refreshed.
+ *
+ * @param remainingMemberCount the value to set
+ * @return this builder
+ */
+ public Builder remainingMemberCount(Integer remainingMemberCount) {
+ this.remainingMemberCount = remainingMemberCount;
+ this.__explicitlySet__.add("remainingMemberCount");
+ return this;
+ }
+ /** The percentage of the refresh that is complete. */
+ @com.fasterxml.jackson.annotation.JsonProperty("percentComplete")
+ private Integer percentComplete;
+
+ /**
+ * The percentage of the refresh that is complete.
+ *
+ * @param percentComplete the value to set
+ * @return this builder
+ */
+ public Builder percentComplete(Integer percentComplete) {
+ this.percentComplete = percentComplete;
+ this.__explicitlySet__.add("percentComplete");
+ return this;
+ }
+ /** The number of instances skipped by the refresh. */
+ @com.fasterxml.jackson.annotation.JsonProperty("skippedMemberCount")
+ private Integer skippedMemberCount;
+
+ /**
+ * The number of instances skipped by the refresh.
+ *
+ * @param skippedMemberCount the value to set
+ * @return this builder
+ */
+ public Builder skippedMemberCount(Integer skippedMemberCount) {
+ this.skippedMemberCount = skippedMemberCount;
+ this.__explicitlySet__.add("skippedMemberCount");
+ return this;
+ }
+ /**
+ * The date and time the instance pool refresh was created, in the format defined by
+ * [RFC3339](https://tools.ietf.org/html/rfc3339). Example: {@code 2016-08-25T21:10:29.600Z}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("timeCreated")
+ private java.util.Date timeCreated;
+
+ /**
+ * The date and time the instance pool refresh was created, in the format defined by
+ * [RFC3339](https://tools.ietf.org/html/rfc3339). Example: {@code 2016-08-25T21:10:29.600Z}
+ *
+ * @param timeCreated the value to set
+ * @return this builder
+ */
+ public Builder timeCreated(java.util.Date timeCreated) {
+ this.timeCreated = timeCreated;
+ this.__explicitlySet__.add("timeCreated");
+ return this;
+ }
+ /**
+ * The date and time the instance pool refresh reached a terminal state, in the format
+ * defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: {@code
+ * 2016-08-25T21:10:29.600Z}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("timeCompleted")
+ private java.util.Date timeCompleted;
+
+ /**
+ * The date and time the instance pool refresh reached a terminal state, in the format
+ * defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: {@code
+ * 2016-08-25T21:10:29.600Z}
+ *
+ * @param timeCompleted the value to set
+ * @return this builder
+ */
+ public Builder timeCompleted(java.util.Date timeCompleted) {
+ this.timeCompleted = timeCompleted;
+ this.__explicitlySet__.add("timeCompleted");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public InstancePoolRefresh build() {
+ InstancePoolRefresh model =
+ new InstancePoolRefresh(
+ this.id,
+ this.compartmentId,
+ this.systemTags,
+ this.instancePoolId,
+ this.lifecycleState,
+ this.targetInstanceConfigurationId,
+ this.maxHealthyPercent,
+ this.warmupSeconds,
+ this.isFullRefresh,
+ this.refreshBatchSize,
+ this.totalMemberCount,
+ this.remainingMemberCount,
+ this.percentComplete,
+ this.skippedMemberCount,
+ this.timeCreated,
+ this.timeCompleted);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(InstancePoolRefresh model) {
+ if (model.wasPropertyExplicitlySet("id")) {
+ this.id(model.getId());
+ }
+ if (model.wasPropertyExplicitlySet("compartmentId")) {
+ this.compartmentId(model.getCompartmentId());
+ }
+ if (model.wasPropertyExplicitlySet("systemTags")) {
+ this.systemTags(model.getSystemTags());
+ }
+ if (model.wasPropertyExplicitlySet("instancePoolId")) {
+ this.instancePoolId(model.getInstancePoolId());
+ }
+ if (model.wasPropertyExplicitlySet("lifecycleState")) {
+ this.lifecycleState(model.getLifecycleState());
+ }
+ if (model.wasPropertyExplicitlySet("targetInstanceConfigurationId")) {
+ this.targetInstanceConfigurationId(model.getTargetInstanceConfigurationId());
+ }
+ if (model.wasPropertyExplicitlySet("maxHealthyPercent")) {
+ this.maxHealthyPercent(model.getMaxHealthyPercent());
+ }
+ if (model.wasPropertyExplicitlySet("warmupSeconds")) {
+ this.warmupSeconds(model.getWarmupSeconds());
+ }
+ if (model.wasPropertyExplicitlySet("isFullRefresh")) {
+ this.isFullRefresh(model.getIsFullRefresh());
+ }
+ if (model.wasPropertyExplicitlySet("refreshBatchSize")) {
+ this.refreshBatchSize(model.getRefreshBatchSize());
+ }
+ if (model.wasPropertyExplicitlySet("totalMemberCount")) {
+ this.totalMemberCount(model.getTotalMemberCount());
+ }
+ if (model.wasPropertyExplicitlySet("remainingMemberCount")) {
+ this.remainingMemberCount(model.getRemainingMemberCount());
+ }
+ if (model.wasPropertyExplicitlySet("percentComplete")) {
+ this.percentComplete(model.getPercentComplete());
+ }
+ if (model.wasPropertyExplicitlySet("skippedMemberCount")) {
+ this.skippedMemberCount(model.getSkippedMemberCount());
+ }
+ if (model.wasPropertyExplicitlySet("timeCreated")) {
+ this.timeCreated(model.getTimeCreated());
+ }
+ if (model.wasPropertyExplicitlySet("timeCompleted")) {
+ this.timeCompleted(model.getTimeCompleted());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance pool refresh.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("id")
+ private final String id;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance pool refresh.
+ *
+ * @return the value
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * compartment containing the instance pool.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId")
+ private final String compartmentId;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * compartment containing the instance pool.
+ *
+ * @return the value
+ */
+ public String getCompartmentId() {
+ return compartmentId;
+ }
+
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {@code {
+ * "orcl-cloud": { "free-tier-retained": "true" } }}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("systemTags")
+ private final java.util.Map> systemTags;
+
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {@code {
+ * "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ * @return the value
+ */
+ public java.util.Map> getSystemTags() {
+ return systemTags;
+ }
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance pool.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("instancePoolId")
+ private final String instancePoolId;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance pool.
+ *
+ * @return the value
+ */
+ public String getInstancePoolId() {
+ return instancePoolId;
+ }
+
+ /** The current state of the instance pool refresh. */
+ public enum LifecycleState implements com.oracle.bmc.http.internal.BmcEnum {
+ Accepted("ACCEPTED"),
+ InProgress("IN_PROGRESS"),
+ Succeeded("SUCCEEDED"),
+ Failed("FAILED"),
+ Canceling("CANCELING"),
+ Canceled("CANCELED"),
+
+ /**
+ * This value is used if a service returns a value for this enum that is not recognized by
+ * this version of the SDK.
+ */
+ UnknownEnumValue(null);
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(LifecycleState.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (LifecycleState v : LifecycleState.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ LifecycleState(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static LifecycleState create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'LifecycleState', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
+ }
+ };
+ /** The current state of the instance pool refresh. */
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState")
+ private final LifecycleState lifecycleState;
+
+ /**
+ * The current state of the instance pool refresh.
+ *
+ * @return the value
+ */
+ public LifecycleState getLifecycleState() {
+ return lifecycleState;
+ }
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance configuration captured from the instance pool when the refresh started.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("targetInstanceConfigurationId")
+ private final String targetInstanceConfigurationId;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance configuration captured from the instance pool when the refresh started.
+ *
+ * @return the value
+ */
+ public String getTargetInstanceConfigurationId() {
+ return targetInstanceConfigurationId;
+ }
+
+ /** The maximum healthy percentage requested for launch-before-terminate capacity. */
+ @com.fasterxml.jackson.annotation.JsonProperty("maxHealthyPercent")
+ private final Integer maxHealthyPercent;
+
+ /**
+ * The maximum healthy percentage requested for launch-before-terminate capacity.
+ *
+ * @return the value
+ */
+ public Integer getMaxHealthyPercent() {
+ return maxHealthyPercent;
+ }
+
+ /** The requested warmup duration in seconds. */
+ @com.fasterxml.jackson.annotation.JsonProperty("warmupSeconds")
+ private final Integer warmupSeconds;
+
+ /**
+ * The requested warmup duration in seconds.
+ *
+ * @return the value
+ */
+ public Integer getWarmupSeconds() {
+ return warmupSeconds;
+ }
+
+ /**
+ * Whether the refresh can select instances that already match the target instance
+ * configuration.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("isFullRefresh")
+ private final Boolean isFullRefresh;
+
+ /**
+ * Whether the refresh can select instances that already match the target instance
+ * configuration.
+ *
+ * @return the value
+ */
+ public Boolean getIsFullRefresh() {
+ return isFullRefresh;
+ }
+
+ /** The maximum number of instances refreshed in a batch. */
+ @com.fasterxml.jackson.annotation.JsonProperty("refreshBatchSize")
+ private final Integer refreshBatchSize;
+
+ /**
+ * The maximum number of instances refreshed in a batch.
+ *
+ * @return the value
+ */
+ public Integer getRefreshBatchSize() {
+ return refreshBatchSize;
+ }
+
+ /** The total number of instances selected for this refresh. */
+ @com.fasterxml.jackson.annotation.JsonProperty("totalMemberCount")
+ private final Integer totalMemberCount;
+
+ /**
+ * The total number of instances selected for this refresh.
+ *
+ * @return the value
+ */
+ public Integer getTotalMemberCount() {
+ return totalMemberCount;
+ }
+
+ /** The number of instances remaining to be refreshed. */
+ @com.fasterxml.jackson.annotation.JsonProperty("remainingMemberCount")
+ private final Integer remainingMemberCount;
+
+ /**
+ * The number of instances remaining to be refreshed.
+ *
+ * @return the value
+ */
+ public Integer getRemainingMemberCount() {
+ return remainingMemberCount;
+ }
+
+ /** The percentage of the refresh that is complete. */
+ @com.fasterxml.jackson.annotation.JsonProperty("percentComplete")
+ private final Integer percentComplete;
+
+ /**
+ * The percentage of the refresh that is complete.
+ *
+ * @return the value
+ */
+ public Integer getPercentComplete() {
+ return percentComplete;
+ }
+
+ /** The number of instances skipped by the refresh. */
+ @com.fasterxml.jackson.annotation.JsonProperty("skippedMemberCount")
+ private final Integer skippedMemberCount;
+
+ /**
+ * The number of instances skipped by the refresh.
+ *
+ * @return the value
+ */
+ public Integer getSkippedMemberCount() {
+ return skippedMemberCount;
+ }
+
+ /**
+ * The date and time the instance pool refresh was created, in the format defined by
+ * [RFC3339](https://tools.ietf.org/html/rfc3339). Example: {@code 2016-08-25T21:10:29.600Z}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("timeCreated")
+ private final java.util.Date timeCreated;
+
+ /**
+ * The date and time the instance pool refresh was created, in the format defined by
+ * [RFC3339](https://tools.ietf.org/html/rfc3339). Example: {@code 2016-08-25T21:10:29.600Z}
+ *
+ * @return the value
+ */
+ public java.util.Date getTimeCreated() {
+ return timeCreated;
+ }
+
+ /**
+ * The date and time the instance pool refresh reached a terminal state, in the format defined
+ * by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: {@code 2016-08-25T21:10:29.600Z}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("timeCompleted")
+ private final java.util.Date timeCompleted;
+
+ /**
+ * The date and time the instance pool refresh reached a terminal state, in the format defined
+ * by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: {@code 2016-08-25T21:10:29.600Z}
+ *
+ * @return the value
+ */
+ public java.util.Date getTimeCompleted() {
+ return timeCompleted;
+ }
+
+ @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("InstancePoolRefresh(");
+ sb.append("super=").append(super.toString());
+ sb.append("id=").append(String.valueOf(this.id));
+ sb.append(", compartmentId=").append(String.valueOf(this.compartmentId));
+ sb.append(", systemTags=").append(String.valueOf(this.systemTags));
+ sb.append(", instancePoolId=").append(String.valueOf(this.instancePoolId));
+ sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState));
+ sb.append(", targetInstanceConfigurationId=")
+ .append(String.valueOf(this.targetInstanceConfigurationId));
+ sb.append(", maxHealthyPercent=").append(String.valueOf(this.maxHealthyPercent));
+ sb.append(", warmupSeconds=").append(String.valueOf(this.warmupSeconds));
+ sb.append(", isFullRefresh=").append(String.valueOf(this.isFullRefresh));
+ sb.append(", refreshBatchSize=").append(String.valueOf(this.refreshBatchSize));
+ sb.append(", totalMemberCount=").append(String.valueOf(this.totalMemberCount));
+ sb.append(", remainingMemberCount=").append(String.valueOf(this.remainingMemberCount));
+ sb.append(", percentComplete=").append(String.valueOf(this.percentComplete));
+ sb.append(", skippedMemberCount=").append(String.valueOf(this.skippedMemberCount));
+ sb.append(", timeCreated=").append(String.valueOf(this.timeCreated));
+ sb.append(", timeCompleted=").append(String.valueOf(this.timeCompleted));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof InstancePoolRefresh)) {
+ return false;
+ }
+
+ InstancePoolRefresh other = (InstancePoolRefresh) o;
+ return java.util.Objects.equals(this.id, other.id)
+ && java.util.Objects.equals(this.compartmentId, other.compartmentId)
+ && java.util.Objects.equals(this.systemTags, other.systemTags)
+ && java.util.Objects.equals(this.instancePoolId, other.instancePoolId)
+ && java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
+ && java.util.Objects.equals(
+ this.targetInstanceConfigurationId, other.targetInstanceConfigurationId)
+ && java.util.Objects.equals(this.maxHealthyPercent, other.maxHealthyPercent)
+ && java.util.Objects.equals(this.warmupSeconds, other.warmupSeconds)
+ && java.util.Objects.equals(this.isFullRefresh, other.isFullRefresh)
+ && java.util.Objects.equals(this.refreshBatchSize, other.refreshBatchSize)
+ && java.util.Objects.equals(this.totalMemberCount, other.totalMemberCount)
+ && java.util.Objects.equals(this.remainingMemberCount, other.remainingMemberCount)
+ && java.util.Objects.equals(this.percentComplete, other.percentComplete)
+ && java.util.Objects.equals(this.skippedMemberCount, other.skippedMemberCount)
+ && java.util.Objects.equals(this.timeCreated, other.timeCreated)
+ && java.util.Objects.equals(this.timeCompleted, other.timeCompleted)
+ && 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.systemTags == null ? 43 : this.systemTags.hashCode());
+ result =
+ (result * PRIME)
+ + (this.instancePoolId == null ? 43 : this.instancePoolId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode());
+ result =
+ (result * PRIME)
+ + (this.targetInstanceConfigurationId == null
+ ? 43
+ : this.targetInstanceConfigurationId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.maxHealthyPercent == null ? 43 : this.maxHealthyPercent.hashCode());
+ result =
+ (result * PRIME)
+ + (this.warmupSeconds == null ? 43 : this.warmupSeconds.hashCode());
+ result =
+ (result * PRIME)
+ + (this.isFullRefresh == null ? 43 : this.isFullRefresh.hashCode());
+ result =
+ (result * PRIME)
+ + (this.refreshBatchSize == null ? 43 : this.refreshBatchSize.hashCode());
+ result =
+ (result * PRIME)
+ + (this.totalMemberCount == null ? 43 : this.totalMemberCount.hashCode());
+ result =
+ (result * PRIME)
+ + (this.remainingMemberCount == null
+ ? 43
+ : this.remainingMemberCount.hashCode());
+ result =
+ (result * PRIME)
+ + (this.percentComplete == null ? 43 : this.percentComplete.hashCode());
+ result =
+ (result * PRIME)
+ + (this.skippedMemberCount == null
+ ? 43
+ : this.skippedMemberCount.hashCode());
+ result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode());
+ result =
+ (result * PRIME)
+ + (this.timeCompleted == null ? 43 : this.timeCompleted.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePoolRefreshCollection.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePoolRefreshCollection.java
new file mode 100644
index 0000000000..c4b257508b
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePoolRefreshCollection.java
@@ -0,0 +1,133 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.core.model;
+
+/**
+ * A collection of instance pool refresh summaries.
+ * 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 = InstancePoolRefreshCollection.Builder.class)
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class InstancePoolRefreshCollection
+ extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({"items"})
+ public InstancePoolRefreshCollection(java.util.List items) {
+ super();
+ this.items = items;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /** The instance pool refresh summaries in the collection. */
+ @com.fasterxml.jackson.annotation.JsonProperty("items")
+ private java.util.List items;
+
+ /**
+ * The instance pool refresh summaries in the collection.
+ *
+ * @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 InstancePoolRefreshCollection build() {
+ InstancePoolRefreshCollection model = new InstancePoolRefreshCollection(this.items);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(InstancePoolRefreshCollection model) {
+ if (model.wasPropertyExplicitlySet("items")) {
+ this.items(model.getItems());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ /** The instance pool refresh summaries in the collection. */
+ @com.fasterxml.jackson.annotation.JsonProperty("items")
+ private final java.util.List items;
+
+ /**
+ * The instance pool refresh summaries in the collection.
+ *
+ * @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("InstancePoolRefreshCollection(");
+ 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 InstancePoolRefreshCollection)) {
+ return false;
+ }
+
+ InstancePoolRefreshCollection other = (InstancePoolRefreshCollection) 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-core/src/main/java/com/oracle/bmc/core/model/InstancePoolRefreshSummary.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePoolRefreshSummary.java
new file mode 100644
index 0000000000..b8f6ed4e87
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePoolRefreshSummary.java
@@ -0,0 +1,838 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.core.model;
+
+/**
+ * Summary information for an instance pool refresh.
+ * 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 = InstancePoolRefreshSummary.Builder.class)
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class InstancePoolRefreshSummary
+ extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({
+ "id",
+ "compartmentId",
+ "instancePoolId",
+ "lifecycleState",
+ "targetInstanceConfigurationId",
+ "maxHealthyPercent",
+ "warmupSeconds",
+ "totalMemberCount",
+ "remainingMemberCount",
+ "percentComplete",
+ "skippedMemberCount",
+ "timeCreated",
+ "timeCompleted",
+ "systemTags",
+ "definedTags",
+ "freeformTags"
+ })
+ public InstancePoolRefreshSummary(
+ String id,
+ String compartmentId,
+ String instancePoolId,
+ InstancePoolRefresh.LifecycleState lifecycleState,
+ String targetInstanceConfigurationId,
+ Integer maxHealthyPercent,
+ Integer warmupSeconds,
+ Integer totalMemberCount,
+ Integer remainingMemberCount,
+ Integer percentComplete,
+ Integer skippedMemberCount,
+ java.util.Date timeCreated,
+ java.util.Date timeCompleted,
+ java.util.Map> systemTags,
+ java.util.Map> definedTags,
+ java.util.Map freeformTags) {
+ super();
+ this.id = id;
+ this.compartmentId = compartmentId;
+ this.instancePoolId = instancePoolId;
+ this.lifecycleState = lifecycleState;
+ this.targetInstanceConfigurationId = targetInstanceConfigurationId;
+ this.maxHealthyPercent = maxHealthyPercent;
+ this.warmupSeconds = warmupSeconds;
+ this.totalMemberCount = totalMemberCount;
+ this.remainingMemberCount = remainingMemberCount;
+ this.percentComplete = percentComplete;
+ this.skippedMemberCount = skippedMemberCount;
+ this.timeCreated = timeCreated;
+ this.timeCompleted = timeCompleted;
+ this.systemTags = systemTags;
+ this.definedTags = definedTags;
+ this.freeformTags = freeformTags;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance pool refresh.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("id")
+ private String id;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance pool refresh.
+ *
+ * @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](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * compartment containing the instance pool.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId")
+ private String compartmentId;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * compartment containing the instance pool.
+ *
+ * @param compartmentId the value to set
+ * @return this builder
+ */
+ public Builder compartmentId(String compartmentId) {
+ this.compartmentId = compartmentId;
+ this.__explicitlySet__.add("compartmentId");
+ return this;
+ }
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance pool.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("instancePoolId")
+ private String instancePoolId;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance pool.
+ *
+ * @param instancePoolId the value to set
+ * @return this builder
+ */
+ public Builder instancePoolId(String instancePoolId) {
+ this.instancePoolId = instancePoolId;
+ this.__explicitlySet__.add("instancePoolId");
+ return this;
+ }
+ /** The current state of the instance pool refresh. */
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState")
+ private InstancePoolRefresh.LifecycleState lifecycleState;
+
+ /**
+ * The current state of the instance pool refresh.
+ *
+ * @param lifecycleState the value to set
+ * @return this builder
+ */
+ public Builder lifecycleState(InstancePoolRefresh.LifecycleState lifecycleState) {
+ this.lifecycleState = lifecycleState;
+ this.__explicitlySet__.add("lifecycleState");
+ return this;
+ }
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance configuration captured from the instance pool when the refresh started.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("targetInstanceConfigurationId")
+ private String targetInstanceConfigurationId;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance configuration captured from the instance pool when the refresh started.
+ *
+ * @param targetInstanceConfigurationId the value to set
+ * @return this builder
+ */
+ public Builder targetInstanceConfigurationId(String targetInstanceConfigurationId) {
+ this.targetInstanceConfigurationId = targetInstanceConfigurationId;
+ this.__explicitlySet__.add("targetInstanceConfigurationId");
+ return this;
+ }
+ /** The maximum healthy percentage requested for launch-before-terminate capacity. */
+ @com.fasterxml.jackson.annotation.JsonProperty("maxHealthyPercent")
+ private Integer maxHealthyPercent;
+
+ /**
+ * The maximum healthy percentage requested for launch-before-terminate capacity.
+ *
+ * @param maxHealthyPercent the value to set
+ * @return this builder
+ */
+ public Builder maxHealthyPercent(Integer maxHealthyPercent) {
+ this.maxHealthyPercent = maxHealthyPercent;
+ this.__explicitlySet__.add("maxHealthyPercent");
+ return this;
+ }
+ /** The requested warmup duration in seconds. */
+ @com.fasterxml.jackson.annotation.JsonProperty("warmupSeconds")
+ private Integer warmupSeconds;
+
+ /**
+ * The requested warmup duration in seconds.
+ *
+ * @param warmupSeconds the value to set
+ * @return this builder
+ */
+ public Builder warmupSeconds(Integer warmupSeconds) {
+ this.warmupSeconds = warmupSeconds;
+ this.__explicitlySet__.add("warmupSeconds");
+ return this;
+ }
+ /** The total number of instances selected for this refresh. */
+ @com.fasterxml.jackson.annotation.JsonProperty("totalMemberCount")
+ private Integer totalMemberCount;
+
+ /**
+ * The total number of instances selected for this refresh.
+ *
+ * @param totalMemberCount the value to set
+ * @return this builder
+ */
+ public Builder totalMemberCount(Integer totalMemberCount) {
+ this.totalMemberCount = totalMemberCount;
+ this.__explicitlySet__.add("totalMemberCount");
+ return this;
+ }
+ /** The number of instances remaining to be refreshed. */
+ @com.fasterxml.jackson.annotation.JsonProperty("remainingMemberCount")
+ private Integer remainingMemberCount;
+
+ /**
+ * The number of instances remaining to be refreshed.
+ *
+ * @param remainingMemberCount the value to set
+ * @return this builder
+ */
+ public Builder remainingMemberCount(Integer remainingMemberCount) {
+ this.remainingMemberCount = remainingMemberCount;
+ this.__explicitlySet__.add("remainingMemberCount");
+ return this;
+ }
+ /** The percentage of the refresh that is complete. */
+ @com.fasterxml.jackson.annotation.JsonProperty("percentComplete")
+ private Integer percentComplete;
+
+ /**
+ * The percentage of the refresh that is complete.
+ *
+ * @param percentComplete the value to set
+ * @return this builder
+ */
+ public Builder percentComplete(Integer percentComplete) {
+ this.percentComplete = percentComplete;
+ this.__explicitlySet__.add("percentComplete");
+ return this;
+ }
+ /** The number of instances skipped by the refresh. */
+ @com.fasterxml.jackson.annotation.JsonProperty("skippedMemberCount")
+ private Integer skippedMemberCount;
+
+ /**
+ * The number of instances skipped by the refresh.
+ *
+ * @param skippedMemberCount the value to set
+ * @return this builder
+ */
+ public Builder skippedMemberCount(Integer skippedMemberCount) {
+ this.skippedMemberCount = skippedMemberCount;
+ this.__explicitlySet__.add("skippedMemberCount");
+ return this;
+ }
+ /**
+ * The date and time the instance pool refresh was created, in the format defined by
+ * [RFC3339](https://tools.ietf.org/html/rfc3339). Example: {@code 2016-08-25T21:10:29.600Z}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("timeCreated")
+ private java.util.Date timeCreated;
+
+ /**
+ * The date and time the instance pool refresh was created, in the format defined by
+ * [RFC3339](https://tools.ietf.org/html/rfc3339). Example: {@code 2016-08-25T21:10:29.600Z}
+ *
+ * @param timeCreated the value to set
+ * @return this builder
+ */
+ public Builder timeCreated(java.util.Date timeCreated) {
+ this.timeCreated = timeCreated;
+ this.__explicitlySet__.add("timeCreated");
+ return this;
+ }
+ /**
+ * The date and time the instance pool refresh reached a terminal state, in the format
+ * defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: {@code
+ * 2016-08-25T21:10:29.600Z}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("timeCompleted")
+ private java.util.Date timeCompleted;
+
+ /**
+ * The date and time the instance pool refresh reached a terminal state, in the format
+ * defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: {@code
+ * 2016-08-25T21:10:29.600Z}
+ *
+ * @param timeCompleted the value to set
+ * @return this builder
+ */
+ public Builder timeCompleted(java.util.Date timeCompleted) {
+ this.timeCompleted = timeCompleted;
+ this.__explicitlySet__.add("timeCompleted");
+ return this;
+ }
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {@code
+ * { "orcl-cloud": { "free-tier-retained": "true" } }}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("systemTags")
+ private java.util.Map> systemTags;
+
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces. 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;
+ }
+ /**
+ * Defined tags for this resource. Each key is predefined and scoped to a namespace. For
+ * more information, see [Resource
+ * Tags](https://docs.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.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;
+ }
+ /**
+ * 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.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.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;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public InstancePoolRefreshSummary build() {
+ InstancePoolRefreshSummary model =
+ new InstancePoolRefreshSummary(
+ this.id,
+ this.compartmentId,
+ this.instancePoolId,
+ this.lifecycleState,
+ this.targetInstanceConfigurationId,
+ this.maxHealthyPercent,
+ this.warmupSeconds,
+ this.totalMemberCount,
+ this.remainingMemberCount,
+ this.percentComplete,
+ this.skippedMemberCount,
+ this.timeCreated,
+ this.timeCompleted,
+ this.systemTags,
+ this.definedTags,
+ this.freeformTags);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(InstancePoolRefreshSummary model) {
+ if (model.wasPropertyExplicitlySet("id")) {
+ this.id(model.getId());
+ }
+ if (model.wasPropertyExplicitlySet("compartmentId")) {
+ this.compartmentId(model.getCompartmentId());
+ }
+ if (model.wasPropertyExplicitlySet("instancePoolId")) {
+ this.instancePoolId(model.getInstancePoolId());
+ }
+ if (model.wasPropertyExplicitlySet("lifecycleState")) {
+ this.lifecycleState(model.getLifecycleState());
+ }
+ if (model.wasPropertyExplicitlySet("targetInstanceConfigurationId")) {
+ this.targetInstanceConfigurationId(model.getTargetInstanceConfigurationId());
+ }
+ if (model.wasPropertyExplicitlySet("maxHealthyPercent")) {
+ this.maxHealthyPercent(model.getMaxHealthyPercent());
+ }
+ if (model.wasPropertyExplicitlySet("warmupSeconds")) {
+ this.warmupSeconds(model.getWarmupSeconds());
+ }
+ if (model.wasPropertyExplicitlySet("totalMemberCount")) {
+ this.totalMemberCount(model.getTotalMemberCount());
+ }
+ if (model.wasPropertyExplicitlySet("remainingMemberCount")) {
+ this.remainingMemberCount(model.getRemainingMemberCount());
+ }
+ if (model.wasPropertyExplicitlySet("percentComplete")) {
+ this.percentComplete(model.getPercentComplete());
+ }
+ if (model.wasPropertyExplicitlySet("skippedMemberCount")) {
+ this.skippedMemberCount(model.getSkippedMemberCount());
+ }
+ if (model.wasPropertyExplicitlySet("timeCreated")) {
+ this.timeCreated(model.getTimeCreated());
+ }
+ if (model.wasPropertyExplicitlySet("timeCompleted")) {
+ this.timeCompleted(model.getTimeCompleted());
+ }
+ if (model.wasPropertyExplicitlySet("systemTags")) {
+ this.systemTags(model.getSystemTags());
+ }
+ if (model.wasPropertyExplicitlySet("definedTags")) {
+ this.definedTags(model.getDefinedTags());
+ }
+ if (model.wasPropertyExplicitlySet("freeformTags")) {
+ this.freeformTags(model.getFreeformTags());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance pool refresh.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("id")
+ private final String id;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance pool refresh.
+ *
+ * @return the value
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * compartment containing the instance pool.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId")
+ private final String compartmentId;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * compartment containing the instance pool.
+ *
+ * @return the value
+ */
+ public String getCompartmentId() {
+ return compartmentId;
+ }
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance pool.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("instancePoolId")
+ private final String instancePoolId;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance pool.
+ *
+ * @return the value
+ */
+ public String getInstancePoolId() {
+ return instancePoolId;
+ }
+
+ /** The current state of the instance pool refresh. */
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState")
+ private final InstancePoolRefresh.LifecycleState lifecycleState;
+
+ /**
+ * The current state of the instance pool refresh.
+ *
+ * @return the value
+ */
+ public InstancePoolRefresh.LifecycleState getLifecycleState() {
+ return lifecycleState;
+ }
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance configuration captured from the instance pool when the refresh started.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("targetInstanceConfigurationId")
+ private final String targetInstanceConfigurationId;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance configuration captured from the instance pool when the refresh started.
+ *
+ * @return the value
+ */
+ public String getTargetInstanceConfigurationId() {
+ return targetInstanceConfigurationId;
+ }
+
+ /** The maximum healthy percentage requested for launch-before-terminate capacity. */
+ @com.fasterxml.jackson.annotation.JsonProperty("maxHealthyPercent")
+ private final Integer maxHealthyPercent;
+
+ /**
+ * The maximum healthy percentage requested for launch-before-terminate capacity.
+ *
+ * @return the value
+ */
+ public Integer getMaxHealthyPercent() {
+ return maxHealthyPercent;
+ }
+
+ /** The requested warmup duration in seconds. */
+ @com.fasterxml.jackson.annotation.JsonProperty("warmupSeconds")
+ private final Integer warmupSeconds;
+
+ /**
+ * The requested warmup duration in seconds.
+ *
+ * @return the value
+ */
+ public Integer getWarmupSeconds() {
+ return warmupSeconds;
+ }
+
+ /** The total number of instances selected for this refresh. */
+ @com.fasterxml.jackson.annotation.JsonProperty("totalMemberCount")
+ private final Integer totalMemberCount;
+
+ /**
+ * The total number of instances selected for this refresh.
+ *
+ * @return the value
+ */
+ public Integer getTotalMemberCount() {
+ return totalMemberCount;
+ }
+
+ /** The number of instances remaining to be refreshed. */
+ @com.fasterxml.jackson.annotation.JsonProperty("remainingMemberCount")
+ private final Integer remainingMemberCount;
+
+ /**
+ * The number of instances remaining to be refreshed.
+ *
+ * @return the value
+ */
+ public Integer getRemainingMemberCount() {
+ return remainingMemberCount;
+ }
+
+ /** The percentage of the refresh that is complete. */
+ @com.fasterxml.jackson.annotation.JsonProperty("percentComplete")
+ private final Integer percentComplete;
+
+ /**
+ * The percentage of the refresh that is complete.
+ *
+ * @return the value
+ */
+ public Integer getPercentComplete() {
+ return percentComplete;
+ }
+
+ /** The number of instances skipped by the refresh. */
+ @com.fasterxml.jackson.annotation.JsonProperty("skippedMemberCount")
+ private final Integer skippedMemberCount;
+
+ /**
+ * The number of instances skipped by the refresh.
+ *
+ * @return the value
+ */
+ public Integer getSkippedMemberCount() {
+ return skippedMemberCount;
+ }
+
+ /**
+ * The date and time the instance pool refresh was created, in the format defined by
+ * [RFC3339](https://tools.ietf.org/html/rfc3339). Example: {@code 2016-08-25T21:10:29.600Z}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("timeCreated")
+ private final java.util.Date timeCreated;
+
+ /**
+ * The date and time the instance pool refresh was created, in the format defined by
+ * [RFC3339](https://tools.ietf.org/html/rfc3339). Example: {@code 2016-08-25T21:10:29.600Z}
+ *
+ * @return the value
+ */
+ public java.util.Date getTimeCreated() {
+ return timeCreated;
+ }
+
+ /**
+ * The date and time the instance pool refresh reached a terminal state, in the format defined
+ * by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: {@code 2016-08-25T21:10:29.600Z}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("timeCompleted")
+ private final java.util.Date timeCompleted;
+
+ /**
+ * The date and time the instance pool refresh reached a terminal state, in the format defined
+ * by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: {@code 2016-08-25T21:10:29.600Z}
+ *
+ * @return the value
+ */
+ public java.util.Date getTimeCompleted() {
+ return timeCompleted;
+ }
+
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {@code {
+ * "orcl-cloud": { "free-tier-retained": "true" } }}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("systemTags")
+ private final java.util.Map> systemTags;
+
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {@code {
+ * "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ * @return the value
+ */
+ public java.util.Map> getSystemTags() {
+ return systemTags;
+ }
+
+ /**
+ * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more
+ * information, see [Resource
+ * Tags](https://docs.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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
+ *
+ * Example: {@code {"Operations": {"CostCenter": "42"}}}
+ *
+ * @return the value
+ */
+ public java.util.Map> getDefinedTags() {
+ return definedTags;
+ }
+
+ /**
+ * 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.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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
+ *
+ * Example: {@code {"Department": "Finance"}}
+ *
+ * @return the value
+ */
+ public java.util.Map getFreeformTags() {
+ return freeformTags;
+ }
+
+ @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("InstancePoolRefreshSummary(");
+ sb.append("super=").append(super.toString());
+ sb.append("id=").append(String.valueOf(this.id));
+ sb.append(", compartmentId=").append(String.valueOf(this.compartmentId));
+ sb.append(", instancePoolId=").append(String.valueOf(this.instancePoolId));
+ sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState));
+ sb.append(", targetInstanceConfigurationId=")
+ .append(String.valueOf(this.targetInstanceConfigurationId));
+ sb.append(", maxHealthyPercent=").append(String.valueOf(this.maxHealthyPercent));
+ sb.append(", warmupSeconds=").append(String.valueOf(this.warmupSeconds));
+ sb.append(", totalMemberCount=").append(String.valueOf(this.totalMemberCount));
+ sb.append(", remainingMemberCount=").append(String.valueOf(this.remainingMemberCount));
+ sb.append(", percentComplete=").append(String.valueOf(this.percentComplete));
+ sb.append(", skippedMemberCount=").append(String.valueOf(this.skippedMemberCount));
+ sb.append(", timeCreated=").append(String.valueOf(this.timeCreated));
+ sb.append(", timeCompleted=").append(String.valueOf(this.timeCompleted));
+ sb.append(", systemTags=").append(String.valueOf(this.systemTags));
+ sb.append(", definedTags=").append(String.valueOf(this.definedTags));
+ sb.append(", freeformTags=").append(String.valueOf(this.freeformTags));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof InstancePoolRefreshSummary)) {
+ return false;
+ }
+
+ InstancePoolRefreshSummary other = (InstancePoolRefreshSummary) o;
+ return java.util.Objects.equals(this.id, other.id)
+ && java.util.Objects.equals(this.compartmentId, other.compartmentId)
+ && java.util.Objects.equals(this.instancePoolId, other.instancePoolId)
+ && java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
+ && java.util.Objects.equals(
+ this.targetInstanceConfigurationId, other.targetInstanceConfigurationId)
+ && java.util.Objects.equals(this.maxHealthyPercent, other.maxHealthyPercent)
+ && java.util.Objects.equals(this.warmupSeconds, other.warmupSeconds)
+ && java.util.Objects.equals(this.totalMemberCount, other.totalMemberCount)
+ && java.util.Objects.equals(this.remainingMemberCount, other.remainingMemberCount)
+ && java.util.Objects.equals(this.percentComplete, other.percentComplete)
+ && java.util.Objects.equals(this.skippedMemberCount, other.skippedMemberCount)
+ && java.util.Objects.equals(this.timeCreated, other.timeCreated)
+ && java.util.Objects.equals(this.timeCompleted, other.timeCompleted)
+ && java.util.Objects.equals(this.systemTags, other.systemTags)
+ && java.util.Objects.equals(this.definedTags, other.definedTags)
+ && java.util.Objects.equals(this.freeformTags, other.freeformTags)
+ && 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.instancePoolId == null ? 43 : this.instancePoolId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode());
+ result =
+ (result * PRIME)
+ + (this.targetInstanceConfigurationId == null
+ ? 43
+ : this.targetInstanceConfigurationId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.maxHealthyPercent == null ? 43 : this.maxHealthyPercent.hashCode());
+ result =
+ (result * PRIME)
+ + (this.warmupSeconds == null ? 43 : this.warmupSeconds.hashCode());
+ result =
+ (result * PRIME)
+ + (this.totalMemberCount == null ? 43 : this.totalMemberCount.hashCode());
+ result =
+ (result * PRIME)
+ + (this.remainingMemberCount == null
+ ? 43
+ : this.remainingMemberCount.hashCode());
+ result =
+ (result * PRIME)
+ + (this.percentComplete == null ? 43 : this.percentComplete.hashCode());
+ result =
+ (result * PRIME)
+ + (this.skippedMemberCount == null
+ ? 43
+ : this.skippedMemberCount.hashCode());
+ result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode());
+ result =
+ (result * PRIME)
+ + (this.timeCompleted == null ? 43 : this.timeCompleted.hashCode());
+ result = (result * PRIME) + (this.systemTags == null ? 43 : this.systemTags.hashCode());
+ result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode());
+ result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePoolSummary.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePoolSummary.java
index 1b1f995451..1792326399 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePoolSummary.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/InstancePoolSummary.java
@@ -32,6 +32,7 @@ public final class InstancePoolSummary
"lifecycleState",
"availabilityDomains",
"overridePolicy",
+ "instanceMaintenancePolicy",
"size",
"timeCreated",
"definedTags",
@@ -47,6 +48,7 @@ public InstancePoolSummary(
LifecycleState lifecycleState,
java.util.List availabilityDomains,
InstancePoolLaunchOverridePolicy overridePolicy,
+ InstancePoolMaintenancePolicyDetails instanceMaintenancePolicy,
Integer size,
java.util.Date timeCreated,
java.util.Map> definedTags,
@@ -61,6 +63,7 @@ public InstancePoolSummary(
this.lifecycleState = lifecycleState;
this.availabilityDomains = availabilityDomains;
this.overridePolicy = overridePolicy;
+ this.instanceMaintenancePolicy = instanceMaintenancePolicy;
this.size = size;
this.timeCreated = timeCreated;
this.definedTags = definedTags;
@@ -188,6 +191,16 @@ public Builder overridePolicy(InstancePoolLaunchOverridePolicy overridePolicy) {
this.__explicitlySet__.add("overridePolicy");
return this;
}
+
+ @com.fasterxml.jackson.annotation.JsonProperty("instanceMaintenancePolicy")
+ private InstancePoolMaintenancePolicyDetails instanceMaintenancePolicy;
+
+ public Builder instanceMaintenancePolicy(
+ InstancePoolMaintenancePolicyDetails instanceMaintenancePolicy) {
+ this.instanceMaintenancePolicy = instanceMaintenancePolicy;
+ this.__explicitlySet__.add("instanceMaintenancePolicy");
+ return this;
+ }
/** The number of instances that should be in the instance pool. */
@com.fasterxml.jackson.annotation.JsonProperty("size")
private Integer size;
@@ -303,6 +316,7 @@ public InstancePoolSummary build() {
this.lifecycleState,
this.availabilityDomains,
this.overridePolicy,
+ this.instanceMaintenancePolicy,
this.size,
this.timeCreated,
this.definedTags,
@@ -340,6 +354,9 @@ public Builder copy(InstancePoolSummary model) {
if (model.wasPropertyExplicitlySet("overridePolicy")) {
this.overridePolicy(model.getOverridePolicy());
}
+ if (model.wasPropertyExplicitlySet("instanceMaintenancePolicy")) {
+ this.instanceMaintenancePolicy(model.getInstanceMaintenancePolicy());
+ }
if (model.wasPropertyExplicitlySet("size")) {
this.size(model.getSize());
}
@@ -522,6 +539,13 @@ public InstancePoolLaunchOverridePolicy getOverridePolicy() {
return overridePolicy;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("instanceMaintenancePolicy")
+ private final InstancePoolMaintenancePolicyDetails instanceMaintenancePolicy;
+
+ public InstancePoolMaintenancePolicyDetails getInstanceMaintenancePolicy() {
+ return instanceMaintenancePolicy;
+ }
+
/** The number of instances that should be in the instance pool. */
@com.fasterxml.jackson.annotation.JsonProperty("size")
private final Integer size;
@@ -635,6 +659,8 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState));
sb.append(", availabilityDomains=").append(String.valueOf(this.availabilityDomains));
sb.append(", overridePolicy=").append(String.valueOf(this.overridePolicy));
+ sb.append(", instanceMaintenancePolicy=")
+ .append(String.valueOf(this.instanceMaintenancePolicy));
sb.append(", size=").append(String.valueOf(this.size));
sb.append(", timeCreated=").append(String.valueOf(this.timeCreated));
sb.append(", definedTags=").append(String.valueOf(this.definedTags));
@@ -663,6 +689,8 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
&& java.util.Objects.equals(this.availabilityDomains, other.availabilityDomains)
&& java.util.Objects.equals(this.overridePolicy, other.overridePolicy)
+ && java.util.Objects.equals(
+ this.instanceMaintenancePolicy, other.instanceMaintenancePolicy)
&& java.util.Objects.equals(this.size, other.size)
&& java.util.Objects.equals(this.timeCreated, other.timeCreated)
&& java.util.Objects.equals(this.definedTags, other.definedTags)
@@ -697,6 +725,11 @@ public int hashCode() {
result =
(result * PRIME)
+ (this.overridePolicy == null ? 43 : this.overridePolicy.hashCode());
+ result =
+ (result * PRIME)
+ + (this.instanceMaintenancePolicy == null
+ ? 43
+ : this.instanceMaintenancePolicy.hashCode());
result = (result * PRIME) + (this.size == null ? 43 : this.size.hashCode());
result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode());
result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode());
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/RefreshInstancePoolDetails.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/RefreshInstancePoolDetails.java
new file mode 100644
index 0000000000..1cd5c07e42
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/RefreshInstancePoolDetails.java
@@ -0,0 +1,237 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.core.model;
+
+/**
+ * The data to start an instance refresh for an instance pool.
+ * 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 = RefreshInstancePoolDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class RefreshInstancePoolDetails
+ extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({"maxHealthyPercent", "warmupSeconds", "isFullRefresh"})
+ public RefreshInstancePoolDetails(
+ Integer maxHealthyPercent, Integer warmupSeconds, Boolean isFullRefresh) {
+ super();
+ this.maxHealthyPercent = maxHealthyPercent;
+ this.warmupSeconds = warmupSeconds;
+ this.isFullRefresh = isFullRefresh;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * The maximum percentage of healthy instances that can be in the pool during the refresh.
+ * The service uses this value to calculate launch-before-terminate surge capacity.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("maxHealthyPercent")
+ private Integer maxHealthyPercent;
+
+ /**
+ * The maximum percentage of healthy instances that can be in the pool during the refresh.
+ * The service uses this value to calculate launch-before-terminate surge capacity.
+ *
+ * @param maxHealthyPercent the value to set
+ * @return this builder
+ */
+ public Builder maxHealthyPercent(Integer maxHealthyPercent) {
+ this.maxHealthyPercent = maxHealthyPercent;
+ this.__explicitlySet__.add("maxHealthyPercent");
+ return this;
+ }
+ /**
+ * The number of seconds to wait after replacement instances are running and startup
+ * lifecycle actions are complete before terminating old instances in the batch.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("warmupSeconds")
+ private Integer warmupSeconds;
+
+ /**
+ * The number of seconds to wait after replacement instances are running and startup
+ * lifecycle actions are complete before terminating old instances in the batch.
+ *
+ * @param warmupSeconds the value to set
+ * @return this builder
+ */
+ public Builder warmupSeconds(Integer warmupSeconds) {
+ this.warmupSeconds = warmupSeconds;
+ this.__explicitlySet__.add("warmupSeconds");
+ return this;
+ }
+ /**
+ * Whether to refresh all eligible instances that existed when the refresh started, even if
+ * they were launched from the target instance configuration.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("isFullRefresh")
+ private Boolean isFullRefresh;
+
+ /**
+ * Whether to refresh all eligible instances that existed when the refresh started, even if
+ * they were launched from the target instance configuration.
+ *
+ * @param isFullRefresh the value to set
+ * @return this builder
+ */
+ public Builder isFullRefresh(Boolean isFullRefresh) {
+ this.isFullRefresh = isFullRefresh;
+ this.__explicitlySet__.add("isFullRefresh");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public RefreshInstancePoolDetails build() {
+ RefreshInstancePoolDetails model =
+ new RefreshInstancePoolDetails(
+ this.maxHealthyPercent, this.warmupSeconds, this.isFullRefresh);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(RefreshInstancePoolDetails model) {
+ if (model.wasPropertyExplicitlySet("maxHealthyPercent")) {
+ this.maxHealthyPercent(model.getMaxHealthyPercent());
+ }
+ if (model.wasPropertyExplicitlySet("warmupSeconds")) {
+ this.warmupSeconds(model.getWarmupSeconds());
+ }
+ if (model.wasPropertyExplicitlySet("isFullRefresh")) {
+ this.isFullRefresh(model.getIsFullRefresh());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ /**
+ * The maximum percentage of healthy instances that can be in the pool during the refresh. The
+ * service uses this value to calculate launch-before-terminate surge capacity.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("maxHealthyPercent")
+ private final Integer maxHealthyPercent;
+
+ /**
+ * The maximum percentage of healthy instances that can be in the pool during the refresh. The
+ * service uses this value to calculate launch-before-terminate surge capacity.
+ *
+ * @return the value
+ */
+ public Integer getMaxHealthyPercent() {
+ return maxHealthyPercent;
+ }
+
+ /**
+ * The number of seconds to wait after replacement instances are running and startup lifecycle
+ * actions are complete before terminating old instances in the batch.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("warmupSeconds")
+ private final Integer warmupSeconds;
+
+ /**
+ * The number of seconds to wait after replacement instances are running and startup lifecycle
+ * actions are complete before terminating old instances in the batch.
+ *
+ * @return the value
+ */
+ public Integer getWarmupSeconds() {
+ return warmupSeconds;
+ }
+
+ /**
+ * Whether to refresh all eligible instances that existed when the refresh started, even if they
+ * were launched from the target instance configuration.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("isFullRefresh")
+ private final Boolean isFullRefresh;
+
+ /**
+ * Whether to refresh all eligible instances that existed when the refresh started, even if they
+ * were launched from the target instance configuration.
+ *
+ * @return the value
+ */
+ public Boolean getIsFullRefresh() {
+ return isFullRefresh;
+ }
+
+ @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("RefreshInstancePoolDetails(");
+ sb.append("super=").append(super.toString());
+ sb.append("maxHealthyPercent=").append(String.valueOf(this.maxHealthyPercent));
+ sb.append(", warmupSeconds=").append(String.valueOf(this.warmupSeconds));
+ sb.append(", isFullRefresh=").append(String.valueOf(this.isFullRefresh));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof RefreshInstancePoolDetails)) {
+ return false;
+ }
+
+ RefreshInstancePoolDetails other = (RefreshInstancePoolDetails) o;
+ return java.util.Objects.equals(this.maxHealthyPercent, other.maxHealthyPercent)
+ && java.util.Objects.equals(this.warmupSeconds, other.warmupSeconds)
+ && java.util.Objects.equals(this.isFullRefresh, other.isFullRefresh)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result =
+ (result * PRIME)
+ + (this.maxHealthyPercent == null ? 43 : this.maxHealthyPercent.hashCode());
+ result =
+ (result * PRIME)
+ + (this.warmupSeconds == null ? 43 : this.warmupSeconds.hashCode());
+ result =
+ (result * PRIME)
+ + (this.isFullRefresh == null ? 43 : this.isFullRefresh.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdateInstancePoolDetails.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdateInstancePoolDetails.java
index 213ce23f24..3d8bae5ffd 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdateInstancePoolDetails.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdateInstancePoolDetails.java
@@ -5,9 +5,11 @@
package com.oracle.bmc.core.model;
/**
- * The data to update an instance pool. If {@code overridePolicy} is omitted, the stored launch
- * override policy remains unchanged. A non-null {@code overridePolicy} replaces the stored policy
- * as a whole, and {@code null} clears it for future launches.
+ * The data to update an instance pool. If {@code instanceMaintenancePolicy} is omitted, the stored
+ * maintenance policy remains unchanged. A non-null {@code instanceMaintenancePolicy} replaces the
+ * stored policy as a whole, and {@code null} clears it. If {@code overridePolicy} is omitted, the
+ * stored launch override policy remains unchanged. A non-null {@code overridePolicy} replaces the
+ * stored policy as a whole, and {@code null} clears it for future launches.
* 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
@@ -35,7 +37,8 @@ public final class UpdateInstancePoolDetails
"overridePolicy",
"instanceDisplayNameFormatter",
"instanceHostnameFormatter",
- "lifecycleManagement"
+ "lifecycleManagement",
+ "instanceMaintenancePolicy"
})
public UpdateInstancePoolDetails(
java.util.Map> definedTags,
@@ -47,7 +50,8 @@ public UpdateInstancePoolDetails(
InstancePoolLaunchOverridePolicy overridePolicy,
String instanceDisplayNameFormatter,
String instanceHostnameFormatter,
- InstancePoolLifecycleManagementDetails lifecycleManagement) {
+ InstancePoolLifecycleManagementDetails lifecycleManagement,
+ InstancePoolMaintenancePolicyDetails instanceMaintenancePolicy) {
super();
this.definedTags = definedTags;
this.displayName = displayName;
@@ -59,6 +63,7 @@ public UpdateInstancePoolDetails(
this.instanceDisplayNameFormatter = instanceDisplayNameFormatter;
this.instanceHostnameFormatter = instanceHostnameFormatter;
this.lifecycleManagement = lifecycleManagement;
+ this.instanceMaintenancePolicy = instanceMaintenancePolicy;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -273,6 +278,16 @@ public Builder lifecycleManagement(
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("instanceMaintenancePolicy")
+ private InstancePoolMaintenancePolicyDetails instanceMaintenancePolicy;
+
+ public Builder instanceMaintenancePolicy(
+ InstancePoolMaintenancePolicyDetails instanceMaintenancePolicy) {
+ this.instanceMaintenancePolicy = instanceMaintenancePolicy;
+ this.__explicitlySet__.add("instanceMaintenancePolicy");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -288,7 +303,8 @@ public UpdateInstancePoolDetails build() {
this.overridePolicy,
this.instanceDisplayNameFormatter,
this.instanceHostnameFormatter,
- this.lifecycleManagement);
+ this.lifecycleManagement,
+ this.instanceMaintenancePolicy);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -327,6 +343,9 @@ public Builder copy(UpdateInstancePoolDetails model) {
if (model.wasPropertyExplicitlySet("lifecycleManagement")) {
this.lifecycleManagement(model.getLifecycleManagement());
}
+ if (model.wasPropertyExplicitlySet("instanceMaintenancePolicy")) {
+ this.instanceMaintenancePolicy(model.getInstanceMaintenancePolicy());
+ }
return this;
}
}
@@ -524,6 +543,13 @@ public InstancePoolLifecycleManagementDetails getLifecycleManagement() {
return lifecycleManagement;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("instanceMaintenancePolicy")
+ private final InstancePoolMaintenancePolicyDetails instanceMaintenancePolicy;
+
+ public InstancePoolMaintenancePolicyDetails getInstanceMaintenancePolicy() {
+ return instanceMaintenancePolicy;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -553,6 +579,8 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", instanceHostnameFormatter=")
.append(String.valueOf(this.instanceHostnameFormatter));
sb.append(", lifecycleManagement=").append(String.valueOf(this.lifecycleManagement));
+ sb.append(", instanceMaintenancePolicy=")
+ .append(String.valueOf(this.instanceMaintenancePolicy));
sb.append(")");
return sb.toString();
}
@@ -581,6 +609,8 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(
this.instanceHostnameFormatter, other.instanceHostnameFormatter)
&& java.util.Objects.equals(this.lifecycleManagement, other.lifecycleManagement)
+ && java.util.Objects.equals(
+ this.instanceMaintenancePolicy, other.instanceMaintenancePolicy)
&& super.equals(other);
}
@@ -620,6 +650,11 @@ public int hashCode() {
+ (this.lifecycleManagement == null
? 43
: this.lifecycleManagement.hashCode());
+ result =
+ (result * PRIME)
+ + (this.instanceMaintenancePolicy == null
+ ? 43
+ : this.instanceMaintenancePolicy.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/requests/CancelInstancePoolRefreshRequest.java b/bmc-core/src/main/java/com/oracle/bmc/core/requests/CancelInstancePoolRefreshRequest.java
new file mode 100644
index 0000000000..cc59a5a1f5
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/requests/CancelInstancePoolRefreshRequest.java
@@ -0,0 +1,414 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.core.requests;
+
+import com.oracle.bmc.core.model.*;
+/**
+ * Example: Click here to see how to use
+ * CancelInstancePoolRefreshRequest.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+public class CancelInstancePoolRefreshRequest
+ extends com.oracle.bmc.requests.BmcRequest<
+ com.oracle.bmc.core.model.CancelInstancePoolRefreshDetails> {
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance pool.
+ */
+ private String instancePoolId;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance pool.
+ */
+ public String getInstancePoolId() {
+ return instancePoolId;
+ }
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance pool refresh.
+ */
+ private String refreshId;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance pool refresh.
+ */
+ public String getRefreshId() {
+ return refreshId;
+ }
+ /** The details for canceling the instance pool refresh. */
+ private com.oracle.bmc.core.model.CancelInstancePoolRefreshDetails
+ cancelInstancePoolRefreshDetails;
+
+ /** The details for canceling the instance pool refresh. */
+ public com.oracle.bmc.core.model.CancelInstancePoolRefreshDetails
+ getCancelInstancePoolRefreshDetails() {
+ return cancelInstancePoolRefreshDetails;
+ }
+ /**
+ * Unique identifier for the request. If you need to contact Oracle about a particular request,
+ * please provide the request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique identifier for the request. If you need to contact Oracle about a particular request,
+ * please provide the request ID.
+ */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+ /**
+ * 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;
+ }
+ /**
+ * 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.core.model.CancelInstancePoolRefreshDetails getBody$() {
+ return cancelInstancePoolRefreshDetails;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.requests.BmcRequest.Builder<
+ CancelInstancePoolRefreshRequest,
+ com.oracle.bmc.core.model.CancelInstancePoolRefreshDetails> {
+ private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null;
+ private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance pool.
+ */
+ private String instancePoolId = null;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance pool.
+ *
+ * @param instancePoolId the value to set
+ * @return this builder instance
+ */
+ public Builder instancePoolId(String instancePoolId) {
+ this.instancePoolId = instancePoolId;
+ return this;
+ }
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance pool refresh.
+ */
+ private String refreshId = null;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance pool refresh.
+ *
+ * @param refreshId the value to set
+ * @return this builder instance
+ */
+ public Builder refreshId(String refreshId) {
+ this.refreshId = refreshId;
+ return this;
+ }
+
+ /** The details for canceling the instance pool refresh. */
+ private com.oracle.bmc.core.model.CancelInstancePoolRefreshDetails
+ cancelInstancePoolRefreshDetails = null;
+
+ /**
+ * The details for canceling the instance pool refresh.
+ *
+ * @param cancelInstancePoolRefreshDetails the value to set
+ * @return this builder instance
+ */
+ public Builder cancelInstancePoolRefreshDetails(
+ com.oracle.bmc.core.model.CancelInstancePoolRefreshDetails
+ cancelInstancePoolRefreshDetails) {
+ this.cancelInstancePoolRefreshDetails = cancelInstancePoolRefreshDetails;
+ return this;
+ }
+
+ /**
+ * Unique identifier for the request. If you need to contact Oracle about a particular
+ * request, please provide the request ID.
+ */
+ private String opcRequestId = null;
+
+ /**
+ * Unique 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 instance
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ 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;
+ }
+
+ /**
+ * 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(CancelInstancePoolRefreshRequest o) {
+ instancePoolId(o.getInstancePoolId());
+ refreshId(o.getRefreshId());
+ cancelInstancePoolRefreshDetails(o.getCancelInstancePoolRefreshDetails());
+ opcRequestId(o.getOpcRequestId());
+ opcRetryToken(o.getOpcRetryToken());
+ ifMatch(o.getIfMatch());
+ invocationCallback(o.getInvocationCallback());
+ retryConfiguration(o.getRetryConfiguration());
+ return this;
+ }
+
+ /**
+ * Build the instance of CancelInstancePoolRefreshRequest 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 CancelInstancePoolRefreshRequest
+ */
+ public CancelInstancePoolRefreshRequest build() {
+ CancelInstancePoolRefreshRequest 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.core.model.CancelInstancePoolRefreshDetails body) {
+ cancelInstancePoolRefreshDetails(body);
+ return this;
+ }
+
+ /**
+ * Build the instance of CancelInstancePoolRefreshRequest 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 CancelInstancePoolRefreshRequest
+ */
+ public CancelInstancePoolRefreshRequest buildWithoutInvocationCallback() {
+ CancelInstancePoolRefreshRequest request = new CancelInstancePoolRefreshRequest();
+ request.instancePoolId = instancePoolId;
+ request.refreshId = refreshId;
+ request.cancelInstancePoolRefreshDetails = cancelInstancePoolRefreshDetails;
+ request.opcRequestId = opcRequestId;
+ request.opcRetryToken = opcRetryToken;
+ request.ifMatch = ifMatch;
+ return request;
+ // new CancelInstancePoolRefreshRequest(instancePoolId, refreshId,
+ // cancelInstancePoolRefreshDetails, opcRequestId, opcRetryToken, 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()
+ .instancePoolId(instancePoolId)
+ .refreshId(refreshId)
+ .cancelInstancePoolRefreshDetails(cancelInstancePoolRefreshDetails)
+ .opcRequestId(opcRequestId)
+ .opcRetryToken(opcRetryToken)
+ .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(",instancePoolId=").append(String.valueOf(this.instancePoolId));
+ sb.append(",refreshId=").append(String.valueOf(this.refreshId));
+ sb.append(",cancelInstancePoolRefreshDetails=")
+ .append(String.valueOf(this.cancelInstancePoolRefreshDetails));
+ sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId));
+ sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken));
+ 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 CancelInstancePoolRefreshRequest)) {
+ return false;
+ }
+
+ CancelInstancePoolRefreshRequest other = (CancelInstancePoolRefreshRequest) o;
+ return super.equals(o)
+ && java.util.Objects.equals(this.instancePoolId, other.instancePoolId)
+ && java.util.Objects.equals(this.refreshId, other.refreshId)
+ && java.util.Objects.equals(
+ this.cancelInstancePoolRefreshDetails,
+ other.cancelInstancePoolRefreshDetails)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId)
+ && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken)
+ && java.util.Objects.equals(this.ifMatch, other.ifMatch);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.instancePoolId == null ? 43 : this.instancePoolId.hashCode());
+ result = (result * PRIME) + (this.refreshId == null ? 43 : this.refreshId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.cancelInstancePoolRefreshDetails == null
+ ? 43
+ : this.cancelInstancePoolRefreshDetails.hashCode());
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode());
+ result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/requests/GetInstancePoolRefreshRequest.java b/bmc-core/src/main/java/com/oracle/bmc/core/requests/GetInstancePoolRefreshRequest.java
new file mode 100644
index 0000000000..a1425ec0e1
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/requests/GetInstancePoolRefreshRequest.java
@@ -0,0 +1,253 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.core.requests;
+
+import com.oracle.bmc.core.model.*;
+/**
+ * Example: Click here to see how to use
+ * GetInstancePoolRefreshRequest.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+public class GetInstancePoolRefreshRequest
+ extends com.oracle.bmc.requests.BmcRequest {
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance pool.
+ */
+ private String instancePoolId;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance pool.
+ */
+ public String getInstancePoolId() {
+ return instancePoolId;
+ }
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance pool refresh.
+ */
+ private String refreshId;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance pool refresh.
+ */
+ public String getRefreshId() {
+ return refreshId;
+ }
+ /**
+ * Unique identifier for the request. If you need to contact Oracle about a particular request,
+ * please provide the request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique identifier for the request. If you need to contact Oracle about a particular request,
+ * please provide the request ID.
+ */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.requests.BmcRequest.Builder<
+ GetInstancePoolRefreshRequest, java.lang.Void> {
+ private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null;
+ private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance pool.
+ */
+ private String instancePoolId = null;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance pool.
+ *
+ * @param instancePoolId the value to set
+ * @return this builder instance
+ */
+ public Builder instancePoolId(String instancePoolId) {
+ this.instancePoolId = instancePoolId;
+ return this;
+ }
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance pool refresh.
+ */
+ private String refreshId = null;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance pool refresh.
+ *
+ * @param refreshId the value to set
+ * @return this builder instance
+ */
+ public Builder refreshId(String refreshId) {
+ this.refreshId = refreshId;
+ return this;
+ }
+
+ /**
+ * Unique identifier for the request. If you need to contact Oracle about a particular
+ * request, please provide the request ID.
+ */
+ private String opcRequestId = null;
+
+ /**
+ * Unique 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 instance
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /**
+ * Set the invocation callback for the request to be built.
+ *
+ * @param invocationCallback the invocation callback to be set for the request
+ * @return this builder instance
+ */
+ public Builder invocationCallback(
+ com.oracle.bmc.http.client.RequestInterceptor invocationCallback) {
+ this.invocationCallback = invocationCallback;
+ return this;
+ }
+
+ /**
+ * Set the retry configuration for the request to be built.
+ *
+ * @param retryConfiguration the retry configuration to be used for the request
+ * @return this builder instance
+ */
+ public Builder retryConfiguration(
+ com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) {
+ this.retryConfiguration = retryConfiguration;
+ return this;
+ }
+
+ /**
+ * Copy method to populate the builder with values from the given instance.
+ *
+ * @return this builder instance
+ */
+ public Builder copy(GetInstancePoolRefreshRequest o) {
+ instancePoolId(o.getInstancePoolId());
+ refreshId(o.getRefreshId());
+ opcRequestId(o.getOpcRequestId());
+ invocationCallback(o.getInvocationCallback());
+ retryConfiguration(o.getRetryConfiguration());
+ return this;
+ }
+
+ /**
+ * Build the instance of GetInstancePoolRefreshRequest 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 GetInstancePoolRefreshRequest
+ */
+ public GetInstancePoolRefreshRequest build() {
+ GetInstancePoolRefreshRequest request = buildWithoutInvocationCallback();
+ request.setInvocationCallback(invocationCallback);
+ request.setRetryConfiguration(retryConfiguration);
+ return request;
+ }
+
+ /**
+ * Build the instance of GetInstancePoolRefreshRequest 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 GetInstancePoolRefreshRequest
+ */
+ public GetInstancePoolRefreshRequest buildWithoutInvocationCallback() {
+ GetInstancePoolRefreshRequest request = new GetInstancePoolRefreshRequest();
+ request.instancePoolId = instancePoolId;
+ request.refreshId = refreshId;
+ request.opcRequestId = opcRequestId;
+ return request;
+ // new GetInstancePoolRefreshRequest(instancePoolId, refreshId, opcRequestId);
+ }
+ }
+
+ /**
+ * Return an instance of {@link Builder} that allows you to modify request properties.
+ *
+ * @return instance of {@link Builder} that allows you to modify request properties.
+ */
+ public Builder toBuilder() {
+ return new Builder()
+ .instancePoolId(instancePoolId)
+ .refreshId(refreshId)
+ .opcRequestId(opcRequestId);
+ }
+
+ /**
+ * Return a new builder for this request object.
+ *
+ * @return builder for the request object
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ @Override
+ public String toString() {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("(");
+ sb.append("super=").append(super.toString());
+ sb.append(",instancePoolId=").append(String.valueOf(this.instancePoolId));
+ sb.append(",refreshId=").append(String.valueOf(this.refreshId));
+ sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof GetInstancePoolRefreshRequest)) {
+ return false;
+ }
+
+ GetInstancePoolRefreshRequest other = (GetInstancePoolRefreshRequest) o;
+ return super.equals(o)
+ && java.util.Objects.equals(this.instancePoolId, other.instancePoolId)
+ && java.util.Objects.equals(this.refreshId, other.refreshId)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.instancePoolId == null ? 43 : this.instancePoolId.hashCode());
+ result = (result * PRIME) + (this.refreshId == null ? 43 : this.refreshId.hashCode());
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/requests/ListInstancePoolRefreshesRequest.java b/bmc-core/src/main/java/com/oracle/bmc/core/requests/ListInstancePoolRefreshesRequest.java
new file mode 100644
index 0000000000..bc6c6b84ff
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/requests/ListInstancePoolRefreshesRequest.java
@@ -0,0 +1,566 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.core.requests;
+
+import com.oracle.bmc.core.model.*;
+/**
+ * Example: Click here to see how to use
+ * ListInstancePoolRefreshesRequest.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+public class ListInstancePoolRefreshesRequest
+ extends com.oracle.bmc.requests.BmcRequest {
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * compartment.
+ */
+ private String compartmentId;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * compartment.
+ */
+ public String getCompartmentId() {
+ return compartmentId;
+ }
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance pool.
+ */
+ private String instancePoolId;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance pool.
+ */
+ public String getInstancePoolId() {
+ return instancePoolId;
+ }
+ /**
+ * For list pagination. The maximum number of results per page, or items to return in a
+ * paginated "List" call. For important details about how pagination works, see [List
+ * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
+ *
+ * Example: {@code 50}
+ */
+ private Integer limit;
+
+ /**
+ * For list pagination. The maximum number of results per page, or items to return in a
+ * paginated "List" call. For important details about how pagination works, see [List
+ * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
+ *
+ *
Example: {@code 50}
+ */
+ public Integer getLimit() {
+ return limit;
+ }
+ /**
+ * For list pagination. The value of the {@code opc-next-page} response header from the previous
+ * "List" call. For important details about how pagination works, see [List
+ * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
+ */
+ private String page;
+
+ /**
+ * For list pagination. The value of the {@code opc-next-page} response header from the previous
+ * "List" call. For important details about how pagination works, see [List
+ * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
+ */
+ public String getPage() {
+ return page;
+ }
+ /**
+ * Unique identifier for the request. If you need to contact Oracle about a particular request,
+ * please provide the request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique identifier for the request. If you need to contact Oracle about a particular request,
+ * please provide the request ID.
+ */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+ /**
+ * The field to sort by. You can provide one sort order ({@code sortOrder}). Default order for
+ * TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort
+ * order is case sensitive.
+ *
+ *
*Note:** In general, some "List" operations (for example, {@code ListInstances}) let you
+ * optionally filter by availability domain if the scope of the resource type is within a single
+ * availability domain. If you call one of these "List" operations without specifying an
+ * availability domain, the resources are grouped by availability domain, then sorted.
+ */
+ private SortBy sortBy;
+
+ /**
+ * The field to sort by. You can provide one sort order ({@code sortOrder}). Default order for
+ * TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort
+ * order is case sensitive.
+ *
+ *
*Note:** In general, some "List" operations (for example, {@code ListInstances}) let you
+ * optionally filter by availability domain if the scope of the resource type is within a single
+ * availability domain. If you call one of these "List" operations without specifying an
+ * availability domain, the resources are grouped by availability domain, then sorted.
+ */
+ public enum SortBy implements com.oracle.bmc.http.internal.BmcEnum {
+ Timecreated("TIMECREATED"),
+ Displayname("DISPLAYNAME"),
+ ;
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (SortBy v : SortBy.values()) {
+ map.put(v.getValue(), v);
+ }
+ }
+
+ SortBy(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static SortBy create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ throw new IllegalArgumentException("Invalid SortBy: " + key);
+ }
+ };
+
+ /**
+ * The field to sort by. You can provide one sort order ({@code sortOrder}). Default order for
+ * TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort
+ * order is case sensitive.
+ *
+ * *Note:** In general, some "List" operations (for example, {@code ListInstances}) let you
+ * optionally filter by availability domain if the scope of the resource type is within a single
+ * availability domain. If you call one of these "List" operations without specifying an
+ * availability domain, the resources are grouped by availability domain, then sorted.
+ */
+ public SortBy getSortBy() {
+ return sortBy;
+ }
+ /**
+ * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). The
+ * DISPLAYNAME sort order is case sensitive.
+ */
+ private SortOrder sortOrder;
+
+ /**
+ * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). The
+ * DISPLAYNAME sort order is case sensitive.
+ */
+ public enum SortOrder implements com.oracle.bmc.http.internal.BmcEnum {
+ Asc("ASC"),
+ Desc("DESC"),
+ ;
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (SortOrder v : SortOrder.values()) {
+ map.put(v.getValue(), v);
+ }
+ }
+
+ SortOrder(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static SortOrder create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ throw new IllegalArgumentException("Invalid SortOrder: " + key);
+ }
+ };
+
+ /**
+ * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). The
+ * DISPLAYNAME sort order is case sensitive.
+ */
+ public SortOrder getSortOrder() {
+ return sortOrder;
+ }
+ /**
+ * A filter to only return refreshes that match the given lifecycle state. The state value is
+ * case-insensitive.
+ */
+ private com.oracle.bmc.core.model.InstancePoolRefresh.LifecycleState lifecycleState;
+
+ /**
+ * A filter to only return refreshes that match the given lifecycle state. The state value is
+ * case-insensitive.
+ */
+ public com.oracle.bmc.core.model.InstancePoolRefresh.LifecycleState getLifecycleState() {
+ return lifecycleState;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.requests.BmcRequest.Builder<
+ ListInstancePoolRefreshesRequest, java.lang.Void> {
+ private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null;
+ private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * compartment.
+ */
+ private String compartmentId = null;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * compartment.
+ *
+ * @param compartmentId the value to set
+ * @return this builder instance
+ */
+ public Builder compartmentId(String compartmentId) {
+ this.compartmentId = compartmentId;
+ return this;
+ }
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance pool.
+ */
+ private String instancePoolId = null;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance pool.
+ *
+ * @param instancePoolId the value to set
+ * @return this builder instance
+ */
+ public Builder instancePoolId(String instancePoolId) {
+ this.instancePoolId = instancePoolId;
+ return this;
+ }
+
+ /**
+ * For list pagination. The maximum number of results per page, or items to return in a
+ * paginated "List" call. For important details about how pagination works, see [List
+ * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
+ *
+ * Example: {@code 50}
+ */
+ private Integer limit = null;
+
+ /**
+ * For list pagination. The maximum number of results per page, or items to return in a
+ * paginated "List" call. For important details about how pagination works, see [List
+ * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
+ *
+ *
Example: {@code 50}
+ *
+ * @param limit the value to set
+ * @return this builder instance
+ */
+ public Builder limit(Integer limit) {
+ this.limit = limit;
+ return this;
+ }
+
+ /**
+ * For list pagination. The value of the {@code opc-next-page} response header from the
+ * previous "List" call. For important details about how pagination works, see [List
+ * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
+ */
+ private String page = null;
+
+ /**
+ * For list pagination. The value of the {@code opc-next-page} response header from the
+ * previous "List" call. For important details about how pagination works, see [List
+ * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
+ *
+ * @param page the value to set
+ * @return this builder instance
+ */
+ public Builder page(String page) {
+ this.page = page;
+ return this;
+ }
+
+ /**
+ * Unique identifier for the request. If you need to contact Oracle about a particular
+ * request, please provide the request ID.
+ */
+ private String opcRequestId = null;
+
+ /**
+ * Unique 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 instance
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /**
+ * The field to sort by. You can provide one sort order ({@code sortOrder}). Default order
+ * for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The
+ * DISPLAYNAME sort order is case sensitive.
+ *
+ *
*Note:** In general, some "List" operations (for example, {@code ListInstances}) let
+ * you optionally filter by availability domain if the scope of the resource type is within
+ * a single availability domain. If you call one of these "List" operations without
+ * specifying an availability domain, the resources are grouped by availability domain, then
+ * sorted.
+ */
+ private SortBy sortBy = null;
+
+ /**
+ * The field to sort by. You can provide one sort order ({@code sortOrder}). Default order
+ * for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The
+ * DISPLAYNAME sort order is case sensitive.
+ *
+ *
*Note:** In general, some "List" operations (for example, {@code ListInstances}) let
+ * you optionally filter by availability domain if the scope of the resource type is within
+ * a single availability domain. If you call one of these "List" operations without
+ * specifying an availability domain, the resources are grouped by availability domain, then
+ * sorted.
+ *
+ * @param sortBy the value to set
+ * @return this builder instance
+ */
+ public Builder sortBy(SortBy sortBy) {
+ this.sortBy = sortBy;
+ return this;
+ }
+
+ /**
+ * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). The
+ * DISPLAYNAME sort order is case sensitive.
+ */
+ private SortOrder sortOrder = null;
+
+ /**
+ * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). The
+ * DISPLAYNAME sort order is case sensitive.
+ *
+ * @param sortOrder the value to set
+ * @return this builder instance
+ */
+ public Builder sortOrder(SortOrder sortOrder) {
+ this.sortOrder = sortOrder;
+ return this;
+ }
+
+ /**
+ * A filter to only return refreshes that match the given lifecycle state. The state value
+ * is case-insensitive.
+ */
+ private com.oracle.bmc.core.model.InstancePoolRefresh.LifecycleState lifecycleState = null;
+
+ /**
+ * A filter to only return refreshes that match the given lifecycle state. The state value
+ * is case-insensitive.
+ *
+ * @param lifecycleState the value to set
+ * @return this builder instance
+ */
+ public Builder lifecycleState(
+ com.oracle.bmc.core.model.InstancePoolRefresh.LifecycleState lifecycleState) {
+ this.lifecycleState = lifecycleState;
+ 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(ListInstancePoolRefreshesRequest o) {
+ compartmentId(o.getCompartmentId());
+ instancePoolId(o.getInstancePoolId());
+ limit(o.getLimit());
+ page(o.getPage());
+ opcRequestId(o.getOpcRequestId());
+ sortBy(o.getSortBy());
+ sortOrder(o.getSortOrder());
+ lifecycleState(o.getLifecycleState());
+ invocationCallback(o.getInvocationCallback());
+ retryConfiguration(o.getRetryConfiguration());
+ return this;
+ }
+
+ /**
+ * Build the instance of ListInstancePoolRefreshesRequest 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 ListInstancePoolRefreshesRequest
+ */
+ public ListInstancePoolRefreshesRequest build() {
+ ListInstancePoolRefreshesRequest request = buildWithoutInvocationCallback();
+ request.setInvocationCallback(invocationCallback);
+ request.setRetryConfiguration(retryConfiguration);
+ return request;
+ }
+
+ /**
+ * Build the instance of ListInstancePoolRefreshesRequest 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 ListInstancePoolRefreshesRequest
+ */
+ public ListInstancePoolRefreshesRequest buildWithoutInvocationCallback() {
+ ListInstancePoolRefreshesRequest request = new ListInstancePoolRefreshesRequest();
+ request.compartmentId = compartmentId;
+ request.instancePoolId = instancePoolId;
+ request.limit = limit;
+ request.page = page;
+ request.opcRequestId = opcRequestId;
+ request.sortBy = sortBy;
+ request.sortOrder = sortOrder;
+ request.lifecycleState = lifecycleState;
+ return request;
+ // new ListInstancePoolRefreshesRequest(compartmentId, instancePoolId, limit, page,
+ // opcRequestId, sortBy, sortOrder, lifecycleState);
+ }
+ }
+
+ /**
+ * 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()
+ .compartmentId(compartmentId)
+ .instancePoolId(instancePoolId)
+ .limit(limit)
+ .page(page)
+ .opcRequestId(opcRequestId)
+ .sortBy(sortBy)
+ .sortOrder(sortOrder)
+ .lifecycleState(lifecycleState);
+ }
+
+ /**
+ * 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(",compartmentId=").append(String.valueOf(this.compartmentId));
+ sb.append(",instancePoolId=").append(String.valueOf(this.instancePoolId));
+ sb.append(",limit=").append(String.valueOf(this.limit));
+ sb.append(",page=").append(String.valueOf(this.page));
+ sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId));
+ sb.append(",sortBy=").append(String.valueOf(this.sortBy));
+ sb.append(",sortOrder=").append(String.valueOf(this.sortOrder));
+ sb.append(",lifecycleState=").append(String.valueOf(this.lifecycleState));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof ListInstancePoolRefreshesRequest)) {
+ return false;
+ }
+
+ ListInstancePoolRefreshesRequest other = (ListInstancePoolRefreshesRequest) o;
+ return super.equals(o)
+ && java.util.Objects.equals(this.compartmentId, other.compartmentId)
+ && java.util.Objects.equals(this.instancePoolId, other.instancePoolId)
+ && java.util.Objects.equals(this.limit, other.limit)
+ && java.util.Objects.equals(this.page, other.page)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId)
+ && java.util.Objects.equals(this.sortBy, other.sortBy)
+ && java.util.Objects.equals(this.sortOrder, other.sortOrder)
+ && java.util.Objects.equals(this.lifecycleState, other.lifecycleState);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.compartmentId == null ? 43 : this.compartmentId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.instancePoolId == null ? 43 : this.instancePoolId.hashCode());
+ result = (result * PRIME) + (this.limit == null ? 43 : this.limit.hashCode());
+ result = (result * PRIME) + (this.page == null ? 43 : this.page.hashCode());
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ result = (result * PRIME) + (this.sortBy == null ? 43 : this.sortBy.hashCode());
+ result = (result * PRIME) + (this.sortOrder == null ? 43 : this.sortOrder.hashCode());
+ result =
+ (result * PRIME)
+ + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/requests/RefreshInstancePoolRequest.java b/bmc-core/src/main/java/com/oracle/bmc/core/requests/RefreshInstancePoolRequest.java
new file mode 100644
index 0000000000..b79b6dfe07
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/requests/RefreshInstancePoolRequest.java
@@ -0,0 +1,372 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.core.requests;
+
+import com.oracle.bmc.core.model.*;
+/**
+ * Example: Click here to see how to use RefreshInstancePoolRequest.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+public class RefreshInstancePoolRequest
+ extends com.oracle.bmc.requests.BmcRequest<
+ com.oracle.bmc.core.model.RefreshInstancePoolDetails> {
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance pool.
+ */
+ private String instancePoolId;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance pool.
+ */
+ public String getInstancePoolId() {
+ return instancePoolId;
+ }
+ /** Instance pool refresh details */
+ private com.oracle.bmc.core.model.RefreshInstancePoolDetails refreshInstancePoolDetails;
+
+ /** Instance pool refresh details */
+ public com.oracle.bmc.core.model.RefreshInstancePoolDetails getRefreshInstancePoolDetails() {
+ return refreshInstancePoolDetails;
+ }
+ /**
+ * Unique identifier for the request. If you need to contact Oracle about a particular request,
+ * please provide the request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique identifier for the request. If you need to contact Oracle about a particular request,
+ * please provide the request ID.
+ */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+ /**
+ * 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;
+ }
+ /**
+ * 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.core.model.RefreshInstancePoolDetails getBody$() {
+ return refreshInstancePoolDetails;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.requests.BmcRequest.Builder<
+ RefreshInstancePoolRequest,
+ com.oracle.bmc.core.model.RefreshInstancePoolDetails> {
+ private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null;
+ private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance pool.
+ */
+ private String instancePoolId = null;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * instance pool.
+ *
+ * @param instancePoolId the value to set
+ * @return this builder instance
+ */
+ public Builder instancePoolId(String instancePoolId) {
+ this.instancePoolId = instancePoolId;
+ return this;
+ }
+
+ /** Instance pool refresh details */
+ private com.oracle.bmc.core.model.RefreshInstancePoolDetails refreshInstancePoolDetails =
+ null;
+
+ /**
+ * Instance pool refresh details
+ *
+ * @param refreshInstancePoolDetails the value to set
+ * @return this builder instance
+ */
+ public Builder refreshInstancePoolDetails(
+ com.oracle.bmc.core.model.RefreshInstancePoolDetails refreshInstancePoolDetails) {
+ this.refreshInstancePoolDetails = refreshInstancePoolDetails;
+ return this;
+ }
+
+ /**
+ * Unique identifier for the request. If you need to contact Oracle about a particular
+ * request, please provide the request ID.
+ */
+ private String opcRequestId = null;
+
+ /**
+ * Unique 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 instance
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ 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;
+ }
+
+ /**
+ * 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(RefreshInstancePoolRequest o) {
+ instancePoolId(o.getInstancePoolId());
+ refreshInstancePoolDetails(o.getRefreshInstancePoolDetails());
+ opcRequestId(o.getOpcRequestId());
+ opcRetryToken(o.getOpcRetryToken());
+ ifMatch(o.getIfMatch());
+ invocationCallback(o.getInvocationCallback());
+ retryConfiguration(o.getRetryConfiguration());
+ return this;
+ }
+
+ /**
+ * Build the instance of RefreshInstancePoolRequest 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 RefreshInstancePoolRequest
+ */
+ public RefreshInstancePoolRequest build() {
+ RefreshInstancePoolRequest 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.core.model.RefreshInstancePoolDetails body) {
+ refreshInstancePoolDetails(body);
+ return this;
+ }
+
+ /**
+ * Build the instance of RefreshInstancePoolRequest 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 RefreshInstancePoolRequest
+ */
+ public RefreshInstancePoolRequest buildWithoutInvocationCallback() {
+ RefreshInstancePoolRequest request = new RefreshInstancePoolRequest();
+ request.instancePoolId = instancePoolId;
+ request.refreshInstancePoolDetails = refreshInstancePoolDetails;
+ request.opcRequestId = opcRequestId;
+ request.opcRetryToken = opcRetryToken;
+ request.ifMatch = ifMatch;
+ return request;
+ // new RefreshInstancePoolRequest(instancePoolId, refreshInstancePoolDetails,
+ // opcRequestId, opcRetryToken, 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()
+ .instancePoolId(instancePoolId)
+ .refreshInstancePoolDetails(refreshInstancePoolDetails)
+ .opcRequestId(opcRequestId)
+ .opcRetryToken(opcRetryToken)
+ .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(",instancePoolId=").append(String.valueOf(this.instancePoolId));
+ sb.append(",refreshInstancePoolDetails=")
+ .append(String.valueOf(this.refreshInstancePoolDetails));
+ sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId));
+ sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken));
+ 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 RefreshInstancePoolRequest)) {
+ return false;
+ }
+
+ RefreshInstancePoolRequest other = (RefreshInstancePoolRequest) o;
+ return super.equals(o)
+ && java.util.Objects.equals(this.instancePoolId, other.instancePoolId)
+ && java.util.Objects.equals(
+ this.refreshInstancePoolDetails, other.refreshInstancePoolDetails)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId)
+ && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken)
+ && java.util.Objects.equals(this.ifMatch, other.ifMatch);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.instancePoolId == null ? 43 : this.instancePoolId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.refreshInstancePoolDetails == null
+ ? 43
+ : this.refreshInstancePoolDetails.hashCode());
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode());
+ result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/responses/CancelInstancePoolRefreshResponse.java b/bmc-core/src/main/java/com/oracle/bmc/core/responses/CancelInstancePoolRefreshResponse.java
new file mode 100644
index 0000000000..c72f8c7c72
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/responses/CancelInstancePoolRefreshResponse.java
@@ -0,0 +1,194 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.core.responses;
+
+import com.oracle.bmc.core.model.*;
+
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+public class CancelInstancePoolRefreshResponse extends com.oracle.bmc.responses.BmcResponse {
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ *
+ * @return the value
+ */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work
+ * request. Use
+ * [GetWorkRequest](https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
+ * with this ID to track the status of the request.
+ */
+ private String opcWorkRequestId;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work
+ * request. Use
+ * [GetWorkRequest](https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
+ * with this ID to track the status of the request.
+ *
+ * @return the value
+ */
+ public String getOpcWorkRequestId() {
+ return opcWorkRequestId;
+ }
+
+ @java.beans.ConstructorProperties({
+ "__httpStatusCode__",
+ "headers",
+ "opcRequestId",
+ "opcWorkRequestId"
+ })
+ private CancelInstancePoolRefreshResponse(
+ int __httpStatusCode__,
+ java.util.Map> headers,
+ String opcRequestId,
+ String opcWorkRequestId) {
+ super(__httpStatusCode__, headers);
+ this.opcRequestId = opcRequestId;
+ this.opcWorkRequestId = opcWorkRequestId;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.responses.BmcResponse.Builder<
+ CancelInstancePoolRefreshResponse> {
+ private int __httpStatusCode__;
+
+ @Override
+ public Builder __httpStatusCode__(int __httpStatusCode__) {
+ this.__httpStatusCode__ = __httpStatusCode__;
+ return this;
+ }
+
+ private java.util.Map> headers;
+
+ @Override
+ public Builder headers(java.util.Map> headers) {
+ this.headers = headers;
+ return this;
+ }
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * work request. Use
+ * [GetWorkRequest](https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
+ * with this ID to track the status of the request.
+ */
+ private String opcWorkRequestId;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * work request. Use
+ * [GetWorkRequest](https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
+ * with this ID 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;
+ }
+
+ /**
+ * Copy method to populate the builder with values from the given instance.
+ *
+ * @return this builder instance
+ */
+ @Override
+ public Builder copy(CancelInstancePoolRefreshResponse o) {
+ __httpStatusCode__(o.get__httpStatusCode__());
+ headers(o.getHeaders());
+ opcRequestId(o.getOpcRequestId());
+ opcWorkRequestId(o.getOpcWorkRequestId());
+
+ return this;
+ }
+
+ /**
+ * Build the response object.
+ *
+ * @return the response object
+ */
+ @Override
+ public CancelInstancePoolRefreshResponse build() {
+ return new CancelInstancePoolRefreshResponse(
+ __httpStatusCode__, headers, opcRequestId, opcWorkRequestId);
+ }
+ }
+
+ /**
+ * Return a new builder for this response object.
+ *
+ * @return builder for the response object
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ @Override
+ public String toString() {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("(");
+ sb.append("super=").append(super.toString());
+ sb.append(",opcRequestId=").append(String.valueOf(opcRequestId));
+ sb.append(",opcWorkRequestId=").append(String.valueOf(opcWorkRequestId));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof CancelInstancePoolRefreshResponse)) {
+ return false;
+ }
+
+ CancelInstancePoolRefreshResponse other = (CancelInstancePoolRefreshResponse) o;
+ return super.equals(o)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId)
+ && java.util.Objects.equals(this.opcWorkRequestId, other.opcWorkRequestId);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.opcWorkRequestId == null ? 43 : this.opcWorkRequestId.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/responses/GetInstancePoolRefreshResponse.java b/bmc-core/src/main/java/com/oracle/bmc/core/responses/GetInstancePoolRefreshResponse.java
new file mode 100644
index 0000000000..fc314327b2
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/responses/GetInstancePoolRefreshResponse.java
@@ -0,0 +1,214 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.core.responses;
+
+import com.oracle.bmc.core.model.*;
+
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+public class GetInstancePoolRefreshResponse extends com.oracle.bmc.responses.BmcResponse {
+ /** For optimistic concurrency control. See {@code if-match}. */
+ private String etag;
+
+ /**
+ * For optimistic concurrency control. See {@code if-match}.
+ *
+ * @return the value
+ */
+ public String getEtag() {
+ return etag;
+ }
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ *
+ * @return the value
+ */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+
+ /** The returned {@code InstancePoolRefresh} instance. */
+ private com.oracle.bmc.core.model.InstancePoolRefresh instancePoolRefresh;
+
+ /**
+ * The returned {@code InstancePoolRefresh} instance.
+ *
+ * @return the value
+ */
+ public com.oracle.bmc.core.model.InstancePoolRefresh getInstancePoolRefresh() {
+ return instancePoolRefresh;
+ }
+
+ @java.beans.ConstructorProperties({
+ "__httpStatusCode__",
+ "headers",
+ "etag",
+ "opcRequestId",
+ "instancePoolRefresh"
+ })
+ private GetInstancePoolRefreshResponse(
+ int __httpStatusCode__,
+ java.util.Map> headers,
+ String etag,
+ String opcRequestId,
+ com.oracle.bmc.core.model.InstancePoolRefresh instancePoolRefresh) {
+ super(__httpStatusCode__, headers);
+ this.etag = etag;
+ this.opcRequestId = opcRequestId;
+ this.instancePoolRefresh = instancePoolRefresh;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.responses.BmcResponse.Builder<
+ GetInstancePoolRefreshResponse> {
+ 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;
+ }
+
+ /** For optimistic concurrency control. See {@code if-match}. */
+ private String etag;
+
+ /**
+ * For optimistic concurrency control. See {@code if-match}.
+ *
+ * @param etag the value to set
+ * @return this builder
+ */
+ public Builder etag(String etag) {
+ this.etag = etag;
+ return this;
+ }
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /** The returned {@code InstancePoolRefresh} instance. */
+ private com.oracle.bmc.core.model.InstancePoolRefresh instancePoolRefresh;
+
+ /**
+ * The returned {@code InstancePoolRefresh} instance.
+ *
+ * @param instancePoolRefresh the value to set
+ * @return this builder
+ */
+ public Builder instancePoolRefresh(
+ com.oracle.bmc.core.model.InstancePoolRefresh instancePoolRefresh) {
+ this.instancePoolRefresh = instancePoolRefresh;
+ return this;
+ }
+
+ /**
+ * Copy method to populate the builder with values from the given instance.
+ *
+ * @return this builder instance
+ */
+ @Override
+ public Builder copy(GetInstancePoolRefreshResponse o) {
+ __httpStatusCode__(o.get__httpStatusCode__());
+ headers(o.getHeaders());
+ etag(o.getEtag());
+ opcRequestId(o.getOpcRequestId());
+ instancePoolRefresh(o.getInstancePoolRefresh());
+
+ return this;
+ }
+
+ /**
+ * Build the response object.
+ *
+ * @return the response object
+ */
+ @Override
+ public GetInstancePoolRefreshResponse build() {
+ return new GetInstancePoolRefreshResponse(
+ __httpStatusCode__, headers, etag, opcRequestId, instancePoolRefresh);
+ }
+ }
+
+ /**
+ * 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(",etag=").append(String.valueOf(etag));
+ sb.append(",opcRequestId=").append(String.valueOf(opcRequestId));
+ sb.append(",instancePoolRefresh=").append(String.valueOf(instancePoolRefresh));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof GetInstancePoolRefreshResponse)) {
+ return false;
+ }
+
+ GetInstancePoolRefreshResponse other = (GetInstancePoolRefreshResponse) o;
+ return super.equals(o)
+ && java.util.Objects.equals(this.etag, other.etag)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId)
+ && java.util.Objects.equals(this.instancePoolRefresh, other.instancePoolRefresh);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result = (result * PRIME) + (this.etag == null ? 43 : this.etag.hashCode());
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.instancePoolRefresh == null
+ ? 43
+ : this.instancePoolRefresh.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/responses/ListInstancePoolRefreshesResponse.java b/bmc-core/src/main/java/com/oracle/bmc/core/responses/ListInstancePoolRefreshesResponse.java
new file mode 100644
index 0000000000..26487f76a9
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/responses/ListInstancePoolRefreshesResponse.java
@@ -0,0 +1,235 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.core.responses;
+
+import com.oracle.bmc.core.model.*;
+
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+public class ListInstancePoolRefreshesResponse extends com.oracle.bmc.responses.BmcResponse {
+ /**
+ * For list pagination. When this header appears in the response, additional pages of results
+ * remain. For important details about how pagination works, see [List
+ * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
+ */
+ private String opcNextPage;
+
+ /**
+ * For list pagination. When this header appears in the response, additional pages of results
+ * remain. For important details about how pagination works, see [List
+ * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
+ *
+ * @return the value
+ */
+ public String getOpcNextPage() {
+ return opcNextPage;
+ }
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ *
+ * @return the value
+ */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+
+ /** The returned {@code InstancePoolRefreshCollection} instance. */
+ private com.oracle.bmc.core.model.InstancePoolRefreshCollection instancePoolRefreshCollection;
+
+ /**
+ * The returned {@code InstancePoolRefreshCollection} instance.
+ *
+ * @return the value
+ */
+ public com.oracle.bmc.core.model.InstancePoolRefreshCollection
+ getInstancePoolRefreshCollection() {
+ return instancePoolRefreshCollection;
+ }
+
+ @java.beans.ConstructorProperties({
+ "__httpStatusCode__",
+ "headers",
+ "opcNextPage",
+ "opcRequestId",
+ "instancePoolRefreshCollection"
+ })
+ private ListInstancePoolRefreshesResponse(
+ int __httpStatusCode__,
+ java.util.Map> headers,
+ String opcNextPage,
+ String opcRequestId,
+ com.oracle.bmc.core.model.InstancePoolRefreshCollection instancePoolRefreshCollection) {
+ super(__httpStatusCode__, headers);
+ this.opcNextPage = opcNextPage;
+ this.opcRequestId = opcRequestId;
+ this.instancePoolRefreshCollection = instancePoolRefreshCollection;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.responses.BmcResponse.Builder<
+ ListInstancePoolRefreshesResponse> {
+ 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;
+ }
+
+ /**
+ * For list pagination. When this header appears in the response, additional pages of
+ * results remain. For important details about how pagination works, see [List
+ * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
+ */
+ private String opcNextPage;
+
+ /**
+ * For list pagination. When this header appears in the response, additional pages of
+ * results remain. For important details about how pagination works, see [List
+ * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
+ *
+ * @param opcNextPage the value to set
+ * @return this builder
+ */
+ public Builder opcNextPage(String opcNextPage) {
+ this.opcNextPage = opcNextPage;
+ return this;
+ }
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /** The returned {@code InstancePoolRefreshCollection} instance. */
+ private com.oracle.bmc.core.model.InstancePoolRefreshCollection
+ instancePoolRefreshCollection;
+
+ /**
+ * The returned {@code InstancePoolRefreshCollection} instance.
+ *
+ * @param instancePoolRefreshCollection the value to set
+ * @return this builder
+ */
+ public Builder instancePoolRefreshCollection(
+ com.oracle.bmc.core.model.InstancePoolRefreshCollection
+ instancePoolRefreshCollection) {
+ this.instancePoolRefreshCollection = instancePoolRefreshCollection;
+ return this;
+ }
+
+ /**
+ * Copy method to populate the builder with values from the given instance.
+ *
+ * @return this builder instance
+ */
+ @Override
+ public Builder copy(ListInstancePoolRefreshesResponse o) {
+ __httpStatusCode__(o.get__httpStatusCode__());
+ headers(o.getHeaders());
+ opcNextPage(o.getOpcNextPage());
+ opcRequestId(o.getOpcRequestId());
+ instancePoolRefreshCollection(o.getInstancePoolRefreshCollection());
+
+ return this;
+ }
+
+ /**
+ * Build the response object.
+ *
+ * @return the response object
+ */
+ @Override
+ public ListInstancePoolRefreshesResponse build() {
+ return new ListInstancePoolRefreshesResponse(
+ __httpStatusCode__,
+ headers,
+ opcNextPage,
+ opcRequestId,
+ instancePoolRefreshCollection);
+ }
+ }
+
+ /**
+ * 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(",opcNextPage=").append(String.valueOf(opcNextPage));
+ sb.append(",opcRequestId=").append(String.valueOf(opcRequestId));
+ sb.append(",instancePoolRefreshCollection=")
+ .append(String.valueOf(instancePoolRefreshCollection));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof ListInstancePoolRefreshesResponse)) {
+ return false;
+ }
+
+ ListInstancePoolRefreshesResponse other = (ListInstancePoolRefreshesResponse) o;
+ return super.equals(o)
+ && java.util.Objects.equals(this.opcNextPage, other.opcNextPage)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId)
+ && java.util.Objects.equals(
+ this.instancePoolRefreshCollection, other.instancePoolRefreshCollection);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result = (result * PRIME) + (this.opcNextPage == null ? 43 : this.opcNextPage.hashCode());
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.instancePoolRefreshCollection == null
+ ? 43
+ : this.instancePoolRefreshCollection.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/responses/RefreshInstancePoolResponse.java b/bmc-core/src/main/java/com/oracle/bmc/core/responses/RefreshInstancePoolResponse.java
new file mode 100644
index 0000000000..9bc27525f3
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/responses/RefreshInstancePoolResponse.java
@@ -0,0 +1,269 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.core.responses;
+
+import com.oracle.bmc.core.model.*;
+
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+public class RefreshInstancePoolResponse extends com.oracle.bmc.responses.BmcResponse {
+ /** For optimistic concurrency control. See {@code if-match}. */
+ private String etag;
+
+ /**
+ * For optimistic concurrency control. See {@code if-match}.
+ *
+ * @return the value
+ */
+ public String getEtag() {
+ return etag;
+ }
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ *
+ * @return the value
+ */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work
+ * request. Use
+ * [GetWorkRequest](https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
+ * with this ID to track the status of the request.
+ */
+ private String opcWorkRequestId;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work
+ * request. Use
+ * [GetWorkRequest](https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
+ * with this ID to track the status of the request.
+ *
+ * @return the value
+ */
+ public String getOpcWorkRequestId() {
+ return opcWorkRequestId;
+ }
+
+ /** The returned {@code InstancePoolRefresh} instance. */
+ private com.oracle.bmc.core.model.InstancePoolRefresh instancePoolRefresh;
+
+ /**
+ * The returned {@code InstancePoolRefresh} instance.
+ *
+ * @return the value
+ */
+ public com.oracle.bmc.core.model.InstancePoolRefresh getInstancePoolRefresh() {
+ return instancePoolRefresh;
+ }
+
+ @java.beans.ConstructorProperties({
+ "__httpStatusCode__",
+ "headers",
+ "etag",
+ "opcRequestId",
+ "opcWorkRequestId",
+ "instancePoolRefresh"
+ })
+ private RefreshInstancePoolResponse(
+ int __httpStatusCode__,
+ java.util.Map> headers,
+ String etag,
+ String opcRequestId,
+ String opcWorkRequestId,
+ com.oracle.bmc.core.model.InstancePoolRefresh instancePoolRefresh) {
+ super(__httpStatusCode__, headers);
+ this.etag = etag;
+ this.opcRequestId = opcRequestId;
+ this.opcWorkRequestId = opcWorkRequestId;
+ this.instancePoolRefresh = instancePoolRefresh;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.responses.BmcResponse.Builder {
+ 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;
+ }
+
+ /** For optimistic concurrency control. See {@code if-match}. */
+ private String etag;
+
+ /**
+ * For optimistic concurrency control. See {@code if-match}.
+ *
+ * @param etag the value to set
+ * @return this builder
+ */
+ public Builder etag(String etag) {
+ this.etag = etag;
+ return this;
+ }
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * work request. Use
+ * [GetWorkRequest](https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
+ * with this ID to track the status of the request.
+ */
+ private String opcWorkRequestId;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * work request. Use
+ * [GetWorkRequest](https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
+ * with this ID 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;
+ }
+
+ /** The returned {@code InstancePoolRefresh} instance. */
+ private com.oracle.bmc.core.model.InstancePoolRefresh instancePoolRefresh;
+
+ /**
+ * The returned {@code InstancePoolRefresh} instance.
+ *
+ * @param instancePoolRefresh the value to set
+ * @return this builder
+ */
+ public Builder instancePoolRefresh(
+ com.oracle.bmc.core.model.InstancePoolRefresh instancePoolRefresh) {
+ this.instancePoolRefresh = instancePoolRefresh;
+ return this;
+ }
+
+ /**
+ * Copy method to populate the builder with values from the given instance.
+ *
+ * @return this builder instance
+ */
+ @Override
+ public Builder copy(RefreshInstancePoolResponse o) {
+ __httpStatusCode__(o.get__httpStatusCode__());
+ headers(o.getHeaders());
+ etag(o.getEtag());
+ opcRequestId(o.getOpcRequestId());
+ opcWorkRequestId(o.getOpcWorkRequestId());
+ instancePoolRefresh(o.getInstancePoolRefresh());
+
+ return this;
+ }
+
+ /**
+ * Build the response object.
+ *
+ * @return the response object
+ */
+ @Override
+ public RefreshInstancePoolResponse build() {
+ return new RefreshInstancePoolResponse(
+ __httpStatusCode__,
+ headers,
+ etag,
+ opcRequestId,
+ opcWorkRequestId,
+ instancePoolRefresh);
+ }
+ }
+
+ /**
+ * 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(",etag=").append(String.valueOf(etag));
+ sb.append(",opcRequestId=").append(String.valueOf(opcRequestId));
+ sb.append(",opcWorkRequestId=").append(String.valueOf(opcWorkRequestId));
+ sb.append(",instancePoolRefresh=").append(String.valueOf(instancePoolRefresh));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof RefreshInstancePoolResponse)) {
+ return false;
+ }
+
+ RefreshInstancePoolResponse other = (RefreshInstancePoolResponse) o;
+ return super.equals(o)
+ && java.util.Objects.equals(this.etag, other.etag)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId)
+ && java.util.Objects.equals(this.opcWorkRequestId, other.opcWorkRequestId)
+ && java.util.Objects.equals(this.instancePoolRefresh, other.instancePoolRefresh);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result = (result * PRIME) + (this.etag == null ? 43 : this.etag.hashCode());
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.opcWorkRequestId == null ? 43 : this.opcWorkRequestId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.instancePoolRefresh == null
+ ? 43
+ : this.instancePoolRefresh.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-core/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-core/reflect-config.json b/bmc-core/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-core/reflect-config.json
index 13cd8d6415..d7bc70b5b2 100644
--- a/bmc-core/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-core/reflect-config.json
+++ b/bmc-core/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-core/reflect-config.json
@@ -1514,6 +1514,20 @@
"allDeclaredMethods": true,
"allDeclaredConstructors": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.core.model.CancelInstancePoolRefreshDetails",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.core.model.CancelInstancePoolRefreshDetails$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.core.model.CapacityBin",
@@ -6069,6 +6083,20 @@
"allDeclaredFields": true,
"allDeclaredMethods": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.core.model.InstanceAuthz",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.core.model.InstanceAuthz$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.core.model.InstanceAvailabilityConfig",
@@ -6948,6 +6976,20 @@
"allDeclaredFields": true,
"allDeclaredMethods": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.core.model.InstancePoolLaunchBeforeTerminatingDetails",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.core.model.InstancePoolLaunchBeforeTerminatingDetails$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.core.model.InstancePoolLaunchOverrideDetails",
@@ -7092,6 +7134,20 @@
"allDeclaredFields": true,
"allDeclaredMethods": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.core.model.InstancePoolMaintenancePolicyDetails",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.core.model.InstancePoolMaintenancePolicyDetails$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.core.model.InstancePoolPlacementConfiguration",
@@ -7202,6 +7258,54 @@
"allDeclaredFields": true,
"allDeclaredMethods": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.core.model.InstancePoolRefresh",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.core.model.InstancePoolRefresh$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.core.model.InstancePoolRefresh$LifecycleState",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.core.model.InstancePoolRefreshCollection",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.core.model.InstancePoolRefreshCollection$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.core.model.InstancePoolRefreshSummary",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.core.model.InstancePoolRefreshSummary$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.core.model.InstancePoolSummary",
@@ -8869,6 +8973,20 @@
"allDeclaredFields": true,
"allDeclaredMethods": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.core.model.RefreshInstancePoolDetails",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.core.model.RefreshInstancePoolDetails$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.core.model.RemotePeeringConnection",
diff --git a/bmc-costad/pom.xml b/bmc-costad/pom.xml
index cbdf382934..c2ad3ad3d4 100644
--- a/bmc-costad/pom.xml
+++ b/bmc-costad/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.102.0
+ 3.103.0
../pom.xml
oci-java-sdk-costad
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.102.0
+ 3.103.0
\ No newline at end of file
diff --git a/bmc-dashboardservice/pom.xml b/bmc-dashboardservice/pom.xml
index 712ce00011..c24de22690 100644
--- a/bmc-dashboardservice/pom.xml
+++ b/bmc-dashboardservice/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.102.0
+ 3.103.0
../pom.xml
oci-java-sdk-dashboardservice
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.102.0
+ 3.103.0
\ No newline at end of file
diff --git a/bmc-database/pom.xml b/bmc-database/pom.xml
index 93118d3928..8440cbe61d 100644
--- a/bmc-database/pom.xml
+++ b/bmc-database/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.102.0
+ 3.103.0
../pom.xml
@@ -18,12 +18,12 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.102.0
+ 3.103.0
com.oracle.oci.sdk
oci-java-sdk-workrequests
- 3.102.0
+ 3.103.0
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/Database.java b/bmc-database/src/main/java/com/oracle/bmc/database/Database.java
index 6e387da0d3..2b9ac5c732 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
@@ -383,6 +383,24 @@ ChangeAutonomousDatabaseSubscriptionResponse changeAutonomousDatabaseSubscriptio
ChangeAutonomousVmClusterCompartmentResponse changeAutonomousVmClusterCompartment(
ChangeAutonomousVmClusterCompartmentRequest request);
+ /**
+ * Update the Autonomous VM Cluster's key management system details where TDE keys of this
+ * cluster's ACDs will be stored.
+ *
+ * @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
+ * ChangeAvmKeyManagementSystem API.
+ */
+ ChangeAvmKeyManagementSystemResponse changeAvmKeyManagementSystem(
+ ChangeAvmKeyManagementSystemRequest request);
+
/**
* Move the backup destination and its dependent resources to the specified compartment. For
* more information, see [Moving Database Resources to a Different
@@ -420,6 +438,24 @@ ChangeBackupDestinationCompartmentResponse changeBackupDestinationCompartment(
ChangeBaseccVmClusterCompartmentResponse changeBaseccVmClusterCompartment(
ChangeBaseccVmClusterCompartmentRequest request);
+ /**
+ * Update the Cloud Autonomous VM Cluster's key management system details where TDE keys of this
+ * cluster's ACDs will be stored.
+ *
+ * @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
+ * ChangeCavmKeyManagementSystem API.
+ */
+ ChangeCavmKeyManagementSystemResponse changeCavmKeyManagementSystem(
+ ChangeCavmKeyManagementSystemRequest request);
+
/**
* Moves an Autonomous Exadata VM cluster in the Oracle cloud and its dependent resources to
* another compartment. For Exadata Cloud@Customer systems, see {@link
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 b5b1002fa7..0f109f49ec 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
@@ -390,6 +390,24 @@ java.util.concurrent.Future cancelExecutionWindow
ChangeAutonomousVmClusterCompartmentResponse>
handler);
+ /**
+ * Update the Autonomous VM Cluster's key management system details where TDE keys of this
+ * cluster's ACDs will be stored.
+ *
+ * @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 changeAvmKeyManagementSystem(
+ ChangeAvmKeyManagementSystemRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ ChangeAvmKeyManagementSystemRequest,
+ ChangeAvmKeyManagementSystemResponse>
+ handler);
+
/**
* Move the backup destination and its dependent resources to the specified compartment. For
* more information, see [Moving Database Resources to a Different
@@ -429,6 +447,25 @@ java.util.concurrent.Future cancelExecutionWindow
ChangeBaseccVmClusterCompartmentResponse>
handler);
+ /**
+ * Update the Cloud Autonomous VM Cluster's key management system details where TDE keys of this
+ * cluster's ACDs will be stored.
+ *
+ * @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
+ changeCavmKeyManagementSystem(
+ ChangeCavmKeyManagementSystemRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ ChangeCavmKeyManagementSystemRequest,
+ ChangeCavmKeyManagementSystemResponse>
+ handler);
+
/**
* Moves an Autonomous Exadata VM cluster in the Oracle cloud and its dependent resources to
* another compartment. For Exadata Cloud@Customer systems, see {@link
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 07faa6d638..8202a811e6 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
@@ -876,6 +876,48 @@ public java.util.concurrent.Future cancelExecutio
.callAsync(handler);
}
+ @Override
+ public java.util.concurrent.Future
+ changeAvmKeyManagementSystem(
+ ChangeAvmKeyManagementSystemRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ ChangeAvmKeyManagementSystemRequest,
+ ChangeAvmKeyManagementSystemResponse>
+ handler) {
+ Objects.requireNonNull(
+ request.getChangeAvmKeyManagementSystemDetails(),
+ "changeAvmKeyManagementSystemDetails is required");
+
+ Validate.notBlank(
+ request.getAutonomousVmClusterId(), "autonomousVmClusterId must not be blank");
+
+ return clientCall(request, ChangeAvmKeyManagementSystemResponse::builder)
+ .logger(LOG, "changeAvmKeyManagementSystem")
+ .serviceDetails(
+ "Database",
+ "ChangeAvmKeyManagementSystem",
+ "https://docs.oracle.com/iaas/api/#/en/database/20160918/AutonomousVmCluster/ChangeAvmKeyManagementSystem")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(ChangeAvmKeyManagementSystemRequest::builder)
+ .basePath("/20160918")
+ .appendPathParam("autonomousVmClusters")
+ .appendPathParam(request.getAutonomousVmClusterId())
+ .appendPathParam("actions")
+ .appendPathParam("changeKeyManagementSystem")
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .appendHeader("if-match", request.getIfMatch())
+ .hasBody()
+ .handleResponseHeaderString(
+ "opc-work-request-id",
+ ChangeAvmKeyManagementSystemResponse.Builder::opcWorkRequestId)
+ .handleResponseHeaderString(
+ "opc-request-id",
+ ChangeAvmKeyManagementSystemResponse.Builder::opcRequestId)
+ .callAsync(handler);
+ }
+
@Override
public java.util.concurrent.Future
changeBackupDestinationCompartment(
@@ -960,6 +1002,49 @@ public java.util.concurrent.Future cancelExecutio
.callAsync(handler);
}
+ @Override
+ public java.util.concurrent.Future
+ changeCavmKeyManagementSystem(
+ ChangeCavmKeyManagementSystemRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ ChangeCavmKeyManagementSystemRequest,
+ ChangeCavmKeyManagementSystemResponse>
+ handler) {
+ Objects.requireNonNull(
+ request.getChangeCavmKeyManagementSystemDetails(),
+ "changeCavmKeyManagementSystemDetails is required");
+
+ Validate.notBlank(
+ request.getCloudAutonomousVmClusterId(),
+ "cloudAutonomousVmClusterId must not be blank");
+
+ return clientCall(request, ChangeCavmKeyManagementSystemResponse::builder)
+ .logger(LOG, "changeCavmKeyManagementSystem")
+ .serviceDetails(
+ "Database",
+ "ChangeCavmKeyManagementSystem",
+ "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudAutonomousVmCluster/ChangeCavmKeyManagementSystem")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(ChangeCavmKeyManagementSystemRequest::builder)
+ .basePath("/20160918")
+ .appendPathParam("cloudAutonomousVmClusters")
+ .appendPathParam(request.getCloudAutonomousVmClusterId())
+ .appendPathParam("actions")
+ .appendPathParam("changeKeyManagementSystem")
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .appendHeader("if-match", request.getIfMatch())
+ .hasBody()
+ .handleResponseHeaderString(
+ "opc-work-request-id",
+ ChangeCavmKeyManagementSystemResponse.Builder::opcWorkRequestId)
+ .handleResponseHeaderString(
+ "opc-request-id",
+ ChangeCavmKeyManagementSystemResponse.Builder::opcRequestId)
+ .callAsync(handler);
+ }
+
@Override
public java.util.concurrent.Future
changeCloudAutonomousVmClusterCompartment(
@@ -11194,6 +11279,7 @@ public java.util.concurrent.Future listAutonom
.appendEnumQueryParam("sortBy", request.getSortBy())
.appendEnumQueryParam("sortOrder", request.getSortOrder())
.appendEnumQueryParam("lifecycleState", request.getLifecycleState())
+ .appendEnumQueryParam("kmsType", request.getKmsType())
.appendQueryParam("displayName", request.getDisplayName())
.accept("application/json")
.appendHeader("opc-request-id", request.getOpcRequestId())
@@ -11517,6 +11603,7 @@ public java.util.concurrent.Future listBaseccVmClu
.appendEnumQueryParam("sortBy", request.getSortBy())
.appendEnumQueryParam("sortOrder", request.getSortOrder())
.appendEnumQueryParam("lifecycleState", request.getLifecycleState())
+ .appendEnumQueryParam("kmsType", request.getKmsType())
.appendQueryParam("availabilityDomain", request.getAvailabilityDomain())
.appendQueryParam("displayName", request.getDisplayName())
.accept("application/json")
@@ -13315,6 +13402,7 @@ public java.util.concurrent.Future listKeyStores(
.appendQueryParam("compartmentId", request.getCompartmentId())
.appendQueryParam("limit", request.getLimit())
.appendQueryParam("page", request.getPage())
+ .appendEnumQueryParam("keyStoreType", request.getKeyStoreType())
.accept("application/json")
.appendHeader("opc-request-id", request.getOpcRequestId())
.handleBodyList(
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 e7f27f2973..644006ba30 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
@@ -828,6 +828,43 @@ public ChangeAutonomousVmClusterCompartmentResponse changeAutonomousVmClusterCom
.callSync();
}
+ @Override
+ public ChangeAvmKeyManagementSystemResponse changeAvmKeyManagementSystem(
+ ChangeAvmKeyManagementSystemRequest request) {
+ Objects.requireNonNull(
+ request.getChangeAvmKeyManagementSystemDetails(),
+ "changeAvmKeyManagementSystemDetails is required");
+
+ Validate.notBlank(
+ request.getAutonomousVmClusterId(), "autonomousVmClusterId must not be blank");
+
+ return clientCall(request, ChangeAvmKeyManagementSystemResponse::builder)
+ .logger(LOG, "changeAvmKeyManagementSystem")
+ .serviceDetails(
+ "Database",
+ "ChangeAvmKeyManagementSystem",
+ "https://docs.oracle.com/iaas/api/#/en/database/20160918/AutonomousVmCluster/ChangeAvmKeyManagementSystem")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(ChangeAvmKeyManagementSystemRequest::builder)
+ .basePath("/20160918")
+ .appendPathParam("autonomousVmClusters")
+ .appendPathParam(request.getAutonomousVmClusterId())
+ .appendPathParam("actions")
+ .appendPathParam("changeKeyManagementSystem")
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .appendHeader("if-match", request.getIfMatch())
+ .hasBody()
+ .handleResponseHeaderString(
+ "opc-work-request-id",
+ ChangeAvmKeyManagementSystemResponse.Builder::opcWorkRequestId)
+ .handleResponseHeaderString(
+ "opc-request-id",
+ ChangeAvmKeyManagementSystemResponse.Builder::opcRequestId)
+ .callSync();
+ }
+
@Override
public ChangeBackupDestinationCompartmentResponse changeBackupDestinationCompartment(
ChangeBackupDestinationCompartmentRequest request) {
@@ -902,6 +939,44 @@ public ChangeBaseccVmClusterCompartmentResponse changeBaseccVmClusterCompartment
.callSync();
}
+ @Override
+ public ChangeCavmKeyManagementSystemResponse changeCavmKeyManagementSystem(
+ ChangeCavmKeyManagementSystemRequest request) {
+ Objects.requireNonNull(
+ request.getChangeCavmKeyManagementSystemDetails(),
+ "changeCavmKeyManagementSystemDetails is required");
+
+ Validate.notBlank(
+ request.getCloudAutonomousVmClusterId(),
+ "cloudAutonomousVmClusterId must not be blank");
+
+ return clientCall(request, ChangeCavmKeyManagementSystemResponse::builder)
+ .logger(LOG, "changeCavmKeyManagementSystem")
+ .serviceDetails(
+ "Database",
+ "ChangeCavmKeyManagementSystem",
+ "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudAutonomousVmCluster/ChangeCavmKeyManagementSystem")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(ChangeCavmKeyManagementSystemRequest::builder)
+ .basePath("/20160918")
+ .appendPathParam("cloudAutonomousVmClusters")
+ .appendPathParam(request.getCloudAutonomousVmClusterId())
+ .appendPathParam("actions")
+ .appendPathParam("changeKeyManagementSystem")
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .appendHeader("if-match", request.getIfMatch())
+ .hasBody()
+ .handleResponseHeaderString(
+ "opc-work-request-id",
+ ChangeCavmKeyManagementSystemResponse.Builder::opcWorkRequestId)
+ .handleResponseHeaderString(
+ "opc-request-id",
+ ChangeCavmKeyManagementSystemResponse.Builder::opcRequestId)
+ .callSync();
+ }
+
@Override
public ChangeCloudAutonomousVmClusterCompartmentResponse
changeCloudAutonomousVmClusterCompartment(
@@ -10016,6 +10091,7 @@ public ListAutonomousVmClustersResponse listAutonomousVmClusters(
.appendEnumQueryParam("sortBy", request.getSortBy())
.appendEnumQueryParam("sortOrder", request.getSortOrder())
.appendEnumQueryParam("lifecycleState", request.getLifecycleState())
+ .appendEnumQueryParam("kmsType", request.getKmsType())
.appendQueryParam("displayName", request.getDisplayName())
.accept("application/json")
.appendHeader("opc-request-id", request.getOpcRequestId())
@@ -10305,6 +10381,7 @@ public ListCloudAutonomousVmClustersResponse listCloudAutonomousVmClusters(
.appendEnumQueryParam("sortBy", request.getSortBy())
.appendEnumQueryParam("sortOrder", request.getSortOrder())
.appendEnumQueryParam("lifecycleState", request.getLifecycleState())
+ .appendEnumQueryParam("kmsType", request.getKmsType())
.appendQueryParam("availabilityDomain", request.getAvailabilityDomain())
.appendQueryParam("displayName", request.getDisplayName())
.accept("application/json")
@@ -11914,6 +11991,7 @@ public ListKeyStoresResponse listKeyStores(ListKeyStoresRequest request) {
.appendQueryParam("compartmentId", request.getCompartmentId())
.appendQueryParam("limit", request.getLimit())
.appendQueryParam("page", request.getPage())
+ .appendEnumQueryParam("keyStoreType", request.getKeyStoreType())
.accept("application/json")
.appendHeader("opc-request-id", request.getOpcRequestId())
.handleBodyList(
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 94cabc889a..279239a9e7 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
@@ -1148,6 +1148,69 @@ public ChangeAutonomousVmClusterCompartmentResponse 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<
+ ChangeAvmKeyManagementSystemRequest, ChangeAvmKeyManagementSystemResponse>
+ forChangeAvmKeyManagementSystem(ChangeAvmKeyManagementSystemRequest request) {
+ return forChangeAvmKeyManagementSystem(
+ 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<
+ ChangeAvmKeyManagementSystemRequest, ChangeAvmKeyManagementSystemResponse>
+ forChangeAvmKeyManagementSystem(
+ ChangeAvmKeyManagementSystemRequest 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 ChangeAvmKeyManagementSystemResponse call() throws Exception {
+ final ChangeAvmKeyManagementSystemResponse response =
+ client.changeAvmKeyManagementSystem(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.
*
@@ -1279,6 +1342,69 @@ public ChangeBaseccVmClusterCompartmentResponse 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<
+ ChangeCavmKeyManagementSystemRequest, ChangeCavmKeyManagementSystemResponse>
+ forChangeCavmKeyManagementSystem(ChangeCavmKeyManagementSystemRequest request) {
+ return forChangeCavmKeyManagementSystem(
+ 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<
+ ChangeCavmKeyManagementSystemRequest, ChangeCavmKeyManagementSystemResponse>
+ forChangeCavmKeyManagementSystem(
+ ChangeCavmKeyManagementSystemRequest 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 ChangeCavmKeyManagementSystemResponse call() throws Exception {
+ final ChangeCavmKeyManagementSystemResponse response =
+ client.changeCavmKeyManagementSystem(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/AutonomousVmCluster.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousVmCluster.java
index dbec15cb45..a2999b9979 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousVmCluster.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousVmCluster.java
@@ -77,7 +77,8 @@ public final class AutonomousVmCluster
"timeOrdsCertificateExpires",
"exadataStorageInTBsLowestScaledValue",
"cpusLowestScaledValue",
- "maxAcdsLowestScaledValue"
+ "maxAcdsLowestScaledValue",
+ "keyManagementSystemDetails"
})
public AutonomousVmCluster(
String id,
@@ -133,7 +134,8 @@ public AutonomousVmCluster(
java.util.Date timeOrdsCertificateExpires,
Double exadataStorageInTBsLowestScaledValue,
Integer cpusLowestScaledValue,
- Integer maxAcdsLowestScaledValue) {
+ Integer maxAcdsLowestScaledValue,
+ KeyManagementSystemDetails keyManagementSystemDetails) {
super();
this.id = id;
this.compartmentId = compartmentId;
@@ -190,6 +192,7 @@ public AutonomousVmCluster(
this.exadataStorageInTBsLowestScaledValue = exadataStorageInTBsLowestScaledValue;
this.cpusLowestScaledValue = cpusLowestScaledValue;
this.maxAcdsLowestScaledValue = maxAcdsLowestScaledValue;
+ this.keyManagementSystemDetails = keyManagementSystemDetails;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -1121,6 +1124,16 @@ public Builder maxAcdsLowestScaledValue(Integer maxAcdsLowestScaledValue) {
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("keyManagementSystemDetails")
+ private KeyManagementSystemDetails keyManagementSystemDetails;
+
+ public Builder keyManagementSystemDetails(
+ KeyManagementSystemDetails keyManagementSystemDetails) {
+ this.keyManagementSystemDetails = keyManagementSystemDetails;
+ this.__explicitlySet__.add("keyManagementSystemDetails");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -1180,7 +1193,8 @@ public AutonomousVmCluster build() {
this.timeOrdsCertificateExpires,
this.exadataStorageInTBsLowestScaledValue,
this.cpusLowestScaledValue,
- this.maxAcdsLowestScaledValue);
+ this.maxAcdsLowestScaledValue,
+ this.keyManagementSystemDetails);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -1357,6 +1371,9 @@ public Builder copy(AutonomousVmCluster model) {
if (model.wasPropertyExplicitlySet("maxAcdsLowestScaledValue")) {
this.maxAcdsLowestScaledValue(model.getMaxAcdsLowestScaledValue());
}
+ if (model.wasPropertyExplicitlySet("keyManagementSystemDetails")) {
+ this.keyManagementSystemDetails(model.getKeyManagementSystemDetails());
+ }
return this;
}
}
@@ -2370,6 +2387,13 @@ public Integer getMaxAcdsLowestScaledValue() {
return maxAcdsLowestScaledValue;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("keyManagementSystemDetails")
+ private final KeyManagementSystemDetails keyManagementSystemDetails;
+
+ public KeyManagementSystemDetails getKeyManagementSystemDetails() {
+ return keyManagementSystemDetails;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -2456,6 +2480,8 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", cpusLowestScaledValue=").append(String.valueOf(this.cpusLowestScaledValue));
sb.append(", maxAcdsLowestScaledValue=")
.append(String.valueOf(this.maxAcdsLowestScaledValue));
+ sb.append(", keyManagementSystemDetails=")
+ .append(String.valueOf(this.keyManagementSystemDetails));
sb.append(")");
return sb.toString();
}
@@ -2549,6 +2575,8 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.cpusLowestScaledValue, other.cpusLowestScaledValue)
&& java.util.Objects.equals(
this.maxAcdsLowestScaledValue, other.maxAcdsLowestScaledValue)
+ && java.util.Objects.equals(
+ this.keyManagementSystemDetails, other.keyManagementSystemDetails)
&& super.equals(other);
}
@@ -2748,6 +2776,11 @@ public int hashCode() {
+ (this.maxAcdsLowestScaledValue == null
? 43
: this.maxAcdsLowestScaledValue.hashCode());
+ result =
+ (result * PRIME)
+ + (this.keyManagementSystemDetails == null
+ ? 43
+ : this.keyManagementSystemDetails.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousVmClusterSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousVmClusterSummary.java
index 646f7df935..c66e741ce5 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousVmClusterSummary.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousVmClusterSummary.java
@@ -77,7 +77,8 @@ public final class AutonomousVmClusterSummary
"timeOrdsCertificateExpires",
"exadataStorageInTBsLowestScaledValue",
"cpusLowestScaledValue",
- "maxAcdsLowestScaledValue"
+ "maxAcdsLowestScaledValue",
+ "keyManagementSystemDetails"
})
public AutonomousVmClusterSummary(
String id,
@@ -133,7 +134,8 @@ public AutonomousVmClusterSummary(
java.util.Date timeOrdsCertificateExpires,
Double exadataStorageInTBsLowestScaledValue,
Integer cpusLowestScaledValue,
- Integer maxAcdsLowestScaledValue) {
+ Integer maxAcdsLowestScaledValue,
+ KeyManagementSystemDetails keyManagementSystemDetails) {
super();
this.id = id;
this.compartmentId = compartmentId;
@@ -190,6 +192,7 @@ public AutonomousVmClusterSummary(
this.exadataStorageInTBsLowestScaledValue = exadataStorageInTBsLowestScaledValue;
this.cpusLowestScaledValue = cpusLowestScaledValue;
this.maxAcdsLowestScaledValue = maxAcdsLowestScaledValue;
+ this.keyManagementSystemDetails = keyManagementSystemDetails;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -1121,6 +1124,16 @@ public Builder maxAcdsLowestScaledValue(Integer maxAcdsLowestScaledValue) {
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("keyManagementSystemDetails")
+ private KeyManagementSystemDetails keyManagementSystemDetails;
+
+ public Builder keyManagementSystemDetails(
+ KeyManagementSystemDetails keyManagementSystemDetails) {
+ this.keyManagementSystemDetails = keyManagementSystemDetails;
+ this.__explicitlySet__.add("keyManagementSystemDetails");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -1180,7 +1193,8 @@ public AutonomousVmClusterSummary build() {
this.timeOrdsCertificateExpires,
this.exadataStorageInTBsLowestScaledValue,
this.cpusLowestScaledValue,
- this.maxAcdsLowestScaledValue);
+ this.maxAcdsLowestScaledValue,
+ this.keyManagementSystemDetails);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -1357,6 +1371,9 @@ public Builder copy(AutonomousVmClusterSummary model) {
if (model.wasPropertyExplicitlySet("maxAcdsLowestScaledValue")) {
this.maxAcdsLowestScaledValue(model.getMaxAcdsLowestScaledValue());
}
+ if (model.wasPropertyExplicitlySet("keyManagementSystemDetails")) {
+ this.keyManagementSystemDetails(model.getKeyManagementSystemDetails());
+ }
return this;
}
}
@@ -2370,6 +2387,13 @@ public Integer getMaxAcdsLowestScaledValue() {
return maxAcdsLowestScaledValue;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("keyManagementSystemDetails")
+ private final KeyManagementSystemDetails keyManagementSystemDetails;
+
+ public KeyManagementSystemDetails getKeyManagementSystemDetails() {
+ return keyManagementSystemDetails;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -2456,6 +2480,8 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", cpusLowestScaledValue=").append(String.valueOf(this.cpusLowestScaledValue));
sb.append(", maxAcdsLowestScaledValue=")
.append(String.valueOf(this.maxAcdsLowestScaledValue));
+ sb.append(", keyManagementSystemDetails=")
+ .append(String.valueOf(this.keyManagementSystemDetails));
sb.append(")");
return sb.toString();
}
@@ -2549,6 +2575,8 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.cpusLowestScaledValue, other.cpusLowestScaledValue)
&& java.util.Objects.equals(
this.maxAcdsLowestScaledValue, other.maxAcdsLowestScaledValue)
+ && java.util.Objects.equals(
+ this.keyManagementSystemDetails, other.keyManagementSystemDetails)
&& super.equals(other);
}
@@ -2748,6 +2776,11 @@ public int hashCode() {
+ (this.maxAcdsLowestScaledValue == null
? 43
: this.maxAcdsLowestScaledValue.hashCode());
+ result =
+ (result * PRIME)
+ + (this.keyManagementSystemDetails == null
+ ? 43
+ : this.keyManagementSystemDetails.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudAutonomousVmCluster.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudAutonomousVmCluster.java
index d74c285f21..6df4ae5460 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudAutonomousVmCluster.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudAutonomousVmCluster.java
@@ -88,7 +88,8 @@ public final class CloudAutonomousVmCluster
"multiCloudIdentityConnectorConfigs",
"tdeKeyStoreType",
"distributionAlgorithm",
- "sgaPercentage"
+ "sgaPercentage",
+ "keyManagementSystemDetails"
})
public CloudAutonomousVmCluster(
String id,
@@ -155,7 +156,8 @@ public CloudAutonomousVmCluster(
java.util.List multiCloudIdentityConnectorConfigs,
TdeKeyStoreType tdeKeyStoreType,
DistributionAlgorithm distributionAlgorithm,
- Float sgaPercentage) {
+ Float sgaPercentage,
+ KeyManagementSystemDetails keyManagementSystemDetails) {
super();
this.id = id;
this.compartmentId = compartmentId;
@@ -223,6 +225,7 @@ public CloudAutonomousVmCluster(
this.tdeKeyStoreType = tdeKeyStoreType;
this.distributionAlgorithm = distributionAlgorithm;
this.sgaPercentage = sgaPercentage;
+ this.keyManagementSystemDetails = keyManagementSystemDetails;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -1393,6 +1396,16 @@ public Builder sgaPercentage(Float sgaPercentage) {
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("keyManagementSystemDetails")
+ private KeyManagementSystemDetails keyManagementSystemDetails;
+
+ public Builder keyManagementSystemDetails(
+ KeyManagementSystemDetails keyManagementSystemDetails) {
+ this.keyManagementSystemDetails = keyManagementSystemDetails;
+ this.__explicitlySet__.add("keyManagementSystemDetails");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -1463,7 +1476,8 @@ public CloudAutonomousVmCluster build() {
this.multiCloudIdentityConnectorConfigs,
this.tdeKeyStoreType,
this.distributionAlgorithm,
- this.sgaPercentage);
+ this.sgaPercentage,
+ this.keyManagementSystemDetails);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -1674,6 +1688,9 @@ public Builder copy(CloudAutonomousVmCluster model) {
if (model.wasPropertyExplicitlySet("sgaPercentage")) {
this.sgaPercentage(model.getSgaPercentage());
}
+ if (model.wasPropertyExplicitlySet("keyManagementSystemDetails")) {
+ this.keyManagementSystemDetails(model.getKeyManagementSystemDetails());
+ }
return this;
}
}
@@ -2958,6 +2975,13 @@ public Float getSgaPercentage() {
return sgaPercentage;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("keyManagementSystemDetails")
+ private final KeyManagementSystemDetails keyManagementSystemDetails;
+
+ public KeyManagementSystemDetails getKeyManagementSystemDetails() {
+ return keyManagementSystemDetails;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -3056,6 +3080,8 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", tdeKeyStoreType=").append(String.valueOf(this.tdeKeyStoreType));
sb.append(", distributionAlgorithm=").append(String.valueOf(this.distributionAlgorithm));
sb.append(", sgaPercentage=").append(String.valueOf(this.sgaPercentage));
+ sb.append(", keyManagementSystemDetails=")
+ .append(String.valueOf(this.keyManagementSystemDetails));
sb.append(")");
return sb.toString();
}
@@ -3164,6 +3190,8 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.tdeKeyStoreType, other.tdeKeyStoreType)
&& java.util.Objects.equals(this.distributionAlgorithm, other.distributionAlgorithm)
&& java.util.Objects.equals(this.sgaPercentage, other.sgaPercentage)
+ && java.util.Objects.equals(
+ this.keyManagementSystemDetails, other.keyManagementSystemDetails)
&& super.equals(other);
}
@@ -3386,6 +3414,11 @@ public int hashCode() {
result =
(result * PRIME)
+ (this.sgaPercentage == null ? 43 : this.sgaPercentage.hashCode());
+ result =
+ (result * PRIME)
+ + (this.keyManagementSystemDetails == null
+ ? 43
+ : this.keyManagementSystemDetails.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudAutonomousVmClusterSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudAutonomousVmClusterSummary.java
index 5f4993c161..8bc3447e51 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudAutonomousVmClusterSummary.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudAutonomousVmClusterSummary.java
@@ -88,7 +88,8 @@ public final class CloudAutonomousVmClusterSummary
"multiCloudIdentityConnectorConfigs",
"tdeKeyStoreType",
"distributionAlgorithm",
- "sgaPercentage"
+ "sgaPercentage",
+ "keyManagementSystemDetails"
})
public CloudAutonomousVmClusterSummary(
String id,
@@ -155,7 +156,8 @@ public CloudAutonomousVmClusterSummary(
java.util.List multiCloudIdentityConnectorConfigs,
TdeKeyStoreType tdeKeyStoreType,
DistributionAlgorithm distributionAlgorithm,
- Float sgaPercentage) {
+ Float sgaPercentage,
+ KeyManagementSystemDetails keyManagementSystemDetails) {
super();
this.id = id;
this.compartmentId = compartmentId;
@@ -223,6 +225,7 @@ public CloudAutonomousVmClusterSummary(
this.tdeKeyStoreType = tdeKeyStoreType;
this.distributionAlgorithm = distributionAlgorithm;
this.sgaPercentage = sgaPercentage;
+ this.keyManagementSystemDetails = keyManagementSystemDetails;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -1393,6 +1396,16 @@ public Builder sgaPercentage(Float sgaPercentage) {
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("keyManagementSystemDetails")
+ private KeyManagementSystemDetails keyManagementSystemDetails;
+
+ public Builder keyManagementSystemDetails(
+ KeyManagementSystemDetails keyManagementSystemDetails) {
+ this.keyManagementSystemDetails = keyManagementSystemDetails;
+ this.__explicitlySet__.add("keyManagementSystemDetails");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -1463,7 +1476,8 @@ public CloudAutonomousVmClusterSummary build() {
this.multiCloudIdentityConnectorConfigs,
this.tdeKeyStoreType,
this.distributionAlgorithm,
- this.sgaPercentage);
+ this.sgaPercentage,
+ this.keyManagementSystemDetails);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -1674,6 +1688,9 @@ public Builder copy(CloudAutonomousVmClusterSummary model) {
if (model.wasPropertyExplicitlySet("sgaPercentage")) {
this.sgaPercentage(model.getSgaPercentage());
}
+ if (model.wasPropertyExplicitlySet("keyManagementSystemDetails")) {
+ this.keyManagementSystemDetails(model.getKeyManagementSystemDetails());
+ }
return this;
}
}
@@ -2958,6 +2975,13 @@ public Float getSgaPercentage() {
return sgaPercentage;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("keyManagementSystemDetails")
+ private final KeyManagementSystemDetails keyManagementSystemDetails;
+
+ public KeyManagementSystemDetails getKeyManagementSystemDetails() {
+ return keyManagementSystemDetails;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -3056,6 +3080,8 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", tdeKeyStoreType=").append(String.valueOf(this.tdeKeyStoreType));
sb.append(", distributionAlgorithm=").append(String.valueOf(this.distributionAlgorithm));
sb.append(", sgaPercentage=").append(String.valueOf(this.sgaPercentage));
+ sb.append(", keyManagementSystemDetails=")
+ .append(String.valueOf(this.keyManagementSystemDetails));
sb.append(")");
return sb.toString();
}
@@ -3164,6 +3190,8 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.tdeKeyStoreType, other.tdeKeyStoreType)
&& java.util.Objects.equals(this.distributionAlgorithm, other.distributionAlgorithm)
&& java.util.Objects.equals(this.sgaPercentage, other.sgaPercentage)
+ && java.util.Objects.equals(
+ this.keyManagementSystemDetails, other.keyManagementSystemDetails)
&& super.equals(other);
}
@@ -3386,6 +3414,11 @@ public int hashCode() {
result =
(result * PRIME)
+ (this.sgaPercentage == null ? 43 : this.sgaPercentage.hashCode());
+ result =
+ (result * PRIME)
+ + (this.keyManagementSystemDetails == null
+ ? 43
+ : this.keyManagementSystemDetails.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyManagementSystemDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyManagementSystemDetails.java
new file mode 100644
index 0000000000..a2d7d04706
--- /dev/null
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyManagementSystemDetails.java
@@ -0,0 +1,156 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.database.model;
+
+/**
+ * Autonomous VM Cluster Key Management System details.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model
+ * distinguishes fields that are {@code null} because they are unset from fields that are explicitly
+ * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a
+ * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link
+ * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set
+ * fields into account. The constructor, on the other hand, does not take the explicitly set fields
+ * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code
+ * null}).
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "keyManagementSystem",
+ defaultImpl = KeyManagementSystemDetails.class)
+@com.fasterxml.jackson.annotation.JsonSubTypes({
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = OracleManagedKeyManagementSystemDetails.class,
+ name = "ORACLE_MANAGED_KEYS"),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = ThalesKeyManagementSystemDetails.class,
+ name = "THALES"),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = OciVaultKeyManagementSystemDetails.class,
+ name = "OCI_VAULT"),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = OracleKeyVaultKeyManagementSystemDetails.class,
+ name = "ORACLE_KEY_VAULT")
+})
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public class KeyManagementSystemDetails
+ extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({"isExclusive"})
+ protected KeyManagementSystemDetails(Boolean isExclusive) {
+ super();
+ this.isExclusive = isExclusive;
+ }
+
+ /**
+ * If true, ACDs within this Cluster cannot use a different key management system than what is
+ * configured in AVM Cluster.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("isExclusive")
+ private final Boolean isExclusive;
+
+ /**
+ * If true, ACDs within this Cluster cannot use a different key management system than what is
+ * configured in AVM Cluster.
+ *
+ * @return the value
+ */
+ public Boolean getIsExclusive() {
+ return isExclusive;
+ }
+
+ @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("KeyManagementSystemDetails(");
+ sb.append("super=").append(super.toString());
+ sb.append("isExclusive=").append(String.valueOf(this.isExclusive));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof KeyManagementSystemDetails)) {
+ return false;
+ }
+
+ KeyManagementSystemDetails other = (KeyManagementSystemDetails) o;
+ return java.util.Objects.equals(this.isExclusive, other.isExclusive) && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result = (result * PRIME) + (this.isExclusive == null ? 43 : this.isExclusive.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+
+ /** The type of key management system used. */
+ public enum KeyManagementSystem implements com.oracle.bmc.http.internal.BmcEnum {
+ Thales("THALES"),
+ OracleKeyVault("ORACLE_KEY_VAULT"),
+ OciVault("OCI_VAULT"),
+ OracleManagedKeys("ORACLE_MANAGED_KEYS"),
+
+ /**
+ * This value is used if a service returns a value for this enum that is not recognized by
+ * this version of the SDK.
+ */
+ UnknownEnumValue(null);
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(KeyManagementSystem.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (KeyManagementSystem v : KeyManagementSystem.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ KeyManagementSystem(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static KeyManagementSystem create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'KeyManagementSystem', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
+ }
+ };
+}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStore.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStore.java
index 8094363380..b093b6022a 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStore.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStore.java
@@ -32,6 +32,8 @@ public final class KeyStore extends com.oracle.bmc.http.client.internal.Explicit
"associatedDatabases",
"associatedLongTermBackups",
"associatedLongTermBackupCount",
+ "associatedAutonomousVmClusters",
+ "associatedCloudAutonomousVmClusters",
"freeformTags",
"definedTags",
"systemTags"
@@ -47,6 +49,10 @@ public KeyStore(
java.util.List associatedDatabases,
java.util.List associatedLongTermBackups,
Integer associatedLongTermBackupCount,
+ java.util.List
+ associatedAutonomousVmClusters,
+ java.util.List
+ associatedCloudAutonomousVmClusters,
java.util.Map freeformTags,
java.util.Map> definedTags,
java.util.Map> systemTags) {
@@ -61,6 +67,8 @@ public KeyStore(
this.associatedDatabases = associatedDatabases;
this.associatedLongTermBackups = associatedLongTermBackups;
this.associatedLongTermBackupCount = associatedLongTermBackupCount;
+ this.associatedAutonomousVmClusters = associatedAutonomousVmClusters;
+ this.associatedCloudAutonomousVmClusters = associatedCloudAutonomousVmClusters;
this.freeformTags = freeformTags;
this.definedTags = definedTags;
this.systemTags = systemTags;
@@ -230,6 +238,42 @@ public Builder associatedLongTermBackupCount(Integer associatedLongTermBackupCou
this.__explicitlySet__.add("associatedLongTermBackupCount");
return this;
}
+ /** List of Autonomous VM Clusters associated with the key store. */
+ @com.fasterxml.jackson.annotation.JsonProperty("associatedAutonomousVmClusters")
+ private java.util.List
+ associatedAutonomousVmClusters;
+
+ /**
+ * List of Autonomous VM Clusters associated with the key store.
+ *
+ * @param associatedAutonomousVmClusters the value to set
+ * @return this builder
+ */
+ public Builder associatedAutonomousVmClusters(
+ java.util.List
+ associatedAutonomousVmClusters) {
+ this.associatedAutonomousVmClusters = associatedAutonomousVmClusters;
+ this.__explicitlySet__.add("associatedAutonomousVmClusters");
+ return this;
+ }
+ /** List of Cloud Autonomous VM Clusters associated with the key store. */
+ @com.fasterxml.jackson.annotation.JsonProperty("associatedCloudAutonomousVmClusters")
+ private java.util.List
+ associatedCloudAutonomousVmClusters;
+
+ /**
+ * List of Cloud Autonomous VM Clusters associated with the key store.
+ *
+ * @param associatedCloudAutonomousVmClusters the value to set
+ * @return this builder
+ */
+ public Builder associatedCloudAutonomousVmClusters(
+ java.util.List
+ associatedCloudAutonomousVmClusters) {
+ this.associatedCloudAutonomousVmClusters = associatedCloudAutonomousVmClusters;
+ this.__explicitlySet__.add("associatedCloudAutonomousVmClusters");
+ 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
@@ -315,6 +359,8 @@ public KeyStore build() {
this.associatedDatabases,
this.associatedLongTermBackups,
this.associatedLongTermBackupCount,
+ this.associatedAutonomousVmClusters,
+ this.associatedCloudAutonomousVmClusters,
this.freeformTags,
this.definedTags,
this.systemTags);
@@ -356,6 +402,13 @@ public Builder copy(KeyStore model) {
if (model.wasPropertyExplicitlySet("associatedLongTermBackupCount")) {
this.associatedLongTermBackupCount(model.getAssociatedLongTermBackupCount());
}
+ if (model.wasPropertyExplicitlySet("associatedAutonomousVmClusters")) {
+ this.associatedAutonomousVmClusters(model.getAssociatedAutonomousVmClusters());
+ }
+ if (model.wasPropertyExplicitlySet("associatedCloudAutonomousVmClusters")) {
+ this.associatedCloudAutonomousVmClusters(
+ model.getAssociatedCloudAutonomousVmClusters());
+ }
if (model.wasPropertyExplicitlySet("freeformTags")) {
this.freeformTags(model.getFreeformTags());
}
@@ -565,6 +618,36 @@ public Integer getAssociatedLongTermBackupCount() {
return associatedLongTermBackupCount;
}
+ /** List of Autonomous VM Clusters associated with the key store. */
+ @com.fasterxml.jackson.annotation.JsonProperty("associatedAutonomousVmClusters")
+ private final java.util.List
+ associatedAutonomousVmClusters;
+
+ /**
+ * List of Autonomous VM Clusters associated with the key store.
+ *
+ * @return the value
+ */
+ public java.util.List
+ getAssociatedAutonomousVmClusters() {
+ return associatedAutonomousVmClusters;
+ }
+
+ /** List of Cloud Autonomous VM Clusters associated with the key store. */
+ @com.fasterxml.jackson.annotation.JsonProperty("associatedCloudAutonomousVmClusters")
+ private final java.util.List
+ associatedCloudAutonomousVmClusters;
+
+ /**
+ * List of Cloud Autonomous VM Clusters associated with the key store.
+ *
+ * @return the value
+ */
+ public java.util.List
+ getAssociatedCloudAutonomousVmClusters() {
+ return associatedCloudAutonomousVmClusters;
+ }
+
/**
* 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
@@ -653,6 +736,10 @@ public String toString(boolean includeByteArrayContents) {
.append(String.valueOf(this.associatedLongTermBackups));
sb.append(", associatedLongTermBackupCount=")
.append(String.valueOf(this.associatedLongTermBackupCount));
+ sb.append(", associatedAutonomousVmClusters=")
+ .append(String.valueOf(this.associatedAutonomousVmClusters));
+ sb.append(", associatedCloudAutonomousVmClusters=")
+ .append(String.valueOf(this.associatedCloudAutonomousVmClusters));
sb.append(", freeformTags=").append(String.valueOf(this.freeformTags));
sb.append(", definedTags=").append(String.valueOf(this.definedTags));
sb.append(", systemTags=").append(String.valueOf(this.systemTags));
@@ -682,6 +769,11 @@ public boolean equals(Object o) {
this.associatedLongTermBackups, other.associatedLongTermBackups)
&& java.util.Objects.equals(
this.associatedLongTermBackupCount, other.associatedLongTermBackupCount)
+ && java.util.Objects.equals(
+ this.associatedAutonomousVmClusters, other.associatedAutonomousVmClusters)
+ && java.util.Objects.equals(
+ this.associatedCloudAutonomousVmClusters,
+ other.associatedCloudAutonomousVmClusters)
&& java.util.Objects.equals(this.freeformTags, other.freeformTags)
&& java.util.Objects.equals(this.definedTags, other.definedTags)
&& java.util.Objects.equals(this.systemTags, other.systemTags)
@@ -720,6 +812,16 @@ public int hashCode() {
+ (this.associatedLongTermBackupCount == null
? 43
: this.associatedLongTermBackupCount.hashCode());
+ result =
+ (result * PRIME)
+ + (this.associatedAutonomousVmClusters == null
+ ? 43
+ : this.associatedAutonomousVmClusters.hashCode());
+ result =
+ (result * PRIME)
+ + (this.associatedCloudAutonomousVmClusters == null
+ ? 43
+ : this.associatedCloudAutonomousVmClusters.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());
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStoreAssociatedAutonomousVmClusterDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStoreAssociatedAutonomousVmClusterDetails.java
new file mode 100644
index 0000000000..fa8bdfdf1a
--- /dev/null
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStoreAssociatedAutonomousVmClusterDetails.java
@@ -0,0 +1,179 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.database.model;
+
+/**
+ * The Autonomous VM Clusters associated with a key store
+ * 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 = KeyStoreAssociatedAutonomousVmClusterDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class KeyStoreAssociatedAutonomousVmClusterDetails
+ extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({"id", "displayName"})
+ public KeyStoreAssociatedAutonomousVmClusterDetails(String id, String displayName) {
+ super();
+ this.id = id;
+ this.displayName = displayName;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * Autonomous VM Cluster.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("id")
+ private String id;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * Autonomous VM Cluster.
+ *
+ * @param id the value to set
+ * @return this builder
+ */
+ public Builder id(String id) {
+ this.id = id;
+ this.__explicitlySet__.add("id");
+ return this;
+ }
+ /** The display name of the Autonomous VM Cluster associated with the key store. */
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private String displayName;
+
+ /**
+ * The display name of the Autonomous VM Cluster associated with the key store.
+ *
+ * @param displayName the value to set
+ * @return this builder
+ */
+ public Builder displayName(String displayName) {
+ this.displayName = displayName;
+ this.__explicitlySet__.add("displayName");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public KeyStoreAssociatedAutonomousVmClusterDetails build() {
+ KeyStoreAssociatedAutonomousVmClusterDetails model =
+ new KeyStoreAssociatedAutonomousVmClusterDetails(this.id, this.displayName);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(KeyStoreAssociatedAutonomousVmClusterDetails model) {
+ if (model.wasPropertyExplicitlySet("id")) {
+ this.id(model.getId());
+ }
+ if (model.wasPropertyExplicitlySet("displayName")) {
+ this.displayName(model.getDisplayName());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * Autonomous VM Cluster.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("id")
+ private final String id;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * Autonomous VM Cluster.
+ *
+ * @return the value
+ */
+ public String getId() {
+ return id;
+ }
+
+ /** The display name of the Autonomous VM Cluster associated with the key store. */
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private final String displayName;
+
+ /**
+ * The display name of the Autonomous VM Cluster associated with the key store.
+ *
+ * @return the value
+ */
+ public String getDisplayName() {
+ return displayName;
+ }
+
+ @Override
+ public String toString() {
+ return this.toString(true);
+ }
+
+ /**
+ * Return a string representation of the object.
+ *
+ * @param includeByteArrayContents true to include the full contents of byte arrays
+ * @return string representation
+ */
+ public String toString(boolean includeByteArrayContents) {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("KeyStoreAssociatedAutonomousVmClusterDetails(");
+ sb.append("super=").append(super.toString());
+ sb.append("id=").append(String.valueOf(this.id));
+ sb.append(", displayName=").append(String.valueOf(this.displayName));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof KeyStoreAssociatedAutonomousVmClusterDetails)) {
+ return false;
+ }
+
+ KeyStoreAssociatedAutonomousVmClusterDetails other =
+ (KeyStoreAssociatedAutonomousVmClusterDetails) o;
+ return java.util.Objects.equals(this.id, other.id)
+ && java.util.Objects.equals(this.displayName, other.displayName)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode());
+ result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStoreAssociatedCloudAutonomousVmClusterDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStoreAssociatedCloudAutonomousVmClusterDetails.java
new file mode 100644
index 0000000000..0d4e6023a8
--- /dev/null
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStoreAssociatedCloudAutonomousVmClusterDetails.java
@@ -0,0 +1,180 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.database.model;
+
+/**
+ * The Cloud Autonomous VM Clusters associated with a key store
+ * 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 = KeyStoreAssociatedCloudAutonomousVmClusterDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class KeyStoreAssociatedCloudAutonomousVmClusterDetails
+ extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({"id", "displayName"})
+ public KeyStoreAssociatedCloudAutonomousVmClusterDetails(String id, String displayName) {
+ super();
+ this.id = id;
+ this.displayName = displayName;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * Cloud Autonomous VM Cluster.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("id")
+ private String id;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * Cloud Autonomous VM Cluster.
+ *
+ * @param id the value to set
+ * @return this builder
+ */
+ public Builder id(String id) {
+ this.id = id;
+ this.__explicitlySet__.add("id");
+ return this;
+ }
+ /** The display name of the Cloud Autonomous VM Cluster associated with the key store. */
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private String displayName;
+
+ /**
+ * The display name of the Cloud Autonomous VM Cluster associated with the key store.
+ *
+ * @param displayName the value to set
+ * @return this builder
+ */
+ public Builder displayName(String displayName) {
+ this.displayName = displayName;
+ this.__explicitlySet__.add("displayName");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public KeyStoreAssociatedCloudAutonomousVmClusterDetails build() {
+ KeyStoreAssociatedCloudAutonomousVmClusterDetails model =
+ new KeyStoreAssociatedCloudAutonomousVmClusterDetails(
+ this.id, this.displayName);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(KeyStoreAssociatedCloudAutonomousVmClusterDetails model) {
+ if (model.wasPropertyExplicitlySet("id")) {
+ this.id(model.getId());
+ }
+ if (model.wasPropertyExplicitlySet("displayName")) {
+ this.displayName(model.getDisplayName());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * Cloud Autonomous VM Cluster.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("id")
+ private final String id;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * Cloud Autonomous VM Cluster.
+ *
+ * @return the value
+ */
+ public String getId() {
+ return id;
+ }
+
+ /** The display name of the Cloud Autonomous VM Cluster associated with the key store. */
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private final String displayName;
+
+ /**
+ * The display name of the Cloud Autonomous VM Cluster associated with the key store.
+ *
+ * @return the value
+ */
+ public String getDisplayName() {
+ return displayName;
+ }
+
+ @Override
+ public String toString() {
+ return this.toString(true);
+ }
+
+ /**
+ * Return a string representation of the object.
+ *
+ * @param includeByteArrayContents true to include the full contents of byte arrays
+ * @return string representation
+ */
+ public String toString(boolean includeByteArrayContents) {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("KeyStoreAssociatedCloudAutonomousVmClusterDetails(");
+ sb.append("super=").append(super.toString());
+ sb.append("id=").append(String.valueOf(this.id));
+ sb.append(", displayName=").append(String.valueOf(this.displayName));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof KeyStoreAssociatedCloudAutonomousVmClusterDetails)) {
+ return false;
+ }
+
+ KeyStoreAssociatedCloudAutonomousVmClusterDetails other =
+ (KeyStoreAssociatedCloudAutonomousVmClusterDetails) o;
+ return java.util.Objects.equals(this.id, other.id)
+ && java.util.Objects.equals(this.displayName, other.displayName)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode());
+ result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStoreSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStoreSummary.java
index 6daba372b4..7b3131cc5d 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStoreSummary.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStoreSummary.java
@@ -33,6 +33,8 @@ public final class KeyStoreSummary
"associatedDatabases",
"associatedLongTermBackups",
"associatedLongTermBackupCount",
+ "associatedAutonomousVmClusters",
+ "associatedCloudAutonomousVmClusters",
"freeformTags",
"definedTags",
"systemTags"
@@ -48,6 +50,10 @@ public KeyStoreSummary(
java.util.List associatedDatabases,
java.util.List associatedLongTermBackups,
Integer associatedLongTermBackupCount,
+ java.util.List
+ associatedAutonomousVmClusters,
+ java.util.List
+ associatedCloudAutonomousVmClusters,
java.util.Map freeformTags,
java.util.Map> definedTags,
java.util.Map> systemTags) {
@@ -62,6 +68,8 @@ public KeyStoreSummary(
this.associatedDatabases = associatedDatabases;
this.associatedLongTermBackups = associatedLongTermBackups;
this.associatedLongTermBackupCount = associatedLongTermBackupCount;
+ this.associatedAutonomousVmClusters = associatedAutonomousVmClusters;
+ this.associatedCloudAutonomousVmClusters = associatedCloudAutonomousVmClusters;
this.freeformTags = freeformTags;
this.definedTags = definedTags;
this.systemTags = systemTags;
@@ -231,6 +239,42 @@ public Builder associatedLongTermBackupCount(Integer associatedLongTermBackupCou
this.__explicitlySet__.add("associatedLongTermBackupCount");
return this;
}
+ /** List of Autonomous VM Clusters associated with the key store. */
+ @com.fasterxml.jackson.annotation.JsonProperty("associatedAutonomousVmClusters")
+ private java.util.List
+ associatedAutonomousVmClusters;
+
+ /**
+ * List of Autonomous VM Clusters associated with the key store.
+ *
+ * @param associatedAutonomousVmClusters the value to set
+ * @return this builder
+ */
+ public Builder associatedAutonomousVmClusters(
+ java.util.List
+ associatedAutonomousVmClusters) {
+ this.associatedAutonomousVmClusters = associatedAutonomousVmClusters;
+ this.__explicitlySet__.add("associatedAutonomousVmClusters");
+ return this;
+ }
+ /** List of Cloud Autonomous VM Clusters associated with the key store. */
+ @com.fasterxml.jackson.annotation.JsonProperty("associatedCloudAutonomousVmClusters")
+ private java.util.List
+ associatedCloudAutonomousVmClusters;
+
+ /**
+ * List of Cloud Autonomous VM Clusters associated with the key store.
+ *
+ * @param associatedCloudAutonomousVmClusters the value to set
+ * @return this builder
+ */
+ public Builder associatedCloudAutonomousVmClusters(
+ java.util.List
+ associatedCloudAutonomousVmClusters) {
+ this.associatedCloudAutonomousVmClusters = associatedCloudAutonomousVmClusters;
+ this.__explicitlySet__.add("associatedCloudAutonomousVmClusters");
+ 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
@@ -316,6 +360,8 @@ public KeyStoreSummary build() {
this.associatedDatabases,
this.associatedLongTermBackups,
this.associatedLongTermBackupCount,
+ this.associatedAutonomousVmClusters,
+ this.associatedCloudAutonomousVmClusters,
this.freeformTags,
this.definedTags,
this.systemTags);
@@ -357,6 +403,13 @@ public Builder copy(KeyStoreSummary model) {
if (model.wasPropertyExplicitlySet("associatedLongTermBackupCount")) {
this.associatedLongTermBackupCount(model.getAssociatedLongTermBackupCount());
}
+ if (model.wasPropertyExplicitlySet("associatedAutonomousVmClusters")) {
+ this.associatedAutonomousVmClusters(model.getAssociatedAutonomousVmClusters());
+ }
+ if (model.wasPropertyExplicitlySet("associatedCloudAutonomousVmClusters")) {
+ this.associatedCloudAutonomousVmClusters(
+ model.getAssociatedCloudAutonomousVmClusters());
+ }
if (model.wasPropertyExplicitlySet("freeformTags")) {
this.freeformTags(model.getFreeformTags());
}
@@ -566,6 +619,36 @@ public Integer getAssociatedLongTermBackupCount() {
return associatedLongTermBackupCount;
}
+ /** List of Autonomous VM Clusters associated with the key store. */
+ @com.fasterxml.jackson.annotation.JsonProperty("associatedAutonomousVmClusters")
+ private final java.util.List
+ associatedAutonomousVmClusters;
+
+ /**
+ * List of Autonomous VM Clusters associated with the key store.
+ *
+ * @return the value
+ */
+ public java.util.List
+ getAssociatedAutonomousVmClusters() {
+ return associatedAutonomousVmClusters;
+ }
+
+ /** List of Cloud Autonomous VM Clusters associated with the key store. */
+ @com.fasterxml.jackson.annotation.JsonProperty("associatedCloudAutonomousVmClusters")
+ private final java.util.List
+ associatedCloudAutonomousVmClusters;
+
+ /**
+ * List of Cloud Autonomous VM Clusters associated with the key store.
+ *
+ * @return the value
+ */
+ public java.util.List
+ getAssociatedCloudAutonomousVmClusters() {
+ return associatedCloudAutonomousVmClusters;
+ }
+
/**
* 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
@@ -654,6 +737,10 @@ public String toString(boolean includeByteArrayContents) {
.append(String.valueOf(this.associatedLongTermBackups));
sb.append(", associatedLongTermBackupCount=")
.append(String.valueOf(this.associatedLongTermBackupCount));
+ sb.append(", associatedAutonomousVmClusters=")
+ .append(String.valueOf(this.associatedAutonomousVmClusters));
+ sb.append(", associatedCloudAutonomousVmClusters=")
+ .append(String.valueOf(this.associatedCloudAutonomousVmClusters));
sb.append(", freeformTags=").append(String.valueOf(this.freeformTags));
sb.append(", definedTags=").append(String.valueOf(this.definedTags));
sb.append(", systemTags=").append(String.valueOf(this.systemTags));
@@ -683,6 +770,11 @@ public boolean equals(Object o) {
this.associatedLongTermBackups, other.associatedLongTermBackups)
&& java.util.Objects.equals(
this.associatedLongTermBackupCount, other.associatedLongTermBackupCount)
+ && java.util.Objects.equals(
+ this.associatedAutonomousVmClusters, other.associatedAutonomousVmClusters)
+ && java.util.Objects.equals(
+ this.associatedCloudAutonomousVmClusters,
+ other.associatedCloudAutonomousVmClusters)
&& java.util.Objects.equals(this.freeformTags, other.freeformTags)
&& java.util.Objects.equals(this.definedTags, other.definedTags)
&& java.util.Objects.equals(this.systemTags, other.systemTags)
@@ -721,6 +813,16 @@ public int hashCode() {
+ (this.associatedLongTermBackupCount == null
? 43
: this.associatedLongTermBackupCount.hashCode());
+ result =
+ (result * PRIME)
+ + (this.associatedAutonomousVmClusters == null
+ ? 43
+ : this.associatedAutonomousVmClusters.hashCode());
+ result =
+ (result * PRIME)
+ + (this.associatedCloudAutonomousVmClusters == null
+ ? 43
+ : this.associatedCloudAutonomousVmClusters.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());
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStoreTypeDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStoreTypeDetails.java
index 6521768846..3513bc6054 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStoreTypeDetails.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStoreTypeDetails.java
@@ -24,7 +24,10 @@
@com.fasterxml.jackson.annotation.JsonSubTypes({
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = KeyStoreTypeFromOracleKeyVaultDetails.class,
- name = "ORACLE_KEY_VAULT")
+ name = "ORACLE_KEY_VAULT"),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = KeyStoreTypeFromThalesDetails.class,
+ name = "THALES")
})
@com.fasterxml.jackson.annotation.JsonFilter(
com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
@@ -78,6 +81,7 @@ public int hashCode() {
/** The type of key store. */
public enum Type implements com.oracle.bmc.http.internal.BmcEnum {
OracleKeyVault("ORACLE_KEY_VAULT"),
+ Thales("THALES"),
/**
* This value is used if a service returns a value for this enum that is not recognized by
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStoreTypeFromThalesDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStoreTypeFromThalesDetails.java
new file mode 100644
index 0000000000..829bb36be2
--- /dev/null
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/KeyStoreTypeFromThalesDetails.java
@@ -0,0 +1,278 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.database.model;
+
+/**
+ * Details for Thales CAKM
+ * 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 = KeyStoreTypeFromThalesDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "type")
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class KeyStoreTypeFromThalesDetails extends KeyStoreTypeDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /** The list of Oracle Key Vault connection IP addresses. */
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionIps")
+ private java.util.List connectionIps;
+
+ /**
+ * The list of Oracle Key Vault connection IP addresses.
+ *
+ * @param connectionIps the value to set
+ * @return this builder
+ */
+ public Builder connectionIps(java.util.List connectionIps) {
+ this.connectionIps = connectionIps;
+ this.__explicitlySet__.add("connectionIps");
+ return this;
+ }
+ /** The administrator username to connect to Oracle Key Vault */
+ @com.fasterxml.jackson.annotation.JsonProperty("adminUsername")
+ private String adminUsername;
+
+ /**
+ * The administrator username to connect to Oracle Key Vault
+ *
+ * @param adminUsername the value to set
+ * @return this builder
+ */
+ public Builder adminUsername(String adminUsername) {
+ this.adminUsername = adminUsername;
+ this.__explicitlySet__.add("adminUsername");
+ return this;
+ }
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * Oracle Cloud Infrastructure
+ * [vault](https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts).
+ * This parameter and {@code secretId} are required for Customer Managed Keys.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("vaultId")
+ private String vaultId;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * Oracle Cloud Infrastructure
+ * [vault](https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts).
+ * This parameter and {@code secretId} are required for Customer Managed Keys.
+ *
+ * @param vaultId the value to set
+ * @return this builder
+ */
+ public Builder vaultId(String vaultId) {
+ this.vaultId = vaultId;
+ this.__explicitlySet__.add("vaultId");
+ return this;
+ }
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * Oracle Cloud Infrastructure
+ * [secret](https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts).
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("secretId")
+ private String secretId;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * Oracle Cloud Infrastructure
+ * [secret](https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts).
+ *
+ * @param secretId the value to set
+ * @return this builder
+ */
+ public Builder secretId(String secretId) {
+ this.secretId = secretId;
+ this.__explicitlySet__.add("secretId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public KeyStoreTypeFromThalesDetails build() {
+ KeyStoreTypeFromThalesDetails model =
+ new KeyStoreTypeFromThalesDetails(
+ this.connectionIps, this.adminUsername, this.vaultId, this.secretId);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(KeyStoreTypeFromThalesDetails model) {
+ if (model.wasPropertyExplicitlySet("connectionIps")) {
+ this.connectionIps(model.getConnectionIps());
+ }
+ if (model.wasPropertyExplicitlySet("adminUsername")) {
+ this.adminUsername(model.getAdminUsername());
+ }
+ if (model.wasPropertyExplicitlySet("vaultId")) {
+ this.vaultId(model.getVaultId());
+ }
+ if (model.wasPropertyExplicitlySet("secretId")) {
+ this.secretId(model.getSecretId());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public KeyStoreTypeFromThalesDetails(
+ java.util.List connectionIps,
+ String adminUsername,
+ String vaultId,
+ String secretId) {
+ super();
+ this.connectionIps = connectionIps;
+ this.adminUsername = adminUsername;
+ this.vaultId = vaultId;
+ this.secretId = secretId;
+ }
+
+ /** The list of Oracle Key Vault connection IP addresses. */
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionIps")
+ private final java.util.List connectionIps;
+
+ /**
+ * The list of Oracle Key Vault connection IP addresses.
+ *
+ * @return the value
+ */
+ public java.util.List getConnectionIps() {
+ return connectionIps;
+ }
+
+ /** The administrator username to connect to Oracle Key Vault */
+ @com.fasterxml.jackson.annotation.JsonProperty("adminUsername")
+ private final String adminUsername;
+
+ /**
+ * The administrator username to connect to Oracle Key Vault
+ *
+ * @return the value
+ */
+ public String getAdminUsername() {
+ return adminUsername;
+ }
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * Oracle Cloud Infrastructure
+ * [vault](https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts).
+ * This parameter and {@code secretId} are required for Customer Managed Keys.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("vaultId")
+ private final String vaultId;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * Oracle Cloud Infrastructure
+ * [vault](https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts).
+ * This parameter and {@code secretId} are required for Customer Managed Keys.
+ *
+ * @return the value
+ */
+ public String getVaultId() {
+ return vaultId;
+ }
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * Oracle Cloud Infrastructure
+ * [secret](https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts).
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("secretId")
+ private final String secretId;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * Oracle Cloud Infrastructure
+ * [secret](https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts).
+ *
+ * @return the value
+ */
+ public String getSecretId() {
+ return secretId;
+ }
+
+ @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("KeyStoreTypeFromThalesDetails(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(", connectionIps=").append(String.valueOf(this.connectionIps));
+ sb.append(", adminUsername=").append(String.valueOf(this.adminUsername));
+ sb.append(", vaultId=").append(String.valueOf(this.vaultId));
+ sb.append(", secretId=").append(String.valueOf(this.secretId));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof KeyStoreTypeFromThalesDetails)) {
+ return false;
+ }
+
+ KeyStoreTypeFromThalesDetails other = (KeyStoreTypeFromThalesDetails) o;
+ return java.util.Objects.equals(this.connectionIps, other.connectionIps)
+ && java.util.Objects.equals(this.adminUsername, other.adminUsername)
+ && java.util.Objects.equals(this.vaultId, other.vaultId)
+ && java.util.Objects.equals(this.secretId, other.secretId)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.connectionIps == null ? 43 : this.connectionIps.hashCode());
+ result =
+ (result * PRIME)
+ + (this.adminUsername == null ? 43 : this.adminUsername.hashCode());
+ result = (result * PRIME) + (this.vaultId == null ? 43 : this.vaultId.hashCode());
+ result = (result * PRIME) + (this.secretId == null ? 43 : this.secretId.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleOfflineLogicalMigrationSettingsSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/OciVaultKeyManagementSystemDetails.java
similarity index 69%
rename from bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleOfflineLogicalMigrationSettingsSummary.java
rename to bmc-database/src/main/java/com/oracle/bmc/database/model/OciVaultKeyManagementSystemDetails.java
index 56ea261ae1..192527d55c 100644
--- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleOfflineLogicalMigrationSettingsSummary.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/OciVaultKeyManagementSystemDetails.java
@@ -2,10 +2,10 @@
* Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
*/
-package com.oracle.bmc.databasemigration.model;
+package com.oracle.bmc.database.model;
/**
- * Oracle offline logical migration summary settings.
+ * Details of OCI Vault to be used by Autonomous VM Cluster for key management.
* 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
@@ -15,26 +15,33 @@
* into account (since the constructor cannot distinguish explicit {@code null} from unset {@code
* null}).
*/
-@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20230518")
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
- builder = OracleOfflineLogicalMigrationSettingsSummary.Builder.class)
+ builder = OciVaultKeyManagementSystemDetails.Builder.class)
@com.fasterxml.jackson.annotation.JsonTypeInfo(
use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
- property = "migrationMethod")
+ property = "keyManagementSystem")
@com.fasterxml.jackson.annotation.JsonFilter(
com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
-public final class OracleOfflineLogicalMigrationSettingsSummary
- extends OracleMigrationSettingsSummary {
+public final class OciVaultKeyManagementSystemDetails extends KeyManagementSystemDetails {
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("isExclusive")
+ private Boolean isExclusive;
+
+ public Builder isExclusive(Boolean isExclusive) {
+ this.isExclusive = isExclusive;
+ this.__explicitlySet__.add("isExclusive");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
- public OracleOfflineLogicalMigrationSettingsSummary build() {
- OracleOfflineLogicalMigrationSettingsSummary model =
- new OracleOfflineLogicalMigrationSettingsSummary();
+ public OciVaultKeyManagementSystemDetails build() {
+ OciVaultKeyManagementSystemDetails model =
+ new OciVaultKeyManagementSystemDetails(this.isExclusive);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -42,7 +49,10 @@ public OracleOfflineLogicalMigrationSettingsSummary build() {
}
@com.fasterxml.jackson.annotation.JsonIgnore
- public Builder copy(OracleOfflineLogicalMigrationSettingsSummary model) {
+ public Builder copy(OciVaultKeyManagementSystemDetails model) {
+ if (model.wasPropertyExplicitlySet("isExclusive")) {
+ this.isExclusive(model.getIsExclusive());
+ }
return this;
}
}
@@ -57,8 +67,8 @@ public Builder toBuilder() {
}
@Deprecated
- public OracleOfflineLogicalMigrationSettingsSummary() {
- super();
+ public OciVaultKeyManagementSystemDetails(Boolean isExclusive) {
+ super(isExclusive);
}
@Override
@@ -74,7 +84,7 @@ public String toString() {
*/
public String toString(boolean includeByteArrayContents) {
java.lang.StringBuilder sb = new java.lang.StringBuilder();
- sb.append("OracleOfflineLogicalMigrationSettingsSummary(");
+ sb.append("OciVaultKeyManagementSystemDetails(");
sb.append("super=").append(super.toString(includeByteArrayContents));
sb.append(")");
return sb.toString();
@@ -85,12 +95,11 @@ public boolean equals(Object o) {
if (this == o) {
return true;
}
- if (!(o instanceof OracleOfflineLogicalMigrationSettingsSummary)) {
+ if (!(o instanceof OciVaultKeyManagementSystemDetails)) {
return false;
}
- OracleOfflineLogicalMigrationSettingsSummary other =
- (OracleOfflineLogicalMigrationSettingsSummary) o;
+ OciVaultKeyManagementSystemDetails other = (OciVaultKeyManagementSystemDetails) o;
return super.equals(other);
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/OracleKeyVaultKeyManagementSystemDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/OracleKeyVaultKeyManagementSystemDetails.java
new file mode 100644
index 0000000000..0853062637
--- /dev/null
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/OracleKeyVaultKeyManagementSystemDetails.java
@@ -0,0 +1,113 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.database.model;
+
+/**
+ * Details of Oracle Key Vault to be used by Autonomous VM Cluster for key management.
+ * 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 = OracleKeyVaultKeyManagementSystemDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "keyManagementSystem")
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class OracleKeyVaultKeyManagementSystemDetails extends KeyManagementSystemDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("isExclusive")
+ private Boolean isExclusive;
+
+ public Builder isExclusive(Boolean isExclusive) {
+ this.isExclusive = isExclusive;
+ this.__explicitlySet__.add("isExclusive");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public OracleKeyVaultKeyManagementSystemDetails build() {
+ OracleKeyVaultKeyManagementSystemDetails model =
+ new OracleKeyVaultKeyManagementSystemDetails(this.isExclusive);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(OracleKeyVaultKeyManagementSystemDetails model) {
+ if (model.wasPropertyExplicitlySet("isExclusive")) {
+ this.isExclusive(model.getIsExclusive());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public OracleKeyVaultKeyManagementSystemDetails(Boolean isExclusive) {
+ super(isExclusive);
+ }
+
+ @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("OracleKeyVaultKeyManagementSystemDetails(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof OracleKeyVaultKeyManagementSystemDetails)) {
+ return false;
+ }
+
+ OracleKeyVaultKeyManagementSystemDetails other =
+ (OracleKeyVaultKeyManagementSystemDetails) o;
+ return super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/OracleManagedKeyManagementSystemDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/OracleManagedKeyManagementSystemDetails.java
new file mode 100644
index 0000000000..d2f2d662be
--- /dev/null
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/OracleManagedKeyManagementSystemDetails.java
@@ -0,0 +1,113 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.database.model;
+
+/**
+ * Type to be selected to reset Autonomous VM Cluster key management system to Oracle Managed Keys.
+ *
+ * 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 = OracleManagedKeyManagementSystemDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "keyManagementSystem")
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class OracleManagedKeyManagementSystemDetails extends KeyManagementSystemDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("isExclusive")
+ private Boolean isExclusive;
+
+ public Builder isExclusive(Boolean isExclusive) {
+ this.isExclusive = isExclusive;
+ this.__explicitlySet__.add("isExclusive");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public OracleManagedKeyManagementSystemDetails build() {
+ OracleManagedKeyManagementSystemDetails model =
+ new OracleManagedKeyManagementSystemDetails(this.isExclusive);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(OracleManagedKeyManagementSystemDetails model) {
+ if (model.wasPropertyExplicitlySet("isExclusive")) {
+ this.isExclusive(model.getIsExclusive());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public OracleManagedKeyManagementSystemDetails(Boolean isExclusive) {
+ super(isExclusive);
+ }
+
+ @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("OracleManagedKeyManagementSystemDetails(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof OracleManagedKeyManagementSystemDetails)) {
+ return false;
+ }
+
+ OracleManagedKeyManagementSystemDetails other = (OracleManagedKeyManagementSystemDetails) o;
+ return super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/ThalesKeyManagementSystemDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/ThalesKeyManagementSystemDetails.java
new file mode 100644
index 0000000000..65de70204f
--- /dev/null
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/ThalesKeyManagementSystemDetails.java
@@ -0,0 +1,194 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.database.model;
+
+/**
+ * Details of Thales CAKM to be used by Autonomous VM Cluster for key management.
+ * 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 = ThalesKeyManagementSystemDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "keyManagementSystem")
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class ThalesKeyManagementSystemDetails extends KeyManagementSystemDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("isExclusive")
+ private Boolean isExclusive;
+
+ public Builder isExclusive(Boolean isExclusive) {
+ this.isExclusive = isExclusive;
+ this.__explicitlySet__.add("isExclusive");
+ return this;
+ }
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * key store of Oracle Vault.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("keyStoreId")
+ private String keyStoreId;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * key store of Oracle Vault.
+ *
+ * @param keyStoreId the value to set
+ * @return this builder
+ */
+ public Builder keyStoreId(String keyStoreId) {
+ this.keyStoreId = keyStoreId;
+ this.__explicitlySet__.add("keyStoreId");
+ return this;
+ }
+ /** Thales HSM Port. Default is 9000. */
+ @com.fasterxml.jackson.annotation.JsonProperty("thalesHsmPort")
+ private Integer thalesHsmPort;
+
+ /**
+ * Thales HSM Port. Default is 9000.
+ *
+ * @param thalesHsmPort the value to set
+ * @return this builder
+ */
+ public Builder thalesHsmPort(Integer thalesHsmPort) {
+ this.thalesHsmPort = thalesHsmPort;
+ this.__explicitlySet__.add("thalesHsmPort");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public ThalesKeyManagementSystemDetails build() {
+ ThalesKeyManagementSystemDetails model =
+ new ThalesKeyManagementSystemDetails(
+ this.isExclusive, this.keyStoreId, this.thalesHsmPort);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(ThalesKeyManagementSystemDetails model) {
+ if (model.wasPropertyExplicitlySet("isExclusive")) {
+ this.isExclusive(model.getIsExclusive());
+ }
+ if (model.wasPropertyExplicitlySet("keyStoreId")) {
+ this.keyStoreId(model.getKeyStoreId());
+ }
+ if (model.wasPropertyExplicitlySet("thalesHsmPort")) {
+ this.thalesHsmPort(model.getThalesHsmPort());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public ThalesKeyManagementSystemDetails(
+ Boolean isExclusive, String keyStoreId, Integer thalesHsmPort) {
+ super(isExclusive);
+ this.keyStoreId = keyStoreId;
+ this.thalesHsmPort = thalesHsmPort;
+ }
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key
+ * store of Oracle Vault.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("keyStoreId")
+ private final String keyStoreId;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key
+ * store of Oracle Vault.
+ *
+ * @return the value
+ */
+ public String getKeyStoreId() {
+ return keyStoreId;
+ }
+
+ /** Thales HSM Port. Default is 9000. */
+ @com.fasterxml.jackson.annotation.JsonProperty("thalesHsmPort")
+ private final Integer thalesHsmPort;
+
+ /**
+ * Thales HSM Port. Default is 9000.
+ *
+ * @return the value
+ */
+ public Integer getThalesHsmPort() {
+ return thalesHsmPort;
+ }
+
+ @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("ThalesKeyManagementSystemDetails(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(", keyStoreId=").append(String.valueOf(this.keyStoreId));
+ sb.append(", thalesHsmPort=").append(String.valueOf(this.thalesHsmPort));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof ThalesKeyManagementSystemDetails)) {
+ return false;
+ }
+
+ ThalesKeyManagementSystemDetails other = (ThalesKeyManagementSystemDetails) o;
+ return java.util.Objects.equals(this.keyStoreId, other.keyStoreId)
+ && java.util.Objects.equals(this.thalesHsmPort, other.thalesHsmPort)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result = (result * PRIME) + (this.keyStoreId == null ? 43 : this.keyStoreId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.thalesHsmPort == null ? 43 : this.thalesHsmPort.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/requests/ChangeAvmKeyManagementSystemRequest.java b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ChangeAvmKeyManagementSystemRequest.java
new file mode 100644
index 0000000000..667672a0d4
--- /dev/null
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ChangeAvmKeyManagementSystemRequest.java
@@ -0,0 +1,369 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.database.requests;
+
+import com.oracle.bmc.database.model.*;
+/**
+ * Example: Click here to see how to use
+ * ChangeAvmKeyManagementSystemRequest.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+public class ChangeAvmKeyManagementSystemRequest
+ extends com.oracle.bmc.requests.BmcRequest<
+ com.oracle.bmc.database.model.KeyManagementSystemDetails> {
+
+ /** Details of Key Management System to be used by Autonomous VM Cluster. */
+ private com.oracle.bmc.database.model.KeyManagementSystemDetails
+ changeAvmKeyManagementSystemDetails;
+
+ /** Details of Key Management System to be used by Autonomous VM Cluster. */
+ public com.oracle.bmc.database.model.KeyManagementSystemDetails
+ getChangeAvmKeyManagementSystemDetails() {
+ return changeAvmKeyManagementSystemDetails;
+ }
+ /**
+ * The autonomous VM cluster
+ * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
+ */
+ private String autonomousVmClusterId;
+
+ /**
+ * The autonomous VM cluster
+ * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
+ */
+ public String getAutonomousVmClusterId() {
+ return autonomousVmClusterId;
+ }
+ /** Unique identifier for the request. */
+ private String opcRequestId;
+
+ /** Unique identifier for the request. */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+ /**
+ * 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;
+ }
+ /**
+ * 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.KeyManagementSystemDetails getBody$() {
+ return changeAvmKeyManagementSystemDetails;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.requests.BmcRequest.Builder<
+ ChangeAvmKeyManagementSystemRequest,
+ com.oracle.bmc.database.model.KeyManagementSystemDetails> {
+ private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null;
+ private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null;
+
+ /** Details of Key Management System to be used by Autonomous VM Cluster. */
+ private com.oracle.bmc.database.model.KeyManagementSystemDetails
+ changeAvmKeyManagementSystemDetails = null;
+
+ /**
+ * Details of Key Management System to be used by Autonomous VM Cluster.
+ *
+ * @param changeAvmKeyManagementSystemDetails the value to set
+ * @return this builder instance
+ */
+ public Builder changeAvmKeyManagementSystemDetails(
+ com.oracle.bmc.database.model.KeyManagementSystemDetails
+ changeAvmKeyManagementSystemDetails) {
+ this.changeAvmKeyManagementSystemDetails = changeAvmKeyManagementSystemDetails;
+ return this;
+ }
+
+ /**
+ * The autonomous VM cluster
+ * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
+ */
+ private String autonomousVmClusterId = null;
+
+ /**
+ * The autonomous VM cluster
+ * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
+ *
+ * @param autonomousVmClusterId the value to set
+ * @return this builder instance
+ */
+ public Builder autonomousVmClusterId(String autonomousVmClusterId) {
+ this.autonomousVmClusterId = autonomousVmClusterId;
+ 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;
+ }
+
+ /**
+ * 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;
+ }
+
+ /**
+ * 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(ChangeAvmKeyManagementSystemRequest o) {
+ changeAvmKeyManagementSystemDetails(o.getChangeAvmKeyManagementSystemDetails());
+ autonomousVmClusterId(o.getAutonomousVmClusterId());
+ opcRequestId(o.getOpcRequestId());
+ opcRetryToken(o.getOpcRetryToken());
+ ifMatch(o.getIfMatch());
+ invocationCallback(o.getInvocationCallback());
+ retryConfiguration(o.getRetryConfiguration());
+ return this;
+ }
+
+ /**
+ * Build the instance of ChangeAvmKeyManagementSystemRequest 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 ChangeAvmKeyManagementSystemRequest
+ */
+ public ChangeAvmKeyManagementSystemRequest build() {
+ ChangeAvmKeyManagementSystemRequest 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.KeyManagementSystemDetails body) {
+ changeAvmKeyManagementSystemDetails(body);
+ return this;
+ }
+
+ /**
+ * Build the instance of ChangeAvmKeyManagementSystemRequest 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 ChangeAvmKeyManagementSystemRequest
+ */
+ public ChangeAvmKeyManagementSystemRequest buildWithoutInvocationCallback() {
+ ChangeAvmKeyManagementSystemRequest request = new ChangeAvmKeyManagementSystemRequest();
+ request.changeAvmKeyManagementSystemDetails = changeAvmKeyManagementSystemDetails;
+ request.autonomousVmClusterId = autonomousVmClusterId;
+ request.opcRequestId = opcRequestId;
+ request.opcRetryToken = opcRetryToken;
+ request.ifMatch = ifMatch;
+ return request;
+ // new ChangeAvmKeyManagementSystemRequest(changeAvmKeyManagementSystemDetails,
+ // autonomousVmClusterId, opcRequestId, opcRetryToken, 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()
+ .changeAvmKeyManagementSystemDetails(changeAvmKeyManagementSystemDetails)
+ .autonomousVmClusterId(autonomousVmClusterId)
+ .opcRequestId(opcRequestId)
+ .opcRetryToken(opcRetryToken)
+ .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(",changeAvmKeyManagementSystemDetails=")
+ .append(String.valueOf(this.changeAvmKeyManagementSystemDetails));
+ sb.append(",autonomousVmClusterId=").append(String.valueOf(this.autonomousVmClusterId));
+ sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId));
+ sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken));
+ 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 ChangeAvmKeyManagementSystemRequest)) {
+ return false;
+ }
+
+ ChangeAvmKeyManagementSystemRequest other = (ChangeAvmKeyManagementSystemRequest) o;
+ return super.equals(o)
+ && java.util.Objects.equals(
+ this.changeAvmKeyManagementSystemDetails,
+ other.changeAvmKeyManagementSystemDetails)
+ && java.util.Objects.equals(this.autonomousVmClusterId, other.autonomousVmClusterId)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId)
+ && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken)
+ && java.util.Objects.equals(this.ifMatch, other.ifMatch);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.changeAvmKeyManagementSystemDetails == null
+ ? 43
+ : this.changeAvmKeyManagementSystemDetails.hashCode());
+ result =
+ (result * PRIME)
+ + (this.autonomousVmClusterId == null
+ ? 43
+ : this.autonomousVmClusterId.hashCode());
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.opcRetryToken == null ? 43 : this.opcRetryToken.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/ChangeCavmKeyManagementSystemRequest.java b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ChangeCavmKeyManagementSystemRequest.java
new file mode 100644
index 0000000000..a9a863f188
--- /dev/null
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ChangeCavmKeyManagementSystemRequest.java
@@ -0,0 +1,372 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.database.requests;
+
+import com.oracle.bmc.database.model.*;
+/**
+ * Example: Click here to see how to use
+ * ChangeCavmKeyManagementSystemRequest.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+public class ChangeCavmKeyManagementSystemRequest
+ extends com.oracle.bmc.requests.BmcRequest<
+ com.oracle.bmc.database.model.KeyManagementSystemDetails> {
+
+ /** Details of Key Management System to be used by Cloud Autonomous VM Cluster. */
+ private com.oracle.bmc.database.model.KeyManagementSystemDetails
+ changeCavmKeyManagementSystemDetails;
+
+ /** Details of Key Management System to be used by Cloud Autonomous VM Cluster. */
+ public com.oracle.bmc.database.model.KeyManagementSystemDetails
+ getChangeCavmKeyManagementSystemDetails() {
+ return changeCavmKeyManagementSystemDetails;
+ }
+ /**
+ * The Cloud VM cluster
+ * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
+ */
+ private String cloudAutonomousVmClusterId;
+
+ /**
+ * The Cloud VM cluster
+ * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
+ */
+ public String getCloudAutonomousVmClusterId() {
+ return cloudAutonomousVmClusterId;
+ }
+ /** Unique identifier for the request. */
+ private String opcRequestId;
+
+ /** Unique identifier for the request. */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+ /**
+ * 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;
+ }
+ /**
+ * 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.KeyManagementSystemDetails getBody$() {
+ return changeCavmKeyManagementSystemDetails;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.requests.BmcRequest.Builder<
+ ChangeCavmKeyManagementSystemRequest,
+ com.oracle.bmc.database.model.KeyManagementSystemDetails> {
+ private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null;
+ private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null;
+
+ /** Details of Key Management System to be used by Cloud Autonomous VM Cluster. */
+ private com.oracle.bmc.database.model.KeyManagementSystemDetails
+ changeCavmKeyManagementSystemDetails = null;
+
+ /**
+ * Details of Key Management System to be used by Cloud Autonomous VM Cluster.
+ *
+ * @param changeCavmKeyManagementSystemDetails the value to set
+ * @return this builder instance
+ */
+ public Builder changeCavmKeyManagementSystemDetails(
+ com.oracle.bmc.database.model.KeyManagementSystemDetails
+ changeCavmKeyManagementSystemDetails) {
+ this.changeCavmKeyManagementSystemDetails = changeCavmKeyManagementSystemDetails;
+ return this;
+ }
+
+ /**
+ * The Cloud VM cluster
+ * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
+ */
+ private String cloudAutonomousVmClusterId = null;
+
+ /**
+ * The Cloud VM cluster
+ * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
+ *
+ * @param cloudAutonomousVmClusterId the value to set
+ * @return this builder instance
+ */
+ public Builder cloudAutonomousVmClusterId(String cloudAutonomousVmClusterId) {
+ this.cloudAutonomousVmClusterId = cloudAutonomousVmClusterId;
+ 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;
+ }
+
+ /**
+ * 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;
+ }
+
+ /**
+ * 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(ChangeCavmKeyManagementSystemRequest o) {
+ changeCavmKeyManagementSystemDetails(o.getChangeCavmKeyManagementSystemDetails());
+ cloudAutonomousVmClusterId(o.getCloudAutonomousVmClusterId());
+ opcRequestId(o.getOpcRequestId());
+ opcRetryToken(o.getOpcRetryToken());
+ ifMatch(o.getIfMatch());
+ invocationCallback(o.getInvocationCallback());
+ retryConfiguration(o.getRetryConfiguration());
+ return this;
+ }
+
+ /**
+ * Build the instance of ChangeCavmKeyManagementSystemRequest 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 ChangeCavmKeyManagementSystemRequest
+ */
+ public ChangeCavmKeyManagementSystemRequest build() {
+ ChangeCavmKeyManagementSystemRequest 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.KeyManagementSystemDetails body) {
+ changeCavmKeyManagementSystemDetails(body);
+ return this;
+ }
+
+ /**
+ * Build the instance of ChangeCavmKeyManagementSystemRequest 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 ChangeCavmKeyManagementSystemRequest
+ */
+ public ChangeCavmKeyManagementSystemRequest buildWithoutInvocationCallback() {
+ ChangeCavmKeyManagementSystemRequest request =
+ new ChangeCavmKeyManagementSystemRequest();
+ request.changeCavmKeyManagementSystemDetails = changeCavmKeyManagementSystemDetails;
+ request.cloudAutonomousVmClusterId = cloudAutonomousVmClusterId;
+ request.opcRequestId = opcRequestId;
+ request.opcRetryToken = opcRetryToken;
+ request.ifMatch = ifMatch;
+ return request;
+ // new ChangeCavmKeyManagementSystemRequest(changeCavmKeyManagementSystemDetails,
+ // cloudAutonomousVmClusterId, opcRequestId, opcRetryToken, 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()
+ .changeCavmKeyManagementSystemDetails(changeCavmKeyManagementSystemDetails)
+ .cloudAutonomousVmClusterId(cloudAutonomousVmClusterId)
+ .opcRequestId(opcRequestId)
+ .opcRetryToken(opcRetryToken)
+ .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(",changeCavmKeyManagementSystemDetails=")
+ .append(String.valueOf(this.changeCavmKeyManagementSystemDetails));
+ sb.append(",cloudAutonomousVmClusterId=")
+ .append(String.valueOf(this.cloudAutonomousVmClusterId));
+ sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId));
+ sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken));
+ 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 ChangeCavmKeyManagementSystemRequest)) {
+ return false;
+ }
+
+ ChangeCavmKeyManagementSystemRequest other = (ChangeCavmKeyManagementSystemRequest) o;
+ return super.equals(o)
+ && java.util.Objects.equals(
+ this.changeCavmKeyManagementSystemDetails,
+ other.changeCavmKeyManagementSystemDetails)
+ && java.util.Objects.equals(
+ this.cloudAutonomousVmClusterId, other.cloudAutonomousVmClusterId)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId)
+ && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken)
+ && java.util.Objects.equals(this.ifMatch, other.ifMatch);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.changeCavmKeyManagementSystemDetails == null
+ ? 43
+ : this.changeCavmKeyManagementSystemDetails.hashCode());
+ result =
+ (result * PRIME)
+ + (this.cloudAutonomousVmClusterId == null
+ ? 43
+ : this.cloudAutonomousVmClusterId.hashCode());
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.opcRetryToken == null ? 43 : this.opcRetryToken.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/ListAutonomousVmClustersRequest.java b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListAutonomousVmClustersRequest.java
index 2a91621e13..236e666dd1 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListAutonomousVmClustersRequest.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListAutonomousVmClustersRequest.java
@@ -151,6 +151,47 @@ public SortOrder getSortOrder() {
getLifecycleState() {
return lifecycleState;
}
+ /** A filter to return only resources that match the given kms exactly. */
+ private KmsType kmsType;
+
+ /** A filter to return only resources that match the given kms exactly. */
+ public enum KmsType implements com.oracle.bmc.http.internal.BmcEnum {
+ OracleKeyVault("ORACLE_KEY_VAULT"),
+ Thales("THALES"),
+ ;
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (KmsType v : KmsType.values()) {
+ map.put(v.getValue(), v);
+ }
+ }
+
+ KmsType(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static KmsType create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ throw new IllegalArgumentException("Invalid KmsType: " + key);
+ }
+ };
+
+ /** A filter to return only resources that match the given kms exactly. */
+ public KmsType getKmsType() {
+ return kmsType;
+ }
/**
* A filter to return only resources that match the entire display name given. The match is not
* case sensitive.
@@ -289,6 +330,20 @@ public Builder lifecycleState(
return this;
}
+ /** A filter to return only resources that match the given kms exactly. */
+ private KmsType kmsType = null;
+
+ /**
+ * A filter to return only resources that match the given kms exactly.
+ *
+ * @param kmsType the value to set
+ * @return this builder instance
+ */
+ public Builder kmsType(KmsType kmsType) {
+ this.kmsType = kmsType;
+ return this;
+ }
+
/**
* A filter to return only resources that match the entire display name given. The match is
* not case sensitive.
@@ -358,6 +413,7 @@ public Builder copy(ListAutonomousVmClustersRequest o) {
sortBy(o.getSortBy());
sortOrder(o.getSortOrder());
lifecycleState(o.getLifecycleState());
+ kmsType(o.getKmsType());
displayName(o.getDisplayName());
opcRequestId(o.getOpcRequestId());
invocationCallback(o.getInvocationCallback());
@@ -401,11 +457,12 @@ public ListAutonomousVmClustersRequest buildWithoutInvocationCallback() {
request.sortBy = sortBy;
request.sortOrder = sortOrder;
request.lifecycleState = lifecycleState;
+ request.kmsType = kmsType;
request.displayName = displayName;
request.opcRequestId = opcRequestId;
return request;
// new ListAutonomousVmClustersRequest(compartmentId, exadataInfrastructureId, limit,
- // page, sortBy, sortOrder, lifecycleState, displayName, opcRequestId);
+ // page, sortBy, sortOrder, lifecycleState, kmsType, displayName, opcRequestId);
}
}
@@ -423,6 +480,7 @@ public Builder toBuilder() {
.sortBy(sortBy)
.sortOrder(sortOrder)
.lifecycleState(lifecycleState)
+ .kmsType(kmsType)
.displayName(displayName)
.opcRequestId(opcRequestId);
}
@@ -448,6 +506,7 @@ public String toString() {
sb.append(",sortBy=").append(String.valueOf(this.sortBy));
sb.append(",sortOrder=").append(String.valueOf(this.sortOrder));
sb.append(",lifecycleState=").append(String.valueOf(this.lifecycleState));
+ sb.append(",kmsType=").append(String.valueOf(this.kmsType));
sb.append(",displayName=").append(String.valueOf(this.displayName));
sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId));
sb.append(")");
@@ -473,6 +532,7 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.sortBy, other.sortBy)
&& java.util.Objects.equals(this.sortOrder, other.sortOrder)
&& java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
+ && java.util.Objects.equals(this.kmsType, other.kmsType)
&& java.util.Objects.equals(this.displayName, other.displayName)
&& java.util.Objects.equals(this.opcRequestId, other.opcRequestId);
}
@@ -496,6 +556,7 @@ public int hashCode() {
result =
(result * PRIME)
+ (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode());
+ result = (result * PRIME) + (this.kmsType == null ? 43 : this.kmsType.hashCode());
result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode());
result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
return result;
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListCloudAutonomousVmClustersRequest.java b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListCloudAutonomousVmClustersRequest.java
index 8a9b5985dd..0c5196bb08 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListCloudAutonomousVmClustersRequest.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListCloudAutonomousVmClustersRequest.java
@@ -152,6 +152,48 @@ public SortOrder getSortOrder() {
getLifecycleState() {
return lifecycleState;
}
+ /** A filter to return only resources that match the given kms exactly. */
+ private KmsType kmsType;
+
+ /** A filter to return only resources that match the given kms exactly. */
+ public enum KmsType implements com.oracle.bmc.http.internal.BmcEnum {
+ OracleKeyVault("ORACLE_KEY_VAULT"),
+ Thales("THALES"),
+ OciVault("OCI_VAULT"),
+ ;
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (KmsType v : KmsType.values()) {
+ map.put(v.getValue(), v);
+ }
+ }
+
+ KmsType(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static KmsType create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ throw new IllegalArgumentException("Invalid KmsType: " + key);
+ }
+ };
+
+ /** A filter to return only resources that match the given kms exactly. */
+ public KmsType getKmsType() {
+ return kmsType;
+ }
/** A filter to return only resources that match the given availability domain exactly. */
private String availabilityDomain;
@@ -297,6 +339,20 @@ public Builder lifecycleState(
return this;
}
+ /** A filter to return only resources that match the given kms exactly. */
+ private KmsType kmsType = null;
+
+ /**
+ * A filter to return only resources that match the given kms exactly.
+ *
+ * @param kmsType the value to set
+ * @return this builder instance
+ */
+ public Builder kmsType(KmsType kmsType) {
+ this.kmsType = kmsType;
+ return this;
+ }
+
/** A filter to return only resources that match the given availability domain exactly. */
private String availabilityDomain = null;
@@ -380,6 +436,7 @@ public Builder copy(ListCloudAutonomousVmClustersRequest o) {
sortBy(o.getSortBy());
sortOrder(o.getSortOrder());
lifecycleState(o.getLifecycleState());
+ kmsType(o.getKmsType());
availabilityDomain(o.getAvailabilityDomain());
displayName(o.getDisplayName());
opcRequestId(o.getOpcRequestId());
@@ -425,13 +482,14 @@ public ListCloudAutonomousVmClustersRequest buildWithoutInvocationCallback() {
request.sortBy = sortBy;
request.sortOrder = sortOrder;
request.lifecycleState = lifecycleState;
+ request.kmsType = kmsType;
request.availabilityDomain = availabilityDomain;
request.displayName = displayName;
request.opcRequestId = opcRequestId;
return request;
// new ListCloudAutonomousVmClustersRequest(compartmentId, cloudExadataInfrastructureId,
- // limit, page, sortBy, sortOrder, lifecycleState, availabilityDomain, displayName,
- // opcRequestId);
+ // limit, page, sortBy, sortOrder, lifecycleState, kmsType, availabilityDomain,
+ // displayName, opcRequestId);
}
}
@@ -449,6 +507,7 @@ public Builder toBuilder() {
.sortBy(sortBy)
.sortOrder(sortOrder)
.lifecycleState(lifecycleState)
+ .kmsType(kmsType)
.availabilityDomain(availabilityDomain)
.displayName(displayName)
.opcRequestId(opcRequestId);
@@ -476,6 +535,7 @@ public String toString() {
sb.append(",sortBy=").append(String.valueOf(this.sortBy));
sb.append(",sortOrder=").append(String.valueOf(this.sortOrder));
sb.append(",lifecycleState=").append(String.valueOf(this.lifecycleState));
+ sb.append(",kmsType=").append(String.valueOf(this.kmsType));
sb.append(",availabilityDomain=").append(String.valueOf(this.availabilityDomain));
sb.append(",displayName=").append(String.valueOf(this.displayName));
sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId));
@@ -502,6 +562,7 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.sortBy, other.sortBy)
&& java.util.Objects.equals(this.sortOrder, other.sortOrder)
&& java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
+ && java.util.Objects.equals(this.kmsType, other.kmsType)
&& java.util.Objects.equals(this.availabilityDomain, other.availabilityDomain)
&& java.util.Objects.equals(this.displayName, other.displayName)
&& java.util.Objects.equals(this.opcRequestId, other.opcRequestId);
@@ -526,6 +587,7 @@ public int hashCode() {
result =
(result * PRIME)
+ (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode());
+ result = (result * PRIME) + (this.kmsType == null ? 43 : this.kmsType.hashCode());
result =
(result * PRIME)
+ (this.availabilityDomain == null
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListKeyStoresRequest.java b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListKeyStoresRequest.java
index 577d8afb59..40149dd492 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListKeyStoresRequest.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListKeyStoresRequest.java
@@ -47,6 +47,56 @@ public String getPage() {
public String getOpcRequestId() {
return opcRequestId;
}
+ /**
+ * A filter to return only resources that match the key store type given. The match is not case
+ * sensitive.
+ */
+ private KeyStoreType keyStoreType;
+
+ /**
+ * A filter to return only resources that match the key store type given. The match is not case
+ * sensitive.
+ */
+ public enum KeyStoreType implements com.oracle.bmc.http.internal.BmcEnum {
+ OracleKeyVault("ORACLE_KEY_VAULT"),
+ Thales("THALES"),
+ ;
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (KeyStoreType v : KeyStoreType.values()) {
+ map.put(v.getValue(), v);
+ }
+ }
+
+ KeyStoreType(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static KeyStoreType create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ throw new IllegalArgumentException("Invalid KeyStoreType: " + key);
+ }
+ };
+
+ /**
+ * A filter to return only resources that match the key store type given. The match is not case
+ * sensitive.
+ */
+ public KeyStoreType getKeyStoreType() {
+ return keyStoreType;
+ }
public static class Builder
implements com.oracle.bmc.requests.BmcRequest.Builder<
@@ -114,6 +164,24 @@ public Builder opcRequestId(String opcRequestId) {
return this;
}
+ /**
+ * A filter to return only resources that match the key store type given. The match is not
+ * case sensitive.
+ */
+ private KeyStoreType keyStoreType = null;
+
+ /**
+ * A filter to return only resources that match the key store type given. The match is not
+ * case sensitive.
+ *
+ * @param keyStoreType the value to set
+ * @return this builder instance
+ */
+ public Builder keyStoreType(KeyStoreType keyStoreType) {
+ this.keyStoreType = keyStoreType;
+ return this;
+ }
+
/**
* Set the invocation callback for the request to be built.
*
@@ -148,6 +216,7 @@ public Builder copy(ListKeyStoresRequest o) {
limit(o.getLimit());
page(o.getPage());
opcRequestId(o.getOpcRequestId());
+ keyStoreType(o.getKeyStoreType());
invocationCallback(o.getInvocationCallback());
retryConfiguration(o.getRetryConfiguration());
return this;
@@ -186,8 +255,9 @@ public ListKeyStoresRequest buildWithoutInvocationCallback() {
request.limit = limit;
request.page = page;
request.opcRequestId = opcRequestId;
+ request.keyStoreType = keyStoreType;
return request;
- // new ListKeyStoresRequest(compartmentId, limit, page, opcRequestId);
+ // new ListKeyStoresRequest(compartmentId, limit, page, opcRequestId, keyStoreType);
}
}
@@ -201,7 +271,8 @@ public Builder toBuilder() {
.compartmentId(compartmentId)
.limit(limit)
.page(page)
- .opcRequestId(opcRequestId);
+ .opcRequestId(opcRequestId)
+ .keyStoreType(keyStoreType);
}
/**
@@ -222,6 +293,7 @@ public String toString() {
sb.append(",limit=").append(String.valueOf(this.limit));
sb.append(",page=").append(String.valueOf(this.page));
sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId));
+ sb.append(",keyStoreType=").append(String.valueOf(this.keyStoreType));
sb.append(")");
return sb.toString();
}
@@ -240,7 +312,8 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.compartmentId, other.compartmentId)
&& java.util.Objects.equals(this.limit, other.limit)
&& java.util.Objects.equals(this.page, other.page)
- && java.util.Objects.equals(this.opcRequestId, other.opcRequestId);
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId)
+ && java.util.Objects.equals(this.keyStoreType, other.keyStoreType);
}
@Override
@@ -253,6 +326,7 @@ public int hashCode() {
result = (result * PRIME) + (this.limit == null ? 43 : this.limit.hashCode());
result = (result * PRIME) + (this.page == null ? 43 : this.page.hashCode());
result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ result = (result * PRIME) + (this.keyStoreType == null ? 43 : this.keyStoreType.hashCode());
return result;
}
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/responses/ChangeAvmKeyManagementSystemResponse.java b/bmc-database/src/main/java/com/oracle/bmc/database/responses/ChangeAvmKeyManagementSystemResponse.java
new file mode 100644
index 0000000000..e375748389
--- /dev/null
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/responses/ChangeAvmKeyManagementSystemResponse.java
@@ -0,0 +1,194 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.database.responses;
+
+import com.oracle.bmc.database.model.*;
+
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+public class ChangeAvmKeyManagementSystemResponse extends com.oracle.bmc.responses.BmcResponse {
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/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.oracle.com/iaas/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 ChangeAvmKeyManagementSystemResponse(
+ 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<
+ ChangeAvmKeyManagementSystemResponse> {
+ 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.oracle.com/iaas/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.oracle.com/iaas/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(ChangeAvmKeyManagementSystemResponse 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 ChangeAvmKeyManagementSystemResponse build() {
+ return new ChangeAvmKeyManagementSystemResponse(
+ __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 ChangeAvmKeyManagementSystemResponse)) {
+ return false;
+ }
+
+ ChangeAvmKeyManagementSystemResponse other = (ChangeAvmKeyManagementSystemResponse) 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/ChangeCavmKeyManagementSystemResponse.java b/bmc-database/src/main/java/com/oracle/bmc/database/responses/ChangeCavmKeyManagementSystemResponse.java
new file mode 100644
index 0000000000..e2d9af4cc7
--- /dev/null
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/responses/ChangeCavmKeyManagementSystemResponse.java
@@ -0,0 +1,194 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.database.responses;
+
+import com.oracle.bmc.database.model.*;
+
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+public class ChangeCavmKeyManagementSystemResponse extends com.oracle.bmc.responses.BmcResponse {
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/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.oracle.com/iaas/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 ChangeCavmKeyManagementSystemResponse(
+ 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<
+ ChangeCavmKeyManagementSystemResponse> {
+ 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.oracle.com/iaas/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.oracle.com/iaas/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(ChangeCavmKeyManagementSystemResponse 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 ChangeCavmKeyManagementSystemResponse build() {
+ return new ChangeCavmKeyManagementSystemResponse(
+ __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 ChangeCavmKeyManagementSystemResponse)) {
+ return false;
+ }
+
+ ChangeCavmKeyManagementSystemResponse other = (ChangeCavmKeyManagementSystemResponse) 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 f9015c986c..8ce11b0586 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
@@ -8510,6 +8510,19 @@
"allDeclaredFields": true,
"allDeclaredMethods": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.database.model.KeyManagementSystemDetails",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.database.model.KeyManagementSystemDetails$KeyManagementSystem",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.database.model.KeyStore",
@@ -8530,6 +8543,34 @@
"allDeclaredFields": true,
"allDeclaredMethods": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.database.model.KeyStoreAssociatedAutonomousVmClusterDetails",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.database.model.KeyStoreAssociatedAutonomousVmClusterDetails$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.database.model.KeyStoreAssociatedCloudAutonomousVmClusterDetails",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.database.model.KeyStoreAssociatedCloudAutonomousVmClusterDetails$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.database.model.KeyStoreAssociatedDatabaseDetails",
@@ -8591,6 +8632,20 @@
"allDeclaredMethods": true,
"allDeclaredConstructors": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.database.model.KeyStoreTypeFromThalesDetails",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.database.model.KeyStoreTypeFromThalesDetails$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.database.model.LaunchAutonomousExadataInfrastructureDetails",
@@ -9309,6 +9364,20 @@
"allDeclaredMethods": true,
"allDeclaredConstructors": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.database.model.OciVaultKeyManagementSystemDetails",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.database.model.OciVaultKeyManagementSystemDetails$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.database.model.OkvKeyDetails",
@@ -9383,6 +9452,20 @@
"allDeclaredFields": true,
"allDeclaredMethods": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.database.model.OracleKeyVaultKeyManagementSystemDetails",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.database.model.OracleKeyVaultKeyManagementSystemDetails$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.database.model.OracleManagedKeyDetails",
@@ -9397,6 +9480,20 @@
"allDeclaredMethods": true,
"allDeclaredConstructors": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.database.model.OracleManagedKeyManagementSystemDetails",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.database.model.OracleManagedKeyManagementSystemDetails$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.database.model.Patch",
@@ -10870,6 +10967,20 @@
"allDeclaredFields": true,
"allDeclaredMethods": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.database.model.ThalesKeyManagementSystemDetails",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.database.model.ThalesKeyManagementSystemDetails$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.database.model.UndeleteAutonomousDatabaseDetails",
diff --git a/bmc-databasemanagement/pom.xml b/bmc-databasemanagement/pom.xml
index 236fa02235..c82a7aba88 100644
--- a/bmc-databasemanagement/pom.xml
+++ b/bmc-databasemanagement/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.102.0
+ 3.103.0
../pom.xml
oci-java-sdk-databasemanagement
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.102.0
+ 3.103.0
\ No newline at end of file
diff --git a/bmc-databasemigration/pom.xml b/bmc-databasemigration/pom.xml
index cc1195320d..2e7d1cfce2 100644
--- a/bmc-databasemigration/pom.xml
+++ b/bmc-databasemigration/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.102.0
+ 3.103.0
../pom.xml
oci-java-sdk-databasemigration
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.102.0
+ 3.103.0
\ No newline at end of file
diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CloneOracleOnlineStandbyMigrationSettings.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CloneOracleOnlineStandbyMigrationSettings.java
deleted file mode 100644
index 8823e7be23..0000000000
--- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CloneOracleOnlineStandbyMigrationSettings.java
+++ /dev/null
@@ -1,192 +0,0 @@
-/**
- * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
- * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
- */
-package com.oracle.bmc.databasemigration.model;
-
-/**
- * Clone settings for an online standby Oracle migration.
- * 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: 20230518")
-@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
- builder = CloneOracleOnlineStandbyMigrationSettings.Builder.class)
-@com.fasterxml.jackson.annotation.JsonTypeInfo(
- use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
- include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
- property = "migrationMethod")
-@com.fasterxml.jackson.annotation.JsonFilter(
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
-public final class CloneOracleOnlineStandbyMigrationSettings extends CloneOracleMigrationSettings {
- @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
- public static class Builder {
- /** The OCID of the resource being referenced. */
- @com.fasterxml.jackson.annotation.JsonProperty("sourceContainerDatabaseConnectionId")
- private String sourceContainerDatabaseConnectionId;
-
- /**
- * The OCID of the resource being referenced.
- *
- * @param sourceContainerDatabaseConnectionId the value to set
- * @return this builder
- */
- public Builder sourceContainerDatabaseConnectionId(
- String sourceContainerDatabaseConnectionId) {
- this.sourceContainerDatabaseConnectionId = sourceContainerDatabaseConnectionId;
- this.__explicitlySet__.add("sourceContainerDatabaseConnectionId");
- return this;
- }
- /** The OCID of the resource being referenced. */
- @com.fasterxml.jackson.annotation.JsonProperty("sourceStandbyDatabaseConnectionId")
- private String sourceStandbyDatabaseConnectionId;
-
- /**
- * The OCID of the resource being referenced.
- *
- * @param sourceStandbyDatabaseConnectionId the value to set
- * @return this builder
- */
- public Builder sourceStandbyDatabaseConnectionId(String sourceStandbyDatabaseConnectionId) {
- this.sourceStandbyDatabaseConnectionId = sourceStandbyDatabaseConnectionId;
- this.__explicitlySet__.add("sourceStandbyDatabaseConnectionId");
- return this;
- }
-
- @com.fasterxml.jackson.annotation.JsonIgnore
- private final java.util.Set __explicitlySet__ = new java.util.HashSet();
-
- public CloneOracleOnlineStandbyMigrationSettings build() {
- CloneOracleOnlineStandbyMigrationSettings model =
- new CloneOracleOnlineStandbyMigrationSettings(
- this.sourceContainerDatabaseConnectionId,
- this.sourceStandbyDatabaseConnectionId);
- for (String explicitlySetProperty : this.__explicitlySet__) {
- model.markPropertyAsExplicitlySet(explicitlySetProperty);
- }
- return model;
- }
-
- @com.fasterxml.jackson.annotation.JsonIgnore
- public Builder copy(CloneOracleOnlineStandbyMigrationSettings model) {
- if (model.wasPropertyExplicitlySet("sourceContainerDatabaseConnectionId")) {
- this.sourceContainerDatabaseConnectionId(
- model.getSourceContainerDatabaseConnectionId());
- }
- if (model.wasPropertyExplicitlySet("sourceStandbyDatabaseConnectionId")) {
- this.sourceStandbyDatabaseConnectionId(
- model.getSourceStandbyDatabaseConnectionId());
- }
- return this;
- }
- }
-
- /** Create a new builder. */
- public static Builder builder() {
- return new Builder();
- }
-
- public Builder toBuilder() {
- return new Builder().copy(this);
- }
-
- @Deprecated
- public CloneOracleOnlineStandbyMigrationSettings(
- String sourceContainerDatabaseConnectionId, String sourceStandbyDatabaseConnectionId) {
- super();
- this.sourceContainerDatabaseConnectionId = sourceContainerDatabaseConnectionId;
- this.sourceStandbyDatabaseConnectionId = sourceStandbyDatabaseConnectionId;
- }
-
- /** The OCID of the resource being referenced. */
- @com.fasterxml.jackson.annotation.JsonProperty("sourceContainerDatabaseConnectionId")
- private final String sourceContainerDatabaseConnectionId;
-
- /**
- * The OCID of the resource being referenced.
- *
- * @return the value
- */
- public String getSourceContainerDatabaseConnectionId() {
- return sourceContainerDatabaseConnectionId;
- }
-
- /** The OCID of the resource being referenced. */
- @com.fasterxml.jackson.annotation.JsonProperty("sourceStandbyDatabaseConnectionId")
- private final String sourceStandbyDatabaseConnectionId;
-
- /**
- * The OCID of the resource being referenced.
- *
- * @return the value
- */
- public String getSourceStandbyDatabaseConnectionId() {
- return sourceStandbyDatabaseConnectionId;
- }
-
- @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("CloneOracleOnlineStandbyMigrationSettings(");
- sb.append("super=").append(super.toString(includeByteArrayContents));
- sb.append(", sourceContainerDatabaseConnectionId=")
- .append(String.valueOf(this.sourceContainerDatabaseConnectionId));
- sb.append(", sourceStandbyDatabaseConnectionId=")
- .append(String.valueOf(this.sourceStandbyDatabaseConnectionId));
- sb.append(")");
- return sb.toString();
- }
-
- @Override
- public boolean equals(Object o) {
- if (this == o) {
- return true;
- }
- if (!(o instanceof CloneOracleOnlineStandbyMigrationSettings)) {
- return false;
- }
-
- CloneOracleOnlineStandbyMigrationSettings other =
- (CloneOracleOnlineStandbyMigrationSettings) o;
- return java.util.Objects.equals(
- this.sourceContainerDatabaseConnectionId,
- other.sourceContainerDatabaseConnectionId)
- && java.util.Objects.equals(
- this.sourceStandbyDatabaseConnectionId,
- other.sourceStandbyDatabaseConnectionId)
- && super.equals(other);
- }
-
- @Override
- public int hashCode() {
- final int PRIME = 59;
- int result = super.hashCode();
- result =
- (result * PRIME)
- + (this.sourceContainerDatabaseConnectionId == null
- ? 43
- : this.sourceContainerDatabaseConnectionId.hashCode());
- result =
- (result * PRIME)
- + (this.sourceStandbyDatabaseConnectionId == null
- ? 43
- : this.sourceStandbyDatabaseConnectionId.hashCode());
- return result;
- }
-}
diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleAwsS3DataTransferMediumDetails.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleAwsS3DataTransferMediumDetails.java
index bd1c926cfc..ec2d3ff6bf 100644
--- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleAwsS3DataTransferMediumDetails.java
+++ b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleAwsS3DataTransferMediumDetails.java
@@ -5,8 +5,8 @@
package com.oracle.bmc.databasemigration.model;
/**
- * AWS S3 bucket details used for source Connection resources with RDS_ORACLE type. Only supported
- * for source Connection resources with RDS_ORACLE type.
+ * AWS S3 bucket details used to transfer Data Pump dump files for Oracle migrations. Supported for
+ * source Connection resources with ORACLE_DATABASE, ORACLE_EXADATA, or AMAZON_RDS_ORACLE type.
* Note: Objects should always be created or deserialized using the {@link Builder}. This model
* distinguishes fields that are {@code null} because they are unset from fields that are explicitly
* set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a
diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleAzureBlobDataTransferMediumDetails.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleAzureBlobDataTransferMediumDetails.java
new file mode 100644
index 0000000000..baa702c674
--- /dev/null
+++ b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleAzureBlobDataTransferMediumDetails.java
@@ -0,0 +1,232 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.databasemigration.model;
+
+/**
+ * Azure Blob Storage details used to transfer Data Pump dump files for Oracle migrations.
+ * 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: 20230518")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = CreateOracleAzureBlobDataTransferMediumDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "type")
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class CreateOracleAzureBlobDataTransferMediumDetails
+ extends CreateOracleDataTransferMediumDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /** Azure Storage account name. */
+ @com.fasterxml.jackson.annotation.JsonProperty("storageAccountName")
+ private String storageAccountName;
+
+ /**
+ * Azure Storage account name.
+ *
+ * @param storageAccountName the value to set
+ * @return this builder
+ */
+ public Builder storageAccountName(String storageAccountName) {
+ this.storageAccountName = storageAccountName;
+ this.__explicitlySet__.add("storageAccountName");
+ return this;
+ }
+ /** Azure Blob container name. */
+ @com.fasterxml.jackson.annotation.JsonProperty("containerName")
+ private String containerName;
+
+ /**
+ * Azure Blob container name.
+ *
+ * @param containerName the value to set
+ * @return this builder
+ */
+ public Builder containerName(String containerName) {
+ this.containerName = containerName;
+ this.__explicitlySet__.add("containerName");
+ return this;
+ }
+ /**
+ * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OCI
+ * Vault secret that contains the Azure Storage Account Key.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("storageAccountKeySecretId")
+ private String storageAccountKeySecretId;
+
+ /**
+ * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OCI
+ * Vault secret that contains the Azure Storage Account Key.
+ *
+ * @param storageAccountKeySecretId the value to set
+ * @return this builder
+ */
+ public Builder storageAccountKeySecretId(String storageAccountKeySecretId) {
+ this.storageAccountKeySecretId = storageAccountKeySecretId;
+ this.__explicitlySet__.add("storageAccountKeySecretId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public CreateOracleAzureBlobDataTransferMediumDetails build() {
+ CreateOracleAzureBlobDataTransferMediumDetails model =
+ new CreateOracleAzureBlobDataTransferMediumDetails(
+ this.storageAccountName,
+ this.containerName,
+ this.storageAccountKeySecretId);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(CreateOracleAzureBlobDataTransferMediumDetails model) {
+ if (model.wasPropertyExplicitlySet("storageAccountName")) {
+ this.storageAccountName(model.getStorageAccountName());
+ }
+ if (model.wasPropertyExplicitlySet("containerName")) {
+ this.containerName(model.getContainerName());
+ }
+ if (model.wasPropertyExplicitlySet("storageAccountKeySecretId")) {
+ this.storageAccountKeySecretId(model.getStorageAccountKeySecretId());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public CreateOracleAzureBlobDataTransferMediumDetails(
+ String storageAccountName, String containerName, String storageAccountKeySecretId) {
+ super();
+ this.storageAccountName = storageAccountName;
+ this.containerName = containerName;
+ this.storageAccountKeySecretId = storageAccountKeySecretId;
+ }
+
+ /** Azure Storage account name. */
+ @com.fasterxml.jackson.annotation.JsonProperty("storageAccountName")
+ private final String storageAccountName;
+
+ /**
+ * Azure Storage account name.
+ *
+ * @return the value
+ */
+ public String getStorageAccountName() {
+ return storageAccountName;
+ }
+
+ /** Azure Blob container name. */
+ @com.fasterxml.jackson.annotation.JsonProperty("containerName")
+ private final String containerName;
+
+ /**
+ * Azure Blob container name.
+ *
+ * @return the value
+ */
+ public String getContainerName() {
+ return containerName;
+ }
+
+ /**
+ * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OCI Vault
+ * secret that contains the Azure Storage Account Key.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("storageAccountKeySecretId")
+ private final String storageAccountKeySecretId;
+
+ /**
+ * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OCI Vault
+ * secret that contains the Azure Storage Account Key.
+ *
+ * @return the value
+ */
+ public String getStorageAccountKeySecretId() {
+ return storageAccountKeySecretId;
+ }
+
+ @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("CreateOracleAzureBlobDataTransferMediumDetails(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(", storageAccountName=").append(String.valueOf(this.storageAccountName));
+ sb.append(", containerName=").append(String.valueOf(this.containerName));
+ sb.append(", storageAccountKeySecretId=")
+ .append(String.valueOf(this.storageAccountKeySecretId));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof CreateOracleAzureBlobDataTransferMediumDetails)) {
+ return false;
+ }
+
+ CreateOracleAzureBlobDataTransferMediumDetails other =
+ (CreateOracleAzureBlobDataTransferMediumDetails) o;
+ return java.util.Objects.equals(this.storageAccountName, other.storageAccountName)
+ && java.util.Objects.equals(this.containerName, other.containerName)
+ && java.util.Objects.equals(
+ this.storageAccountKeySecretId, other.storageAccountKeySecretId)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.storageAccountName == null
+ ? 43
+ : this.storageAccountName.hashCode());
+ result =
+ (result * PRIME)
+ + (this.containerName == null ? 43 : this.containerName.hashCode());
+ result =
+ (result * PRIME)
+ + (this.storageAccountKeySecretId == null
+ ? 43
+ : this.storageAccountKeySecretId.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleDataTransferMediumDetails.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleDataTransferMediumDetails.java
index 47813b9b0f..2aa6a17cb7 100644
--- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleDataTransferMediumDetails.java
+++ b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleDataTransferMediumDetails.java
@@ -25,9 +25,15 @@
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = CreateOracleDbLinkDataTransferMediumDetails.class,
name = "DBLINK"),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = CreateOracleGcsDataTransferMediumDetails.class,
+ name = "GCS"),
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = CreateOracleNfsDataTransferMediumDetails.class,
name = "NFS"),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = CreateOracleAzureBlobDataTransferMediumDetails.class,
+ name = "AZURE_BLOB"),
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = CreateOracleObjectStorageDataTransferMediumDetails.class,
name = "OBJECT_STORAGE"),
@@ -90,6 +96,8 @@ public enum Type implements com.oracle.bmc.http.internal.BmcEnum {
Dblink("DBLINK"),
ObjectStorage("OBJECT_STORAGE"),
AwsS3("AWS_S3"),
+ AzureBlob("AZURE_BLOB"),
+ Gcs("GCS"),
Nfs("NFS"),
;
diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleGcsDataTransferMediumDetails.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleGcsDataTransferMediumDetails.java
new file mode 100644
index 0000000000..c55499039f
--- /dev/null
+++ b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleGcsDataTransferMediumDetails.java
@@ -0,0 +1,224 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.databasemigration.model;
+
+/**
+ * Google Cloud Storage details used to transfer Data Pump dump files for Oracle migrations.
+ * 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: 20230518")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = CreateOracleGcsDataTransferMediumDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "type")
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class CreateOracleGcsDataTransferMediumDetails
+ extends CreateOracleDataTransferMediumDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /** Google Cloud Storage bucket name. */
+ @com.fasterxml.jackson.annotation.JsonProperty("bucketName")
+ private String bucketName;
+
+ /**
+ * Google Cloud Storage bucket name.
+ *
+ * @param bucketName the value to set
+ * @return this builder
+ */
+ public Builder bucketName(String bucketName) {
+ this.bucketName = bucketName;
+ this.__explicitlySet__.add("bucketName");
+ return this;
+ }
+ /** GCS HMAC access-key ID. */
+ @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId")
+ private String accessKeyId;
+
+ /**
+ * GCS HMAC access-key ID.
+ *
+ * @param accessKeyId the value to set
+ * @return this builder
+ */
+ public Builder accessKeyId(String accessKeyId) {
+ this.accessKeyId = accessKeyId;
+ this.__explicitlySet__.add("accessKeyId");
+ return this;
+ }
+ /**
+ * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OCI
+ * Vault secret that contains the GCS HMAC secret access key.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId")
+ private String secretAccessKeySecretId;
+
+ /**
+ * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OCI
+ * Vault secret that contains the GCS HMAC secret access key.
+ *
+ * @param secretAccessKeySecretId the value to set
+ * @return this builder
+ */
+ public Builder secretAccessKeySecretId(String secretAccessKeySecretId) {
+ this.secretAccessKeySecretId = secretAccessKeySecretId;
+ this.__explicitlySet__.add("secretAccessKeySecretId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public CreateOracleGcsDataTransferMediumDetails build() {
+ CreateOracleGcsDataTransferMediumDetails model =
+ new CreateOracleGcsDataTransferMediumDetails(
+ this.bucketName, this.accessKeyId, this.secretAccessKeySecretId);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(CreateOracleGcsDataTransferMediumDetails model) {
+ if (model.wasPropertyExplicitlySet("bucketName")) {
+ this.bucketName(model.getBucketName());
+ }
+ if (model.wasPropertyExplicitlySet("accessKeyId")) {
+ this.accessKeyId(model.getAccessKeyId());
+ }
+ if (model.wasPropertyExplicitlySet("secretAccessKeySecretId")) {
+ this.secretAccessKeySecretId(model.getSecretAccessKeySecretId());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public CreateOracleGcsDataTransferMediumDetails(
+ String bucketName, String accessKeyId, String secretAccessKeySecretId) {
+ super();
+ this.bucketName = bucketName;
+ this.accessKeyId = accessKeyId;
+ this.secretAccessKeySecretId = secretAccessKeySecretId;
+ }
+
+ /** Google Cloud Storage bucket name. */
+ @com.fasterxml.jackson.annotation.JsonProperty("bucketName")
+ private final String bucketName;
+
+ /**
+ * Google Cloud Storage bucket name.
+ *
+ * @return the value
+ */
+ public String getBucketName() {
+ return bucketName;
+ }
+
+ /** GCS HMAC access-key ID. */
+ @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId")
+ private final String accessKeyId;
+
+ /**
+ * GCS HMAC access-key ID.
+ *
+ * @return the value
+ */
+ public String getAccessKeyId() {
+ return accessKeyId;
+ }
+
+ /**
+ * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OCI Vault
+ * secret that contains the GCS HMAC secret access key.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId")
+ private final String secretAccessKeySecretId;
+
+ /**
+ * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OCI Vault
+ * secret that contains the GCS HMAC secret access key.
+ *
+ * @return the value
+ */
+ public String getSecretAccessKeySecretId() {
+ return secretAccessKeySecretId;
+ }
+
+ @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("CreateOracleGcsDataTransferMediumDetails(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(", bucketName=").append(String.valueOf(this.bucketName));
+ sb.append(", accessKeyId=").append(String.valueOf(this.accessKeyId));
+ sb.append(", secretAccessKeySecretId=")
+ .append(String.valueOf(this.secretAccessKeySecretId));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof CreateOracleGcsDataTransferMediumDetails)) {
+ return false;
+ }
+
+ CreateOracleGcsDataTransferMediumDetails other =
+ (CreateOracleGcsDataTransferMediumDetails) o;
+ return java.util.Objects.equals(this.bucketName, other.bucketName)
+ && java.util.Objects.equals(this.accessKeyId, other.accessKeyId)
+ && java.util.Objects.equals(
+ this.secretAccessKeySecretId, other.secretAccessKeySecretId)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result = (result * PRIME) + (this.bucketName == null ? 43 : this.bucketName.hashCode());
+ result = (result * PRIME) + (this.accessKeyId == null ? 43 : this.accessKeyId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.secretAccessKeySecretId == null
+ ? 43
+ : this.secretAccessKeySecretId.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleMigrationDetails.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleMigrationDetails.java
index 767fcb02b7..5ef1ba6d9a 100644
--- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleMigrationDetails.java
+++ b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleMigrationDetails.java
@@ -5,8 +5,7 @@
package com.oracle.bmc.databasemigration.model;
/**
- * Create Migration resource parameters. Deprecated: The parent-level Oracle migration configuration
- * properties on this model are deprecated. Use {@code migrationSettings} instead.
+ * Create Migration resource parameters.
* 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
@@ -110,15 +109,6 @@ public Builder assessmentId(String assessmentId) {
return this;
}
- @com.fasterxml.jackson.annotation.JsonProperty("migrationSettings")
- private CreateOracleMigrationSettings migrationSettings;
-
- public Builder migrationSettings(CreateOracleMigrationSettings migrationSettings) {
- this.migrationSettings = migrationSettings;
- this.__explicitlySet__.add("migrationSettings");
- return this;
- }
-
@com.fasterxml.jackson.annotation.JsonProperty("dataTransferMediumDetails")
private CreateOracleDataTransferMediumDetails dataTransferMediumDetails;
@@ -286,7 +276,6 @@ public CreateOracleMigrationDetails build() {
this.freeformTags,
this.definedTags,
this.assessmentId,
- this.migrationSettings,
this.dataTransferMediumDetails,
this.initialLoadSettings,
this.advisorSettings,
@@ -333,9 +322,6 @@ public Builder copy(CreateOracleMigrationDetails model) {
if (model.wasPropertyExplicitlySet("assessmentId")) {
this.assessmentId(model.getAssessmentId());
}
- if (model.wasPropertyExplicitlySet("migrationSettings")) {
- this.migrationSettings(model.getMigrationSettings());
- }
if (model.wasPropertyExplicitlySet("dataTransferMediumDetails")) {
this.dataTransferMediumDetails(model.getDataTransferMediumDetails());
}
@@ -395,7 +381,6 @@ public CreateOracleMigrationDetails(
java.util.Map freeformTags,
java.util.Map> definedTags,
String assessmentId,
- CreateOracleMigrationSettings migrationSettings,
CreateOracleDataTransferMediumDetails dataTransferMediumDetails,
CreateOracleInitialLoadSettings initialLoadSettings,
CreateOracleAdvisorSettings advisorSettings,
@@ -417,7 +402,6 @@ public CreateOracleMigrationDetails(
freeformTags,
definedTags,
assessmentId);
- this.migrationSettings = migrationSettings;
this.dataTransferMediumDetails = dataTransferMediumDetails;
this.initialLoadSettings = initialLoadSettings;
this.advisorSettings = advisorSettings;
@@ -431,13 +415,6 @@ public CreateOracleMigrationDetails(
this.bulkIncludeExcludeData = bulkIncludeExcludeData;
}
- @com.fasterxml.jackson.annotation.JsonProperty("migrationSettings")
- private final CreateOracleMigrationSettings migrationSettings;
-
- public CreateOracleMigrationSettings getMigrationSettings() {
- return migrationSettings;
- }
-
@com.fasterxml.jackson.annotation.JsonProperty("dataTransferMediumDetails")
private final CreateOracleDataTransferMediumDetails dataTransferMediumDetails;
@@ -576,7 +553,6 @@ public String toString(boolean includeByteArrayContents) {
java.lang.StringBuilder sb = new java.lang.StringBuilder();
sb.append("CreateOracleMigrationDetails(");
sb.append("super=").append(super.toString(includeByteArrayContents));
- sb.append(", migrationSettings=").append(String.valueOf(this.migrationSettings));
sb.append(", dataTransferMediumDetails=")
.append(String.valueOf(this.dataTransferMediumDetails));
sb.append(", initialLoadSettings=").append(String.valueOf(this.initialLoadSettings));
@@ -605,8 +581,7 @@ public boolean equals(Object o) {
}
CreateOracleMigrationDetails other = (CreateOracleMigrationDetails) o;
- return java.util.Objects.equals(this.migrationSettings, other.migrationSettings)
- && java.util.Objects.equals(
+ return java.util.Objects.equals(
this.dataTransferMediumDetails, other.dataTransferMediumDetails)
&& java.util.Objects.equals(this.initialLoadSettings, other.initialLoadSettings)
&& java.util.Objects.equals(this.advisorSettings, other.advisorSettings)
@@ -630,9 +605,6 @@ public boolean equals(Object o) {
public int hashCode() {
final int PRIME = 59;
int result = super.hashCode();
- result =
- (result * PRIME)
- + (this.migrationSettings == null ? 43 : this.migrationSettings.hashCode());
result =
(result * PRIME)
+ (this.dataTransferMediumDetails == null
diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleOfflineLogicalMigrationSettings.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleOfflineLogicalMigrationSettings.java
deleted file mode 100644
index bf829150ac..0000000000
--- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleOfflineLogicalMigrationSettings.java
+++ /dev/null
@@ -1,377 +0,0 @@
-/**
- * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
- * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
- */
-package com.oracle.bmc.databasemigration.model;
-
-/**
- * Create settings for an offline logical Oracle migration.
- * 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: 20230518")
-@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
- builder = CreateOracleOfflineLogicalMigrationSettings.Builder.class)
-@com.fasterxml.jackson.annotation.JsonTypeInfo(
- use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
- include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
- property = "migrationMethod")
-@com.fasterxml.jackson.annotation.JsonFilter(
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
-public final class CreateOracleOfflineLogicalMigrationSettings
- extends CreateOracleMigrationSettings {
- @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
- public static class Builder {
-
- @com.fasterxml.jackson.annotation.JsonProperty("dataTransferMediumDetails")
- private CreateOracleDataTransferMediumDetails dataTransferMediumDetails;
-
- public Builder dataTransferMediumDetails(
- CreateOracleDataTransferMediumDetails dataTransferMediumDetails) {
- this.dataTransferMediumDetails = dataTransferMediumDetails;
- this.__explicitlySet__.add("dataTransferMediumDetails");
- return this;
- }
-
- @com.fasterxml.jackson.annotation.JsonProperty("initialLoadSettings")
- private CreateOracleInitialLoadSettings initialLoadSettings;
-
- public Builder initialLoadSettings(CreateOracleInitialLoadSettings initialLoadSettings) {
- this.initialLoadSettings = initialLoadSettings;
- this.__explicitlySet__.add("initialLoadSettings");
- return this;
- }
-
- @com.fasterxml.jackson.annotation.JsonProperty("advisorSettings")
- private CreateOracleAdvisorSettings advisorSettings;
-
- public Builder advisorSettings(CreateOracleAdvisorSettings advisorSettings) {
- this.advisorSettings = advisorSettings;
- this.__explicitlySet__.add("advisorSettings");
- return this;
- }
- /** List of Migration Parameter objects. */
- @com.fasterxml.jackson.annotation.JsonProperty("advancedParameters")
- private java.util.List advancedParameters;
-
- /**
- * List of Migration Parameter objects.
- *
- * @param advancedParameters the value to set
- * @return this builder
- */
- public Builder advancedParameters(
- java.util.List advancedParameters) {
- this.advancedParameters = advancedParameters;
- this.__explicitlySet__.add("advancedParameters");
- return this;
- }
- /**
- * Database objects to exclude from migration, cannot be specified alongside
- * 'includeObjects'
- */
- @com.fasterxml.jackson.annotation.JsonProperty("excludeObjects")
- private java.util.List excludeObjects;
-
- /**
- * Database objects to exclude from migration, cannot be specified alongside
- * 'includeObjects'
- *
- * @param excludeObjects the value to set
- * @return this builder
- */
- public Builder excludeObjects(java.util.List excludeObjects) {
- this.excludeObjects = excludeObjects;
- this.__explicitlySet__.add("excludeObjects");
- return this;
- }
- /**
- * Database objects to include from migration, cannot be specified alongside
- * 'excludeObjects'
- */
- @com.fasterxml.jackson.annotation.JsonProperty("includeObjects")
- private java.util.List includeObjects;
-
- /**
- * Database objects to include from migration, cannot be specified alongside
- * 'excludeObjects'
- *
- * @param includeObjects the value to set
- * @return this builder
- */
- public Builder includeObjects(java.util.List includeObjects) {
- this.includeObjects = includeObjects;
- this.__explicitlySet__.add("includeObjects");
- return this;
- }
- /**
- * Specifies the database objects to be excluded from the migration in bulk. The definition
- * accepts input in a CSV format, newline separated for each entry. More details can be
- * found in the documentation.
- */
- @com.fasterxml.jackson.annotation.JsonProperty("bulkIncludeExcludeData")
- private String bulkIncludeExcludeData;
-
- /**
- * Specifies the database objects to be excluded from the migration in bulk. The definition
- * accepts input in a CSV format, newline separated for each entry. More details can be
- * found in the documentation.
- *
- * @param bulkIncludeExcludeData the value to set
- * @return this builder
- */
- public Builder bulkIncludeExcludeData(String bulkIncludeExcludeData) {
- this.bulkIncludeExcludeData = bulkIncludeExcludeData;
- this.__explicitlySet__.add("bulkIncludeExcludeData");
- return this;
- }
-
- @com.fasterxml.jackson.annotation.JsonIgnore
- private final java.util.Set __explicitlySet__ = new java.util.HashSet();
-
- public CreateOracleOfflineLogicalMigrationSettings build() {
- CreateOracleOfflineLogicalMigrationSettings model =
- new CreateOracleOfflineLogicalMigrationSettings(
- this.dataTransferMediumDetails,
- this.initialLoadSettings,
- this.advisorSettings,
- this.advancedParameters,
- this.excludeObjects,
- this.includeObjects,
- this.bulkIncludeExcludeData);
- for (String explicitlySetProperty : this.__explicitlySet__) {
- model.markPropertyAsExplicitlySet(explicitlySetProperty);
- }
- return model;
- }
-
- @com.fasterxml.jackson.annotation.JsonIgnore
- public Builder copy(CreateOracleOfflineLogicalMigrationSettings model) {
- if (model.wasPropertyExplicitlySet("dataTransferMediumDetails")) {
- this.dataTransferMediumDetails(model.getDataTransferMediumDetails());
- }
- if (model.wasPropertyExplicitlySet("initialLoadSettings")) {
- this.initialLoadSettings(model.getInitialLoadSettings());
- }
- if (model.wasPropertyExplicitlySet("advisorSettings")) {
- this.advisorSettings(model.getAdvisorSettings());
- }
- if (model.wasPropertyExplicitlySet("advancedParameters")) {
- this.advancedParameters(model.getAdvancedParameters());
- }
- if (model.wasPropertyExplicitlySet("excludeObjects")) {
- this.excludeObjects(model.getExcludeObjects());
- }
- if (model.wasPropertyExplicitlySet("includeObjects")) {
- this.includeObjects(model.getIncludeObjects());
- }
- if (model.wasPropertyExplicitlySet("bulkIncludeExcludeData")) {
- this.bulkIncludeExcludeData(model.getBulkIncludeExcludeData());
- }
- return this;
- }
- }
-
- /** Create a new builder. */
- public static Builder builder() {
- return new Builder();
- }
-
- public Builder toBuilder() {
- return new Builder().copy(this);
- }
-
- @Deprecated
- public CreateOracleOfflineLogicalMigrationSettings(
- CreateOracleDataTransferMediumDetails dataTransferMediumDetails,
- CreateOracleInitialLoadSettings initialLoadSettings,
- CreateOracleAdvisorSettings advisorSettings,
- java.util.List advancedParameters,
- java.util.List excludeObjects,
- java.util.List includeObjects,
- String bulkIncludeExcludeData) {
- super();
- this.dataTransferMediumDetails = dataTransferMediumDetails;
- this.initialLoadSettings = initialLoadSettings;
- this.advisorSettings = advisorSettings;
- this.advancedParameters = advancedParameters;
- this.excludeObjects = excludeObjects;
- this.includeObjects = includeObjects;
- this.bulkIncludeExcludeData = bulkIncludeExcludeData;
- }
-
- @com.fasterxml.jackson.annotation.JsonProperty("dataTransferMediumDetails")
- private final CreateOracleDataTransferMediumDetails dataTransferMediumDetails;
-
- public CreateOracleDataTransferMediumDetails getDataTransferMediumDetails() {
- return dataTransferMediumDetails;
- }
-
- @com.fasterxml.jackson.annotation.JsonProperty("initialLoadSettings")
- private final CreateOracleInitialLoadSettings initialLoadSettings;
-
- public CreateOracleInitialLoadSettings getInitialLoadSettings() {
- return initialLoadSettings;
- }
-
- @com.fasterxml.jackson.annotation.JsonProperty("advisorSettings")
- private final CreateOracleAdvisorSettings advisorSettings;
-
- public CreateOracleAdvisorSettings getAdvisorSettings() {
- return advisorSettings;
- }
-
- /** List of Migration Parameter objects. */
- @com.fasterxml.jackson.annotation.JsonProperty("advancedParameters")
- private final java.util.List