diff --git a/bmc-addons/bmc-resteasy-client-configurator/pom.xml b/bmc-addons/bmc-resteasy-client-configurator/pom.xml
index c2e9c222907..982efc360a6 100644
--- a/bmc-addons/bmc-resteasy-client-configurator/pom.xml
+++ b/bmc-addons/bmc-resteasy-client-configurator/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk-addons
- 3.41.2
+ 3.41.3
../pom.xml
@@ -23,7 +23,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
\ No newline at end of file
diff --git a/bmc-addons/bmc-sasl-oke-workload-identity/pom.xml b/bmc-addons/bmc-sasl-oke-workload-identity/pom.xml
index 6cfd017f501..aa2d43f21a2 100644
--- a/bmc-addons/bmc-sasl-oke-workload-identity/pom.xml
+++ b/bmc-addons/bmc-sasl-oke-workload-identity/pom.xml
@@ -4,7 +4,7 @@
oci-java-sdk-addons
com.oracle.oci.sdk
- 3.41.2
+ 3.41.3
../pom.xml
4.0.0
@@ -39,13 +39,13 @@
com.oracle.oci.sdk
oci-java-sdk-addons-sasl
- 3.41.2
+ 3.41.3
compile
com.oracle.oci.sdk
oci-java-sdk-addons-oke-workload-identity
- 3.41.2
+ 3.41.3
compile
diff --git a/bmc-addons/bmc-sasl/pom.xml b/bmc-addons/bmc-sasl/pom.xml
index df540fc2b82..5e9520b423f 100644
--- a/bmc-addons/bmc-sasl/pom.xml
+++ b/bmc-addons/bmc-sasl/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk-addons
- 3.41.2
+ 3.41.3
../pom.xml
@@ -60,7 +60,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
diff --git a/bmc-addons/bmc-sse-support-jersey3/pom.xml b/bmc-addons/bmc-sse-support-jersey3/pom.xml
index fb004045945..9027fa2f287 100644
--- a/bmc-addons/bmc-sse-support-jersey3/pom.xml
+++ b/bmc-addons/bmc-sse-support-jersey3/pom.xml
@@ -5,7 +5,7 @@
oci-java-sdk-addons
com.oracle.oci.sdk
- 3.41.2
+ 3.41.3
../pom.xml
4.0.0
@@ -150,12 +150,12 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
com.oracle.oci.sdk
oci-java-sdk-generativeaiinference
- 3.41.2
+ 3.41.3
test
@@ -164,7 +164,7 @@
but the code in it needs it. -->
com.oracle.oci.sdk
oci-java-sdk-common-httpclient-jersey3
- 3.41.2
+ 3.41.3
diff --git a/bmc-addons/bmc-sse-support/pom.xml b/bmc-addons/bmc-sse-support/pom.xml
index cec3c15e80e..72a3955d337 100644
--- a/bmc-addons/bmc-sse-support/pom.xml
+++ b/bmc-addons/bmc-sse-support/pom.xml
@@ -5,7 +5,7 @@
oci-java-sdk-addons
com.oracle.oci.sdk
- 3.41.2
+ 3.41.3
../pom.xml
4.0.0
@@ -150,12 +150,12 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
com.oracle.oci.sdk
oci-java-sdk-generativeaiinference
- 3.41.2
+ 3.41.3
test
@@ -164,7 +164,7 @@
but the code in it needs it. -->
com.oracle.oci.sdk
oci-java-sdk-common-httpclient-jersey
- 3.41.2
+ 3.41.3
diff --git a/bmc-addons/pom.xml b/bmc-addons/pom.xml
index b9655b3b2b3..503e06dab2a 100644
--- a/bmc-addons/pom.xml
+++ b/bmc-addons/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
diff --git a/bmc-adm/pom.xml b/bmc-adm/pom.xml
index 78a9d113940..ef3cefce431 100644
--- a/bmc-adm/pom.xml
+++ b/bmc-adm/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-adm
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
\ No newline at end of file
diff --git a/bmc-aianomalydetection/pom.xml b/bmc-aianomalydetection/pom.xml
index 218ebb49998..8a12ea18b51 100644
--- a/bmc-aianomalydetection/pom.xml
+++ b/bmc-aianomalydetection/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-aianomalydetection
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
\ No newline at end of file
diff --git a/bmc-aidocument/pom.xml b/bmc-aidocument/pom.xml
index c4a35af96ee..48792a1d50e 100644
--- a/bmc-aidocument/pom.xml
+++ b/bmc-aidocument/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-aidocument
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
\ No newline at end of file
diff --git a/bmc-ailanguage/pom.xml b/bmc-ailanguage/pom.xml
index a43072e7b49..34ff6718e51 100644
--- a/bmc-ailanguage/pom.xml
+++ b/bmc-ailanguage/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-ailanguage
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
diff --git a/bmc-aispeech/pom.xml b/bmc-aispeech/pom.xml
index 0020f8d7cb4..747ee4dd0d4 100644
--- a/bmc-aispeech/pom.xml
+++ b/bmc-aispeech/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-aispeech
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
\ No newline at end of file
diff --git a/bmc-aivision/pom.xml b/bmc-aivision/pom.xml
index d0e80d41732..b7ad9a6e51f 100644
--- a/bmc-aivision/pom.xml
+++ b/bmc-aivision/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-aivision
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
\ No newline at end of file
diff --git a/bmc-analytics/pom.xml b/bmc-analytics/pom.xml
index 91d7edf175d..1fb23af92f5 100644
--- a/bmc-analytics/pom.xml
+++ b/bmc-analytics/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-analytics
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
diff --git a/bmc-announcementsservice/pom.xml b/bmc-announcementsservice/pom.xml
index d6a36e50bbb..abe5bcacd4d 100644
--- a/bmc-announcementsservice/pom.xml
+++ b/bmc-announcementsservice/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-announcementsservice
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
diff --git a/bmc-apigateway/pom.xml b/bmc-apigateway/pom.xml
index a6c4710ed1f..25e5ddff921 100644
--- a/bmc-apigateway/pom.xml
+++ b/bmc-apigateway/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-apigateway
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
diff --git a/bmc-apmconfig/pom.xml b/bmc-apmconfig/pom.xml
index 8ef1330a8b2..e7ab665aa36 100644
--- a/bmc-apmconfig/pom.xml
+++ b/bmc-apmconfig/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-apmconfig
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
\ No newline at end of file
diff --git a/bmc-apmcontrolplane/pom.xml b/bmc-apmcontrolplane/pom.xml
index 519a2babaff..7b4706bfbb3 100644
--- a/bmc-apmcontrolplane/pom.xml
+++ b/bmc-apmcontrolplane/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-apmcontrolplane
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
diff --git a/bmc-apmsynthetics/pom.xml b/bmc-apmsynthetics/pom.xml
index f428d5b783e..4a61b640c61 100644
--- a/bmc-apmsynthetics/pom.xml
+++ b/bmc-apmsynthetics/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-apmsynthetics
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
diff --git a/bmc-apmtraces/pom.xml b/bmc-apmtraces/pom.xml
index c827457edec..4b5d09028e0 100644
--- a/bmc-apmtraces/pom.xml
+++ b/bmc-apmtraces/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-apmtraces
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
diff --git a/bmc-appmgmtcontrol/pom.xml b/bmc-appmgmtcontrol/pom.xml
index 7e27999eefa..2de7266064a 100644
--- a/bmc-appmgmtcontrol/pom.xml
+++ b/bmc-appmgmtcontrol/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-appmgmtcontrol
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
\ No newline at end of file
diff --git a/bmc-artifacts/pom.xml b/bmc-artifacts/pom.xml
index dc9736e7c8a..6d2dc450cf3 100644
--- a/bmc-artifacts/pom.xml
+++ b/bmc-artifacts/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-artifacts
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
diff --git a/bmc-audit/pom.xml b/bmc-audit/pom.xml
index 8dc41f2cc44..f0f5478c4ae 100644
--- a/bmc-audit/pom.xml
+++ b/bmc-audit/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
@@ -18,7 +18,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
diff --git a/bmc-autoscaling/pom.xml b/bmc-autoscaling/pom.xml
index a9a548c1e66..e79088de1dc 100644
--- a/bmc-autoscaling/pom.xml
+++ b/bmc-autoscaling/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-autoscaling
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
diff --git a/bmc-bastion/pom.xml b/bmc-bastion/pom.xml
index ab29ae5d572..c9b0604f124 100644
--- a/bmc-bastion/pom.xml
+++ b/bmc-bastion/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-bastion
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
diff --git a/bmc-bds/pom.xml b/bmc-bds/pom.xml
index 6a1a8789f34..1cd63ec228c 100644
--- a/bmc-bds/pom.xml
+++ b/bmc-bds/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-bds
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/Bds.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/Bds.java
index 18f9927797f..477d3768196 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/Bds.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/Bds.java
@@ -203,6 +203,21 @@ AddAutoScalingConfigurationResponse addAutoScalingConfiguration(
*/
AddWorkerNodesResponse addWorkerNodes(AddWorkerNodesRequest request);
+ /**
+ * Takes a backup of of given nodes.
+ *
+ * @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 BackupNode API.
+ */
+ BackupNodeResponse backupNode(BackupNodeRequest request);
+
/**
* A list of services and their certificate details.
*
@@ -303,6 +318,40 @@ ChangeBdsInstanceCompartmentResponse changeBdsInstanceCompartment(
CreateBdsMetastoreConfigurationResponse createBdsMetastoreConfiguration(
CreateBdsMetastoreConfigurationRequest request);
+ /**
+ * Add a node volume backup configuration to the cluster for an indicated node type or node.
+ *
+ * @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
+ * CreateNodeBackupConfiguration API.
+ */
+ CreateNodeBackupConfigurationResponse createNodeBackupConfiguration(
+ CreateNodeBackupConfigurationRequest request);
+
+ /**
+ * Add a nodeReplaceConfigurations to the cluster.
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation will not retry by default, users
+ * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to
+ * enable retries for it. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use
+ * CreateNodeReplaceConfiguration API.
+ */
+ CreateNodeReplaceConfigurationResponse createNodeReplaceConfiguration(
+ CreateNodeReplaceConfigurationRequest request);
+
/**
* Deletes the user's API key represented by the provided ID.
*
@@ -352,6 +401,39 @@ CreateBdsMetastoreConfigurationResponse createBdsMetastoreConfiguration(
DeleteBdsMetastoreConfigurationResponse deleteBdsMetastoreConfiguration(
DeleteBdsMetastoreConfigurationRequest request);
+ /**
+ * Delete the NodeBackup represented by the provided ID.
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation 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 DeleteNodeBackup
+ * API.
+ */
+ DeleteNodeBackupResponse deleteNodeBackup(DeleteNodeBackupRequest request);
+
+ /**
+ * Delete the NodeBackupConfiguration represented by the provided ID.
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation 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
+ * DeleteNodeBackupConfiguration API.
+ */
+ DeleteNodeBackupConfigurationResponse deleteNodeBackupConfiguration(
+ DeleteNodeBackupConfigurationRequest request);
+
/**
* Disabling TLS/SSL for various ODH services running on the BDS cluster.
*
@@ -464,6 +546,55 @@ GetAutoScalingConfigurationResponse getAutoScalingConfiguration(
GetBdsMetastoreConfigurationResponse getBdsMetastoreConfiguration(
GetBdsMetastoreConfigurationRequest request);
+ /**
+ * Returns details of NodeBackup identified by the given ID.
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation 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 GetNodeBackup API.
+ */
+ GetNodeBackupResponse getNodeBackup(GetNodeBackupRequest request);
+
+ /**
+ * Returns details of the NodeBackupConfiguration identified by the given ID.
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation 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
+ * GetNodeBackupConfiguration API.
+ */
+ GetNodeBackupConfigurationResponse getNodeBackupConfiguration(
+ GetNodeBackupConfigurationRequest request);
+
+ /**
+ * Returns details of the nodeReplaceConfiguration identified by the given ID.
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation 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
+ * GetNodeReplaceConfiguration API.
+ */
+ GetNodeReplaceConfigurationResponse getNodeReplaceConfiguration(
+ GetNodeReplaceConfigurationRequest request);
+
/**
* Get the details of an os patch
*
@@ -590,6 +721,56 @@ ListAutoScalingConfigurationsResponse listAutoScalingConfigurations(
ListBdsMetastoreConfigurationsResponse listBdsMetastoreConfigurations(
ListBdsMetastoreConfigurationsRequest request);
+ /**
+ * Returns information about the NodeBackupConfigurations.
+ *
+ * @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
+ * ListNodeBackupConfigurations API.
+ */
+ ListNodeBackupConfigurationsResponse listNodeBackupConfigurations(
+ ListNodeBackupConfigurationsRequest request);
+
+ /**
+ * Returns information about the node Backups.
+ *
+ * @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 ListNodeBackups
+ * API.
+ */
+ ListNodeBackupsResponse listNodeBackups(ListNodeBackupsRequest request);
+
+ /**
+ * Returns information about the NodeReplaceConfiguration.
+ *
+ * @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
+ * ListNodeReplaceConfigurations API.
+ */
+ ListNodeReplaceConfigurationsResponse listNodeReplaceConfigurations(
+ ListNodeReplaceConfigurationsRequest request);
+
/**
* List all available os patches for a given cluster
*
@@ -746,6 +927,23 @@ RemoveAutoScalingConfigurationResponse removeAutoScalingConfiguration(
*/
RemoveNodeResponse removeNode(RemoveNodeRequest request);
+ /**
+ * Deletes a nodeReplaceConfiguration
+ *
+ * @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
+ * RemoveNodeReplaceConfiguration API.
+ */
+ RemoveNodeReplaceConfigurationResponse removeNodeReplaceConfiguration(
+ RemoveNodeReplaceConfigurationRequest request);
+
/**
* Renewing TLS/SSL for various ODH services running on the BDS cluster.
*
@@ -762,6 +960,21 @@ RemoveAutoScalingConfigurationResponse removeAutoScalingConfiguration(
*/
RenewCertificateResponse renewCertificate(RenewCertificateRequest request);
+ /**
+ * Replaces a node of a Big Data Service cluster from backup.
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation will not retry by default, users
+ * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to
+ * enable retries for it. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use ReplaceNode API.
+ */
+ ReplaceNodeResponse replaceNode(ReplaceNodeRequest request);
+
/**
* Restarts a single node of a Big Data Service cluster
*
@@ -894,6 +1107,40 @@ UpdateAutoScalingConfigurationResponse updateAutoScalingConfiguration(
UpdateBdsMetastoreConfigurationResponse updateBdsMetastoreConfiguration(
UpdateBdsMetastoreConfigurationRequest request);
+ /**
+ * Updates fields on NodeBackupConfiguration, including the name, the schedule.
+ *
+ * @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
+ * UpdateNodeBackupConfiguration API.
+ */
+ UpdateNodeBackupConfigurationResponse updateNodeBackupConfiguration(
+ UpdateNodeBackupConfigurationRequest request);
+
+ /**
+ * Updates fields on nodeReplaceConfigurations, including the name, the schedule
+ *
+ * @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
+ * UpdateNodeReplaceConfiguration API.
+ */
+ UpdateNodeReplaceConfigurationResponse updateNodeReplaceConfiguration(
+ UpdateNodeReplaceConfigurationRequest request);
+
/**
* Gets the pre-configured waiters available for resources for this service.
*
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/BdsAsync.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/BdsAsync.java
index 5dfa7b6adb3..7b685237c94 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/BdsAsync.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/BdsAsync.java
@@ -196,6 +196,20 @@ java.util.concurrent.Future addWorkerNodes(
com.oracle.bmc.responses.AsyncHandler
handler);
+ /**
+ * Takes a backup of of given nodes.
+ *
+ * @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 backupNode(
+ BackupNodeRequest request,
+ com.oracle.bmc.responses.AsyncHandler handler);
+
/**
* A list of services and their certificate details.
*
@@ -295,6 +309,42 @@ java.util.concurrent.Future createBdsInstance(
CreateBdsMetastoreConfigurationResponse>
handler);
+ /**
+ * Add a node volume backup configuration to the cluster for an indicated node type or node.
+ *
+ * @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
+ createNodeBackupConfiguration(
+ CreateNodeBackupConfigurationRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ CreateNodeBackupConfigurationRequest,
+ CreateNodeBackupConfigurationResponse>
+ handler);
+
+ /**
+ * Add a nodeReplaceConfigurations to the cluster.
+ *
+ * @param request The request object containing the details to send
+ * @param handler The request handler to invoke upon completion, may be null.
+ * @return A Future that can be used to get the response if no AsyncHandler was provided. Note,
+ * if you provide an AsyncHandler and use the Future, some types of responses (like
+ * java.io.InputStream) may not be able to be read in both places as the underlying stream
+ * may only be consumed once.
+ */
+ java.util.concurrent.Future
+ createNodeReplaceConfiguration(
+ CreateNodeReplaceConfigurationRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ CreateNodeReplaceConfigurationRequest,
+ CreateNodeReplaceConfigurationResponse>
+ handler);
+
/**
* Deletes the user's API key represented by the provided ID.
*
@@ -344,6 +394,39 @@ java.util.concurrent.Future deleteBdsInstance(
DeleteBdsMetastoreConfigurationResponse>
handler);
+ /**
+ * Delete the NodeBackup represented by the provided ID.
+ *
+ * @param request The request object containing the details to send
+ * @param handler The request handler to invoke upon completion, may be null.
+ * @return A Future that can be used to get the response if no AsyncHandler was provided. Note,
+ * if you provide an AsyncHandler and use the Future, some types of responses (like
+ * java.io.InputStream) may not be able to be read in both places as the underlying stream
+ * may only be consumed once.
+ */
+ java.util.concurrent.Future deleteNodeBackup(
+ DeleteNodeBackupRequest request,
+ com.oracle.bmc.responses.AsyncHandler
+ handler);
+
+ /**
+ * Delete the NodeBackupConfiguration represented by the provided ID.
+ *
+ * @param request The request object containing the details to send
+ * @param handler The request handler to invoke upon completion, may be null.
+ * @return A Future that can be used to get the response if no AsyncHandler was provided. Note,
+ * if you provide an AsyncHandler and use the Future, some types of responses (like
+ * java.io.InputStream) may not be able to be read in both places as the underlying stream
+ * may only be consumed once.
+ */
+ java.util.concurrent.Future
+ deleteNodeBackupConfiguration(
+ DeleteNodeBackupConfigurationRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ DeleteNodeBackupConfigurationRequest,
+ DeleteNodeBackupConfigurationResponse>
+ handler);
+
/**
* Disabling TLS/SSL for various ODH services running on the BDS cluster.
*
@@ -455,6 +538,53 @@ java.util.concurrent.Future getBdsMetastor
GetBdsMetastoreConfigurationResponse>
handler);
+ /**
+ * Returns details of NodeBackup identified by the given ID.
+ *
+ * @param request The request object containing the details to send
+ * @param handler The request handler to invoke upon completion, may be null.
+ * @return A Future that can be used to get the response if no AsyncHandler was provided. Note,
+ * if you provide an AsyncHandler and use the Future, some types of responses (like
+ * java.io.InputStream) may not be able to be read in both places as the underlying stream
+ * may only be consumed once.
+ */
+ java.util.concurrent.Future getNodeBackup(
+ GetNodeBackupRequest request,
+ com.oracle.bmc.responses.AsyncHandler
+ handler);
+
+ /**
+ * Returns details of the NodeBackupConfiguration identified by the given ID.
+ *
+ * @param request The request object containing the details to send
+ * @param handler The request handler to invoke upon completion, may be null.
+ * @return A Future that can be used to get the response if no AsyncHandler was provided. Note,
+ * if you provide an AsyncHandler and use the Future, some types of responses (like
+ * java.io.InputStream) may not be able to be read in both places as the underlying stream
+ * may only be consumed once.
+ */
+ java.util.concurrent.Future getNodeBackupConfiguration(
+ GetNodeBackupConfigurationRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ GetNodeBackupConfigurationRequest, GetNodeBackupConfigurationResponse>
+ handler);
+
+ /**
+ * Returns details of the nodeReplaceConfiguration identified by the given ID.
+ *
+ * @param request The request object containing the details to send
+ * @param handler The request handler to invoke upon completion, may be null.
+ * @return A Future that can be used to get the response if no AsyncHandler was provided. Note,
+ * if you provide an AsyncHandler and use the Future, some types of responses (like
+ * java.io.InputStream) may not be able to be read in both places as the underlying stream
+ * may only be consumed once.
+ */
+ java.util.concurrent.Future getNodeReplaceConfiguration(
+ GetNodeReplaceConfigurationRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ GetNodeReplaceConfigurationRequest, GetNodeReplaceConfigurationResponse>
+ handler);
+
/**
* Get the details of an os patch
*
@@ -582,6 +712,56 @@ java.util.concurrent.Future listBdsInstances(
ListBdsMetastoreConfigurationsResponse>
handler);
+ /**
+ * Returns information about the NodeBackupConfigurations.
+ *
+ * @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 listNodeBackupConfigurations(
+ ListNodeBackupConfigurationsRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ ListNodeBackupConfigurationsRequest,
+ ListNodeBackupConfigurationsResponse>
+ handler);
+
+ /**
+ * Returns information about the node Backups.
+ *
+ * @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 listNodeBackups(
+ ListNodeBackupsRequest request,
+ com.oracle.bmc.responses.AsyncHandler
+ handler);
+
+ /**
+ * Returns information about the NodeReplaceConfiguration.
+ *
+ * @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
+ listNodeReplaceConfigurations(
+ ListNodeReplaceConfigurationsRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ ListNodeReplaceConfigurationsRequest,
+ ListNodeReplaceConfigurationsResponse>
+ handler);
+
/**
* List all available os patches for a given cluster
*
@@ -735,6 +915,24 @@ java.util.concurrent.Future removeNode(
RemoveNodeRequest request,
com.oracle.bmc.responses.AsyncHandler handler);
+ /**
+ * Deletes a nodeReplaceConfiguration
+ *
+ * @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
+ removeNodeReplaceConfiguration(
+ RemoveNodeReplaceConfigurationRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ RemoveNodeReplaceConfigurationRequest,
+ RemoveNodeReplaceConfigurationResponse>
+ handler);
+
/**
* Renewing TLS/SSL for various ODH services running on the BDS cluster.
*
@@ -750,6 +948,20 @@ java.util.concurrent.Future renewCertificate(
com.oracle.bmc.responses.AsyncHandler
handler);
+ /**
+ * Replaces a node of a Big Data Service cluster from backup.
+ *
+ * @param request The request object containing the details to send
+ * @param handler The request handler to invoke upon completion, may be null.
+ * @return A Future that can be used to get the response if no AsyncHandler was provided. Note,
+ * if you provide an AsyncHandler and use the Future, some types of responses (like
+ * java.io.InputStream) may not be able to be read in both places as the underlying stream
+ * may only be consumed once.
+ */
+ java.util.concurrent.Future replaceNode(
+ ReplaceNodeRequest request,
+ com.oracle.bmc.responses.AsyncHandler handler);
+
/**
* Restarts a single node of a Big Data Service cluster
*
@@ -882,4 +1094,40 @@ java.util.concurrent.Future updateBdsInstance(
UpdateBdsMetastoreConfigurationRequest,
UpdateBdsMetastoreConfigurationResponse>
handler);
+
+ /**
+ * Updates fields on NodeBackupConfiguration, including the name, the schedule.
+ *
+ * @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
+ updateNodeBackupConfiguration(
+ UpdateNodeBackupConfigurationRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ UpdateNodeBackupConfigurationRequest,
+ UpdateNodeBackupConfigurationResponse>
+ handler);
+
+ /**
+ * Updates fields on nodeReplaceConfigurations, including the name, the schedule
+ *
+ * @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
+ updateNodeReplaceConfiguration(
+ UpdateNodeReplaceConfigurationRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ UpdateNodeReplaceConfigurationRequest,
+ UpdateNodeReplaceConfigurationResponse>
+ handler);
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/BdsAsyncClient.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/BdsAsyncClient.java
index dc57ab5f0c3..c793a94de0e 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/BdsAsyncClient.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/BdsAsyncClient.java
@@ -391,6 +391,40 @@ public java.util.concurrent.Future addWorkerNodes(
.callAsync(handler);
}
+ @Override
+ public java.util.concurrent.Future backupNode(
+ BackupNodeRequest request,
+ final com.oracle.bmc.responses.AsyncHandler
+ handler) {
+
+ Validate.notBlank(request.getBdsInstanceId(), "bdsInstanceId must not be blank");
+ Objects.requireNonNull(request.getBackupNodeDetails(), "backupNodeDetails is required");
+
+ return clientCall(request, BackupNodeResponse::builder)
+ .logger(LOG, "backupNode")
+ .serviceDetails(
+ "Bds",
+ "BackupNode",
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/BackupNode")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(BackupNodeRequest::builder)
+ .basePath("/20190531")
+ .appendPathParam("bdsInstances")
+ .appendPathParam(request.getBdsInstanceId())
+ .appendPathParam("actions")
+ .appendPathParam("backupNodes")
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("if-match", request.getIfMatch())
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .hasBody()
+ .handleResponseHeaderString(
+ "opc-request-id", BackupNodeResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-work-request-id", BackupNodeResponse.Builder::opcWorkRequestId)
+ .callAsync(handler);
+ }
+
@Override
public java.util.concurrent.Future certificateServiceInfo(
CertificateServiceInfoRequest request,
@@ -608,6 +642,84 @@ public java.util.concurrent.Future createBdsInstance(
.callAsync(handler);
}
+ @Override
+ public java.util.concurrent.Future
+ createNodeBackupConfiguration(
+ CreateNodeBackupConfigurationRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ CreateNodeBackupConfigurationRequest,
+ CreateNodeBackupConfigurationResponse>
+ handler) {
+
+ Validate.notBlank(request.getBdsInstanceId(), "bdsInstanceId must not be blank");
+ Objects.requireNonNull(
+ request.getCreateNodeBackupConfigurationDetails(),
+ "createNodeBackupConfigurationDetails is required");
+
+ return clientCall(request, CreateNodeBackupConfigurationResponse::builder)
+ .logger(LOG, "createNodeBackupConfiguration")
+ .serviceDetails(
+ "Bds",
+ "CreateNodeBackupConfiguration",
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/CreateNodeBackupConfiguration")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(CreateNodeBackupConfigurationRequest::builder)
+ .basePath("/20190531")
+ .appendPathParam("bdsInstances")
+ .appendPathParam(request.getBdsInstanceId())
+ .appendPathParam("nodeBackupConfigurations")
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .hasBody()
+ .handleResponseHeaderString(
+ "opc-request-id",
+ CreateNodeBackupConfigurationResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-work-request-id",
+ CreateNodeBackupConfigurationResponse.Builder::opcWorkRequestId)
+ .callAsync(handler);
+ }
+
+ @Override
+ public java.util.concurrent.Future
+ createNodeReplaceConfiguration(
+ CreateNodeReplaceConfigurationRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ CreateNodeReplaceConfigurationRequest,
+ CreateNodeReplaceConfigurationResponse>
+ handler) {
+
+ Validate.notBlank(request.getBdsInstanceId(), "bdsInstanceId must not be blank");
+ Objects.requireNonNull(
+ request.getCreateNodeReplaceConfigurationDetails(),
+ "createNodeReplaceConfigurationDetails is required");
+
+ return clientCall(request, CreateNodeReplaceConfigurationResponse::builder)
+ .logger(LOG, "createNodeReplaceConfiguration")
+ .serviceDetails(
+ "Bds",
+ "CreateNodeReplaceConfiguration",
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/CreateNodeReplaceConfiguration")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(CreateNodeReplaceConfigurationRequest::builder)
+ .basePath("/20190531")
+ .appendPathParam("bdsInstances")
+ .appendPathParam(request.getBdsInstanceId())
+ .appendPathParam("nodeReplaceConfigurations")
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .hasBody()
+ .handleResponseHeaderString(
+ "opc-request-id",
+ CreateNodeReplaceConfigurationResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-work-request-id",
+ CreateNodeReplaceConfigurationResponse.Builder::opcWorkRequestId)
+ .callAsync(handler);
+ }
+
@Override
public java.util.concurrent.Future deleteBdsApiKey(
DeleteBdsApiKeyRequest request,
@@ -710,6 +822,80 @@ public java.util.concurrent.Future deleteBdsInstance(
.callAsync(handler);
}
+ @Override
+ public java.util.concurrent.Future deleteNodeBackup(
+ DeleteNodeBackupRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ DeleteNodeBackupRequest, DeleteNodeBackupResponse>
+ handler) {
+
+ Validate.notBlank(request.getBdsInstanceId(), "bdsInstanceId must not be blank");
+
+ Validate.notBlank(request.getNodeBackupId(), "nodeBackupId must not be blank");
+
+ return clientCall(request, DeleteNodeBackupResponse::builder)
+ .logger(LOG, "deleteNodeBackup")
+ .serviceDetails(
+ "Bds",
+ "DeleteNodeBackup",
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/NodeBackup/DeleteNodeBackup")
+ .method(com.oracle.bmc.http.client.Method.DELETE)
+ .requestBuilder(DeleteNodeBackupRequest::builder)
+ .basePath("/20190531")
+ .appendPathParam("bdsInstances")
+ .appendPathParam(request.getBdsInstanceId())
+ .appendPathParam("nodeBackups")
+ .appendPathParam(request.getNodeBackupId())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("if-match", request.getIfMatch())
+ .handleResponseHeaderString(
+ "opc-request-id", DeleteNodeBackupResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-work-request-id", DeleteNodeBackupResponse.Builder::opcWorkRequestId)
+ .callAsync(handler);
+ }
+
+ @Override
+ public java.util.concurrent.Future
+ deleteNodeBackupConfiguration(
+ DeleteNodeBackupConfigurationRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ DeleteNodeBackupConfigurationRequest,
+ DeleteNodeBackupConfigurationResponse>
+ handler) {
+
+ Validate.notBlank(request.getBdsInstanceId(), "bdsInstanceId must not be blank");
+
+ Validate.notBlank(
+ request.getNodeBackupConfigurationId(),
+ "nodeBackupConfigurationId must not be blank");
+
+ return clientCall(request, DeleteNodeBackupConfigurationResponse::builder)
+ .logger(LOG, "deleteNodeBackupConfiguration")
+ .serviceDetails(
+ "Bds",
+ "DeleteNodeBackupConfiguration",
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/NodeBackupConfiguration/DeleteNodeBackupConfiguration")
+ .method(com.oracle.bmc.http.client.Method.DELETE)
+ .requestBuilder(DeleteNodeBackupConfigurationRequest::builder)
+ .basePath("/20190531")
+ .appendPathParam("bdsInstances")
+ .appendPathParam(request.getBdsInstanceId())
+ .appendPathParam("nodeBackupConfigurations")
+ .appendPathParam(request.getNodeBackupConfigurationId())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("if-match", request.getIfMatch())
+ .handleResponseHeaderString(
+ "opc-request-id",
+ DeleteNodeBackupConfigurationResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-work-request-id",
+ DeleteNodeBackupConfigurationResponse.Builder::opcWorkRequestId)
+ .callAsync(handler);
+ }
+
@Override
public java.util.concurrent.Future disableCertificate(
DisableCertificateRequest request,
@@ -964,6 +1150,120 @@ public java.util.concurrent.Future getBdsInstance(
.callAsync(handler);
}
+ @Override
+ public java.util.concurrent.Future getNodeBackup(
+ GetNodeBackupRequest request,
+ final com.oracle.bmc.responses.AsyncHandler
+ handler) {
+
+ Validate.notBlank(request.getBdsInstanceId(), "bdsInstanceId must not be blank");
+
+ Validate.notBlank(request.getNodeBackupId(), "nodeBackupId must not be blank");
+
+ return clientCall(request, GetNodeBackupResponse::builder)
+ .logger(LOG, "getNodeBackup")
+ .serviceDetails(
+ "Bds",
+ "GetNodeBackup",
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/GetNodeBackup")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(GetNodeBackupRequest::builder)
+ .basePath("/20190531")
+ .appendPathParam("bdsInstances")
+ .appendPathParam(request.getBdsInstanceId())
+ .appendPathParam("nodeBackups")
+ .appendPathParam(request.getNodeBackupId())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleBody(
+ com.oracle.bmc.bds.model.NodeBackup.class,
+ GetNodeBackupResponse.Builder::nodeBackup)
+ .handleResponseHeaderString(
+ "opc-request-id", GetNodeBackupResponse.Builder::opcRequestId)
+ .handleResponseHeaderString("etag", GetNodeBackupResponse.Builder::etag)
+ .callAsync(handler);
+ }
+
+ @Override
+ public java.util.concurrent.Future
+ getNodeBackupConfiguration(
+ GetNodeBackupConfigurationRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ GetNodeBackupConfigurationRequest,
+ GetNodeBackupConfigurationResponse>
+ handler) {
+
+ Validate.notBlank(request.getBdsInstanceId(), "bdsInstanceId must not be blank");
+
+ Validate.notBlank(
+ request.getNodeBackupConfigurationId(),
+ "nodeBackupConfigurationId must not be blank");
+
+ return clientCall(request, GetNodeBackupConfigurationResponse::builder)
+ .logger(LOG, "getNodeBackupConfiguration")
+ .serviceDetails(
+ "Bds",
+ "GetNodeBackupConfiguration",
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/GetNodeBackupConfiguration")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(GetNodeBackupConfigurationRequest::builder)
+ .basePath("/20190531")
+ .appendPathParam("bdsInstances")
+ .appendPathParam(request.getBdsInstanceId())
+ .appendPathParam("nodeBackupConfigurations")
+ .appendPathParam(request.getNodeBackupConfigurationId())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleBody(
+ com.oracle.bmc.bds.model.NodeBackupConfiguration.class,
+ GetNodeBackupConfigurationResponse.Builder::nodeBackupConfiguration)
+ .handleResponseHeaderString(
+ "opc-request-id", GetNodeBackupConfigurationResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "etag", GetNodeBackupConfigurationResponse.Builder::etag)
+ .callAsync(handler);
+ }
+
+ @Override
+ public java.util.concurrent.Future
+ getNodeReplaceConfiguration(
+ GetNodeReplaceConfigurationRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ GetNodeReplaceConfigurationRequest,
+ GetNodeReplaceConfigurationResponse>
+ handler) {
+
+ Validate.notBlank(request.getBdsInstanceId(), "bdsInstanceId must not be blank");
+
+ Validate.notBlank(
+ request.getNodeReplaceConfigurationId(),
+ "nodeReplaceConfigurationId must not be blank");
+
+ return clientCall(request, GetNodeReplaceConfigurationResponse::builder)
+ .logger(LOG, "getNodeReplaceConfiguration")
+ .serviceDetails(
+ "Bds",
+ "GetNodeReplaceConfiguration",
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/GetNodeReplaceConfiguration")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(GetNodeReplaceConfigurationRequest::builder)
+ .basePath("/20190531")
+ .appendPathParam("bdsInstances")
+ .appendPathParam(request.getBdsInstanceId())
+ .appendPathParam("nodeReplaceConfigurations")
+ .appendPathParam(request.getNodeReplaceConfigurationId())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleBody(
+ com.oracle.bmc.bds.model.NodeReplaceConfiguration.class,
+ GetNodeReplaceConfigurationResponse.Builder::nodeReplaceConfiguration)
+ .handleResponseHeaderString(
+ "opc-request-id", GetNodeReplaceConfigurationResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "etag", GetNodeReplaceConfigurationResponse.Builder::etag)
+ .callAsync(handler);
+ }
+
@Override
public java.util.concurrent.Future getOsPatchDetails(
GetOsPatchDetailsRequest request,
@@ -1270,6 +1570,130 @@ public java.util.concurrent.Future listBdsInstances(
.callAsync(handler);
}
+ @Override
+ public java.util.concurrent.Future
+ listNodeBackupConfigurations(
+ ListNodeBackupConfigurationsRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ ListNodeBackupConfigurationsRequest,
+ ListNodeBackupConfigurationsResponse>
+ handler) {
+
+ Validate.notBlank(request.getBdsInstanceId(), "bdsInstanceId must not be blank");
+
+ return clientCall(request, ListNodeBackupConfigurationsResponse::builder)
+ .logger(LOG, "listNodeBackupConfigurations")
+ .serviceDetails(
+ "Bds",
+ "ListNodeBackupConfigurations",
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/ListNodeBackupConfigurations")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(ListNodeBackupConfigurationsRequest::builder)
+ .basePath("/20190531")
+ .appendPathParam("bdsInstances")
+ .appendPathParam(request.getBdsInstanceId())
+ .appendPathParam("nodeBackupConfigurations")
+ .appendQueryParam("page", request.getPage())
+ .appendQueryParam("limit", request.getLimit())
+ .appendEnumQueryParam("sortBy", request.getSortBy())
+ .appendEnumQueryParam("sortOrder", request.getSortOrder())
+ .appendQueryParam("displayName", request.getDisplayName())
+ .appendEnumQueryParam("lifecycleState", request.getLifecycleState())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleBodyList(
+ com.oracle.bmc.bds.model.NodeBackupConfigurationSummary.class,
+ ListNodeBackupConfigurationsResponse.Builder::items)
+ .handleResponseHeaderString(
+ "opc-request-id",
+ ListNodeBackupConfigurationsResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-next-page", ListNodeBackupConfigurationsResponse.Builder::opcNextPage)
+ .callAsync(handler);
+ }
+
+ @Override
+ public java.util.concurrent.Future listNodeBackups(
+ ListNodeBackupsRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ ListNodeBackupsRequest, ListNodeBackupsResponse>
+ handler) {
+
+ Validate.notBlank(request.getBdsInstanceId(), "bdsInstanceId must not be blank");
+
+ return clientCall(request, ListNodeBackupsResponse::builder)
+ .logger(LOG, "listNodeBackups")
+ .serviceDetails(
+ "Bds",
+ "ListNodeBackups",
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/ListNodeBackups")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(ListNodeBackupsRequest::builder)
+ .basePath("/20190531")
+ .appendPathParam("bdsInstances")
+ .appendPathParam(request.getBdsInstanceId())
+ .appendPathParam("nodeBackups")
+ .appendQueryParam("page", request.getPage())
+ .appendQueryParam("limit", request.getLimit())
+ .appendEnumQueryParam("sortBy", request.getSortBy())
+ .appendEnumQueryParam("sortOrder", request.getSortOrder())
+ .appendQueryParam("nodeHostName", request.getNodeHostName())
+ .appendEnumQueryParam("lifecycleState", request.getLifecycleState())
+ .appendQueryParam("displayName", request.getDisplayName())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleBodyList(
+ com.oracle.bmc.bds.model.NodeBackupSummary.class,
+ ListNodeBackupsResponse.Builder::items)
+ .handleResponseHeaderString(
+ "opc-request-id", ListNodeBackupsResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-next-page", ListNodeBackupsResponse.Builder::opcNextPage)
+ .callAsync(handler);
+ }
+
+ @Override
+ public java.util.concurrent.Future
+ listNodeReplaceConfigurations(
+ ListNodeReplaceConfigurationsRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ ListNodeReplaceConfigurationsRequest,
+ ListNodeReplaceConfigurationsResponse>
+ handler) {
+
+ Validate.notBlank(request.getBdsInstanceId(), "bdsInstanceId must not be blank");
+
+ return clientCall(request, ListNodeReplaceConfigurationsResponse::builder)
+ .logger(LOG, "listNodeReplaceConfigurations")
+ .serviceDetails(
+ "Bds",
+ "ListNodeReplaceConfigurations",
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/ListNodeReplaceConfigurations")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(ListNodeReplaceConfigurationsRequest::builder)
+ .basePath("/20190531")
+ .appendPathParam("bdsInstances")
+ .appendPathParam(request.getBdsInstanceId())
+ .appendPathParam("nodeReplaceConfigurations")
+ .appendQueryParam("page", request.getPage())
+ .appendQueryParam("limit", request.getLimit())
+ .appendEnumQueryParam("sortBy", request.getSortBy())
+ .appendEnumQueryParam("sortOrder", request.getSortOrder())
+ .appendQueryParam("displayName", request.getDisplayName())
+ .appendEnumQueryParam("lifecycleState", request.getLifecycleState())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleBodyList(
+ com.oracle.bmc.bds.model.NodeReplaceConfigurationSummary.class,
+ ListNodeReplaceConfigurationsResponse.Builder::items)
+ .handleResponseHeaderString(
+ "opc-request-id",
+ ListNodeReplaceConfigurationsResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-next-page", ListNodeReplaceConfigurationsResponse.Builder::opcNextPage)
+ .callAsync(handler);
+ }
+
@Override
public java.util.concurrent.Future listOsPatches(
ListOsPatchesRequest request,
@@ -1644,6 +2068,53 @@ public java.util.concurrent.Future removeNode(
.callAsync(handler);
}
+ @Override
+ public java.util.concurrent.Future
+ removeNodeReplaceConfiguration(
+ RemoveNodeReplaceConfigurationRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ RemoveNodeReplaceConfigurationRequest,
+ RemoveNodeReplaceConfigurationResponse>
+ handler) {
+
+ Validate.notBlank(request.getBdsInstanceId(), "bdsInstanceId must not be blank");
+
+ Validate.notBlank(
+ request.getNodeReplaceConfigurationId(),
+ "nodeReplaceConfigurationId must not be blank");
+ Objects.requireNonNull(
+ request.getRemoveNodeReplaceConfigurationDetails(),
+ "removeNodeReplaceConfigurationDetails is required");
+
+ return clientCall(request, RemoveNodeReplaceConfigurationResponse::builder)
+ .logger(LOG, "removeNodeReplaceConfiguration")
+ .serviceDetails(
+ "Bds",
+ "RemoveNodeReplaceConfiguration",
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/NodeReplaceConfiguration/RemoveNodeReplaceConfiguration")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(RemoveNodeReplaceConfigurationRequest::builder)
+ .basePath("/20190531")
+ .appendPathParam("bdsInstances")
+ .appendPathParam(request.getBdsInstanceId())
+ .appendPathParam("nodeReplaceConfigurations")
+ .appendPathParam(request.getNodeReplaceConfigurationId())
+ .appendPathParam("actions")
+ .appendPathParam("remove")
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("if-match", request.getIfMatch())
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .hasBody()
+ .handleResponseHeaderString(
+ "opc-request-id",
+ RemoveNodeReplaceConfigurationResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-work-request-id",
+ RemoveNodeReplaceConfigurationResponse.Builder::opcWorkRequestId)
+ .callAsync(handler);
+ }
+
@Override
public java.util.concurrent.Future renewCertificate(
RenewCertificateRequest request,
@@ -1680,6 +2151,40 @@ public java.util.concurrent.Future renewCertificate(
.callAsync(handler);
}
+ @Override
+ public java.util.concurrent.Future replaceNode(
+ ReplaceNodeRequest request,
+ final com.oracle.bmc.responses.AsyncHandler
+ handler) {
+
+ Validate.notBlank(request.getBdsInstanceId(), "bdsInstanceId must not be blank");
+ Objects.requireNonNull(request.getReplaceNodeDetails(), "replaceNodeDetails is required");
+
+ return clientCall(request, ReplaceNodeResponse::builder)
+ .logger(LOG, "replaceNode")
+ .serviceDetails(
+ "Bds",
+ "ReplaceNode",
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/ReplaceNode")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(ReplaceNodeRequest::builder)
+ .basePath("/20190531")
+ .appendPathParam("bdsInstances")
+ .appendPathParam(request.getBdsInstanceId())
+ .appendPathParam("actions")
+ .appendPathParam("replaceNode")
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("if-match", request.getIfMatch())
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .hasBody()
+ .handleResponseHeaderString(
+ "opc-request-id", ReplaceNodeResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-work-request-id", ReplaceNodeResponse.Builder::opcWorkRequestId)
+ .callAsync(handler);
+ }
+
@Override
public java.util.concurrent.Future restartNode(
RestartNodeRequest request,
@@ -1991,6 +2496,96 @@ public java.util.concurrent.Future updateBdsInstance(
.callAsync(handler);
}
+ @Override
+ public java.util.concurrent.Future
+ updateNodeBackupConfiguration(
+ UpdateNodeBackupConfigurationRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ UpdateNodeBackupConfigurationRequest,
+ UpdateNodeBackupConfigurationResponse>
+ handler) {
+
+ Validate.notBlank(request.getBdsInstanceId(), "bdsInstanceId must not be blank");
+
+ Validate.notBlank(
+ request.getNodeBackupConfigurationId(),
+ "nodeBackupConfigurationId must not be blank");
+ Objects.requireNonNull(
+ request.getUpdateNodeBackupConfigurationDetails(),
+ "updateNodeBackupConfigurationDetails is required");
+
+ return clientCall(request, UpdateNodeBackupConfigurationResponse::builder)
+ .logger(LOG, "updateNodeBackupConfiguration")
+ .serviceDetails(
+ "Bds",
+ "UpdateNodeBackupConfiguration",
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/UpdateNodeBackupConfiguration")
+ .method(com.oracle.bmc.http.client.Method.PUT)
+ .requestBuilder(UpdateNodeBackupConfigurationRequest::builder)
+ .basePath("/20190531")
+ .appendPathParam("bdsInstances")
+ .appendPathParam(request.getBdsInstanceId())
+ .appendPathParam("nodeBackupConfigurations")
+ .appendPathParam(request.getNodeBackupConfigurationId())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("if-match", request.getIfMatch())
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .hasBody()
+ .handleResponseHeaderString(
+ "opc-request-id",
+ UpdateNodeBackupConfigurationResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-work-request-id",
+ UpdateNodeBackupConfigurationResponse.Builder::opcWorkRequestId)
+ .callAsync(handler);
+ }
+
+ @Override
+ public java.util.concurrent.Future
+ updateNodeReplaceConfiguration(
+ UpdateNodeReplaceConfigurationRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ UpdateNodeReplaceConfigurationRequest,
+ UpdateNodeReplaceConfigurationResponse>
+ handler) {
+
+ Validate.notBlank(request.getBdsInstanceId(), "bdsInstanceId must not be blank");
+
+ Validate.notBlank(
+ request.getNodeReplaceConfigurationId(),
+ "nodeReplaceConfigurationId must not be blank");
+ Objects.requireNonNull(
+ request.getUpdateNodeReplaceConfigurationDetails(),
+ "updateNodeReplaceConfigurationDetails is required");
+
+ return clientCall(request, UpdateNodeReplaceConfigurationResponse::builder)
+ .logger(LOG, "updateNodeReplaceConfiguration")
+ .serviceDetails(
+ "Bds",
+ "UpdateNodeReplaceConfiguration",
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/UpdateNodeReplaceConfiguration")
+ .method(com.oracle.bmc.http.client.Method.PUT)
+ .requestBuilder(UpdateNodeReplaceConfigurationRequest::builder)
+ .basePath("/20190531")
+ .appendPathParam("bdsInstances")
+ .appendPathParam(request.getBdsInstanceId())
+ .appendPathParam("nodeReplaceConfigurations")
+ .appendPathParam(request.getNodeReplaceConfigurationId())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("if-match", request.getIfMatch())
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .hasBody()
+ .handleResponseHeaderString(
+ "opc-request-id",
+ UpdateNodeReplaceConfigurationResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-work-request-id",
+ UpdateNodeReplaceConfigurationResponse.Builder::opcWorkRequestId)
+ .callAsync(handler);
+ }
+
/**
* Create a new client instance.
*
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/BdsClient.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/BdsClient.java
index d44992ae6a4..79c0e12fc28 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/BdsClient.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/BdsClient.java
@@ -385,6 +385,37 @@ public AddWorkerNodesResponse addWorkerNodes(AddWorkerNodesRequest request) {
.callSync();
}
+ @Override
+ public BackupNodeResponse backupNode(BackupNodeRequest request) {
+
+ Validate.notBlank(request.getBdsInstanceId(), "bdsInstanceId must not be blank");
+ Objects.requireNonNull(request.getBackupNodeDetails(), "backupNodeDetails is required");
+
+ return clientCall(request, BackupNodeResponse::builder)
+ .logger(LOG, "backupNode")
+ .serviceDetails(
+ "Bds",
+ "BackupNode",
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/BackupNode")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(BackupNodeRequest::builder)
+ .basePath("/20190531")
+ .appendPathParam("bdsInstances")
+ .appendPathParam(request.getBdsInstanceId())
+ .appendPathParam("actions")
+ .appendPathParam("backupNodes")
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("if-match", request.getIfMatch())
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .hasBody()
+ .handleResponseHeaderString(
+ "opc-request-id", BackupNodeResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-work-request-id", BackupNodeResponse.Builder::opcWorkRequestId)
+ .callSync();
+ }
+
@Override
public CertificateServiceInfoResponse certificateServiceInfo(
CertificateServiceInfoRequest request) {
@@ -578,6 +609,74 @@ public CreateBdsMetastoreConfigurationResponse createBdsMetastoreConfiguration(
.callSync();
}
+ @Override
+ public CreateNodeBackupConfigurationResponse createNodeBackupConfiguration(
+ CreateNodeBackupConfigurationRequest request) {
+
+ Validate.notBlank(request.getBdsInstanceId(), "bdsInstanceId must not be blank");
+ Objects.requireNonNull(
+ request.getCreateNodeBackupConfigurationDetails(),
+ "createNodeBackupConfigurationDetails is required");
+
+ return clientCall(request, CreateNodeBackupConfigurationResponse::builder)
+ .logger(LOG, "createNodeBackupConfiguration")
+ .serviceDetails(
+ "Bds",
+ "CreateNodeBackupConfiguration",
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/CreateNodeBackupConfiguration")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(CreateNodeBackupConfigurationRequest::builder)
+ .basePath("/20190531")
+ .appendPathParam("bdsInstances")
+ .appendPathParam(request.getBdsInstanceId())
+ .appendPathParam("nodeBackupConfigurations")
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .hasBody()
+ .handleResponseHeaderString(
+ "opc-request-id",
+ CreateNodeBackupConfigurationResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-work-request-id",
+ CreateNodeBackupConfigurationResponse.Builder::opcWorkRequestId)
+ .callSync();
+ }
+
+ @Override
+ public CreateNodeReplaceConfigurationResponse createNodeReplaceConfiguration(
+ CreateNodeReplaceConfigurationRequest request) {
+
+ Validate.notBlank(request.getBdsInstanceId(), "bdsInstanceId must not be blank");
+ Objects.requireNonNull(
+ request.getCreateNodeReplaceConfigurationDetails(),
+ "createNodeReplaceConfigurationDetails is required");
+
+ return clientCall(request, CreateNodeReplaceConfigurationResponse::builder)
+ .logger(LOG, "createNodeReplaceConfiguration")
+ .serviceDetails(
+ "Bds",
+ "CreateNodeReplaceConfiguration",
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/CreateNodeReplaceConfiguration")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(CreateNodeReplaceConfigurationRequest::builder)
+ .basePath("/20190531")
+ .appendPathParam("bdsInstances")
+ .appendPathParam(request.getBdsInstanceId())
+ .appendPathParam("nodeReplaceConfigurations")
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .hasBody()
+ .handleResponseHeaderString(
+ "opc-request-id",
+ CreateNodeReplaceConfigurationResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-work-request-id",
+ CreateNodeReplaceConfigurationResponse.Builder::opcWorkRequestId)
+ .callSync();
+ }
+
@Override
public DeleteBdsApiKeyResponse deleteBdsApiKey(DeleteBdsApiKeyRequest request) {
@@ -667,6 +766,71 @@ public DeleteBdsMetastoreConfigurationResponse deleteBdsMetastoreConfiguration(
.callSync();
}
+ @Override
+ public DeleteNodeBackupResponse deleteNodeBackup(DeleteNodeBackupRequest request) {
+
+ Validate.notBlank(request.getBdsInstanceId(), "bdsInstanceId must not be blank");
+
+ Validate.notBlank(request.getNodeBackupId(), "nodeBackupId must not be blank");
+
+ return clientCall(request, DeleteNodeBackupResponse::builder)
+ .logger(LOG, "deleteNodeBackup")
+ .serviceDetails(
+ "Bds",
+ "DeleteNodeBackup",
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/NodeBackup/DeleteNodeBackup")
+ .method(com.oracle.bmc.http.client.Method.DELETE)
+ .requestBuilder(DeleteNodeBackupRequest::builder)
+ .basePath("/20190531")
+ .appendPathParam("bdsInstances")
+ .appendPathParam(request.getBdsInstanceId())
+ .appendPathParam("nodeBackups")
+ .appendPathParam(request.getNodeBackupId())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("if-match", request.getIfMatch())
+ .handleResponseHeaderString(
+ "opc-request-id", DeleteNodeBackupResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-work-request-id", DeleteNodeBackupResponse.Builder::opcWorkRequestId)
+ .callSync();
+ }
+
+ @Override
+ public DeleteNodeBackupConfigurationResponse deleteNodeBackupConfiguration(
+ DeleteNodeBackupConfigurationRequest request) {
+
+ Validate.notBlank(request.getBdsInstanceId(), "bdsInstanceId must not be blank");
+
+ Validate.notBlank(
+ request.getNodeBackupConfigurationId(),
+ "nodeBackupConfigurationId must not be blank");
+
+ return clientCall(request, DeleteNodeBackupConfigurationResponse::builder)
+ .logger(LOG, "deleteNodeBackupConfiguration")
+ .serviceDetails(
+ "Bds",
+ "DeleteNodeBackupConfiguration",
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/NodeBackupConfiguration/DeleteNodeBackupConfiguration")
+ .method(com.oracle.bmc.http.client.Method.DELETE)
+ .requestBuilder(DeleteNodeBackupConfigurationRequest::builder)
+ .basePath("/20190531")
+ .appendPathParam("bdsInstances")
+ .appendPathParam(request.getBdsInstanceId())
+ .appendPathParam("nodeBackupConfigurations")
+ .appendPathParam(request.getNodeBackupConfigurationId())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("if-match", request.getIfMatch())
+ .handleResponseHeaderString(
+ "opc-request-id",
+ DeleteNodeBackupConfigurationResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-work-request-id",
+ DeleteNodeBackupConfigurationResponse.Builder::opcWorkRequestId)
+ .callSync();
+ }
+
@Override
public DisableCertificateResponse disableCertificate(DisableCertificateRequest request) {
@@ -893,6 +1057,107 @@ public GetBdsMetastoreConfigurationResponse getBdsMetastoreConfiguration(
.callSync();
}
+ @Override
+ public GetNodeBackupResponse getNodeBackup(GetNodeBackupRequest request) {
+
+ Validate.notBlank(request.getBdsInstanceId(), "bdsInstanceId must not be blank");
+
+ Validate.notBlank(request.getNodeBackupId(), "nodeBackupId must not be blank");
+
+ return clientCall(request, GetNodeBackupResponse::builder)
+ .logger(LOG, "getNodeBackup")
+ .serviceDetails(
+ "Bds",
+ "GetNodeBackup",
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/GetNodeBackup")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(GetNodeBackupRequest::builder)
+ .basePath("/20190531")
+ .appendPathParam("bdsInstances")
+ .appendPathParam(request.getBdsInstanceId())
+ .appendPathParam("nodeBackups")
+ .appendPathParam(request.getNodeBackupId())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleBody(
+ com.oracle.bmc.bds.model.NodeBackup.class,
+ GetNodeBackupResponse.Builder::nodeBackup)
+ .handleResponseHeaderString(
+ "opc-request-id", GetNodeBackupResponse.Builder::opcRequestId)
+ .handleResponseHeaderString("etag", GetNodeBackupResponse.Builder::etag)
+ .callSync();
+ }
+
+ @Override
+ public GetNodeBackupConfigurationResponse getNodeBackupConfiguration(
+ GetNodeBackupConfigurationRequest request) {
+
+ Validate.notBlank(request.getBdsInstanceId(), "bdsInstanceId must not be blank");
+
+ Validate.notBlank(
+ request.getNodeBackupConfigurationId(),
+ "nodeBackupConfigurationId must not be blank");
+
+ return clientCall(request, GetNodeBackupConfigurationResponse::builder)
+ .logger(LOG, "getNodeBackupConfiguration")
+ .serviceDetails(
+ "Bds",
+ "GetNodeBackupConfiguration",
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/GetNodeBackupConfiguration")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(GetNodeBackupConfigurationRequest::builder)
+ .basePath("/20190531")
+ .appendPathParam("bdsInstances")
+ .appendPathParam(request.getBdsInstanceId())
+ .appendPathParam("nodeBackupConfigurations")
+ .appendPathParam(request.getNodeBackupConfigurationId())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleBody(
+ com.oracle.bmc.bds.model.NodeBackupConfiguration.class,
+ GetNodeBackupConfigurationResponse.Builder::nodeBackupConfiguration)
+ .handleResponseHeaderString(
+ "opc-request-id", GetNodeBackupConfigurationResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "etag", GetNodeBackupConfigurationResponse.Builder::etag)
+ .callSync();
+ }
+
+ @Override
+ public GetNodeReplaceConfigurationResponse getNodeReplaceConfiguration(
+ GetNodeReplaceConfigurationRequest request) {
+
+ Validate.notBlank(request.getBdsInstanceId(), "bdsInstanceId must not be blank");
+
+ Validate.notBlank(
+ request.getNodeReplaceConfigurationId(),
+ "nodeReplaceConfigurationId must not be blank");
+
+ return clientCall(request, GetNodeReplaceConfigurationResponse::builder)
+ .logger(LOG, "getNodeReplaceConfiguration")
+ .serviceDetails(
+ "Bds",
+ "GetNodeReplaceConfiguration",
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/GetNodeReplaceConfiguration")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(GetNodeReplaceConfigurationRequest::builder)
+ .basePath("/20190531")
+ .appendPathParam("bdsInstances")
+ .appendPathParam(request.getBdsInstanceId())
+ .appendPathParam("nodeReplaceConfigurations")
+ .appendPathParam(request.getNodeReplaceConfigurationId())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleBody(
+ com.oracle.bmc.bds.model.NodeReplaceConfiguration.class,
+ GetNodeReplaceConfigurationResponse.Builder::nodeReplaceConfiguration)
+ .handleResponseHeaderString(
+ "opc-request-id", GetNodeReplaceConfigurationResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "etag", GetNodeReplaceConfigurationResponse.Builder::etag)
+ .callSync();
+ }
+
@Override
public GetOsPatchDetailsResponse getOsPatchDetails(GetOsPatchDetailsRequest request) {
@@ -1166,6 +1431,116 @@ public ListBdsMetastoreConfigurationsResponse listBdsMetastoreConfigurations(
.callSync();
}
+ @Override
+ public ListNodeBackupConfigurationsResponse listNodeBackupConfigurations(
+ ListNodeBackupConfigurationsRequest request) {
+
+ Validate.notBlank(request.getBdsInstanceId(), "bdsInstanceId must not be blank");
+
+ return clientCall(request, ListNodeBackupConfigurationsResponse::builder)
+ .logger(LOG, "listNodeBackupConfigurations")
+ .serviceDetails(
+ "Bds",
+ "ListNodeBackupConfigurations",
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/ListNodeBackupConfigurations")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(ListNodeBackupConfigurationsRequest::builder)
+ .basePath("/20190531")
+ .appendPathParam("bdsInstances")
+ .appendPathParam(request.getBdsInstanceId())
+ .appendPathParam("nodeBackupConfigurations")
+ .appendQueryParam("page", request.getPage())
+ .appendQueryParam("limit", request.getLimit())
+ .appendEnumQueryParam("sortBy", request.getSortBy())
+ .appendEnumQueryParam("sortOrder", request.getSortOrder())
+ .appendQueryParam("displayName", request.getDisplayName())
+ .appendEnumQueryParam("lifecycleState", request.getLifecycleState())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleBodyList(
+ com.oracle.bmc.bds.model.NodeBackupConfigurationSummary.class,
+ ListNodeBackupConfigurationsResponse.Builder::items)
+ .handleResponseHeaderString(
+ "opc-request-id",
+ ListNodeBackupConfigurationsResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-next-page", ListNodeBackupConfigurationsResponse.Builder::opcNextPage)
+ .callSync();
+ }
+
+ @Override
+ public ListNodeBackupsResponse listNodeBackups(ListNodeBackupsRequest request) {
+
+ Validate.notBlank(request.getBdsInstanceId(), "bdsInstanceId must not be blank");
+
+ return clientCall(request, ListNodeBackupsResponse::builder)
+ .logger(LOG, "listNodeBackups")
+ .serviceDetails(
+ "Bds",
+ "ListNodeBackups",
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/ListNodeBackups")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(ListNodeBackupsRequest::builder)
+ .basePath("/20190531")
+ .appendPathParam("bdsInstances")
+ .appendPathParam(request.getBdsInstanceId())
+ .appendPathParam("nodeBackups")
+ .appendQueryParam("page", request.getPage())
+ .appendQueryParam("limit", request.getLimit())
+ .appendEnumQueryParam("sortBy", request.getSortBy())
+ .appendEnumQueryParam("sortOrder", request.getSortOrder())
+ .appendQueryParam("nodeHostName", request.getNodeHostName())
+ .appendEnumQueryParam("lifecycleState", request.getLifecycleState())
+ .appendQueryParam("displayName", request.getDisplayName())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleBodyList(
+ com.oracle.bmc.bds.model.NodeBackupSummary.class,
+ ListNodeBackupsResponse.Builder::items)
+ .handleResponseHeaderString(
+ "opc-request-id", ListNodeBackupsResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-next-page", ListNodeBackupsResponse.Builder::opcNextPage)
+ .callSync();
+ }
+
+ @Override
+ public ListNodeReplaceConfigurationsResponse listNodeReplaceConfigurations(
+ ListNodeReplaceConfigurationsRequest request) {
+
+ Validate.notBlank(request.getBdsInstanceId(), "bdsInstanceId must not be blank");
+
+ return clientCall(request, ListNodeReplaceConfigurationsResponse::builder)
+ .logger(LOG, "listNodeReplaceConfigurations")
+ .serviceDetails(
+ "Bds",
+ "ListNodeReplaceConfigurations",
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/ListNodeReplaceConfigurations")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(ListNodeReplaceConfigurationsRequest::builder)
+ .basePath("/20190531")
+ .appendPathParam("bdsInstances")
+ .appendPathParam(request.getBdsInstanceId())
+ .appendPathParam("nodeReplaceConfigurations")
+ .appendQueryParam("page", request.getPage())
+ .appendQueryParam("limit", request.getLimit())
+ .appendEnumQueryParam("sortBy", request.getSortBy())
+ .appendEnumQueryParam("sortOrder", request.getSortOrder())
+ .appendQueryParam("displayName", request.getDisplayName())
+ .appendEnumQueryParam("lifecycleState", request.getLifecycleState())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleBodyList(
+ com.oracle.bmc.bds.model.NodeReplaceConfigurationSummary.class,
+ ListNodeReplaceConfigurationsResponse.Builder::items)
+ .handleResponseHeaderString(
+ "opc-request-id",
+ ListNodeReplaceConfigurationsResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-next-page", ListNodeReplaceConfigurationsResponse.Builder::opcNextPage)
+ .callSync();
+ }
+
@Override
public ListOsPatchesResponse listOsPatches(ListOsPatchesRequest request) {
@@ -1504,6 +1879,48 @@ public RemoveNodeResponse removeNode(RemoveNodeRequest request) {
.callSync();
}
+ @Override
+ public RemoveNodeReplaceConfigurationResponse removeNodeReplaceConfiguration(
+ RemoveNodeReplaceConfigurationRequest request) {
+
+ Validate.notBlank(request.getBdsInstanceId(), "bdsInstanceId must not be blank");
+
+ Validate.notBlank(
+ request.getNodeReplaceConfigurationId(),
+ "nodeReplaceConfigurationId must not be blank");
+ Objects.requireNonNull(
+ request.getRemoveNodeReplaceConfigurationDetails(),
+ "removeNodeReplaceConfigurationDetails is required");
+
+ return clientCall(request, RemoveNodeReplaceConfigurationResponse::builder)
+ .logger(LOG, "removeNodeReplaceConfiguration")
+ .serviceDetails(
+ "Bds",
+ "RemoveNodeReplaceConfiguration",
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/NodeReplaceConfiguration/RemoveNodeReplaceConfiguration")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(RemoveNodeReplaceConfigurationRequest::builder)
+ .basePath("/20190531")
+ .appendPathParam("bdsInstances")
+ .appendPathParam(request.getBdsInstanceId())
+ .appendPathParam("nodeReplaceConfigurations")
+ .appendPathParam(request.getNodeReplaceConfigurationId())
+ .appendPathParam("actions")
+ .appendPathParam("remove")
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("if-match", request.getIfMatch())
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .hasBody()
+ .handleResponseHeaderString(
+ "opc-request-id",
+ RemoveNodeReplaceConfigurationResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-work-request-id",
+ RemoveNodeReplaceConfigurationResponse.Builder::opcWorkRequestId)
+ .callSync();
+ }
+
@Override
public RenewCertificateResponse renewCertificate(RenewCertificateRequest request) {
@@ -1536,6 +1953,37 @@ public RenewCertificateResponse renewCertificate(RenewCertificateRequest request
.callSync();
}
+ @Override
+ public ReplaceNodeResponse replaceNode(ReplaceNodeRequest request) {
+
+ Validate.notBlank(request.getBdsInstanceId(), "bdsInstanceId must not be blank");
+ Objects.requireNonNull(request.getReplaceNodeDetails(), "replaceNodeDetails is required");
+
+ return clientCall(request, ReplaceNodeResponse::builder)
+ .logger(LOG, "replaceNode")
+ .serviceDetails(
+ "Bds",
+ "ReplaceNode",
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/ReplaceNode")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(ReplaceNodeRequest::builder)
+ .basePath("/20190531")
+ .appendPathParam("bdsInstances")
+ .appendPathParam(request.getBdsInstanceId())
+ .appendPathParam("actions")
+ .appendPathParam("replaceNode")
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("if-match", request.getIfMatch())
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .hasBody()
+ .handleResponseHeaderString(
+ "opc-request-id", ReplaceNodeResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-work-request-id", ReplaceNodeResponse.Builder::opcWorkRequestId)
+ .callSync();
+ }
+
@Override
public RestartNodeResponse restartNode(RestartNodeRequest request) {
@@ -1812,6 +2260,86 @@ public UpdateBdsMetastoreConfigurationResponse updateBdsMetastoreConfiguration(
.callSync();
}
+ @Override
+ public UpdateNodeBackupConfigurationResponse updateNodeBackupConfiguration(
+ UpdateNodeBackupConfigurationRequest request) {
+
+ Validate.notBlank(request.getBdsInstanceId(), "bdsInstanceId must not be blank");
+
+ Validate.notBlank(
+ request.getNodeBackupConfigurationId(),
+ "nodeBackupConfigurationId must not be blank");
+ Objects.requireNonNull(
+ request.getUpdateNodeBackupConfigurationDetails(),
+ "updateNodeBackupConfigurationDetails is required");
+
+ return clientCall(request, UpdateNodeBackupConfigurationResponse::builder)
+ .logger(LOG, "updateNodeBackupConfiguration")
+ .serviceDetails(
+ "Bds",
+ "UpdateNodeBackupConfiguration",
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/UpdateNodeBackupConfiguration")
+ .method(com.oracle.bmc.http.client.Method.PUT)
+ .requestBuilder(UpdateNodeBackupConfigurationRequest::builder)
+ .basePath("/20190531")
+ .appendPathParam("bdsInstances")
+ .appendPathParam(request.getBdsInstanceId())
+ .appendPathParam("nodeBackupConfigurations")
+ .appendPathParam(request.getNodeBackupConfigurationId())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("if-match", request.getIfMatch())
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .hasBody()
+ .handleResponseHeaderString(
+ "opc-request-id",
+ UpdateNodeBackupConfigurationResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-work-request-id",
+ UpdateNodeBackupConfigurationResponse.Builder::opcWorkRequestId)
+ .callSync();
+ }
+
+ @Override
+ public UpdateNodeReplaceConfigurationResponse updateNodeReplaceConfiguration(
+ UpdateNodeReplaceConfigurationRequest request) {
+
+ Validate.notBlank(request.getBdsInstanceId(), "bdsInstanceId must not be blank");
+
+ Validate.notBlank(
+ request.getNodeReplaceConfigurationId(),
+ "nodeReplaceConfigurationId must not be blank");
+ Objects.requireNonNull(
+ request.getUpdateNodeReplaceConfigurationDetails(),
+ "updateNodeReplaceConfigurationDetails is required");
+
+ return clientCall(request, UpdateNodeReplaceConfigurationResponse::builder)
+ .logger(LOG, "updateNodeReplaceConfiguration")
+ .serviceDetails(
+ "Bds",
+ "UpdateNodeReplaceConfiguration",
+ "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/UpdateNodeReplaceConfiguration")
+ .method(com.oracle.bmc.http.client.Method.PUT)
+ .requestBuilder(UpdateNodeReplaceConfigurationRequest::builder)
+ .basePath("/20190531")
+ .appendPathParam("bdsInstances")
+ .appendPathParam(request.getBdsInstanceId())
+ .appendPathParam("nodeReplaceConfigurations")
+ .appendPathParam(request.getNodeReplaceConfigurationId())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("if-match", request.getIfMatch())
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .hasBody()
+ .handleResponseHeaderString(
+ "opc-request-id",
+ UpdateNodeReplaceConfigurationResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-work-request-id",
+ UpdateNodeReplaceConfigurationResponse.Builder::opcWorkRequestId)
+ .callSync();
+ }
+
@Override
public BdsWaiters getWaiters() {
return waiters;
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/BdsPaginators.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/BdsPaginators.java
index 28c2283baa4..3dc90171f76 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/BdsPaginators.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/BdsPaginators.java
@@ -525,6 +525,373 @@ public ListBdsMetastoreConfigurationsResponse apply(
});
}
+ /**
+ * Creates a new iterable which will iterate over the responses received from the
+ * listNodeBackupConfigurations 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
+ listNodeBackupConfigurationsResponseIterator(
+ final ListNodeBackupConfigurationsRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseIterable<
+ ListNodeBackupConfigurationsRequest.Builder,
+ ListNodeBackupConfigurationsRequest,
+ ListNodeBackupConfigurationsResponse>(
+ new java.util.function.Supplier() {
+ @Override
+ public ListNodeBackupConfigurationsRequest.Builder get() {
+ return ListNodeBackupConfigurationsRequest.builder().copy(request);
+ }
+ },
+ new java.util.function.Function() {
+ @Override
+ public String apply(ListNodeBackupConfigurationsResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListNodeBackupConfigurationsRequest.Builder>,
+ ListNodeBackupConfigurationsRequest>() {
+ @Override
+ public ListNodeBackupConfigurationsRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListNodeBackupConfigurationsRequest.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<
+ ListNodeBackupConfigurationsRequest,
+ ListNodeBackupConfigurationsResponse>() {
+ @Override
+ public ListNodeBackupConfigurationsResponse apply(
+ ListNodeBackupConfigurationsRequest request) {
+ return client.listNodeBackupConfigurations(request);
+ }
+ });
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the {@link
+ * com.oracle.bmc.bds.model.NodeBackupConfigurationSummary} objects contained in responses from
+ * the listNodeBackupConfigurations 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.bds.model.NodeBackupConfigurationSummary} objects contained in responses
+ * received from the service.
+ */
+ public Iterable
+ listNodeBackupConfigurationsRecordIterator(
+ final ListNodeBackupConfigurationsRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseRecordIterable<
+ ListNodeBackupConfigurationsRequest.Builder,
+ ListNodeBackupConfigurationsRequest,
+ ListNodeBackupConfigurationsResponse,
+ com.oracle.bmc.bds.model.NodeBackupConfigurationSummary>(
+ new java.util.function.Supplier() {
+ @Override
+ public ListNodeBackupConfigurationsRequest.Builder get() {
+ return ListNodeBackupConfigurationsRequest.builder().copy(request);
+ }
+ },
+ new java.util.function.Function() {
+ @Override
+ public String apply(ListNodeBackupConfigurationsResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListNodeBackupConfigurationsRequest.Builder>,
+ ListNodeBackupConfigurationsRequest>() {
+ @Override
+ public ListNodeBackupConfigurationsRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListNodeBackupConfigurationsRequest.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<
+ ListNodeBackupConfigurationsRequest,
+ ListNodeBackupConfigurationsResponse>() {
+ @Override
+ public ListNodeBackupConfigurationsResponse apply(
+ ListNodeBackupConfigurationsRequest request) {
+ return client.listNodeBackupConfigurations(request);
+ }
+ },
+ new java.util.function.Function<
+ ListNodeBackupConfigurationsResponse,
+ java.util.List>() {
+ @Override
+ public java.util.List
+ apply(ListNodeBackupConfigurationsResponse response) {
+ return response.getItems();
+ }
+ });
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the responses received from the
+ * listNodeBackups 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 listNodeBackupsResponseIterator(
+ final ListNodeBackupsRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseIterable<
+ ListNodeBackupsRequest.Builder, ListNodeBackupsRequest, ListNodeBackupsResponse>(
+ new java.util.function.Supplier() {
+ @Override
+ public ListNodeBackupsRequest.Builder get() {
+ return ListNodeBackupsRequest.builder().copy(request);
+ }
+ },
+ new java.util.function.Function() {
+ @Override
+ public String apply(ListNodeBackupsResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListNodeBackupsRequest.Builder>,
+ ListNodeBackupsRequest>() {
+ @Override
+ public ListNodeBackupsRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListNodeBackupsRequest.Builder>
+ input) {
+ if (input.getNextPageToken() == null) {
+ return input.getRequestBuilder().build();
+ } else {
+ return input.getRequestBuilder()
+ .page(input.getNextPageToken().orElse(null))
+ .build();
+ }
+ }
+ },
+ new java.util.function.Function() {
+ @Override
+ public ListNodeBackupsResponse apply(ListNodeBackupsRequest request) {
+ return client.listNodeBackups(request);
+ }
+ });
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the {@link
+ * com.oracle.bmc.bds.model.NodeBackupSummary} objects contained in responses from the
+ * listNodeBackups 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.bds.model.NodeBackupSummary} objects contained in responses received from
+ * the service.
+ */
+ public Iterable listNodeBackupsRecordIterator(
+ final ListNodeBackupsRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseRecordIterable<
+ ListNodeBackupsRequest.Builder,
+ ListNodeBackupsRequest,
+ ListNodeBackupsResponse,
+ com.oracle.bmc.bds.model.NodeBackupSummary>(
+ new java.util.function.Supplier() {
+ @Override
+ public ListNodeBackupsRequest.Builder get() {
+ return ListNodeBackupsRequest.builder().copy(request);
+ }
+ },
+ new java.util.function.Function() {
+ @Override
+ public String apply(ListNodeBackupsResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListNodeBackupsRequest.Builder>,
+ ListNodeBackupsRequest>() {
+ @Override
+ public ListNodeBackupsRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListNodeBackupsRequest.Builder>
+ input) {
+ if (input.getNextPageToken() == null) {
+ return input.getRequestBuilder().build();
+ } else {
+ return input.getRequestBuilder()
+ .page(input.getNextPageToken().orElse(null))
+ .build();
+ }
+ }
+ },
+ new java.util.function.Function() {
+ @Override
+ public ListNodeBackupsResponse apply(ListNodeBackupsRequest request) {
+ return client.listNodeBackups(request);
+ }
+ },
+ new java.util.function.Function<
+ ListNodeBackupsResponse,
+ java.util.List>() {
+ @Override
+ public java.util.List apply(
+ ListNodeBackupsResponse response) {
+ return response.getItems();
+ }
+ });
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the responses received from the
+ * listNodeReplaceConfigurations 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
+ listNodeReplaceConfigurationsResponseIterator(
+ final ListNodeReplaceConfigurationsRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseIterable<
+ ListNodeReplaceConfigurationsRequest.Builder,
+ ListNodeReplaceConfigurationsRequest,
+ ListNodeReplaceConfigurationsResponse>(
+ new java.util.function.Supplier() {
+ @Override
+ public ListNodeReplaceConfigurationsRequest.Builder get() {
+ return ListNodeReplaceConfigurationsRequest.builder().copy(request);
+ }
+ },
+ new java.util.function.Function() {
+ @Override
+ public String apply(ListNodeReplaceConfigurationsResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListNodeReplaceConfigurationsRequest.Builder>,
+ ListNodeReplaceConfigurationsRequest>() {
+ @Override
+ public ListNodeReplaceConfigurationsRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListNodeReplaceConfigurationsRequest.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<
+ ListNodeReplaceConfigurationsRequest,
+ ListNodeReplaceConfigurationsResponse>() {
+ @Override
+ public ListNodeReplaceConfigurationsResponse apply(
+ ListNodeReplaceConfigurationsRequest request) {
+ return client.listNodeReplaceConfigurations(request);
+ }
+ });
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the {@link
+ * com.oracle.bmc.bds.model.NodeReplaceConfigurationSummary} objects contained in responses from
+ * the listNodeReplaceConfigurations 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.bds.model.NodeReplaceConfigurationSummary} objects contained in responses
+ * received from the service.
+ */
+ public Iterable
+ listNodeReplaceConfigurationsRecordIterator(
+ final ListNodeReplaceConfigurationsRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseRecordIterable<
+ ListNodeReplaceConfigurationsRequest.Builder,
+ ListNodeReplaceConfigurationsRequest,
+ ListNodeReplaceConfigurationsResponse,
+ com.oracle.bmc.bds.model.NodeReplaceConfigurationSummary>(
+ new java.util.function.Supplier() {
+ @Override
+ public ListNodeReplaceConfigurationsRequest.Builder get() {
+ return ListNodeReplaceConfigurationsRequest.builder().copy(request);
+ }
+ },
+ new java.util.function.Function() {
+ @Override
+ public String apply(ListNodeReplaceConfigurationsResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListNodeReplaceConfigurationsRequest.Builder>,
+ ListNodeReplaceConfigurationsRequest>() {
+ @Override
+ public ListNodeReplaceConfigurationsRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListNodeReplaceConfigurationsRequest.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<
+ ListNodeReplaceConfigurationsRequest,
+ ListNodeReplaceConfigurationsResponse>() {
+ @Override
+ public ListNodeReplaceConfigurationsResponse apply(
+ ListNodeReplaceConfigurationsRequest request) {
+ return client.listNodeReplaceConfigurations(request);
+ }
+ },
+ new java.util.function.Function<
+ ListNodeReplaceConfigurationsResponse,
+ java.util.List<
+ com.oracle.bmc.bds.model.NodeReplaceConfigurationSummary>>() {
+ @Override
+ public java.util.List
+ apply(ListNodeReplaceConfigurationsResponse response) {
+ return response.getItems();
+ }
+ });
+ }
+
/**
* Creates a new iterable which will iterate over the responses received from the listOsPatches
* operation. This iterable will fetch more data from the server as needed.
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/BdsWaiters.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/BdsWaiters.java
index 831ff5c11ef..dea79719f4d 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/BdsWaiters.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/BdsWaiters.java
@@ -457,6 +457,334 @@ public boolean test(GetBdsMetastoreConfigurationResponse response) {
request);
}
+ /**
+ * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration.
+ *
+ * @param request the request to send
+ * @param targetStates the desired states to wait for. If multiple states are provided then the
+ * waiter will return once the resource reaches any of the provided states
+ * @return a new {@code Waiter} instance
+ */
+ public com.oracle.bmc.waiter.Waiter forNodeBackup(
+ GetNodeBackupRequest request,
+ com.oracle.bmc.bds.model.NodeBackup.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 forNodeBackup(
+ 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 forNodeBackup(
+ GetNodeBackupRequest request,
+ com.oracle.bmc.bds.model.NodeBackup.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 forNodeBackup(
+ 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 forNodeBackup(
+ GetNodeBackupRequest request,
+ com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
+ com.oracle.bmc.waiter.DelayStrategy delayStrategy,
+ com.oracle.bmc.bds.model.NodeBackup.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 forNodeBackup(
+ com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
+ request,
+ targetStates);
+ }
+
+ // Helper method to create a new Waiter for NodeBackup.
+ private com.oracle.bmc.waiter.Waiter forNodeBackup(
+ com.oracle.bmc.waiter.BmcGenericWaiter waiter,
+ final GetNodeBackupRequest request,
+ final com.oracle.bmc.bds.model.NodeBackup.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<
+ GetNodeBackupRequest, GetNodeBackupResponse>() {
+ @Override
+ public GetNodeBackupResponse apply(GetNodeBackupRequest request) {
+ return client.getNodeBackup(request);
+ }
+ },
+ new java.util.function.Predicate() {
+ @Override
+ public boolean test(GetNodeBackupResponse response) {
+ return targetStatesSet.contains(
+ response.getNodeBackup().getLifecycleState());
+ }
+ },
+ targetStatesSet.contains(
+ com.oracle.bmc.bds.model.NodeBackup.LifecycleState.Deleted)),
+ request);
+ }
+
+ /**
+ * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration.
+ *
+ * @param request the request to send
+ * @param targetStates the desired states to wait for. If multiple states are provided then the
+ * waiter will return once the resource reaches any of the provided states
+ * @return a new {@code Waiter} instance
+ */
+ public com.oracle.bmc.waiter.Waiter<
+ GetNodeBackupConfigurationRequest, GetNodeBackupConfigurationResponse>
+ forNodeBackupConfiguration(
+ GetNodeBackupConfigurationRequest request,
+ com.oracle.bmc.bds.model.NodeBackupConfiguration.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 forNodeBackupConfiguration(
+ 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<
+ GetNodeBackupConfigurationRequest, GetNodeBackupConfigurationResponse>
+ forNodeBackupConfiguration(
+ GetNodeBackupConfigurationRequest request,
+ com.oracle.bmc.bds.model.NodeBackupConfiguration.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 forNodeBackupConfiguration(
+ 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<
+ GetNodeBackupConfigurationRequest, GetNodeBackupConfigurationResponse>
+ forNodeBackupConfiguration(
+ GetNodeBackupConfigurationRequest request,
+ com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
+ com.oracle.bmc.waiter.DelayStrategy delayStrategy,
+ com.oracle.bmc.bds.model.NodeBackupConfiguration.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 forNodeBackupConfiguration(
+ com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
+ request,
+ targetStates);
+ }
+
+ // Helper method to create a new Waiter for NodeBackupConfiguration.
+ private com.oracle.bmc.waiter.Waiter<
+ GetNodeBackupConfigurationRequest, GetNodeBackupConfigurationResponse>
+ forNodeBackupConfiguration(
+ com.oracle.bmc.waiter.BmcGenericWaiter waiter,
+ final GetNodeBackupConfigurationRequest request,
+ final com.oracle.bmc.bds.model.NodeBackupConfiguration.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<
+ GetNodeBackupConfigurationRequest,
+ GetNodeBackupConfigurationResponse>() {
+ @Override
+ public GetNodeBackupConfigurationResponse apply(
+ GetNodeBackupConfigurationRequest request) {
+ return client.getNodeBackupConfiguration(request);
+ }
+ },
+ new java.util.function.Predicate() {
+ @Override
+ public boolean test(GetNodeBackupConfigurationResponse response) {
+ return targetStatesSet.contains(
+ response.getNodeBackupConfiguration().getLifecycleState());
+ }
+ },
+ targetStatesSet.contains(
+ com.oracle.bmc.bds.model.NodeBackupConfiguration.LifecycleState
+ .Deleted)),
+ request);
+ }
+
+ /**
+ * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration.
+ *
+ * @param request the request to send
+ * @param targetStates the desired states to wait for. If multiple states are provided then the
+ * waiter will return once the resource reaches any of the provided states
+ * @return a new {@code Waiter} instance
+ */
+ public com.oracle.bmc.waiter.Waiter<
+ GetNodeReplaceConfigurationRequest, GetNodeReplaceConfigurationResponse>
+ forNodeReplaceConfiguration(
+ GetNodeReplaceConfigurationRequest request,
+ com.oracle.bmc.bds.model.NodeReplaceConfiguration.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 forNodeReplaceConfiguration(
+ 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<
+ GetNodeReplaceConfigurationRequest, GetNodeReplaceConfigurationResponse>
+ forNodeReplaceConfiguration(
+ GetNodeReplaceConfigurationRequest request,
+ com.oracle.bmc.bds.model.NodeReplaceConfiguration.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 forNodeReplaceConfiguration(
+ 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<
+ GetNodeReplaceConfigurationRequest, GetNodeReplaceConfigurationResponse>
+ forNodeReplaceConfiguration(
+ GetNodeReplaceConfigurationRequest request,
+ com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
+ com.oracle.bmc.waiter.DelayStrategy delayStrategy,
+ com.oracle.bmc.bds.model.NodeReplaceConfiguration.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 forNodeReplaceConfiguration(
+ com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
+ request,
+ targetStates);
+ }
+
+ // Helper method to create a new Waiter for NodeReplaceConfiguration.
+ private com.oracle.bmc.waiter.Waiter<
+ GetNodeReplaceConfigurationRequest, GetNodeReplaceConfigurationResponse>
+ forNodeReplaceConfiguration(
+ com.oracle.bmc.waiter.BmcGenericWaiter waiter,
+ final GetNodeReplaceConfigurationRequest request,
+ final com.oracle.bmc.bds.model.NodeReplaceConfiguration.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<
+ GetNodeReplaceConfigurationRequest,
+ GetNodeReplaceConfigurationResponse>() {
+ @Override
+ public GetNodeReplaceConfigurationResponse apply(
+ GetNodeReplaceConfigurationRequest request) {
+ return client.getNodeReplaceConfiguration(request);
+ }
+ },
+ new java.util.function.Predicate() {
+ @Override
+ public boolean test(GetNodeReplaceConfigurationResponse response) {
+ return targetStatesSet.contains(
+ response.getNodeReplaceConfiguration().getLifecycleState());
+ }
+ },
+ targetStatesSet.contains(
+ com.oracle.bmc.bds.model.NodeReplaceConfiguration.LifecycleState
+ .Deleted)),
+ request);
+ }
+
/**
* Creates a new {@link com.oracle.bmc.waiter.Waiter} using default configuration.
*
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/BackupNodeDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/BackupNodeDetails.java
new file mode 100644
index 00000000000..4bb7e2f11a9
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/BackupNodeDetails.java
@@ -0,0 +1,167 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.model;
+
+/**
+ * The information about the nodes to backup.
+ * 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: 20190531")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = BackupNodeDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class BackupNodeDetails
+ extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({"levelTypeDetails", "backupType"})
+ public BackupNodeDetails(LevelTypeDetails levelTypeDetails, NodeBackup.BackupType backupType) {
+ super();
+ this.levelTypeDetails = levelTypeDetails;
+ this.backupType = backupType;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+
+ @com.fasterxml.jackson.annotation.JsonProperty("levelTypeDetails")
+ private LevelTypeDetails levelTypeDetails;
+
+ public Builder levelTypeDetails(LevelTypeDetails levelTypeDetails) {
+ this.levelTypeDetails = levelTypeDetails;
+ this.__explicitlySet__.add("levelTypeDetails");
+ return this;
+ }
+ /**
+ * Incremental backup type includes only the changes since the last backup. Full backup type
+ * includes all changes since the volume was created.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("backupType")
+ private NodeBackup.BackupType backupType;
+
+ /**
+ * Incremental backup type includes only the changes since the last backup. Full backup type
+ * includes all changes since the volume was created.
+ *
+ * @param backupType the value to set
+ * @return this builder
+ */
+ public Builder backupType(NodeBackup.BackupType backupType) {
+ this.backupType = backupType;
+ this.__explicitlySet__.add("backupType");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public BackupNodeDetails build() {
+ BackupNodeDetails model = new BackupNodeDetails(this.levelTypeDetails, this.backupType);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(BackupNodeDetails model) {
+ if (model.wasPropertyExplicitlySet("levelTypeDetails")) {
+ this.levelTypeDetails(model.getLevelTypeDetails());
+ }
+ if (model.wasPropertyExplicitlySet("backupType")) {
+ this.backupType(model.getBackupType());
+ }
+ 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("levelTypeDetails")
+ private final LevelTypeDetails levelTypeDetails;
+
+ public LevelTypeDetails getLevelTypeDetails() {
+ return levelTypeDetails;
+ }
+
+ /**
+ * Incremental backup type includes only the changes since the last backup. Full backup type
+ * includes all changes since the volume was created.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("backupType")
+ private final NodeBackup.BackupType backupType;
+
+ /**
+ * Incremental backup type includes only the changes since the last backup. Full backup type
+ * includes all changes since the volume was created.
+ *
+ * @return the value
+ */
+ public NodeBackup.BackupType getBackupType() {
+ return backupType;
+ }
+
+ @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("BackupNodeDetails(");
+ sb.append("super=").append(super.toString());
+ sb.append("levelTypeDetails=").append(String.valueOf(this.levelTypeDetails));
+ sb.append(", backupType=").append(String.valueOf(this.backupType));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof BackupNodeDetails)) {
+ return false;
+ }
+
+ BackupNodeDetails other = (BackupNodeDetails) o;
+ return java.util.Objects.equals(this.levelTypeDetails, other.levelTypeDetails)
+ && java.util.Objects.equals(this.backupType, other.backupType)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result =
+ (result * PRIME)
+ + (this.levelTypeDetails == null ? 43 : this.levelTypeDetails.hashCode());
+ result = (result * PRIME) + (this.backupType == null ? 43 : this.backupType.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateNodeBackupConfigurationDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateNodeBackupConfigurationDetails.java
new file mode 100644
index 00000000000..b0f7093cd40
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateNodeBackupConfigurationDetails.java
@@ -0,0 +1,359 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.model;
+
+/**
+ * The information about the NodeBackupConfiguration.
+ * 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: 20190531")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = CreateNodeBackupConfigurationDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class CreateNodeBackupConfigurationDetails
+ extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({
+ "levelTypeDetails",
+ "displayName",
+ "timezone",
+ "schedule",
+ "numberOfBackupsToRetain",
+ "backupType"
+ })
+ public CreateNodeBackupConfigurationDetails(
+ LevelTypeDetails levelTypeDetails,
+ String displayName,
+ String timezone,
+ String schedule,
+ Integer numberOfBackupsToRetain,
+ NodeBackup.BackupType backupType) {
+ super();
+ this.levelTypeDetails = levelTypeDetails;
+ this.displayName = displayName;
+ this.timezone = timezone;
+ this.schedule = schedule;
+ this.numberOfBackupsToRetain = numberOfBackupsToRetain;
+ this.backupType = backupType;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+
+ @com.fasterxml.jackson.annotation.JsonProperty("levelTypeDetails")
+ private LevelTypeDetails levelTypeDetails;
+
+ public Builder levelTypeDetails(LevelTypeDetails levelTypeDetails) {
+ this.levelTypeDetails = levelTypeDetails;
+ this.__explicitlySet__.add("levelTypeDetails");
+ return this;
+ }
+ /**
+ * A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name
+ * does not have to be unique, and it may be changed. Avoid entering confidential
+ * information.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private String displayName;
+
+ /**
+ * A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name
+ * does not have to be unique, and it may be changed. Avoid entering confidential
+ * information.
+ *
+ * @param displayName the value to set
+ * @return this builder
+ */
+ public Builder displayName(String displayName) {
+ this.displayName = displayName;
+ this.__explicitlySet__.add("displayName");
+ return this;
+ }
+ /** The time zone of the execution schedule, in IANA time zone database name format */
+ @com.fasterxml.jackson.annotation.JsonProperty("timezone")
+ private String timezone;
+
+ /**
+ * The time zone of the execution schedule, in IANA time zone database name format
+ *
+ * @param timezone the value to set
+ * @return this builder
+ */
+ public Builder timezone(String timezone) {
+ this.timezone = timezone;
+ this.__explicitlySet__.add("timezone");
+ return this;
+ }
+ /**
+ * Day/time recurrence (specified following RFC 5545) at which to trigger the backup
+ * process. Currently only DAILY, WEEKLY and MONTHLY frequency is supported. Days of the
+ * week are specified using BYDAY field. Time of the day is specified using BYHOUR. Other
+ * fields are not supported.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("schedule")
+ private String schedule;
+
+ /**
+ * Day/time recurrence (specified following RFC 5545) at which to trigger the backup
+ * process. Currently only DAILY, WEEKLY and MONTHLY frequency is supported. Days of the
+ * week are specified using BYDAY field. Time of the day is specified using BYHOUR. Other
+ * fields are not supported.
+ *
+ * @param schedule the value to set
+ * @return this builder
+ */
+ public Builder schedule(String schedule) {
+ this.schedule = schedule;
+ this.__explicitlySet__.add("schedule");
+ return this;
+ }
+ /** Number of backup copies to retain. */
+ @com.fasterxml.jackson.annotation.JsonProperty("numberOfBackupsToRetain")
+ private Integer numberOfBackupsToRetain;
+
+ /**
+ * Number of backup copies to retain.
+ *
+ * @param numberOfBackupsToRetain the value to set
+ * @return this builder
+ */
+ public Builder numberOfBackupsToRetain(Integer numberOfBackupsToRetain) {
+ this.numberOfBackupsToRetain = numberOfBackupsToRetain;
+ this.__explicitlySet__.add("numberOfBackupsToRetain");
+ return this;
+ }
+ /**
+ * Incremental backup type includes only the changes since the last backup. Full backup type
+ * includes all changes since the volume was created.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("backupType")
+ private NodeBackup.BackupType backupType;
+
+ /**
+ * Incremental backup type includes only the changes since the last backup. Full backup type
+ * includes all changes since the volume was created.
+ *
+ * @param backupType the value to set
+ * @return this builder
+ */
+ public Builder backupType(NodeBackup.BackupType backupType) {
+ this.backupType = backupType;
+ this.__explicitlySet__.add("backupType");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public CreateNodeBackupConfigurationDetails build() {
+ CreateNodeBackupConfigurationDetails model =
+ new CreateNodeBackupConfigurationDetails(
+ this.levelTypeDetails,
+ this.displayName,
+ this.timezone,
+ this.schedule,
+ this.numberOfBackupsToRetain,
+ this.backupType);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(CreateNodeBackupConfigurationDetails model) {
+ if (model.wasPropertyExplicitlySet("levelTypeDetails")) {
+ this.levelTypeDetails(model.getLevelTypeDetails());
+ }
+ if (model.wasPropertyExplicitlySet("displayName")) {
+ this.displayName(model.getDisplayName());
+ }
+ if (model.wasPropertyExplicitlySet("timezone")) {
+ this.timezone(model.getTimezone());
+ }
+ if (model.wasPropertyExplicitlySet("schedule")) {
+ this.schedule(model.getSchedule());
+ }
+ if (model.wasPropertyExplicitlySet("numberOfBackupsToRetain")) {
+ this.numberOfBackupsToRetain(model.getNumberOfBackupsToRetain());
+ }
+ if (model.wasPropertyExplicitlySet("backupType")) {
+ this.backupType(model.getBackupType());
+ }
+ 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("levelTypeDetails")
+ private final LevelTypeDetails levelTypeDetails;
+
+ public LevelTypeDetails getLevelTypeDetails() {
+ return levelTypeDetails;
+ }
+
+ /**
+ * A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name
+ * does not have to be unique, and it may be changed. Avoid entering confidential information.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private final String displayName;
+
+ /**
+ * A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name
+ * does not have to be unique, and it may be changed. Avoid entering confidential information.
+ *
+ * @return the value
+ */
+ public String getDisplayName() {
+ return displayName;
+ }
+
+ /** The time zone of the execution schedule, in IANA time zone database name format */
+ @com.fasterxml.jackson.annotation.JsonProperty("timezone")
+ private final String timezone;
+
+ /**
+ * The time zone of the execution schedule, in IANA time zone database name format
+ *
+ * @return the value
+ */
+ public String getTimezone() {
+ return timezone;
+ }
+
+ /**
+ * Day/time recurrence (specified following RFC 5545) at which to trigger the backup process.
+ * Currently only DAILY, WEEKLY and MONTHLY frequency is supported. Days of the week are
+ * specified using BYDAY field. Time of the day is specified using BYHOUR. Other fields are not
+ * supported.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("schedule")
+ private final String schedule;
+
+ /**
+ * Day/time recurrence (specified following RFC 5545) at which to trigger the backup process.
+ * Currently only DAILY, WEEKLY and MONTHLY frequency is supported. Days of the week are
+ * specified using BYDAY field. Time of the day is specified using BYHOUR. Other fields are not
+ * supported.
+ *
+ * @return the value
+ */
+ public String getSchedule() {
+ return schedule;
+ }
+
+ /** Number of backup copies to retain. */
+ @com.fasterxml.jackson.annotation.JsonProperty("numberOfBackupsToRetain")
+ private final Integer numberOfBackupsToRetain;
+
+ /**
+ * Number of backup copies to retain.
+ *
+ * @return the value
+ */
+ public Integer getNumberOfBackupsToRetain() {
+ return numberOfBackupsToRetain;
+ }
+
+ /**
+ * Incremental backup type includes only the changes since the last backup. Full backup type
+ * includes all changes since the volume was created.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("backupType")
+ private final NodeBackup.BackupType backupType;
+
+ /**
+ * Incremental backup type includes only the changes since the last backup. Full backup type
+ * includes all changes since the volume was created.
+ *
+ * @return the value
+ */
+ public NodeBackup.BackupType getBackupType() {
+ return backupType;
+ }
+
+ @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("CreateNodeBackupConfigurationDetails(");
+ sb.append("super=").append(super.toString());
+ sb.append("levelTypeDetails=").append(String.valueOf(this.levelTypeDetails));
+ sb.append(", displayName=").append(String.valueOf(this.displayName));
+ sb.append(", timezone=").append(String.valueOf(this.timezone));
+ sb.append(", schedule=").append(String.valueOf(this.schedule));
+ sb.append(", numberOfBackupsToRetain=")
+ .append(String.valueOf(this.numberOfBackupsToRetain));
+ sb.append(", backupType=").append(String.valueOf(this.backupType));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof CreateNodeBackupConfigurationDetails)) {
+ return false;
+ }
+
+ CreateNodeBackupConfigurationDetails other = (CreateNodeBackupConfigurationDetails) o;
+ return java.util.Objects.equals(this.levelTypeDetails, other.levelTypeDetails)
+ && java.util.Objects.equals(this.displayName, other.displayName)
+ && java.util.Objects.equals(this.timezone, other.timezone)
+ && java.util.Objects.equals(this.schedule, other.schedule)
+ && java.util.Objects.equals(
+ this.numberOfBackupsToRetain, other.numberOfBackupsToRetain)
+ && java.util.Objects.equals(this.backupType, other.backupType)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result =
+ (result * PRIME)
+ + (this.levelTypeDetails == null ? 43 : this.levelTypeDetails.hashCode());
+ result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode());
+ result = (result * PRIME) + (this.timezone == null ? 43 : this.timezone.hashCode());
+ result = (result * PRIME) + (this.schedule == null ? 43 : this.schedule.hashCode());
+ result =
+ (result * PRIME)
+ + (this.numberOfBackupsToRetain == null
+ ? 43
+ : this.numberOfBackupsToRetain.hashCode());
+ result = (result * PRIME) + (this.backupType == null ? 43 : this.backupType.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateNodeReplaceConfigurationDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateNodeReplaceConfigurationDetails.java
new file mode 100644
index 00000000000..33c33c6a8fa
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateNodeReplaceConfigurationDetails.java
@@ -0,0 +1,305 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.model;
+
+/**
+ * The information about the NodeReplaceConfiguration
+ * 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: 20190531")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = CreateNodeReplaceConfigurationDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class CreateNodeReplaceConfigurationDetails
+ extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({
+ "levelTypeDetails",
+ "displayName",
+ "clusterAdminPassword",
+ "metricType",
+ "durationInMinutes"
+ })
+ public CreateNodeReplaceConfigurationDetails(
+ LevelTypeDetails levelTypeDetails,
+ String displayName,
+ String clusterAdminPassword,
+ NodeReplaceConfiguration.MetricType metricType,
+ Integer durationInMinutes) {
+ super();
+ this.levelTypeDetails = levelTypeDetails;
+ this.displayName = displayName;
+ this.clusterAdminPassword = clusterAdminPassword;
+ this.metricType = metricType;
+ this.durationInMinutes = durationInMinutes;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+
+ @com.fasterxml.jackson.annotation.JsonProperty("levelTypeDetails")
+ private LevelTypeDetails levelTypeDetails;
+
+ public Builder levelTypeDetails(LevelTypeDetails levelTypeDetails) {
+ this.levelTypeDetails = levelTypeDetails;
+ this.__explicitlySet__.add("levelTypeDetails");
+ return this;
+ }
+ /**
+ * A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name
+ * does not have to be unique, and it may be changed. Avoid entering confidential
+ * information.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private String displayName;
+
+ /**
+ * A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name
+ * does not have to be unique, and it may be changed. Avoid entering confidential
+ * information.
+ *
+ * @param displayName the value to set
+ * @return this builder
+ */
+ public Builder displayName(String displayName) {
+ this.displayName = displayName;
+ this.__explicitlySet__.add("displayName");
+ return this;
+ }
+ /** Base-64 encoded password for the cluster admin user. */
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ private String clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster admin user.
+ *
+ * @param clusterAdminPassword the value to set
+ * @return this builder
+ */
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword = clusterAdminPassword;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+ /** Type of compute instance health metric to use for node replacement */
+ @com.fasterxml.jackson.annotation.JsonProperty("metricType")
+ private NodeReplaceConfiguration.MetricType metricType;
+
+ /**
+ * Type of compute instance health metric to use for node replacement
+ *
+ * @param metricType the value to set
+ * @return this builder
+ */
+ public Builder metricType(NodeReplaceConfiguration.MetricType metricType) {
+ this.metricType = metricType;
+ this.__explicitlySet__.add("metricType");
+ return this;
+ }
+ /**
+ * This value is the minimum period of time to wait before triggering node replacement. The
+ * value is in minutes.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("durationInMinutes")
+ private Integer durationInMinutes;
+
+ /**
+ * This value is the minimum period of time to wait before triggering node replacement. The
+ * value is in minutes.
+ *
+ * @param durationInMinutes the value to set
+ * @return this builder
+ */
+ public Builder durationInMinutes(Integer durationInMinutes) {
+ this.durationInMinutes = durationInMinutes;
+ this.__explicitlySet__.add("durationInMinutes");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public CreateNodeReplaceConfigurationDetails build() {
+ CreateNodeReplaceConfigurationDetails model =
+ new CreateNodeReplaceConfigurationDetails(
+ this.levelTypeDetails,
+ this.displayName,
+ this.clusterAdminPassword,
+ this.metricType,
+ this.durationInMinutes);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(CreateNodeReplaceConfigurationDetails model) {
+ if (model.wasPropertyExplicitlySet("levelTypeDetails")) {
+ this.levelTypeDetails(model.getLevelTypeDetails());
+ }
+ if (model.wasPropertyExplicitlySet("displayName")) {
+ this.displayName(model.getDisplayName());
+ }
+ if (model.wasPropertyExplicitlySet("clusterAdminPassword")) {
+ this.clusterAdminPassword(model.getClusterAdminPassword());
+ }
+ if (model.wasPropertyExplicitlySet("metricType")) {
+ this.metricType(model.getMetricType());
+ }
+ if (model.wasPropertyExplicitlySet("durationInMinutes")) {
+ this.durationInMinutes(model.getDurationInMinutes());
+ }
+ 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("levelTypeDetails")
+ private final LevelTypeDetails levelTypeDetails;
+
+ public LevelTypeDetails getLevelTypeDetails() {
+ return levelTypeDetails;
+ }
+
+ /**
+ * A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name
+ * does not have to be unique, and it may be changed. Avoid entering confidential information.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private final String displayName;
+
+ /**
+ * A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name
+ * does not have to be unique, and it may be changed. Avoid entering confidential information.
+ *
+ * @return the value
+ */
+ public String getDisplayName() {
+ return displayName;
+ }
+
+ /** Base-64 encoded password for the cluster admin user. */
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ private final String clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster admin user.
+ *
+ * @return the value
+ */
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword;
+ }
+
+ /** Type of compute instance health metric to use for node replacement */
+ @com.fasterxml.jackson.annotation.JsonProperty("metricType")
+ private final NodeReplaceConfiguration.MetricType metricType;
+
+ /**
+ * Type of compute instance health metric to use for node replacement
+ *
+ * @return the value
+ */
+ public NodeReplaceConfiguration.MetricType getMetricType() {
+ return metricType;
+ }
+
+ /**
+ * This value is the minimum period of time to wait before triggering node replacement. The
+ * value is in minutes.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("durationInMinutes")
+ private final Integer durationInMinutes;
+
+ /**
+ * This value is the minimum period of time to wait before triggering node replacement. The
+ * value is in minutes.
+ *
+ * @return the value
+ */
+ public Integer getDurationInMinutes() {
+ return durationInMinutes;
+ }
+
+ @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("CreateNodeReplaceConfigurationDetails(");
+ sb.append("super=").append(super.toString());
+ sb.append("levelTypeDetails=").append(String.valueOf(this.levelTypeDetails));
+ sb.append(", displayName=").append(String.valueOf(this.displayName));
+ sb.append(", clusterAdminPassword=").append("");
+ sb.append(", metricType=").append(String.valueOf(this.metricType));
+ sb.append(", durationInMinutes=").append(String.valueOf(this.durationInMinutes));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof CreateNodeReplaceConfigurationDetails)) {
+ return false;
+ }
+
+ CreateNodeReplaceConfigurationDetails other = (CreateNodeReplaceConfigurationDetails) o;
+ return java.util.Objects.equals(this.levelTypeDetails, other.levelTypeDetails)
+ && java.util.Objects.equals(this.displayName, other.displayName)
+ && java.util.Objects.equals(this.clusterAdminPassword, other.clusterAdminPassword)
+ && java.util.Objects.equals(this.metricType, other.metricType)
+ && java.util.Objects.equals(this.durationInMinutes, other.durationInMinutes)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result =
+ (result * PRIME)
+ + (this.levelTypeDetails == null ? 43 : this.levelTypeDetails.hashCode());
+ result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode());
+ result =
+ (result * PRIME)
+ + (this.clusterAdminPassword == null
+ ? 43
+ : this.clusterAdminPassword.hashCode());
+ result = (result * PRIME) + (this.metricType == null ? 43 : this.metricType.hashCode());
+ result =
+ (result * PRIME)
+ + (this.durationInMinutes == null ? 43 : this.durationInMinutes.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/LevelTypeDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/LevelTypeDetails.java
new file mode 100644
index 00000000000..064a8020a53
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/LevelTypeDetails.java
@@ -0,0 +1,131 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.model;
+
+/**
+ * Details of the type of level used to trigger the creation of a new node backup configuration or
+ * node replacement 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: 20190531")
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "levelType",
+ defaultImpl = LevelTypeDetails.class)
+@com.fasterxml.jackson.annotation.JsonSubTypes({
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = NodeTypeLevelDetails.class,
+ name = "NODE_TYPE_LEVEL"),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = NodeLevelDetails.class,
+ name = "NODE_LEVEL")
+})
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public class LevelTypeDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({})
+ protected LevelTypeDetails() {
+ super();
+ }
+
+ @Override
+ public String toString() {
+ return this.toString(true);
+ }
+
+ /**
+ * Return a string representation of the object.
+ *
+ * @param includeByteArrayContents true to include the full contents of byte arrays
+ * @return string representation
+ */
+ public String toString(boolean includeByteArrayContents) {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("LevelTypeDetails(");
+ 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 LevelTypeDetails)) {
+ return false;
+ }
+
+ LevelTypeDetails other = (LevelTypeDetails) o;
+ return super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+
+ /**
+ * Type of level used to trigger the creation of a new node backup configuration or node
+ * replacement configuration.
+ */
+ public enum LevelType implements com.oracle.bmc.http.internal.BmcEnum {
+ NodeLevel("NODE_LEVEL"),
+ NodeTypeLevel("NODE_TYPE_LEVEL"),
+
+ /**
+ * 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(LevelType.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (LevelType v : LevelType.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ LevelType(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static LevelType create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'LevelType', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
+ }
+ };
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/Node.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/Node.java
index a807a86ac7d..3eb339523bb 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/Node.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/Node.java
@@ -43,7 +43,9 @@ public final class Node extends com.oracle.bmc.http.client.internal.ExplicitlySe
"localDisksTotalSizeInGBs",
"timeMaintenanceRebootDue",
"osVersion",
- "isRebootRequired"
+ "isRebootRequired",
+ "timeReplaced",
+ "nodeBackupId"
})
public Node(
String instanceId,
@@ -67,7 +69,9 @@ public Node(
Double localDisksTotalSizeInGBs,
java.util.Date timeMaintenanceRebootDue,
String osVersion,
- Boolean isRebootRequired) {
+ Boolean isRebootRequired,
+ java.util.Date timeReplaced,
+ String nodeBackupId) {
super();
this.instanceId = instanceId;
this.displayName = displayName;
@@ -91,6 +95,8 @@ public Node(
this.timeMaintenanceRebootDue = timeMaintenanceRebootDue;
this.osVersion = osVersion;
this.isRebootRequired = isRebootRequired;
+ this.timeReplaced = timeReplaced;
+ this.nodeBackupId = nodeBackupId;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -440,6 +446,36 @@ public Builder isRebootRequired(Boolean isRebootRequired) {
this.__explicitlySet__.add("isRebootRequired");
return this;
}
+ /** The date and time the instance was replaced by a new vm with a node backup. */
+ @com.fasterxml.jackson.annotation.JsonProperty("timeReplaced")
+ private java.util.Date timeReplaced;
+
+ /**
+ * The date and time the instance was replaced by a new vm with a node backup.
+ *
+ * @param timeReplaced the value to set
+ * @return this builder
+ */
+ public Builder timeReplaced(java.util.Date timeReplaced) {
+ this.timeReplaced = timeReplaced;
+ this.__explicitlySet__.add("timeReplaced");
+ return this;
+ }
+ /** The node back id that was used for replacing the node. */
+ @com.fasterxml.jackson.annotation.JsonProperty("nodeBackupId")
+ private String nodeBackupId;
+
+ /**
+ * The node back id that was used for replacing the node.
+ *
+ * @param nodeBackupId the value to set
+ * @return this builder
+ */
+ public Builder nodeBackupId(String nodeBackupId) {
+ this.nodeBackupId = nodeBackupId;
+ this.__explicitlySet__.add("nodeBackupId");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -468,7 +504,9 @@ public Node build() {
this.localDisksTotalSizeInGBs,
this.timeMaintenanceRebootDue,
this.osVersion,
- this.isRebootRequired);
+ this.isRebootRequired,
+ this.timeReplaced,
+ this.nodeBackupId);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -543,6 +581,12 @@ public Builder copy(Node model) {
if (model.wasPropertyExplicitlySet("isRebootRequired")) {
this.isRebootRequired(model.getIsRebootRequired());
}
+ if (model.wasPropertyExplicitlySet("timeReplaced")) {
+ this.timeReplaced(model.getTimeReplaced());
+ }
+ if (model.wasPropertyExplicitlySet("nodeBackupId")) {
+ this.nodeBackupId(model.getNodeBackupId());
+ }
return this;
}
}
@@ -960,6 +1004,32 @@ public Boolean getIsRebootRequired() {
return isRebootRequired;
}
+ /** The date and time the instance was replaced by a new vm with a node backup. */
+ @com.fasterxml.jackson.annotation.JsonProperty("timeReplaced")
+ private final java.util.Date timeReplaced;
+
+ /**
+ * The date and time the instance was replaced by a new vm with a node backup.
+ *
+ * @return the value
+ */
+ public java.util.Date getTimeReplaced() {
+ return timeReplaced;
+ }
+
+ /** The node back id that was used for replacing the node. */
+ @com.fasterxml.jackson.annotation.JsonProperty("nodeBackupId")
+ private final String nodeBackupId;
+
+ /**
+ * The node back id that was used for replacing the node.
+ *
+ * @return the value
+ */
+ public String getNodeBackupId() {
+ return nodeBackupId;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -999,6 +1069,8 @@ public String toString(boolean includeByteArrayContents) {
.append(String.valueOf(this.timeMaintenanceRebootDue));
sb.append(", osVersion=").append(String.valueOf(this.osVersion));
sb.append(", isRebootRequired=").append(String.valueOf(this.isRebootRequired));
+ sb.append(", timeReplaced=").append(String.valueOf(this.timeReplaced));
+ sb.append(", nodeBackupId=").append(String.valueOf(this.nodeBackupId));
sb.append(")");
return sb.toString();
}
@@ -1037,6 +1109,8 @@ public boolean equals(Object o) {
this.timeMaintenanceRebootDue, other.timeMaintenanceRebootDue)
&& java.util.Objects.equals(this.osVersion, other.osVersion)
&& java.util.Objects.equals(this.isRebootRequired, other.isRebootRequired)
+ && java.util.Objects.equals(this.timeReplaced, other.timeReplaced)
+ && java.util.Objects.equals(this.nodeBackupId, other.nodeBackupId)
&& super.equals(other);
}
@@ -1088,6 +1162,8 @@ public int hashCode() {
result =
(result * PRIME)
+ (this.isRebootRequired == null ? 43 : this.isRebootRequired.hashCode());
+ result = (result * PRIME) + (this.timeReplaced == null ? 43 : this.timeReplaced.hashCode());
+ result = (result * PRIME) + (this.nodeBackupId == null ? 43 : this.nodeBackupId.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/NodeBackup.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/NodeBackup.java
new file mode 100644
index 00000000000..13ed2f0b8ef
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/NodeBackup.java
@@ -0,0 +1,619 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.model;
+
+/**
+ * The information about the Node's backup.
+ * 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: 20190531")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = NodeBackup.Builder.class)
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class NodeBackup extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({
+ "id",
+ "displayName",
+ "nodeInstanceId",
+ "nodeHostName",
+ "backupTriggerType",
+ "nodeBackupConfigId",
+ "backupType",
+ "lifecycleState",
+ "timeCreated"
+ })
+ public NodeBackup(
+ String id,
+ String displayName,
+ String nodeInstanceId,
+ String nodeHostName,
+ BackupTriggerType backupTriggerType,
+ String nodeBackupConfigId,
+ BackupType backupType,
+ LifecycleState lifecycleState,
+ java.util.Date timeCreated) {
+ super();
+ this.id = id;
+ this.displayName = displayName;
+ this.nodeInstanceId = nodeInstanceId;
+ this.nodeHostName = nodeHostName;
+ this.backupTriggerType = backupTriggerType;
+ this.nodeBackupConfigId = nodeBackupConfigId;
+ this.backupType = backupType;
+ this.lifecycleState = lifecycleState;
+ this.timeCreated = timeCreated;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /** The id of the node backup. */
+ @com.fasterxml.jackson.annotation.JsonProperty("id")
+ private String id;
+
+ /**
+ * The id of the node backup.
+ *
+ * @param id the value to set
+ * @return this builder
+ */
+ public Builder id(String id) {
+ this.id = id;
+ this.__explicitlySet__.add("id");
+ return this;
+ }
+ /** BDS generated name for the backup. Format is nodeHostName_timeCreated */
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private String displayName;
+
+ /**
+ * BDS generated name for the backup. Format is nodeHostName_timeCreated
+ *
+ * @param displayName the value to set
+ * @return this builder
+ */
+ public Builder displayName(String displayName) {
+ this.displayName = displayName;
+ this.__explicitlySet__.add("displayName");
+ return this;
+ }
+ /**
+ * The instance OCID of the node, which is the resource from which the node backup was
+ * acquired.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("nodeInstanceId")
+ private String nodeInstanceId;
+
+ /**
+ * The instance OCID of the node, which is the resource from which the node backup was
+ * acquired.
+ *
+ * @param nodeInstanceId the value to set
+ * @return this builder
+ */
+ public Builder nodeInstanceId(String nodeInstanceId) {
+ this.nodeInstanceId = nodeInstanceId;
+ this.__explicitlySet__.add("nodeInstanceId");
+ return this;
+ }
+ /** Host name of the node to which this backup belongs. */
+ @com.fasterxml.jackson.annotation.JsonProperty("nodeHostName")
+ private String nodeHostName;
+
+ /**
+ * Host name of the node to which this backup belongs.
+ *
+ * @param nodeHostName the value to set
+ * @return this builder
+ */
+ public Builder nodeHostName(String nodeHostName) {
+ this.nodeHostName = nodeHostName;
+ this.__explicitlySet__.add("nodeHostName");
+ return this;
+ }
+ /** type based on how backup action was initiated. */
+ @com.fasterxml.jackson.annotation.JsonProperty("backupTriggerType")
+ private BackupTriggerType backupTriggerType;
+
+ /**
+ * type based on how backup action was initiated.
+ *
+ * @param backupTriggerType the value to set
+ * @return this builder
+ */
+ public Builder backupTriggerType(BackupTriggerType backupTriggerType) {
+ this.backupTriggerType = backupTriggerType;
+ this.__explicitlySet__.add("backupTriggerType");
+ return this;
+ }
+ /**
+ * The ID of the nodeBackupConfiguration if the NodeBackup is automatically created by
+ * applying the configuration.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("nodeBackupConfigId")
+ private String nodeBackupConfigId;
+
+ /**
+ * The ID of the nodeBackupConfiguration if the NodeBackup is automatically created by
+ * applying the configuration.
+ *
+ * @param nodeBackupConfigId the value to set
+ * @return this builder
+ */
+ public Builder nodeBackupConfigId(String nodeBackupConfigId) {
+ this.nodeBackupConfigId = nodeBackupConfigId;
+ this.__explicitlySet__.add("nodeBackupConfigId");
+ return this;
+ }
+ /**
+ * Incremental backup type includes only the changes since the last backup. Full backup type
+ * includes all changes since the volume was created.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("backupType")
+ private BackupType backupType;
+
+ /**
+ * Incremental backup type includes only the changes since the last backup. Full backup type
+ * includes all changes since the volume was created.
+ *
+ * @param backupType the value to set
+ * @return this builder
+ */
+ public Builder backupType(BackupType backupType) {
+ this.backupType = backupType;
+ this.__explicitlySet__.add("backupType");
+ return this;
+ }
+ /** The state of the NodeBackup. */
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState")
+ private LifecycleState lifecycleState;
+
+ /**
+ * The state of the NodeBackup.
+ *
+ * @param lifecycleState the value to set
+ * @return this builder
+ */
+ public Builder lifecycleState(LifecycleState lifecycleState) {
+ this.lifecycleState = lifecycleState;
+ this.__explicitlySet__.add("lifecycleState");
+ return this;
+ }
+ /** The time the cluster was created, shown as an RFC 3339 formatted datetime string. */
+ @com.fasterxml.jackson.annotation.JsonProperty("timeCreated")
+ private java.util.Date timeCreated;
+
+ /**
+ * The time the cluster was created, shown as an RFC 3339 formatted datetime string.
+ *
+ * @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;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public NodeBackup build() {
+ NodeBackup model =
+ new NodeBackup(
+ this.id,
+ this.displayName,
+ this.nodeInstanceId,
+ this.nodeHostName,
+ this.backupTriggerType,
+ this.nodeBackupConfigId,
+ this.backupType,
+ this.lifecycleState,
+ this.timeCreated);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(NodeBackup model) {
+ if (model.wasPropertyExplicitlySet("id")) {
+ this.id(model.getId());
+ }
+ if (model.wasPropertyExplicitlySet("displayName")) {
+ this.displayName(model.getDisplayName());
+ }
+ if (model.wasPropertyExplicitlySet("nodeInstanceId")) {
+ this.nodeInstanceId(model.getNodeInstanceId());
+ }
+ if (model.wasPropertyExplicitlySet("nodeHostName")) {
+ this.nodeHostName(model.getNodeHostName());
+ }
+ if (model.wasPropertyExplicitlySet("backupTriggerType")) {
+ this.backupTriggerType(model.getBackupTriggerType());
+ }
+ if (model.wasPropertyExplicitlySet("nodeBackupConfigId")) {
+ this.nodeBackupConfigId(model.getNodeBackupConfigId());
+ }
+ if (model.wasPropertyExplicitlySet("backupType")) {
+ this.backupType(model.getBackupType());
+ }
+ if (model.wasPropertyExplicitlySet("lifecycleState")) {
+ this.lifecycleState(model.getLifecycleState());
+ }
+ if (model.wasPropertyExplicitlySet("timeCreated")) {
+ this.timeCreated(model.getTimeCreated());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ /** The id of the node backup. */
+ @com.fasterxml.jackson.annotation.JsonProperty("id")
+ private final String id;
+
+ /**
+ * The id of the node backup.
+ *
+ * @return the value
+ */
+ public String getId() {
+ return id;
+ }
+
+ /** BDS generated name for the backup. Format is nodeHostName_timeCreated */
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private final String displayName;
+
+ /**
+ * BDS generated name for the backup. Format is nodeHostName_timeCreated
+ *
+ * @return the value
+ */
+ public String getDisplayName() {
+ return displayName;
+ }
+
+ /**
+ * The instance OCID of the node, which is the resource from which the node backup was acquired.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("nodeInstanceId")
+ private final String nodeInstanceId;
+
+ /**
+ * The instance OCID of the node, which is the resource from which the node backup was acquired.
+ *
+ * @return the value
+ */
+ public String getNodeInstanceId() {
+ return nodeInstanceId;
+ }
+
+ /** Host name of the node to which this backup belongs. */
+ @com.fasterxml.jackson.annotation.JsonProperty("nodeHostName")
+ private final String nodeHostName;
+
+ /**
+ * Host name of the node to which this backup belongs.
+ *
+ * @return the value
+ */
+ public String getNodeHostName() {
+ return nodeHostName;
+ }
+
+ /** type based on how backup action was initiated. */
+ public enum BackupTriggerType implements com.oracle.bmc.http.internal.BmcEnum {
+ Manual("MANUAL"),
+ Scheduled("SCHEDULED"),
+
+ /**
+ * 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(BackupTriggerType.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (BackupTriggerType v : BackupTriggerType.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ BackupTriggerType(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static BackupTriggerType create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'BackupTriggerType', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
+ }
+ };
+ /** type based on how backup action was initiated. */
+ @com.fasterxml.jackson.annotation.JsonProperty("backupTriggerType")
+ private final BackupTriggerType backupTriggerType;
+
+ /**
+ * type based on how backup action was initiated.
+ *
+ * @return the value
+ */
+ public BackupTriggerType getBackupTriggerType() {
+ return backupTriggerType;
+ }
+
+ /**
+ * The ID of the nodeBackupConfiguration if the NodeBackup is automatically created by applying
+ * the configuration.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("nodeBackupConfigId")
+ private final String nodeBackupConfigId;
+
+ /**
+ * The ID of the nodeBackupConfiguration if the NodeBackup is automatically created by applying
+ * the configuration.
+ *
+ * @return the value
+ */
+ public String getNodeBackupConfigId() {
+ return nodeBackupConfigId;
+ }
+
+ /**
+ * Incremental backup type includes only the changes since the last backup. Full backup type
+ * includes all changes since the volume was created.
+ */
+ public enum BackupType implements com.oracle.bmc.http.internal.BmcEnum {
+ Full("FULL"),
+ Incremental("INCREMENTAL"),
+
+ /**
+ * 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(BackupType.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (BackupType v : BackupType.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ BackupType(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static BackupType create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'BackupType', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
+ }
+ };
+ /**
+ * Incremental backup type includes only the changes since the last backup. Full backup type
+ * includes all changes since the volume was created.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("backupType")
+ private final BackupType backupType;
+
+ /**
+ * Incremental backup type includes only the changes since the last backup. Full backup type
+ * includes all changes since the volume was created.
+ *
+ * @return the value
+ */
+ public BackupType getBackupType() {
+ return backupType;
+ }
+
+ /** The state of the NodeBackup. */
+ public enum LifecycleState implements com.oracle.bmc.http.internal.BmcEnum {
+ Creating("CREATING"),
+ Active("ACTIVE"),
+ Updating("UPDATING"),
+ Deleting("DELETING"),
+ Deleted("DELETED"),
+ Failed("FAILED"),
+ Partial("PARTIAL"),
+
+ /**
+ * 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 state of the NodeBackup. */
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState")
+ private final LifecycleState lifecycleState;
+
+ /**
+ * The state of the NodeBackup.
+ *
+ * @return the value
+ */
+ public LifecycleState getLifecycleState() {
+ return lifecycleState;
+ }
+
+ /** The time the cluster was created, shown as an RFC 3339 formatted datetime string. */
+ @com.fasterxml.jackson.annotation.JsonProperty("timeCreated")
+ private final java.util.Date timeCreated;
+
+ /**
+ * The time the cluster was created, shown as an RFC 3339 formatted datetime string.
+ *
+ * @return the value
+ */
+ public java.util.Date getTimeCreated() {
+ return timeCreated;
+ }
+
+ @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("NodeBackup(");
+ sb.append("super=").append(super.toString());
+ sb.append("id=").append(String.valueOf(this.id));
+ sb.append(", displayName=").append(String.valueOf(this.displayName));
+ sb.append(", nodeInstanceId=").append(String.valueOf(this.nodeInstanceId));
+ sb.append(", nodeHostName=").append(String.valueOf(this.nodeHostName));
+ sb.append(", backupTriggerType=").append(String.valueOf(this.backupTriggerType));
+ sb.append(", nodeBackupConfigId=").append(String.valueOf(this.nodeBackupConfigId));
+ sb.append(", backupType=").append(String.valueOf(this.backupType));
+ sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState));
+ sb.append(", timeCreated=").append(String.valueOf(this.timeCreated));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof NodeBackup)) {
+ return false;
+ }
+
+ NodeBackup other = (NodeBackup) o;
+ return java.util.Objects.equals(this.id, other.id)
+ && java.util.Objects.equals(this.displayName, other.displayName)
+ && java.util.Objects.equals(this.nodeInstanceId, other.nodeInstanceId)
+ && java.util.Objects.equals(this.nodeHostName, other.nodeHostName)
+ && java.util.Objects.equals(this.backupTriggerType, other.backupTriggerType)
+ && java.util.Objects.equals(this.nodeBackupConfigId, other.nodeBackupConfigId)
+ && java.util.Objects.equals(this.backupType, other.backupType)
+ && java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
+ && java.util.Objects.equals(this.timeCreated, other.timeCreated)
+ && 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)
+ + (this.nodeInstanceId == null ? 43 : this.nodeInstanceId.hashCode());
+ result = (result * PRIME) + (this.nodeHostName == null ? 43 : this.nodeHostName.hashCode());
+ result =
+ (result * PRIME)
+ + (this.backupTriggerType == null ? 43 : this.backupTriggerType.hashCode());
+ result =
+ (result * PRIME)
+ + (this.nodeBackupConfigId == null
+ ? 43
+ : this.nodeBackupConfigId.hashCode());
+ result = (result * PRIME) + (this.backupType == null ? 43 : this.backupType.hashCode());
+ result =
+ (result * PRIME)
+ + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode());
+ result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/NodeBackupConfiguration.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/NodeBackupConfiguration.java
new file mode 100644
index 00000000000..ca657f15d40
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/NodeBackupConfiguration.java
@@ -0,0 +1,619 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.model;
+
+/**
+ * The information about the NodeBackupConfiguration.
+ * 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: 20190531")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = NodeBackupConfiguration.Builder.class)
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class NodeBackupConfiguration
+ extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({
+ "id",
+ "bdsInstanceId",
+ "displayName",
+ "levelTypeDetails",
+ "lifecycleState",
+ "timeCreated",
+ "timeUpdated",
+ "timezone",
+ "schedule",
+ "numberOfBackupsToRetain",
+ "backupType"
+ })
+ public NodeBackupConfiguration(
+ String id,
+ String bdsInstanceId,
+ String displayName,
+ LevelTypeDetails levelTypeDetails,
+ LifecycleState lifecycleState,
+ java.util.Date timeCreated,
+ java.util.Date timeUpdated,
+ String timezone,
+ String schedule,
+ Integer numberOfBackupsToRetain,
+ NodeBackup.BackupType backupType) {
+ super();
+ this.id = id;
+ this.bdsInstanceId = bdsInstanceId;
+ this.displayName = displayName;
+ this.levelTypeDetails = levelTypeDetails;
+ this.lifecycleState = lifecycleState;
+ this.timeCreated = timeCreated;
+ this.timeUpdated = timeUpdated;
+ this.timezone = timezone;
+ this.schedule = schedule;
+ this.numberOfBackupsToRetain = numberOfBackupsToRetain;
+ this.backupType = backupType;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /** The unique identifier for the NodeBackupConfiguration. */
+ @com.fasterxml.jackson.annotation.JsonProperty("id")
+ private String id;
+
+ /**
+ * The unique identifier for the NodeBackupConfiguration.
+ *
+ * @param id the value to set
+ * @return this builder
+ */
+ public Builder id(String id) {
+ this.id = id;
+ this.__explicitlySet__.add("id");
+ return this;
+ }
+ /** The OCID of the bdsInstance which is the parent resource id. */
+ @com.fasterxml.jackson.annotation.JsonProperty("bdsInstanceId")
+ private String bdsInstanceId;
+
+ /**
+ * The OCID of the bdsInstance which is the parent resource id.
+ *
+ * @param bdsInstanceId the value to set
+ * @return this builder
+ */
+ public Builder bdsInstanceId(String bdsInstanceId) {
+ this.bdsInstanceId = bdsInstanceId;
+ this.__explicitlySet__.add("bdsInstanceId");
+ return this;
+ }
+ /**
+ * A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name
+ * does not have to be unique, and it may be changed. Avoid entering confidential
+ * information.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private String displayName;
+
+ /**
+ * A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name
+ * does not have to be unique, and it may be changed. Avoid entering confidential
+ * information.
+ *
+ * @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.JsonProperty("levelTypeDetails")
+ private LevelTypeDetails levelTypeDetails;
+
+ public Builder levelTypeDetails(LevelTypeDetails levelTypeDetails) {
+ this.levelTypeDetails = levelTypeDetails;
+ this.__explicitlySet__.add("levelTypeDetails");
+ return this;
+ }
+ /** The state of the NodeBackupConfiguration. */
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState")
+ private LifecycleState lifecycleState;
+
+ /**
+ * The state of the NodeBackupConfiguration.
+ *
+ * @param lifecycleState the value to set
+ * @return this builder
+ */
+ public Builder lifecycleState(LifecycleState lifecycleState) {
+ this.lifecycleState = lifecycleState;
+ this.__explicitlySet__.add("lifecycleState");
+ return this;
+ }
+ /**
+ * The time the NodeBackupConfiguration was created, shown as an RFC 3339 formatted datetime
+ * string.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("timeCreated")
+ private java.util.Date timeCreated;
+
+ /**
+ * The time the NodeBackupConfiguration was created, shown as an RFC 3339 formatted datetime
+ * string.
+ *
+ * @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 time the NodeBackupConfiguration was updated, shown as an RFC 3339 formatted datetime
+ * string.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("timeUpdated")
+ private java.util.Date timeUpdated;
+
+ /**
+ * The time the NodeBackupConfiguration was updated, shown as an RFC 3339 formatted datetime
+ * string.
+ *
+ * @param timeUpdated the value to set
+ * @return this builder
+ */
+ public Builder timeUpdated(java.util.Date timeUpdated) {
+ this.timeUpdated = timeUpdated;
+ this.__explicitlySet__.add("timeUpdated");
+ return this;
+ }
+ /** The time zone of the execution schedule, in IANA time zone database name format */
+ @com.fasterxml.jackson.annotation.JsonProperty("timezone")
+ private String timezone;
+
+ /**
+ * The time zone of the execution schedule, in IANA time zone database name format
+ *
+ * @param timezone the value to set
+ * @return this builder
+ */
+ public Builder timezone(String timezone) {
+ this.timezone = timezone;
+ this.__explicitlySet__.add("timezone");
+ return this;
+ }
+ /**
+ * Day/time recurrence (specified following RFC 5545) at which to trigger the backup
+ * process. Currently only DAILY, WEEKLY and MONTHLY frequency is supported. Days of the
+ * week are specified using BYDAY field. Time of the day is specified using BYHOUR. Other
+ * fields are not supported.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("schedule")
+ private String schedule;
+
+ /**
+ * Day/time recurrence (specified following RFC 5545) at which to trigger the backup
+ * process. Currently only DAILY, WEEKLY and MONTHLY frequency is supported. Days of the
+ * week are specified using BYDAY field. Time of the day is specified using BYHOUR. Other
+ * fields are not supported.
+ *
+ * @param schedule the value to set
+ * @return this builder
+ */
+ public Builder schedule(String schedule) {
+ this.schedule = schedule;
+ this.__explicitlySet__.add("schedule");
+ return this;
+ }
+ /** Number of backup copies to retain. */
+ @com.fasterxml.jackson.annotation.JsonProperty("numberOfBackupsToRetain")
+ private Integer numberOfBackupsToRetain;
+
+ /**
+ * Number of backup copies to retain.
+ *
+ * @param numberOfBackupsToRetain the value to set
+ * @return this builder
+ */
+ public Builder numberOfBackupsToRetain(Integer numberOfBackupsToRetain) {
+ this.numberOfBackupsToRetain = numberOfBackupsToRetain;
+ this.__explicitlySet__.add("numberOfBackupsToRetain");
+ return this;
+ }
+ /**
+ * Incremental backup type includes only the changes since the last backup. Full backup type
+ * includes all changes since the volume was created.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("backupType")
+ private NodeBackup.BackupType backupType;
+
+ /**
+ * Incremental backup type includes only the changes since the last backup. Full backup type
+ * includes all changes since the volume was created.
+ *
+ * @param backupType the value to set
+ * @return this builder
+ */
+ public Builder backupType(NodeBackup.BackupType backupType) {
+ this.backupType = backupType;
+ this.__explicitlySet__.add("backupType");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public NodeBackupConfiguration build() {
+ NodeBackupConfiguration model =
+ new NodeBackupConfiguration(
+ this.id,
+ this.bdsInstanceId,
+ this.displayName,
+ this.levelTypeDetails,
+ this.lifecycleState,
+ this.timeCreated,
+ this.timeUpdated,
+ this.timezone,
+ this.schedule,
+ this.numberOfBackupsToRetain,
+ this.backupType);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(NodeBackupConfiguration model) {
+ if (model.wasPropertyExplicitlySet("id")) {
+ this.id(model.getId());
+ }
+ if (model.wasPropertyExplicitlySet("bdsInstanceId")) {
+ this.bdsInstanceId(model.getBdsInstanceId());
+ }
+ if (model.wasPropertyExplicitlySet("displayName")) {
+ this.displayName(model.getDisplayName());
+ }
+ if (model.wasPropertyExplicitlySet("levelTypeDetails")) {
+ this.levelTypeDetails(model.getLevelTypeDetails());
+ }
+ if (model.wasPropertyExplicitlySet("lifecycleState")) {
+ this.lifecycleState(model.getLifecycleState());
+ }
+ if (model.wasPropertyExplicitlySet("timeCreated")) {
+ this.timeCreated(model.getTimeCreated());
+ }
+ if (model.wasPropertyExplicitlySet("timeUpdated")) {
+ this.timeUpdated(model.getTimeUpdated());
+ }
+ if (model.wasPropertyExplicitlySet("timezone")) {
+ this.timezone(model.getTimezone());
+ }
+ if (model.wasPropertyExplicitlySet("schedule")) {
+ this.schedule(model.getSchedule());
+ }
+ if (model.wasPropertyExplicitlySet("numberOfBackupsToRetain")) {
+ this.numberOfBackupsToRetain(model.getNumberOfBackupsToRetain());
+ }
+ if (model.wasPropertyExplicitlySet("backupType")) {
+ this.backupType(model.getBackupType());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ /** The unique identifier for the NodeBackupConfiguration. */
+ @com.fasterxml.jackson.annotation.JsonProperty("id")
+ private final String id;
+
+ /**
+ * The unique identifier for the NodeBackupConfiguration.
+ *
+ * @return the value
+ */
+ public String getId() {
+ return id;
+ }
+
+ /** The OCID of the bdsInstance which is the parent resource id. */
+ @com.fasterxml.jackson.annotation.JsonProperty("bdsInstanceId")
+ private final String bdsInstanceId;
+
+ /**
+ * The OCID of the bdsInstance which is the parent resource id.
+ *
+ * @return the value
+ */
+ public String getBdsInstanceId() {
+ return bdsInstanceId;
+ }
+
+ /**
+ * A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name
+ * does not have to be unique, and it may be changed. Avoid entering confidential information.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private final String displayName;
+
+ /**
+ * A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name
+ * does not have to be unique, and it may be changed. Avoid entering confidential information.
+ *
+ * @return the value
+ */
+ public String getDisplayName() {
+ return displayName;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("levelTypeDetails")
+ private final LevelTypeDetails levelTypeDetails;
+
+ public LevelTypeDetails getLevelTypeDetails() {
+ return levelTypeDetails;
+ }
+
+ /** The state of the NodeBackupConfiguration. */
+ public enum LifecycleState implements com.oracle.bmc.http.internal.BmcEnum {
+ Creating("CREATING"),
+ Active("ACTIVE"),
+ Updating("UPDATING"),
+ Deleting("DELETING"),
+ Deleted("DELETED"),
+ Failed("FAILED"),
+
+ /**
+ * This value is used if a service returns a value for this enum that is not recognized by
+ * this version of the SDK.
+ */
+ UnknownEnumValue(null);
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(LifecycleState.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ 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 state of the NodeBackupConfiguration. */
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState")
+ private final LifecycleState lifecycleState;
+
+ /**
+ * The state of the NodeBackupConfiguration.
+ *
+ * @return the value
+ */
+ public LifecycleState getLifecycleState() {
+ return lifecycleState;
+ }
+
+ /**
+ * The time the NodeBackupConfiguration was created, shown as an RFC 3339 formatted datetime
+ * string.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("timeCreated")
+ private final java.util.Date timeCreated;
+
+ /**
+ * The time the NodeBackupConfiguration was created, shown as an RFC 3339 formatted datetime
+ * string.
+ *
+ * @return the value
+ */
+ public java.util.Date getTimeCreated() {
+ return timeCreated;
+ }
+
+ /**
+ * The time the NodeBackupConfiguration was updated, shown as an RFC 3339 formatted datetime
+ * string.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("timeUpdated")
+ private final java.util.Date timeUpdated;
+
+ /**
+ * The time the NodeBackupConfiguration was updated, shown as an RFC 3339 formatted datetime
+ * string.
+ *
+ * @return the value
+ */
+ public java.util.Date getTimeUpdated() {
+ return timeUpdated;
+ }
+
+ /** The time zone of the execution schedule, in IANA time zone database name format */
+ @com.fasterxml.jackson.annotation.JsonProperty("timezone")
+ private final String timezone;
+
+ /**
+ * The time zone of the execution schedule, in IANA time zone database name format
+ *
+ * @return the value
+ */
+ public String getTimezone() {
+ return timezone;
+ }
+
+ /**
+ * Day/time recurrence (specified following RFC 5545) at which to trigger the backup process.
+ * Currently only DAILY, WEEKLY and MONTHLY frequency is supported. Days of the week are
+ * specified using BYDAY field. Time of the day is specified using BYHOUR. Other fields are not
+ * supported.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("schedule")
+ private final String schedule;
+
+ /**
+ * Day/time recurrence (specified following RFC 5545) at which to trigger the backup process.
+ * Currently only DAILY, WEEKLY and MONTHLY frequency is supported. Days of the week are
+ * specified using BYDAY field. Time of the day is specified using BYHOUR. Other fields are not
+ * supported.
+ *
+ * @return the value
+ */
+ public String getSchedule() {
+ return schedule;
+ }
+
+ /** Number of backup copies to retain. */
+ @com.fasterxml.jackson.annotation.JsonProperty("numberOfBackupsToRetain")
+ private final Integer numberOfBackupsToRetain;
+
+ /**
+ * Number of backup copies to retain.
+ *
+ * @return the value
+ */
+ public Integer getNumberOfBackupsToRetain() {
+ return numberOfBackupsToRetain;
+ }
+
+ /**
+ * Incremental backup type includes only the changes since the last backup. Full backup type
+ * includes all changes since the volume was created.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("backupType")
+ private final NodeBackup.BackupType backupType;
+
+ /**
+ * Incremental backup type includes only the changes since the last backup. Full backup type
+ * includes all changes since the volume was created.
+ *
+ * @return the value
+ */
+ public NodeBackup.BackupType getBackupType() {
+ return backupType;
+ }
+
+ @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("NodeBackupConfiguration(");
+ sb.append("super=").append(super.toString());
+ sb.append("id=").append(String.valueOf(this.id));
+ sb.append(", bdsInstanceId=").append(String.valueOf(this.bdsInstanceId));
+ sb.append(", displayName=").append(String.valueOf(this.displayName));
+ sb.append(", levelTypeDetails=").append(String.valueOf(this.levelTypeDetails));
+ sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState));
+ sb.append(", timeCreated=").append(String.valueOf(this.timeCreated));
+ sb.append(", timeUpdated=").append(String.valueOf(this.timeUpdated));
+ sb.append(", timezone=").append(String.valueOf(this.timezone));
+ sb.append(", schedule=").append(String.valueOf(this.schedule));
+ sb.append(", numberOfBackupsToRetain=")
+ .append(String.valueOf(this.numberOfBackupsToRetain));
+ sb.append(", backupType=").append(String.valueOf(this.backupType));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof NodeBackupConfiguration)) {
+ return false;
+ }
+
+ NodeBackupConfiguration other = (NodeBackupConfiguration) o;
+ return java.util.Objects.equals(this.id, other.id)
+ && java.util.Objects.equals(this.bdsInstanceId, other.bdsInstanceId)
+ && java.util.Objects.equals(this.displayName, other.displayName)
+ && java.util.Objects.equals(this.levelTypeDetails, other.levelTypeDetails)
+ && java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
+ && java.util.Objects.equals(this.timeCreated, other.timeCreated)
+ && java.util.Objects.equals(this.timeUpdated, other.timeUpdated)
+ && java.util.Objects.equals(this.timezone, other.timezone)
+ && java.util.Objects.equals(this.schedule, other.schedule)
+ && java.util.Objects.equals(
+ this.numberOfBackupsToRetain, other.numberOfBackupsToRetain)
+ && java.util.Objects.equals(this.backupType, other.backupType)
+ && 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.bdsInstanceId == null ? 43 : this.bdsInstanceId.hashCode());
+ result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode());
+ result =
+ (result * PRIME)
+ + (this.levelTypeDetails == null ? 43 : this.levelTypeDetails.hashCode());
+ result =
+ (result * PRIME)
+ + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode());
+ result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode());
+ result = (result * PRIME) + (this.timeUpdated == null ? 43 : this.timeUpdated.hashCode());
+ result = (result * PRIME) + (this.timezone == null ? 43 : this.timezone.hashCode());
+ result = (result * PRIME) + (this.schedule == null ? 43 : this.schedule.hashCode());
+ result =
+ (result * PRIME)
+ + (this.numberOfBackupsToRetain == null
+ ? 43
+ : this.numberOfBackupsToRetain.hashCode());
+ result = (result * PRIME) + (this.backupType == null ? 43 : this.backupType.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/NodeBackupConfigurationSummary.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/NodeBackupConfigurationSummary.java
new file mode 100644
index 00000000000..0345d9bc7b8
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/NodeBackupConfigurationSummary.java
@@ -0,0 +1,387 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.model;
+
+/**
+ * The information about the NodeBackupConfiguration.
+ * 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: 20190531")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = NodeBackupConfigurationSummary.Builder.class)
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class NodeBackupConfigurationSummary
+ extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({
+ "id",
+ "bdsInstanceId",
+ "displayName",
+ "levelTypeDetails",
+ "lifecycleState",
+ "timeCreated",
+ "timeUpdated"
+ })
+ public NodeBackupConfigurationSummary(
+ String id,
+ String bdsInstanceId,
+ String displayName,
+ LevelTypeDetails levelTypeDetails,
+ NodeBackupConfiguration.LifecycleState lifecycleState,
+ java.util.Date timeCreated,
+ java.util.Date timeUpdated) {
+ super();
+ this.id = id;
+ this.bdsInstanceId = bdsInstanceId;
+ this.displayName = displayName;
+ this.levelTypeDetails = levelTypeDetails;
+ this.lifecycleState = lifecycleState;
+ this.timeCreated = timeCreated;
+ this.timeUpdated = timeUpdated;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /** The id of the NodeBackupConfiguration. */
+ @com.fasterxml.jackson.annotation.JsonProperty("id")
+ private String id;
+
+ /**
+ * The id of the NodeBackupConfiguration.
+ *
+ * @param id the value to set
+ * @return this builder
+ */
+ public Builder id(String id) {
+ this.id = id;
+ this.__explicitlySet__.add("id");
+ return this;
+ }
+ /** The OCID of the bdsInstance which is the parent resource id. */
+ @com.fasterxml.jackson.annotation.JsonProperty("bdsInstanceId")
+ private String bdsInstanceId;
+
+ /**
+ * The OCID of the bdsInstance which is the parent resource id.
+ *
+ * @param bdsInstanceId the value to set
+ * @return this builder
+ */
+ public Builder bdsInstanceId(String bdsInstanceId) {
+ this.bdsInstanceId = bdsInstanceId;
+ this.__explicitlySet__.add("bdsInstanceId");
+ return this;
+ }
+ /**
+ * A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name
+ * does not have to be unique, and it may be changed. Avoid entering confidential
+ * information.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private String displayName;
+
+ /**
+ * A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name
+ * does not have to be unique, and it may be changed. Avoid entering confidential
+ * information.
+ *
+ * @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.JsonProperty("levelTypeDetails")
+ private LevelTypeDetails levelTypeDetails;
+
+ public Builder levelTypeDetails(LevelTypeDetails levelTypeDetails) {
+ this.levelTypeDetails = levelTypeDetails;
+ this.__explicitlySet__.add("levelTypeDetails");
+ return this;
+ }
+ /** The state of the NodeBackupConfiguration. */
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState")
+ private NodeBackupConfiguration.LifecycleState lifecycleState;
+
+ /**
+ * The state of the NodeBackupConfiguration.
+ *
+ * @param lifecycleState the value to set
+ * @return this builder
+ */
+ public Builder lifecycleState(NodeBackupConfiguration.LifecycleState lifecycleState) {
+ this.lifecycleState = lifecycleState;
+ this.__explicitlySet__.add("lifecycleState");
+ return this;
+ }
+ /**
+ * The time the NodeBackupConfiguration was created, shown as an RFC 3339 formatted datetime
+ * string.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("timeCreated")
+ private java.util.Date timeCreated;
+
+ /**
+ * The time the NodeBackupConfiguration was created, shown as an RFC 3339 formatted datetime
+ * string.
+ *
+ * @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 time the NodeBackupConfiguration was updated, shown as an RFC 3339 formatted datetime
+ * string.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("timeUpdated")
+ private java.util.Date timeUpdated;
+
+ /**
+ * The time the NodeBackupConfiguration was updated, shown as an RFC 3339 formatted datetime
+ * string.
+ *
+ * @param timeUpdated the value to set
+ * @return this builder
+ */
+ public Builder timeUpdated(java.util.Date timeUpdated) {
+ this.timeUpdated = timeUpdated;
+ this.__explicitlySet__.add("timeUpdated");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public NodeBackupConfigurationSummary build() {
+ NodeBackupConfigurationSummary model =
+ new NodeBackupConfigurationSummary(
+ this.id,
+ this.bdsInstanceId,
+ this.displayName,
+ this.levelTypeDetails,
+ this.lifecycleState,
+ this.timeCreated,
+ this.timeUpdated);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(NodeBackupConfigurationSummary model) {
+ if (model.wasPropertyExplicitlySet("id")) {
+ this.id(model.getId());
+ }
+ if (model.wasPropertyExplicitlySet("bdsInstanceId")) {
+ this.bdsInstanceId(model.getBdsInstanceId());
+ }
+ if (model.wasPropertyExplicitlySet("displayName")) {
+ this.displayName(model.getDisplayName());
+ }
+ if (model.wasPropertyExplicitlySet("levelTypeDetails")) {
+ this.levelTypeDetails(model.getLevelTypeDetails());
+ }
+ if (model.wasPropertyExplicitlySet("lifecycleState")) {
+ this.lifecycleState(model.getLifecycleState());
+ }
+ if (model.wasPropertyExplicitlySet("timeCreated")) {
+ this.timeCreated(model.getTimeCreated());
+ }
+ if (model.wasPropertyExplicitlySet("timeUpdated")) {
+ this.timeUpdated(model.getTimeUpdated());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ /** The id of the NodeBackupConfiguration. */
+ @com.fasterxml.jackson.annotation.JsonProperty("id")
+ private final String id;
+
+ /**
+ * The id of the NodeBackupConfiguration.
+ *
+ * @return the value
+ */
+ public String getId() {
+ return id;
+ }
+
+ /** The OCID of the bdsInstance which is the parent resource id. */
+ @com.fasterxml.jackson.annotation.JsonProperty("bdsInstanceId")
+ private final String bdsInstanceId;
+
+ /**
+ * The OCID of the bdsInstance which is the parent resource id.
+ *
+ * @return the value
+ */
+ public String getBdsInstanceId() {
+ return bdsInstanceId;
+ }
+
+ /**
+ * A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name
+ * does not have to be unique, and it may be changed. Avoid entering confidential information.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private final String displayName;
+
+ /**
+ * A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name
+ * does not have to be unique, and it may be changed. Avoid entering confidential information.
+ *
+ * @return the value
+ */
+ public String getDisplayName() {
+ return displayName;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("levelTypeDetails")
+ private final LevelTypeDetails levelTypeDetails;
+
+ public LevelTypeDetails getLevelTypeDetails() {
+ return levelTypeDetails;
+ }
+
+ /** The state of the NodeBackupConfiguration. */
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState")
+ private final NodeBackupConfiguration.LifecycleState lifecycleState;
+
+ /**
+ * The state of the NodeBackupConfiguration.
+ *
+ * @return the value
+ */
+ public NodeBackupConfiguration.LifecycleState getLifecycleState() {
+ return lifecycleState;
+ }
+
+ /**
+ * The time the NodeBackupConfiguration was created, shown as an RFC 3339 formatted datetime
+ * string.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("timeCreated")
+ private final java.util.Date timeCreated;
+
+ /**
+ * The time the NodeBackupConfiguration was created, shown as an RFC 3339 formatted datetime
+ * string.
+ *
+ * @return the value
+ */
+ public java.util.Date getTimeCreated() {
+ return timeCreated;
+ }
+
+ /**
+ * The time the NodeBackupConfiguration was updated, shown as an RFC 3339 formatted datetime
+ * string.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("timeUpdated")
+ private final java.util.Date timeUpdated;
+
+ /**
+ * The time the NodeBackupConfiguration was updated, shown as an RFC 3339 formatted datetime
+ * string.
+ *
+ * @return the value
+ */
+ public java.util.Date getTimeUpdated() {
+ return timeUpdated;
+ }
+
+ @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("NodeBackupConfigurationSummary(");
+ sb.append("super=").append(super.toString());
+ sb.append("id=").append(String.valueOf(this.id));
+ sb.append(", bdsInstanceId=").append(String.valueOf(this.bdsInstanceId));
+ sb.append(", displayName=").append(String.valueOf(this.displayName));
+ sb.append(", levelTypeDetails=").append(String.valueOf(this.levelTypeDetails));
+ sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState));
+ sb.append(", timeCreated=").append(String.valueOf(this.timeCreated));
+ sb.append(", timeUpdated=").append(String.valueOf(this.timeUpdated));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof NodeBackupConfigurationSummary)) {
+ return false;
+ }
+
+ NodeBackupConfigurationSummary other = (NodeBackupConfigurationSummary) o;
+ return java.util.Objects.equals(this.id, other.id)
+ && java.util.Objects.equals(this.bdsInstanceId, other.bdsInstanceId)
+ && java.util.Objects.equals(this.displayName, other.displayName)
+ && java.util.Objects.equals(this.levelTypeDetails, other.levelTypeDetails)
+ && java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
+ && java.util.Objects.equals(this.timeCreated, other.timeCreated)
+ && java.util.Objects.equals(this.timeUpdated, other.timeUpdated)
+ && 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.bdsInstanceId == null ? 43 : this.bdsInstanceId.hashCode());
+ result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode());
+ result =
+ (result * PRIME)
+ + (this.levelTypeDetails == null ? 43 : this.levelTypeDetails.hashCode());
+ result =
+ (result * PRIME)
+ + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode());
+ result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode());
+ result = (result * PRIME) + (this.timeUpdated == null ? 43 : this.timeUpdated.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/NodeBackupSummary.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/NodeBackupSummary.java
new file mode 100644
index 00000000000..01d8edee22f
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/NodeBackupSummary.java
@@ -0,0 +1,425 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.model;
+
+/**
+ * The information about the nodeBackupSummary.
+ * 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: 20190531")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = NodeBackupSummary.Builder.class)
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class NodeBackupSummary
+ extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({
+ "id",
+ "displayName",
+ "nodeInstanceId",
+ "nodeHostName",
+ "backupTriggerType",
+ "backupType",
+ "lifecycleState",
+ "timeCreated"
+ })
+ public NodeBackupSummary(
+ String id,
+ String displayName,
+ String nodeInstanceId,
+ String nodeHostName,
+ NodeBackup.BackupTriggerType backupTriggerType,
+ NodeBackup.BackupType backupType,
+ NodeBackup.LifecycleState lifecycleState,
+ java.util.Date timeCreated) {
+ super();
+ this.id = id;
+ this.displayName = displayName;
+ this.nodeInstanceId = nodeInstanceId;
+ this.nodeHostName = nodeHostName;
+ this.backupTriggerType = backupTriggerType;
+ this.backupType = backupType;
+ this.lifecycleState = lifecycleState;
+ this.timeCreated = timeCreated;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /** The id of the node backup. */
+ @com.fasterxml.jackson.annotation.JsonProperty("id")
+ private String id;
+
+ /**
+ * The id of the node backup.
+ *
+ * @param id the value to set
+ * @return this builder
+ */
+ public Builder id(String id) {
+ this.id = id;
+ this.__explicitlySet__.add("id");
+ return this;
+ }
+ /** BDS generated name for the backup. Format is nodeHostName_timeCreated. */
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private String displayName;
+
+ /**
+ * BDS generated name for the backup. Format is nodeHostName_timeCreated.
+ *
+ * @param displayName the value to set
+ * @return this builder
+ */
+ public Builder displayName(String displayName) {
+ this.displayName = displayName;
+ this.__explicitlySet__.add("displayName");
+ return this;
+ }
+ /**
+ * The instance OCID of the node, which is the resource from which the node backup was
+ * acquired.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("nodeInstanceId")
+ private String nodeInstanceId;
+
+ /**
+ * The instance OCID of the node, which is the resource from which the node backup was
+ * acquired.
+ *
+ * @param nodeInstanceId the value to set
+ * @return this builder
+ */
+ public Builder nodeInstanceId(String nodeInstanceId) {
+ this.nodeInstanceId = nodeInstanceId;
+ this.__explicitlySet__.add("nodeInstanceId");
+ return this;
+ }
+ /** Host name of the node that the backup belongs to. */
+ @com.fasterxml.jackson.annotation.JsonProperty("nodeHostName")
+ private String nodeHostName;
+
+ /**
+ * Host name of the node that the backup belongs to.
+ *
+ * @param nodeHostName the value to set
+ * @return this builder
+ */
+ public Builder nodeHostName(String nodeHostName) {
+ this.nodeHostName = nodeHostName;
+ this.__explicitlySet__.add("nodeHostName");
+ return this;
+ }
+ /** type based on how backup action was initiated. */
+ @com.fasterxml.jackson.annotation.JsonProperty("backupTriggerType")
+ private NodeBackup.BackupTriggerType backupTriggerType;
+
+ /**
+ * type based on how backup action was initiated.
+ *
+ * @param backupTriggerType the value to set
+ * @return this builder
+ */
+ public Builder backupTriggerType(NodeBackup.BackupTriggerType backupTriggerType) {
+ this.backupTriggerType = backupTriggerType;
+ this.__explicitlySet__.add("backupTriggerType");
+ return this;
+ }
+ /**
+ * Incremental backup type includes only the changes since the last backup. Full backup type
+ * includes all changes since the volume was created
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("backupType")
+ private NodeBackup.BackupType backupType;
+
+ /**
+ * Incremental backup type includes only the changes since the last backup. Full backup type
+ * includes all changes since the volume was created
+ *
+ * @param backupType the value to set
+ * @return this builder
+ */
+ public Builder backupType(NodeBackup.BackupType backupType) {
+ this.backupType = backupType;
+ this.__explicitlySet__.add("backupType");
+ return this;
+ }
+ /** The state of NodeBackup. */
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState")
+ private NodeBackup.LifecycleState lifecycleState;
+
+ /**
+ * The state of NodeBackup.
+ *
+ * @param lifecycleState the value to set
+ * @return this builder
+ */
+ public Builder lifecycleState(NodeBackup.LifecycleState lifecycleState) {
+ this.lifecycleState = lifecycleState;
+ this.__explicitlySet__.add("lifecycleState");
+ return this;
+ }
+ /** The time the cluster was created, shown as an RFC 3339 formatted datetime string. */
+ @com.fasterxml.jackson.annotation.JsonProperty("timeCreated")
+ private java.util.Date timeCreated;
+
+ /**
+ * The time the cluster was created, shown as an RFC 3339 formatted datetime string.
+ *
+ * @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;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public NodeBackupSummary build() {
+ NodeBackupSummary model =
+ new NodeBackupSummary(
+ this.id,
+ this.displayName,
+ this.nodeInstanceId,
+ this.nodeHostName,
+ this.backupTriggerType,
+ this.backupType,
+ this.lifecycleState,
+ this.timeCreated);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(NodeBackupSummary model) {
+ if (model.wasPropertyExplicitlySet("id")) {
+ this.id(model.getId());
+ }
+ if (model.wasPropertyExplicitlySet("displayName")) {
+ this.displayName(model.getDisplayName());
+ }
+ if (model.wasPropertyExplicitlySet("nodeInstanceId")) {
+ this.nodeInstanceId(model.getNodeInstanceId());
+ }
+ if (model.wasPropertyExplicitlySet("nodeHostName")) {
+ this.nodeHostName(model.getNodeHostName());
+ }
+ if (model.wasPropertyExplicitlySet("backupTriggerType")) {
+ this.backupTriggerType(model.getBackupTriggerType());
+ }
+ if (model.wasPropertyExplicitlySet("backupType")) {
+ this.backupType(model.getBackupType());
+ }
+ if (model.wasPropertyExplicitlySet("lifecycleState")) {
+ this.lifecycleState(model.getLifecycleState());
+ }
+ if (model.wasPropertyExplicitlySet("timeCreated")) {
+ this.timeCreated(model.getTimeCreated());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ /** The id of the node backup. */
+ @com.fasterxml.jackson.annotation.JsonProperty("id")
+ private final String id;
+
+ /**
+ * The id of the node backup.
+ *
+ * @return the value
+ */
+ public String getId() {
+ return id;
+ }
+
+ /** BDS generated name for the backup. Format is nodeHostName_timeCreated. */
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private final String displayName;
+
+ /**
+ * BDS generated name for the backup. Format is nodeHostName_timeCreated.
+ *
+ * @return the value
+ */
+ public String getDisplayName() {
+ return displayName;
+ }
+
+ /**
+ * The instance OCID of the node, which is the resource from which the node backup was acquired.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("nodeInstanceId")
+ private final String nodeInstanceId;
+
+ /**
+ * The instance OCID of the node, which is the resource from which the node backup was acquired.
+ *
+ * @return the value
+ */
+ public String getNodeInstanceId() {
+ return nodeInstanceId;
+ }
+
+ /** Host name of the node that the backup belongs to. */
+ @com.fasterxml.jackson.annotation.JsonProperty("nodeHostName")
+ private final String nodeHostName;
+
+ /**
+ * Host name of the node that the backup belongs to.
+ *
+ * @return the value
+ */
+ public String getNodeHostName() {
+ return nodeHostName;
+ }
+
+ /** type based on how backup action was initiated. */
+ @com.fasterxml.jackson.annotation.JsonProperty("backupTriggerType")
+ private final NodeBackup.BackupTriggerType backupTriggerType;
+
+ /**
+ * type based on how backup action was initiated.
+ *
+ * @return the value
+ */
+ public NodeBackup.BackupTriggerType getBackupTriggerType() {
+ return backupTriggerType;
+ }
+
+ /**
+ * Incremental backup type includes only the changes since the last backup. Full backup type
+ * includes all changes since the volume was created
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("backupType")
+ private final NodeBackup.BackupType backupType;
+
+ /**
+ * Incremental backup type includes only the changes since the last backup. Full backup type
+ * includes all changes since the volume was created
+ *
+ * @return the value
+ */
+ public NodeBackup.BackupType getBackupType() {
+ return backupType;
+ }
+
+ /** The state of NodeBackup. */
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState")
+ private final NodeBackup.LifecycleState lifecycleState;
+
+ /**
+ * The state of NodeBackup.
+ *
+ * @return the value
+ */
+ public NodeBackup.LifecycleState getLifecycleState() {
+ return lifecycleState;
+ }
+
+ /** The time the cluster was created, shown as an RFC 3339 formatted datetime string. */
+ @com.fasterxml.jackson.annotation.JsonProperty("timeCreated")
+ private final java.util.Date timeCreated;
+
+ /**
+ * The time the cluster was created, shown as an RFC 3339 formatted datetime string.
+ *
+ * @return the value
+ */
+ public java.util.Date getTimeCreated() {
+ return timeCreated;
+ }
+
+ @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("NodeBackupSummary(");
+ sb.append("super=").append(super.toString());
+ sb.append("id=").append(String.valueOf(this.id));
+ sb.append(", displayName=").append(String.valueOf(this.displayName));
+ sb.append(", nodeInstanceId=").append(String.valueOf(this.nodeInstanceId));
+ sb.append(", nodeHostName=").append(String.valueOf(this.nodeHostName));
+ sb.append(", backupTriggerType=").append(String.valueOf(this.backupTriggerType));
+ sb.append(", backupType=").append(String.valueOf(this.backupType));
+ sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState));
+ sb.append(", timeCreated=").append(String.valueOf(this.timeCreated));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof NodeBackupSummary)) {
+ return false;
+ }
+
+ NodeBackupSummary other = (NodeBackupSummary) o;
+ return java.util.Objects.equals(this.id, other.id)
+ && java.util.Objects.equals(this.displayName, other.displayName)
+ && java.util.Objects.equals(this.nodeInstanceId, other.nodeInstanceId)
+ && java.util.Objects.equals(this.nodeHostName, other.nodeHostName)
+ && java.util.Objects.equals(this.backupTriggerType, other.backupTriggerType)
+ && java.util.Objects.equals(this.backupType, other.backupType)
+ && java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
+ && java.util.Objects.equals(this.timeCreated, other.timeCreated)
+ && 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)
+ + (this.nodeInstanceId == null ? 43 : this.nodeInstanceId.hashCode());
+ result = (result * PRIME) + (this.nodeHostName == null ? 43 : this.nodeHostName.hashCode());
+ result =
+ (result * PRIME)
+ + (this.backupTriggerType == null ? 43 : this.backupTriggerType.hashCode());
+ result = (result * PRIME) + (this.backupType == null ? 43 : this.backupType.hashCode());
+ result =
+ (result * PRIME)
+ + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode());
+ result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/NodeLevelDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/NodeLevelDetails.java
new file mode 100644
index 00000000000..42fba4c38f6
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/NodeLevelDetails.java
@@ -0,0 +1,135 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.model;
+
+/**
+ * Details of node level used to trigger the creation of a new node backup configuration and node
+ * replacement 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: 20190531")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = NodeLevelDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "levelType")
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class NodeLevelDetails extends LevelTypeDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /** Host name of the node to create backup configuration. */
+ @com.fasterxml.jackson.annotation.JsonProperty("nodeHostName")
+ private String nodeHostName;
+
+ /**
+ * Host name of the node to create backup configuration.
+ *
+ * @param nodeHostName the value to set
+ * @return this builder
+ */
+ public Builder nodeHostName(String nodeHostName) {
+ this.nodeHostName = nodeHostName;
+ this.__explicitlySet__.add("nodeHostName");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public NodeLevelDetails build() {
+ NodeLevelDetails model = new NodeLevelDetails(this.nodeHostName);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(NodeLevelDetails model) {
+ if (model.wasPropertyExplicitlySet("nodeHostName")) {
+ this.nodeHostName(model.getNodeHostName());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public NodeLevelDetails(String nodeHostName) {
+ super();
+ this.nodeHostName = nodeHostName;
+ }
+
+ /** Host name of the node to create backup configuration. */
+ @com.fasterxml.jackson.annotation.JsonProperty("nodeHostName")
+ private final String nodeHostName;
+
+ /**
+ * Host name of the node to create backup configuration.
+ *
+ * @return the value
+ */
+ public String getNodeHostName() {
+ return nodeHostName;
+ }
+
+ @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("NodeLevelDetails(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(", nodeHostName=").append(String.valueOf(this.nodeHostName));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof NodeLevelDetails)) {
+ return false;
+ }
+
+ NodeLevelDetails other = (NodeLevelDetails) o;
+ return java.util.Objects.equals(this.nodeHostName, other.nodeHostName)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result = (result * PRIME) + (this.nodeHostName == null ? 43 : this.nodeHostName.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/NodeReplaceConfiguration.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/NodeReplaceConfiguration.java
new file mode 100644
index 00000000000..52e62cf9b38
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/NodeReplaceConfiguration.java
@@ -0,0 +1,569 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.model;
+
+/**
+ * The information about the NodeReplaceConfiguration.
+ * 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: 20190531")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = NodeReplaceConfiguration.Builder.class)
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class NodeReplaceConfiguration
+ extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({
+ "id",
+ "bdsInstanceId",
+ "displayName",
+ "levelTypeDetails",
+ "lifecycleState",
+ "timeCreated",
+ "timeUpdated",
+ "metricType",
+ "durationInMinutes"
+ })
+ public NodeReplaceConfiguration(
+ String id,
+ String bdsInstanceId,
+ String displayName,
+ LevelTypeDetails levelTypeDetails,
+ LifecycleState lifecycleState,
+ java.util.Date timeCreated,
+ java.util.Date timeUpdated,
+ MetricType metricType,
+ Integer durationInMinutes) {
+ super();
+ this.id = id;
+ this.bdsInstanceId = bdsInstanceId;
+ this.displayName = displayName;
+ this.levelTypeDetails = levelTypeDetails;
+ this.lifecycleState = lifecycleState;
+ this.timeCreated = timeCreated;
+ this.timeUpdated = timeUpdated;
+ this.metricType = metricType;
+ this.durationInMinutes = durationInMinutes;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /** The unique identifier for the NodeReplaceConfiguration. */
+ @com.fasterxml.jackson.annotation.JsonProperty("id")
+ private String id;
+
+ /**
+ * The unique identifier for the NodeReplaceConfiguration.
+ *
+ * @param id the value to set
+ * @return this builder
+ */
+ public Builder id(String id) {
+ this.id = id;
+ this.__explicitlySet__.add("id");
+ return this;
+ }
+ /** The OCID of the bdsInstance which is the parent resource id. */
+ @com.fasterxml.jackson.annotation.JsonProperty("bdsInstanceId")
+ private String bdsInstanceId;
+
+ /**
+ * The OCID of the bdsInstance which is the parent resource id.
+ *
+ * @param bdsInstanceId the value to set
+ * @return this builder
+ */
+ public Builder bdsInstanceId(String bdsInstanceId) {
+ this.bdsInstanceId = bdsInstanceId;
+ this.__explicitlySet__.add("bdsInstanceId");
+ return this;
+ }
+ /**
+ * A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name
+ * does not have to be unique, and it may be changed. Avoid entering confidential
+ * information.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private String displayName;
+
+ /**
+ * A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name
+ * does not have to be unique, and it may be changed. Avoid entering confidential
+ * information.
+ *
+ * @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.JsonProperty("levelTypeDetails")
+ private LevelTypeDetails levelTypeDetails;
+
+ public Builder levelTypeDetails(LevelTypeDetails levelTypeDetails) {
+ this.levelTypeDetails = levelTypeDetails;
+ this.__explicitlySet__.add("levelTypeDetails");
+ return this;
+ }
+ /** The state of the NodeReplaceConfiguration. */
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState")
+ private LifecycleState lifecycleState;
+
+ /**
+ * The state of the NodeReplaceConfiguration.
+ *
+ * @param lifecycleState the value to set
+ * @return this builder
+ */
+ public Builder lifecycleState(LifecycleState lifecycleState) {
+ this.lifecycleState = lifecycleState;
+ this.__explicitlySet__.add("lifecycleState");
+ return this;
+ }
+ /**
+ * The time the NodeReplaceConfiguration was created, shown as an RFC 3339 formatted
+ * datetime string.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("timeCreated")
+ private java.util.Date timeCreated;
+
+ /**
+ * The time the NodeReplaceConfiguration was created, shown as an RFC 3339 formatted
+ * datetime string.
+ *
+ * @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 time the NodeReplaceConfiguration was updated, shown as an RFC 3339 formatted
+ * datetime string.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("timeUpdated")
+ private java.util.Date timeUpdated;
+
+ /**
+ * The time the NodeReplaceConfiguration was updated, shown as an RFC 3339 formatted
+ * datetime string.
+ *
+ * @param timeUpdated the value to set
+ * @return this builder
+ */
+ public Builder timeUpdated(java.util.Date timeUpdated) {
+ this.timeUpdated = timeUpdated;
+ this.__explicitlySet__.add("timeUpdated");
+ return this;
+ }
+ /** Type of compute instance health metric to use for node replacement */
+ @com.fasterxml.jackson.annotation.JsonProperty("metricType")
+ private MetricType metricType;
+
+ /**
+ * Type of compute instance health metric to use for node replacement
+ *
+ * @param metricType the value to set
+ * @return this builder
+ */
+ public Builder metricType(MetricType metricType) {
+ this.metricType = metricType;
+ this.__explicitlySet__.add("metricType");
+ return this;
+ }
+ /**
+ * This value is the minimum period of time to wait for metric emission before triggering
+ * node replacement. The value is in minutes.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("durationInMinutes")
+ private Integer durationInMinutes;
+
+ /**
+ * This value is the minimum period of time to wait for metric emission before triggering
+ * node replacement. The value is in minutes.
+ *
+ * @param durationInMinutes the value to set
+ * @return this builder
+ */
+ public Builder durationInMinutes(Integer durationInMinutes) {
+ this.durationInMinutes = durationInMinutes;
+ this.__explicitlySet__.add("durationInMinutes");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public NodeReplaceConfiguration build() {
+ NodeReplaceConfiguration model =
+ new NodeReplaceConfiguration(
+ this.id,
+ this.bdsInstanceId,
+ this.displayName,
+ this.levelTypeDetails,
+ this.lifecycleState,
+ this.timeCreated,
+ this.timeUpdated,
+ this.metricType,
+ this.durationInMinutes);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(NodeReplaceConfiguration model) {
+ if (model.wasPropertyExplicitlySet("id")) {
+ this.id(model.getId());
+ }
+ if (model.wasPropertyExplicitlySet("bdsInstanceId")) {
+ this.bdsInstanceId(model.getBdsInstanceId());
+ }
+ if (model.wasPropertyExplicitlySet("displayName")) {
+ this.displayName(model.getDisplayName());
+ }
+ if (model.wasPropertyExplicitlySet("levelTypeDetails")) {
+ this.levelTypeDetails(model.getLevelTypeDetails());
+ }
+ if (model.wasPropertyExplicitlySet("lifecycleState")) {
+ this.lifecycleState(model.getLifecycleState());
+ }
+ if (model.wasPropertyExplicitlySet("timeCreated")) {
+ this.timeCreated(model.getTimeCreated());
+ }
+ if (model.wasPropertyExplicitlySet("timeUpdated")) {
+ this.timeUpdated(model.getTimeUpdated());
+ }
+ if (model.wasPropertyExplicitlySet("metricType")) {
+ this.metricType(model.getMetricType());
+ }
+ if (model.wasPropertyExplicitlySet("durationInMinutes")) {
+ this.durationInMinutes(model.getDurationInMinutes());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ /** The unique identifier for the NodeReplaceConfiguration. */
+ @com.fasterxml.jackson.annotation.JsonProperty("id")
+ private final String id;
+
+ /**
+ * The unique identifier for the NodeReplaceConfiguration.
+ *
+ * @return the value
+ */
+ public String getId() {
+ return id;
+ }
+
+ /** The OCID of the bdsInstance which is the parent resource id. */
+ @com.fasterxml.jackson.annotation.JsonProperty("bdsInstanceId")
+ private final String bdsInstanceId;
+
+ /**
+ * The OCID of the bdsInstance which is the parent resource id.
+ *
+ * @return the value
+ */
+ public String getBdsInstanceId() {
+ return bdsInstanceId;
+ }
+
+ /**
+ * A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name
+ * does not have to be unique, and it may be changed. Avoid entering confidential information.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private final String displayName;
+
+ /**
+ * A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name
+ * does not have to be unique, and it may be changed. Avoid entering confidential information.
+ *
+ * @return the value
+ */
+ public String getDisplayName() {
+ return displayName;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("levelTypeDetails")
+ private final LevelTypeDetails levelTypeDetails;
+
+ public LevelTypeDetails getLevelTypeDetails() {
+ return levelTypeDetails;
+ }
+
+ /** The state of the NodeReplaceConfiguration. */
+ public enum LifecycleState implements com.oracle.bmc.http.internal.BmcEnum {
+ Creating("CREATING"),
+ Active("ACTIVE"),
+ Updating("UPDATING"),
+ Deleting("DELETING"),
+ Deleted("DELETED"),
+ Failed("FAILED"),
+
+ /**
+ * This value is used if a service returns a value for this enum that is not recognized by
+ * this version of the SDK.
+ */
+ UnknownEnumValue(null);
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(LifecycleState.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ 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 state of the NodeReplaceConfiguration. */
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState")
+ private final LifecycleState lifecycleState;
+
+ /**
+ * The state of the NodeReplaceConfiguration.
+ *
+ * @return the value
+ */
+ public LifecycleState getLifecycleState() {
+ return lifecycleState;
+ }
+
+ /**
+ * The time the NodeReplaceConfiguration was created, shown as an RFC 3339 formatted datetime
+ * string.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("timeCreated")
+ private final java.util.Date timeCreated;
+
+ /**
+ * The time the NodeReplaceConfiguration was created, shown as an RFC 3339 formatted datetime
+ * string.
+ *
+ * @return the value
+ */
+ public java.util.Date getTimeCreated() {
+ return timeCreated;
+ }
+
+ /**
+ * The time the NodeReplaceConfiguration was updated, shown as an RFC 3339 formatted datetime
+ * string.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("timeUpdated")
+ private final java.util.Date timeUpdated;
+
+ /**
+ * The time the NodeReplaceConfiguration was updated, shown as an RFC 3339 formatted datetime
+ * string.
+ *
+ * @return the value
+ */
+ public java.util.Date getTimeUpdated() {
+ return timeUpdated;
+ }
+
+ /** Type of compute instance health metric to use for node replacement */
+ public enum MetricType implements com.oracle.bmc.http.internal.BmcEnum {
+ InstanceStatus("INSTANCE_STATUS"),
+ InstanceAccessibilityStatus("INSTANCE_ACCESSIBILITY_STATUS"),
+
+ /**
+ * 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(MetricType.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (MetricType v : MetricType.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ MetricType(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static MetricType create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'MetricType', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
+ }
+ };
+ /** Type of compute instance health metric to use for node replacement */
+ @com.fasterxml.jackson.annotation.JsonProperty("metricType")
+ private final MetricType metricType;
+
+ /**
+ * Type of compute instance health metric to use for node replacement
+ *
+ * @return the value
+ */
+ public MetricType getMetricType() {
+ return metricType;
+ }
+
+ /**
+ * This value is the minimum period of time to wait for metric emission before triggering node
+ * replacement. The value is in minutes.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("durationInMinutes")
+ private final Integer durationInMinutes;
+
+ /**
+ * This value is the minimum period of time to wait for metric emission before triggering node
+ * replacement. The value is in minutes.
+ *
+ * @return the value
+ */
+ public Integer getDurationInMinutes() {
+ return durationInMinutes;
+ }
+
+ @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("NodeReplaceConfiguration(");
+ sb.append("super=").append(super.toString());
+ sb.append("id=").append(String.valueOf(this.id));
+ sb.append(", bdsInstanceId=").append(String.valueOf(this.bdsInstanceId));
+ sb.append(", displayName=").append(String.valueOf(this.displayName));
+ sb.append(", levelTypeDetails=").append(String.valueOf(this.levelTypeDetails));
+ sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState));
+ sb.append(", timeCreated=").append(String.valueOf(this.timeCreated));
+ sb.append(", timeUpdated=").append(String.valueOf(this.timeUpdated));
+ sb.append(", metricType=").append(String.valueOf(this.metricType));
+ sb.append(", durationInMinutes=").append(String.valueOf(this.durationInMinutes));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof NodeReplaceConfiguration)) {
+ return false;
+ }
+
+ NodeReplaceConfiguration other = (NodeReplaceConfiguration) o;
+ return java.util.Objects.equals(this.id, other.id)
+ && java.util.Objects.equals(this.bdsInstanceId, other.bdsInstanceId)
+ && java.util.Objects.equals(this.displayName, other.displayName)
+ && java.util.Objects.equals(this.levelTypeDetails, other.levelTypeDetails)
+ && java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
+ && java.util.Objects.equals(this.timeCreated, other.timeCreated)
+ && java.util.Objects.equals(this.timeUpdated, other.timeUpdated)
+ && java.util.Objects.equals(this.metricType, other.metricType)
+ && java.util.Objects.equals(this.durationInMinutes, other.durationInMinutes)
+ && 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.bdsInstanceId == null ? 43 : this.bdsInstanceId.hashCode());
+ result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode());
+ result =
+ (result * PRIME)
+ + (this.levelTypeDetails == null ? 43 : this.levelTypeDetails.hashCode());
+ result =
+ (result * PRIME)
+ + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode());
+ result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode());
+ result = (result * PRIME) + (this.timeUpdated == null ? 43 : this.timeUpdated.hashCode());
+ result = (result * PRIME) + (this.metricType == null ? 43 : this.metricType.hashCode());
+ result =
+ (result * PRIME)
+ + (this.durationInMinutes == null ? 43 : this.durationInMinutes.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/NodeReplaceConfigurationSummary.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/NodeReplaceConfigurationSummary.java
new file mode 100644
index 00000000000..6f334533e91
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/NodeReplaceConfigurationSummary.java
@@ -0,0 +1,387 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.model;
+
+/**
+ * The information about the NodeReplaceConfigurationSummary.
+ * 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: 20190531")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = NodeReplaceConfigurationSummary.Builder.class)
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class NodeReplaceConfigurationSummary
+ extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({
+ "id",
+ "bdsInstanceId",
+ "displayName",
+ "levelTypeDetails",
+ "lifecycleState",
+ "timeCreated",
+ "timeUpdated"
+ })
+ public NodeReplaceConfigurationSummary(
+ String id,
+ String bdsInstanceId,
+ String displayName,
+ LevelTypeDetails levelTypeDetails,
+ NodeReplaceConfiguration.LifecycleState lifecycleState,
+ java.util.Date timeCreated,
+ java.util.Date timeUpdated) {
+ super();
+ this.id = id;
+ this.bdsInstanceId = bdsInstanceId;
+ this.displayName = displayName;
+ this.levelTypeDetails = levelTypeDetails;
+ this.lifecycleState = lifecycleState;
+ this.timeCreated = timeCreated;
+ this.timeUpdated = timeUpdated;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /** The id of the NodeReplaceConfiguration. */
+ @com.fasterxml.jackson.annotation.JsonProperty("id")
+ private String id;
+
+ /**
+ * The id of the NodeReplaceConfiguration.
+ *
+ * @param id the value to set
+ * @return this builder
+ */
+ public Builder id(String id) {
+ this.id = id;
+ this.__explicitlySet__.add("id");
+ return this;
+ }
+ /** The OCID of the bdsInstance which is the parent resource id. */
+ @com.fasterxml.jackson.annotation.JsonProperty("bdsInstanceId")
+ private String bdsInstanceId;
+
+ /**
+ * The OCID of the bdsInstance which is the parent resource id.
+ *
+ * @param bdsInstanceId the value to set
+ * @return this builder
+ */
+ public Builder bdsInstanceId(String bdsInstanceId) {
+ this.bdsInstanceId = bdsInstanceId;
+ this.__explicitlySet__.add("bdsInstanceId");
+ return this;
+ }
+ /**
+ * A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name
+ * does not have to be unique, and it may be changed. Avoid entering confidential
+ * information.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private String displayName;
+
+ /**
+ * A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name
+ * does not have to be unique, and it may be changed. Avoid entering confidential
+ * information.
+ *
+ * @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.JsonProperty("levelTypeDetails")
+ private LevelTypeDetails levelTypeDetails;
+
+ public Builder levelTypeDetails(LevelTypeDetails levelTypeDetails) {
+ this.levelTypeDetails = levelTypeDetails;
+ this.__explicitlySet__.add("levelTypeDetails");
+ return this;
+ }
+ /** The state of the NodeReplaceConfiguration. */
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState")
+ private NodeReplaceConfiguration.LifecycleState lifecycleState;
+
+ /**
+ * The state of the NodeReplaceConfiguration.
+ *
+ * @param lifecycleState the value to set
+ * @return this builder
+ */
+ public Builder lifecycleState(NodeReplaceConfiguration.LifecycleState lifecycleState) {
+ this.lifecycleState = lifecycleState;
+ this.__explicitlySet__.add("lifecycleState");
+ return this;
+ }
+ /**
+ * The time the NodeReplaceConfiguration was created, shown as an RFC 3339 formatted
+ * datetime string.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("timeCreated")
+ private java.util.Date timeCreated;
+
+ /**
+ * The time the NodeReplaceConfiguration was created, shown as an RFC 3339 formatted
+ * datetime string.
+ *
+ * @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 time the NodeReplaceConfiguration was updated, shown as an RFC 3339 formatted
+ * datetime string.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("timeUpdated")
+ private java.util.Date timeUpdated;
+
+ /**
+ * The time the NodeReplaceConfiguration was updated, shown as an RFC 3339 formatted
+ * datetime string.
+ *
+ * @param timeUpdated the value to set
+ * @return this builder
+ */
+ public Builder timeUpdated(java.util.Date timeUpdated) {
+ this.timeUpdated = timeUpdated;
+ this.__explicitlySet__.add("timeUpdated");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public NodeReplaceConfigurationSummary build() {
+ NodeReplaceConfigurationSummary model =
+ new NodeReplaceConfigurationSummary(
+ this.id,
+ this.bdsInstanceId,
+ this.displayName,
+ this.levelTypeDetails,
+ this.lifecycleState,
+ this.timeCreated,
+ this.timeUpdated);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(NodeReplaceConfigurationSummary model) {
+ if (model.wasPropertyExplicitlySet("id")) {
+ this.id(model.getId());
+ }
+ if (model.wasPropertyExplicitlySet("bdsInstanceId")) {
+ this.bdsInstanceId(model.getBdsInstanceId());
+ }
+ if (model.wasPropertyExplicitlySet("displayName")) {
+ this.displayName(model.getDisplayName());
+ }
+ if (model.wasPropertyExplicitlySet("levelTypeDetails")) {
+ this.levelTypeDetails(model.getLevelTypeDetails());
+ }
+ if (model.wasPropertyExplicitlySet("lifecycleState")) {
+ this.lifecycleState(model.getLifecycleState());
+ }
+ if (model.wasPropertyExplicitlySet("timeCreated")) {
+ this.timeCreated(model.getTimeCreated());
+ }
+ if (model.wasPropertyExplicitlySet("timeUpdated")) {
+ this.timeUpdated(model.getTimeUpdated());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ /** The id of the NodeReplaceConfiguration. */
+ @com.fasterxml.jackson.annotation.JsonProperty("id")
+ private final String id;
+
+ /**
+ * The id of the NodeReplaceConfiguration.
+ *
+ * @return the value
+ */
+ public String getId() {
+ return id;
+ }
+
+ /** The OCID of the bdsInstance which is the parent resource id. */
+ @com.fasterxml.jackson.annotation.JsonProperty("bdsInstanceId")
+ private final String bdsInstanceId;
+
+ /**
+ * The OCID of the bdsInstance which is the parent resource id.
+ *
+ * @return the value
+ */
+ public String getBdsInstanceId() {
+ return bdsInstanceId;
+ }
+
+ /**
+ * A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name
+ * does not have to be unique, and it may be changed. Avoid entering confidential information.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private final String displayName;
+
+ /**
+ * A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name
+ * does not have to be unique, and it may be changed. Avoid entering confidential information.
+ *
+ * @return the value
+ */
+ public String getDisplayName() {
+ return displayName;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("levelTypeDetails")
+ private final LevelTypeDetails levelTypeDetails;
+
+ public LevelTypeDetails getLevelTypeDetails() {
+ return levelTypeDetails;
+ }
+
+ /** The state of the NodeReplaceConfiguration. */
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState")
+ private final NodeReplaceConfiguration.LifecycleState lifecycleState;
+
+ /**
+ * The state of the NodeReplaceConfiguration.
+ *
+ * @return the value
+ */
+ public NodeReplaceConfiguration.LifecycleState getLifecycleState() {
+ return lifecycleState;
+ }
+
+ /**
+ * The time the NodeReplaceConfiguration was created, shown as an RFC 3339 formatted datetime
+ * string.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("timeCreated")
+ private final java.util.Date timeCreated;
+
+ /**
+ * The time the NodeReplaceConfiguration was created, shown as an RFC 3339 formatted datetime
+ * string.
+ *
+ * @return the value
+ */
+ public java.util.Date getTimeCreated() {
+ return timeCreated;
+ }
+
+ /**
+ * The time the NodeReplaceConfiguration was updated, shown as an RFC 3339 formatted datetime
+ * string.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("timeUpdated")
+ private final java.util.Date timeUpdated;
+
+ /**
+ * The time the NodeReplaceConfiguration was updated, shown as an RFC 3339 formatted datetime
+ * string.
+ *
+ * @return the value
+ */
+ public java.util.Date getTimeUpdated() {
+ return timeUpdated;
+ }
+
+ @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("NodeReplaceConfigurationSummary(");
+ sb.append("super=").append(super.toString());
+ sb.append("id=").append(String.valueOf(this.id));
+ sb.append(", bdsInstanceId=").append(String.valueOf(this.bdsInstanceId));
+ sb.append(", displayName=").append(String.valueOf(this.displayName));
+ sb.append(", levelTypeDetails=").append(String.valueOf(this.levelTypeDetails));
+ sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState));
+ sb.append(", timeCreated=").append(String.valueOf(this.timeCreated));
+ sb.append(", timeUpdated=").append(String.valueOf(this.timeUpdated));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof NodeReplaceConfigurationSummary)) {
+ return false;
+ }
+
+ NodeReplaceConfigurationSummary other = (NodeReplaceConfigurationSummary) o;
+ return java.util.Objects.equals(this.id, other.id)
+ && java.util.Objects.equals(this.bdsInstanceId, other.bdsInstanceId)
+ && java.util.Objects.equals(this.displayName, other.displayName)
+ && java.util.Objects.equals(this.levelTypeDetails, other.levelTypeDetails)
+ && java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
+ && java.util.Objects.equals(this.timeCreated, other.timeCreated)
+ && java.util.Objects.equals(this.timeUpdated, other.timeUpdated)
+ && 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.bdsInstanceId == null ? 43 : this.bdsInstanceId.hashCode());
+ result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode());
+ result =
+ (result * PRIME)
+ + (this.levelTypeDetails == null ? 43 : this.levelTypeDetails.hashCode());
+ result =
+ (result * PRIME)
+ + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode());
+ result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode());
+ result = (result * PRIME) + (this.timeUpdated == null ? 43 : this.timeUpdated.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/NodeTypeLevelDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/NodeTypeLevelDetails.java
new file mode 100644
index 00000000000..63c8295ab9e
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/NodeTypeLevelDetails.java
@@ -0,0 +1,143 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.model;
+
+/**
+ * Details of node type level used to trigger the creation of a new node backup configuration and
+ * node replacement 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: 20190531")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = NodeTypeLevelDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "levelType")
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class NodeTypeLevelDetails extends LevelTypeDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * Type of the node or nodes of the node backup configuration or node replacement
+ * configuration which are going to be created.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("nodeType")
+ private Node.NodeType nodeType;
+
+ /**
+ * Type of the node or nodes of the node backup configuration or node replacement
+ * configuration which are going to be created.
+ *
+ * @param nodeType the value to set
+ * @return this builder
+ */
+ public Builder nodeType(Node.NodeType nodeType) {
+ this.nodeType = nodeType;
+ this.__explicitlySet__.add("nodeType");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public NodeTypeLevelDetails build() {
+ NodeTypeLevelDetails model = new NodeTypeLevelDetails(this.nodeType);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(NodeTypeLevelDetails model) {
+ if (model.wasPropertyExplicitlySet("nodeType")) {
+ this.nodeType(model.getNodeType());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public NodeTypeLevelDetails(Node.NodeType nodeType) {
+ super();
+ this.nodeType = nodeType;
+ }
+
+ /**
+ * Type of the node or nodes of the node backup configuration or node replacement configuration
+ * which are going to be created.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("nodeType")
+ private final Node.NodeType nodeType;
+
+ /**
+ * Type of the node or nodes of the node backup configuration or node replacement configuration
+ * which are going to be created.
+ *
+ * @return the value
+ */
+ public Node.NodeType getNodeType() {
+ return nodeType;
+ }
+
+ @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("NodeTypeLevelDetails(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(", nodeType=").append(String.valueOf(this.nodeType));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof NodeTypeLevelDetails)) {
+ return false;
+ }
+
+ NodeTypeLevelDetails other = (NodeTypeLevelDetails) o;
+ return java.util.Objects.equals(this.nodeType, other.nodeType) && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result = (result * PRIME) + (this.nodeType == null ? 43 : this.nodeType.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/OperationTypes.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/OperationTypes.java
index 344f168a3d2..4e202835905 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/OperationTypes.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/OperationTypes.java
@@ -43,6 +43,15 @@ public enum OperationTypes implements com.oracle.bmc.http.internal.BmcEnum {
RemoveKafka("REMOVE_KAFKA"),
ExecuteBootstrapScript("EXECUTE_BOOTSTRAP_SCRIPT"),
OdhServiceCertificateUpdate("ODH_SERVICE_CERTIFICATE_UPDATE"),
+ CreateBackupConfig("CREATE_BACKUP_CONFIG"),
+ UpdateBackupConfig("UPDATE_BACKUP_CONFIG"),
+ DeleteBackupConfig("DELETE_BACKUP_CONFIG"),
+ CreateNodeReplaceConfig("CREATE_NODE_REPLACE_CONFIG"),
+ UpdateNodeReplaceConfig("UPDATE_NODE_REPLACE_CONFIG"),
+ DeleteNodeReplaceConfig("DELETE_NODE_REPLACE_CONFIG"),
+ BackupNodes("BACKUP_NODES"),
+ DeleteNodeBackup("DELETE_NODE_BACKUP"),
+ ReplaceNode("REPLACE_NODE"),
/**
* This value is used if a service returns a value for this enum that is not recognized by this
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RemoveNodeReplaceConfigurationDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RemoveNodeReplaceConfigurationDetails.java
new file mode 100644
index 00000000000..83c1dbfcdca
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RemoveNodeReplaceConfigurationDetails.java
@@ -0,0 +1,139 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.model;
+
+/**
+ * The information about the NodeReplaceConfiguration that being removed.
+ * 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: 20190531")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = RemoveNodeReplaceConfigurationDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class RemoveNodeReplaceConfigurationDetails
+ extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({"clusterAdminPassword"})
+ public RemoveNodeReplaceConfigurationDetails(String clusterAdminPassword) {
+ super();
+ this.clusterAdminPassword = clusterAdminPassword;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /** Base-64 encoded password for the cluster admin user. */
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ private String clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster admin user.
+ *
+ * @param clusterAdminPassword the value to set
+ * @return this builder
+ */
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword = clusterAdminPassword;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public RemoveNodeReplaceConfigurationDetails build() {
+ RemoveNodeReplaceConfigurationDetails model =
+ new RemoveNodeReplaceConfigurationDetails(this.clusterAdminPassword);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(RemoveNodeReplaceConfigurationDetails model) {
+ if (model.wasPropertyExplicitlySet("clusterAdminPassword")) {
+ this.clusterAdminPassword(model.getClusterAdminPassword());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ /** Base-64 encoded password for the cluster admin user. */
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ private final String clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster admin user.
+ *
+ * @return the value
+ */
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword;
+ }
+
+ @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("RemoveNodeReplaceConfigurationDetails(");
+ sb.append("super=").append(super.toString());
+ sb.append("clusterAdminPassword=").append("");
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof RemoveNodeReplaceConfigurationDetails)) {
+ return false;
+ }
+
+ RemoveNodeReplaceConfigurationDetails other = (RemoveNodeReplaceConfigurationDetails) o;
+ return java.util.Objects.equals(this.clusterAdminPassword, other.clusterAdminPassword)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result =
+ (result * PRIME)
+ + (this.clusterAdminPassword == null
+ ? 43
+ : this.clusterAdminPassword.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/ReplaceNodeDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/ReplaceNodeDetails.java
new file mode 100644
index 00000000000..a980c731f02
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/ReplaceNodeDetails.java
@@ -0,0 +1,264 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.model;
+
+/**
+ * The information about the node to be replaced.
+ * 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: 20190531")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = ReplaceNodeDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class ReplaceNodeDetails
+ extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({
+ "nodeHostName",
+ "nodeBackupId",
+ "clusterAdminPassword",
+ "shape"
+ })
+ public ReplaceNodeDetails(
+ String nodeHostName, String nodeBackupId, String clusterAdminPassword, String shape) {
+ super();
+ this.nodeHostName = nodeHostName;
+ this.nodeBackupId = nodeBackupId;
+ this.clusterAdminPassword = clusterAdminPassword;
+ this.shape = shape;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * Host name of the node to replace. MASTER, UTILITY and EDGE node are only supported types
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("nodeHostName")
+ private String nodeHostName;
+
+ /**
+ * Host name of the node to replace. MASTER, UTILITY and EDGE node are only supported types
+ *
+ * @param nodeHostName the value to set
+ * @return this builder
+ */
+ public Builder nodeHostName(String nodeHostName) {
+ this.nodeHostName = nodeHostName;
+ this.__explicitlySet__.add("nodeHostName");
+ return this;
+ }
+ /** The id of the nodeBackup to use for replacing the node. */
+ @com.fasterxml.jackson.annotation.JsonProperty("nodeBackupId")
+ private String nodeBackupId;
+
+ /**
+ * The id of the nodeBackup to use for replacing the node.
+ *
+ * @param nodeBackupId the value to set
+ * @return this builder
+ */
+ public Builder nodeBackupId(String nodeBackupId) {
+ this.nodeBackupId = nodeBackupId;
+ this.__explicitlySet__.add("nodeBackupId");
+ return this;
+ }
+ /** Base-64 encoded password for the cluster admin user. */
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ private String clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster admin user.
+ *
+ * @param clusterAdminPassword the value to set
+ * @return this builder
+ */
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword = clusterAdminPassword;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+ /**
+ * Shape of the new vm when replacing the node. If not provided, BDS will attempt to replace
+ * the node with the shape of current node.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("shape")
+ private String shape;
+
+ /**
+ * Shape of the new vm when replacing the node. If not provided, BDS will attempt to replace
+ * the node with the shape of current node.
+ *
+ * @param shape the value to set
+ * @return this builder
+ */
+ public Builder shape(String shape) {
+ this.shape = shape;
+ this.__explicitlySet__.add("shape");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public ReplaceNodeDetails build() {
+ ReplaceNodeDetails model =
+ new ReplaceNodeDetails(
+ this.nodeHostName,
+ this.nodeBackupId,
+ this.clusterAdminPassword,
+ this.shape);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(ReplaceNodeDetails model) {
+ if (model.wasPropertyExplicitlySet("nodeHostName")) {
+ this.nodeHostName(model.getNodeHostName());
+ }
+ if (model.wasPropertyExplicitlySet("nodeBackupId")) {
+ this.nodeBackupId(model.getNodeBackupId());
+ }
+ if (model.wasPropertyExplicitlySet("clusterAdminPassword")) {
+ this.clusterAdminPassword(model.getClusterAdminPassword());
+ }
+ if (model.wasPropertyExplicitlySet("shape")) {
+ this.shape(model.getShape());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ /** Host name of the node to replace. MASTER, UTILITY and EDGE node are only supported types */
+ @com.fasterxml.jackson.annotation.JsonProperty("nodeHostName")
+ private final String nodeHostName;
+
+ /**
+ * Host name of the node to replace. MASTER, UTILITY and EDGE node are only supported types
+ *
+ * @return the value
+ */
+ public String getNodeHostName() {
+ return nodeHostName;
+ }
+
+ /** The id of the nodeBackup to use for replacing the node. */
+ @com.fasterxml.jackson.annotation.JsonProperty("nodeBackupId")
+ private final String nodeBackupId;
+
+ /**
+ * The id of the nodeBackup to use for replacing the node.
+ *
+ * @return the value
+ */
+ public String getNodeBackupId() {
+ return nodeBackupId;
+ }
+
+ /** Base-64 encoded password for the cluster admin user. */
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ private final String clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster admin user.
+ *
+ * @return the value
+ */
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword;
+ }
+
+ /**
+ * Shape of the new vm when replacing the node. If not provided, BDS will attempt to replace the
+ * node with the shape of current node.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("shape")
+ private final String shape;
+
+ /**
+ * Shape of the new vm when replacing the node. If not provided, BDS will attempt to replace the
+ * node with the shape of current node.
+ *
+ * @return the value
+ */
+ public String getShape() {
+ return shape;
+ }
+
+ @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("ReplaceNodeDetails(");
+ sb.append("super=").append(super.toString());
+ sb.append("nodeHostName=").append(String.valueOf(this.nodeHostName));
+ sb.append(", nodeBackupId=").append(String.valueOf(this.nodeBackupId));
+ sb.append(", clusterAdminPassword=").append("");
+ sb.append(", shape=").append(String.valueOf(this.shape));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof ReplaceNodeDetails)) {
+ return false;
+ }
+
+ ReplaceNodeDetails other = (ReplaceNodeDetails) o;
+ return java.util.Objects.equals(this.nodeHostName, other.nodeHostName)
+ && java.util.Objects.equals(this.nodeBackupId, other.nodeBackupId)
+ && java.util.Objects.equals(this.clusterAdminPassword, other.clusterAdminPassword)
+ && java.util.Objects.equals(this.shape, other.shape)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result = (result * PRIME) + (this.nodeHostName == null ? 43 : this.nodeHostName.hashCode());
+ result = (result * PRIME) + (this.nodeBackupId == null ? 43 : this.nodeBackupId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.clusterAdminPassword == null
+ ? 43
+ : this.clusterAdminPassword.hashCode());
+ result = (result * PRIME) + (this.shape == null ? 43 : this.shape.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/UpdateNodeBackupConfigurationDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/UpdateNodeBackupConfigurationDetails.java
new file mode 100644
index 00000000000..32791e8f720
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/UpdateNodeBackupConfigurationDetails.java
@@ -0,0 +1,359 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.model;
+
+/**
+ * The information about the NodeBackupConfiguration that is being updated.
+ * 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: 20190531")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = UpdateNodeBackupConfigurationDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class UpdateNodeBackupConfigurationDetails
+ extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({
+ "levelTypeDetails",
+ "displayName",
+ "timezone",
+ "schedule",
+ "numberOfBackupsToRetain",
+ "backupType"
+ })
+ public UpdateNodeBackupConfigurationDetails(
+ LevelTypeDetails levelTypeDetails,
+ String displayName,
+ String timezone,
+ String schedule,
+ Integer numberOfBackupsToRetain,
+ NodeBackup.BackupType backupType) {
+ super();
+ this.levelTypeDetails = levelTypeDetails;
+ this.displayName = displayName;
+ this.timezone = timezone;
+ this.schedule = schedule;
+ this.numberOfBackupsToRetain = numberOfBackupsToRetain;
+ this.backupType = backupType;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+
+ @com.fasterxml.jackson.annotation.JsonProperty("levelTypeDetails")
+ private LevelTypeDetails levelTypeDetails;
+
+ public Builder levelTypeDetails(LevelTypeDetails levelTypeDetails) {
+ this.levelTypeDetails = levelTypeDetails;
+ this.__explicitlySet__.add("levelTypeDetails");
+ return this;
+ }
+ /**
+ * A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name
+ * does not have to be unique, and it may be changed. Avoid entering confidential
+ * information.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private String displayName;
+
+ /**
+ * A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name
+ * does not have to be unique, and it may be changed. Avoid entering confidential
+ * information.
+ *
+ * @param displayName the value to set
+ * @return this builder
+ */
+ public Builder displayName(String displayName) {
+ this.displayName = displayName;
+ this.__explicitlySet__.add("displayName");
+ return this;
+ }
+ /** The time zone of the execution schedule, in IANA time zone database name format */
+ @com.fasterxml.jackson.annotation.JsonProperty("timezone")
+ private String timezone;
+
+ /**
+ * The time zone of the execution schedule, in IANA time zone database name format
+ *
+ * @param timezone the value to set
+ * @return this builder
+ */
+ public Builder timezone(String timezone) {
+ this.timezone = timezone;
+ this.__explicitlySet__.add("timezone");
+ return this;
+ }
+ /**
+ * Day/time recurrence (specified following RFC 5545) at which to trigger the backup
+ * process. Currently only DAILY, WEEKLY and MONTHLY frequency is supported. Days of the
+ * week are specified using BYDAY field. Time of the day is specified using BYHOUR. Other
+ * fields are not supported.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("schedule")
+ private String schedule;
+
+ /**
+ * Day/time recurrence (specified following RFC 5545) at which to trigger the backup
+ * process. Currently only DAILY, WEEKLY and MONTHLY frequency is supported. Days of the
+ * week are specified using BYDAY field. Time of the day is specified using BYHOUR. Other
+ * fields are not supported.
+ *
+ * @param schedule the value to set
+ * @return this builder
+ */
+ public Builder schedule(String schedule) {
+ this.schedule = schedule;
+ this.__explicitlySet__.add("schedule");
+ return this;
+ }
+ /** Number of backup copies to retain. */
+ @com.fasterxml.jackson.annotation.JsonProperty("numberOfBackupsToRetain")
+ private Integer numberOfBackupsToRetain;
+
+ /**
+ * Number of backup copies to retain.
+ *
+ * @param numberOfBackupsToRetain the value to set
+ * @return this builder
+ */
+ public Builder numberOfBackupsToRetain(Integer numberOfBackupsToRetain) {
+ this.numberOfBackupsToRetain = numberOfBackupsToRetain;
+ this.__explicitlySet__.add("numberOfBackupsToRetain");
+ return this;
+ }
+ /**
+ * Incremental backup type includes only the changes since the last backup. Full backup type
+ * includes all changes since the volume was created.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("backupType")
+ private NodeBackup.BackupType backupType;
+
+ /**
+ * Incremental backup type includes only the changes since the last backup. Full backup type
+ * includes all changes since the volume was created.
+ *
+ * @param backupType the value to set
+ * @return this builder
+ */
+ public Builder backupType(NodeBackup.BackupType backupType) {
+ this.backupType = backupType;
+ this.__explicitlySet__.add("backupType");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public UpdateNodeBackupConfigurationDetails build() {
+ UpdateNodeBackupConfigurationDetails model =
+ new UpdateNodeBackupConfigurationDetails(
+ this.levelTypeDetails,
+ this.displayName,
+ this.timezone,
+ this.schedule,
+ this.numberOfBackupsToRetain,
+ this.backupType);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(UpdateNodeBackupConfigurationDetails model) {
+ if (model.wasPropertyExplicitlySet("levelTypeDetails")) {
+ this.levelTypeDetails(model.getLevelTypeDetails());
+ }
+ if (model.wasPropertyExplicitlySet("displayName")) {
+ this.displayName(model.getDisplayName());
+ }
+ if (model.wasPropertyExplicitlySet("timezone")) {
+ this.timezone(model.getTimezone());
+ }
+ if (model.wasPropertyExplicitlySet("schedule")) {
+ this.schedule(model.getSchedule());
+ }
+ if (model.wasPropertyExplicitlySet("numberOfBackupsToRetain")) {
+ this.numberOfBackupsToRetain(model.getNumberOfBackupsToRetain());
+ }
+ if (model.wasPropertyExplicitlySet("backupType")) {
+ this.backupType(model.getBackupType());
+ }
+ 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("levelTypeDetails")
+ private final LevelTypeDetails levelTypeDetails;
+
+ public LevelTypeDetails getLevelTypeDetails() {
+ return levelTypeDetails;
+ }
+
+ /**
+ * A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name
+ * does not have to be unique, and it may be changed. Avoid entering confidential information.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private final String displayName;
+
+ /**
+ * A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name
+ * does not have to be unique, and it may be changed. Avoid entering confidential information.
+ *
+ * @return the value
+ */
+ public String getDisplayName() {
+ return displayName;
+ }
+
+ /** The time zone of the execution schedule, in IANA time zone database name format */
+ @com.fasterxml.jackson.annotation.JsonProperty("timezone")
+ private final String timezone;
+
+ /**
+ * The time zone of the execution schedule, in IANA time zone database name format
+ *
+ * @return the value
+ */
+ public String getTimezone() {
+ return timezone;
+ }
+
+ /**
+ * Day/time recurrence (specified following RFC 5545) at which to trigger the backup process.
+ * Currently only DAILY, WEEKLY and MONTHLY frequency is supported. Days of the week are
+ * specified using BYDAY field. Time of the day is specified using BYHOUR. Other fields are not
+ * supported.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("schedule")
+ private final String schedule;
+
+ /**
+ * Day/time recurrence (specified following RFC 5545) at which to trigger the backup process.
+ * Currently only DAILY, WEEKLY and MONTHLY frequency is supported. Days of the week are
+ * specified using BYDAY field. Time of the day is specified using BYHOUR. Other fields are not
+ * supported.
+ *
+ * @return the value
+ */
+ public String getSchedule() {
+ return schedule;
+ }
+
+ /** Number of backup copies to retain. */
+ @com.fasterxml.jackson.annotation.JsonProperty("numberOfBackupsToRetain")
+ private final Integer numberOfBackupsToRetain;
+
+ /**
+ * Number of backup copies to retain.
+ *
+ * @return the value
+ */
+ public Integer getNumberOfBackupsToRetain() {
+ return numberOfBackupsToRetain;
+ }
+
+ /**
+ * Incremental backup type includes only the changes since the last backup. Full backup type
+ * includes all changes since the volume was created.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("backupType")
+ private final NodeBackup.BackupType backupType;
+
+ /**
+ * Incremental backup type includes only the changes since the last backup. Full backup type
+ * includes all changes since the volume was created.
+ *
+ * @return the value
+ */
+ public NodeBackup.BackupType getBackupType() {
+ return backupType;
+ }
+
+ @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("UpdateNodeBackupConfigurationDetails(");
+ sb.append("super=").append(super.toString());
+ sb.append("levelTypeDetails=").append(String.valueOf(this.levelTypeDetails));
+ sb.append(", displayName=").append(String.valueOf(this.displayName));
+ sb.append(", timezone=").append(String.valueOf(this.timezone));
+ sb.append(", schedule=").append(String.valueOf(this.schedule));
+ sb.append(", numberOfBackupsToRetain=")
+ .append(String.valueOf(this.numberOfBackupsToRetain));
+ sb.append(", backupType=").append(String.valueOf(this.backupType));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof UpdateNodeBackupConfigurationDetails)) {
+ return false;
+ }
+
+ UpdateNodeBackupConfigurationDetails other = (UpdateNodeBackupConfigurationDetails) o;
+ return java.util.Objects.equals(this.levelTypeDetails, other.levelTypeDetails)
+ && java.util.Objects.equals(this.displayName, other.displayName)
+ && java.util.Objects.equals(this.timezone, other.timezone)
+ && java.util.Objects.equals(this.schedule, other.schedule)
+ && java.util.Objects.equals(
+ this.numberOfBackupsToRetain, other.numberOfBackupsToRetain)
+ && java.util.Objects.equals(this.backupType, other.backupType)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result =
+ (result * PRIME)
+ + (this.levelTypeDetails == null ? 43 : this.levelTypeDetails.hashCode());
+ result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode());
+ result = (result * PRIME) + (this.timezone == null ? 43 : this.timezone.hashCode());
+ result = (result * PRIME) + (this.schedule == null ? 43 : this.schedule.hashCode());
+ result =
+ (result * PRIME)
+ + (this.numberOfBackupsToRetain == null
+ ? 43
+ : this.numberOfBackupsToRetain.hashCode());
+ result = (result * PRIME) + (this.backupType == null ? 43 : this.backupType.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/UpdateNodeReplaceConfigurationDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/UpdateNodeReplaceConfigurationDetails.java
new file mode 100644
index 00000000000..ec94f1f4169
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/UpdateNodeReplaceConfigurationDetails.java
@@ -0,0 +1,263 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.model;
+
+/**
+ * The information about the NodeReplaceConfiguration
+ * 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: 20190531")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = UpdateNodeReplaceConfigurationDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class UpdateNodeReplaceConfigurationDetails
+ extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({
+ "levelTypeDetails",
+ "displayName",
+ "metricType",
+ "durationInMinutes"
+ })
+ public UpdateNodeReplaceConfigurationDetails(
+ LevelTypeDetails levelTypeDetails,
+ String displayName,
+ NodeReplaceConfiguration.MetricType metricType,
+ Integer durationInMinutes) {
+ super();
+ this.levelTypeDetails = levelTypeDetails;
+ this.displayName = displayName;
+ this.metricType = metricType;
+ this.durationInMinutes = durationInMinutes;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+
+ @com.fasterxml.jackson.annotation.JsonProperty("levelTypeDetails")
+ private LevelTypeDetails levelTypeDetails;
+
+ public Builder levelTypeDetails(LevelTypeDetails levelTypeDetails) {
+ this.levelTypeDetails = levelTypeDetails;
+ this.__explicitlySet__.add("levelTypeDetails");
+ return this;
+ }
+ /**
+ * A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name
+ * does not have to be unique, and it may be changed. Avoid entering confidential
+ * information.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private String displayName;
+
+ /**
+ * A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name
+ * does not have to be unique, and it may be changed. Avoid entering confidential
+ * information.
+ *
+ * @param displayName the value to set
+ * @return this builder
+ */
+ public Builder displayName(String displayName) {
+ this.displayName = displayName;
+ this.__explicitlySet__.add("displayName");
+ return this;
+ }
+ /** Type of compute instance health metric to use for node replacement */
+ @com.fasterxml.jackson.annotation.JsonProperty("metricType")
+ private NodeReplaceConfiguration.MetricType metricType;
+
+ /**
+ * Type of compute instance health metric to use for node replacement
+ *
+ * @param metricType the value to set
+ * @return this builder
+ */
+ public Builder metricType(NodeReplaceConfiguration.MetricType metricType) {
+ this.metricType = metricType;
+ this.__explicitlySet__.add("metricType");
+ return this;
+ }
+ /**
+ * This value is the pending duration time to wait for metric emission before triggering
+ * node replacement. The value is in minutes.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("durationInMinutes")
+ private Integer durationInMinutes;
+
+ /**
+ * This value is the pending duration time to wait for metric emission before triggering
+ * node replacement. The value is in minutes.
+ *
+ * @param durationInMinutes the value to set
+ * @return this builder
+ */
+ public Builder durationInMinutes(Integer durationInMinutes) {
+ this.durationInMinutes = durationInMinutes;
+ this.__explicitlySet__.add("durationInMinutes");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public UpdateNodeReplaceConfigurationDetails build() {
+ UpdateNodeReplaceConfigurationDetails model =
+ new UpdateNodeReplaceConfigurationDetails(
+ this.levelTypeDetails,
+ this.displayName,
+ this.metricType,
+ this.durationInMinutes);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(UpdateNodeReplaceConfigurationDetails model) {
+ if (model.wasPropertyExplicitlySet("levelTypeDetails")) {
+ this.levelTypeDetails(model.getLevelTypeDetails());
+ }
+ if (model.wasPropertyExplicitlySet("displayName")) {
+ this.displayName(model.getDisplayName());
+ }
+ if (model.wasPropertyExplicitlySet("metricType")) {
+ this.metricType(model.getMetricType());
+ }
+ if (model.wasPropertyExplicitlySet("durationInMinutes")) {
+ this.durationInMinutes(model.getDurationInMinutes());
+ }
+ 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("levelTypeDetails")
+ private final LevelTypeDetails levelTypeDetails;
+
+ public LevelTypeDetails getLevelTypeDetails() {
+ return levelTypeDetails;
+ }
+
+ /**
+ * A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name
+ * does not have to be unique, and it may be changed. Avoid entering confidential information.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private final String displayName;
+
+ /**
+ * A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name
+ * does not have to be unique, and it may be changed. Avoid entering confidential information.
+ *
+ * @return the value
+ */
+ public String getDisplayName() {
+ return displayName;
+ }
+
+ /** Type of compute instance health metric to use for node replacement */
+ @com.fasterxml.jackson.annotation.JsonProperty("metricType")
+ private final NodeReplaceConfiguration.MetricType metricType;
+
+ /**
+ * Type of compute instance health metric to use for node replacement
+ *
+ * @return the value
+ */
+ public NodeReplaceConfiguration.MetricType getMetricType() {
+ return metricType;
+ }
+
+ /**
+ * This value is the pending duration time to wait for metric emission before triggering node
+ * replacement. The value is in minutes.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("durationInMinutes")
+ private final Integer durationInMinutes;
+
+ /**
+ * This value is the pending duration time to wait for metric emission before triggering node
+ * replacement. The value is in minutes.
+ *
+ * @return the value
+ */
+ public Integer getDurationInMinutes() {
+ return durationInMinutes;
+ }
+
+ @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("UpdateNodeReplaceConfigurationDetails(");
+ sb.append("super=").append(super.toString());
+ sb.append("levelTypeDetails=").append(String.valueOf(this.levelTypeDetails));
+ sb.append(", displayName=").append(String.valueOf(this.displayName));
+ sb.append(", metricType=").append(String.valueOf(this.metricType));
+ sb.append(", durationInMinutes=").append(String.valueOf(this.durationInMinutes));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof UpdateNodeReplaceConfigurationDetails)) {
+ return false;
+ }
+
+ UpdateNodeReplaceConfigurationDetails other = (UpdateNodeReplaceConfigurationDetails) o;
+ return java.util.Objects.equals(this.levelTypeDetails, other.levelTypeDetails)
+ && java.util.Objects.equals(this.displayName, other.displayName)
+ && java.util.Objects.equals(this.metricType, other.metricType)
+ && java.util.Objects.equals(this.durationInMinutes, other.durationInMinutes)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result =
+ (result * PRIME)
+ + (this.levelTypeDetails == null ? 43 : this.levelTypeDetails.hashCode());
+ result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode());
+ result = (result * PRIME) + (this.metricType == null ? 43 : this.metricType.hashCode());
+ result =
+ (result * PRIME)
+ + (this.durationInMinutes == null ? 43 : this.durationInMinutes.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/BackupNodeRequest.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/BackupNodeRequest.java
new file mode 100644
index 00000000000..82e8e6bac83
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/BackupNodeRequest.java
@@ -0,0 +1,345 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.requests;
+
+import com.oracle.bmc.bds.model.*;
+/**
+ * Example: Click here to see how to use BackupNodeRequest.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class BackupNodeRequest
+ extends com.oracle.bmc.requests.BmcRequest {
+
+ /** The OCID of the cluster. */
+ private String bdsInstanceId;
+
+ /** The OCID of the cluster. */
+ public String getBdsInstanceId() {
+ return bdsInstanceId;
+ }
+ /** Details for Taking the node's backup */
+ private com.oracle.bmc.bds.model.BackupNodeDetails backupNodeDetails;
+
+ /** Details for Taking the node's backup */
+ public com.oracle.bmc.bds.model.BackupNodeDetails getBackupNodeDetails() {
+ return backupNodeDetails;
+ }
+ /** The client request ID for tracing. */
+ private String opcRequestId;
+
+ /** The client request ID for tracing. */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+ /**
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code
+ * if-match} parameter to the value of the etag from a previous GET or POST response for that
+ * resource. The resource will be updated or deleted only if the etag you provide matches the
+ * resource's current etag value.
+ */
+ private String ifMatch;
+
+ /**
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code
+ * if-match} parameter to the value of the etag from a previous GET or POST response for that
+ * resource. The resource will be updated or deleted only if the etag you provide matches the
+ * resource's current etag value.
+ */
+ public String getIfMatch() {
+ return ifMatch;
+ }
+ /**
+ * 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 might 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 might be rejected.
+ */
+ public String getOpcRetryToken() {
+ return opcRetryToken;
+ }
+
+ /**
+ * Alternative accessor for the body parameter.
+ *
+ * @return body parameter
+ */
+ @Override
+ @com.oracle.bmc.InternalSdk
+ public com.oracle.bmc.bds.model.BackupNodeDetails getBody$() {
+ return backupNodeDetails;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.requests.BmcRequest.Builder<
+ BackupNodeRequest, com.oracle.bmc.bds.model.BackupNodeDetails> {
+ private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null;
+ private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null;
+
+ /** The OCID of the cluster. */
+ private String bdsInstanceId = null;
+
+ /**
+ * The OCID of the cluster.
+ *
+ * @param bdsInstanceId the value to set
+ * @return this builder instance
+ */
+ public Builder bdsInstanceId(String bdsInstanceId) {
+ this.bdsInstanceId = bdsInstanceId;
+ return this;
+ }
+
+ /** Details for Taking the node's backup */
+ private com.oracle.bmc.bds.model.BackupNodeDetails backupNodeDetails = null;
+
+ /**
+ * Details for Taking the node's backup
+ *
+ * @param backupNodeDetails the value to set
+ * @return this builder instance
+ */
+ public Builder backupNodeDetails(
+ com.oracle.bmc.bds.model.BackupNodeDetails backupNodeDetails) {
+ this.backupNodeDetails = backupNodeDetails;
+ return this;
+ }
+
+ /** The client request ID for tracing. */
+ private String opcRequestId = null;
+
+ /**
+ * The client request ID for tracing.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder instance
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /**
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
+ * {@code if-match} parameter to the value of the etag from a previous GET or POST response
+ * for that resource. The resource will be updated or deleted only if the etag you provide
+ * matches the resource's current etag value.
+ */
+ private String ifMatch = null;
+
+ /**
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
+ * {@code if-match} parameter to the value of the etag from a previous GET or POST response
+ * for that resource. The resource will be updated or deleted only if the etag you provide
+ * matches the resource's current etag value.
+ *
+ * @param ifMatch the value to set
+ * @return this builder instance
+ */
+ public Builder ifMatch(String ifMatch) {
+ this.ifMatch = ifMatch;
+ return this;
+ }
+
+ /**
+ * 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 might 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 might be rejected.
+ *
+ * @param opcRetryToken the value to set
+ * @return this builder instance
+ */
+ public Builder opcRetryToken(String opcRetryToken) {
+ this.opcRetryToken = opcRetryToken;
+ 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(BackupNodeRequest o) {
+ bdsInstanceId(o.getBdsInstanceId());
+ backupNodeDetails(o.getBackupNodeDetails());
+ opcRequestId(o.getOpcRequestId());
+ ifMatch(o.getIfMatch());
+ opcRetryToken(o.getOpcRetryToken());
+ invocationCallback(o.getInvocationCallback());
+ retryConfiguration(o.getRetryConfiguration());
+ return this;
+ }
+
+ /**
+ * Build the instance of BackupNodeRequest 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 BackupNodeRequest
+ */
+ public BackupNodeRequest build() {
+ BackupNodeRequest 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.bds.model.BackupNodeDetails body) {
+ backupNodeDetails(body);
+ return this;
+ }
+
+ /**
+ * Build the instance of BackupNodeRequest 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 BackupNodeRequest
+ */
+ public BackupNodeRequest buildWithoutInvocationCallback() {
+ BackupNodeRequest request = new BackupNodeRequest();
+ request.bdsInstanceId = bdsInstanceId;
+ request.backupNodeDetails = backupNodeDetails;
+ request.opcRequestId = opcRequestId;
+ request.ifMatch = ifMatch;
+ request.opcRetryToken = opcRetryToken;
+ return request;
+ // new BackupNodeRequest(bdsInstanceId, backupNodeDetails, opcRequestId, ifMatch,
+ // opcRetryToken);
+ }
+ }
+
+ /**
+ * 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()
+ .bdsInstanceId(bdsInstanceId)
+ .backupNodeDetails(backupNodeDetails)
+ .opcRequestId(opcRequestId)
+ .ifMatch(ifMatch)
+ .opcRetryToken(opcRetryToken);
+ }
+
+ /**
+ * 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(",bdsInstanceId=").append(String.valueOf(this.bdsInstanceId));
+ sb.append(",backupNodeDetails=").append(String.valueOf(this.backupNodeDetails));
+ sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId));
+ sb.append(",ifMatch=").append(String.valueOf(this.ifMatch));
+ sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof BackupNodeRequest)) {
+ return false;
+ }
+
+ BackupNodeRequest other = (BackupNodeRequest) o;
+ return super.equals(o)
+ && java.util.Objects.equals(this.bdsInstanceId, other.bdsInstanceId)
+ && java.util.Objects.equals(this.backupNodeDetails, other.backupNodeDetails)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId)
+ && java.util.Objects.equals(this.ifMatch, other.ifMatch)
+ && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.bdsInstanceId == null ? 43 : this.bdsInstanceId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.backupNodeDetails == null ? 43 : this.backupNodeDetails.hashCode());
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode());
+ result =
+ (result * PRIME)
+ + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/CreateNodeBackupConfigurationRequest.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/CreateNodeBackupConfigurationRequest.java
new file mode 100644
index 00000000000..088cbedb77d
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/CreateNodeBackupConfigurationRequest.java
@@ -0,0 +1,313 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.requests;
+
+import com.oracle.bmc.bds.model.*;
+/**
+ * Example: Click here to see how to use
+ * CreateNodeBackupConfigurationRequest.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class CreateNodeBackupConfigurationRequest
+ extends com.oracle.bmc.requests.BmcRequest<
+ com.oracle.bmc.bds.model.CreateNodeBackupConfigurationDetails> {
+
+ /** The OCID of the cluster. */
+ private String bdsInstanceId;
+
+ /** The OCID of the cluster. */
+ public String getBdsInstanceId() {
+ return bdsInstanceId;
+ }
+ /** Details for adding nodeBackupConfiguration to the BDS cluster. */
+ private com.oracle.bmc.bds.model.CreateNodeBackupConfigurationDetails
+ createNodeBackupConfigurationDetails;
+
+ /** Details for adding nodeBackupConfiguration to the BDS cluster. */
+ public com.oracle.bmc.bds.model.CreateNodeBackupConfigurationDetails
+ getCreateNodeBackupConfigurationDetails() {
+ return createNodeBackupConfigurationDetails;
+ }
+ /** The client request ID for tracing. */
+ private String opcRequestId;
+
+ /** The client request ID for tracing. */
+ 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 might 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 might be rejected.
+ */
+ public String getOpcRetryToken() {
+ return opcRetryToken;
+ }
+
+ /**
+ * Alternative accessor for the body parameter.
+ *
+ * @return body parameter
+ */
+ @Override
+ @com.oracle.bmc.InternalSdk
+ public com.oracle.bmc.bds.model.CreateNodeBackupConfigurationDetails getBody$() {
+ return createNodeBackupConfigurationDetails;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.requests.BmcRequest.Builder<
+ CreateNodeBackupConfigurationRequest,
+ com.oracle.bmc.bds.model.CreateNodeBackupConfigurationDetails> {
+ private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null;
+ private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null;
+
+ /** The OCID of the cluster. */
+ private String bdsInstanceId = null;
+
+ /**
+ * The OCID of the cluster.
+ *
+ * @param bdsInstanceId the value to set
+ * @return this builder instance
+ */
+ public Builder bdsInstanceId(String bdsInstanceId) {
+ this.bdsInstanceId = bdsInstanceId;
+ return this;
+ }
+
+ /** Details for adding nodeBackupConfiguration to the BDS cluster. */
+ private com.oracle.bmc.bds.model.CreateNodeBackupConfigurationDetails
+ createNodeBackupConfigurationDetails = null;
+
+ /**
+ * Details for adding nodeBackupConfiguration to the BDS cluster.
+ *
+ * @param createNodeBackupConfigurationDetails the value to set
+ * @return this builder instance
+ */
+ public Builder createNodeBackupConfigurationDetails(
+ com.oracle.bmc.bds.model.CreateNodeBackupConfigurationDetails
+ createNodeBackupConfigurationDetails) {
+ this.createNodeBackupConfigurationDetails = createNodeBackupConfigurationDetails;
+ return this;
+ }
+
+ /** The client request ID for tracing. */
+ private String opcRequestId = null;
+
+ /**
+ * The client request ID for tracing.
+ *
+ * @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 might 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 might be rejected.
+ *
+ * @param opcRetryToken the value to set
+ * @return this builder instance
+ */
+ public Builder opcRetryToken(String opcRetryToken) {
+ this.opcRetryToken = opcRetryToken;
+ 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(CreateNodeBackupConfigurationRequest o) {
+ bdsInstanceId(o.getBdsInstanceId());
+ createNodeBackupConfigurationDetails(o.getCreateNodeBackupConfigurationDetails());
+ opcRequestId(o.getOpcRequestId());
+ opcRetryToken(o.getOpcRetryToken());
+ invocationCallback(o.getInvocationCallback());
+ retryConfiguration(o.getRetryConfiguration());
+ return this;
+ }
+
+ /**
+ * Build the instance of CreateNodeBackupConfigurationRequest 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 CreateNodeBackupConfigurationRequest
+ */
+ public CreateNodeBackupConfigurationRequest build() {
+ CreateNodeBackupConfigurationRequest 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.bds.model.CreateNodeBackupConfigurationDetails body) {
+ createNodeBackupConfigurationDetails(body);
+ return this;
+ }
+
+ /**
+ * Build the instance of CreateNodeBackupConfigurationRequest 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 CreateNodeBackupConfigurationRequest
+ */
+ public CreateNodeBackupConfigurationRequest buildWithoutInvocationCallback() {
+ CreateNodeBackupConfigurationRequest request =
+ new CreateNodeBackupConfigurationRequest();
+ request.bdsInstanceId = bdsInstanceId;
+ request.createNodeBackupConfigurationDetails = createNodeBackupConfigurationDetails;
+ request.opcRequestId = opcRequestId;
+ request.opcRetryToken = opcRetryToken;
+ return request;
+ // new CreateNodeBackupConfigurationRequest(bdsInstanceId,
+ // createNodeBackupConfigurationDetails, opcRequestId, opcRetryToken);
+ }
+ }
+
+ /**
+ * 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()
+ .bdsInstanceId(bdsInstanceId)
+ .createNodeBackupConfigurationDetails(createNodeBackupConfigurationDetails)
+ .opcRequestId(opcRequestId)
+ .opcRetryToken(opcRetryToken);
+ }
+
+ /**
+ * 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(",bdsInstanceId=").append(String.valueOf(this.bdsInstanceId));
+ sb.append(",createNodeBackupConfigurationDetails=")
+ .append(String.valueOf(this.createNodeBackupConfigurationDetails));
+ sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId));
+ sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof CreateNodeBackupConfigurationRequest)) {
+ return false;
+ }
+
+ CreateNodeBackupConfigurationRequest other = (CreateNodeBackupConfigurationRequest) o;
+ return super.equals(o)
+ && java.util.Objects.equals(this.bdsInstanceId, other.bdsInstanceId)
+ && java.util.Objects.equals(
+ this.createNodeBackupConfigurationDetails,
+ other.createNodeBackupConfigurationDetails)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId)
+ && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.bdsInstanceId == null ? 43 : this.bdsInstanceId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.createNodeBackupConfigurationDetails == null
+ ? 43
+ : this.createNodeBackupConfigurationDetails.hashCode());
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/CreateNodeReplaceConfigurationRequest.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/CreateNodeReplaceConfigurationRequest.java
new file mode 100644
index 00000000000..145de022c31
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/CreateNodeReplaceConfigurationRequest.java
@@ -0,0 +1,313 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.requests;
+
+import com.oracle.bmc.bds.model.*;
+/**
+ * Example: Click here to see how to use
+ * CreateNodeReplaceConfigurationRequest.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class CreateNodeReplaceConfigurationRequest
+ extends com.oracle.bmc.requests.BmcRequest<
+ com.oracle.bmc.bds.model.CreateNodeReplaceConfigurationDetails> {
+
+ /** The OCID of the cluster. */
+ private String bdsInstanceId;
+
+ /** The OCID of the cluster. */
+ public String getBdsInstanceId() {
+ return bdsInstanceId;
+ }
+ /** Details for adding nodeReplaceConfiguration to the BDS cluster. */
+ private com.oracle.bmc.bds.model.CreateNodeReplaceConfigurationDetails
+ createNodeReplaceConfigurationDetails;
+
+ /** Details for adding nodeReplaceConfiguration to the BDS cluster. */
+ public com.oracle.bmc.bds.model.CreateNodeReplaceConfigurationDetails
+ getCreateNodeReplaceConfigurationDetails() {
+ return createNodeReplaceConfigurationDetails;
+ }
+ /** The client request ID for tracing. */
+ private String opcRequestId;
+
+ /** The client request ID for tracing. */
+ 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 might 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 might be rejected.
+ */
+ public String getOpcRetryToken() {
+ return opcRetryToken;
+ }
+
+ /**
+ * Alternative accessor for the body parameter.
+ *
+ * @return body parameter
+ */
+ @Override
+ @com.oracle.bmc.InternalSdk
+ public com.oracle.bmc.bds.model.CreateNodeReplaceConfigurationDetails getBody$() {
+ return createNodeReplaceConfigurationDetails;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.requests.BmcRequest.Builder<
+ CreateNodeReplaceConfigurationRequest,
+ com.oracle.bmc.bds.model.CreateNodeReplaceConfigurationDetails> {
+ private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null;
+ private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null;
+
+ /** The OCID of the cluster. */
+ private String bdsInstanceId = null;
+
+ /**
+ * The OCID of the cluster.
+ *
+ * @param bdsInstanceId the value to set
+ * @return this builder instance
+ */
+ public Builder bdsInstanceId(String bdsInstanceId) {
+ this.bdsInstanceId = bdsInstanceId;
+ return this;
+ }
+
+ /** Details for adding nodeReplaceConfiguration to the BDS cluster. */
+ private com.oracle.bmc.bds.model.CreateNodeReplaceConfigurationDetails
+ createNodeReplaceConfigurationDetails = null;
+
+ /**
+ * Details for adding nodeReplaceConfiguration to the BDS cluster.
+ *
+ * @param createNodeReplaceConfigurationDetails the value to set
+ * @return this builder instance
+ */
+ public Builder createNodeReplaceConfigurationDetails(
+ com.oracle.bmc.bds.model.CreateNodeReplaceConfigurationDetails
+ createNodeReplaceConfigurationDetails) {
+ this.createNodeReplaceConfigurationDetails = createNodeReplaceConfigurationDetails;
+ return this;
+ }
+
+ /** The client request ID for tracing. */
+ private String opcRequestId = null;
+
+ /**
+ * The client request ID for tracing.
+ *
+ * @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 might 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 might be rejected.
+ *
+ * @param opcRetryToken the value to set
+ * @return this builder instance
+ */
+ public Builder opcRetryToken(String opcRetryToken) {
+ this.opcRetryToken = opcRetryToken;
+ 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(CreateNodeReplaceConfigurationRequest o) {
+ bdsInstanceId(o.getBdsInstanceId());
+ createNodeReplaceConfigurationDetails(o.getCreateNodeReplaceConfigurationDetails());
+ opcRequestId(o.getOpcRequestId());
+ opcRetryToken(o.getOpcRetryToken());
+ invocationCallback(o.getInvocationCallback());
+ retryConfiguration(o.getRetryConfiguration());
+ return this;
+ }
+
+ /**
+ * Build the instance of CreateNodeReplaceConfigurationRequest 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 CreateNodeReplaceConfigurationRequest
+ */
+ public CreateNodeReplaceConfigurationRequest build() {
+ CreateNodeReplaceConfigurationRequest 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.bds.model.CreateNodeReplaceConfigurationDetails body) {
+ createNodeReplaceConfigurationDetails(body);
+ return this;
+ }
+
+ /**
+ * Build the instance of CreateNodeReplaceConfigurationRequest 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 CreateNodeReplaceConfigurationRequest
+ */
+ public CreateNodeReplaceConfigurationRequest buildWithoutInvocationCallback() {
+ CreateNodeReplaceConfigurationRequest request =
+ new CreateNodeReplaceConfigurationRequest();
+ request.bdsInstanceId = bdsInstanceId;
+ request.createNodeReplaceConfigurationDetails = createNodeReplaceConfigurationDetails;
+ request.opcRequestId = opcRequestId;
+ request.opcRetryToken = opcRetryToken;
+ return request;
+ // new CreateNodeReplaceConfigurationRequest(bdsInstanceId,
+ // createNodeReplaceConfigurationDetails, opcRequestId, opcRetryToken);
+ }
+ }
+
+ /**
+ * 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()
+ .bdsInstanceId(bdsInstanceId)
+ .createNodeReplaceConfigurationDetails(createNodeReplaceConfigurationDetails)
+ .opcRequestId(opcRequestId)
+ .opcRetryToken(opcRetryToken);
+ }
+
+ /**
+ * 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(",bdsInstanceId=").append(String.valueOf(this.bdsInstanceId));
+ sb.append(",createNodeReplaceConfigurationDetails=")
+ .append(String.valueOf(this.createNodeReplaceConfigurationDetails));
+ sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId));
+ sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof CreateNodeReplaceConfigurationRequest)) {
+ return false;
+ }
+
+ CreateNodeReplaceConfigurationRequest other = (CreateNodeReplaceConfigurationRequest) o;
+ return super.equals(o)
+ && java.util.Objects.equals(this.bdsInstanceId, other.bdsInstanceId)
+ && java.util.Objects.equals(
+ this.createNodeReplaceConfigurationDetails,
+ other.createNodeReplaceConfigurationDetails)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId)
+ && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.bdsInstanceId == null ? 43 : this.bdsInstanceId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.createNodeReplaceConfigurationDetails == null
+ ? 43
+ : this.createNodeReplaceConfigurationDetails.hashCode());
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/DeleteNodeBackupConfigurationRequest.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/DeleteNodeBackupConfigurationRequest.java
new file mode 100644
index 00000000000..93320d5f8e4
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/DeleteNodeBackupConfigurationRequest.java
@@ -0,0 +1,276 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.requests;
+
+import com.oracle.bmc.bds.model.*;
+/**
+ * Example: Click here to see how to use
+ * DeleteNodeBackupConfigurationRequest.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class DeleteNodeBackupConfigurationRequest
+ extends com.oracle.bmc.requests.BmcRequest {
+
+ /** The OCID of the cluster. */
+ private String bdsInstanceId;
+
+ /** The OCID of the cluster. */
+ public String getBdsInstanceId() {
+ return bdsInstanceId;
+ }
+ /** Unique Oracle-assigned identifier of the NodeBackupConfiguration. */
+ private String nodeBackupConfigurationId;
+
+ /** Unique Oracle-assigned identifier of the NodeBackupConfiguration. */
+ public String getNodeBackupConfigurationId() {
+ return nodeBackupConfigurationId;
+ }
+ /** The client request ID for tracing. */
+ private String opcRequestId;
+
+ /** The client request ID for tracing. */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+ /**
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code
+ * if-match} parameter to the value of the etag from a previous GET or POST response for that
+ * resource. The resource will be updated or deleted only if the etag you provide matches the
+ * resource's current etag value.
+ */
+ private String ifMatch;
+
+ /**
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code
+ * if-match} parameter to the value of the etag from a previous GET or POST response for that
+ * resource. The resource will be updated or deleted only if the etag you provide matches the
+ * resource's current etag value.
+ */
+ public String getIfMatch() {
+ return ifMatch;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.requests.BmcRequest.Builder<
+ DeleteNodeBackupConfigurationRequest, java.lang.Void> {
+ private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null;
+ private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null;
+
+ /** The OCID of the cluster. */
+ private String bdsInstanceId = null;
+
+ /**
+ * The OCID of the cluster.
+ *
+ * @param bdsInstanceId the value to set
+ * @return this builder instance
+ */
+ public Builder bdsInstanceId(String bdsInstanceId) {
+ this.bdsInstanceId = bdsInstanceId;
+ return this;
+ }
+
+ /** Unique Oracle-assigned identifier of the NodeBackupConfiguration. */
+ private String nodeBackupConfigurationId = null;
+
+ /**
+ * Unique Oracle-assigned identifier of the NodeBackupConfiguration.
+ *
+ * @param nodeBackupConfigurationId the value to set
+ * @return this builder instance
+ */
+ public Builder nodeBackupConfigurationId(String nodeBackupConfigurationId) {
+ this.nodeBackupConfigurationId = nodeBackupConfigurationId;
+ return this;
+ }
+
+ /** The client request ID for tracing. */
+ private String opcRequestId = null;
+
+ /**
+ * The client request ID for tracing.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder instance
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /**
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
+ * {@code if-match} parameter to the value of the etag from a previous GET or POST response
+ * for that resource. The resource will be updated or deleted only if the etag you provide
+ * matches the resource's current etag value.
+ */
+ private String ifMatch = null;
+
+ /**
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
+ * {@code if-match} parameter to the value of the etag from a previous GET or POST response
+ * for that resource. The resource will be updated or deleted only if the etag you provide
+ * matches the resource's current etag value.
+ *
+ * @param ifMatch the value to set
+ * @return this builder instance
+ */
+ public Builder ifMatch(String ifMatch) {
+ this.ifMatch = ifMatch;
+ return this;
+ }
+
+ /**
+ * Set the invocation callback for the request to be built.
+ *
+ * @param invocationCallback the invocation callback to be set for the request
+ * @return this builder instance
+ */
+ public Builder invocationCallback(
+ com.oracle.bmc.http.client.RequestInterceptor invocationCallback) {
+ this.invocationCallback = invocationCallback;
+ return this;
+ }
+
+ /**
+ * Set the retry configuration for the request to be built.
+ *
+ * @param retryConfiguration the retry configuration to be used for the request
+ * @return this builder instance
+ */
+ public Builder retryConfiguration(
+ com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) {
+ this.retryConfiguration = retryConfiguration;
+ return this;
+ }
+
+ /**
+ * Copy method to populate the builder with values from the given instance.
+ *
+ * @return this builder instance
+ */
+ public Builder copy(DeleteNodeBackupConfigurationRequest o) {
+ bdsInstanceId(o.getBdsInstanceId());
+ nodeBackupConfigurationId(o.getNodeBackupConfigurationId());
+ opcRequestId(o.getOpcRequestId());
+ ifMatch(o.getIfMatch());
+ invocationCallback(o.getInvocationCallback());
+ retryConfiguration(o.getRetryConfiguration());
+ return this;
+ }
+
+ /**
+ * Build the instance of DeleteNodeBackupConfigurationRequest 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 DeleteNodeBackupConfigurationRequest
+ */
+ public DeleteNodeBackupConfigurationRequest build() {
+ DeleteNodeBackupConfigurationRequest request = buildWithoutInvocationCallback();
+ request.setInvocationCallback(invocationCallback);
+ request.setRetryConfiguration(retryConfiguration);
+ return request;
+ }
+
+ /**
+ * Build the instance of DeleteNodeBackupConfigurationRequest 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 DeleteNodeBackupConfigurationRequest
+ */
+ public DeleteNodeBackupConfigurationRequest buildWithoutInvocationCallback() {
+ DeleteNodeBackupConfigurationRequest request =
+ new DeleteNodeBackupConfigurationRequest();
+ request.bdsInstanceId = bdsInstanceId;
+ request.nodeBackupConfigurationId = nodeBackupConfigurationId;
+ request.opcRequestId = opcRequestId;
+ request.ifMatch = ifMatch;
+ return request;
+ // new DeleteNodeBackupConfigurationRequest(bdsInstanceId, nodeBackupConfigurationId,
+ // opcRequestId, ifMatch);
+ }
+ }
+
+ /**
+ * Return an instance of {@link Builder} that allows you to modify request properties.
+ *
+ * @return instance of {@link Builder} that allows you to modify request properties.
+ */
+ public Builder toBuilder() {
+ return new Builder()
+ .bdsInstanceId(bdsInstanceId)
+ .nodeBackupConfigurationId(nodeBackupConfigurationId)
+ .opcRequestId(opcRequestId)
+ .ifMatch(ifMatch);
+ }
+
+ /**
+ * Return a new builder for this request object.
+ *
+ * @return builder for the request object
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ @Override
+ public String toString() {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("(");
+ sb.append("super=").append(super.toString());
+ sb.append(",bdsInstanceId=").append(String.valueOf(this.bdsInstanceId));
+ sb.append(",nodeBackupConfigurationId=")
+ .append(String.valueOf(this.nodeBackupConfigurationId));
+ sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId));
+ sb.append(",ifMatch=").append(String.valueOf(this.ifMatch));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof DeleteNodeBackupConfigurationRequest)) {
+ return false;
+ }
+
+ DeleteNodeBackupConfigurationRequest other = (DeleteNodeBackupConfigurationRequest) o;
+ return super.equals(o)
+ && java.util.Objects.equals(this.bdsInstanceId, other.bdsInstanceId)
+ && java.util.Objects.equals(
+ this.nodeBackupConfigurationId, other.nodeBackupConfigurationId)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId)
+ && java.util.Objects.equals(this.ifMatch, other.ifMatch);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.bdsInstanceId == null ? 43 : this.bdsInstanceId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.nodeBackupConfigurationId == null
+ ? 43
+ : this.nodeBackupConfigurationId.hashCode());
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/DeleteNodeBackupRequest.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/DeleteNodeBackupRequest.java
new file mode 100644
index 00000000000..d83ba9ee4ca
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/DeleteNodeBackupRequest.java
@@ -0,0 +1,266 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.requests;
+
+import com.oracle.bmc.bds.model.*;
+/**
+ * Example: Click here to see how to use DeleteNodeBackupRequest.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class DeleteNodeBackupRequest extends com.oracle.bmc.requests.BmcRequest {
+
+ /** The OCID of the cluster. */
+ private String bdsInstanceId;
+
+ /** The OCID of the cluster. */
+ public String getBdsInstanceId() {
+ return bdsInstanceId;
+ }
+ /** Unique assigned identifier of the nodeBackupId. */
+ private String nodeBackupId;
+
+ /** Unique assigned identifier of the nodeBackupId. */
+ public String getNodeBackupId() {
+ return nodeBackupId;
+ }
+ /** The client request ID for tracing. */
+ private String opcRequestId;
+
+ /** The client request ID for tracing. */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+ /**
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code
+ * if-match} parameter to the value of the etag from a previous GET or POST response for that
+ * resource. The resource will be updated or deleted only if the etag you provide matches the
+ * resource's current etag value.
+ */
+ private String ifMatch;
+
+ /**
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code
+ * if-match} parameter to the value of the etag from a previous GET or POST response for that
+ * resource. The resource will be updated or deleted only if the etag you provide matches the
+ * resource's current etag value.
+ */
+ public String getIfMatch() {
+ return ifMatch;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.requests.BmcRequest.Builder<
+ DeleteNodeBackupRequest, java.lang.Void> {
+ private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null;
+ private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null;
+
+ /** The OCID of the cluster. */
+ private String bdsInstanceId = null;
+
+ /**
+ * The OCID of the cluster.
+ *
+ * @param bdsInstanceId the value to set
+ * @return this builder instance
+ */
+ public Builder bdsInstanceId(String bdsInstanceId) {
+ this.bdsInstanceId = bdsInstanceId;
+ return this;
+ }
+
+ /** Unique assigned identifier of the nodeBackupId. */
+ private String nodeBackupId = null;
+
+ /**
+ * Unique assigned identifier of the nodeBackupId.
+ *
+ * @param nodeBackupId the value to set
+ * @return this builder instance
+ */
+ public Builder nodeBackupId(String nodeBackupId) {
+ this.nodeBackupId = nodeBackupId;
+ return this;
+ }
+
+ /** The client request ID for tracing. */
+ private String opcRequestId = null;
+
+ /**
+ * The client request ID for tracing.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder instance
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /**
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
+ * {@code if-match} parameter to the value of the etag from a previous GET or POST response
+ * for that resource. The resource will be updated or deleted only if the etag you provide
+ * matches the resource's current etag value.
+ */
+ private String ifMatch = null;
+
+ /**
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
+ * {@code if-match} parameter to the value of the etag from a previous GET or POST response
+ * for that resource. The resource will be updated or deleted only if the etag you provide
+ * matches the resource's current etag value.
+ *
+ * @param ifMatch the value to set
+ * @return this builder instance
+ */
+ public Builder ifMatch(String ifMatch) {
+ this.ifMatch = ifMatch;
+ return this;
+ }
+
+ /**
+ * Set the invocation callback for the request to be built.
+ *
+ * @param invocationCallback the invocation callback to be set for the request
+ * @return this builder instance
+ */
+ public Builder invocationCallback(
+ com.oracle.bmc.http.client.RequestInterceptor invocationCallback) {
+ this.invocationCallback = invocationCallback;
+ return this;
+ }
+
+ /**
+ * Set the retry configuration for the request to be built.
+ *
+ * @param retryConfiguration the retry configuration to be used for the request
+ * @return this builder instance
+ */
+ public Builder retryConfiguration(
+ com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) {
+ this.retryConfiguration = retryConfiguration;
+ return this;
+ }
+
+ /**
+ * Copy method to populate the builder with values from the given instance.
+ *
+ * @return this builder instance
+ */
+ public Builder copy(DeleteNodeBackupRequest o) {
+ bdsInstanceId(o.getBdsInstanceId());
+ nodeBackupId(o.getNodeBackupId());
+ opcRequestId(o.getOpcRequestId());
+ ifMatch(o.getIfMatch());
+ invocationCallback(o.getInvocationCallback());
+ retryConfiguration(o.getRetryConfiguration());
+ return this;
+ }
+
+ /**
+ * Build the instance of DeleteNodeBackupRequest 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 DeleteNodeBackupRequest
+ */
+ public DeleteNodeBackupRequest build() {
+ DeleteNodeBackupRequest request = buildWithoutInvocationCallback();
+ request.setInvocationCallback(invocationCallback);
+ request.setRetryConfiguration(retryConfiguration);
+ return request;
+ }
+
+ /**
+ * Build the instance of DeleteNodeBackupRequest 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 DeleteNodeBackupRequest
+ */
+ public DeleteNodeBackupRequest buildWithoutInvocationCallback() {
+ DeleteNodeBackupRequest request = new DeleteNodeBackupRequest();
+ request.bdsInstanceId = bdsInstanceId;
+ request.nodeBackupId = nodeBackupId;
+ request.opcRequestId = opcRequestId;
+ request.ifMatch = ifMatch;
+ return request;
+ // new DeleteNodeBackupRequest(bdsInstanceId, nodeBackupId, opcRequestId, ifMatch);
+ }
+ }
+
+ /**
+ * Return an instance of {@link Builder} that allows you to modify request properties.
+ *
+ * @return instance of {@link Builder} that allows you to modify request properties.
+ */
+ public Builder toBuilder() {
+ return new Builder()
+ .bdsInstanceId(bdsInstanceId)
+ .nodeBackupId(nodeBackupId)
+ .opcRequestId(opcRequestId)
+ .ifMatch(ifMatch);
+ }
+
+ /**
+ * Return a new builder for this request object.
+ *
+ * @return builder for the request object
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ @Override
+ public String toString() {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("(");
+ sb.append("super=").append(super.toString());
+ sb.append(",bdsInstanceId=").append(String.valueOf(this.bdsInstanceId));
+ sb.append(",nodeBackupId=").append(String.valueOf(this.nodeBackupId));
+ sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId));
+ sb.append(",ifMatch=").append(String.valueOf(this.ifMatch));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof DeleteNodeBackupRequest)) {
+ return false;
+ }
+
+ DeleteNodeBackupRequest other = (DeleteNodeBackupRequest) o;
+ return super.equals(o)
+ && java.util.Objects.equals(this.bdsInstanceId, other.bdsInstanceId)
+ && java.util.Objects.equals(this.nodeBackupId, other.nodeBackupId)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId)
+ && java.util.Objects.equals(this.ifMatch, other.ifMatch);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.bdsInstanceId == null ? 43 : this.bdsInstanceId.hashCode());
+ result = (result * PRIME) + (this.nodeBackupId == null ? 43 : this.nodeBackupId.hashCode());
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/GetNodeBackupConfigurationRequest.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/GetNodeBackupConfigurationRequest.java
new file mode 100644
index 00000000000..755a000f3fe
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/GetNodeBackupConfigurationRequest.java
@@ -0,0 +1,230 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.requests;
+
+import com.oracle.bmc.bds.model.*;
+/**
+ * Example: Click here to see how to use
+ * GetNodeBackupConfigurationRequest.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class GetNodeBackupConfigurationRequest
+ extends com.oracle.bmc.requests.BmcRequest {
+
+ /** The OCID of the cluster. */
+ private String bdsInstanceId;
+
+ /** The OCID of the cluster. */
+ public String getBdsInstanceId() {
+ return bdsInstanceId;
+ }
+ /** Unique Oracle-assigned identifier of the NodeBackupConfiguration. */
+ private String nodeBackupConfigurationId;
+
+ /** Unique Oracle-assigned identifier of the NodeBackupConfiguration. */
+ public String getNodeBackupConfigurationId() {
+ return nodeBackupConfigurationId;
+ }
+ /** The client request ID for tracing. */
+ private String opcRequestId;
+
+ /** The client request ID for tracing. */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.requests.BmcRequest.Builder<
+ GetNodeBackupConfigurationRequest, java.lang.Void> {
+ private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null;
+ private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null;
+
+ /** The OCID of the cluster. */
+ private String bdsInstanceId = null;
+
+ /**
+ * The OCID of the cluster.
+ *
+ * @param bdsInstanceId the value to set
+ * @return this builder instance
+ */
+ public Builder bdsInstanceId(String bdsInstanceId) {
+ this.bdsInstanceId = bdsInstanceId;
+ return this;
+ }
+
+ /** Unique Oracle-assigned identifier of the NodeBackupConfiguration. */
+ private String nodeBackupConfigurationId = null;
+
+ /**
+ * Unique Oracle-assigned identifier of the NodeBackupConfiguration.
+ *
+ * @param nodeBackupConfigurationId the value to set
+ * @return this builder instance
+ */
+ public Builder nodeBackupConfigurationId(String nodeBackupConfigurationId) {
+ this.nodeBackupConfigurationId = nodeBackupConfigurationId;
+ return this;
+ }
+
+ /** The client request ID for tracing. */
+ private String opcRequestId = null;
+
+ /**
+ * The client request ID for tracing.
+ *
+ * @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(GetNodeBackupConfigurationRequest o) {
+ bdsInstanceId(o.getBdsInstanceId());
+ nodeBackupConfigurationId(o.getNodeBackupConfigurationId());
+ opcRequestId(o.getOpcRequestId());
+ invocationCallback(o.getInvocationCallback());
+ retryConfiguration(o.getRetryConfiguration());
+ return this;
+ }
+
+ /**
+ * Build the instance of GetNodeBackupConfigurationRequest 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 GetNodeBackupConfigurationRequest
+ */
+ public GetNodeBackupConfigurationRequest build() {
+ GetNodeBackupConfigurationRequest request = buildWithoutInvocationCallback();
+ request.setInvocationCallback(invocationCallback);
+ request.setRetryConfiguration(retryConfiguration);
+ return request;
+ }
+
+ /**
+ * Build the instance of GetNodeBackupConfigurationRequest 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 GetNodeBackupConfigurationRequest
+ */
+ public GetNodeBackupConfigurationRequest buildWithoutInvocationCallback() {
+ GetNodeBackupConfigurationRequest request = new GetNodeBackupConfigurationRequest();
+ request.bdsInstanceId = bdsInstanceId;
+ request.nodeBackupConfigurationId = nodeBackupConfigurationId;
+ request.opcRequestId = opcRequestId;
+ return request;
+ // new GetNodeBackupConfigurationRequest(bdsInstanceId, nodeBackupConfigurationId,
+ // 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()
+ .bdsInstanceId(bdsInstanceId)
+ .nodeBackupConfigurationId(nodeBackupConfigurationId)
+ .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(",bdsInstanceId=").append(String.valueOf(this.bdsInstanceId));
+ sb.append(",nodeBackupConfigurationId=")
+ .append(String.valueOf(this.nodeBackupConfigurationId));
+ 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 GetNodeBackupConfigurationRequest)) {
+ return false;
+ }
+
+ GetNodeBackupConfigurationRequest other = (GetNodeBackupConfigurationRequest) o;
+ return super.equals(o)
+ && java.util.Objects.equals(this.bdsInstanceId, other.bdsInstanceId)
+ && java.util.Objects.equals(
+ this.nodeBackupConfigurationId, other.nodeBackupConfigurationId)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.bdsInstanceId == null ? 43 : this.bdsInstanceId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.nodeBackupConfigurationId == null
+ ? 43
+ : this.nodeBackupConfigurationId.hashCode());
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/GetNodeBackupRequest.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/GetNodeBackupRequest.java
new file mode 100644
index 00000000000..25ced99b75e
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/GetNodeBackupRequest.java
@@ -0,0 +1,221 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.requests;
+
+import com.oracle.bmc.bds.model.*;
+/**
+ * Example: Click here to see how to use GetNodeBackupRequest.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class GetNodeBackupRequest extends com.oracle.bmc.requests.BmcRequest {
+
+ /** The OCID of the cluster. */
+ private String bdsInstanceId;
+
+ /** The OCID of the cluster. */
+ public String getBdsInstanceId() {
+ return bdsInstanceId;
+ }
+ /** Unique assigned identifier of the nodeBackupId. */
+ private String nodeBackupId;
+
+ /** Unique assigned identifier of the nodeBackupId. */
+ public String getNodeBackupId() {
+ return nodeBackupId;
+ }
+ /** The client request ID for tracing. */
+ private String opcRequestId;
+
+ /** The client request ID for tracing. */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.requests.BmcRequest.Builder<
+ GetNodeBackupRequest, java.lang.Void> {
+ private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null;
+ private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null;
+
+ /** The OCID of the cluster. */
+ private String bdsInstanceId = null;
+
+ /**
+ * The OCID of the cluster.
+ *
+ * @param bdsInstanceId the value to set
+ * @return this builder instance
+ */
+ public Builder bdsInstanceId(String bdsInstanceId) {
+ this.bdsInstanceId = bdsInstanceId;
+ return this;
+ }
+
+ /** Unique assigned identifier of the nodeBackupId. */
+ private String nodeBackupId = null;
+
+ /**
+ * Unique assigned identifier of the nodeBackupId.
+ *
+ * @param nodeBackupId the value to set
+ * @return this builder instance
+ */
+ public Builder nodeBackupId(String nodeBackupId) {
+ this.nodeBackupId = nodeBackupId;
+ return this;
+ }
+
+ /** The client request ID for tracing. */
+ private String opcRequestId = null;
+
+ /**
+ * The client request ID for tracing.
+ *
+ * @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(GetNodeBackupRequest o) {
+ bdsInstanceId(o.getBdsInstanceId());
+ nodeBackupId(o.getNodeBackupId());
+ opcRequestId(o.getOpcRequestId());
+ invocationCallback(o.getInvocationCallback());
+ retryConfiguration(o.getRetryConfiguration());
+ return this;
+ }
+
+ /**
+ * Build the instance of GetNodeBackupRequest 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 GetNodeBackupRequest
+ */
+ public GetNodeBackupRequest build() {
+ GetNodeBackupRequest request = buildWithoutInvocationCallback();
+ request.setInvocationCallback(invocationCallback);
+ request.setRetryConfiguration(retryConfiguration);
+ return request;
+ }
+
+ /**
+ * Build the instance of GetNodeBackupRequest 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 GetNodeBackupRequest
+ */
+ public GetNodeBackupRequest buildWithoutInvocationCallback() {
+ GetNodeBackupRequest request = new GetNodeBackupRequest();
+ request.bdsInstanceId = bdsInstanceId;
+ request.nodeBackupId = nodeBackupId;
+ request.opcRequestId = opcRequestId;
+ return request;
+ // new GetNodeBackupRequest(bdsInstanceId, nodeBackupId, 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()
+ .bdsInstanceId(bdsInstanceId)
+ .nodeBackupId(nodeBackupId)
+ .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(",bdsInstanceId=").append(String.valueOf(this.bdsInstanceId));
+ sb.append(",nodeBackupId=").append(String.valueOf(this.nodeBackupId));
+ 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 GetNodeBackupRequest)) {
+ return false;
+ }
+
+ GetNodeBackupRequest other = (GetNodeBackupRequest) o;
+ return super.equals(o)
+ && java.util.Objects.equals(this.bdsInstanceId, other.bdsInstanceId)
+ && java.util.Objects.equals(this.nodeBackupId, other.nodeBackupId)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.bdsInstanceId == null ? 43 : this.bdsInstanceId.hashCode());
+ result = (result * PRIME) + (this.nodeBackupId == null ? 43 : this.nodeBackupId.hashCode());
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/GetNodeReplaceConfigurationRequest.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/GetNodeReplaceConfigurationRequest.java
new file mode 100644
index 00000000000..5484cba2e8c
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/GetNodeReplaceConfigurationRequest.java
@@ -0,0 +1,230 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.requests;
+
+import com.oracle.bmc.bds.model.*;
+/**
+ * Example: Click here to see how to use
+ * GetNodeReplaceConfigurationRequest.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class GetNodeReplaceConfigurationRequest
+ extends com.oracle.bmc.requests.BmcRequest {
+
+ /** The OCID of the cluster. */
+ private String bdsInstanceId;
+
+ /** The OCID of the cluster. */
+ public String getBdsInstanceId() {
+ return bdsInstanceId;
+ }
+ /** Unique Oracle-assigned identifier of the NodeReplaceConfiguration. */
+ private String nodeReplaceConfigurationId;
+
+ /** Unique Oracle-assigned identifier of the NodeReplaceConfiguration. */
+ public String getNodeReplaceConfigurationId() {
+ return nodeReplaceConfigurationId;
+ }
+ /** The client request ID for tracing. */
+ private String opcRequestId;
+
+ /** The client request ID for tracing. */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.requests.BmcRequest.Builder<
+ GetNodeReplaceConfigurationRequest, java.lang.Void> {
+ private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null;
+ private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null;
+
+ /** The OCID of the cluster. */
+ private String bdsInstanceId = null;
+
+ /**
+ * The OCID of the cluster.
+ *
+ * @param bdsInstanceId the value to set
+ * @return this builder instance
+ */
+ public Builder bdsInstanceId(String bdsInstanceId) {
+ this.bdsInstanceId = bdsInstanceId;
+ return this;
+ }
+
+ /** Unique Oracle-assigned identifier of the NodeReplaceConfiguration. */
+ private String nodeReplaceConfigurationId = null;
+
+ /**
+ * Unique Oracle-assigned identifier of the NodeReplaceConfiguration.
+ *
+ * @param nodeReplaceConfigurationId the value to set
+ * @return this builder instance
+ */
+ public Builder nodeReplaceConfigurationId(String nodeReplaceConfigurationId) {
+ this.nodeReplaceConfigurationId = nodeReplaceConfigurationId;
+ return this;
+ }
+
+ /** The client request ID for tracing. */
+ private String opcRequestId = null;
+
+ /**
+ * The client request ID for tracing.
+ *
+ * @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(GetNodeReplaceConfigurationRequest o) {
+ bdsInstanceId(o.getBdsInstanceId());
+ nodeReplaceConfigurationId(o.getNodeReplaceConfigurationId());
+ opcRequestId(o.getOpcRequestId());
+ invocationCallback(o.getInvocationCallback());
+ retryConfiguration(o.getRetryConfiguration());
+ return this;
+ }
+
+ /**
+ * Build the instance of GetNodeReplaceConfigurationRequest 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 GetNodeReplaceConfigurationRequest
+ */
+ public GetNodeReplaceConfigurationRequest build() {
+ GetNodeReplaceConfigurationRequest request = buildWithoutInvocationCallback();
+ request.setInvocationCallback(invocationCallback);
+ request.setRetryConfiguration(retryConfiguration);
+ return request;
+ }
+
+ /**
+ * Build the instance of GetNodeReplaceConfigurationRequest 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 GetNodeReplaceConfigurationRequest
+ */
+ public GetNodeReplaceConfigurationRequest buildWithoutInvocationCallback() {
+ GetNodeReplaceConfigurationRequest request = new GetNodeReplaceConfigurationRequest();
+ request.bdsInstanceId = bdsInstanceId;
+ request.nodeReplaceConfigurationId = nodeReplaceConfigurationId;
+ request.opcRequestId = opcRequestId;
+ return request;
+ // new GetNodeReplaceConfigurationRequest(bdsInstanceId, nodeReplaceConfigurationId,
+ // 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()
+ .bdsInstanceId(bdsInstanceId)
+ .nodeReplaceConfigurationId(nodeReplaceConfigurationId)
+ .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(",bdsInstanceId=").append(String.valueOf(this.bdsInstanceId));
+ sb.append(",nodeReplaceConfigurationId=")
+ .append(String.valueOf(this.nodeReplaceConfigurationId));
+ 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 GetNodeReplaceConfigurationRequest)) {
+ return false;
+ }
+
+ GetNodeReplaceConfigurationRequest other = (GetNodeReplaceConfigurationRequest) o;
+ return super.equals(o)
+ && java.util.Objects.equals(this.bdsInstanceId, other.bdsInstanceId)
+ && java.util.Objects.equals(
+ this.nodeReplaceConfigurationId, other.nodeReplaceConfigurationId)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.bdsInstanceId == null ? 43 : this.bdsInstanceId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.nodeReplaceConfigurationId == null
+ ? 43
+ : this.nodeReplaceConfigurationId.hashCode());
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/ListNodeBackupConfigurationsRequest.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/ListNodeBackupConfigurationsRequest.java
new file mode 100644
index 00000000000..5c86d964f71
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/ListNodeBackupConfigurationsRequest.java
@@ -0,0 +1,425 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.requests;
+
+import com.oracle.bmc.bds.model.*;
+/**
+ * Example: Click here to see how to use
+ * ListNodeBackupConfigurationsRequest.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class ListNodeBackupConfigurationsRequest
+ extends com.oracle.bmc.requests.BmcRequest {
+
+ /** The OCID of the cluster. */
+ private String bdsInstanceId;
+
+ /** The OCID of the cluster. */
+ public String getBdsInstanceId() {
+ return bdsInstanceId;
+ }
+ /**
+ * The page token representing the page at which to start retrieving results. This is usually
+ * retrieved from a previous list call.
+ */
+ private String page;
+
+ /**
+ * The page token representing the page at which to start retrieving results. This is usually
+ * retrieved from a previous list call.
+ */
+ public String getPage() {
+ return page;
+ }
+ /** The maximum number of items to return. */
+ private Integer limit;
+
+ /** The maximum number of items to return. */
+ public Integer getLimit() {
+ return limit;
+ }
+ /**
+ * The field to sort by. Only one sort order may be provided. Default order for timeCreated is
+ * descending. Default order for displayName is ascending. If no value is specified timeCreated
+ * is default.
+ */
+ private SortBy sortBy;
+
+ /**
+ * The field to sort by. Only one sort order may be provided. Default order for timeCreated is
+ * descending. Default order for displayName is ascending. If no value is specified timeCreated
+ * is default.
+ */
+ 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. Only one sort order may be provided. Default order for timeCreated is
+ * descending. Default order for displayName is ascending. If no value is specified timeCreated
+ * is default.
+ */
+ public SortBy getSortBy() {
+ return sortBy;
+ }
+ /** The sort order to use, either 'asc' or 'desc'. */
+ private com.oracle.bmc.bds.model.SortOrders sortOrder;
+
+ /** The sort order to use, either 'asc' or 'desc'. */
+ public com.oracle.bmc.bds.model.SortOrders getSortOrder() {
+ return sortOrder;
+ }
+ /** A filter to return only resources that match the entire display name given. */
+ private String displayName;
+
+ /** A filter to return only resources that match the entire display name given. */
+ public String getDisplayName() {
+ return displayName;
+ }
+ /** The state of the NodeBackupConfiguration configuration. */
+ private com.oracle.bmc.bds.model.NodeBackupConfiguration.LifecycleState lifecycleState;
+
+ /** The state of the NodeBackupConfiguration configuration. */
+ public com.oracle.bmc.bds.model.NodeBackupConfiguration.LifecycleState getLifecycleState() {
+ return lifecycleState;
+ }
+ /** The client request ID for tracing. */
+ private String opcRequestId;
+
+ /** The client request ID for tracing. */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.requests.BmcRequest.Builder<
+ ListNodeBackupConfigurationsRequest, java.lang.Void> {
+ private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null;
+ private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null;
+
+ /** The OCID of the cluster. */
+ private String bdsInstanceId = null;
+
+ /**
+ * The OCID of the cluster.
+ *
+ * @param bdsInstanceId the value to set
+ * @return this builder instance
+ */
+ public Builder bdsInstanceId(String bdsInstanceId) {
+ this.bdsInstanceId = bdsInstanceId;
+ return this;
+ }
+
+ /**
+ * The page token representing the page at which to start retrieving results. This is
+ * usually retrieved from a previous list call.
+ */
+ private String page = null;
+
+ /**
+ * The page token representing the page at which to start retrieving results. This is
+ * usually retrieved from a previous list call.
+ *
+ * @param page the value to set
+ * @return this builder instance
+ */
+ public Builder page(String page) {
+ this.page = page;
+ return this;
+ }
+
+ /** The maximum number of items to return. */
+ private Integer limit = null;
+
+ /**
+ * The maximum number of items to return.
+ *
+ * @param limit the value to set
+ * @return this builder instance
+ */
+ public Builder limit(Integer limit) {
+ this.limit = limit;
+ return this;
+ }
+
+ /**
+ * The field to sort by. Only one sort order may be provided. Default order for timeCreated
+ * is descending. Default order for displayName is ascending. If no value is specified
+ * timeCreated is default.
+ */
+ private SortBy sortBy = null;
+
+ /**
+ * The field to sort by. Only one sort order may be provided. Default order for timeCreated
+ * is descending. Default order for displayName is ascending. If no value is specified
+ * timeCreated is default.
+ *
+ * @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 'asc' or 'desc'. */
+ private com.oracle.bmc.bds.model.SortOrders sortOrder = null;
+
+ /**
+ * The sort order to use, either 'asc' or 'desc'.
+ *
+ * @param sortOrder the value to set
+ * @return this builder instance
+ */
+ public Builder sortOrder(com.oracle.bmc.bds.model.SortOrders sortOrder) {
+ this.sortOrder = sortOrder;
+ return this;
+ }
+
+ /** A filter to return only resources that match the entire display name given. */
+ private String displayName = null;
+
+ /**
+ * A filter to return only resources that match the entire display name given.
+ *
+ * @param displayName the value to set
+ * @return this builder instance
+ */
+ public Builder displayName(String displayName) {
+ this.displayName = displayName;
+ return this;
+ }
+
+ /** The state of the NodeBackupConfiguration configuration. */
+ private com.oracle.bmc.bds.model.NodeBackupConfiguration.LifecycleState lifecycleState =
+ null;
+
+ /**
+ * The state of the NodeBackupConfiguration configuration.
+ *
+ * @param lifecycleState the value to set
+ * @return this builder instance
+ */
+ public Builder lifecycleState(
+ com.oracle.bmc.bds.model.NodeBackupConfiguration.LifecycleState lifecycleState) {
+ this.lifecycleState = lifecycleState;
+ return this;
+ }
+
+ /** The client request ID for tracing. */
+ private String opcRequestId = null;
+
+ /**
+ * The client request ID for tracing.
+ *
+ * @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(ListNodeBackupConfigurationsRequest o) {
+ bdsInstanceId(o.getBdsInstanceId());
+ page(o.getPage());
+ limit(o.getLimit());
+ sortBy(o.getSortBy());
+ sortOrder(o.getSortOrder());
+ displayName(o.getDisplayName());
+ lifecycleState(o.getLifecycleState());
+ opcRequestId(o.getOpcRequestId());
+ invocationCallback(o.getInvocationCallback());
+ retryConfiguration(o.getRetryConfiguration());
+ return this;
+ }
+
+ /**
+ * Build the instance of ListNodeBackupConfigurationsRequest 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 ListNodeBackupConfigurationsRequest
+ */
+ public ListNodeBackupConfigurationsRequest build() {
+ ListNodeBackupConfigurationsRequest request = buildWithoutInvocationCallback();
+ request.setInvocationCallback(invocationCallback);
+ request.setRetryConfiguration(retryConfiguration);
+ return request;
+ }
+
+ /**
+ * Build the instance of ListNodeBackupConfigurationsRequest 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 ListNodeBackupConfigurationsRequest
+ */
+ public ListNodeBackupConfigurationsRequest buildWithoutInvocationCallback() {
+ ListNodeBackupConfigurationsRequest request = new ListNodeBackupConfigurationsRequest();
+ request.bdsInstanceId = bdsInstanceId;
+ request.page = page;
+ request.limit = limit;
+ request.sortBy = sortBy;
+ request.sortOrder = sortOrder;
+ request.displayName = displayName;
+ request.lifecycleState = lifecycleState;
+ request.opcRequestId = opcRequestId;
+ return request;
+ // new ListNodeBackupConfigurationsRequest(bdsInstanceId, page, limit, sortBy,
+ // sortOrder, displayName, lifecycleState, 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()
+ .bdsInstanceId(bdsInstanceId)
+ .page(page)
+ .limit(limit)
+ .sortBy(sortBy)
+ .sortOrder(sortOrder)
+ .displayName(displayName)
+ .lifecycleState(lifecycleState)
+ .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(",bdsInstanceId=").append(String.valueOf(this.bdsInstanceId));
+ sb.append(",page=").append(String.valueOf(this.page));
+ sb.append(",limit=").append(String.valueOf(this.limit));
+ sb.append(",sortBy=").append(String.valueOf(this.sortBy));
+ sb.append(",sortOrder=").append(String.valueOf(this.sortOrder));
+ sb.append(",displayName=").append(String.valueOf(this.displayName));
+ sb.append(",lifecycleState=").append(String.valueOf(this.lifecycleState));
+ 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 ListNodeBackupConfigurationsRequest)) {
+ return false;
+ }
+
+ ListNodeBackupConfigurationsRequest other = (ListNodeBackupConfigurationsRequest) o;
+ return super.equals(o)
+ && java.util.Objects.equals(this.bdsInstanceId, other.bdsInstanceId)
+ && java.util.Objects.equals(this.page, other.page)
+ && java.util.Objects.equals(this.limit, other.limit)
+ && java.util.Objects.equals(this.sortBy, other.sortBy)
+ && java.util.Objects.equals(this.sortOrder, other.sortOrder)
+ && java.util.Objects.equals(this.displayName, other.displayName)
+ && java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.bdsInstanceId == null ? 43 : this.bdsInstanceId.hashCode());
+ result = (result * PRIME) + (this.page == null ? 43 : this.page.hashCode());
+ result = (result * PRIME) + (this.limit == null ? 43 : this.limit.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.displayName == null ? 43 : this.displayName.hashCode());
+ result =
+ (result * PRIME)
+ + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode());
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/ListNodeBackupsRequest.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/ListNodeBackupsRequest.java
new file mode 100644
index 00000000000..56cb4b2ac62
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/ListNodeBackupsRequest.java
@@ -0,0 +1,449 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.requests;
+
+import com.oracle.bmc.bds.model.*;
+/**
+ * Example: Click here to see how to use ListNodeBackupsRequest.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class ListNodeBackupsRequest extends com.oracle.bmc.requests.BmcRequest {
+
+ /** The OCID of the cluster. */
+ private String bdsInstanceId;
+
+ /** The OCID of the cluster. */
+ public String getBdsInstanceId() {
+ return bdsInstanceId;
+ }
+ /**
+ * The page token representing the page at which to start retrieving results. This is usually
+ * retrieved from a previous list call.
+ */
+ private String page;
+
+ /**
+ * The page token representing the page at which to start retrieving results. This is usually
+ * retrieved from a previous list call.
+ */
+ public String getPage() {
+ return page;
+ }
+ /** The maximum number of items to return. */
+ private Integer limit;
+
+ /** The maximum number of items to return. */
+ public Integer getLimit() {
+ return limit;
+ }
+ /**
+ * The field to sort by. Only one sort order may be provided. Default order for timeCreated is
+ * descending. Default order for displayName is ascending. If no value is specified timeCreated
+ * is default.
+ */
+ private SortBy sortBy;
+
+ /**
+ * The field to sort by. Only one sort order may be provided. Default order for timeCreated is
+ * descending. Default order for displayName is ascending. If no value is specified timeCreated
+ * is default.
+ */
+ 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. Only one sort order may be provided. Default order for timeCreated is
+ * descending. Default order for displayName is ascending. If no value is specified timeCreated
+ * is default.
+ */
+ public SortBy getSortBy() {
+ return sortBy;
+ }
+ /** The sort order to use, either 'asc' or 'desc'. */
+ private com.oracle.bmc.bds.model.SortOrders sortOrder;
+
+ /** The sort order to use, either 'asc' or 'desc'. */
+ public com.oracle.bmc.bds.model.SortOrders getSortOrder() {
+ return sortOrder;
+ }
+ /** The node host name belonged to a node that has a node backup. */
+ private String nodeHostName;
+
+ /** The node host name belonged to a node that has a node backup. */
+ public String getNodeHostName() {
+ return nodeHostName;
+ }
+ /** The state of the Node's Backup. */
+ private com.oracle.bmc.bds.model.NodeBackup.LifecycleState lifecycleState;
+
+ /** The state of the Node's Backup. */
+ public com.oracle.bmc.bds.model.NodeBackup.LifecycleState getLifecycleState() {
+ return lifecycleState;
+ }
+ /** The client request ID for tracing. */
+ private String opcRequestId;
+
+ /** The client request ID for tracing. */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+ /** The display name belonged to the node backup. */
+ private String displayName;
+
+ /** The display name belonged to the node backup. */
+ public String getDisplayName() {
+ return displayName;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.requests.BmcRequest.Builder<
+ ListNodeBackupsRequest, java.lang.Void> {
+ private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null;
+ private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null;
+
+ /** The OCID of the cluster. */
+ private String bdsInstanceId = null;
+
+ /**
+ * The OCID of the cluster.
+ *
+ * @param bdsInstanceId the value to set
+ * @return this builder instance
+ */
+ public Builder bdsInstanceId(String bdsInstanceId) {
+ this.bdsInstanceId = bdsInstanceId;
+ return this;
+ }
+
+ /**
+ * The page token representing the page at which to start retrieving results. This is
+ * usually retrieved from a previous list call.
+ */
+ private String page = null;
+
+ /**
+ * The page token representing the page at which to start retrieving results. This is
+ * usually retrieved from a previous list call.
+ *
+ * @param page the value to set
+ * @return this builder instance
+ */
+ public Builder page(String page) {
+ this.page = page;
+ return this;
+ }
+
+ /** The maximum number of items to return. */
+ private Integer limit = null;
+
+ /**
+ * The maximum number of items to return.
+ *
+ * @param limit the value to set
+ * @return this builder instance
+ */
+ public Builder limit(Integer limit) {
+ this.limit = limit;
+ return this;
+ }
+
+ /**
+ * The field to sort by. Only one sort order may be provided. Default order for timeCreated
+ * is descending. Default order for displayName is ascending. If no value is specified
+ * timeCreated is default.
+ */
+ private SortBy sortBy = null;
+
+ /**
+ * The field to sort by. Only one sort order may be provided. Default order for timeCreated
+ * is descending. Default order for displayName is ascending. If no value is specified
+ * timeCreated is default.
+ *
+ * @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 'asc' or 'desc'. */
+ private com.oracle.bmc.bds.model.SortOrders sortOrder = null;
+
+ /**
+ * The sort order to use, either 'asc' or 'desc'.
+ *
+ * @param sortOrder the value to set
+ * @return this builder instance
+ */
+ public Builder sortOrder(com.oracle.bmc.bds.model.SortOrders sortOrder) {
+ this.sortOrder = sortOrder;
+ return this;
+ }
+
+ /** The node host name belonged to a node that has a node backup. */
+ private String nodeHostName = null;
+
+ /**
+ * The node host name belonged to a node that has a node backup.
+ *
+ * @param nodeHostName the value to set
+ * @return this builder instance
+ */
+ public Builder nodeHostName(String nodeHostName) {
+ this.nodeHostName = nodeHostName;
+ return this;
+ }
+
+ /** The state of the Node's Backup. */
+ private com.oracle.bmc.bds.model.NodeBackup.LifecycleState lifecycleState = null;
+
+ /**
+ * The state of the Node's Backup.
+ *
+ * @param lifecycleState the value to set
+ * @return this builder instance
+ */
+ public Builder lifecycleState(
+ com.oracle.bmc.bds.model.NodeBackup.LifecycleState lifecycleState) {
+ this.lifecycleState = lifecycleState;
+ return this;
+ }
+
+ /** The client request ID for tracing. */
+ private String opcRequestId = null;
+
+ /**
+ * The client request ID for tracing.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder instance
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /** The display name belonged to the node backup. */
+ private String displayName = null;
+
+ /**
+ * The display name belonged to the node backup.
+ *
+ * @param displayName the value to set
+ * @return this builder instance
+ */
+ public Builder displayName(String displayName) {
+ this.displayName = displayName;
+ 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(ListNodeBackupsRequest o) {
+ bdsInstanceId(o.getBdsInstanceId());
+ page(o.getPage());
+ limit(o.getLimit());
+ sortBy(o.getSortBy());
+ sortOrder(o.getSortOrder());
+ nodeHostName(o.getNodeHostName());
+ lifecycleState(o.getLifecycleState());
+ opcRequestId(o.getOpcRequestId());
+ displayName(o.getDisplayName());
+ invocationCallback(o.getInvocationCallback());
+ retryConfiguration(o.getRetryConfiguration());
+ return this;
+ }
+
+ /**
+ * Build the instance of ListNodeBackupsRequest 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 ListNodeBackupsRequest
+ */
+ public ListNodeBackupsRequest build() {
+ ListNodeBackupsRequest request = buildWithoutInvocationCallback();
+ request.setInvocationCallback(invocationCallback);
+ request.setRetryConfiguration(retryConfiguration);
+ return request;
+ }
+
+ /**
+ * Build the instance of ListNodeBackupsRequest 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 ListNodeBackupsRequest
+ */
+ public ListNodeBackupsRequest buildWithoutInvocationCallback() {
+ ListNodeBackupsRequest request = new ListNodeBackupsRequest();
+ request.bdsInstanceId = bdsInstanceId;
+ request.page = page;
+ request.limit = limit;
+ request.sortBy = sortBy;
+ request.sortOrder = sortOrder;
+ request.nodeHostName = nodeHostName;
+ request.lifecycleState = lifecycleState;
+ request.opcRequestId = opcRequestId;
+ request.displayName = displayName;
+ return request;
+ // new ListNodeBackupsRequest(bdsInstanceId, page, limit, sortBy, sortOrder,
+ // nodeHostName, lifecycleState, opcRequestId, displayName);
+ }
+ }
+
+ /**
+ * 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()
+ .bdsInstanceId(bdsInstanceId)
+ .page(page)
+ .limit(limit)
+ .sortBy(sortBy)
+ .sortOrder(sortOrder)
+ .nodeHostName(nodeHostName)
+ .lifecycleState(lifecycleState)
+ .opcRequestId(opcRequestId)
+ .displayName(displayName);
+ }
+
+ /**
+ * 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(",bdsInstanceId=").append(String.valueOf(this.bdsInstanceId));
+ sb.append(",page=").append(String.valueOf(this.page));
+ sb.append(",limit=").append(String.valueOf(this.limit));
+ sb.append(",sortBy=").append(String.valueOf(this.sortBy));
+ sb.append(",sortOrder=").append(String.valueOf(this.sortOrder));
+ sb.append(",nodeHostName=").append(String.valueOf(this.nodeHostName));
+ sb.append(",lifecycleState=").append(String.valueOf(this.lifecycleState));
+ sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId));
+ 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 ListNodeBackupsRequest)) {
+ return false;
+ }
+
+ ListNodeBackupsRequest other = (ListNodeBackupsRequest) o;
+ return super.equals(o)
+ && java.util.Objects.equals(this.bdsInstanceId, other.bdsInstanceId)
+ && java.util.Objects.equals(this.page, other.page)
+ && java.util.Objects.equals(this.limit, other.limit)
+ && java.util.Objects.equals(this.sortBy, other.sortBy)
+ && java.util.Objects.equals(this.sortOrder, other.sortOrder)
+ && java.util.Objects.equals(this.nodeHostName, other.nodeHostName)
+ && java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId)
+ && java.util.Objects.equals(this.displayName, other.displayName);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.bdsInstanceId == null ? 43 : this.bdsInstanceId.hashCode());
+ result = (result * PRIME) + (this.page == null ? 43 : this.page.hashCode());
+ result = (result * PRIME) + (this.limit == null ? 43 : this.limit.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.nodeHostName == null ? 43 : this.nodeHostName.hashCode());
+ result =
+ (result * PRIME)
+ + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode());
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/ListNodeReplaceConfigurationsRequest.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/ListNodeReplaceConfigurationsRequest.java
new file mode 100644
index 00000000000..ad8f4ac5b14
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/ListNodeReplaceConfigurationsRequest.java
@@ -0,0 +1,426 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.requests;
+
+import com.oracle.bmc.bds.model.*;
+/**
+ * Example: Click here to see how to use
+ * ListNodeReplaceConfigurationsRequest.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class ListNodeReplaceConfigurationsRequest
+ extends com.oracle.bmc.requests.BmcRequest {
+
+ /** The OCID of the cluster. */
+ private String bdsInstanceId;
+
+ /** The OCID of the cluster. */
+ public String getBdsInstanceId() {
+ return bdsInstanceId;
+ }
+ /**
+ * The page token representing the page at which to start retrieving results. This is usually
+ * retrieved from a previous list call.
+ */
+ private String page;
+
+ /**
+ * The page token representing the page at which to start retrieving results. This is usually
+ * retrieved from a previous list call.
+ */
+ public String getPage() {
+ return page;
+ }
+ /** The maximum number of items to return. */
+ private Integer limit;
+
+ /** The maximum number of items to return. */
+ public Integer getLimit() {
+ return limit;
+ }
+ /**
+ * The field to sort by. Only one sort order may be provided. Default order for timeCreated is
+ * descending. Default order for displayName is ascending. If no value is specified timeCreated
+ * is default.
+ */
+ private SortBy sortBy;
+
+ /**
+ * The field to sort by. Only one sort order may be provided. Default order for timeCreated is
+ * descending. Default order for displayName is ascending. If no value is specified timeCreated
+ * is default.
+ */
+ 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. Only one sort order may be provided. Default order for timeCreated is
+ * descending. Default order for displayName is ascending. If no value is specified timeCreated
+ * is default.
+ */
+ public SortBy getSortBy() {
+ return sortBy;
+ }
+ /** The sort order to use, either 'asc' or 'desc'. */
+ private com.oracle.bmc.bds.model.SortOrders sortOrder;
+
+ /** The sort order to use, either 'asc' or 'desc'. */
+ public com.oracle.bmc.bds.model.SortOrders getSortOrder() {
+ return sortOrder;
+ }
+ /** A filter to return only resources that match the entire display name given. */
+ private String displayName;
+
+ /** A filter to return only resources that match the entire display name given. */
+ public String getDisplayName() {
+ return displayName;
+ }
+ /** The state of the NodeReplaceConfiguration. */
+ private com.oracle.bmc.bds.model.NodeReplaceConfiguration.LifecycleState lifecycleState;
+
+ /** The state of the NodeReplaceConfiguration. */
+ public com.oracle.bmc.bds.model.NodeReplaceConfiguration.LifecycleState getLifecycleState() {
+ return lifecycleState;
+ }
+ /** The client request ID for tracing. */
+ private String opcRequestId;
+
+ /** The client request ID for tracing. */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.requests.BmcRequest.Builder<
+ ListNodeReplaceConfigurationsRequest, java.lang.Void> {
+ private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null;
+ private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null;
+
+ /** The OCID of the cluster. */
+ private String bdsInstanceId = null;
+
+ /**
+ * The OCID of the cluster.
+ *
+ * @param bdsInstanceId the value to set
+ * @return this builder instance
+ */
+ public Builder bdsInstanceId(String bdsInstanceId) {
+ this.bdsInstanceId = bdsInstanceId;
+ return this;
+ }
+
+ /**
+ * The page token representing the page at which to start retrieving results. This is
+ * usually retrieved from a previous list call.
+ */
+ private String page = null;
+
+ /**
+ * The page token representing the page at which to start retrieving results. This is
+ * usually retrieved from a previous list call.
+ *
+ * @param page the value to set
+ * @return this builder instance
+ */
+ public Builder page(String page) {
+ this.page = page;
+ return this;
+ }
+
+ /** The maximum number of items to return. */
+ private Integer limit = null;
+
+ /**
+ * The maximum number of items to return.
+ *
+ * @param limit the value to set
+ * @return this builder instance
+ */
+ public Builder limit(Integer limit) {
+ this.limit = limit;
+ return this;
+ }
+
+ /**
+ * The field to sort by. Only one sort order may be provided. Default order for timeCreated
+ * is descending. Default order for displayName is ascending. If no value is specified
+ * timeCreated is default.
+ */
+ private SortBy sortBy = null;
+
+ /**
+ * The field to sort by. Only one sort order may be provided. Default order for timeCreated
+ * is descending. Default order for displayName is ascending. If no value is specified
+ * timeCreated is default.
+ *
+ * @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 'asc' or 'desc'. */
+ private com.oracle.bmc.bds.model.SortOrders sortOrder = null;
+
+ /**
+ * The sort order to use, either 'asc' or 'desc'.
+ *
+ * @param sortOrder the value to set
+ * @return this builder instance
+ */
+ public Builder sortOrder(com.oracle.bmc.bds.model.SortOrders sortOrder) {
+ this.sortOrder = sortOrder;
+ return this;
+ }
+
+ /** A filter to return only resources that match the entire display name given. */
+ private String displayName = null;
+
+ /**
+ * A filter to return only resources that match the entire display name given.
+ *
+ * @param displayName the value to set
+ * @return this builder instance
+ */
+ public Builder displayName(String displayName) {
+ this.displayName = displayName;
+ return this;
+ }
+
+ /** The state of the NodeReplaceConfiguration. */
+ private com.oracle.bmc.bds.model.NodeReplaceConfiguration.LifecycleState lifecycleState =
+ null;
+
+ /**
+ * The state of the NodeReplaceConfiguration.
+ *
+ * @param lifecycleState the value to set
+ * @return this builder instance
+ */
+ public Builder lifecycleState(
+ com.oracle.bmc.bds.model.NodeReplaceConfiguration.LifecycleState lifecycleState) {
+ this.lifecycleState = lifecycleState;
+ return this;
+ }
+
+ /** The client request ID for tracing. */
+ private String opcRequestId = null;
+
+ /**
+ * The client request ID for tracing.
+ *
+ * @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(ListNodeReplaceConfigurationsRequest o) {
+ bdsInstanceId(o.getBdsInstanceId());
+ page(o.getPage());
+ limit(o.getLimit());
+ sortBy(o.getSortBy());
+ sortOrder(o.getSortOrder());
+ displayName(o.getDisplayName());
+ lifecycleState(o.getLifecycleState());
+ opcRequestId(o.getOpcRequestId());
+ invocationCallback(o.getInvocationCallback());
+ retryConfiguration(o.getRetryConfiguration());
+ return this;
+ }
+
+ /**
+ * Build the instance of ListNodeReplaceConfigurationsRequest 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 ListNodeReplaceConfigurationsRequest
+ */
+ public ListNodeReplaceConfigurationsRequest build() {
+ ListNodeReplaceConfigurationsRequest request = buildWithoutInvocationCallback();
+ request.setInvocationCallback(invocationCallback);
+ request.setRetryConfiguration(retryConfiguration);
+ return request;
+ }
+
+ /**
+ * Build the instance of ListNodeReplaceConfigurationsRequest 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 ListNodeReplaceConfigurationsRequest
+ */
+ public ListNodeReplaceConfigurationsRequest buildWithoutInvocationCallback() {
+ ListNodeReplaceConfigurationsRequest request =
+ new ListNodeReplaceConfigurationsRequest();
+ request.bdsInstanceId = bdsInstanceId;
+ request.page = page;
+ request.limit = limit;
+ request.sortBy = sortBy;
+ request.sortOrder = sortOrder;
+ request.displayName = displayName;
+ request.lifecycleState = lifecycleState;
+ request.opcRequestId = opcRequestId;
+ return request;
+ // new ListNodeReplaceConfigurationsRequest(bdsInstanceId, page, limit, sortBy,
+ // sortOrder, displayName, lifecycleState, 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()
+ .bdsInstanceId(bdsInstanceId)
+ .page(page)
+ .limit(limit)
+ .sortBy(sortBy)
+ .sortOrder(sortOrder)
+ .displayName(displayName)
+ .lifecycleState(lifecycleState)
+ .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(",bdsInstanceId=").append(String.valueOf(this.bdsInstanceId));
+ sb.append(",page=").append(String.valueOf(this.page));
+ sb.append(",limit=").append(String.valueOf(this.limit));
+ sb.append(",sortBy=").append(String.valueOf(this.sortBy));
+ sb.append(",sortOrder=").append(String.valueOf(this.sortOrder));
+ sb.append(",displayName=").append(String.valueOf(this.displayName));
+ sb.append(",lifecycleState=").append(String.valueOf(this.lifecycleState));
+ 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 ListNodeReplaceConfigurationsRequest)) {
+ return false;
+ }
+
+ ListNodeReplaceConfigurationsRequest other = (ListNodeReplaceConfigurationsRequest) o;
+ return super.equals(o)
+ && java.util.Objects.equals(this.bdsInstanceId, other.bdsInstanceId)
+ && java.util.Objects.equals(this.page, other.page)
+ && java.util.Objects.equals(this.limit, other.limit)
+ && java.util.Objects.equals(this.sortBy, other.sortBy)
+ && java.util.Objects.equals(this.sortOrder, other.sortOrder)
+ && java.util.Objects.equals(this.displayName, other.displayName)
+ && java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.bdsInstanceId == null ? 43 : this.bdsInstanceId.hashCode());
+ result = (result * PRIME) + (this.page == null ? 43 : this.page.hashCode());
+ result = (result * PRIME) + (this.limit == null ? 43 : this.limit.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.displayName == null ? 43 : this.displayName.hashCode());
+ result =
+ (result * PRIME)
+ + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode());
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/RemoveNodeReplaceConfigurationRequest.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/RemoveNodeReplaceConfigurationRequest.java
new file mode 100644
index 00000000000..23b3d08c6a3
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/RemoveNodeReplaceConfigurationRequest.java
@@ -0,0 +1,391 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.requests;
+
+import com.oracle.bmc.bds.model.*;
+/**
+ * Example: Click here to see how to use
+ * RemoveNodeReplaceConfigurationRequest.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class RemoveNodeReplaceConfigurationRequest
+ extends com.oracle.bmc.requests.BmcRequest<
+ com.oracle.bmc.bds.model.RemoveNodeReplaceConfigurationDetails> {
+
+ /** The OCID of the cluster. */
+ private String bdsInstanceId;
+
+ /** The OCID of the cluster. */
+ public String getBdsInstanceId() {
+ return bdsInstanceId;
+ }
+ /** Unique Oracle-assigned identifier of the NodeReplaceConfiguration. */
+ private String nodeReplaceConfigurationId;
+
+ /** Unique Oracle-assigned identifier of the NodeReplaceConfiguration. */
+ public String getNodeReplaceConfigurationId() {
+ return nodeReplaceConfigurationId;
+ }
+ /** Details for removing NodeReplaceConfiguration */
+ private com.oracle.bmc.bds.model.RemoveNodeReplaceConfigurationDetails
+ removeNodeReplaceConfigurationDetails;
+
+ /** Details for removing NodeReplaceConfiguration */
+ public com.oracle.bmc.bds.model.RemoveNodeReplaceConfigurationDetails
+ getRemoveNodeReplaceConfigurationDetails() {
+ return removeNodeReplaceConfigurationDetails;
+ }
+ /** The client request ID for tracing. */
+ private String opcRequestId;
+
+ /** The client request ID for tracing. */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+ /**
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code
+ * if-match} parameter to the value of the etag from a previous GET or POST response for that
+ * resource. The resource will be updated or deleted only if the etag you provide matches the
+ * resource's current etag value.
+ */
+ private String ifMatch;
+
+ /**
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code
+ * if-match} parameter to the value of the etag from a previous GET or POST response for that
+ * resource. The resource will be updated or deleted only if the etag you provide matches the
+ * resource's current etag value.
+ */
+ public String getIfMatch() {
+ return ifMatch;
+ }
+ /**
+ * 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 might 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 might be rejected.
+ */
+ public String getOpcRetryToken() {
+ return opcRetryToken;
+ }
+
+ /**
+ * Alternative accessor for the body parameter.
+ *
+ * @return body parameter
+ */
+ @Override
+ @com.oracle.bmc.InternalSdk
+ public com.oracle.bmc.bds.model.RemoveNodeReplaceConfigurationDetails getBody$() {
+ return removeNodeReplaceConfigurationDetails;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.requests.BmcRequest.Builder<
+ RemoveNodeReplaceConfigurationRequest,
+ com.oracle.bmc.bds.model.RemoveNodeReplaceConfigurationDetails> {
+ private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null;
+ private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null;
+
+ /** The OCID of the cluster. */
+ private String bdsInstanceId = null;
+
+ /**
+ * The OCID of the cluster.
+ *
+ * @param bdsInstanceId the value to set
+ * @return this builder instance
+ */
+ public Builder bdsInstanceId(String bdsInstanceId) {
+ this.bdsInstanceId = bdsInstanceId;
+ return this;
+ }
+
+ /** Unique Oracle-assigned identifier of the NodeReplaceConfiguration. */
+ private String nodeReplaceConfigurationId = null;
+
+ /**
+ * Unique Oracle-assigned identifier of the NodeReplaceConfiguration.
+ *
+ * @param nodeReplaceConfigurationId the value to set
+ * @return this builder instance
+ */
+ public Builder nodeReplaceConfigurationId(String nodeReplaceConfigurationId) {
+ this.nodeReplaceConfigurationId = nodeReplaceConfigurationId;
+ return this;
+ }
+
+ /** Details for removing NodeReplaceConfiguration */
+ private com.oracle.bmc.bds.model.RemoveNodeReplaceConfigurationDetails
+ removeNodeReplaceConfigurationDetails = null;
+
+ /**
+ * Details for removing NodeReplaceConfiguration
+ *
+ * @param removeNodeReplaceConfigurationDetails the value to set
+ * @return this builder instance
+ */
+ public Builder removeNodeReplaceConfigurationDetails(
+ com.oracle.bmc.bds.model.RemoveNodeReplaceConfigurationDetails
+ removeNodeReplaceConfigurationDetails) {
+ this.removeNodeReplaceConfigurationDetails = removeNodeReplaceConfigurationDetails;
+ return this;
+ }
+
+ /** The client request ID for tracing. */
+ private String opcRequestId = null;
+
+ /**
+ * The client request ID for tracing.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder instance
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /**
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
+ * {@code if-match} parameter to the value of the etag from a previous GET or POST response
+ * for that resource. The resource will be updated or deleted only if the etag you provide
+ * matches the resource's current etag value.
+ */
+ private String ifMatch = null;
+
+ /**
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
+ * {@code if-match} parameter to the value of the etag from a previous GET or POST response
+ * for that resource. The resource will be updated or deleted only if the etag you provide
+ * matches the resource's current etag value.
+ *
+ * @param ifMatch the value to set
+ * @return this builder instance
+ */
+ public Builder ifMatch(String ifMatch) {
+ this.ifMatch = ifMatch;
+ return this;
+ }
+
+ /**
+ * 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 might 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 might be rejected.
+ *
+ * @param opcRetryToken the value to set
+ * @return this builder instance
+ */
+ public Builder opcRetryToken(String opcRetryToken) {
+ this.opcRetryToken = opcRetryToken;
+ 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(RemoveNodeReplaceConfigurationRequest o) {
+ bdsInstanceId(o.getBdsInstanceId());
+ nodeReplaceConfigurationId(o.getNodeReplaceConfigurationId());
+ removeNodeReplaceConfigurationDetails(o.getRemoveNodeReplaceConfigurationDetails());
+ opcRequestId(o.getOpcRequestId());
+ ifMatch(o.getIfMatch());
+ opcRetryToken(o.getOpcRetryToken());
+ invocationCallback(o.getInvocationCallback());
+ retryConfiguration(o.getRetryConfiguration());
+ return this;
+ }
+
+ /**
+ * Build the instance of RemoveNodeReplaceConfigurationRequest 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 RemoveNodeReplaceConfigurationRequest
+ */
+ public RemoveNodeReplaceConfigurationRequest build() {
+ RemoveNodeReplaceConfigurationRequest 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.bds.model.RemoveNodeReplaceConfigurationDetails body) {
+ removeNodeReplaceConfigurationDetails(body);
+ return this;
+ }
+
+ /**
+ * Build the instance of RemoveNodeReplaceConfigurationRequest 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 RemoveNodeReplaceConfigurationRequest
+ */
+ public RemoveNodeReplaceConfigurationRequest buildWithoutInvocationCallback() {
+ RemoveNodeReplaceConfigurationRequest request =
+ new RemoveNodeReplaceConfigurationRequest();
+ request.bdsInstanceId = bdsInstanceId;
+ request.nodeReplaceConfigurationId = nodeReplaceConfigurationId;
+ request.removeNodeReplaceConfigurationDetails = removeNodeReplaceConfigurationDetails;
+ request.opcRequestId = opcRequestId;
+ request.ifMatch = ifMatch;
+ request.opcRetryToken = opcRetryToken;
+ return request;
+ // new RemoveNodeReplaceConfigurationRequest(bdsInstanceId, nodeReplaceConfigurationId,
+ // removeNodeReplaceConfigurationDetails, opcRequestId, ifMatch, opcRetryToken);
+ }
+ }
+
+ /**
+ * 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()
+ .bdsInstanceId(bdsInstanceId)
+ .nodeReplaceConfigurationId(nodeReplaceConfigurationId)
+ .removeNodeReplaceConfigurationDetails(removeNodeReplaceConfigurationDetails)
+ .opcRequestId(opcRequestId)
+ .ifMatch(ifMatch)
+ .opcRetryToken(opcRetryToken);
+ }
+
+ /**
+ * 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(",bdsInstanceId=").append(String.valueOf(this.bdsInstanceId));
+ sb.append(",nodeReplaceConfigurationId=")
+ .append(String.valueOf(this.nodeReplaceConfigurationId));
+ sb.append(",removeNodeReplaceConfigurationDetails=")
+ .append(String.valueOf(this.removeNodeReplaceConfigurationDetails));
+ sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId));
+ sb.append(",ifMatch=").append(String.valueOf(this.ifMatch));
+ sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof RemoveNodeReplaceConfigurationRequest)) {
+ return false;
+ }
+
+ RemoveNodeReplaceConfigurationRequest other = (RemoveNodeReplaceConfigurationRequest) o;
+ return super.equals(o)
+ && java.util.Objects.equals(this.bdsInstanceId, other.bdsInstanceId)
+ && java.util.Objects.equals(
+ this.nodeReplaceConfigurationId, other.nodeReplaceConfigurationId)
+ && java.util.Objects.equals(
+ this.removeNodeReplaceConfigurationDetails,
+ other.removeNodeReplaceConfigurationDetails)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId)
+ && java.util.Objects.equals(this.ifMatch, other.ifMatch)
+ && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.bdsInstanceId == null ? 43 : this.bdsInstanceId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.nodeReplaceConfigurationId == null
+ ? 43
+ : this.nodeReplaceConfigurationId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.removeNodeReplaceConfigurationDetails == null
+ ? 43
+ : this.removeNodeReplaceConfigurationDetails.hashCode());
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode());
+ result =
+ (result * PRIME)
+ + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/ReplaceNodeRequest.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/ReplaceNodeRequest.java
new file mode 100644
index 00000000000..15831480ca7
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/ReplaceNodeRequest.java
@@ -0,0 +1,347 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.requests;
+
+import com.oracle.bmc.bds.model.*;
+/**
+ * Example: Click here to see how to use ReplaceNodeRequest.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class ReplaceNodeRequest
+ extends com.oracle.bmc.requests.BmcRequest {
+
+ /** The OCID of the cluster. */
+ private String bdsInstanceId;
+
+ /** The OCID of the cluster. */
+ public String getBdsInstanceId() {
+ return bdsInstanceId;
+ }
+ /** Details for Replacing the node. */
+ private com.oracle.bmc.bds.model.ReplaceNodeDetails replaceNodeDetails;
+
+ /** Details for Replacing the node. */
+ public com.oracle.bmc.bds.model.ReplaceNodeDetails getReplaceNodeDetails() {
+ return replaceNodeDetails;
+ }
+ /** The client request ID for tracing. */
+ private String opcRequestId;
+
+ /** The client request ID for tracing. */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+ /**
+ * This if-match is for the BdsInstance. 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;
+
+ /**
+ * This if-match is for the BdsInstance. 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;
+ }
+ /**
+ * 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 might 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 might be rejected.
+ */
+ public String getOpcRetryToken() {
+ return opcRetryToken;
+ }
+
+ /**
+ * Alternative accessor for the body parameter.
+ *
+ * @return body parameter
+ */
+ @Override
+ @com.oracle.bmc.InternalSdk
+ public com.oracle.bmc.bds.model.ReplaceNodeDetails getBody$() {
+ return replaceNodeDetails;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.requests.BmcRequest.Builder<
+ ReplaceNodeRequest, com.oracle.bmc.bds.model.ReplaceNodeDetails> {
+ private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null;
+ private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null;
+
+ /** The OCID of the cluster. */
+ private String bdsInstanceId = null;
+
+ /**
+ * The OCID of the cluster.
+ *
+ * @param bdsInstanceId the value to set
+ * @return this builder instance
+ */
+ public Builder bdsInstanceId(String bdsInstanceId) {
+ this.bdsInstanceId = bdsInstanceId;
+ return this;
+ }
+
+ /** Details for Replacing the node. */
+ private com.oracle.bmc.bds.model.ReplaceNodeDetails replaceNodeDetails = null;
+
+ /**
+ * Details for Replacing the node.
+ *
+ * @param replaceNodeDetails the value to set
+ * @return this builder instance
+ */
+ public Builder replaceNodeDetails(
+ com.oracle.bmc.bds.model.ReplaceNodeDetails replaceNodeDetails) {
+ this.replaceNodeDetails = replaceNodeDetails;
+ return this;
+ }
+
+ /** The client request ID for tracing. */
+ private String opcRequestId = null;
+
+ /**
+ * The client request ID for tracing.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder instance
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /**
+ * This if-match is for the BdsInstance. 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;
+
+ /**
+ * This if-match is for the BdsInstance. 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;
+ }
+
+ /**
+ * 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 might 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 might be rejected.
+ *
+ * @param opcRetryToken the value to set
+ * @return this builder instance
+ */
+ public Builder opcRetryToken(String opcRetryToken) {
+ this.opcRetryToken = opcRetryToken;
+ 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(ReplaceNodeRequest o) {
+ bdsInstanceId(o.getBdsInstanceId());
+ replaceNodeDetails(o.getReplaceNodeDetails());
+ opcRequestId(o.getOpcRequestId());
+ ifMatch(o.getIfMatch());
+ opcRetryToken(o.getOpcRetryToken());
+ invocationCallback(o.getInvocationCallback());
+ retryConfiguration(o.getRetryConfiguration());
+ return this;
+ }
+
+ /**
+ * Build the instance of ReplaceNodeRequest 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 ReplaceNodeRequest
+ */
+ public ReplaceNodeRequest build() {
+ ReplaceNodeRequest 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.bds.model.ReplaceNodeDetails body) {
+ replaceNodeDetails(body);
+ return this;
+ }
+
+ /**
+ * Build the instance of ReplaceNodeRequest 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 ReplaceNodeRequest
+ */
+ public ReplaceNodeRequest buildWithoutInvocationCallback() {
+ ReplaceNodeRequest request = new ReplaceNodeRequest();
+ request.bdsInstanceId = bdsInstanceId;
+ request.replaceNodeDetails = replaceNodeDetails;
+ request.opcRequestId = opcRequestId;
+ request.ifMatch = ifMatch;
+ request.opcRetryToken = opcRetryToken;
+ return request;
+ // new ReplaceNodeRequest(bdsInstanceId, replaceNodeDetails, opcRequestId, ifMatch,
+ // opcRetryToken);
+ }
+ }
+
+ /**
+ * 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()
+ .bdsInstanceId(bdsInstanceId)
+ .replaceNodeDetails(replaceNodeDetails)
+ .opcRequestId(opcRequestId)
+ .ifMatch(ifMatch)
+ .opcRetryToken(opcRetryToken);
+ }
+
+ /**
+ * 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(",bdsInstanceId=").append(String.valueOf(this.bdsInstanceId));
+ sb.append(",replaceNodeDetails=").append(String.valueOf(this.replaceNodeDetails));
+ sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId));
+ sb.append(",ifMatch=").append(String.valueOf(this.ifMatch));
+ sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof ReplaceNodeRequest)) {
+ return false;
+ }
+
+ ReplaceNodeRequest other = (ReplaceNodeRequest) o;
+ return super.equals(o)
+ && java.util.Objects.equals(this.bdsInstanceId, other.bdsInstanceId)
+ && java.util.Objects.equals(this.replaceNodeDetails, other.replaceNodeDetails)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId)
+ && java.util.Objects.equals(this.ifMatch, other.ifMatch)
+ && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.bdsInstanceId == null ? 43 : this.bdsInstanceId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.replaceNodeDetails == null
+ ? 43
+ : this.replaceNodeDetails.hashCode());
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode());
+ result =
+ (result * PRIME)
+ + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/UpdateNodeBackupConfigurationRequest.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/UpdateNodeBackupConfigurationRequest.java
new file mode 100644
index 00000000000..323d1f042b1
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/UpdateNodeBackupConfigurationRequest.java
@@ -0,0 +1,391 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.requests;
+
+import com.oracle.bmc.bds.model.*;
+/**
+ * Example: Click here to see how to use
+ * UpdateNodeBackupConfigurationRequest.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class UpdateNodeBackupConfigurationRequest
+ extends com.oracle.bmc.requests.BmcRequest<
+ com.oracle.bmc.bds.model.UpdateNodeBackupConfigurationDetails> {
+
+ /** The OCID of the cluster. */
+ private String bdsInstanceId;
+
+ /** The OCID of the cluster. */
+ public String getBdsInstanceId() {
+ return bdsInstanceId;
+ }
+ /** Unique Oracle-assigned identifier of the NodeBackupConfiguration. */
+ private String nodeBackupConfigurationId;
+
+ /** Unique Oracle-assigned identifier of the NodeBackupConfiguration. */
+ public String getNodeBackupConfigurationId() {
+ return nodeBackupConfigurationId;
+ }
+ /** Details for updating the NodeBackupConfiguration. */
+ private com.oracle.bmc.bds.model.UpdateNodeBackupConfigurationDetails
+ updateNodeBackupConfigurationDetails;
+
+ /** Details for updating the NodeBackupConfiguration. */
+ public com.oracle.bmc.bds.model.UpdateNodeBackupConfigurationDetails
+ getUpdateNodeBackupConfigurationDetails() {
+ return updateNodeBackupConfigurationDetails;
+ }
+ /** The client request ID for tracing. */
+ private String opcRequestId;
+
+ /** The client request ID for tracing. */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+ /**
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code
+ * if-match} parameter to the value of the etag from a previous GET or POST response for that
+ * resource. The resource will be updated or deleted only if the etag you provide matches the
+ * resource's current etag value.
+ */
+ private String ifMatch;
+
+ /**
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code
+ * if-match} parameter to the value of the etag from a previous GET or POST response for that
+ * resource. The resource will be updated or deleted only if the etag you provide matches the
+ * resource's current etag value.
+ */
+ public String getIfMatch() {
+ return ifMatch;
+ }
+ /**
+ * 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 might 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 might be rejected.
+ */
+ public String getOpcRetryToken() {
+ return opcRetryToken;
+ }
+
+ /**
+ * Alternative accessor for the body parameter.
+ *
+ * @return body parameter
+ */
+ @Override
+ @com.oracle.bmc.InternalSdk
+ public com.oracle.bmc.bds.model.UpdateNodeBackupConfigurationDetails getBody$() {
+ return updateNodeBackupConfigurationDetails;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.requests.BmcRequest.Builder<
+ UpdateNodeBackupConfigurationRequest,
+ com.oracle.bmc.bds.model.UpdateNodeBackupConfigurationDetails> {
+ private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null;
+ private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null;
+
+ /** The OCID of the cluster. */
+ private String bdsInstanceId = null;
+
+ /**
+ * The OCID of the cluster.
+ *
+ * @param bdsInstanceId the value to set
+ * @return this builder instance
+ */
+ public Builder bdsInstanceId(String bdsInstanceId) {
+ this.bdsInstanceId = bdsInstanceId;
+ return this;
+ }
+
+ /** Unique Oracle-assigned identifier of the NodeBackupConfiguration. */
+ private String nodeBackupConfigurationId = null;
+
+ /**
+ * Unique Oracle-assigned identifier of the NodeBackupConfiguration.
+ *
+ * @param nodeBackupConfigurationId the value to set
+ * @return this builder instance
+ */
+ public Builder nodeBackupConfigurationId(String nodeBackupConfigurationId) {
+ this.nodeBackupConfigurationId = nodeBackupConfigurationId;
+ return this;
+ }
+
+ /** Details for updating the NodeBackupConfiguration. */
+ private com.oracle.bmc.bds.model.UpdateNodeBackupConfigurationDetails
+ updateNodeBackupConfigurationDetails = null;
+
+ /**
+ * Details for updating the NodeBackupConfiguration.
+ *
+ * @param updateNodeBackupConfigurationDetails the value to set
+ * @return this builder instance
+ */
+ public Builder updateNodeBackupConfigurationDetails(
+ com.oracle.bmc.bds.model.UpdateNodeBackupConfigurationDetails
+ updateNodeBackupConfigurationDetails) {
+ this.updateNodeBackupConfigurationDetails = updateNodeBackupConfigurationDetails;
+ return this;
+ }
+
+ /** The client request ID for tracing. */
+ private String opcRequestId = null;
+
+ /**
+ * The client request ID for tracing.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder instance
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /**
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
+ * {@code if-match} parameter to the value of the etag from a previous GET or POST response
+ * for that resource. The resource will be updated or deleted only if the etag you provide
+ * matches the resource's current etag value.
+ */
+ private String ifMatch = null;
+
+ /**
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
+ * {@code if-match} parameter to the value of the etag from a previous GET or POST response
+ * for that resource. The resource will be updated or deleted only if the etag you provide
+ * matches the resource's current etag value.
+ *
+ * @param ifMatch the value to set
+ * @return this builder instance
+ */
+ public Builder ifMatch(String ifMatch) {
+ this.ifMatch = ifMatch;
+ return this;
+ }
+
+ /**
+ * 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 might 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 might be rejected.
+ *
+ * @param opcRetryToken the value to set
+ * @return this builder instance
+ */
+ public Builder opcRetryToken(String opcRetryToken) {
+ this.opcRetryToken = opcRetryToken;
+ 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(UpdateNodeBackupConfigurationRequest o) {
+ bdsInstanceId(o.getBdsInstanceId());
+ nodeBackupConfigurationId(o.getNodeBackupConfigurationId());
+ updateNodeBackupConfigurationDetails(o.getUpdateNodeBackupConfigurationDetails());
+ opcRequestId(o.getOpcRequestId());
+ ifMatch(o.getIfMatch());
+ opcRetryToken(o.getOpcRetryToken());
+ invocationCallback(o.getInvocationCallback());
+ retryConfiguration(o.getRetryConfiguration());
+ return this;
+ }
+
+ /**
+ * Build the instance of UpdateNodeBackupConfigurationRequest 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 UpdateNodeBackupConfigurationRequest
+ */
+ public UpdateNodeBackupConfigurationRequest build() {
+ UpdateNodeBackupConfigurationRequest 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.bds.model.UpdateNodeBackupConfigurationDetails body) {
+ updateNodeBackupConfigurationDetails(body);
+ return this;
+ }
+
+ /**
+ * Build the instance of UpdateNodeBackupConfigurationRequest 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 UpdateNodeBackupConfigurationRequest
+ */
+ public UpdateNodeBackupConfigurationRequest buildWithoutInvocationCallback() {
+ UpdateNodeBackupConfigurationRequest request =
+ new UpdateNodeBackupConfigurationRequest();
+ request.bdsInstanceId = bdsInstanceId;
+ request.nodeBackupConfigurationId = nodeBackupConfigurationId;
+ request.updateNodeBackupConfigurationDetails = updateNodeBackupConfigurationDetails;
+ request.opcRequestId = opcRequestId;
+ request.ifMatch = ifMatch;
+ request.opcRetryToken = opcRetryToken;
+ return request;
+ // new UpdateNodeBackupConfigurationRequest(bdsInstanceId, nodeBackupConfigurationId,
+ // updateNodeBackupConfigurationDetails, opcRequestId, ifMatch, opcRetryToken);
+ }
+ }
+
+ /**
+ * 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()
+ .bdsInstanceId(bdsInstanceId)
+ .nodeBackupConfigurationId(nodeBackupConfigurationId)
+ .updateNodeBackupConfigurationDetails(updateNodeBackupConfigurationDetails)
+ .opcRequestId(opcRequestId)
+ .ifMatch(ifMatch)
+ .opcRetryToken(opcRetryToken);
+ }
+
+ /**
+ * 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(",bdsInstanceId=").append(String.valueOf(this.bdsInstanceId));
+ sb.append(",nodeBackupConfigurationId=")
+ .append(String.valueOf(this.nodeBackupConfigurationId));
+ sb.append(",updateNodeBackupConfigurationDetails=")
+ .append(String.valueOf(this.updateNodeBackupConfigurationDetails));
+ sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId));
+ sb.append(",ifMatch=").append(String.valueOf(this.ifMatch));
+ sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof UpdateNodeBackupConfigurationRequest)) {
+ return false;
+ }
+
+ UpdateNodeBackupConfigurationRequest other = (UpdateNodeBackupConfigurationRequest) o;
+ return super.equals(o)
+ && java.util.Objects.equals(this.bdsInstanceId, other.bdsInstanceId)
+ && java.util.Objects.equals(
+ this.nodeBackupConfigurationId, other.nodeBackupConfigurationId)
+ && java.util.Objects.equals(
+ this.updateNodeBackupConfigurationDetails,
+ other.updateNodeBackupConfigurationDetails)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId)
+ && java.util.Objects.equals(this.ifMatch, other.ifMatch)
+ && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.bdsInstanceId == null ? 43 : this.bdsInstanceId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.nodeBackupConfigurationId == null
+ ? 43
+ : this.nodeBackupConfigurationId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.updateNodeBackupConfigurationDetails == null
+ ? 43
+ : this.updateNodeBackupConfigurationDetails.hashCode());
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode());
+ result =
+ (result * PRIME)
+ + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/UpdateNodeReplaceConfigurationRequest.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/UpdateNodeReplaceConfigurationRequest.java
new file mode 100644
index 00000000000..f7f84bfad09
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/requests/UpdateNodeReplaceConfigurationRequest.java
@@ -0,0 +1,391 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.requests;
+
+import com.oracle.bmc.bds.model.*;
+/**
+ * Example: Click here to see how to use
+ * UpdateNodeReplaceConfigurationRequest.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class UpdateNodeReplaceConfigurationRequest
+ extends com.oracle.bmc.requests.BmcRequest<
+ com.oracle.bmc.bds.model.UpdateNodeReplaceConfigurationDetails> {
+
+ /** The OCID of the cluster. */
+ private String bdsInstanceId;
+
+ /** The OCID of the cluster. */
+ public String getBdsInstanceId() {
+ return bdsInstanceId;
+ }
+ /** Unique Oracle-assigned identifier of the NodeReplaceConfiguration. */
+ private String nodeReplaceConfigurationId;
+
+ /** Unique Oracle-assigned identifier of the NodeReplaceConfiguration. */
+ public String getNodeReplaceConfigurationId() {
+ return nodeReplaceConfigurationId;
+ }
+ /** Details for updating the nodeReplaceConfiguration. */
+ private com.oracle.bmc.bds.model.UpdateNodeReplaceConfigurationDetails
+ updateNodeReplaceConfigurationDetails;
+
+ /** Details for updating the nodeReplaceConfiguration. */
+ public com.oracle.bmc.bds.model.UpdateNodeReplaceConfigurationDetails
+ getUpdateNodeReplaceConfigurationDetails() {
+ return updateNodeReplaceConfigurationDetails;
+ }
+ /** The client request ID for tracing. */
+ private String opcRequestId;
+
+ /** The client request ID for tracing. */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+ /**
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code
+ * if-match} parameter to the value of the etag from a previous GET or POST response for that
+ * resource. The resource will be updated or deleted only if the etag you provide matches the
+ * resource's current etag value.
+ */
+ private String ifMatch;
+
+ /**
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code
+ * if-match} parameter to the value of the etag from a previous GET or POST response for that
+ * resource. The resource will be updated or deleted only if the etag you provide matches the
+ * resource's current etag value.
+ */
+ public String getIfMatch() {
+ return ifMatch;
+ }
+ /**
+ * 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 might 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 might be rejected.
+ */
+ public String getOpcRetryToken() {
+ return opcRetryToken;
+ }
+
+ /**
+ * Alternative accessor for the body parameter.
+ *
+ * @return body parameter
+ */
+ @Override
+ @com.oracle.bmc.InternalSdk
+ public com.oracle.bmc.bds.model.UpdateNodeReplaceConfigurationDetails getBody$() {
+ return updateNodeReplaceConfigurationDetails;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.requests.BmcRequest.Builder<
+ UpdateNodeReplaceConfigurationRequest,
+ com.oracle.bmc.bds.model.UpdateNodeReplaceConfigurationDetails> {
+ private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null;
+ private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null;
+
+ /** The OCID of the cluster. */
+ private String bdsInstanceId = null;
+
+ /**
+ * The OCID of the cluster.
+ *
+ * @param bdsInstanceId the value to set
+ * @return this builder instance
+ */
+ public Builder bdsInstanceId(String bdsInstanceId) {
+ this.bdsInstanceId = bdsInstanceId;
+ return this;
+ }
+
+ /** Unique Oracle-assigned identifier of the NodeReplaceConfiguration. */
+ private String nodeReplaceConfigurationId = null;
+
+ /**
+ * Unique Oracle-assigned identifier of the NodeReplaceConfiguration.
+ *
+ * @param nodeReplaceConfigurationId the value to set
+ * @return this builder instance
+ */
+ public Builder nodeReplaceConfigurationId(String nodeReplaceConfigurationId) {
+ this.nodeReplaceConfigurationId = nodeReplaceConfigurationId;
+ return this;
+ }
+
+ /** Details for updating the nodeReplaceConfiguration. */
+ private com.oracle.bmc.bds.model.UpdateNodeReplaceConfigurationDetails
+ updateNodeReplaceConfigurationDetails = null;
+
+ /**
+ * Details for updating the nodeReplaceConfiguration.
+ *
+ * @param updateNodeReplaceConfigurationDetails the value to set
+ * @return this builder instance
+ */
+ public Builder updateNodeReplaceConfigurationDetails(
+ com.oracle.bmc.bds.model.UpdateNodeReplaceConfigurationDetails
+ updateNodeReplaceConfigurationDetails) {
+ this.updateNodeReplaceConfigurationDetails = updateNodeReplaceConfigurationDetails;
+ return this;
+ }
+
+ /** The client request ID for tracing. */
+ private String opcRequestId = null;
+
+ /**
+ * The client request ID for tracing.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder instance
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /**
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
+ * {@code if-match} parameter to the value of the etag from a previous GET or POST response
+ * for that resource. The resource will be updated or deleted only if the etag you provide
+ * matches the resource's current etag value.
+ */
+ private String ifMatch = null;
+
+ /**
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
+ * {@code if-match} parameter to the value of the etag from a previous GET or POST response
+ * for that resource. The resource will be updated or deleted only if the etag you provide
+ * matches the resource's current etag value.
+ *
+ * @param ifMatch the value to set
+ * @return this builder instance
+ */
+ public Builder ifMatch(String ifMatch) {
+ this.ifMatch = ifMatch;
+ return this;
+ }
+
+ /**
+ * 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 might 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 might be rejected.
+ *
+ * @param opcRetryToken the value to set
+ * @return this builder instance
+ */
+ public Builder opcRetryToken(String opcRetryToken) {
+ this.opcRetryToken = opcRetryToken;
+ 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(UpdateNodeReplaceConfigurationRequest o) {
+ bdsInstanceId(o.getBdsInstanceId());
+ nodeReplaceConfigurationId(o.getNodeReplaceConfigurationId());
+ updateNodeReplaceConfigurationDetails(o.getUpdateNodeReplaceConfigurationDetails());
+ opcRequestId(o.getOpcRequestId());
+ ifMatch(o.getIfMatch());
+ opcRetryToken(o.getOpcRetryToken());
+ invocationCallback(o.getInvocationCallback());
+ retryConfiguration(o.getRetryConfiguration());
+ return this;
+ }
+
+ /**
+ * Build the instance of UpdateNodeReplaceConfigurationRequest 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 UpdateNodeReplaceConfigurationRequest
+ */
+ public UpdateNodeReplaceConfigurationRequest build() {
+ UpdateNodeReplaceConfigurationRequest 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.bds.model.UpdateNodeReplaceConfigurationDetails body) {
+ updateNodeReplaceConfigurationDetails(body);
+ return this;
+ }
+
+ /**
+ * Build the instance of UpdateNodeReplaceConfigurationRequest 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 UpdateNodeReplaceConfigurationRequest
+ */
+ public UpdateNodeReplaceConfigurationRequest buildWithoutInvocationCallback() {
+ UpdateNodeReplaceConfigurationRequest request =
+ new UpdateNodeReplaceConfigurationRequest();
+ request.bdsInstanceId = bdsInstanceId;
+ request.nodeReplaceConfigurationId = nodeReplaceConfigurationId;
+ request.updateNodeReplaceConfigurationDetails = updateNodeReplaceConfigurationDetails;
+ request.opcRequestId = opcRequestId;
+ request.ifMatch = ifMatch;
+ request.opcRetryToken = opcRetryToken;
+ return request;
+ // new UpdateNodeReplaceConfigurationRequest(bdsInstanceId, nodeReplaceConfigurationId,
+ // updateNodeReplaceConfigurationDetails, opcRequestId, ifMatch, opcRetryToken);
+ }
+ }
+
+ /**
+ * 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()
+ .bdsInstanceId(bdsInstanceId)
+ .nodeReplaceConfigurationId(nodeReplaceConfigurationId)
+ .updateNodeReplaceConfigurationDetails(updateNodeReplaceConfigurationDetails)
+ .opcRequestId(opcRequestId)
+ .ifMatch(ifMatch)
+ .opcRetryToken(opcRetryToken);
+ }
+
+ /**
+ * 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(",bdsInstanceId=").append(String.valueOf(this.bdsInstanceId));
+ sb.append(",nodeReplaceConfigurationId=")
+ .append(String.valueOf(this.nodeReplaceConfigurationId));
+ sb.append(",updateNodeReplaceConfigurationDetails=")
+ .append(String.valueOf(this.updateNodeReplaceConfigurationDetails));
+ sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId));
+ sb.append(",ifMatch=").append(String.valueOf(this.ifMatch));
+ sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof UpdateNodeReplaceConfigurationRequest)) {
+ return false;
+ }
+
+ UpdateNodeReplaceConfigurationRequest other = (UpdateNodeReplaceConfigurationRequest) o;
+ return super.equals(o)
+ && java.util.Objects.equals(this.bdsInstanceId, other.bdsInstanceId)
+ && java.util.Objects.equals(
+ this.nodeReplaceConfigurationId, other.nodeReplaceConfigurationId)
+ && java.util.Objects.equals(
+ this.updateNodeReplaceConfigurationDetails,
+ other.updateNodeReplaceConfigurationDetails)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId)
+ && java.util.Objects.equals(this.ifMatch, other.ifMatch)
+ && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.bdsInstanceId == null ? 43 : this.bdsInstanceId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.nodeReplaceConfigurationId == null
+ ? 43
+ : this.nodeReplaceConfigurationId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.updateNodeReplaceConfigurationDetails == null
+ ? 43
+ : this.updateNodeReplaceConfigurationDetails.hashCode());
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode());
+ result =
+ (result * PRIME)
+ + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/responses/BackupNodeResponse.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/responses/BackupNodeResponse.java
new file mode 100644
index 00000000000..bfdc93a0f9d
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/responses/BackupNodeResponse.java
@@ -0,0 +1,185 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.responses;
+
+import com.oracle.bmc.bds.model.*;
+
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class BackupNodeResponse extends com.oracle.bmc.responses.BmcResponse {
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ *
+ * @return the value
+ */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+
+ /**
+ * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query
+ * status of the asynchronous operation.
+ */
+ private String opcWorkRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query
+ * status of the asynchronous operation.
+ *
+ * @return the value
+ */
+ public String getOpcWorkRequestId() {
+ return opcWorkRequestId;
+ }
+
+ @java.beans.ConstructorProperties({
+ "__httpStatusCode__",
+ "headers",
+ "opcRequestId",
+ "opcWorkRequestId"
+ })
+ private BackupNodeResponse(
+ 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 {
+ 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
+ * request, provide this request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /**
+ * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query
+ * status of the asynchronous operation.
+ */
+ private String opcWorkRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query
+ * status of the asynchronous operation.
+ *
+ * @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(BackupNodeResponse 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 BackupNodeResponse build() {
+ return new BackupNodeResponse(
+ __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 BackupNodeResponse)) {
+ return false;
+ }
+
+ BackupNodeResponse other = (BackupNodeResponse) 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-bds/src/main/java/com/oracle/bmc/bds/responses/CreateNodeBackupConfigurationResponse.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/responses/CreateNodeBackupConfigurationResponse.java
new file mode 100644
index 00000000000..d1a494c4b89
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/responses/CreateNodeBackupConfigurationResponse.java
@@ -0,0 +1,186 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.responses;
+
+import com.oracle.bmc.bds.model.*;
+
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class CreateNodeBackupConfigurationResponse extends com.oracle.bmc.responses.BmcResponse {
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ *
+ * @return the value
+ */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+
+ /**
+ * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query
+ * status of the asynchronous operation.
+ */
+ private String opcWorkRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query
+ * status of the asynchronous operation.
+ *
+ * @return the value
+ */
+ public String getOpcWorkRequestId() {
+ return opcWorkRequestId;
+ }
+
+ @java.beans.ConstructorProperties({
+ "__httpStatusCode__",
+ "headers",
+ "opcRequestId",
+ "opcWorkRequestId"
+ })
+ private CreateNodeBackupConfigurationResponse(
+ 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<
+ CreateNodeBackupConfigurationResponse> {
+ 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
+ * request, provide this request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /**
+ * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query
+ * status of the asynchronous operation.
+ */
+ private String opcWorkRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query
+ * status of the asynchronous operation.
+ *
+ * @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(CreateNodeBackupConfigurationResponse 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 CreateNodeBackupConfigurationResponse build() {
+ return new CreateNodeBackupConfigurationResponse(
+ __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 CreateNodeBackupConfigurationResponse)) {
+ return false;
+ }
+
+ CreateNodeBackupConfigurationResponse other = (CreateNodeBackupConfigurationResponse) 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-bds/src/main/java/com/oracle/bmc/bds/responses/CreateNodeReplaceConfigurationResponse.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/responses/CreateNodeReplaceConfigurationResponse.java
new file mode 100644
index 00000000000..32399eccbc2
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/responses/CreateNodeReplaceConfigurationResponse.java
@@ -0,0 +1,186 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.responses;
+
+import com.oracle.bmc.bds.model.*;
+
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class CreateNodeReplaceConfigurationResponse extends com.oracle.bmc.responses.BmcResponse {
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ *
+ * @return the value
+ */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+
+ /**
+ * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query
+ * status of the asynchronous operation.
+ */
+ private String opcWorkRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query
+ * status of the asynchronous operation.
+ *
+ * @return the value
+ */
+ public String getOpcWorkRequestId() {
+ return opcWorkRequestId;
+ }
+
+ @java.beans.ConstructorProperties({
+ "__httpStatusCode__",
+ "headers",
+ "opcRequestId",
+ "opcWorkRequestId"
+ })
+ private CreateNodeReplaceConfigurationResponse(
+ 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<
+ CreateNodeReplaceConfigurationResponse> {
+ 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
+ * request, provide this request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /**
+ * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query
+ * status of the asynchronous operation.
+ */
+ private String opcWorkRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query
+ * status of the asynchronous operation.
+ *
+ * @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(CreateNodeReplaceConfigurationResponse 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 CreateNodeReplaceConfigurationResponse build() {
+ return new CreateNodeReplaceConfigurationResponse(
+ __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 CreateNodeReplaceConfigurationResponse)) {
+ return false;
+ }
+
+ CreateNodeReplaceConfigurationResponse other = (CreateNodeReplaceConfigurationResponse) 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-bds/src/main/java/com/oracle/bmc/bds/responses/DeleteNodeBackupConfigurationResponse.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/responses/DeleteNodeBackupConfigurationResponse.java
new file mode 100644
index 00000000000..a1730da66d8
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/responses/DeleteNodeBackupConfigurationResponse.java
@@ -0,0 +1,186 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.responses;
+
+import com.oracle.bmc.bds.model.*;
+
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class DeleteNodeBackupConfigurationResponse extends com.oracle.bmc.responses.BmcResponse {
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ *
+ * @return the value
+ */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+
+ /**
+ * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query
+ * status of the asynchronous operation.
+ */
+ private String opcWorkRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query
+ * status of the asynchronous operation.
+ *
+ * @return the value
+ */
+ public String getOpcWorkRequestId() {
+ return opcWorkRequestId;
+ }
+
+ @java.beans.ConstructorProperties({
+ "__httpStatusCode__",
+ "headers",
+ "opcRequestId",
+ "opcWorkRequestId"
+ })
+ private DeleteNodeBackupConfigurationResponse(
+ 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<
+ DeleteNodeBackupConfigurationResponse> {
+ 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
+ * request, provide this request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /**
+ * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query
+ * status of the asynchronous operation.
+ */
+ private String opcWorkRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query
+ * status of the asynchronous operation.
+ *
+ * @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(DeleteNodeBackupConfigurationResponse 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 DeleteNodeBackupConfigurationResponse build() {
+ return new DeleteNodeBackupConfigurationResponse(
+ __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 DeleteNodeBackupConfigurationResponse)) {
+ return false;
+ }
+
+ DeleteNodeBackupConfigurationResponse other = (DeleteNodeBackupConfigurationResponse) 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-bds/src/main/java/com/oracle/bmc/bds/responses/DeleteNodeBackupResponse.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/responses/DeleteNodeBackupResponse.java
new file mode 100644
index 00000000000..5bc433b6097
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/responses/DeleteNodeBackupResponse.java
@@ -0,0 +1,185 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.responses;
+
+import com.oracle.bmc.bds.model.*;
+
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class DeleteNodeBackupResponse extends com.oracle.bmc.responses.BmcResponse {
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ *
+ * @return the value
+ */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+
+ /**
+ * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query
+ * status of the asynchronous operation.
+ */
+ private String opcWorkRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query
+ * status of the asynchronous operation.
+ *
+ * @return the value
+ */
+ public String getOpcWorkRequestId() {
+ return opcWorkRequestId;
+ }
+
+ @java.beans.ConstructorProperties({
+ "__httpStatusCode__",
+ "headers",
+ "opcRequestId",
+ "opcWorkRequestId"
+ })
+ private DeleteNodeBackupResponse(
+ 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 {
+ 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
+ * request, provide this request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /**
+ * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query
+ * status of the asynchronous operation.
+ */
+ private String opcWorkRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query
+ * status of the asynchronous operation.
+ *
+ * @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(DeleteNodeBackupResponse 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 DeleteNodeBackupResponse build() {
+ return new DeleteNodeBackupResponse(
+ __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 DeleteNodeBackupResponse)) {
+ return false;
+ }
+
+ DeleteNodeBackupResponse other = (DeleteNodeBackupResponse) 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-bds/src/main/java/com/oracle/bmc/bds/responses/GetNodeBackupConfigurationResponse.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/responses/GetNodeBackupConfigurationResponse.java
new file mode 100644
index 00000000000..a4d9af6da7e
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/responses/GetNodeBackupConfigurationResponse.java
@@ -0,0 +1,215 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.responses;
+
+import com.oracle.bmc.bds.model.*;
+
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class GetNodeBackupConfigurationResponse extends com.oracle.bmc.responses.BmcResponse {
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ *
+ * @return the value
+ */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+
+ /** 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;
+ }
+
+ /** The returned {@code NodeBackupConfiguration} instance. */
+ private com.oracle.bmc.bds.model.NodeBackupConfiguration nodeBackupConfiguration;
+
+ /**
+ * The returned {@code NodeBackupConfiguration} instance.
+ *
+ * @return the value
+ */
+ public com.oracle.bmc.bds.model.NodeBackupConfiguration getNodeBackupConfiguration() {
+ return nodeBackupConfiguration;
+ }
+
+ @java.beans.ConstructorProperties({
+ "__httpStatusCode__",
+ "headers",
+ "opcRequestId",
+ "etag",
+ "nodeBackupConfiguration"
+ })
+ private GetNodeBackupConfigurationResponse(
+ int __httpStatusCode__,
+ java.util.Map> headers,
+ String opcRequestId,
+ String etag,
+ com.oracle.bmc.bds.model.NodeBackupConfiguration nodeBackupConfiguration) {
+ super(__httpStatusCode__, headers);
+ this.opcRequestId = opcRequestId;
+ this.etag = etag;
+ this.nodeBackupConfiguration = nodeBackupConfiguration;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.responses.BmcResponse.Builder<
+ GetNodeBackupConfigurationResponse> {
+ 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
+ * request, provide this request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ 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;
+ }
+
+ /** The returned {@code NodeBackupConfiguration} instance. */
+ private com.oracle.bmc.bds.model.NodeBackupConfiguration nodeBackupConfiguration;
+
+ /**
+ * The returned {@code NodeBackupConfiguration} instance.
+ *
+ * @param nodeBackupConfiguration the value to set
+ * @return this builder
+ */
+ public Builder nodeBackupConfiguration(
+ com.oracle.bmc.bds.model.NodeBackupConfiguration nodeBackupConfiguration) {
+ this.nodeBackupConfiguration = nodeBackupConfiguration;
+ return this;
+ }
+
+ /**
+ * Copy method to populate the builder with values from the given instance.
+ *
+ * @return this builder instance
+ */
+ @Override
+ public Builder copy(GetNodeBackupConfigurationResponse o) {
+ __httpStatusCode__(o.get__httpStatusCode__());
+ headers(o.getHeaders());
+ opcRequestId(o.getOpcRequestId());
+ etag(o.getEtag());
+ nodeBackupConfiguration(o.getNodeBackupConfiguration());
+
+ return this;
+ }
+
+ /**
+ * Build the response object.
+ *
+ * @return the response object
+ */
+ @Override
+ public GetNodeBackupConfigurationResponse build() {
+ return new GetNodeBackupConfigurationResponse(
+ __httpStatusCode__, headers, opcRequestId, etag, nodeBackupConfiguration);
+ }
+ }
+
+ /**
+ * 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(",etag=").append(String.valueOf(etag));
+ sb.append(",nodeBackupConfiguration=").append(String.valueOf(nodeBackupConfiguration));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof GetNodeBackupConfigurationResponse)) {
+ return false;
+ }
+
+ GetNodeBackupConfigurationResponse other = (GetNodeBackupConfigurationResponse) o;
+ return super.equals(o)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId)
+ && java.util.Objects.equals(this.etag, other.etag)
+ && java.util.Objects.equals(
+ this.nodeBackupConfiguration, other.nodeBackupConfiguration);
+ }
+
+ @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.etag == null ? 43 : this.etag.hashCode());
+ result =
+ (result * PRIME)
+ + (this.nodeBackupConfiguration == null
+ ? 43
+ : this.nodeBackupConfiguration.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/responses/GetNodeBackupResponse.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/responses/GetNodeBackupResponse.java
new file mode 100644
index 00000000000..a39bf8a3129
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/responses/GetNodeBackupResponse.java
@@ -0,0 +1,208 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.responses;
+
+import com.oracle.bmc.bds.model.*;
+
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class GetNodeBackupResponse extends com.oracle.bmc.responses.BmcResponse {
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ *
+ * @return the value
+ */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+
+ /** 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;
+ }
+
+ /** The returned {@code NodeBackup} instance. */
+ private com.oracle.bmc.bds.model.NodeBackup nodeBackup;
+
+ /**
+ * The returned {@code NodeBackup} instance.
+ *
+ * @return the value
+ */
+ public com.oracle.bmc.bds.model.NodeBackup getNodeBackup() {
+ return nodeBackup;
+ }
+
+ @java.beans.ConstructorProperties({
+ "__httpStatusCode__",
+ "headers",
+ "opcRequestId",
+ "etag",
+ "nodeBackup"
+ })
+ private GetNodeBackupResponse(
+ int __httpStatusCode__,
+ java.util.Map> headers,
+ String opcRequestId,
+ String etag,
+ com.oracle.bmc.bds.model.NodeBackup nodeBackup) {
+ super(__httpStatusCode__, headers);
+ this.opcRequestId = opcRequestId;
+ this.etag = etag;
+ this.nodeBackup = nodeBackup;
+ }
+
+ 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;
+ }
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ 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;
+ }
+
+ /** The returned {@code NodeBackup} instance. */
+ private com.oracle.bmc.bds.model.NodeBackup nodeBackup;
+
+ /**
+ * The returned {@code NodeBackup} instance.
+ *
+ * @param nodeBackup the value to set
+ * @return this builder
+ */
+ public Builder nodeBackup(com.oracle.bmc.bds.model.NodeBackup nodeBackup) {
+ this.nodeBackup = nodeBackup;
+ return this;
+ }
+
+ /**
+ * Copy method to populate the builder with values from the given instance.
+ *
+ * @return this builder instance
+ */
+ @Override
+ public Builder copy(GetNodeBackupResponse o) {
+ __httpStatusCode__(o.get__httpStatusCode__());
+ headers(o.getHeaders());
+ opcRequestId(o.getOpcRequestId());
+ etag(o.getEtag());
+ nodeBackup(o.getNodeBackup());
+
+ return this;
+ }
+
+ /**
+ * Build the response object.
+ *
+ * @return the response object
+ */
+ @Override
+ public GetNodeBackupResponse build() {
+ return new GetNodeBackupResponse(
+ __httpStatusCode__, headers, opcRequestId, etag, nodeBackup);
+ }
+ }
+
+ /**
+ * 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(",etag=").append(String.valueOf(etag));
+ sb.append(",nodeBackup=").append(String.valueOf(nodeBackup));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof GetNodeBackupResponse)) {
+ return false;
+ }
+
+ GetNodeBackupResponse other = (GetNodeBackupResponse) o;
+ return super.equals(o)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId)
+ && java.util.Objects.equals(this.etag, other.etag)
+ && java.util.Objects.equals(this.nodeBackup, other.nodeBackup);
+ }
+
+ @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.etag == null ? 43 : this.etag.hashCode());
+ result = (result * PRIME) + (this.nodeBackup == null ? 43 : this.nodeBackup.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/responses/GetNodeReplaceConfigurationResponse.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/responses/GetNodeReplaceConfigurationResponse.java
new file mode 100644
index 00000000000..d540aa2867e
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/responses/GetNodeReplaceConfigurationResponse.java
@@ -0,0 +1,215 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.responses;
+
+import com.oracle.bmc.bds.model.*;
+
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class GetNodeReplaceConfigurationResponse extends com.oracle.bmc.responses.BmcResponse {
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ *
+ * @return the value
+ */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+
+ /** 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;
+ }
+
+ /** The returned {@code NodeReplaceConfiguration} instance. */
+ private com.oracle.bmc.bds.model.NodeReplaceConfiguration nodeReplaceConfiguration;
+
+ /**
+ * The returned {@code NodeReplaceConfiguration} instance.
+ *
+ * @return the value
+ */
+ public com.oracle.bmc.bds.model.NodeReplaceConfiguration getNodeReplaceConfiguration() {
+ return nodeReplaceConfiguration;
+ }
+
+ @java.beans.ConstructorProperties({
+ "__httpStatusCode__",
+ "headers",
+ "opcRequestId",
+ "etag",
+ "nodeReplaceConfiguration"
+ })
+ private GetNodeReplaceConfigurationResponse(
+ int __httpStatusCode__,
+ java.util.Map> headers,
+ String opcRequestId,
+ String etag,
+ com.oracle.bmc.bds.model.NodeReplaceConfiguration nodeReplaceConfiguration) {
+ super(__httpStatusCode__, headers);
+ this.opcRequestId = opcRequestId;
+ this.etag = etag;
+ this.nodeReplaceConfiguration = nodeReplaceConfiguration;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.responses.BmcResponse.Builder<
+ GetNodeReplaceConfigurationResponse> {
+ 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
+ * request, provide this request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ 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;
+ }
+
+ /** The returned {@code NodeReplaceConfiguration} instance. */
+ private com.oracle.bmc.bds.model.NodeReplaceConfiguration nodeReplaceConfiguration;
+
+ /**
+ * The returned {@code NodeReplaceConfiguration} instance.
+ *
+ * @param nodeReplaceConfiguration the value to set
+ * @return this builder
+ */
+ public Builder nodeReplaceConfiguration(
+ com.oracle.bmc.bds.model.NodeReplaceConfiguration nodeReplaceConfiguration) {
+ this.nodeReplaceConfiguration = nodeReplaceConfiguration;
+ return this;
+ }
+
+ /**
+ * Copy method to populate the builder with values from the given instance.
+ *
+ * @return this builder instance
+ */
+ @Override
+ public Builder copy(GetNodeReplaceConfigurationResponse o) {
+ __httpStatusCode__(o.get__httpStatusCode__());
+ headers(o.getHeaders());
+ opcRequestId(o.getOpcRequestId());
+ etag(o.getEtag());
+ nodeReplaceConfiguration(o.getNodeReplaceConfiguration());
+
+ return this;
+ }
+
+ /**
+ * Build the response object.
+ *
+ * @return the response object
+ */
+ @Override
+ public GetNodeReplaceConfigurationResponse build() {
+ return new GetNodeReplaceConfigurationResponse(
+ __httpStatusCode__, headers, opcRequestId, etag, nodeReplaceConfiguration);
+ }
+ }
+
+ /**
+ * 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(",etag=").append(String.valueOf(etag));
+ sb.append(",nodeReplaceConfiguration=").append(String.valueOf(nodeReplaceConfiguration));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof GetNodeReplaceConfigurationResponse)) {
+ return false;
+ }
+
+ GetNodeReplaceConfigurationResponse other = (GetNodeReplaceConfigurationResponse) o;
+ return super.equals(o)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId)
+ && java.util.Objects.equals(this.etag, other.etag)
+ && java.util.Objects.equals(
+ this.nodeReplaceConfiguration, other.nodeReplaceConfiguration);
+ }
+
+ @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.etag == null ? 43 : this.etag.hashCode());
+ result =
+ (result * PRIME)
+ + (this.nodeReplaceConfiguration == null
+ ? 43
+ : this.nodeReplaceConfiguration.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/responses/ListNodeBackupConfigurationsResponse.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/responses/ListNodeBackupConfigurationsResponse.java
new file mode 100644
index 00000000000..a286ac99070
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/responses/ListNodeBackupConfigurationsResponse.java
@@ -0,0 +1,222 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.responses;
+
+import com.oracle.bmc.bds.model.*;
+
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class ListNodeBackupConfigurationsResponse extends com.oracle.bmc.responses.BmcResponse {
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ *
+ * @return the value
+ */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+
+ /**
+ * For pagination of a list of items. When paging through a list, if this header appears in the
+ * response, then a partial list might have been returned. Include this value as the {@code
+ * page} parameter for the subsequent GET request to get the next batch of items.
+ */
+ private String opcNextPage;
+
+ /**
+ * For pagination of a list of items. When paging through a list, if this header appears in the
+ * response, then a partial list might have been returned. Include this value as the {@code
+ * page} parameter for the subsequent GET request to get the next batch of items.
+ *
+ * @return the value
+ */
+ public String getOpcNextPage() {
+ return opcNextPage;
+ }
+
+ /** A list of {@code com.oracle.bmc.bds.model.NodeBackupConfigurationSummary} instances. */
+ private java.util.List items;
+
+ /**
+ * A list of {@code com.oracle.bmc.bds.model.NodeBackupConfigurationSummary} instances.
+ *
+ * @return the value
+ */
+ public java.util.List getItems() {
+ return items;
+ }
+
+ @java.beans.ConstructorProperties({
+ "__httpStatusCode__",
+ "headers",
+ "opcRequestId",
+ "opcNextPage",
+ "items"
+ })
+ private ListNodeBackupConfigurationsResponse(
+ int __httpStatusCode__,
+ java.util.Map> headers,
+ String opcRequestId,
+ String opcNextPage,
+ java.util.List items) {
+ super(__httpStatusCode__, headers);
+ this.opcRequestId = opcRequestId;
+ this.opcNextPage = opcNextPage;
+ this.items = items;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.responses.BmcResponse.Builder<
+ ListNodeBackupConfigurationsResponse> {
+ 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
+ * request, provide this request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /**
+ * For pagination of a list of items. When paging through a list, if this header appears in
+ * the response, then a partial list might have been returned. Include this value as the
+ * {@code page} parameter for the subsequent GET request to get the next batch of items.
+ */
+ private String opcNextPage;
+
+ /**
+ * For pagination of a list of items. When paging through a list, if this header appears in
+ * the response, then a partial list might have been returned. Include this value as the
+ * {@code page} parameter for the subsequent GET request to get the next batch of items.
+ *
+ * @param opcNextPage the value to set
+ * @return this builder
+ */
+ public Builder opcNextPage(String opcNextPage) {
+ this.opcNextPage = opcNextPage;
+ return this;
+ }
+
+ /** A list of {@code com.oracle.bmc.bds.model.NodeBackupConfigurationSummary} instances. */
+ private java.util.List items;
+
+ /**
+ * A list of {@code com.oracle.bmc.bds.model.NodeBackupConfigurationSummary} instances.
+ *
+ * @param items the value to set
+ * @return this builder
+ */
+ public Builder items(
+ java.util.List items) {
+ this.items = items;
+ return this;
+ }
+
+ /**
+ * Copy method to populate the builder with values from the given instance.
+ *
+ * @return this builder instance
+ */
+ @Override
+ public Builder copy(ListNodeBackupConfigurationsResponse o) {
+ __httpStatusCode__(o.get__httpStatusCode__());
+ headers(o.getHeaders());
+ opcRequestId(o.getOpcRequestId());
+ opcNextPage(o.getOpcNextPage());
+ items(o.getItems());
+
+ return this;
+ }
+
+ /**
+ * Build the response object.
+ *
+ * @return the response object
+ */
+ @Override
+ public ListNodeBackupConfigurationsResponse build() {
+ return new ListNodeBackupConfigurationsResponse(
+ __httpStatusCode__, headers, opcRequestId, opcNextPage, items);
+ }
+ }
+
+ /**
+ * Return a new builder for this response object.
+ *
+ * @return builder for the response object
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ @Override
+ public String toString() {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("(");
+ sb.append("super=").append(super.toString());
+ sb.append(",opcRequestId=").append(String.valueOf(opcRequestId));
+ sb.append(",opcNextPage=").append(String.valueOf(opcNextPage));
+ sb.append(",items=").append(String.valueOf(items));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof ListNodeBackupConfigurationsResponse)) {
+ return false;
+ }
+
+ ListNodeBackupConfigurationsResponse other = (ListNodeBackupConfigurationsResponse) o;
+ return super.equals(o)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId)
+ && java.util.Objects.equals(this.opcNextPage, other.opcNextPage)
+ && java.util.Objects.equals(this.items, other.items);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ result = (result * PRIME) + (this.opcNextPage == null ? 43 : this.opcNextPage.hashCode());
+ result = (result * PRIME) + (this.items == null ? 43 : this.items.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/responses/ListNodeBackupsResponse.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/responses/ListNodeBackupsResponse.java
new file mode 100644
index 00000000000..86885c8fd11
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/responses/ListNodeBackupsResponse.java
@@ -0,0 +1,220 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.responses;
+
+import com.oracle.bmc.bds.model.*;
+
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class ListNodeBackupsResponse extends com.oracle.bmc.responses.BmcResponse {
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ *
+ * @return the value
+ */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+
+ /**
+ * For pagination of a list of items. When paging through a list, if this header appears in the
+ * response, then a partial list might have been returned. Include this value as the {@code
+ * page} parameter for the subsequent GET request to get the next batch of items.
+ */
+ private String opcNextPage;
+
+ /**
+ * For pagination of a list of items. When paging through a list, if this header appears in the
+ * response, then a partial list might have been returned. Include this value as the {@code
+ * page} parameter for the subsequent GET request to get the next batch of items.
+ *
+ * @return the value
+ */
+ public String getOpcNextPage() {
+ return opcNextPage;
+ }
+
+ /** A list of {@code com.oracle.bmc.bds.model.NodeBackupSummary} instances. */
+ private java.util.List items;
+
+ /**
+ * A list of {@code com.oracle.bmc.bds.model.NodeBackupSummary} instances.
+ *
+ * @return the value
+ */
+ public java.util.List getItems() {
+ return items;
+ }
+
+ @java.beans.ConstructorProperties({
+ "__httpStatusCode__",
+ "headers",
+ "opcRequestId",
+ "opcNextPage",
+ "items"
+ })
+ private ListNodeBackupsResponse(
+ int __httpStatusCode__,
+ java.util.Map> headers,
+ String opcRequestId,
+ String opcNextPage,
+ java.util.List items) {
+ super(__httpStatusCode__, headers);
+ this.opcRequestId = opcRequestId;
+ this.opcNextPage = opcNextPage;
+ this.items = items;
+ }
+
+ 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;
+ }
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /**
+ * For pagination of a list of items. When paging through a list, if this header appears in
+ * the response, then a partial list might have been returned. Include this value as the
+ * {@code page} parameter for the subsequent GET request to get the next batch of items.
+ */
+ private String opcNextPage;
+
+ /**
+ * For pagination of a list of items. When paging through a list, if this header appears in
+ * the response, then a partial list might have been returned. Include this value as the
+ * {@code page} parameter for the subsequent GET request to get the next batch of items.
+ *
+ * @param opcNextPage the value to set
+ * @return this builder
+ */
+ public Builder opcNextPage(String opcNextPage) {
+ this.opcNextPage = opcNextPage;
+ return this;
+ }
+
+ /** A list of {@code com.oracle.bmc.bds.model.NodeBackupSummary} instances. */
+ private java.util.List items;
+
+ /**
+ * A list of {@code com.oracle.bmc.bds.model.NodeBackupSummary} instances.
+ *
+ * @param items the value to set
+ * @return this builder
+ */
+ public Builder items(java.util.List items) {
+ this.items = items;
+ return this;
+ }
+
+ /**
+ * Copy method to populate the builder with values from the given instance.
+ *
+ * @return this builder instance
+ */
+ @Override
+ public Builder copy(ListNodeBackupsResponse o) {
+ __httpStatusCode__(o.get__httpStatusCode__());
+ headers(o.getHeaders());
+ opcRequestId(o.getOpcRequestId());
+ opcNextPage(o.getOpcNextPage());
+ items(o.getItems());
+
+ return this;
+ }
+
+ /**
+ * Build the response object.
+ *
+ * @return the response object
+ */
+ @Override
+ public ListNodeBackupsResponse build() {
+ return new ListNodeBackupsResponse(
+ __httpStatusCode__, headers, opcRequestId, opcNextPage, items);
+ }
+ }
+
+ /**
+ * Return a new builder for this response object.
+ *
+ * @return builder for the response object
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ @Override
+ public String toString() {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("(");
+ sb.append("super=").append(super.toString());
+ sb.append(",opcRequestId=").append(String.valueOf(opcRequestId));
+ sb.append(",opcNextPage=").append(String.valueOf(opcNextPage));
+ sb.append(",items=").append(String.valueOf(items));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof ListNodeBackupsResponse)) {
+ return false;
+ }
+
+ ListNodeBackupsResponse other = (ListNodeBackupsResponse) o;
+ return super.equals(o)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId)
+ && java.util.Objects.equals(this.opcNextPage, other.opcNextPage)
+ && java.util.Objects.equals(this.items, other.items);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ result = (result * PRIME) + (this.opcNextPage == null ? 43 : this.opcNextPage.hashCode());
+ result = (result * PRIME) + (this.items == null ? 43 : this.items.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/responses/ListNodeReplaceConfigurationsResponse.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/responses/ListNodeReplaceConfigurationsResponse.java
new file mode 100644
index 00000000000..6c2eb80b522
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/responses/ListNodeReplaceConfigurationsResponse.java
@@ -0,0 +1,222 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.responses;
+
+import com.oracle.bmc.bds.model.*;
+
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class ListNodeReplaceConfigurationsResponse extends com.oracle.bmc.responses.BmcResponse {
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ *
+ * @return the value
+ */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+
+ /**
+ * For pagination of a list of items. When paging through a list, if this header appears in the
+ * response, then a partial list might have been returned. Include this value as the {@code
+ * page} parameter for the subsequent GET request to get the next batch of items.
+ */
+ private String opcNextPage;
+
+ /**
+ * For pagination of a list of items. When paging through a list, if this header appears in the
+ * response, then a partial list might have been returned. Include this value as the {@code
+ * page} parameter for the subsequent GET request to get the next batch of items.
+ *
+ * @return the value
+ */
+ public String getOpcNextPage() {
+ return opcNextPage;
+ }
+
+ /** A list of {@code com.oracle.bmc.bds.model.NodeReplaceConfigurationSummary} instances. */
+ private java.util.List items;
+
+ /**
+ * A list of {@code com.oracle.bmc.bds.model.NodeReplaceConfigurationSummary} instances.
+ *
+ * @return the value
+ */
+ public java.util.List getItems() {
+ return items;
+ }
+
+ @java.beans.ConstructorProperties({
+ "__httpStatusCode__",
+ "headers",
+ "opcRequestId",
+ "opcNextPage",
+ "items"
+ })
+ private ListNodeReplaceConfigurationsResponse(
+ int __httpStatusCode__,
+ java.util.Map> headers,
+ String opcRequestId,
+ String opcNextPage,
+ java.util.List items) {
+ super(__httpStatusCode__, headers);
+ this.opcRequestId = opcRequestId;
+ this.opcNextPage = opcNextPage;
+ this.items = items;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.responses.BmcResponse.Builder<
+ ListNodeReplaceConfigurationsResponse> {
+ 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
+ * request, provide this request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /**
+ * For pagination of a list of items. When paging through a list, if this header appears in
+ * the response, then a partial list might have been returned. Include this value as the
+ * {@code page} parameter for the subsequent GET request to get the next batch of items.
+ */
+ private String opcNextPage;
+
+ /**
+ * For pagination of a list of items. When paging through a list, if this header appears in
+ * the response, then a partial list might have been returned. Include this value as the
+ * {@code page} parameter for the subsequent GET request to get the next batch of items.
+ *
+ * @param opcNextPage the value to set
+ * @return this builder
+ */
+ public Builder opcNextPage(String opcNextPage) {
+ this.opcNextPage = opcNextPage;
+ return this;
+ }
+
+ /** A list of {@code com.oracle.bmc.bds.model.NodeReplaceConfigurationSummary} instances. */
+ private java.util.List items;
+
+ /**
+ * A list of {@code com.oracle.bmc.bds.model.NodeReplaceConfigurationSummary} instances.
+ *
+ * @param items the value to set
+ * @return this builder
+ */
+ public Builder items(
+ java.util.List items) {
+ this.items = items;
+ return this;
+ }
+
+ /**
+ * Copy method to populate the builder with values from the given instance.
+ *
+ * @return this builder instance
+ */
+ @Override
+ public Builder copy(ListNodeReplaceConfigurationsResponse o) {
+ __httpStatusCode__(o.get__httpStatusCode__());
+ headers(o.getHeaders());
+ opcRequestId(o.getOpcRequestId());
+ opcNextPage(o.getOpcNextPage());
+ items(o.getItems());
+
+ return this;
+ }
+
+ /**
+ * Build the response object.
+ *
+ * @return the response object
+ */
+ @Override
+ public ListNodeReplaceConfigurationsResponse build() {
+ return new ListNodeReplaceConfigurationsResponse(
+ __httpStatusCode__, headers, opcRequestId, opcNextPage, items);
+ }
+ }
+
+ /**
+ * Return a new builder for this response object.
+ *
+ * @return builder for the response object
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ @Override
+ public String toString() {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("(");
+ sb.append("super=").append(super.toString());
+ sb.append(",opcRequestId=").append(String.valueOf(opcRequestId));
+ sb.append(",opcNextPage=").append(String.valueOf(opcNextPage));
+ sb.append(",items=").append(String.valueOf(items));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof ListNodeReplaceConfigurationsResponse)) {
+ return false;
+ }
+
+ ListNodeReplaceConfigurationsResponse other = (ListNodeReplaceConfigurationsResponse) o;
+ return super.equals(o)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId)
+ && java.util.Objects.equals(this.opcNextPage, other.opcNextPage)
+ && java.util.Objects.equals(this.items, other.items);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ result = (result * PRIME) + (this.opcNextPage == null ? 43 : this.opcNextPage.hashCode());
+ result = (result * PRIME) + (this.items == null ? 43 : this.items.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/responses/RemoveNodeReplaceConfigurationResponse.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/responses/RemoveNodeReplaceConfigurationResponse.java
new file mode 100644
index 00000000000..0b38d571b94
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/responses/RemoveNodeReplaceConfigurationResponse.java
@@ -0,0 +1,186 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.responses;
+
+import com.oracle.bmc.bds.model.*;
+
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class RemoveNodeReplaceConfigurationResponse extends com.oracle.bmc.responses.BmcResponse {
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ *
+ * @return the value
+ */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+
+ /**
+ * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query
+ * status of the asynchronous operation.
+ */
+ private String opcWorkRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query
+ * status of the asynchronous operation.
+ *
+ * @return the value
+ */
+ public String getOpcWorkRequestId() {
+ return opcWorkRequestId;
+ }
+
+ @java.beans.ConstructorProperties({
+ "__httpStatusCode__",
+ "headers",
+ "opcRequestId",
+ "opcWorkRequestId"
+ })
+ private RemoveNodeReplaceConfigurationResponse(
+ 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<
+ RemoveNodeReplaceConfigurationResponse> {
+ 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
+ * request, provide this request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /**
+ * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query
+ * status of the asynchronous operation.
+ */
+ private String opcWorkRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query
+ * status of the asynchronous operation.
+ *
+ * @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(RemoveNodeReplaceConfigurationResponse 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 RemoveNodeReplaceConfigurationResponse build() {
+ return new RemoveNodeReplaceConfigurationResponse(
+ __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 RemoveNodeReplaceConfigurationResponse)) {
+ return false;
+ }
+
+ RemoveNodeReplaceConfigurationResponse other = (RemoveNodeReplaceConfigurationResponse) 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-bds/src/main/java/com/oracle/bmc/bds/responses/ReplaceNodeResponse.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/responses/ReplaceNodeResponse.java
new file mode 100644
index 00000000000..cf3d64a77a6
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/responses/ReplaceNodeResponse.java
@@ -0,0 +1,185 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.responses;
+
+import com.oracle.bmc.bds.model.*;
+
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class ReplaceNodeResponse extends com.oracle.bmc.responses.BmcResponse {
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ *
+ * @return the value
+ */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+
+ /**
+ * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query
+ * status of the asynchronous operation.
+ */
+ private String opcWorkRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query
+ * status of the asynchronous operation.
+ *
+ * @return the value
+ */
+ public String getOpcWorkRequestId() {
+ return opcWorkRequestId;
+ }
+
+ @java.beans.ConstructorProperties({
+ "__httpStatusCode__",
+ "headers",
+ "opcRequestId",
+ "opcWorkRequestId"
+ })
+ private ReplaceNodeResponse(
+ 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 {
+ 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
+ * request, provide this request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /**
+ * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query
+ * status of the asynchronous operation.
+ */
+ private String opcWorkRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query
+ * status of the asynchronous operation.
+ *
+ * @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(ReplaceNodeResponse 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 ReplaceNodeResponse build() {
+ return new ReplaceNodeResponse(
+ __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 ReplaceNodeResponse)) {
+ return false;
+ }
+
+ ReplaceNodeResponse other = (ReplaceNodeResponse) 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-bds/src/main/java/com/oracle/bmc/bds/responses/UpdateNodeBackupConfigurationResponse.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/responses/UpdateNodeBackupConfigurationResponse.java
new file mode 100644
index 00000000000..a01149efef9
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/responses/UpdateNodeBackupConfigurationResponse.java
@@ -0,0 +1,186 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.responses;
+
+import com.oracle.bmc.bds.model.*;
+
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class UpdateNodeBackupConfigurationResponse extends com.oracle.bmc.responses.BmcResponse {
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ *
+ * @return the value
+ */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+
+ /**
+ * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query
+ * status of the asynchronous operation.
+ */
+ private String opcWorkRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query
+ * status of the asynchronous operation.
+ *
+ * @return the value
+ */
+ public String getOpcWorkRequestId() {
+ return opcWorkRequestId;
+ }
+
+ @java.beans.ConstructorProperties({
+ "__httpStatusCode__",
+ "headers",
+ "opcRequestId",
+ "opcWorkRequestId"
+ })
+ private UpdateNodeBackupConfigurationResponse(
+ 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<
+ UpdateNodeBackupConfigurationResponse> {
+ 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
+ * request, provide this request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /**
+ * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query
+ * status of the asynchronous operation.
+ */
+ private String opcWorkRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query
+ * status of the asynchronous operation.
+ *
+ * @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(UpdateNodeBackupConfigurationResponse 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 UpdateNodeBackupConfigurationResponse build() {
+ return new UpdateNodeBackupConfigurationResponse(
+ __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 UpdateNodeBackupConfigurationResponse)) {
+ return false;
+ }
+
+ UpdateNodeBackupConfigurationResponse other = (UpdateNodeBackupConfigurationResponse) 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-bds/src/main/java/com/oracle/bmc/bds/responses/UpdateNodeReplaceConfigurationResponse.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/responses/UpdateNodeReplaceConfigurationResponse.java
new file mode 100644
index 00000000000..2fddb6edf91
--- /dev/null
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/responses/UpdateNodeReplaceConfigurationResponse.java
@@ -0,0 +1,186 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.bds.responses;
+
+import com.oracle.bmc.bds.model.*;
+
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190531")
+public class UpdateNodeReplaceConfigurationResponse extends com.oracle.bmc.responses.BmcResponse {
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ *
+ * @return the value
+ */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+
+ /**
+ * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query
+ * status of the asynchronous operation.
+ */
+ private String opcWorkRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query
+ * status of the asynchronous operation.
+ *
+ * @return the value
+ */
+ public String getOpcWorkRequestId() {
+ return opcWorkRequestId;
+ }
+
+ @java.beans.ConstructorProperties({
+ "__httpStatusCode__",
+ "headers",
+ "opcRequestId",
+ "opcWorkRequestId"
+ })
+ private UpdateNodeReplaceConfigurationResponse(
+ 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<
+ UpdateNodeReplaceConfigurationResponse> {
+ 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
+ * request, provide this request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * request, provide this request ID.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /**
+ * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query
+ * status of the asynchronous operation.
+ */
+ private String opcWorkRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query
+ * status of the asynchronous operation.
+ *
+ * @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(UpdateNodeReplaceConfigurationResponse 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 UpdateNodeReplaceConfigurationResponse build() {
+ return new UpdateNodeReplaceConfigurationResponse(
+ __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 UpdateNodeReplaceConfigurationResponse)) {
+ return false;
+ }
+
+ UpdateNodeReplaceConfigurationResponse other = (UpdateNodeReplaceConfigurationResponse) 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-bds/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-bds/reflect-config.json b/bmc-bds/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-bds/reflect-config.json
index 9a36936d3cd..b4162fe5624 100644
--- a/bmc-bds/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-bds/reflect-config.json
+++ b/bmc-bds/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-bds/reflect-config.json
@@ -311,6 +311,20 @@
"allDeclaredMethods": true,
"allDeclaredConstructors": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.bds.model.BackupNodeDetails",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.bds.model.BackupNodeDetails$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.bds.model.BatchingBasedPatchingConfigs",
@@ -597,6 +611,20 @@
"allDeclaredMethods": true,
"allDeclaredConstructors": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.bds.model.CreateNodeBackupConfigurationDetails",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.bds.model.CreateNodeBackupConfigurationDetails$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.bds.model.CreateNodeDetails",
@@ -611,6 +639,20 @@
"allDeclaredMethods": true,
"allDeclaredConstructors": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.bds.model.CreateNodeReplaceConfigurationDetails",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.bds.model.CreateNodeReplaceConfigurationDetails$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.bds.model.DayBasedHorizontalScalingScheduleDetails",
@@ -792,6 +834,19 @@
"allDeclaredMethods": true,
"allDeclaredConstructors": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.bds.model.LevelTypeDetails",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.bds.model.LevelTypeDetails$LevelType",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.bds.model.MetricBasedHorizontalScaleInConfig",
@@ -936,6 +991,154 @@
"allDeclaredFields": true,
"allDeclaredMethods": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.bds.model.NodeBackup",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.bds.model.NodeBackup$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.bds.model.NodeBackup$BackupTriggerType",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.bds.model.NodeBackup$BackupType",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.bds.model.NodeBackup$LifecycleState",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.bds.model.NodeBackupConfiguration",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.bds.model.NodeBackupConfiguration$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.bds.model.NodeBackupConfiguration$LifecycleState",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.bds.model.NodeBackupConfigurationSummary",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.bds.model.NodeBackupConfigurationSummary$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.bds.model.NodeBackupSummary",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.bds.model.NodeBackupSummary$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.bds.model.NodeLevelDetails",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.bds.model.NodeLevelDetails$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.bds.model.NodeReplaceConfiguration",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.bds.model.NodeReplaceConfiguration$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.bds.model.NodeReplaceConfiguration$LifecycleState",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.bds.model.NodeReplaceConfiguration$MetricType",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.bds.model.NodeReplaceConfigurationSummary",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.bds.model.NodeReplaceConfigurationSummary$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.bds.model.NodeTypeLevelDetails",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.bds.model.NodeTypeLevelDetails$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.bds.model.OperationStatus",
@@ -1111,6 +1314,20 @@
"allDeclaredMethods": true,
"allDeclaredConstructors": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.bds.model.RemoveNodeReplaceConfigurationDetails",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.bds.model.RemoveNodeReplaceConfigurationDetails$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.bds.model.RenewCertificateDetails",
@@ -1125,6 +1342,20 @@
"allDeclaredMethods": true,
"allDeclaredConstructors": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.bds.model.ReplaceNodeDetails",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.bds.model.ReplaceNodeDetails$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.bds.model.RestartNodeDetails",
@@ -1360,6 +1591,34 @@
"allDeclaredMethods": true,
"allDeclaredConstructors": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.bds.model.UpdateNodeBackupConfigurationDetails",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.bds.model.UpdateNodeBackupConfigurationDetails$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.bds.model.UpdateNodeReplaceConfigurationDetails",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.bds.model.UpdateNodeReplaceConfigurationDetails$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.bds.model.UpdateScheduleBasedHorizontalScalingPolicyDetails",
diff --git a/bmc-blockchain/pom.xml b/bmc-blockchain/pom.xml
index 1f8b2756909..00d611eae1b 100644
--- a/bmc-blockchain/pom.xml
+++ b/bmc-blockchain/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-blockchain
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
diff --git a/bmc-bom/pom.xml b/bmc-bom/pom.xml
index f3c5c9648b9..a17de7f1726 100644
--- a/bmc-bom/pom.xml
+++ b/bmc-bom/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.oracle.oci.sdk
- 3.41.2
+ 3.41.3
oci-java-sdk-bom
pom
Oracle Cloud Infrastructure SDK - BOM
@@ -38,921 +38,927 @@
com.oracle.oci.sdk
oci-java-sdk-circuitbreaker
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-common-httpclient
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-common-httpclient-jersey
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-common-httpclient-jersey3
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-enforcer-rules
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-shaded-full
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-audit
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-containerengine
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-core
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-database
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-dns
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-email
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-filestorage
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-identity
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-loadbalancer
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-objectstorage
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-addons-apache-configurator-jersey
- 3.41.2
+ 3.41.3
com.oracle.oci.sdk
oci-java-sdk-addons-apache-configurator-jersey3
- 3.41.2
+ 3.41.3
com.oracle.oci.sdk
oci-java-sdk-addons-resteasy-client-configurator
- 3.41.2
+ 3.41.3
com.oracle.oci.sdk
oci-java-sdk-addons-sasl
- 3.41.2
+ 3.41.3
com.oracle.oci.sdk
oci-java-sdk-addons-oke-workload-identity
- 3.41.2
+ 3.41.3
com.oracle.oci.sdk
oci-java-sdk-addons-sasl-oke-workload-identity
- 3.41.2
+ 3.41.3
com.oracle.oci.sdk
oci-java-sdk-resourcesearch
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-addons-apache
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-keymanagement
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-announcementsservice
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-healthchecks
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-waas
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-streaming
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-resourcemanager
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-monitoring
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-ons
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-autoscaling
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-budget
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-workrequests
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-limits
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-functions
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-events
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-dts
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-oce
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-oda
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-analytics
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-integration
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-osmanagement
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-marketplace
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-apigateway
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-datacatalog
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-dataflow
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-datascience
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-nosql
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-secrets
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-vault
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-bds
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-encryption
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-cims
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-datasafe
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-mysql
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-dataintegration
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-ocvp
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-usageapi
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-blockchain
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-loggingingestion
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-logging
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-loganalytics
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-managementdashboard
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-sch
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-loggingsearch
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-managementagent
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-cloudguard
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-opsi
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-computeinstanceagent
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-optimizer
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-tenantmanagercontrolplane
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-rover
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-databasemanagement
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-artifacts
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-apmsynthetics
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-goldengate
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-apmcontrolplane
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-apmtraces
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-networkloadbalancer
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-vulnerabilityscanning
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-databasemigration
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-servicecatalog
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-ailanguage
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-operatoraccesscontrol
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-bastion
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-genericartifactscontent
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-jms
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-devops
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-aianomalydetection
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-datalabelingservice
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-datalabelingservicedataplane
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-apmconfig
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-waf
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-certificates
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-certificatesmanagement
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-usage
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-databasetools
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-servicemanagerproxy
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-appmgmtcontrol
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-ospgateway
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-identitydataplane
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-visualbuilder
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-osubusage
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-osubsubscription
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-osuborganizationsubscription
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-osubbillingschedule
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-dashboardservice
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-threatintelligence
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-aivision
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-aispeech
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-stackmonitoring
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-servicemesh
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-adm
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-licensemanager
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-onesubscription
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-governancerulescontrolplane
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-waa
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-networkfirewall
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-vnmonitoring
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-emwarehouse
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-lockbox
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-fusionapps
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-mediaservices
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-opa
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-opensearch
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-cloudmigrations
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-cloudbridge
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-disasterrecovery
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-containerinstances
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-aidocument
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-queue
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-recovery
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-vbsinst
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-identitydomains
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-accessgovernancecp
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-ocicontrolcenter
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-osmanagementhub
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-fleetsoftwareupdate
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-computecloudatcustomer
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-marketplacepublisher
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-redis
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-jmsjavadownloads
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-psql
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-generativeai
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-generativeaiinference
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-capacitymanagement
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-globallydistributeddatabase
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-desktops
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-emaildataplane
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-clusterplacementgroups
- 3.41.2
+ 3.41.3
false
com.oracle.oci.sdk
oci-java-sdk-marketplaceprivateoffer
- 3.41.2
+ 3.41.3
+ false
+
+
+ com.oracle.oci.sdk
+ oci-java-sdk-resourcescheduler
+ 3.41.3
false
diff --git a/bmc-budget/pom.xml b/bmc-budget/pom.xml
index 305e4bd9eb8..60584dcb804 100644
--- a/bmc-budget/pom.xml
+++ b/bmc-budget/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-budget
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
diff --git a/bmc-capacitymanagement/pom.xml b/bmc-capacitymanagement/pom.xml
index 22b244e72d8..b60304a6812 100644
--- a/bmc-capacitymanagement/pom.xml
+++ b/bmc-capacitymanagement/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-capacitymanagement
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
\ No newline at end of file
diff --git a/bmc-certificates/pom.xml b/bmc-certificates/pom.xml
index c684c67a678..08ba3a6de83 100644
--- a/bmc-certificates/pom.xml
+++ b/bmc-certificates/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-certificates
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
\ No newline at end of file
diff --git a/bmc-certificatesmanagement/pom.xml b/bmc-certificatesmanagement/pom.xml
index 1cbc8e707f4..b01d08c1e0a 100644
--- a/bmc-certificatesmanagement/pom.xml
+++ b/bmc-certificatesmanagement/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-certificatesmanagement
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
\ No newline at end of file
diff --git a/bmc-cims/pom.xml b/bmc-cims/pom.xml
index 5fc4c72dd54..0c54abc350c 100644
--- a/bmc-cims/pom.xml
+++ b/bmc-cims/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-cims
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
diff --git a/bmc-circuitbreaker/pom.xml b/bmc-circuitbreaker/pom.xml
index cd9d5af5ce2..55f68f08ebb 100644
--- a/bmc-circuitbreaker/pom.xml
+++ b/bmc-circuitbreaker/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-circuitbreaker
diff --git a/bmc-cloudbridge/pom.xml b/bmc-cloudbridge/pom.xml
index c14f2261f4e..761d0c75b1c 100644
--- a/bmc-cloudbridge/pom.xml
+++ b/bmc-cloudbridge/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-cloudbridge
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
\ No newline at end of file
diff --git a/bmc-cloudguard/pom.xml b/bmc-cloudguard/pom.xml
index 996387aa479..1c28ab6ff26 100644
--- a/bmc-cloudguard/pom.xml
+++ b/bmc-cloudguard/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-cloudguard
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
diff --git a/bmc-cloudmigrations/pom.xml b/bmc-cloudmigrations/pom.xml
index a3f68eb1786..e42da0bc725 100644
--- a/bmc-cloudmigrations/pom.xml
+++ b/bmc-cloudmigrations/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-cloudmigrations
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
\ No newline at end of file
diff --git a/bmc-clusterplacementgroups/pom.xml b/bmc-clusterplacementgroups/pom.xml
index a4126414f54..c5e8eb1423c 100644
--- a/bmc-clusterplacementgroups/pom.xml
+++ b/bmc-clusterplacementgroups/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-clusterplacementgroups
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
\ No newline at end of file
diff --git a/bmc-clusterplacementgroups/src/main/java/com/oracle/bmc/clusterplacementgroups/ClusterPlacementGroupsCPAsyncClient.java b/bmc-clusterplacementgroups/src/main/java/com/oracle/bmc/clusterplacementgroups/ClusterPlacementGroupsCPAsyncClient.java
index 82f53e58384..5574a2125fb 100644
--- a/bmc-clusterplacementgroups/src/main/java/com/oracle/bmc/clusterplacementgroups/ClusterPlacementGroupsCPAsyncClient.java
+++ b/bmc-clusterplacementgroups/src/main/java/com/oracle/bmc/clusterplacementgroups/ClusterPlacementGroupsCPAsyncClient.java
@@ -111,7 +111,10 @@ public void setRegion(String regionId) {
return clientCall(request, ActivateClusterPlacementGroupResponse::builder)
.logger(LOG, "activateClusterPlacementGroup")
- .serviceDetails("ClusterPlacementGroupsCP", "ActivateClusterPlacementGroup", "")
+ .serviceDetails(
+ "ClusterPlacementGroupsCP",
+ "ActivateClusterPlacementGroup",
+ "https://docs.oracle.com/iaas/api/#/en/clusterplacementgroups/20230801/ClusterPlacementGroup/ActivateClusterPlacementGroup")
.method(com.oracle.bmc.http.client.Method.POST)
.requestBuilder(ActivateClusterPlacementGroupRequest::builder)
.basePath("/20230801")
@@ -145,7 +148,10 @@ public java.util.concurrent.Future cancelWorkRequest(
return clientCall(request, CancelWorkRequestResponse::builder)
.logger(LOG, "cancelWorkRequest")
- .serviceDetails("ClusterPlacementGroupsCP", "CancelWorkRequest", "")
+ .serviceDetails(
+ "ClusterPlacementGroupsCP",
+ "CancelWorkRequest",
+ "https://docs.oracle.com/iaas/api/#/en/clusterplacementgroups/20230801/WorkRequest/CancelWorkRequest")
.method(com.oracle.bmc.http.client.Method.DELETE)
.requestBuilder(CancelWorkRequestRequest::builder)
.basePath("/20230801")
@@ -177,7 +183,9 @@ public java.util.concurrent.Future cancelWorkRequest(
return clientCall(request, ChangeClusterPlacementGroupCompartmentResponse::builder)
.logger(LOG, "changeClusterPlacementGroupCompartment")
.serviceDetails(
- "ClusterPlacementGroupsCP", "ChangeClusterPlacementGroupCompartment", "")
+ "ClusterPlacementGroupsCP",
+ "ChangeClusterPlacementGroupCompartment",
+ "https://docs.oracle.com/iaas/api/#/en/clusterplacementgroups/20230801/ClusterPlacementGroup/ChangeClusterPlacementGroupCompartment")
.method(com.oracle.bmc.http.client.Method.POST)
.requestBuilder(ChangeClusterPlacementGroupCompartmentRequest::builder)
.basePath("/20230801")
@@ -210,7 +218,10 @@ public java.util.concurrent.Future cancelWorkRequest(
return clientCall(request, CreateClusterPlacementGroupResponse::builder)
.logger(LOG, "createClusterPlacementGroup")
- .serviceDetails("ClusterPlacementGroupsCP", "CreateClusterPlacementGroup", "")
+ .serviceDetails(
+ "ClusterPlacementGroupsCP",
+ "CreateClusterPlacementGroup",
+ "https://docs.oracle.com/iaas/api/#/en/clusterplacementgroups/20230801/ClusterPlacementGroup/CreateClusterPlacementGroup")
.method(com.oracle.bmc.http.client.Method.POST)
.requestBuilder(CreateClusterPlacementGroupRequest::builder)
.basePath("/20230801")
@@ -252,7 +263,10 @@ public java.util.concurrent.Future cancelWorkRequest(
return clientCall(request, DeactivateClusterPlacementGroupResponse::builder)
.logger(LOG, "deactivateClusterPlacementGroup")
- .serviceDetails("ClusterPlacementGroupsCP", "DeactivateClusterPlacementGroup", "")
+ .serviceDetails(
+ "ClusterPlacementGroupsCP",
+ "DeactivateClusterPlacementGroup",
+ "https://docs.oracle.com/iaas/api/#/en/clusterplacementgroups/20230801/ClusterPlacementGroup/DeactivateClusterPlacementGroup")
.method(com.oracle.bmc.http.client.Method.POST)
.requestBuilder(DeactivateClusterPlacementGroupRequest::builder)
.basePath("/20230801")
@@ -289,7 +303,10 @@ public java.util.concurrent.Future cancelWorkRequest(
return clientCall(request, DeleteClusterPlacementGroupResponse::builder)
.logger(LOG, "deleteClusterPlacementGroup")
- .serviceDetails("ClusterPlacementGroupsCP", "DeleteClusterPlacementGroup", "")
+ .serviceDetails(
+ "ClusterPlacementGroupsCP",
+ "DeleteClusterPlacementGroup",
+ "https://docs.oracle.com/iaas/api/#/en/clusterplacementgroups/20230801/ClusterPlacementGroup/DeleteClusterPlacementGroup")
.method(com.oracle.bmc.http.client.Method.DELETE)
.requestBuilder(DeleteClusterPlacementGroupRequest::builder)
.basePath("/20230801")
@@ -318,7 +335,10 @@ public java.util.concurrent.Future getClusterP
return clientCall(request, GetClusterPlacementGroupResponse::builder)
.logger(LOG, "getClusterPlacementGroup")
- .serviceDetails("ClusterPlacementGroupsCP", "GetClusterPlacementGroup", "")
+ .serviceDetails(
+ "ClusterPlacementGroupsCP",
+ "GetClusterPlacementGroup",
+ "https://docs.oracle.com/iaas/api/#/en/clusterplacementgroups/20230801/ClusterPlacementGroup/GetClusterPlacementGroup")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(GetClusterPlacementGroupRequest::builder)
.basePath("/20230801")
@@ -346,7 +366,10 @@ public java.util.concurrent.Future getWorkRequest(
return clientCall(request, GetWorkRequestResponse::builder)
.logger(LOG, "getWorkRequest")
- .serviceDetails("ClusterPlacementGroupsCP", "GetWorkRequest", "")
+ .serviceDetails(
+ "ClusterPlacementGroupsCP",
+ "GetWorkRequest",
+ "https://docs.oracle.com/iaas/api/#/en/clusterplacementgroups/20230801/WorkRequest/GetWorkRequest")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(GetWorkRequestRequest::builder)
.basePath("/20230801")
@@ -376,7 +399,10 @@ public java.util.concurrent.Future getWorkRequest(
return clientCall(request, ListClusterPlacementGroupsResponse::builder)
.logger(LOG, "listClusterPlacementGroups")
- .serviceDetails("ClusterPlacementGroupsCP", "ListClusterPlacementGroups", "")
+ .serviceDetails(
+ "ClusterPlacementGroupsCP",
+ "ListClusterPlacementGroups",
+ "https://docs.oracle.com/iaas/api/#/en/clusterplacementgroups/20230801/ClusterPlacementGroupCollection/ListClusterPlacementGroups")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(ListClusterPlacementGroupsRequest::builder)
.basePath("/20230801")
@@ -415,7 +441,10 @@ public java.util.concurrent.Future listWorkReques
return clientCall(request, ListWorkRequestErrorsResponse::builder)
.logger(LOG, "listWorkRequestErrors")
- .serviceDetails("ClusterPlacementGroupsCP", "ListWorkRequestErrors", "")
+ .serviceDetails(
+ "ClusterPlacementGroupsCP",
+ "ListWorkRequestErrors",
+ "https://docs.oracle.com/iaas/api/#/en/clusterplacementgroups/20230801/WorkRequestError/ListWorkRequestErrors")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(ListWorkRequestErrorsRequest::builder)
.basePath("/20230801")
@@ -450,7 +479,10 @@ public java.util.concurrent.Future listWorkRequestL
return clientCall(request, ListWorkRequestLogsResponse::builder)
.logger(LOG, "listWorkRequestLogs")
- .serviceDetails("ClusterPlacementGroupsCP", "ListWorkRequestLogs", "")
+ .serviceDetails(
+ "ClusterPlacementGroupsCP",
+ "ListWorkRequestLogs",
+ "https://docs.oracle.com/iaas/api/#/en/clusterplacementgroups/20230801/WorkRequestLogEntry/ListWorkRequestLogs")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(ListWorkRequestLogsRequest::builder)
.basePath("/20230801")
@@ -483,7 +515,10 @@ public java.util.concurrent.Future listWorkRequests(
return clientCall(request, ListWorkRequestsResponse::builder)
.logger(LOG, "listWorkRequests")
- .serviceDetails("ClusterPlacementGroupsCP", "ListWorkRequests", "")
+ .serviceDetails(
+ "ClusterPlacementGroupsCP",
+ "ListWorkRequests",
+ "https://docs.oracle.com/iaas/api/#/en/clusterplacementgroups/20230801/WorkRequest/ListWorkRequests")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(ListWorkRequestsRequest::builder)
.basePath("/20230801")
@@ -526,7 +561,10 @@ public java.util.concurrent.Future listWorkRequests(
return clientCall(request, UpdateClusterPlacementGroupResponse::builder)
.logger(LOG, "updateClusterPlacementGroup")
- .serviceDetails("ClusterPlacementGroupsCP", "UpdateClusterPlacementGroup", "")
+ .serviceDetails(
+ "ClusterPlacementGroupsCP",
+ "UpdateClusterPlacementGroup",
+ "https://docs.oracle.com/iaas/api/#/en/clusterplacementgroups/20230801/ClusterPlacementGroup/UpdateClusterPlacementGroup")
.method(com.oracle.bmc.http.client.Method.PUT)
.requestBuilder(UpdateClusterPlacementGroupRequest::builder)
.basePath("/20230801")
diff --git a/bmc-clusterplacementgroups/src/main/java/com/oracle/bmc/clusterplacementgroups/ClusterPlacementGroupsCPClient.java b/bmc-clusterplacementgroups/src/main/java/com/oracle/bmc/clusterplacementgroups/ClusterPlacementGroupsCPClient.java
index 12481135702..0a3623f8121 100644
--- a/bmc-clusterplacementgroups/src/main/java/com/oracle/bmc/clusterplacementgroups/ClusterPlacementGroupsCPClient.java
+++ b/bmc-clusterplacementgroups/src/main/java/com/oracle/bmc/clusterplacementgroups/ClusterPlacementGroupsCPClient.java
@@ -134,7 +134,10 @@ public ActivateClusterPlacementGroupResponse activateClusterPlacementGroup(
return clientCall(request, ActivateClusterPlacementGroupResponse::builder)
.logger(LOG, "activateClusterPlacementGroup")
- .serviceDetails("ClusterPlacementGroupsCP", "ActivateClusterPlacementGroup", "")
+ .serviceDetails(
+ "ClusterPlacementGroupsCP",
+ "ActivateClusterPlacementGroup",
+ "https://docs.oracle.com/iaas/api/#/en/clusterplacementgroups/20230801/ClusterPlacementGroup/ActivateClusterPlacementGroup")
.method(com.oracle.bmc.http.client.Method.POST)
.requestBuilder(ActivateClusterPlacementGroupRequest::builder)
.basePath("/20230801")
@@ -165,7 +168,10 @@ public CancelWorkRequestResponse cancelWorkRequest(CancelWorkRequestRequest requ
return clientCall(request, CancelWorkRequestResponse::builder)
.logger(LOG, "cancelWorkRequest")
- .serviceDetails("ClusterPlacementGroupsCP", "CancelWorkRequest", "")
+ .serviceDetails(
+ "ClusterPlacementGroupsCP",
+ "CancelWorkRequest",
+ "https://docs.oracle.com/iaas/api/#/en/clusterplacementgroups/20230801/WorkRequest/CancelWorkRequest")
.method(com.oracle.bmc.http.client.Method.DELETE)
.requestBuilder(CancelWorkRequestRequest::builder)
.basePath("/20230801")
@@ -193,7 +199,9 @@ public ChangeClusterPlacementGroupCompartmentResponse changeClusterPlacementGrou
return clientCall(request, ChangeClusterPlacementGroupCompartmentResponse::builder)
.logger(LOG, "changeClusterPlacementGroupCompartment")
.serviceDetails(
- "ClusterPlacementGroupsCP", "ChangeClusterPlacementGroupCompartment", "")
+ "ClusterPlacementGroupsCP",
+ "ChangeClusterPlacementGroupCompartment",
+ "https://docs.oracle.com/iaas/api/#/en/clusterplacementgroups/20230801/ClusterPlacementGroup/ChangeClusterPlacementGroupCompartment")
.method(com.oracle.bmc.http.client.Method.POST)
.requestBuilder(ChangeClusterPlacementGroupCompartmentRequest::builder)
.basePath("/20230801")
@@ -222,7 +230,10 @@ public CreateClusterPlacementGroupResponse createClusterPlacementGroup(
return clientCall(request, CreateClusterPlacementGroupResponse::builder)
.logger(LOG, "createClusterPlacementGroup")
- .serviceDetails("ClusterPlacementGroupsCP", "CreateClusterPlacementGroup", "")
+ .serviceDetails(
+ "ClusterPlacementGroupsCP",
+ "CreateClusterPlacementGroup",
+ "https://docs.oracle.com/iaas/api/#/en/clusterplacementgroups/20230801/ClusterPlacementGroup/CreateClusterPlacementGroup")
.method(com.oracle.bmc.http.client.Method.POST)
.requestBuilder(CreateClusterPlacementGroupRequest::builder)
.basePath("/20230801")
@@ -260,7 +271,10 @@ public DeactivateClusterPlacementGroupResponse deactivateClusterPlacementGroup(
return clientCall(request, DeactivateClusterPlacementGroupResponse::builder)
.logger(LOG, "deactivateClusterPlacementGroup")
- .serviceDetails("ClusterPlacementGroupsCP", "DeactivateClusterPlacementGroup", "")
+ .serviceDetails(
+ "ClusterPlacementGroupsCP",
+ "DeactivateClusterPlacementGroup",
+ "https://docs.oracle.com/iaas/api/#/en/clusterplacementgroups/20230801/ClusterPlacementGroup/DeactivateClusterPlacementGroup")
.method(com.oracle.bmc.http.client.Method.POST)
.requestBuilder(DeactivateClusterPlacementGroupRequest::builder)
.basePath("/20230801")
@@ -293,7 +307,10 @@ public DeleteClusterPlacementGroupResponse deleteClusterPlacementGroup(
return clientCall(request, DeleteClusterPlacementGroupResponse::builder)
.logger(LOG, "deleteClusterPlacementGroup")
- .serviceDetails("ClusterPlacementGroupsCP", "DeleteClusterPlacementGroup", "")
+ .serviceDetails(
+ "ClusterPlacementGroupsCP",
+ "DeleteClusterPlacementGroup",
+ "https://docs.oracle.com/iaas/api/#/en/clusterplacementgroups/20230801/ClusterPlacementGroup/DeleteClusterPlacementGroup")
.method(com.oracle.bmc.http.client.Method.DELETE)
.requestBuilder(DeleteClusterPlacementGroupRequest::builder)
.basePath("/20230801")
@@ -320,7 +337,10 @@ public GetClusterPlacementGroupResponse getClusterPlacementGroup(
return clientCall(request, GetClusterPlacementGroupResponse::builder)
.logger(LOG, "getClusterPlacementGroup")
- .serviceDetails("ClusterPlacementGroupsCP", "GetClusterPlacementGroup", "")
+ .serviceDetails(
+ "ClusterPlacementGroupsCP",
+ "GetClusterPlacementGroup",
+ "https://docs.oracle.com/iaas/api/#/en/clusterplacementgroups/20230801/ClusterPlacementGroup/GetClusterPlacementGroup")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(GetClusterPlacementGroupRequest::builder)
.basePath("/20230801")
@@ -345,7 +365,10 @@ public GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request) {
return clientCall(request, GetWorkRequestResponse::builder)
.logger(LOG, "getWorkRequest")
- .serviceDetails("ClusterPlacementGroupsCP", "GetWorkRequest", "")
+ .serviceDetails(
+ "ClusterPlacementGroupsCP",
+ "GetWorkRequest",
+ "https://docs.oracle.com/iaas/api/#/en/clusterplacementgroups/20230801/WorkRequest/GetWorkRequest")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(GetWorkRequestRequest::builder)
.basePath("/20230801")
@@ -371,7 +394,10 @@ public ListClusterPlacementGroupsResponse listClusterPlacementGroups(
return clientCall(request, ListClusterPlacementGroupsResponse::builder)
.logger(LOG, "listClusterPlacementGroups")
- .serviceDetails("ClusterPlacementGroupsCP", "ListClusterPlacementGroups", "")
+ .serviceDetails(
+ "ClusterPlacementGroupsCP",
+ "ListClusterPlacementGroups",
+ "https://docs.oracle.com/iaas/api/#/en/clusterplacementgroups/20230801/ClusterPlacementGroupCollection/ListClusterPlacementGroups")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(ListClusterPlacementGroupsRequest::builder)
.basePath("/20230801")
@@ -408,7 +434,10 @@ public ListWorkRequestErrorsResponse listWorkRequestErrors(
return clientCall(request, ListWorkRequestErrorsResponse::builder)
.logger(LOG, "listWorkRequestErrors")
- .serviceDetails("ClusterPlacementGroupsCP", "ListWorkRequestErrors", "")
+ .serviceDetails(
+ "ClusterPlacementGroupsCP",
+ "ListWorkRequestErrors",
+ "https://docs.oracle.com/iaas/api/#/en/clusterplacementgroups/20230801/WorkRequestError/ListWorkRequestErrors")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(ListWorkRequestErrorsRequest::builder)
.basePath("/20230801")
@@ -440,7 +469,10 @@ public ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsReques
return clientCall(request, ListWorkRequestLogsResponse::builder)
.logger(LOG, "listWorkRequestLogs")
- .serviceDetails("ClusterPlacementGroupsCP", "ListWorkRequestLogs", "")
+ .serviceDetails(
+ "ClusterPlacementGroupsCP",
+ "ListWorkRequestLogs",
+ "https://docs.oracle.com/iaas/api/#/en/clusterplacementgroups/20230801/WorkRequestLogEntry/ListWorkRequestLogs")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(ListWorkRequestLogsRequest::builder)
.basePath("/20230801")
@@ -470,7 +502,10 @@ public ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request
return clientCall(request, ListWorkRequestsResponse::builder)
.logger(LOG, "listWorkRequests")
- .serviceDetails("ClusterPlacementGroupsCP", "ListWorkRequests", "")
+ .serviceDetails(
+ "ClusterPlacementGroupsCP",
+ "ListWorkRequests",
+ "https://docs.oracle.com/iaas/api/#/en/clusterplacementgroups/20230801/WorkRequest/ListWorkRequests")
.method(com.oracle.bmc.http.client.Method.GET)
.requestBuilder(ListWorkRequestsRequest::builder)
.basePath("/20230801")
@@ -509,7 +544,10 @@ public UpdateClusterPlacementGroupResponse updateClusterPlacementGroup(
return clientCall(request, UpdateClusterPlacementGroupResponse::builder)
.logger(LOG, "updateClusterPlacementGroup")
- .serviceDetails("ClusterPlacementGroupsCP", "UpdateClusterPlacementGroup", "")
+ .serviceDetails(
+ "ClusterPlacementGroupsCP",
+ "UpdateClusterPlacementGroup",
+ "https://docs.oracle.com/iaas/api/#/en/clusterplacementgroups/20230801/ClusterPlacementGroup/UpdateClusterPlacementGroup")
.method(com.oracle.bmc.http.client.Method.PUT)
.requestBuilder(UpdateClusterPlacementGroupRequest::builder)
.basePath("/20230801")
diff --git a/bmc-common-httpclient-choices/bmc-common-httpclient-jersey/pom.xml b/bmc-common-httpclient-choices/bmc-common-httpclient-jersey/pom.xml
index bcbc810e80e..2a279622dc8 100644
--- a/bmc-common-httpclient-choices/bmc-common-httpclient-jersey/pom.xml
+++ b/bmc-common-httpclient-choices/bmc-common-httpclient-jersey/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk-common-httpclient-choices
- 3.41.2
+ 3.41.3
../pom.xml
@@ -68,7 +68,7 @@
com.oracle.oci.sdk
oci-java-sdk-addons-apache-configurator-jersey
- 3.41.2
+ 3.41.3
@@ -77,7 +77,7 @@
com.oracle.oci.sdk
oci-java-sdk-common-httpclient
- 3.41.2
+ 3.41.3
org.glassfish.jersey.core
diff --git a/bmc-common-httpclient-choices/bmc-common-httpclient-jersey3/pom.xml b/bmc-common-httpclient-choices/bmc-common-httpclient-jersey3/pom.xml
index 7dc8f9d0eee..2a7fab9c466 100644
--- a/bmc-common-httpclient-choices/bmc-common-httpclient-jersey3/pom.xml
+++ b/bmc-common-httpclient-choices/bmc-common-httpclient-jersey3/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk-common-httpclient-choices
- 3.41.2
+ 3.41.3
../pom.xml
@@ -70,7 +70,7 @@
com.oracle.oci.sdk
oci-java-sdk-addons-apache-configurator-jersey3
- 3.41.2
+ 3.41.3
@@ -79,7 +79,7 @@
com.oracle.oci.sdk
oci-java-sdk-common-httpclient
- 3.41.2
+ 3.41.3
jakarta.ws.rs
diff --git a/bmc-common-httpclient-choices/pom.xml b/bmc-common-httpclient-choices/pom.xml
index 512cde6e9c4..c3451fc67d7 100644
--- a/bmc-common-httpclient-choices/pom.xml
+++ b/bmc-common-httpclient-choices/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
diff --git a/bmc-common-httpclient/pom.xml b/bmc-common-httpclient/pom.xml
index c05ae5e3bac..b2ccee505cc 100644
--- a/bmc-common-httpclient/pom.xml
+++ b/bmc-common-httpclient/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
diff --git a/bmc-common/pom.xml b/bmc-common/pom.xml
index f1971787172..d08a73cdb85 100644
--- a/bmc-common/pom.xml
+++ b/bmc-common/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
@@ -67,18 +67,18 @@
com.oracle.oci.sdk
oci-java-sdk-circuitbreaker
- 3.41.2
+ 3.41.3
com.oracle.oci.sdk
oci-java-sdk-common-httpclient
- 3.41.2
+ 3.41.3
com.oracle.oci.sdk
oci-java-sdk-common-httpclient-jersey
- 3.41.2
+ 3.41.3
test
diff --git a/bmc-computecloudatcustomer/pom.xml b/bmc-computecloudatcustomer/pom.xml
index 120e4ae6ee3..c930157fc62 100644
--- a/bmc-computecloudatcustomer/pom.xml
+++ b/bmc-computecloudatcustomer/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-computecloudatcustomer
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
\ No newline at end of file
diff --git a/bmc-computeinstanceagent/pom.xml b/bmc-computeinstanceagent/pom.xml
index 86129c6e2c8..9b5d9c41202 100644
--- a/bmc-computeinstanceagent/pom.xml
+++ b/bmc-computeinstanceagent/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-computeinstanceagent
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
diff --git a/bmc-containerengine/pom.xml b/bmc-containerengine/pom.xml
index c86b27e041c..adb81ff0704 100644
--- a/bmc-containerengine/pom.xml
+++ b/bmc-containerengine/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
@@ -18,7 +18,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
diff --git a/bmc-containerinstances/pom.xml b/bmc-containerinstances/pom.xml
index c4816c22191..ad06e489d1c 100644
--- a/bmc-containerinstances/pom.xml
+++ b/bmc-containerinstances/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-containerinstances
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
\ No newline at end of file
diff --git a/bmc-core/pom.xml b/bmc-core/pom.xml
index 4d1e7a0d8cf..d752d056966 100644
--- a/bmc-core/pom.xml
+++ b/bmc-core/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
@@ -18,12 +18,12 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
com.oracle.oci.sdk
oci-java-sdk-workrequests
- 3.41.2
+ 3.41.3
diff --git a/bmc-dashboardservice/pom.xml b/bmc-dashboardservice/pom.xml
index d62ebfd9465..50e4d3d0e1f 100644
--- a/bmc-dashboardservice/pom.xml
+++ b/bmc-dashboardservice/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-dashboardservice
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
\ No newline at end of file
diff --git a/bmc-database/pom.xml b/bmc-database/pom.xml
index ae26989272f..ad23d8a0a6a 100644
--- a/bmc-database/pom.xml
+++ b/bmc-database/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
@@ -18,12 +18,12 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
com.oracle.oci.sdk
oci-java-sdk-workrequests
- 3.41.2
+ 3.41.3
diff --git a/bmc-databasemanagement/pom.xml b/bmc-databasemanagement/pom.xml
index 813b380cbe1..7ef79eb044f 100644
--- a/bmc-databasemanagement/pom.xml
+++ b/bmc-databasemanagement/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-databasemanagement
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
diff --git a/bmc-databasemigration/pom.xml b/bmc-databasemigration/pom.xml
index 06436317bc0..5117f317d62 100644
--- a/bmc-databasemigration/pom.xml
+++ b/bmc-databasemigration/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-databasemigration
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
diff --git a/bmc-databasetools/pom.xml b/bmc-databasetools/pom.xml
index 1352322c657..9d1e4b45456 100644
--- a/bmc-databasetools/pom.xml
+++ b/bmc-databasetools/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-databasetools
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
\ No newline at end of file
diff --git a/bmc-datacatalog/pom.xml b/bmc-datacatalog/pom.xml
index f11f2f1e595..4cbf9880196 100644
--- a/bmc-datacatalog/pom.xml
+++ b/bmc-datacatalog/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-datacatalog
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
diff --git a/bmc-dataflow/pom.xml b/bmc-dataflow/pom.xml
index d57624c9f0f..71faa84910b 100644
--- a/bmc-dataflow/pom.xml
+++ b/bmc-dataflow/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-dataflow
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
diff --git a/bmc-dataintegration/pom.xml b/bmc-dataintegration/pom.xml
index b3170a6ab1d..d1fd2ccb0ca 100644
--- a/bmc-dataintegration/pom.xml
+++ b/bmc-dataintegration/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-dataintegration
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
diff --git a/bmc-datalabelingservice/pom.xml b/bmc-datalabelingservice/pom.xml
index 48beeff4a32..2a1dc13ae97 100644
--- a/bmc-datalabelingservice/pom.xml
+++ b/bmc-datalabelingservice/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-datalabelingservice
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
\ No newline at end of file
diff --git a/bmc-datalabelingservicedataplane/pom.xml b/bmc-datalabelingservicedataplane/pom.xml
index ae34daf67fe..35fd0d4be85 100644
--- a/bmc-datalabelingservicedataplane/pom.xml
+++ b/bmc-datalabelingservicedataplane/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-datalabelingservicedataplane
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
\ No newline at end of file
diff --git a/bmc-datasafe/pom.xml b/bmc-datasafe/pom.xml
index 6d028f2a7c9..f55601e7095 100644
--- a/bmc-datasafe/pom.xml
+++ b/bmc-datasafe/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-datasafe
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
diff --git a/bmc-datascience/pom.xml b/bmc-datascience/pom.xml
index bf455db3330..239b24eab56 100644
--- a/bmc-datascience/pom.xml
+++ b/bmc-datascience/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.41.2
+ 3.41.3
../pom.xml
oci-java-sdk-datascience
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.41.2
+ 3.41.3
diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/DataScienceAsyncClient.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/DataScienceAsyncClient.java
index db53a697fd3..45689f2bc43 100644
--- a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/DataScienceAsyncClient.java
+++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/DataScienceAsyncClient.java
@@ -272,6 +272,7 @@ public java.util.concurrent.Future cancelPipelineRun(
.appendPathParam(request.getPipelineRunId())
.appendPathParam("actions")
.appendPathParam("cancelPipelineRun")
+ .appendQueryParam("terminateGracefully", request.getTerminateGracefully())
.accept("application/json")
.appendHeader("opc-request-id", request.getOpcRequestId())
.appendHeader("opc-retry-token", request.getOpcRetryToken())
@@ -804,6 +805,7 @@ public java.util.concurrent.Future createJobRun(
.accept("application/json")
.appendHeader("opc-request-id", request.getOpcRequestId())
.appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .appendHeader("opc-parent-rpt-url", request.getOpcParentRptUrl())
.hasBody()
.handleBody(
com.oracle.bmc.datascience.model.JobRun.class,
@@ -904,6 +906,7 @@ public java.util.concurrent.Future createModelDep
.accept("application/json")
.appendHeader("opc-request-id", request.getOpcRequestId())
.appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .appendHeader("opc-parent-rpt-url", request.getOpcParentRptUrl())
.hasBody()
.handleBody(
com.oracle.bmc.datascience.model.ModelDeployment.class,
@@ -1081,6 +1084,7 @@ public java.util.concurrent.Future createPipelineRun(
.accept("application/json")
.appendHeader("opc-retry-token", request.getOpcRetryToken())
.appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("opc-parent-rpt-url", request.getOpcParentRptUrl())
.hasBody()
.handleBody(
com.oracle.bmc.datascience.model.PipelineRun.class,
diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/DataScienceClient.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/DataScienceClient.java
index a18a1e27d02..4ccb65cee6e 100644
--- a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/DataScienceClient.java
+++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/DataScienceClient.java
@@ -285,6 +285,7 @@ public CancelPipelineRunResponse cancelPipelineRun(CancelPipelineRunRequest requ
.appendPathParam(request.getPipelineRunId())
.appendPathParam("actions")
.appendPathParam("cancelPipelineRun")
+ .appendQueryParam("terminateGracefully", request.getTerminateGracefully())
.accept("application/json")
.appendHeader("opc-request-id", request.getOpcRequestId())
.appendHeader("opc-retry-token", request.getOpcRetryToken())
@@ -762,6 +763,7 @@ public CreateJobRunResponse createJobRun(CreateJobRunRequest request) {
.accept("application/json")
.appendHeader("opc-request-id", request.getOpcRequestId())
.appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .appendHeader("opc-parent-rpt-url", request.getOpcParentRptUrl())
.operationUsesDefaultRetries()
.hasBody()
.handleBody(
@@ -855,6 +857,7 @@ public CreateModelDeploymentResponse createModelDeployment(
.accept("application/json")
.appendHeader("opc-request-id", request.getOpcRequestId())
.appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .appendHeader("opc-parent-rpt-url", request.getOpcParentRptUrl())
.operationUsesDefaultRetries()
.hasBody()
.handleBody(
@@ -1020,6 +1023,7 @@ public CreatePipelineRunResponse createPipelineRun(CreatePipelineRunRequest requ
.accept("application/json")
.appendHeader("opc-retry-token", request.getOpcRetryToken())
.appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("opc-parent-rpt-url", request.getOpcParentRptUrl())
.operationUsesDefaultRetries()
.hasBody()
.handleBody(
diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/FastLaunchJobConfigSummary.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/FastLaunchJobConfigSummary.java
index bd8ca863c0a..36600548915 100644
--- a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/FastLaunchJobConfigSummary.java
+++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/FastLaunchJobConfigSummary.java
@@ -248,6 +248,7 @@ public enum ShapeSeries implements com.oracle.bmc.http.internal.BmcEnum {
AmdRome("AMD_ROME"),
IntelSkylake("INTEL_SKYLAKE"),
NvidiaGpu("NVIDIA_GPU"),
+ Generic("GENERIC"),
Legacy("LEGACY"),
Arm("ARM"),
diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/JobShapeSummary.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/JobShapeSummary.java
index 3846573803a..c127c431a6a 100644
--- a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/JobShapeSummary.java
+++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/JobShapeSummary.java
@@ -179,6 +179,7 @@ public enum ShapeSeries implements com.oracle.bmc.http.internal.BmcEnum {
AmdRome("AMD_ROME"),
IntelSkylake("INTEL_SKYLAKE"),
NvidiaGpu("NVIDIA_GPU"),
+ Generic("GENERIC"),
Legacy("LEGACY"),
Arm("ARM"),
diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ModelDeploymentShapeSeries.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ModelDeploymentShapeSeries.java
index 61c140919e8..401aa915131 100644
--- a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ModelDeploymentShapeSeries.java
+++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ModelDeploymentShapeSeries.java
@@ -10,6 +10,7 @@ public enum ModelDeploymentShapeSeries implements com.oracle.bmc.http.internal.B
AmdRome("AMD_ROME"),
IntelSkylake("INTEL_SKYLAKE"),
NvidiaGpu("NVIDIA_GPU"),
+ Generic("GENERIC"),
Legacy("LEGACY"),
Arm("ARM"),
diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/NotebookSessionShapeSeries.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/NotebookSessionShapeSeries.java
index a8c37fa39c7..72d565bb75b 100644
--- a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/NotebookSessionShapeSeries.java
+++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/NotebookSessionShapeSeries.java
@@ -10,6 +10,7 @@ public enum NotebookSessionShapeSeries implements com.oracle.bmc.http.internal.B
AmdRome("AMD_ROME"),
IntelSkylake("INTEL_SKYLAKE"),
NvidiaGpu("NVIDIA_GPU"),
+ Generic("GENERIC"),
Legacy("LEGACY"),
Arm("ARM"),
diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineContainerConfigurationDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineContainerConfigurationDetails.java
new file mode 100644
index 00000000000..387263547db
--- /dev/null
+++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineContainerConfigurationDetails.java
@@ -0,0 +1,124 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.datascience.model;
+
+/**
+ * Container Details for a step in pipeline.
+ * 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: 20190101")
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "containerType",
+ defaultImpl = PipelineContainerConfigurationDetails.class)
+@com.fasterxml.jackson.annotation.JsonSubTypes({
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = PipelineOcirContainerConfigurationDetails.class,
+ name = "OCIR_CONTAINER")
+})
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public class PipelineContainerConfigurationDetails
+ extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({})
+ protected PipelineContainerConfigurationDetails() {
+ super();
+ }
+
+ @Override
+ public String toString() {
+ return this.toString(true);
+ }
+
+ /**
+ * Return a string representation of the object.
+ *
+ * @param includeByteArrayContents true to include the full contents of byte arrays
+ * @return string representation
+ */
+ public String toString(boolean includeByteArrayContents) {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("PipelineContainerConfigurationDetails(");
+ 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 PipelineContainerConfigurationDetails)) {
+ return false;
+ }
+
+ PipelineContainerConfigurationDetails other = (PipelineContainerConfigurationDetails) o;
+ return super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+
+ /** The type of container. */
+ public enum ContainerType implements com.oracle.bmc.http.internal.BmcEnum {
+ OcirContainer("OCIR_CONTAINER"),
+
+ /**
+ * 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(ContainerType.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (ContainerType v : ContainerType.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ ContainerType(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static ContainerType create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'ContainerType', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
+ }
+ };
+}
diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineContainerStepDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineContainerStepDetails.java
new file mode 100644
index 00000000000..89486bb7bcc
--- /dev/null
+++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineContainerStepDetails.java
@@ -0,0 +1,267 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.datascience.model;
+
+/**
+ * The type of step where user provides the container details for an execution engine managed by the
+ * pipelines service.
+ * 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: 20190101")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = PipelineContainerStepDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "stepType")
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class PipelineContainerStepDetails extends PipelineStepDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("stepName")
+ private String stepName;
+
+ public Builder stepName(String stepName) {
+ this.stepName = stepName;
+ this.__explicitlySet__.add("stepName");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("description")
+ private String description;
+
+ public Builder description(String description) {
+ this.description = description;
+ this.__explicitlySet__.add("description");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("dependsOn")
+ private java.util.List dependsOn;
+
+ public Builder dependsOn(java.util.List dependsOn) {
+ this.dependsOn = dependsOn;
+ this.__explicitlySet__.add("dependsOn");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("stepConfigurationDetails")
+ private PipelineStepConfigurationDetails stepConfigurationDetails;
+
+ public Builder stepConfigurationDetails(
+ PipelineStepConfigurationDetails stepConfigurationDetails) {
+ this.stepConfigurationDetails = stepConfigurationDetails;
+ this.__explicitlySet__.add("stepConfigurationDetails");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("stepInfrastructureConfigurationDetails")
+ private PipelineInfrastructureConfigurationDetails stepInfrastructureConfigurationDetails;
+
+ public Builder stepInfrastructureConfigurationDetails(
+ PipelineInfrastructureConfigurationDetails stepInfrastructureConfigurationDetails) {
+ this.stepInfrastructureConfigurationDetails = stepInfrastructureConfigurationDetails;
+ this.__explicitlySet__.add("stepInfrastructureConfigurationDetails");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("stepContainerConfigurationDetails")
+ private PipelineContainerConfigurationDetails stepContainerConfigurationDetails;
+
+ public Builder stepContainerConfigurationDetails(
+ PipelineContainerConfigurationDetails stepContainerConfigurationDetails) {
+ this.stepContainerConfigurationDetails = stepContainerConfigurationDetails;
+ this.__explicitlySet__.add("stepContainerConfigurationDetails");
+ return this;
+ }
+ /** A flag to indicate whether the artifact has been uploaded for this step or not. */
+ @com.fasterxml.jackson.annotation.JsonProperty("isArtifactUploaded")
+ private Boolean isArtifactUploaded;
+
+ /**
+ * A flag to indicate whether the artifact has been uploaded for this step or not.
+ *
+ * @param isArtifactUploaded the value to set
+ * @return this builder
+ */
+ public Builder isArtifactUploaded(Boolean isArtifactUploaded) {
+ this.isArtifactUploaded = isArtifactUploaded;
+ this.__explicitlySet__.add("isArtifactUploaded");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet