diff --git a/bmc-addons/bmc-resteasy-client-configurator/pom.xml b/bmc-addons/bmc-resteasy-client-configurator/pom.xml
index 31b035c5daa..0dce814f6d6 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.46.1
+ 3.47.0
../pom.xml
@@ -23,7 +23,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
\ 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 f2e6bd07578..a3a8b746472 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.46.1
+ 3.47.0
../pom.xml
4.0.0
@@ -39,13 +39,13 @@
com.oracle.oci.sdk
oci-java-sdk-addons-sasl
- 3.46.1
+ 3.47.0
compile
com.oracle.oci.sdk
oci-java-sdk-addons-oke-workload-identity
- 3.46.1
+ 3.47.0
compile
diff --git a/bmc-addons/bmc-sasl/pom.xml b/bmc-addons/bmc-sasl/pom.xml
index abae424c7cc..f30da497edb 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.46.1
+ 3.47.0
../pom.xml
@@ -60,7 +60,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
diff --git a/bmc-addons/bmc-sse-support-jersey3/pom.xml b/bmc-addons/bmc-sse-support-jersey3/pom.xml
index ba02c05cd6e..48f127ccbce 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.46.1
+ 3.47.0
../pom.xml
4.0.0
@@ -150,12 +150,12 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
com.oracle.oci.sdk
oci-java-sdk-generativeaiinference
- 3.46.1
+ 3.47.0
test
@@ -164,7 +164,7 @@
but the code in it needs it. -->
com.oracle.oci.sdk
oci-java-sdk-common-httpclient-jersey3
- 3.46.1
+ 3.47.0
diff --git a/bmc-addons/bmc-sse-support/pom.xml b/bmc-addons/bmc-sse-support/pom.xml
index 0a7910a8387..e143a8b4f5d 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.46.1
+ 3.47.0
../pom.xml
4.0.0
@@ -150,12 +150,12 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
com.oracle.oci.sdk
oci-java-sdk-generativeaiinference
- 3.46.1
+ 3.47.0
test
@@ -164,7 +164,7 @@
but the code in it needs it. -->
com.oracle.oci.sdk
oci-java-sdk-common-httpclient-jersey
- 3.46.1
+ 3.47.0
diff --git a/bmc-addons/pom.xml b/bmc-addons/pom.xml
index 231311fe3dc..1b949ecbbfb 100644
--- a/bmc-addons/pom.xml
+++ b/bmc-addons/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
diff --git a/bmc-adm/pom.xml b/bmc-adm/pom.xml
index e0d709c0581..9706ad6e7f2 100644
--- a/bmc-adm/pom.xml
+++ b/bmc-adm/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-adm
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
\ No newline at end of file
diff --git a/bmc-aianomalydetection/pom.xml b/bmc-aianomalydetection/pom.xml
index f2f5b0ac1f6..382ad4fef30 100644
--- a/bmc-aianomalydetection/pom.xml
+++ b/bmc-aianomalydetection/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-aianomalydetection
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
\ No newline at end of file
diff --git a/bmc-aidocument/pom.xml b/bmc-aidocument/pom.xml
index 7be4bbd0986..eca3e440e60 100644
--- a/bmc-aidocument/pom.xml
+++ b/bmc-aidocument/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-aidocument
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
\ No newline at end of file
diff --git a/bmc-ailanguage/pom.xml b/bmc-ailanguage/pom.xml
index 07d7765a6b0..fdb110a0dd5 100644
--- a/bmc-ailanguage/pom.xml
+++ b/bmc-ailanguage/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-ailanguage
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
diff --git a/bmc-aispeech/pom.xml b/bmc-aispeech/pom.xml
index cce4e86ce70..d3ecb4bf14e 100644
--- a/bmc-aispeech/pom.xml
+++ b/bmc-aispeech/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-aispeech
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
\ No newline at end of file
diff --git a/bmc-aivision/pom.xml b/bmc-aivision/pom.xml
index 8dd32c71df6..3aac80f5f8c 100644
--- a/bmc-aivision/pom.xml
+++ b/bmc-aivision/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-aivision
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
\ No newline at end of file
diff --git a/bmc-analytics/pom.xml b/bmc-analytics/pom.xml
index 242d273c58c..a53d5790be3 100644
--- a/bmc-analytics/pom.xml
+++ b/bmc-analytics/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-analytics
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
diff --git a/bmc-analytics/src/main/java/com/oracle/bmc/analytics/Analytics.java b/bmc-analytics/src/main/java/com/oracle/bmc/analytics/Analytics.java
index 7404a5a9a28..d335f02b0c4 100644
--- a/bmc-analytics/src/main/java/com/oracle/bmc/analytics/Analytics.java
+++ b/bmc-analytics/src/main/java/com/oracle/bmc/analytics/Analytics.java
@@ -346,6 +346,22 @@ DeletePrivateAccessChannelResponse deletePrivateAccessChannel(
*/
ScaleAnalyticsInstanceResponse scaleAnalyticsInstance(ScaleAnalyticsInstanceRequest request);
+ /**
+ * Set the external service properties of an Analytics instance.
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ * Example: Click here to see how to use SetFeatureBundle
+ * API.
+ */
+ SetFeatureBundleResponse setFeatureBundle(SetFeatureBundleRequest request);
+
/**
* Encrypts the customer data of this Analytics instance using either a customer OCI Vault Key
* or Oracle managed default key.
diff --git a/bmc-analytics/src/main/java/com/oracle/bmc/analytics/AnalyticsAsync.java b/bmc-analytics/src/main/java/com/oracle/bmc/analytics/AnalyticsAsync.java
index 5f1d207ecf1..7a4fc54a9e6 100644
--- a/bmc-analytics/src/main/java/com/oracle/bmc/analytics/AnalyticsAsync.java
+++ b/bmc-analytics/src/main/java/com/oracle/bmc/analytics/AnalyticsAsync.java
@@ -338,6 +338,21 @@ java.util.concurrent.Future scaleAnalyticsInstan
ScaleAnalyticsInstanceRequest, ScaleAnalyticsInstanceResponse>
handler);
+ /**
+ * Set the external service properties of an Analytics instance.
+ *
+ * @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 setFeatureBundle(
+ SetFeatureBundleRequest request,
+ com.oracle.bmc.responses.AsyncHandler
+ handler);
+
/**
* Encrypts the customer data of this Analytics instance using either a customer OCI Vault Key
* or Oracle managed default key.
diff --git a/bmc-analytics/src/main/java/com/oracle/bmc/analytics/AnalyticsAsyncClient.java b/bmc-analytics/src/main/java/com/oracle/bmc/analytics/AnalyticsAsyncClient.java
index 05b82017a2f..a0014fc4243 100644
--- a/bmc-analytics/src/main/java/com/oracle/bmc/analytics/AnalyticsAsyncClient.java
+++ b/bmc-analytics/src/main/java/com/oracle/bmc/analytics/AnalyticsAsyncClient.java
@@ -714,6 +714,43 @@ public java.util.concurrent.Future scaleAnalytic
.callAsync(handler);
}
+ @Override
+ public java.util.concurrent.Future setFeatureBundle(
+ SetFeatureBundleRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ SetFeatureBundleRequest, SetFeatureBundleResponse>
+ handler) {
+
+ Validate.notBlank(
+ request.getAnalyticsInstanceId(), "analyticsInstanceId must not be blank");
+ Objects.requireNonNull(
+ request.getSetFeatureBundleDetails(), "setFeatureBundleDetails is required");
+
+ return clientCall(request, SetFeatureBundleResponse::builder)
+ .logger(LOG, "setFeatureBundle")
+ .serviceDetails(
+ "Analytics",
+ "SetFeatureBundle",
+ "https://docs.oracle.com/iaas/api/#/en/analytics/20190331/AnalyticsInstance/SetFeatureBundle")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(SetFeatureBundleRequest::builder)
+ .basePath("/20190331")
+ .appendPathParam("analyticsInstances")
+ .appendPathParam(request.getAnalyticsInstanceId())
+ .appendPathParam("actions")
+ .appendPathParam("setFeatureBundle")
+ .accept("application/json")
+ .appendHeader("if-match", request.getIfMatch())
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .hasBody()
+ .handleResponseHeaderString(
+ "opc-request-id", SetFeatureBundleResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-work-request-id", SetFeatureBundleResponse.Builder::opcWorkRequestId)
+ .callAsync(handler);
+ }
+
@Override
public java.util.concurrent.Future setKmsKey(
SetKmsKeyRequest request,
diff --git a/bmc-analytics/src/main/java/com/oracle/bmc/analytics/AnalyticsClient.java b/bmc-analytics/src/main/java/com/oracle/bmc/analytics/AnalyticsClient.java
index c408d8db131..25da775314b 100644
--- a/bmc-analytics/src/main/java/com/oracle/bmc/analytics/AnalyticsClient.java
+++ b/bmc-analytics/src/main/java/com/oracle/bmc/analytics/AnalyticsClient.java
@@ -692,6 +692,40 @@ public ScaleAnalyticsInstanceResponse scaleAnalyticsInstance(
.callSync();
}
+ @Override
+ public SetFeatureBundleResponse setFeatureBundle(SetFeatureBundleRequest request) {
+
+ Validate.notBlank(
+ request.getAnalyticsInstanceId(), "analyticsInstanceId must not be blank");
+ Objects.requireNonNull(
+ request.getSetFeatureBundleDetails(), "setFeatureBundleDetails is required");
+
+ return clientCall(request, SetFeatureBundleResponse::builder)
+ .logger(LOG, "setFeatureBundle")
+ .serviceDetails(
+ "Analytics",
+ "SetFeatureBundle",
+ "https://docs.oracle.com/iaas/api/#/en/analytics/20190331/AnalyticsInstance/SetFeatureBundle")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(SetFeatureBundleRequest::builder)
+ .basePath("/20190331")
+ .appendPathParam("analyticsInstances")
+ .appendPathParam(request.getAnalyticsInstanceId())
+ .appendPathParam("actions")
+ .appendPathParam("setFeatureBundle")
+ .accept("application/json")
+ .appendHeader("if-match", request.getIfMatch())
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .operationUsesDefaultRetries()
+ .hasBody()
+ .handleResponseHeaderString(
+ "opc-request-id", SetFeatureBundleResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-work-request-id", SetFeatureBundleResponse.Builder::opcWorkRequestId)
+ .callSync();
+ }
+
@Override
public SetKmsKeyResponse setKmsKey(SetKmsKeyRequest request) {
diff --git a/bmc-analytics/src/main/java/com/oracle/bmc/analytics/model/AnalyticsInstance.java b/bmc-analytics/src/main/java/com/oracle/bmc/analytics/model/AnalyticsInstance.java
index 66f963d35f7..31eacbfc18d 100644
--- a/bmc-analytics/src/main/java/com/oracle/bmc/analytics/model/AnalyticsInstance.java
+++ b/bmc-analytics/src/main/java/com/oracle/bmc/analytics/model/AnalyticsInstance.java
@@ -39,9 +39,12 @@ public final class AnalyticsInstance
"serviceUrl",
"definedTags",
"freeformTags",
+ "systemTags",
"kmsKeyId",
"timeCreated",
- "timeUpdated"
+ "timeUpdated",
+ "featureBundle",
+ "domainId"
})
public AnalyticsInstance(
String id,
@@ -59,9 +62,12 @@ public AnalyticsInstance(
String serviceUrl,
java.util.Map> definedTags,
java.util.Map freeformTags,
+ java.util.Map> systemTags,
String kmsKeyId,
java.util.Date timeCreated,
- java.util.Date timeUpdated) {
+ java.util.Date timeUpdated,
+ FeatureBundle featureBundle,
+ String domainId) {
super();
this.id = id;
this.name = name;
@@ -78,9 +84,12 @@ public AnalyticsInstance(
this.serviceUrl = serviceUrl;
this.definedTags = definedTags;
this.freeformTags = freeformTags;
+ this.systemTags = systemTags;
this.kmsKeyId = kmsKeyId;
this.timeCreated = timeCreated;
this.timeUpdated = timeUpdated;
+ this.featureBundle = featureBundle;
+ this.domainId = domainId;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -329,17 +338,34 @@ public Builder freeformTags(java.util.Map freeformTags) {
return this;
}
/**
- * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the
- * OCI Vault Key encrypting the customer data stored in this Analytics instance. A null
- * value indicates Oracle managed default encryption.
+ * System tags for this resource. These predefined keys are scoped to namespaces. Example:
+ * {@code {"orcl-cloud": {"key": "value"}}}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("systemTags")
+ private java.util.Map> systemTags;
+
+ /**
+ * System tags for this resource. These predefined keys are scoped to namespaces. Example:
+ * {@code {"orcl-cloud": {"key": "value"}}}
+ *
+ * @param systemTags the value to set
+ * @return this builder
+ */
+ public Builder systemTags(java.util.Map> systemTags) {
+ this.systemTags = systemTags;
+ this.__explicitlySet__.add("systemTags");
+ return this;
+ }
+ /**
+ * OCID of the OCI Vault Key encrypting the customer data stored in this Analytics instance.
+ * A null value indicates Oracle managed default encryption.
*/
@com.fasterxml.jackson.annotation.JsonProperty("kmsKeyId")
private String kmsKeyId;
/**
- * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the
- * OCI Vault Key encrypting the customer data stored in this Analytics instance. A null
- * value indicates Oracle managed default encryption.
+ * OCID of the OCI Vault Key encrypting the customer data stored in this Analytics instance.
+ * A null value indicates Oracle managed default encryption.
*
* @param kmsKeyId the value to set
* @return this builder
@@ -389,6 +415,36 @@ public Builder timeUpdated(java.util.Date timeUpdated) {
this.__explicitlySet__.add("timeUpdated");
return this;
}
+ /** The feature set of an Analytics instance. */
+ @com.fasterxml.jackson.annotation.JsonProperty("featureBundle")
+ private FeatureBundle featureBundle;
+
+ /**
+ * The feature set of an Analytics instance.
+ *
+ * @param featureBundle the value to set
+ * @return this builder
+ */
+ public Builder featureBundle(FeatureBundle featureBundle) {
+ this.featureBundle = featureBundle;
+ this.__explicitlySet__.add("featureBundle");
+ return this;
+ }
+ /** Identity domain OCID. */
+ @com.fasterxml.jackson.annotation.JsonProperty("domainId")
+ private String domainId;
+
+ /**
+ * Identity domain OCID.
+ *
+ * @param domainId the value to set
+ * @return this builder
+ */
+ public Builder domainId(String domainId) {
+ this.domainId = domainId;
+ this.__explicitlySet__.add("domainId");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -411,9 +467,12 @@ public AnalyticsInstance build() {
this.serviceUrl,
this.definedTags,
this.freeformTags,
+ this.systemTags,
this.kmsKeyId,
this.timeCreated,
- this.timeUpdated);
+ this.timeUpdated,
+ this.featureBundle,
+ this.domainId);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -467,6 +526,9 @@ public Builder copy(AnalyticsInstance model) {
if (model.wasPropertyExplicitlySet("freeformTags")) {
this.freeformTags(model.getFreeformTags());
}
+ if (model.wasPropertyExplicitlySet("systemTags")) {
+ this.systemTags(model.getSystemTags());
+ }
if (model.wasPropertyExplicitlySet("kmsKeyId")) {
this.kmsKeyId(model.getKmsKeyId());
}
@@ -476,6 +538,12 @@ public Builder copy(AnalyticsInstance model) {
if (model.wasPropertyExplicitlySet("timeUpdated")) {
this.timeUpdated(model.getTimeUpdated());
}
+ if (model.wasPropertyExplicitlySet("featureBundle")) {
+ this.featureBundle(model.getFeatureBundle());
+ }
+ if (model.wasPropertyExplicitlySet("domainId")) {
+ this.domainId(model.getDomainId());
+ }
return this;
}
}
@@ -701,17 +769,32 @@ public java.util.Map getFreeformTags() {
}
/**
- * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the OCI
- * Vault Key encrypting the customer data stored in this Analytics instance. A null value
- * indicates Oracle managed default encryption.
+ * System tags for this resource. These predefined keys are scoped to namespaces. Example:
+ * {@code {"orcl-cloud": {"key": "value"}}}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("systemTags")
+ private final java.util.Map> systemTags;
+
+ /**
+ * System tags for this resource. These predefined keys are scoped to namespaces. Example:
+ * {@code {"orcl-cloud": {"key": "value"}}}
+ *
+ * @return the value
+ */
+ public java.util.Map> getSystemTags() {
+ return systemTags;
+ }
+
+ /**
+ * OCID of the OCI Vault Key encrypting the customer data stored in this Analytics instance. A
+ * null value indicates Oracle managed default encryption.
*/
@com.fasterxml.jackson.annotation.JsonProperty("kmsKeyId")
private final String kmsKeyId;
/**
- * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the OCI
- * Vault Key encrypting the customer data stored in this Analytics instance. A null value
- * indicates Oracle managed default encryption.
+ * OCID of the OCI Vault Key encrypting the customer data stored in this Analytics instance. A
+ * null value indicates Oracle managed default encryption.
*
* @return the value
*/
@@ -755,6 +838,32 @@ public java.util.Date getTimeUpdated() {
return timeUpdated;
}
+ /** The feature set of an Analytics instance. */
+ @com.fasterxml.jackson.annotation.JsonProperty("featureBundle")
+ private final FeatureBundle featureBundle;
+
+ /**
+ * The feature set of an Analytics instance.
+ *
+ * @return the value
+ */
+ public FeatureBundle getFeatureBundle() {
+ return featureBundle;
+ }
+
+ /** Identity domain OCID. */
+ @com.fasterxml.jackson.annotation.JsonProperty("domainId")
+ private final String domainId;
+
+ /**
+ * Identity domain OCID.
+ *
+ * @return the value
+ */
+ public String getDomainId() {
+ return domainId;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -785,9 +894,12 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", serviceUrl=").append(String.valueOf(this.serviceUrl));
sb.append(", definedTags=").append(String.valueOf(this.definedTags));
sb.append(", freeformTags=").append(String.valueOf(this.freeformTags));
+ sb.append(", systemTags=").append(String.valueOf(this.systemTags));
sb.append(", kmsKeyId=").append(String.valueOf(this.kmsKeyId));
sb.append(", timeCreated=").append(String.valueOf(this.timeCreated));
sb.append(", timeUpdated=").append(String.valueOf(this.timeUpdated));
+ sb.append(", featureBundle=").append(String.valueOf(this.featureBundle));
+ sb.append(", domainId=").append(String.valueOf(this.domainId));
sb.append(")");
return sb.toString();
}
@@ -818,9 +930,12 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.serviceUrl, other.serviceUrl)
&& java.util.Objects.equals(this.definedTags, other.definedTags)
&& java.util.Objects.equals(this.freeformTags, other.freeformTags)
+ && java.util.Objects.equals(this.systemTags, other.systemTags)
&& java.util.Objects.equals(this.kmsKeyId, other.kmsKeyId)
&& java.util.Objects.equals(this.timeCreated, other.timeCreated)
&& java.util.Objects.equals(this.timeUpdated, other.timeUpdated)
+ && java.util.Objects.equals(this.featureBundle, other.featureBundle)
+ && java.util.Objects.equals(this.domainId, other.domainId)
&& super.equals(other);
}
@@ -859,9 +974,14 @@ public int hashCode() {
result = (result * PRIME) + (this.serviceUrl == null ? 43 : this.serviceUrl.hashCode());
result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode());
result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode());
+ result = (result * PRIME) + (this.systemTags == null ? 43 : this.systemTags.hashCode());
result = (result * PRIME) + (this.kmsKeyId == null ? 43 : this.kmsKeyId.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.featureBundle == null ? 43 : this.featureBundle.hashCode());
+ result = (result * PRIME) + (this.domainId == null ? 43 : this.domainId.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-analytics/src/main/java/com/oracle/bmc/analytics/model/AnalyticsInstanceSummary.java b/bmc-analytics/src/main/java/com/oracle/bmc/analytics/model/AnalyticsInstanceSummary.java
index 892e6b0077b..47ec4cd68ee 100644
--- a/bmc-analytics/src/main/java/com/oracle/bmc/analytics/model/AnalyticsInstanceSummary.java
+++ b/bmc-analytics/src/main/java/com/oracle/bmc/analytics/model/AnalyticsInstanceSummary.java
@@ -35,6 +35,9 @@ public final class AnalyticsInstanceSummary
"emailNotification",
"networkEndpointDetails",
"serviceUrl",
+ "definedTags",
+ "freeformTags",
+ "systemTags",
"timeCreated",
"timeUpdated"
})
@@ -50,6 +53,9 @@ public AnalyticsInstanceSummary(
String emailNotification,
NetworkEndpointDetails networkEndpointDetails,
String serviceUrl,
+ java.util.Map> definedTags,
+ java.util.Map freeformTags,
+ java.util.Map> systemTags,
java.util.Date timeCreated,
java.util.Date timeUpdated) {
super();
@@ -64,6 +70,9 @@ public AnalyticsInstanceSummary(
this.emailNotification = emailNotification;
this.networkEndpointDetails = networkEndpointDetails;
this.serviceUrl = serviceUrl;
+ this.definedTags = definedTags;
+ this.freeformTags = freeformTags;
+ this.systemTags = systemTags;
this.timeCreated = timeCreated;
this.timeUpdated = timeUpdated;
}
@@ -227,6 +236,76 @@ public Builder serviceUrl(String serviceUrl) {
this.__explicitlySet__.add("serviceUrl");
return this;
}
+ /**
+ * Defined tags for this resource. Each key is predefined and scoped to a namespace. For
+ * more information, see [Resource
+ * Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
+ *
+ * Example: {@code {"Operations": {"CostCenter": "42"}}}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("definedTags")
+ private java.util.Map> definedTags;
+
+ /**
+ * Defined tags for this resource. Each key is predefined and scoped to a namespace. For
+ * more information, see [Resource
+ * Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
+ *
+ * Example: {@code {"Operations": {"CostCenter": "42"}}}
+ *
+ * @param definedTags the value to set
+ * @return this builder
+ */
+ public Builder definedTags(
+ java.util.Map> definedTags) {
+ this.definedTags = definedTags;
+ this.__explicitlySet__.add("definedTags");
+ return this;
+ }
+ /**
+ * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined
+ * name, type, or namespace. For more information, see [Resource
+ * Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
+ *
+ * Example: {@code {"Department": "Finance"}}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("freeformTags")
+ private java.util.Map freeformTags;
+
+ /**
+ * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined
+ * name, type, or namespace. For more information, see [Resource
+ * Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
+ *
+ * Example: {@code {"Department": "Finance"}}
+ *
+ * @param freeformTags the value to set
+ * @return this builder
+ */
+ public Builder freeformTags(java.util.Map freeformTags) {
+ this.freeformTags = freeformTags;
+ this.__explicitlySet__.add("freeformTags");
+ return this;
+ }
+ /**
+ * System tags for this resource. These predefined keys are scoped to namespaces. Example:
+ * {@code {"orcl-cloud": {"key": "value"}}}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("systemTags")
+ private java.util.Map> systemTags;
+
+ /**
+ * System tags for this resource. These predefined keys are scoped to namespaces. Example:
+ * {@code {"orcl-cloud": {"key": "value"}}}
+ *
+ * @param systemTags the value to set
+ * @return this builder
+ */
+ public Builder systemTags(java.util.Map> systemTags) {
+ this.systemTags = systemTags;
+ this.__explicitlySet__.add("systemTags");
+ return this;
+ }
/**
* The date and time the instance was created, in the format defined by RFC3339.
*
@@ -285,6 +364,9 @@ public AnalyticsInstanceSummary build() {
this.emailNotification,
this.networkEndpointDetails,
this.serviceUrl,
+ this.definedTags,
+ this.freeformTags,
+ this.systemTags,
this.timeCreated,
this.timeUpdated);
for (String explicitlySetProperty : this.__explicitlySet__) {
@@ -328,6 +410,15 @@ public Builder copy(AnalyticsInstanceSummary model) {
if (model.wasPropertyExplicitlySet("serviceUrl")) {
this.serviceUrl(model.getServiceUrl());
}
+ if (model.wasPropertyExplicitlySet("definedTags")) {
+ this.definedTags(model.getDefinedTags());
+ }
+ if (model.wasPropertyExplicitlySet("freeformTags")) {
+ this.freeformTags(model.getFreeformTags());
+ }
+ if (model.wasPropertyExplicitlySet("systemTags")) {
+ this.systemTags(model.getSystemTags());
+ }
if (model.wasPropertyExplicitlySet("timeCreated")) {
this.timeCreated(model.getTimeCreated());
}
@@ -482,6 +573,69 @@ public String getServiceUrl() {
return serviceUrl;
}
+ /**
+ * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more
+ * information, see [Resource
+ * Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
+ *
+ * Example: {@code {"Operations": {"CostCenter": "42"}}}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("definedTags")
+ private final java.util.Map> definedTags;
+
+ /**
+ * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more
+ * information, see [Resource
+ * Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
+ *
+ * Example: {@code {"Operations": {"CostCenter": "42"}}}
+ *
+ * @return the value
+ */
+ public java.util.Map> getDefinedTags() {
+ return definedTags;
+ }
+
+ /**
+ * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined
+ * name, type, or namespace. For more information, see [Resource
+ * Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
+ *
+ * Example: {@code {"Department": "Finance"}}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("freeformTags")
+ private final java.util.Map freeformTags;
+
+ /**
+ * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined
+ * name, type, or namespace. For more information, see [Resource
+ * Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
+ *
+ * Example: {@code {"Department": "Finance"}}
+ *
+ * @return the value
+ */
+ public java.util.Map getFreeformTags() {
+ return freeformTags;
+ }
+
+ /**
+ * System tags for this resource. These predefined keys are scoped to namespaces. Example:
+ * {@code {"orcl-cloud": {"key": "value"}}}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("systemTags")
+ private final java.util.Map> systemTags;
+
+ /**
+ * System tags for this resource. These predefined keys are scoped to namespaces. Example:
+ * {@code {"orcl-cloud": {"key": "value"}}}
+ *
+ * @return the value
+ */
+ public java.util.Map> getSystemTags() {
+ return systemTags;
+ }
+
/**
* The date and time the instance was created, in the format defined by RFC3339.
*
@@ -544,6 +698,9 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", emailNotification=").append(String.valueOf(this.emailNotification));
sb.append(", networkEndpointDetails=").append(String.valueOf(this.networkEndpointDetails));
sb.append(", serviceUrl=").append(String.valueOf(this.serviceUrl));
+ sb.append(", definedTags=").append(String.valueOf(this.definedTags));
+ sb.append(", freeformTags=").append(String.valueOf(this.freeformTags));
+ sb.append(", systemTags=").append(String.valueOf(this.systemTags));
sb.append(", timeCreated=").append(String.valueOf(this.timeCreated));
sb.append(", timeUpdated=").append(String.valueOf(this.timeUpdated));
sb.append(")");
@@ -572,6 +729,9 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(
this.networkEndpointDetails, other.networkEndpointDetails)
&& java.util.Objects.equals(this.serviceUrl, other.serviceUrl)
+ && java.util.Objects.equals(this.definedTags, other.definedTags)
+ && java.util.Objects.equals(this.freeformTags, other.freeformTags)
+ && java.util.Objects.equals(this.systemTags, other.systemTags)
&& java.util.Objects.equals(this.timeCreated, other.timeCreated)
&& java.util.Objects.equals(this.timeUpdated, other.timeUpdated)
&& super.equals(other);
@@ -602,6 +762,9 @@ public int hashCode() {
? 43
: this.networkEndpointDetails.hashCode());
result = (result * PRIME) + (this.serviceUrl == null ? 43 : this.serviceUrl.hashCode());
+ result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode());
+ result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode());
+ result = (result * PRIME) + (this.systemTags == null ? 43 : this.systemTags.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();
diff --git a/bmc-analytics/src/main/java/com/oracle/bmc/analytics/model/Capacity.java b/bmc-analytics/src/main/java/com/oracle/bmc/analytics/model/Capacity.java
index d5e83c50fc9..826b385c8d0 100644
--- a/bmc-analytics/src/main/java/com/oracle/bmc/analytics/model/Capacity.java
+++ b/bmc-analytics/src/main/java/com/oracle/bmc/analytics/model/Capacity.java
@@ -30,12 +30,12 @@ public Capacity(CapacityType capacityType, Integer capacityValue) {
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
public static class Builder {
- /** The capacity model to use. */
+ /** The capacity model to use. Accepted values are: OLPU_COUNT, USER_COUNT */
@com.fasterxml.jackson.annotation.JsonProperty("capacityType")
private CapacityType capacityType;
/**
- * The capacity model to use.
+ * The capacity model to use. Accepted values are: OLPU_COUNT, USER_COUNT
*
* @param capacityType the value to set
* @return this builder
@@ -46,17 +46,17 @@ public Builder capacityType(CapacityType capacityType) {
return this;
}
/**
- * The capacity value selected (OLPU count, number of users, ...etc...). This parameter
- * affects the number of CPUs, amount of memory or other resources allocated to the
- * instance.
+ * The capacity value selected, either the number of OCPUs (OLPU_COUNT) or the number of
+ * users (USER_COUNT). This parameter affects the number of OCPUs, amount of memory, and
+ * other resources allocated to the instance.
*/
@com.fasterxml.jackson.annotation.JsonProperty("capacityValue")
private Integer capacityValue;
/**
- * The capacity value selected (OLPU count, number of users, ...etc...). This parameter
- * affects the number of CPUs, amount of memory or other resources allocated to the
- * instance.
+ * The capacity value selected, either the number of OCPUs (OLPU_COUNT) or the number of
+ * users (USER_COUNT). This parameter affects the number of OCPUs, amount of memory, and
+ * other resources allocated to the instance.
*
* @param capacityValue the value to set
* @return this builder
@@ -99,12 +99,12 @@ public Builder toBuilder() {
return new Builder().copy(this);
}
- /** The capacity model to use. */
+ /** The capacity model to use. Accepted values are: OLPU_COUNT, USER_COUNT */
@com.fasterxml.jackson.annotation.JsonProperty("capacityType")
private final CapacityType capacityType;
/**
- * The capacity model to use.
+ * The capacity model to use. Accepted values are: OLPU_COUNT, USER_COUNT
*
* @return the value
*/
@@ -113,15 +113,17 @@ public CapacityType getCapacityType() {
}
/**
- * The capacity value selected (OLPU count, number of users, ...etc...). This parameter affects
- * the number of CPUs, amount of memory or other resources allocated to the instance.
+ * The capacity value selected, either the number of OCPUs (OLPU_COUNT) or the number of users
+ * (USER_COUNT). This parameter affects the number of OCPUs, amount of memory, and other
+ * resources allocated to the instance.
*/
@com.fasterxml.jackson.annotation.JsonProperty("capacityValue")
private final Integer capacityValue;
/**
- * The capacity value selected (OLPU count, number of users, ...etc...). This parameter affects
- * the number of CPUs, amount of memory or other resources allocated to the instance.
+ * The capacity value selected, either the number of OCPUs (OLPU_COUNT) or the number of users
+ * (USER_COUNT). This parameter affects the number of OCPUs, amount of memory, and other
+ * resources allocated to the instance.
*
* @return the value
*/
diff --git a/bmc-analytics/src/main/java/com/oracle/bmc/analytics/model/CreateAnalyticsInstanceDetails.java b/bmc-analytics/src/main/java/com/oracle/bmc/analytics/model/CreateAnalyticsInstanceDetails.java
index d86adc7a5fc..085b5aaca5f 100644
--- a/bmc-analytics/src/main/java/com/oracle/bmc/analytics/model/CreateAnalyticsInstanceDetails.java
+++ b/bmc-analytics/src/main/java/com/oracle/bmc/analytics/model/CreateAnalyticsInstanceDetails.java
@@ -35,7 +35,10 @@ public final class CreateAnalyticsInstanceDetails
"idcsAccessToken",
"definedTags",
"freeformTags",
- "kmsKeyId"
+ "kmsKeyId",
+ "domainId",
+ "adminUser",
+ "featureBundle"
})
public CreateAnalyticsInstanceDetails(
String name,
@@ -49,7 +52,10 @@ public CreateAnalyticsInstanceDetails(
String idcsAccessToken,
java.util.Map> definedTags,
java.util.Map freeformTags,
- String kmsKeyId) {
+ String kmsKeyId,
+ String domainId,
+ String adminUser,
+ FeatureBundle featureBundle) {
super();
this.name = name;
this.description = description;
@@ -63,6 +69,9 @@ public CreateAnalyticsInstanceDetails(
this.definedTags = definedTags;
this.freeformTags = freeformTags;
this.kmsKeyId = kmsKeyId;
+ this.domainId = domainId;
+ this.adminUser = adminUser;
+ this.featureBundle = featureBundle;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -246,17 +255,15 @@ public Builder freeformTags(java.util.Map freeformTags) {
return this;
}
/**
- * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the
- * OCI Vault Key encrypting the customer data stored in this Analytics instance. A null
- * value indicates Oracle managed default encryption.
+ * OCID of the OCI Vault Key encrypting the customer data stored in this Analytics instance.
+ * A null value indicates Oracle managed default encryption.
*/
@com.fasterxml.jackson.annotation.JsonProperty("kmsKeyId")
private String kmsKeyId;
/**
- * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the
- * OCI Vault Key encrypting the customer data stored in this Analytics instance. A null
- * value indicates Oracle managed default encryption.
+ * OCID of the OCI Vault Key encrypting the customer data stored in this Analytics instance.
+ * A null value indicates Oracle managed default encryption.
*
* @param kmsKeyId the value to set
* @return this builder
@@ -266,6 +273,51 @@ public Builder kmsKeyId(String kmsKeyId) {
this.__explicitlySet__.add("kmsKeyId");
return this;
}
+ /** domain id for which the user is authorized. */
+ @com.fasterxml.jackson.annotation.JsonProperty("domainId")
+ private String domainId;
+
+ /**
+ * domain id for which the user is authorized.
+ *
+ * @param domainId the value to set
+ * @return this builder
+ */
+ public Builder domainId(String domainId) {
+ this.domainId = domainId;
+ this.__explicitlySet__.add("domainId");
+ return this;
+ }
+ /** user name of the authorized user. */
+ @com.fasterxml.jackson.annotation.JsonProperty("adminUser")
+ private String adminUser;
+
+ /**
+ * user name of the authorized user.
+ *
+ * @param adminUser the value to set
+ * @return this builder
+ */
+ public Builder adminUser(String adminUser) {
+ this.adminUser = adminUser;
+ this.__explicitlySet__.add("adminUser");
+ return this;
+ }
+ /** The feature set of an Analytics instance. */
+ @com.fasterxml.jackson.annotation.JsonProperty("featureBundle")
+ private FeatureBundle featureBundle;
+
+ /**
+ * The feature set of an Analytics instance.
+ *
+ * @param featureBundle the value to set
+ * @return this builder
+ */
+ public Builder featureBundle(FeatureBundle featureBundle) {
+ this.featureBundle = featureBundle;
+ this.__explicitlySet__.add("featureBundle");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -284,7 +336,10 @@ public CreateAnalyticsInstanceDetails build() {
this.idcsAccessToken,
this.definedTags,
this.freeformTags,
- this.kmsKeyId);
+ this.kmsKeyId,
+ this.domainId,
+ this.adminUser,
+ this.featureBundle);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -329,6 +384,15 @@ public Builder copy(CreateAnalyticsInstanceDetails model) {
if (model.wasPropertyExplicitlySet("kmsKeyId")) {
this.kmsKeyId(model.getKmsKeyId());
}
+ if (model.wasPropertyExplicitlySet("domainId")) {
+ this.domainId(model.getDomainId());
+ }
+ if (model.wasPropertyExplicitlySet("adminUser")) {
+ this.adminUser(model.getAdminUser());
+ }
+ if (model.wasPropertyExplicitlySet("featureBundle")) {
+ this.featureBundle(model.getFeatureBundle());
+ }
return this;
}
}
@@ -498,17 +562,15 @@ public java.util.Map getFreeformTags() {
}
/**
- * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the OCI
- * Vault Key encrypting the customer data stored in this Analytics instance. A null value
- * indicates Oracle managed default encryption.
+ * OCID of the OCI Vault Key encrypting the customer data stored in this Analytics instance. A
+ * null value indicates Oracle managed default encryption.
*/
@com.fasterxml.jackson.annotation.JsonProperty("kmsKeyId")
private final String kmsKeyId;
/**
- * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the OCI
- * Vault Key encrypting the customer data stored in this Analytics instance. A null value
- * indicates Oracle managed default encryption.
+ * OCID of the OCI Vault Key encrypting the customer data stored in this Analytics instance. A
+ * null value indicates Oracle managed default encryption.
*
* @return the value
*/
@@ -516,6 +578,45 @@ public String getKmsKeyId() {
return kmsKeyId;
}
+ /** domain id for which the user is authorized. */
+ @com.fasterxml.jackson.annotation.JsonProperty("domainId")
+ private final String domainId;
+
+ /**
+ * domain id for which the user is authorized.
+ *
+ * @return the value
+ */
+ public String getDomainId() {
+ return domainId;
+ }
+
+ /** user name of the authorized user. */
+ @com.fasterxml.jackson.annotation.JsonProperty("adminUser")
+ private final String adminUser;
+
+ /**
+ * user name of the authorized user.
+ *
+ * @return the value
+ */
+ public String getAdminUser() {
+ return adminUser;
+ }
+
+ /** The feature set of an Analytics instance. */
+ @com.fasterxml.jackson.annotation.JsonProperty("featureBundle")
+ private final FeatureBundle featureBundle;
+
+ /**
+ * The feature set of an Analytics instance.
+ *
+ * @return the value
+ */
+ public FeatureBundle getFeatureBundle() {
+ return featureBundle;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -543,6 +644,9 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", definedTags=").append(String.valueOf(this.definedTags));
sb.append(", freeformTags=").append(String.valueOf(this.freeformTags));
sb.append(", kmsKeyId=").append(String.valueOf(this.kmsKeyId));
+ sb.append(", domainId=").append(String.valueOf(this.domainId));
+ sb.append(", adminUser=").append(String.valueOf(this.adminUser));
+ sb.append(", featureBundle=").append(String.valueOf(this.featureBundle));
sb.append(")");
return sb.toString();
}
@@ -570,6 +674,9 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.definedTags, other.definedTags)
&& java.util.Objects.equals(this.freeformTags, other.freeformTags)
&& java.util.Objects.equals(this.kmsKeyId, other.kmsKeyId)
+ && java.util.Objects.equals(this.domainId, other.domainId)
+ && java.util.Objects.equals(this.adminUser, other.adminUser)
+ && java.util.Objects.equals(this.featureBundle, other.featureBundle)
&& super.equals(other);
}
@@ -599,6 +706,11 @@ public int hashCode() {
result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode());
result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode());
result = (result * PRIME) + (this.kmsKeyId == null ? 43 : this.kmsKeyId.hashCode());
+ result = (result * PRIME) + (this.domainId == null ? 43 : this.domainId.hashCode());
+ result = (result * PRIME) + (this.adminUser == null ? 43 : this.adminUser.hashCode());
+ result =
+ (result * PRIME)
+ + (this.featureBundle == null ? 43 : this.featureBundle.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-analytics/src/main/java/com/oracle/bmc/analytics/model/FeatureBundle.java b/bmc-analytics/src/main/java/com/oracle/bmc/analytics/model/FeatureBundle.java
new file mode 100644
index 00000000000..3dba6d608de
--- /dev/null
+++ b/bmc-analytics/src/main/java/com/oracle/bmc/analytics/model/FeatureBundle.java
@@ -0,0 +1,55 @@
+/**
+ * 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.analytics.model;
+
+/** Feature Bundle Enum. */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190331")
+public enum FeatureBundle implements com.oracle.bmc.http.internal.BmcEnum {
+ FawPaid("FAW_PAID"),
+ FawFree("FAW_FREE"),
+ EeEmbedded("EE_EMBEDDED"),
+ SeEmbedded("SE_EMBEDDED"),
+
+ /**
+ * 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(FeatureBundle.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (FeatureBundle v : FeatureBundle.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ FeatureBundle(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static FeatureBundle create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'FeatureBundle', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
+ }
+}
diff --git a/bmc-analytics/src/main/java/com/oracle/bmc/analytics/model/SetFeatureBundleDetails.java b/bmc-analytics/src/main/java/com/oracle/bmc/analytics/model/SetFeatureBundleDetails.java
new file mode 100644
index 00000000000..ec3ad4edfdb
--- /dev/null
+++ b/bmc-analytics/src/main/java/com/oracle/bmc/analytics/model/SetFeatureBundleDetails.java
@@ -0,0 +1,136 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.analytics.model;
+
+/**
+ * Input payload for the feature set of an Analytics instance.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model
+ * distinguishes fields that are {@code null} because they are unset from fields that are explicitly
+ * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a
+ * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link
+ * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set
+ * fields into account. The constructor, on the other hand, does not take the explicitly set fields
+ * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code
+ * null}).
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190331")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = SetFeatureBundleDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class SetFeatureBundleDetails
+ extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({"featureBundle"})
+ public SetFeatureBundleDetails(FeatureBundle featureBundle) {
+ super();
+ this.featureBundle = featureBundle;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /** The feature set of an Analytics instance. */
+ @com.fasterxml.jackson.annotation.JsonProperty("featureBundle")
+ private FeatureBundle featureBundle;
+
+ /**
+ * The feature set of an Analytics instance.
+ *
+ * @param featureBundle the value to set
+ * @return this builder
+ */
+ public Builder featureBundle(FeatureBundle featureBundle) {
+ this.featureBundle = featureBundle;
+ this.__explicitlySet__.add("featureBundle");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public SetFeatureBundleDetails build() {
+ SetFeatureBundleDetails model = new SetFeatureBundleDetails(this.featureBundle);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(SetFeatureBundleDetails model) {
+ if (model.wasPropertyExplicitlySet("featureBundle")) {
+ this.featureBundle(model.getFeatureBundle());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ /** The feature set of an Analytics instance. */
+ @com.fasterxml.jackson.annotation.JsonProperty("featureBundle")
+ private final FeatureBundle featureBundle;
+
+ /**
+ * The feature set of an Analytics instance.
+ *
+ * @return the value
+ */
+ public FeatureBundle getFeatureBundle() {
+ return featureBundle;
+ }
+
+ @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("SetFeatureBundleDetails(");
+ sb.append("super=").append(super.toString());
+ sb.append("featureBundle=").append(String.valueOf(this.featureBundle));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof SetFeatureBundleDetails)) {
+ return false;
+ }
+
+ SetFeatureBundleDetails other = (SetFeatureBundleDetails) o;
+ return java.util.Objects.equals(this.featureBundle, other.featureBundle)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result =
+ (result * PRIME)
+ + (this.featureBundle == null ? 43 : this.featureBundle.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-analytics/src/main/java/com/oracle/bmc/analytics/requests/SetFeatureBundleRequest.java b/bmc-analytics/src/main/java/com/oracle/bmc/analytics/requests/SetFeatureBundleRequest.java
new file mode 100644
index 00000000000..59a8b8ad28a
--- /dev/null
+++ b/bmc-analytics/src/main/java/com/oracle/bmc/analytics/requests/SetFeatureBundleRequest.java
@@ -0,0 +1,363 @@
+/**
+ * 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.analytics.requests;
+
+import com.oracle.bmc.analytics.model.*;
+/**
+ * Example: Click here to see how to use SetFeatureBundleRequest.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190331")
+public class SetFeatureBundleRequest
+ extends com.oracle.bmc.requests.BmcRequest<
+ com.oracle.bmc.analytics.model.SetFeatureBundleDetails> {
+
+ /** The OCID of the AnalyticsInstance. */
+ private String analyticsInstanceId;
+
+ /** The OCID of the AnalyticsInstance. */
+ public String getAnalyticsInstanceId() {
+ return analyticsInstanceId;
+ }
+ /** Input payload for the feature set of an Analytics instance. */
+ private com.oracle.bmc.analytics.model.SetFeatureBundleDetails setFeatureBundleDetails;
+
+ /** Input payload for the feature set of an Analytics instance. */
+ public com.oracle.bmc.analytics.model.SetFeatureBundleDetails getSetFeatureBundleDetails() {
+ return setFeatureBundleDetails;
+ }
+ /**
+ * 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;
+ }
+ /**
+ * Unique identifier for the request. If you need to contact Oracle about a particular request,
+ * please provide the request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique identifier for the request. If you need to contact Oracle about a particular request,
+ * please provide the request ID.
+ */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+ /**
+ * A token that uniquely identifies a request so it can be retried in case of a timeout or
+ * server error without risk of executing that same action again. Retry tokens expire after 24
+ * hours, but can be invalidated before then due to conflicting operations (for example, if a
+ * resource has been deleted and purged from the system, then a retry of the original creation
+ * request may be rejected).
+ */
+ private String opcRetryToken;
+
+ /**
+ * A token that uniquely identifies a request so it can be retried in case of a timeout or
+ * server error without risk of executing that same action again. Retry tokens expire after 24
+ * hours, but can be invalidated before then due to conflicting operations (for example, if a
+ * resource has been deleted and purged from the system, then a retry of the original creation
+ * request may be rejected).
+ */
+ public String getOpcRetryToken() {
+ return opcRetryToken;
+ }
+
+ /**
+ * Alternative accessor for the body parameter.
+ *
+ * @return body parameter
+ */
+ @Override
+ @com.oracle.bmc.InternalSdk
+ public com.oracle.bmc.analytics.model.SetFeatureBundleDetails getBody$() {
+ return setFeatureBundleDetails;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.requests.BmcRequest.Builder<
+ SetFeatureBundleRequest,
+ com.oracle.bmc.analytics.model.SetFeatureBundleDetails> {
+ private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null;
+ private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null;
+
+ /** The OCID of the AnalyticsInstance. */
+ private String analyticsInstanceId = null;
+
+ /**
+ * The OCID of the AnalyticsInstance.
+ *
+ * @param analyticsInstanceId the value to set
+ * @return this builder instance
+ */
+ public Builder analyticsInstanceId(String analyticsInstanceId) {
+ this.analyticsInstanceId = analyticsInstanceId;
+ return this;
+ }
+
+ /** Input payload for the feature set of an Analytics instance. */
+ private com.oracle.bmc.analytics.model.SetFeatureBundleDetails setFeatureBundleDetails =
+ null;
+
+ /**
+ * Input payload for the feature set of an Analytics instance.
+ *
+ * @param setFeatureBundleDetails the value to set
+ * @return this builder instance
+ */
+ public Builder setFeatureBundleDetails(
+ com.oracle.bmc.analytics.model.SetFeatureBundleDetails setFeatureBundleDetails) {
+ this.setFeatureBundleDetails = setFeatureBundleDetails;
+ 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;
+ }
+
+ /**
+ * Unique identifier for the request. If you need to contact Oracle about a particular
+ * request, please provide the request ID.
+ */
+ private String opcRequestId = null;
+
+ /**
+ * Unique identifier for the request. If you need to contact Oracle about a particular
+ * request, please provide the request ID.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder instance
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /**
+ * A token that uniquely identifies a request so it can be retried in case of a timeout or
+ * server error without risk of executing that same action again. Retry tokens expire after
+ * 24 hours, but can be invalidated before then due to conflicting operations (for example,
+ * if a resource has been deleted and purged from the system, then a retry of the original
+ * creation request may be rejected).
+ */
+ private String opcRetryToken = null;
+
+ /**
+ * A token that uniquely identifies a request so it can be retried in case of a timeout or
+ * server error without risk of executing that same action again. Retry tokens expire after
+ * 24 hours, but can be invalidated before then due to conflicting operations (for example,
+ * if a resource has been deleted and purged from the system, then a retry of the original
+ * creation request may be rejected).
+ *
+ * @param opcRetryToken the value to set
+ * @return this builder instance
+ */
+ public Builder opcRetryToken(String opcRetryToken) {
+ this.opcRetryToken = opcRetryToken;
+ return this;
+ }
+
+ /**
+ * 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(SetFeatureBundleRequest o) {
+ analyticsInstanceId(o.getAnalyticsInstanceId());
+ setFeatureBundleDetails(o.getSetFeatureBundleDetails());
+ ifMatch(o.getIfMatch());
+ opcRequestId(o.getOpcRequestId());
+ opcRetryToken(o.getOpcRetryToken());
+ invocationCallback(o.getInvocationCallback());
+ retryConfiguration(o.getRetryConfiguration());
+ return this;
+ }
+
+ /**
+ * Build the instance of SetFeatureBundleRequest 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 SetFeatureBundleRequest
+ */
+ public SetFeatureBundleRequest build() {
+ SetFeatureBundleRequest 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.analytics.model.SetFeatureBundleDetails body) {
+ setFeatureBundleDetails(body);
+ return this;
+ }
+
+ /**
+ * Build the instance of SetFeatureBundleRequest 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 SetFeatureBundleRequest
+ */
+ public SetFeatureBundleRequest buildWithoutInvocationCallback() {
+ SetFeatureBundleRequest request = new SetFeatureBundleRequest();
+ request.analyticsInstanceId = analyticsInstanceId;
+ request.setFeatureBundleDetails = setFeatureBundleDetails;
+ request.ifMatch = ifMatch;
+ request.opcRequestId = opcRequestId;
+ request.opcRetryToken = opcRetryToken;
+ return request;
+ // new SetFeatureBundleRequest(analyticsInstanceId, setFeatureBundleDetails, ifMatch,
+ // 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()
+ .analyticsInstanceId(analyticsInstanceId)
+ .setFeatureBundleDetails(setFeatureBundleDetails)
+ .ifMatch(ifMatch)
+ .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(",analyticsInstanceId=").append(String.valueOf(this.analyticsInstanceId));
+ sb.append(",setFeatureBundleDetails=").append(String.valueOf(this.setFeatureBundleDetails));
+ sb.append(",ifMatch=").append(String.valueOf(this.ifMatch));
+ 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 SetFeatureBundleRequest)) {
+ return false;
+ }
+
+ SetFeatureBundleRequest other = (SetFeatureBundleRequest) o;
+ return super.equals(o)
+ && java.util.Objects.equals(this.analyticsInstanceId, other.analyticsInstanceId)
+ && java.util.Objects.equals(
+ this.setFeatureBundleDetails, other.setFeatureBundleDetails)
+ && java.util.Objects.equals(this.ifMatch, other.ifMatch)
+ && 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.analyticsInstanceId == null
+ ? 43
+ : this.analyticsInstanceId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.setFeatureBundleDetails == null
+ ? 43
+ : this.setFeatureBundleDetails.hashCode());
+ result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.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-analytics/src/main/java/com/oracle/bmc/analytics/responses/SetFeatureBundleResponse.java b/bmc-analytics/src/main/java/com/oracle/bmc/analytics/responses/SetFeatureBundleResponse.java
new file mode 100644
index 00000000000..5c798002ede
--- /dev/null
+++ b/bmc-analytics/src/main/java/com/oracle/bmc/analytics/responses/SetFeatureBundleResponse.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.analytics.responses;
+
+import com.oracle.bmc.analytics.model.*;
+
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190331")
+public class SetFeatureBundleResponse extends com.oracle.bmc.responses.BmcResponse {
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ *
+ * @return the value
+ */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+
+ /**
+ * The OCID of the work request. Use {@link #getWorkRequest(GetWorkRequestRequest)
+ * getWorkRequest} with this ID to track the status of the request.
+ */
+ private String opcWorkRequestId;
+
+ /**
+ * The OCID of the work request. Use {@link #getWorkRequest(GetWorkRequestRequest)
+ * getWorkRequest} with this ID to track the status of the request.
+ *
+ * @return the value
+ */
+ public String getOpcWorkRequestId() {
+ return opcWorkRequestId;
+ }
+
+ @java.beans.ConstructorProperties({
+ "__httpStatusCode__",
+ "headers",
+ "opcRequestId",
+ "opcWorkRequestId"
+ })
+ private SetFeatureBundleResponse(
+ 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
+ * particular request, please provide the request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /**
+ * The OCID of the work request. Use {@link #getWorkRequest(GetWorkRequestRequest)
+ * getWorkRequest} with this ID to track the status of the request.
+ */
+ private String opcWorkRequestId;
+
+ /**
+ * The OCID of the work request. Use {@link #getWorkRequest(GetWorkRequestRequest)
+ * getWorkRequest} with this ID to track the status of the request.
+ *
+ * @param opcWorkRequestId the value to set
+ * @return this builder
+ */
+ public Builder opcWorkRequestId(String opcWorkRequestId) {
+ this.opcWorkRequestId = opcWorkRequestId;
+ return this;
+ }
+
+ /**
+ * Copy method to populate the builder with values from the given instance.
+ *
+ * @return this builder instance
+ */
+ @Override
+ public Builder copy(SetFeatureBundleResponse 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 SetFeatureBundleResponse build() {
+ return new SetFeatureBundleResponse(
+ __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 SetFeatureBundleResponse)) {
+ return false;
+ }
+
+ SetFeatureBundleResponse other = (SetFeatureBundleResponse) 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-analytics/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-analytics/reflect-config.json b/bmc-analytics/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-analytics/reflect-config.json
index 42b98ce432b..add5fcd041e 100644
--- a/bmc-analytics/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-analytics/reflect-config.json
+++ b/bmc-analytics/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-analytics/reflect-config.json
@@ -129,6 +129,12 @@
"allDeclaredMethods": true,
"allDeclaredConstructors": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.analytics.model.FeatureBundle",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.analytics.model.FeatureSet",
@@ -238,6 +244,20 @@
"allDeclaredMethods": true,
"allDeclaredConstructors": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.analytics.model.SetFeatureBundleDetails",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.analytics.model.SetFeatureBundleDetails$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.analytics.model.SetKmsKeyDetails",
diff --git a/bmc-announcementsservice/pom.xml b/bmc-announcementsservice/pom.xml
index dc9594fee5a..46f4d5443ea 100644
--- a/bmc-announcementsservice/pom.xml
+++ b/bmc-announcementsservice/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-announcementsservice
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
diff --git a/bmc-apigateway/pom.xml b/bmc-apigateway/pom.xml
index b38e5fd2fee..055c0875587 100644
--- a/bmc-apigateway/pom.xml
+++ b/bmc-apigateway/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-apigateway
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
diff --git a/bmc-apmconfig/pom.xml b/bmc-apmconfig/pom.xml
index 5e77ca4ff1d..056b9da5efc 100644
--- a/bmc-apmconfig/pom.xml
+++ b/bmc-apmconfig/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-apmconfig
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
\ No newline at end of file
diff --git a/bmc-apmcontrolplane/pom.xml b/bmc-apmcontrolplane/pom.xml
index 546473760dd..f337a829d7b 100644
--- a/bmc-apmcontrolplane/pom.xml
+++ b/bmc-apmcontrolplane/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-apmcontrolplane
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
diff --git a/bmc-apmsynthetics/pom.xml b/bmc-apmsynthetics/pom.xml
index 03d03fe87c9..b24de930fc0 100644
--- a/bmc-apmsynthetics/pom.xml
+++ b/bmc-apmsynthetics/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-apmsynthetics
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
diff --git a/bmc-apmtraces/pom.xml b/bmc-apmtraces/pom.xml
index 3a2e718e03c..0927edc2263 100644
--- a/bmc-apmtraces/pom.xml
+++ b/bmc-apmtraces/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-apmtraces
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
diff --git a/bmc-appmgmtcontrol/pom.xml b/bmc-appmgmtcontrol/pom.xml
index 18878fdab22..00d55b92a85 100644
--- a/bmc-appmgmtcontrol/pom.xml
+++ b/bmc-appmgmtcontrol/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-appmgmtcontrol
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
\ No newline at end of file
diff --git a/bmc-artifacts/pom.xml b/bmc-artifacts/pom.xml
index 69f4a14c011..1708f9387c1 100644
--- a/bmc-artifacts/pom.xml
+++ b/bmc-artifacts/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-artifacts
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
diff --git a/bmc-audit/pom.xml b/bmc-audit/pom.xml
index 8730b0a6e64..1c073cf79ae 100644
--- a/bmc-audit/pom.xml
+++ b/bmc-audit/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
@@ -18,7 +18,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
diff --git a/bmc-autoscaling/pom.xml b/bmc-autoscaling/pom.xml
index 85a576e158f..5435d860ad6 100644
--- a/bmc-autoscaling/pom.xml
+++ b/bmc-autoscaling/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-autoscaling
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
diff --git a/bmc-bastion/pom.xml b/bmc-bastion/pom.xml
index 81cba49aafd..90a362fe747 100644
--- a/bmc-bastion/pom.xml
+++ b/bmc-bastion/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-bastion
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
diff --git a/bmc-bds/pom.xml b/bmc-bds/pom.xml
index f165e929196..d35bf5a4c23 100644
--- a/bmc-bds/pom.xml
+++ b/bmc-bds/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-bds
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
diff --git a/bmc-blockchain/pom.xml b/bmc-blockchain/pom.xml
index 33349daf8e0..42df2d54aaa 100644
--- a/bmc-blockchain/pom.xml
+++ b/bmc-blockchain/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-blockchain
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
diff --git a/bmc-bom/pom.xml b/bmc-bom/pom.xml
index bc6c93fb4a7..3f5ebb2ba3e 100644
--- a/bmc-bom/pom.xml
+++ b/bmc-bom/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.oracle.oci.sdk
- 3.46.1
+ 3.47.0
oci-java-sdk-bom
pom
Oracle Cloud Infrastructure SDK - BOM
@@ -38,933 +38,939 @@
com.oracle.oci.sdk
oci-java-sdk-circuitbreaker
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-common-httpclient
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-common-httpclient-jersey
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-common-httpclient-jersey3
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-enforcer-rules
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-shaded-full
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-audit
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-containerengine
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-core
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-database
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-dns
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-email
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-filestorage
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-identity
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-loadbalancer
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-objectstorage
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-addons-apache-configurator-jersey
- 3.46.1
+ 3.47.0
com.oracle.oci.sdk
oci-java-sdk-addons-apache-configurator-jersey3
- 3.46.1
+ 3.47.0
com.oracle.oci.sdk
oci-java-sdk-addons-resteasy-client-configurator
- 3.46.1
+ 3.47.0
com.oracle.oci.sdk
oci-java-sdk-addons-sasl
- 3.46.1
+ 3.47.0
com.oracle.oci.sdk
oci-java-sdk-addons-oke-workload-identity
- 3.46.1
+ 3.47.0
com.oracle.oci.sdk
oci-java-sdk-addons-sasl-oke-workload-identity
- 3.46.1
+ 3.47.0
com.oracle.oci.sdk
oci-java-sdk-resourcesearch
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-addons-apache
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-keymanagement
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-announcementsservice
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-healthchecks
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-waas
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-streaming
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-resourcemanager
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-monitoring
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-ons
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-autoscaling
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-budget
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-workrequests
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-limits
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-functions
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-events
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-dts
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-oce
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-oda
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-analytics
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-integration
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-osmanagement
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-marketplace
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-apigateway
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-datacatalog
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-dataflow
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-datascience
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-nosql
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-secrets
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-vault
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-bds
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-encryption
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-cims
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-datasafe
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-mysql
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-dataintegration
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-ocvp
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-usageapi
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-blockchain
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-loggingingestion
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-logging
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-loganalytics
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-managementdashboard
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-sch
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-loggingsearch
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-managementagent
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-cloudguard
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-opsi
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-computeinstanceagent
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-optimizer
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-tenantmanagercontrolplane
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-rover
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-databasemanagement
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-artifacts
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-apmsynthetics
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-goldengate
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-apmcontrolplane
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-apmtraces
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-networkloadbalancer
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-vulnerabilityscanning
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-databasemigration
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-servicecatalog
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-ailanguage
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-operatoraccesscontrol
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-bastion
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-genericartifactscontent
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-jms
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-devops
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-aianomalydetection
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-datalabelingservice
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-datalabelingservicedataplane
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-apmconfig
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-waf
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-certificates
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-certificatesmanagement
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-usage
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-databasetools
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-servicemanagerproxy
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-appmgmtcontrol
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-ospgateway
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-identitydataplane
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-visualbuilder
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-osubusage
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-osubsubscription
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-osuborganizationsubscription
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-osubbillingschedule
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-dashboardservice
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-threatintelligence
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-aivision
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-aispeech
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-stackmonitoring
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-servicemesh
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-adm
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-licensemanager
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-onesubscription
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-governancerulescontrolplane
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-waa
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-networkfirewall
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-vnmonitoring
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-emwarehouse
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-lockbox
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-fusionapps
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-mediaservices
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-opa
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-opensearch
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-cloudmigrations
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-cloudbridge
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-disasterrecovery
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-containerinstances
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-aidocument
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-queue
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-recovery
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-vbsinst
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-identitydomains
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-accessgovernancecp
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-ocicontrolcenter
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-osmanagementhub
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-fleetsoftwareupdate
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-computecloudatcustomer
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-marketplacepublisher
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-redis
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-jmsjavadownloads
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-psql
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-generativeai
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-generativeaiinference
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-capacitymanagement
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-globallydistributeddatabase
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-desktops
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-emaildataplane
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-clusterplacementgroups
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-marketplaceprivateoffer
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-resourcescheduler
- 3.46.1
+ 3.47.0
false
com.oracle.oci.sdk
oci-java-sdk-demandsignal
- 3.46.1
+ 3.47.0
+ false
+
+
+ com.oracle.oci.sdk
+ oci-java-sdk-fleetappsmanagement
+ 3.47.0
false
diff --git a/bmc-budget/pom.xml b/bmc-budget/pom.xml
index 401508c0859..9dadbd39299 100644
--- a/bmc-budget/pom.xml
+++ b/bmc-budget/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-budget
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
diff --git a/bmc-capacitymanagement/pom.xml b/bmc-capacitymanagement/pom.xml
index b0428b26de7..84f443a57df 100644
--- a/bmc-capacitymanagement/pom.xml
+++ b/bmc-capacitymanagement/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-capacitymanagement
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
\ No newline at end of file
diff --git a/bmc-certificates/pom.xml b/bmc-certificates/pom.xml
index 6cee2c52a6c..ec4107a1801 100644
--- a/bmc-certificates/pom.xml
+++ b/bmc-certificates/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-certificates
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
\ No newline at end of file
diff --git a/bmc-certificatesmanagement/pom.xml b/bmc-certificatesmanagement/pom.xml
index 7d484fe1a94..a9b42a3da46 100644
--- a/bmc-certificatesmanagement/pom.xml
+++ b/bmc-certificatesmanagement/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-certificatesmanagement
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
\ No newline at end of file
diff --git a/bmc-cims/pom.xml b/bmc-cims/pom.xml
index 13fef4314fb..87f4c31a216 100644
--- a/bmc-cims/pom.xml
+++ b/bmc-cims/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-cims
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
diff --git a/bmc-circuitbreaker/pom.xml b/bmc-circuitbreaker/pom.xml
index 010a859d6fb..ef420abc85d 100644
--- a/bmc-circuitbreaker/pom.xml
+++ b/bmc-circuitbreaker/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-circuitbreaker
diff --git a/bmc-cloudbridge/pom.xml b/bmc-cloudbridge/pom.xml
index 7eb8abe7446..486036576c3 100644
--- a/bmc-cloudbridge/pom.xml
+++ b/bmc-cloudbridge/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-cloudbridge
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
\ No newline at end of file
diff --git a/bmc-cloudguard/pom.xml b/bmc-cloudguard/pom.xml
index 7871ca6ba2d..e92fa642fa1 100644
--- a/bmc-cloudguard/pom.xml
+++ b/bmc-cloudguard/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-cloudguard
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
diff --git a/bmc-cloudmigrations/pom.xml b/bmc-cloudmigrations/pom.xml
index 65bcd5a7ea1..b6a66432801 100644
--- a/bmc-cloudmigrations/pom.xml
+++ b/bmc-cloudmigrations/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-cloudmigrations
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
\ No newline at end of file
diff --git a/bmc-clusterplacementgroups/pom.xml b/bmc-clusterplacementgroups/pom.xml
index f056d8c31ad..196fe7a60b9 100644
--- a/bmc-clusterplacementgroups/pom.xml
+++ b/bmc-clusterplacementgroups/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-clusterplacementgroups
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
\ No newline at end of file
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 daaa727ea8d..a65e156fbea 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.46.1
+ 3.47.0
../pom.xml
@@ -68,7 +68,7 @@
com.oracle.oci.sdk
oci-java-sdk-addons-apache-configurator-jersey
- 3.46.1
+ 3.47.0
@@ -77,7 +77,7 @@
com.oracle.oci.sdk
oci-java-sdk-common-httpclient
- 3.46.1
+ 3.47.0
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 a786473198b..f521469d30a 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.46.1
+ 3.47.0
../pom.xml
@@ -70,7 +70,7 @@
com.oracle.oci.sdk
oci-java-sdk-addons-apache-configurator-jersey3
- 3.46.1
+ 3.47.0
@@ -79,7 +79,7 @@
com.oracle.oci.sdk
oci-java-sdk-common-httpclient
- 3.46.1
+ 3.47.0
jakarta.ws.rs
diff --git a/bmc-common-httpclient-choices/pom.xml b/bmc-common-httpclient-choices/pom.xml
index 98448973cc1..fe53f45aa47 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.46.1
+ 3.47.0
../pom.xml
diff --git a/bmc-common-httpclient/pom.xml b/bmc-common-httpclient/pom.xml
index 9e831f46e56..10971414eac 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.46.1
+ 3.47.0
../pom.xml
diff --git a/bmc-common/pom.xml b/bmc-common/pom.xml
index 4da9a122de2..3ddae3619d0 100644
--- a/bmc-common/pom.xml
+++ b/bmc-common/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
@@ -67,18 +67,18 @@
com.oracle.oci.sdk
oci-java-sdk-circuitbreaker
- 3.46.1
+ 3.47.0
com.oracle.oci.sdk
oci-java-sdk-common-httpclient
- 3.46.1
+ 3.47.0
com.oracle.oci.sdk
oci-java-sdk-common-httpclient-jersey
- 3.46.1
+ 3.47.0
test
diff --git a/bmc-computecloudatcustomer/pom.xml b/bmc-computecloudatcustomer/pom.xml
index 21cc0ba6b4c..a84e9d2b037 100644
--- a/bmc-computecloudatcustomer/pom.xml
+++ b/bmc-computecloudatcustomer/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-computecloudatcustomer
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
\ No newline at end of file
diff --git a/bmc-computeinstanceagent/pom.xml b/bmc-computeinstanceagent/pom.xml
index b83f2e14e7e..745b530dc3a 100644
--- a/bmc-computeinstanceagent/pom.xml
+++ b/bmc-computeinstanceagent/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-computeinstanceagent
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
diff --git a/bmc-containerengine/pom.xml b/bmc-containerengine/pom.xml
index fcb1bee5c1e..609090d35eb 100644
--- a/bmc-containerengine/pom.xml
+++ b/bmc-containerengine/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
@@ -18,7 +18,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
diff --git a/bmc-containerinstances/pom.xml b/bmc-containerinstances/pom.xml
index 09b91a9eaa8..7cadff4b6e9 100644
--- a/bmc-containerinstances/pom.xml
+++ b/bmc-containerinstances/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-containerinstances
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
\ No newline at end of file
diff --git a/bmc-core/pom.xml b/bmc-core/pom.xml
index 6eae0685cd4..9e2eab7b11f 100644
--- a/bmc-core/pom.xml
+++ b/bmc-core/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
@@ -18,12 +18,12 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
com.oracle.oci.sdk
oci-java-sdk-workrequests
- 3.46.1
+ 3.47.0
diff --git a/bmc-dashboardservice/pom.xml b/bmc-dashboardservice/pom.xml
index f05b4f8841b..bf421714390 100644
--- a/bmc-dashboardservice/pom.xml
+++ b/bmc-dashboardservice/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-dashboardservice
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
\ No newline at end of file
diff --git a/bmc-database/pom.xml b/bmc-database/pom.xml
index b7a79705789..52d24e21d43 100644
--- a/bmc-database/pom.xml
+++ b/bmc-database/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
@@ -18,12 +18,12 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
com.oracle.oci.sdk
oci-java-sdk-workrequests
- 3.46.1
+ 3.47.0
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseSoftwareImage.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseSoftwareImage.java
index 907328dcff8..dc41ea92f0a 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseSoftwareImage.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseSoftwareImage.java
@@ -35,7 +35,8 @@ public final class AutonomousDatabaseSoftwareImage
"freeformTags",
"definedTags",
"autonomousDsiOneOffPatches",
- "imageShapeFamily"
+ "imageShapeFamily",
+ "dstFileVersion"
})
public AutonomousDatabaseSoftwareImage(
String id,
@@ -49,7 +50,8 @@ public AutonomousDatabaseSoftwareImage(
java.util.Map freeformTags,
java.util.Map> definedTags,
java.util.List autonomousDsiOneOffPatches,
- ImageShapeFamily imageShapeFamily) {
+ ImageShapeFamily imageShapeFamily,
+ String dstFileVersion) {
super();
this.id = id;
this.compartmentId = compartmentId;
@@ -63,6 +65,7 @@ public AutonomousDatabaseSoftwareImage(
this.definedTags = definedTags;
this.autonomousDsiOneOffPatches = autonomousDsiOneOffPatches;
this.imageShapeFamily = imageShapeFamily;
+ this.dstFileVersion = dstFileVersion;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -279,6 +282,21 @@ public Builder imageShapeFamily(ImageShapeFamily imageShapeFamily) {
this.__explicitlySet__.add("imageShapeFamily");
return this;
}
+ /** DST Time-Zone File version of the Autonomous Container Database. */
+ @com.fasterxml.jackson.annotation.JsonProperty("dstFileVersion")
+ private String dstFileVersion;
+
+ /**
+ * DST Time-Zone File version of the Autonomous Container Database.
+ *
+ * @param dstFileVersion the value to set
+ * @return this builder
+ */
+ public Builder dstFileVersion(String dstFileVersion) {
+ this.dstFileVersion = dstFileVersion;
+ this.__explicitlySet__.add("dstFileVersion");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -297,7 +315,8 @@ public AutonomousDatabaseSoftwareImage build() {
this.freeformTags,
this.definedTags,
this.autonomousDsiOneOffPatches,
- this.imageShapeFamily);
+ this.imageShapeFamily,
+ this.dstFileVersion);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -342,6 +361,9 @@ public Builder copy(AutonomousDatabaseSoftwareImage model) {
if (model.wasPropertyExplicitlySet("imageShapeFamily")) {
this.imageShapeFamily(model.getImageShapeFamily());
}
+ if (model.wasPropertyExplicitlySet("dstFileVersion")) {
+ this.dstFileVersion(model.getDstFileVersion());
+ }
return this;
}
}
@@ -636,6 +658,19 @@ public ImageShapeFamily getImageShapeFamily() {
return imageShapeFamily;
}
+ /** DST Time-Zone File version of the Autonomous Container Database. */
+ @com.fasterxml.jackson.annotation.JsonProperty("dstFileVersion")
+ private final String dstFileVersion;
+
+ /**
+ * DST Time-Zone File version of the Autonomous Container Database.
+ *
+ * @return the value
+ */
+ public String getDstFileVersion() {
+ return dstFileVersion;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -664,6 +699,7 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", autonomousDsiOneOffPatches=")
.append(String.valueOf(this.autonomousDsiOneOffPatches));
sb.append(", imageShapeFamily=").append(String.valueOf(this.imageShapeFamily));
+ sb.append(", dstFileVersion=").append(String.valueOf(this.dstFileVersion));
sb.append(")");
return sb.toString();
}
@@ -691,6 +727,7 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(
this.autonomousDsiOneOffPatches, other.autonomousDsiOneOffPatches)
&& java.util.Objects.equals(this.imageShapeFamily, other.imageShapeFamily)
+ && java.util.Objects.equals(this.dstFileVersion, other.dstFileVersion)
&& super.equals(other);
}
@@ -726,6 +763,9 @@ public int hashCode() {
result =
(result * PRIME)
+ (this.imageShapeFamily == null ? 43 : this.imageShapeFamily.hashCode());
+ result =
+ (result * PRIME)
+ + (this.dstFileVersion == null ? 43 : this.dstFileVersion.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseSoftwareImageSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseSoftwareImageSummary.java
index 9f63d301948..fdd929794b4 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseSoftwareImageSummary.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseSoftwareImageSummary.java
@@ -36,7 +36,8 @@ public final class AutonomousDatabaseSoftwareImageSummary
"freeformTags",
"definedTags",
"autonomousDsiOneOffPatches",
- "imageShapeFamily"
+ "imageShapeFamily",
+ "dstFileVersion"
})
public AutonomousDatabaseSoftwareImageSummary(
String id,
@@ -50,7 +51,8 @@ public AutonomousDatabaseSoftwareImageSummary(
java.util.Map freeformTags,
java.util.Map> definedTags,
java.util.List autonomousDsiOneOffPatches,
- AutonomousDatabaseSoftwareImage.ImageShapeFamily imageShapeFamily) {
+ AutonomousDatabaseSoftwareImage.ImageShapeFamily imageShapeFamily,
+ String dstFileVersion) {
super();
this.id = id;
this.compartmentId = compartmentId;
@@ -64,6 +66,7 @@ public AutonomousDatabaseSoftwareImageSummary(
this.definedTags = definedTags;
this.autonomousDsiOneOffPatches = autonomousDsiOneOffPatches;
this.imageShapeFamily = imageShapeFamily;
+ this.dstFileVersion = dstFileVersion;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -282,6 +285,21 @@ public Builder imageShapeFamily(
this.__explicitlySet__.add("imageShapeFamily");
return this;
}
+ /** DST Time-Zone File version of the Autonomous Container Database. */
+ @com.fasterxml.jackson.annotation.JsonProperty("dstFileVersion")
+ private String dstFileVersion;
+
+ /**
+ * DST Time-Zone File version of the Autonomous Container Database.
+ *
+ * @param dstFileVersion the value to set
+ * @return this builder
+ */
+ public Builder dstFileVersion(String dstFileVersion) {
+ this.dstFileVersion = dstFileVersion;
+ this.__explicitlySet__.add("dstFileVersion");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -300,7 +318,8 @@ public AutonomousDatabaseSoftwareImageSummary build() {
this.freeformTags,
this.definedTags,
this.autonomousDsiOneOffPatches,
- this.imageShapeFamily);
+ this.imageShapeFamily,
+ this.dstFileVersion);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -345,6 +364,9 @@ public Builder copy(AutonomousDatabaseSoftwareImageSummary model) {
if (model.wasPropertyExplicitlySet("imageShapeFamily")) {
this.imageShapeFamily(model.getImageShapeFamily());
}
+ if (model.wasPropertyExplicitlySet("dstFileVersion")) {
+ this.dstFileVersion(model.getDstFileVersion());
+ }
return this;
}
}
@@ -542,6 +564,19 @@ public AutonomousDatabaseSoftwareImage.ImageShapeFamily getImageShapeFamily() {
return imageShapeFamily;
}
+ /** DST Time-Zone File version of the Autonomous Container Database. */
+ @com.fasterxml.jackson.annotation.JsonProperty("dstFileVersion")
+ private final String dstFileVersion;
+
+ /**
+ * DST Time-Zone File version of the Autonomous Container Database.
+ *
+ * @return the value
+ */
+ public String getDstFileVersion() {
+ return dstFileVersion;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -570,6 +605,7 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", autonomousDsiOneOffPatches=")
.append(String.valueOf(this.autonomousDsiOneOffPatches));
sb.append(", imageShapeFamily=").append(String.valueOf(this.imageShapeFamily));
+ sb.append(", dstFileVersion=").append(String.valueOf(this.dstFileVersion));
sb.append(")");
return sb.toString();
}
@@ -597,6 +633,7 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(
this.autonomousDsiOneOffPatches, other.autonomousDsiOneOffPatches)
&& java.util.Objects.equals(this.imageShapeFamily, other.imageShapeFamily)
+ && java.util.Objects.equals(this.dstFileVersion, other.dstFileVersion)
&& super.equals(other);
}
@@ -632,6 +669,9 @@ public int hashCode() {
result =
(result * PRIME)
+ (this.imageShapeFamily == null ? 43 : this.imageShapeFamily.hashCode());
+ result =
+ (result * PRIME)
+ + (this.dstFileVersion == null ? 43 : this.dstFileVersion.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateMaintenanceRunDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateMaintenanceRunDetails.java
index f51a6a001fa..648de658e53 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateMaintenanceRunDetails.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateMaintenanceRunDetails.java
@@ -30,7 +30,8 @@ public final class CreateMaintenanceRunDetails
"timeScheduled",
"patchingMode",
"patchType",
- "compartmentId"
+ "compartmentId",
+ "databaseSoftwareImageId"
})
public CreateMaintenanceRunDetails(
String targetResourceId,
@@ -38,7 +39,8 @@ public CreateMaintenanceRunDetails(
java.util.Date timeScheduled,
PatchingMode patchingMode,
PatchType patchType,
- String compartmentId) {
+ String compartmentId,
+ String databaseSoftwareImageId) {
super();
this.targetResourceId = targetResourceId;
this.isDstFileUpdateEnabled = isDstFileUpdateEnabled;
@@ -46,6 +48,7 @@ public CreateMaintenanceRunDetails(
this.patchingMode = patchingMode;
this.patchType = patchType;
this.compartmentId = compartmentId;
+ this.databaseSoftwareImageId = databaseSoftwareImageId;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -130,12 +133,12 @@ public Builder patchingMode(PatchingMode patchingMode) {
this.__explicitlySet__.add("patchingMode");
return this;
}
- /** Patch type, either "QUARTERLY" or "TIMEZONE". */
+ /** Patch type, either "QUARTERLY", "TIMEZONE" or "CUSTOM_DATABASE_SOFTWARE_IMAGE". */
@com.fasterxml.jackson.annotation.JsonProperty("patchType")
private PatchType patchType;
/**
- * Patch type, either "QUARTERLY" or "TIMEZONE".
+ * Patch type, either "QUARTERLY", "TIMEZONE" or "CUSTOM_DATABASE_SOFTWARE_IMAGE".
*
* @param patchType the value to set
* @return this builder
@@ -164,6 +167,25 @@ public Builder compartmentId(String compartmentId) {
this.__explicitlySet__.add("compartmentId");
return this;
}
+ /**
+ * The Autonomous Database Software Image
+ * [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("databaseSoftwareImageId")
+ private String databaseSoftwareImageId;
+
+ /**
+ * The Autonomous Database Software Image
+ * [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)
+ *
+ * @param databaseSoftwareImageId the value to set
+ * @return this builder
+ */
+ public Builder databaseSoftwareImageId(String databaseSoftwareImageId) {
+ this.databaseSoftwareImageId = databaseSoftwareImageId;
+ this.__explicitlySet__.add("databaseSoftwareImageId");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -176,7 +198,8 @@ public CreateMaintenanceRunDetails build() {
this.timeScheduled,
this.patchingMode,
this.patchType,
- this.compartmentId);
+ this.compartmentId,
+ this.databaseSoftwareImageId);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -203,6 +226,9 @@ public Builder copy(CreateMaintenanceRunDetails model) {
if (model.wasPropertyExplicitlySet("compartmentId")) {
this.compartmentId(model.getCompartmentId());
}
+ if (model.wasPropertyExplicitlySet("databaseSoftwareImageId")) {
+ this.databaseSoftwareImageId(model.getDatabaseSoftwareImageId());
+ }
return this;
}
}
@@ -329,10 +355,11 @@ public PatchingMode getPatchingMode() {
return patchingMode;
}
- /** Patch type, either "QUARTERLY" or "TIMEZONE". */
+ /** Patch type, either "QUARTERLY", "TIMEZONE" or "CUSTOM_DATABASE_SOFTWARE_IMAGE". */
public enum PatchType implements com.oracle.bmc.http.internal.BmcEnum {
Quarterly("QUARTERLY"),
Timezone("TIMEZONE"),
+ CustomDatabaseSoftwareImage("CUSTOM_DATABASE_SOFTWARE_IMAGE"),
;
private final String value;
@@ -362,12 +389,12 @@ public static PatchType create(String key) {
throw new IllegalArgumentException("Invalid PatchType: " + key);
}
};
- /** Patch type, either "QUARTERLY" or "TIMEZONE". */
+ /** Patch type, either "QUARTERLY", "TIMEZONE" or "CUSTOM_DATABASE_SOFTWARE_IMAGE". */
@com.fasterxml.jackson.annotation.JsonProperty("patchType")
private final PatchType patchType;
/**
- * Patch type, either "QUARTERLY" or "TIMEZONE".
+ * Patch type, either "QUARTERLY", "TIMEZONE" or "CUSTOM_DATABASE_SOFTWARE_IMAGE".
*
* @return the value
*/
@@ -392,6 +419,23 @@ public String getCompartmentId() {
return compartmentId;
}
+ /**
+ * The Autonomous Database Software Image
+ * [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("databaseSoftwareImageId")
+ private final String databaseSoftwareImageId;
+
+ /**
+ * The Autonomous Database Software Image
+ * [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)
+ *
+ * @return the value
+ */
+ public String getDatabaseSoftwareImageId() {
+ return databaseSoftwareImageId;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -413,6 +457,8 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", patchingMode=").append(String.valueOf(this.patchingMode));
sb.append(", patchType=").append(String.valueOf(this.patchType));
sb.append(", compartmentId=").append(String.valueOf(this.compartmentId));
+ sb.append(", databaseSoftwareImageId=")
+ .append(String.valueOf(this.databaseSoftwareImageId));
sb.append(")");
return sb.toString();
}
@@ -434,6 +480,8 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.patchingMode, other.patchingMode)
&& java.util.Objects.equals(this.patchType, other.patchType)
&& java.util.Objects.equals(this.compartmentId, other.compartmentId)
+ && java.util.Objects.equals(
+ this.databaseSoftwareImageId, other.databaseSoftwareImageId)
&& super.equals(other);
}
@@ -457,6 +505,11 @@ public int hashCode() {
result =
(result * PRIME)
+ (this.compartmentId == null ? 43 : this.compartmentId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.databaseSoftwareImageId == null
+ ? 43
+ : this.databaseSoftwareImageId.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/MaintenanceRun.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/MaintenanceRun.java
index d5106ba0cdb..928388ac2e1 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/MaintenanceRun.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/MaintenanceRun.java
@@ -51,7 +51,8 @@ public final class MaintenanceRun
"patchingEndTime",
"estimatedPatchingTime",
"currentPatchingComponent",
- "estimatedComponentPatchingStartTime"
+ "estimatedComponentPatchingStartTime",
+ "databaseSoftwareImageId"
})
public MaintenanceRun(
String id,
@@ -82,7 +83,8 @@ public MaintenanceRun(
java.util.Date patchingEndTime,
EstimatedPatchingTime estimatedPatchingTime,
String currentPatchingComponent,
- java.util.Date estimatedComponentPatchingStartTime) {
+ java.util.Date estimatedComponentPatchingStartTime,
+ String databaseSoftwareImageId) {
super();
this.id = id;
this.compartmentId = compartmentId;
@@ -113,6 +115,7 @@ public MaintenanceRun(
this.estimatedPatchingTime = estimatedPatchingTime;
this.currentPatchingComponent = currentPatchingComponent;
this.estimatedComponentPatchingStartTime = estimatedComponentPatchingStartTime;
+ this.databaseSoftwareImageId = databaseSoftwareImageId;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -595,6 +598,25 @@ public Builder estimatedComponentPatchingStartTime(
this.__explicitlySet__.add("estimatedComponentPatchingStartTime");
return this;
}
+ /**
+ * The Autonomous Database Software Image
+ * [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("databaseSoftwareImageId")
+ private String databaseSoftwareImageId;
+
+ /**
+ * The Autonomous Database Software Image
+ * [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)
+ *
+ * @param databaseSoftwareImageId the value to set
+ * @return this builder
+ */
+ public Builder databaseSoftwareImageId(String databaseSoftwareImageId) {
+ this.databaseSoftwareImageId = databaseSoftwareImageId;
+ this.__explicitlySet__.add("databaseSoftwareImageId");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -630,7 +652,8 @@ public MaintenanceRun build() {
this.patchingEndTime,
this.estimatedPatchingTime,
this.currentPatchingComponent,
- this.estimatedComponentPatchingStartTime);
+ this.estimatedComponentPatchingStartTime,
+ this.databaseSoftwareImageId);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -727,6 +750,9 @@ public Builder copy(MaintenanceRun model) {
this.estimatedComponentPatchingStartTime(
model.getEstimatedComponentPatchingStartTime());
}
+ if (model.wasPropertyExplicitlySet("databaseSoftwareImageId")) {
+ this.databaseSoftwareImageId(model.getDatabaseSoftwareImageId());
+ }
return this;
}
}
@@ -1085,6 +1111,7 @@ public enum MaintenanceSubtype implements com.oracle.bmc.http.internal.BmcEnum {
Oneoff("ONEOFF"),
SecurityMonthly("SECURITY_MONTHLY"),
Timezone("TIMEZONE"),
+ CustomDatabaseSoftwareImage("CUSTOM_DATABASE_SOFTWARE_IMAGE"),
/**
* This value is used if a service returns a value for this enum that is not recognized by
@@ -1466,6 +1493,23 @@ public java.util.Date getEstimatedComponentPatchingStartTime() {
return estimatedComponentPatchingStartTime;
}
+ /**
+ * The Autonomous Database Software Image
+ * [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("databaseSoftwareImageId")
+ private final String databaseSoftwareImageId;
+
+ /**
+ * The Autonomous Database Software Image
+ * [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)
+ *
+ * @return the value
+ */
+ public String getDatabaseSoftwareImageId() {
+ return databaseSoftwareImageId;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -1516,6 +1560,8 @@ public String toString(boolean includeByteArrayContents) {
.append(String.valueOf(this.currentPatchingComponent));
sb.append(", estimatedComponentPatchingStartTime=")
.append(String.valueOf(this.estimatedComponentPatchingStartTime));
+ sb.append(", databaseSoftwareImageId=")
+ .append(String.valueOf(this.databaseSoftwareImageId));
sb.append(")");
return sb.toString();
}
@@ -1568,6 +1614,8 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(
this.estimatedComponentPatchingStartTime,
other.estimatedComponentPatchingStartTime)
+ && java.util.Objects.equals(
+ this.databaseSoftwareImageId, other.databaseSoftwareImageId)
&& super.equals(other);
}
@@ -1672,6 +1720,11 @@ public int hashCode() {
+ (this.estimatedComponentPatchingStartTime == null
? 43
: this.estimatedComponentPatchingStartTime.hashCode());
+ result =
+ (result * PRIME)
+ + (this.databaseSoftwareImageId == null
+ ? 43
+ : this.databaseSoftwareImageId.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/MaintenanceRunSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/MaintenanceRunSummary.java
index fea51bcc2f2..f07e0b5cc50 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/MaintenanceRunSummary.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/MaintenanceRunSummary.java
@@ -52,7 +52,8 @@ public final class MaintenanceRunSummary
"patchingEndTime",
"estimatedPatchingTime",
"currentPatchingComponent",
- "estimatedComponentPatchingStartTime"
+ "estimatedComponentPatchingStartTime",
+ "databaseSoftwareImageId"
})
public MaintenanceRunSummary(
String id,
@@ -83,7 +84,8 @@ public MaintenanceRunSummary(
java.util.Date patchingEndTime,
EstimatedPatchingTime estimatedPatchingTime,
String currentPatchingComponent,
- java.util.Date estimatedComponentPatchingStartTime) {
+ java.util.Date estimatedComponentPatchingStartTime,
+ String databaseSoftwareImageId) {
super();
this.id = id;
this.compartmentId = compartmentId;
@@ -114,6 +116,7 @@ public MaintenanceRunSummary(
this.estimatedPatchingTime = estimatedPatchingTime;
this.currentPatchingComponent = currentPatchingComponent;
this.estimatedComponentPatchingStartTime = estimatedComponentPatchingStartTime;
+ this.databaseSoftwareImageId = databaseSoftwareImageId;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -596,6 +599,25 @@ public Builder estimatedComponentPatchingStartTime(
this.__explicitlySet__.add("estimatedComponentPatchingStartTime");
return this;
}
+ /**
+ * The Autonomous Database Software Image
+ * [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("databaseSoftwareImageId")
+ private String databaseSoftwareImageId;
+
+ /**
+ * The Autonomous Database Software Image
+ * [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)
+ *
+ * @param databaseSoftwareImageId the value to set
+ * @return this builder
+ */
+ public Builder databaseSoftwareImageId(String databaseSoftwareImageId) {
+ this.databaseSoftwareImageId = databaseSoftwareImageId;
+ this.__explicitlySet__.add("databaseSoftwareImageId");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -631,7 +653,8 @@ public MaintenanceRunSummary build() {
this.patchingEndTime,
this.estimatedPatchingTime,
this.currentPatchingComponent,
- this.estimatedComponentPatchingStartTime);
+ this.estimatedComponentPatchingStartTime,
+ this.databaseSoftwareImageId);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -728,6 +751,9 @@ public Builder copy(MaintenanceRunSummary model) {
this.estimatedComponentPatchingStartTime(
model.getEstimatedComponentPatchingStartTime());
}
+ if (model.wasPropertyExplicitlySet("databaseSoftwareImageId")) {
+ this.databaseSoftwareImageId(model.getDatabaseSoftwareImageId());
+ }
return this;
}
}
@@ -1086,6 +1112,7 @@ public enum MaintenanceSubtype implements com.oracle.bmc.http.internal.BmcEnum {
Oneoff("ONEOFF"),
SecurityMonthly("SECURITY_MONTHLY"),
Timezone("TIMEZONE"),
+ CustomDatabaseSoftwareImage("CUSTOM_DATABASE_SOFTWARE_IMAGE"),
/**
* This value is used if a service returns a value for this enum that is not recognized by
@@ -1467,6 +1494,23 @@ public java.util.Date getEstimatedComponentPatchingStartTime() {
return estimatedComponentPatchingStartTime;
}
+ /**
+ * The Autonomous Database Software Image
+ * [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("databaseSoftwareImageId")
+ private final String databaseSoftwareImageId;
+
+ /**
+ * The Autonomous Database Software Image
+ * [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)
+ *
+ * @return the value
+ */
+ public String getDatabaseSoftwareImageId() {
+ return databaseSoftwareImageId;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -1517,6 +1561,8 @@ public String toString(boolean includeByteArrayContents) {
.append(String.valueOf(this.currentPatchingComponent));
sb.append(", estimatedComponentPatchingStartTime=")
.append(String.valueOf(this.estimatedComponentPatchingStartTime));
+ sb.append(", databaseSoftwareImageId=")
+ .append(String.valueOf(this.databaseSoftwareImageId));
sb.append(")");
return sb.toString();
}
@@ -1569,6 +1615,8 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(
this.estimatedComponentPatchingStartTime,
other.estimatedComponentPatchingStartTime)
+ && java.util.Objects.equals(
+ this.databaseSoftwareImageId, other.databaseSoftwareImageId)
&& super.equals(other);
}
@@ -1673,6 +1721,11 @@ public int hashCode() {
+ (this.estimatedComponentPatchingStartTime == null
? 43
: this.estimatedComponentPatchingStartTime.hashCode());
+ result =
+ (result * PRIME)
+ + (this.databaseSoftwareImageId == null
+ ? 43
+ : this.databaseSoftwareImageId.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-databasemanagement/pom.xml b/bmc-databasemanagement/pom.xml
index 841afcbd494..54a016109d3 100644
--- a/bmc-databasemanagement/pom.xml
+++ b/bmc-databasemanagement/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-databasemanagement
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
diff --git a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/BasicDatabaseConnectionStringDetails.java b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/BasicDatabaseConnectionStringDetails.java
index b706be688b7..a120a932f1b 100644
--- a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/BasicDatabaseConnectionStringDetails.java
+++ b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/BasicDatabaseConnectionStringDetails.java
@@ -148,7 +148,15 @@ public Integer getPort() {
public enum Protocol implements com.oracle.bmc.http.internal.BmcEnum {
Tcp("TCP"),
Tcps("TCPS"),
- ;
+
+ /**
+ * 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(Protocol.class);
private final String value;
private static java.util.Map map;
@@ -156,7 +164,9 @@ public enum Protocol implements com.oracle.bmc.http.internal.BmcEnum {
static {
map = new java.util.HashMap<>();
for (Protocol v : Protocol.values()) {
- map.put(v.getValue(), v);
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
}
}
@@ -174,7 +184,10 @@ public static Protocol create(String key) {
if (map.containsKey(key)) {
return map.get(key);
}
- throw new IllegalArgumentException("Invalid Protocol: " + key);
+ LOG.warn(
+ "Received unknown value '{}' for enum 'Protocol', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
}
};
/** The protocol used to connect to the database. */
diff --git a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/ConnectorDetails.java b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/ConnectorDetails.java
index 6fda711caea..3d8c1f64782 100644
--- a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/ConnectorDetails.java
+++ b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/ConnectorDetails.java
@@ -89,7 +89,15 @@ public enum ConnectorType implements com.oracle.bmc.http.internal.BmcEnum {
Pe("PE"),
Macs("MACS"),
External("EXTERNAL"),
- ;
+
+ /**
+ * 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(ConnectorType.class);
private final String value;
private static java.util.Map map;
@@ -97,7 +105,9 @@ public enum ConnectorType implements com.oracle.bmc.http.internal.BmcEnum {
static {
map = new java.util.HashMap<>();
for (ConnectorType v : ConnectorType.values()) {
- map.put(v.getValue(), v);
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
}
}
@@ -115,7 +125,10 @@ public static ConnectorType create(String key) {
if (map.containsKey(key)) {
return map.get(key);
}
- throw new IllegalArgumentException("Invalid ConnectorType: " + key);
+ LOG.warn(
+ "Received unknown value '{}' for enum 'ConnectorType', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
}
};
}
diff --git a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabaseConnectionCredentials.java b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabaseConnectionCredentials.java
index a0dd6478b9e..b67fedd38b3 100644
--- a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabaseConnectionCredentials.java
+++ b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabaseConnectionCredentials.java
@@ -23,6 +23,9 @@
property = "credentialType",
defaultImpl = DatabaseConnectionCredentials.class)
@com.fasterxml.jackson.annotation.JsonSubTypes({
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = DatabaseNamedCredentialConnectionDetails.class,
+ name = "NAMED_CREDENTIAL"),
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = DatabaseConnectionCredentailsByName.class,
name = "NAME_REFERENCE"),
@@ -88,6 +91,7 @@ public enum CredentialType implements com.oracle.bmc.http.internal.BmcEnum {
NameReference("NAME_REFERENCE"),
Details("DETAILS"),
SslDetails("SSL_DETAILS"),
+ NamedCredentials("NAMED_CREDENTIALS"),
/**
* This value is used if a service returns a value for this enum that is not recognized by
diff --git a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabaseConnectionStringDetails.java b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabaseConnectionStringDetails.java
index 94cedc34998..458f1f5f3c8 100644
--- a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabaseConnectionStringDetails.java
+++ b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabaseConnectionStringDetails.java
@@ -79,7 +79,15 @@ public int hashCode() {
/** The list of supported connection types: - BASIC: Basic connection details */
public enum ConnectionType implements com.oracle.bmc.http.internal.BmcEnum {
Basic("BASIC"),
- ;
+
+ /**
+ * 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(ConnectionType.class);
private final String value;
private static java.util.Map map;
@@ -87,7 +95,9 @@ public enum ConnectionType implements com.oracle.bmc.http.internal.BmcEnum {
static {
map = new java.util.HashMap<>();
for (ConnectionType v : ConnectionType.values()) {
- map.put(v.getValue(), v);
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
}
}
@@ -105,7 +115,10 @@ public static ConnectionType create(String key) {
if (map.containsKey(key)) {
return map.get(key);
}
- throw new IllegalArgumentException("Invalid ConnectionType: " + key);
+ LOG.warn(
+ "Received unknown value '{}' for enum 'ConnectionType', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
}
};
}
diff --git a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabaseDiagnosticsAndManagementFeatureConfiguration.java b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabaseDiagnosticsAndManagementFeatureConfiguration.java
index 5a9c41a7992..dfb0715767d 100644
--- a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabaseDiagnosticsAndManagementFeatureConfiguration.java
+++ b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabaseDiagnosticsAndManagementFeatureConfiguration.java
@@ -128,7 +128,15 @@ public DatabaseDiagnosticsAndManagementFeatureConfiguration(
public enum LicenseModel implements com.oracle.bmc.http.internal.BmcEnum {
LicenseIncluded("LICENSE_INCLUDED"),
BringYourOwnLicense("BRING_YOUR_OWN_LICENSE"),
- ;
+
+ /**
+ * This value is used if a service returns a value for this enum that is not recognized by
+ * this version of the SDK.
+ */
+ UnknownEnumValue(null);
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(LicenseModel.class);
private final String value;
private static java.util.Map map;
@@ -136,7 +144,9 @@ public enum LicenseModel implements com.oracle.bmc.http.internal.BmcEnum {
static {
map = new java.util.HashMap<>();
for (LicenseModel v : LicenseModel.values()) {
- map.put(v.getValue(), v);
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
}
}
@@ -154,7 +164,10 @@ public static LicenseModel create(String key) {
if (map.containsKey(key)) {
return map.get(key);
}
- throw new IllegalArgumentException("Invalid LicenseModel: " + key);
+ LOG.warn(
+ "Received unknown value '{}' for enum 'LicenseModel', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
}
};
/** The Oracle license model that applies to the external database. */
diff --git a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabaseFeatureConfiguration.java b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabaseFeatureConfiguration.java
index da7f52ac488..0bb823a8f01 100644
--- a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabaseFeatureConfiguration.java
+++ b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabaseFeatureConfiguration.java
@@ -24,7 +24,13 @@
@com.fasterxml.jackson.annotation.JsonSubTypes({
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = DatabaseDiagnosticsAndManagementFeatureConfiguration.class,
- name = "DIAGNOSTICS_AND_MANAGEMENT")
+ name = "DIAGNOSTICS_AND_MANAGEMENT"),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = DatabaseLifecycleFeatureConfiguration.class,
+ name = "DB_LIFECYCLE_MANAGEMENT"),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = DatabaseSqlWatchFeatureConfiguration.class,
+ name = "SQLWATCH")
})
@com.fasterxml.jackson.annotation.JsonFilter(
com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
@@ -58,7 +64,15 @@ public enum FeatureStatus implements com.oracle.bmc.http.internal.BmcEnum {
PendingDisable("PENDING_DISABLE"),
Enabling("ENABLING"),
Disabling("DISABLING"),
- ;
+
+ /**
+ * 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(FeatureStatus.class);
private final String value;
private static java.util.Map map;
@@ -66,7 +80,9 @@ public enum FeatureStatus implements com.oracle.bmc.http.internal.BmcEnum {
static {
map = new java.util.HashMap<>();
for (FeatureStatus v : FeatureStatus.values()) {
- map.put(v.getValue(), v);
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
}
}
@@ -84,7 +100,10 @@ public static FeatureStatus create(String key) {
if (map.containsKey(key)) {
return map.get(key);
}
- throw new IllegalArgumentException("Invalid FeatureStatus: " + key);
+ LOG.warn(
+ "Received unknown value '{}' for enum 'FeatureStatus', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
}
};
/** The list of statuses for Database Management features. */
diff --git a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabaseFeatureDetails.java b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabaseFeatureDetails.java
index 0c16f5d08e0..09193a8a560 100644
--- a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabaseFeatureDetails.java
+++ b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabaseFeatureDetails.java
@@ -24,7 +24,13 @@
@com.fasterxml.jackson.annotation.JsonSubTypes({
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = DatabaseDiagnosticsAndManagementFeatureDetails.class,
- name = "DIAGNOSTICS_AND_MANAGEMENT")
+ name = "DIAGNOSTICS_AND_MANAGEMENT"),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = DatabaseLifecycleManagementFeatureDetails.class,
+ name = "DB_LIFECYCLE_MANAGEMENT"),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = DatabaseSqlWatchFeatureDetails.class,
+ name = "SQLWATCH")
})
@com.fasterxml.jackson.annotation.JsonFilter(
com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
diff --git a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabaseLifecycleFeatureConfiguration.java b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabaseLifecycleFeatureConfiguration.java
new file mode 100644
index 00000000000..03ddda5bff9
--- /dev/null
+++ b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabaseLifecycleFeatureConfiguration.java
@@ -0,0 +1,226 @@
+/**
+ * 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.databasemanagement.model;
+
+/**
+ * The details required to enable the Database Lifecycle Management feature.
+ * 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: 20201101")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = DatabaseLifecycleFeatureConfiguration.Builder.class)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "feature")
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class DatabaseLifecycleFeatureConfiguration extends DatabaseFeatureConfiguration {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("featureStatus")
+ private FeatureStatus featureStatus;
+
+ public Builder featureStatus(FeatureStatus featureStatus) {
+ this.featureStatus = featureStatus;
+ this.__explicitlySet__.add("featureStatus");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("connectorDetails")
+ private ConnectorDetails connectorDetails;
+
+ public Builder connectorDetails(ConnectorDetails connectorDetails) {
+ this.connectorDetails = connectorDetails;
+ this.__explicitlySet__.add("connectorDetails");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("databaseConnectionDetails")
+ private DatabaseConnectionDetails databaseConnectionDetails;
+
+ public Builder databaseConnectionDetails(
+ DatabaseConnectionDetails databaseConnectionDetails) {
+ this.databaseConnectionDetails = databaseConnectionDetails;
+ this.__explicitlySet__.add("databaseConnectionDetails");
+ return this;
+ }
+ /** The Oracle license model that applies to the external database. */
+ @com.fasterxml.jackson.annotation.JsonProperty("licenseModel")
+ private LicenseModel licenseModel;
+
+ /**
+ * The Oracle license model that applies to the external database.
+ *
+ * @param licenseModel the value to set
+ * @return this builder
+ */
+ public Builder licenseModel(LicenseModel licenseModel) {
+ this.licenseModel = licenseModel;
+ this.__explicitlySet__.add("licenseModel");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public DatabaseLifecycleFeatureConfiguration build() {
+ DatabaseLifecycleFeatureConfiguration model =
+ new DatabaseLifecycleFeatureConfiguration(
+ this.featureStatus,
+ this.connectorDetails,
+ this.databaseConnectionDetails,
+ this.licenseModel);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(DatabaseLifecycleFeatureConfiguration model) {
+ if (model.wasPropertyExplicitlySet("featureStatus")) {
+ this.featureStatus(model.getFeatureStatus());
+ }
+ if (model.wasPropertyExplicitlySet("connectorDetails")) {
+ this.connectorDetails(model.getConnectorDetails());
+ }
+ if (model.wasPropertyExplicitlySet("databaseConnectionDetails")) {
+ this.databaseConnectionDetails(model.getDatabaseConnectionDetails());
+ }
+ if (model.wasPropertyExplicitlySet("licenseModel")) {
+ this.licenseModel(model.getLicenseModel());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public DatabaseLifecycleFeatureConfiguration(
+ FeatureStatus featureStatus,
+ ConnectorDetails connectorDetails,
+ DatabaseConnectionDetails databaseConnectionDetails,
+ LicenseModel licenseModel) {
+ super(featureStatus, connectorDetails, databaseConnectionDetails);
+ this.licenseModel = licenseModel;
+ }
+
+ /** The Oracle license model that applies to the external database. */
+ public enum LicenseModel implements com.oracle.bmc.http.internal.BmcEnum {
+ LicenseIncluded("LICENSE_INCLUDED"),
+ BringYourOwnLicense("BRING_YOUR_OWN_LICENSE"),
+
+ /**
+ * This value is used if a service returns a value for this enum that is not recognized by
+ * this version of the SDK.
+ */
+ UnknownEnumValue(null);
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(LicenseModel.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (LicenseModel v : LicenseModel.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ LicenseModel(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static LicenseModel create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'LicenseModel', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
+ }
+ };
+ /** The Oracle license model that applies to the external database. */
+ @com.fasterxml.jackson.annotation.JsonProperty("licenseModel")
+ private final LicenseModel licenseModel;
+
+ /**
+ * The Oracle license model that applies to the external database.
+ *
+ * @return the value
+ */
+ public LicenseModel getLicenseModel() {
+ return licenseModel;
+ }
+
+ @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("DatabaseLifecycleFeatureConfiguration(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(", licenseModel=").append(String.valueOf(this.licenseModel));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof DatabaseLifecycleFeatureConfiguration)) {
+ return false;
+ }
+
+ DatabaseLifecycleFeatureConfiguration other = (DatabaseLifecycleFeatureConfiguration) o;
+ return java.util.Objects.equals(this.licenseModel, other.licenseModel)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result = (result * PRIME) + (this.licenseModel == null ? 43 : this.licenseModel.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabaseLifecycleManagementFeatureDetails.java b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabaseLifecycleManagementFeatureDetails.java
new file mode 100644
index 00000000000..f08293a1e93
--- /dev/null
+++ b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabaseLifecycleManagementFeatureDetails.java
@@ -0,0 +1,129 @@
+/**
+ * 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.databasemanagement.model;
+
+/**
+ * The details required to enable the Database Lifecycle Management feature.
+ * 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: 20201101")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = DatabaseLifecycleManagementFeatureDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "feature")
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class DatabaseLifecycleManagementFeatureDetails extends DatabaseFeatureDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("databaseConnectionDetails")
+ private DatabaseConnectionDetails databaseConnectionDetails;
+
+ public Builder databaseConnectionDetails(
+ DatabaseConnectionDetails databaseConnectionDetails) {
+ this.databaseConnectionDetails = databaseConnectionDetails;
+ this.__explicitlySet__.add("databaseConnectionDetails");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("connectorDetails")
+ private ConnectorDetails connectorDetails;
+
+ public Builder connectorDetails(ConnectorDetails connectorDetails) {
+ this.connectorDetails = connectorDetails;
+ this.__explicitlySet__.add("connectorDetails");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public DatabaseLifecycleManagementFeatureDetails build() {
+ DatabaseLifecycleManagementFeatureDetails model =
+ new DatabaseLifecycleManagementFeatureDetails(
+ this.databaseConnectionDetails, this.connectorDetails);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(DatabaseLifecycleManagementFeatureDetails model) {
+ if (model.wasPropertyExplicitlySet("databaseConnectionDetails")) {
+ this.databaseConnectionDetails(model.getDatabaseConnectionDetails());
+ }
+ if (model.wasPropertyExplicitlySet("connectorDetails")) {
+ this.connectorDetails(model.getConnectorDetails());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public DatabaseLifecycleManagementFeatureDetails(
+ DatabaseConnectionDetails databaseConnectionDetails,
+ ConnectorDetails connectorDetails) {
+ super(databaseConnectionDetails, connectorDetails);
+ }
+
+ @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("DatabaseLifecycleManagementFeatureDetails(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof DatabaseLifecycleManagementFeatureDetails)) {
+ return false;
+ }
+
+ DatabaseLifecycleManagementFeatureDetails other =
+ (DatabaseLifecycleManagementFeatureDetails) o;
+ return super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabaseNamedCredentialConnectionDetails.java b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabaseNamedCredentialConnectionDetails.java
new file mode 100644
index 00000000000..754ce58b86b
--- /dev/null
+++ b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabaseNamedCredentialConnectionDetails.java
@@ -0,0 +1,148 @@
+/**
+ * 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.databasemanagement.model;
+
+/**
+ * User provides a named credential OCID, which will be used to retrieve the password to connect to
+ * the database.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model
+ * distinguishes fields that are {@code null} because they are unset from fields that are explicitly
+ * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a
+ * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link
+ * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set
+ * fields into account. The constructor, on the other hand, does not take the explicitly set fields
+ * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code
+ * null}).
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20201101")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = DatabaseNamedCredentialConnectionDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "credentialType")
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class DatabaseNamedCredentialConnectionDetails extends DatabaseConnectionCredentials {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the
+ * Named Credential where the database password metadata is stored.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("namedCredentialId")
+ private String namedCredentialId;
+
+ /**
+ * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the
+ * Named Credential where the database password metadata is stored.
+ *
+ * @param namedCredentialId the value to set
+ * @return this builder
+ */
+ public Builder namedCredentialId(String namedCredentialId) {
+ this.namedCredentialId = namedCredentialId;
+ this.__explicitlySet__.add("namedCredentialId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public DatabaseNamedCredentialConnectionDetails build() {
+ DatabaseNamedCredentialConnectionDetails model =
+ new DatabaseNamedCredentialConnectionDetails(this.namedCredentialId);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(DatabaseNamedCredentialConnectionDetails model) {
+ if (model.wasPropertyExplicitlySet("namedCredentialId")) {
+ this.namedCredentialId(model.getNamedCredentialId());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public DatabaseNamedCredentialConnectionDetails(String namedCredentialId) {
+ super();
+ this.namedCredentialId = namedCredentialId;
+ }
+
+ /**
+ * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the
+ * Named Credential where the database password metadata is stored.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("namedCredentialId")
+ private final String namedCredentialId;
+
+ /**
+ * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the
+ * Named Credential where the database password metadata is stored.
+ *
+ * @return the value
+ */
+ public String getNamedCredentialId() {
+ return namedCredentialId;
+ }
+
+ @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("DatabaseNamedCredentialConnectionDetails(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(", namedCredentialId=").append(String.valueOf(this.namedCredentialId));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof DatabaseNamedCredentialConnectionDetails)) {
+ return false;
+ }
+
+ DatabaseNamedCredentialConnectionDetails other =
+ (DatabaseNamedCredentialConnectionDetails) o;
+ return java.util.Objects.equals(this.namedCredentialId, other.namedCredentialId)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.namedCredentialId == null ? 43 : this.namedCredentialId.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabaseSqlWatchFeatureConfiguration.java b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabaseSqlWatchFeatureConfiguration.java
new file mode 100644
index 00000000000..fafc503f642
--- /dev/null
+++ b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabaseSqlWatchFeatureConfiguration.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.databasemanagement.model;
+
+/**
+ * The details required to enable the SQL Watch feature.
+ * 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: 20201101")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = DatabaseSqlWatchFeatureConfiguration.Builder.class)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "feature")
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class DatabaseSqlWatchFeatureConfiguration extends DatabaseFeatureConfiguration {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("featureStatus")
+ private FeatureStatus featureStatus;
+
+ public Builder featureStatus(FeatureStatus featureStatus) {
+ this.featureStatus = featureStatus;
+ this.__explicitlySet__.add("featureStatus");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("connectorDetails")
+ private ConnectorDetails connectorDetails;
+
+ public Builder connectorDetails(ConnectorDetails connectorDetails) {
+ this.connectorDetails = connectorDetails;
+ this.__explicitlySet__.add("connectorDetails");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("databaseConnectionDetails")
+ private DatabaseConnectionDetails databaseConnectionDetails;
+
+ public Builder databaseConnectionDetails(
+ DatabaseConnectionDetails databaseConnectionDetails) {
+ this.databaseConnectionDetails = databaseConnectionDetails;
+ this.__explicitlySet__.add("databaseConnectionDetails");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public DatabaseSqlWatchFeatureConfiguration build() {
+ DatabaseSqlWatchFeatureConfiguration model =
+ new DatabaseSqlWatchFeatureConfiguration(
+ this.featureStatus,
+ this.connectorDetails,
+ this.databaseConnectionDetails);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(DatabaseSqlWatchFeatureConfiguration model) {
+ if (model.wasPropertyExplicitlySet("featureStatus")) {
+ this.featureStatus(model.getFeatureStatus());
+ }
+ if (model.wasPropertyExplicitlySet("connectorDetails")) {
+ this.connectorDetails(model.getConnectorDetails());
+ }
+ if (model.wasPropertyExplicitlySet("databaseConnectionDetails")) {
+ this.databaseConnectionDetails(model.getDatabaseConnectionDetails());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public DatabaseSqlWatchFeatureConfiguration(
+ FeatureStatus featureStatus,
+ ConnectorDetails connectorDetails,
+ DatabaseConnectionDetails databaseConnectionDetails) {
+ super(featureStatus, connectorDetails, databaseConnectionDetails);
+ }
+
+ @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("DatabaseSqlWatchFeatureConfiguration(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof DatabaseSqlWatchFeatureConfiguration)) {
+ return false;
+ }
+
+ DatabaseSqlWatchFeatureConfiguration other = (DatabaseSqlWatchFeatureConfiguration) o;
+ return super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabaseSqlWatchFeatureDetails.java b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabaseSqlWatchFeatureDetails.java
new file mode 100644
index 00000000000..ada4cd82059
--- /dev/null
+++ b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabaseSqlWatchFeatureDetails.java
@@ -0,0 +1,128 @@
+/**
+ * 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.databasemanagement.model;
+
+/**
+ * The details required to enable the SQL Watch feature.
+ * 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: 20201101")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = DatabaseSqlWatchFeatureDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "feature")
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class DatabaseSqlWatchFeatureDetails extends DatabaseFeatureDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("databaseConnectionDetails")
+ private DatabaseConnectionDetails databaseConnectionDetails;
+
+ public Builder databaseConnectionDetails(
+ DatabaseConnectionDetails databaseConnectionDetails) {
+ this.databaseConnectionDetails = databaseConnectionDetails;
+ this.__explicitlySet__.add("databaseConnectionDetails");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("connectorDetails")
+ private ConnectorDetails connectorDetails;
+
+ public Builder connectorDetails(ConnectorDetails connectorDetails) {
+ this.connectorDetails = connectorDetails;
+ this.__explicitlySet__.add("connectorDetails");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public DatabaseSqlWatchFeatureDetails build() {
+ DatabaseSqlWatchFeatureDetails model =
+ new DatabaseSqlWatchFeatureDetails(
+ this.databaseConnectionDetails, this.connectorDetails);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(DatabaseSqlWatchFeatureDetails model) {
+ if (model.wasPropertyExplicitlySet("databaseConnectionDetails")) {
+ this.databaseConnectionDetails(model.getDatabaseConnectionDetails());
+ }
+ if (model.wasPropertyExplicitlySet("connectorDetails")) {
+ this.connectorDetails(model.getConnectorDetails());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public DatabaseSqlWatchFeatureDetails(
+ DatabaseConnectionDetails databaseConnectionDetails,
+ ConnectorDetails connectorDetails) {
+ super(databaseConnectionDetails, connectorDetails);
+ }
+
+ @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("DatabaseSqlWatchFeatureDetails(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof DatabaseSqlWatchFeatureDetails)) {
+ return false;
+ }
+
+ DatabaseSqlWatchFeatureDetails other = (DatabaseSqlWatchFeatureDetails) o;
+ return super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DbManagementFeature.java b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DbManagementFeature.java
index 9f6c6d5742b..0d6e036ee4a 100644
--- a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DbManagementFeature.java
+++ b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DbManagementFeature.java
@@ -12,7 +12,17 @@
@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20201101")
public enum DbManagementFeature implements com.oracle.bmc.http.internal.BmcEnum {
DiagnosticsAndManagement("DIAGNOSTICS_AND_MANAGEMENT"),
- ;
+ DbLifecycleManagement("DB_LIFECYCLE_MANAGEMENT"),
+ Sqlwatch("SQLWATCH"),
+
+ /**
+ * 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(DbManagementFeature.class);
private final String value;
private static java.util.Map map;
@@ -20,7 +30,9 @@ public enum DbManagementFeature implements com.oracle.bmc.http.internal.BmcEnum
static {
map = new java.util.HashMap<>();
for (DbManagementFeature v : DbManagementFeature.values()) {
- map.put(v.getValue(), v);
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
}
}
@@ -38,6 +50,9 @@ public static DbManagementFeature create(String key) {
if (map.containsKey(key)) {
return map.get(key);
}
- throw new IllegalArgumentException("Invalid DbManagementFeature: " + key);
+ LOG.warn(
+ "Received unknown value '{}' for enum 'DbManagementFeature', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
}
}
diff --git a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/ExternalDatabaseFeatureDetails.java b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/ExternalDatabaseFeatureDetails.java
index a1c23ba74c5..80e67e3eeb6 100644
--- a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/ExternalDatabaseFeatureDetails.java
+++ b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/ExternalDatabaseFeatureDetails.java
@@ -22,6 +22,12 @@
property = "feature",
defaultImpl = ExternalDatabaseFeatureDetails.class)
@com.fasterxml.jackson.annotation.JsonSubTypes({
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = ExternalDatabaseLifecycleManagementFeatureDetails.class,
+ name = "DB_LIFECYCLE_MANAGEMENT"),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = ExternalDatabaseSqlWatchFeatureDetails.class,
+ name = "SQLWATCH"),
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = ExternalDatabaseDiagnosticsAndManagementFeatureDetails.class,
name = "DIAGNOSTICS_AND_MANAGEMENT")
diff --git a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/ExternalDatabaseLifecycleManagementFeatureDetails.java b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/ExternalDatabaseLifecycleManagementFeatureDetails.java
new file mode 100644
index 00000000000..7dc200a749a
--- /dev/null
+++ b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/ExternalDatabaseLifecycleManagementFeatureDetails.java
@@ -0,0 +1,184 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.databasemanagement.model;
+
+/**
+ * The details required to enable the Database Lifecycle Management feature.
+ * 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: 20201101")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = ExternalDatabaseLifecycleManagementFeatureDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "feature")
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class ExternalDatabaseLifecycleManagementFeatureDetails
+ extends ExternalDatabaseFeatureDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("connectorDetails")
+ private ConnectorDetails connectorDetails;
+
+ public Builder connectorDetails(ConnectorDetails connectorDetails) {
+ this.connectorDetails = connectorDetails;
+ this.__explicitlySet__.add("connectorDetails");
+ return this;
+ }
+ /** The Oracle license model that applies to the external database. */
+ @com.fasterxml.jackson.annotation.JsonProperty("licenseModel")
+ private LicenseModel licenseModel;
+
+ /**
+ * The Oracle license model that applies to the external database.
+ *
+ * @param licenseModel the value to set
+ * @return this builder
+ */
+ public Builder licenseModel(LicenseModel licenseModel) {
+ this.licenseModel = licenseModel;
+ this.__explicitlySet__.add("licenseModel");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public ExternalDatabaseLifecycleManagementFeatureDetails build() {
+ ExternalDatabaseLifecycleManagementFeatureDetails model =
+ new ExternalDatabaseLifecycleManagementFeatureDetails(
+ this.connectorDetails, this.licenseModel);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(ExternalDatabaseLifecycleManagementFeatureDetails model) {
+ if (model.wasPropertyExplicitlySet("connectorDetails")) {
+ this.connectorDetails(model.getConnectorDetails());
+ }
+ if (model.wasPropertyExplicitlySet("licenseModel")) {
+ this.licenseModel(model.getLicenseModel());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public ExternalDatabaseLifecycleManagementFeatureDetails(
+ ConnectorDetails connectorDetails, LicenseModel licenseModel) {
+ super(connectorDetails);
+ this.licenseModel = licenseModel;
+ }
+
+ /** The Oracle license model that applies to the external database. */
+ public enum LicenseModel implements com.oracle.bmc.http.internal.BmcEnum {
+ LicenseIncluded("LICENSE_INCLUDED"),
+ BringYourOwnLicense("BRING_YOUR_OWN_LICENSE"),
+ ;
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (LicenseModel v : LicenseModel.values()) {
+ map.put(v.getValue(), v);
+ }
+ }
+
+ LicenseModel(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static LicenseModel create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ throw new IllegalArgumentException("Invalid LicenseModel: " + key);
+ }
+ };
+ /** The Oracle license model that applies to the external database. */
+ @com.fasterxml.jackson.annotation.JsonProperty("licenseModel")
+ private final LicenseModel licenseModel;
+
+ /**
+ * The Oracle license model that applies to the external database.
+ *
+ * @return the value
+ */
+ public LicenseModel getLicenseModel() {
+ return licenseModel;
+ }
+
+ @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("ExternalDatabaseLifecycleManagementFeatureDetails(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(", licenseModel=").append(String.valueOf(this.licenseModel));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof ExternalDatabaseLifecycleManagementFeatureDetails)) {
+ return false;
+ }
+
+ ExternalDatabaseLifecycleManagementFeatureDetails other =
+ (ExternalDatabaseLifecycleManagementFeatureDetails) o;
+ return java.util.Objects.equals(this.licenseModel, other.licenseModel)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result = (result * PRIME) + (this.licenseModel == null ? 43 : this.licenseModel.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/ExternalDatabaseSqlWatchFeatureDetails.java b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/ExternalDatabaseSqlWatchFeatureDetails.java
new file mode 100644
index 00000000000..ed271f9fcf0
--- /dev/null
+++ b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/ExternalDatabaseSqlWatchFeatureDetails.java
@@ -0,0 +1,112 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.databasemanagement.model;
+
+/**
+ * The details required to enable the SQL Watch feature.
+ * 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: 20201101")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = ExternalDatabaseSqlWatchFeatureDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "feature")
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class ExternalDatabaseSqlWatchFeatureDetails extends ExternalDatabaseFeatureDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("connectorDetails")
+ private ConnectorDetails connectorDetails;
+
+ public Builder connectorDetails(ConnectorDetails connectorDetails) {
+ this.connectorDetails = connectorDetails;
+ this.__explicitlySet__.add("connectorDetails");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public ExternalDatabaseSqlWatchFeatureDetails build() {
+ ExternalDatabaseSqlWatchFeatureDetails model =
+ new ExternalDatabaseSqlWatchFeatureDetails(this.connectorDetails);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(ExternalDatabaseSqlWatchFeatureDetails model) {
+ if (model.wasPropertyExplicitlySet("connectorDetails")) {
+ this.connectorDetails(model.getConnectorDetails());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public ExternalDatabaseSqlWatchFeatureDetails(ConnectorDetails connectorDetails) {
+ super(connectorDetails);
+ }
+
+ @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("ExternalDatabaseSqlWatchFeatureDetails(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof ExternalDatabaseSqlWatchFeatureDetails)) {
+ return false;
+ }
+
+ ExternalDatabaseSqlWatchFeatureDetails other = (ExternalDatabaseSqlWatchFeatureDetails) o;
+ return super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/ExternalDatabaseSummary.java b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/ExternalDatabaseSummary.java
index 9d2820925b7..f485e4b2326 100644
--- a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/ExternalDatabaseSummary.java
+++ b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/ExternalDatabaseSummary.java
@@ -39,7 +39,10 @@ public final class ExternalDatabaseSummary
"timeCreated",
"freeformTags",
"definedTags",
- "systemTags"
+ "systemTags",
+ "dbmgmtFeatureConfigs",
+ "databaseVersion",
+ "databasePlatformName"
})
public ExternalDatabaseSummary(
String id,
@@ -57,7 +60,10 @@ public ExternalDatabaseSummary(
java.util.Date timeCreated,
java.util.Map freeformTags,
java.util.Map> definedTags,
- java.util.Map> systemTags) {
+ java.util.Map> systemTags,
+ java.util.List dbmgmtFeatureConfigs,
+ String databaseVersion,
+ String databasePlatformName) {
super();
this.id = id;
this.displayName = displayName;
@@ -75,6 +81,9 @@ public ExternalDatabaseSummary(
this.freeformTags = freeformTags;
this.definedTags = definedTags;
this.systemTags = systemTags;
+ this.dbmgmtFeatureConfigs = dbmgmtFeatureConfigs;
+ this.databaseVersion = databaseVersion;
+ this.databasePlatformName = databasePlatformName;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -356,6 +365,52 @@ public Builder systemTags(java.util.Map> s
this.__explicitlySet__.add("systemTags");
return this;
}
+ /** The list of feature configurations */
+ @com.fasterxml.jackson.annotation.JsonProperty("dbmgmtFeatureConfigs")
+ private java.util.List dbmgmtFeatureConfigs;
+
+ /**
+ * The list of feature configurations
+ *
+ * @param dbmgmtFeatureConfigs the value to set
+ * @return this builder
+ */
+ public Builder dbmgmtFeatureConfigs(
+ java.util.List dbmgmtFeatureConfigs) {
+ this.dbmgmtFeatureConfigs = dbmgmtFeatureConfigs;
+ this.__explicitlySet__.add("dbmgmtFeatureConfigs");
+ return this;
+ }
+ /** The Oracle database version. */
+ @com.fasterxml.jackson.annotation.JsonProperty("databaseVersion")
+ private String databaseVersion;
+
+ /**
+ * The Oracle database version.
+ *
+ * @param databaseVersion the value to set
+ * @return this builder
+ */
+ public Builder databaseVersion(String databaseVersion) {
+ this.databaseVersion = databaseVersion;
+ this.__explicitlySet__.add("databaseVersion");
+ return this;
+ }
+ /** The operating system of database. */
+ @com.fasterxml.jackson.annotation.JsonProperty("databasePlatformName")
+ private String databasePlatformName;
+
+ /**
+ * The operating system of database.
+ *
+ * @param databasePlatformName the value to set
+ * @return this builder
+ */
+ public Builder databasePlatformName(String databasePlatformName) {
+ this.databasePlatformName = databasePlatformName;
+ this.__explicitlySet__.add("databasePlatformName");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -378,7 +433,10 @@ public ExternalDatabaseSummary build() {
this.timeCreated,
this.freeformTags,
this.definedTags,
- this.systemTags);
+ this.systemTags,
+ this.dbmgmtFeatureConfigs,
+ this.databaseVersion,
+ this.databasePlatformName);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -435,6 +493,15 @@ public Builder copy(ExternalDatabaseSummary model) {
if (model.wasPropertyExplicitlySet("systemTags")) {
this.systemTags(model.getSystemTags());
}
+ if (model.wasPropertyExplicitlySet("dbmgmtFeatureConfigs")) {
+ this.dbmgmtFeatureConfigs(model.getDbmgmtFeatureConfigs());
+ }
+ if (model.wasPropertyExplicitlySet("databaseVersion")) {
+ this.databaseVersion(model.getDatabaseVersion());
+ }
+ if (model.wasPropertyExplicitlySet("databasePlatformName")) {
+ this.databasePlatformName(model.getDatabasePlatformName());
+ }
return this;
}
}
@@ -743,6 +810,45 @@ public java.util.Map> getSystemTags() {
return systemTags;
}
+ /** The list of feature configurations */
+ @com.fasterxml.jackson.annotation.JsonProperty("dbmgmtFeatureConfigs")
+ private final java.util.List dbmgmtFeatureConfigs;
+
+ /**
+ * The list of feature configurations
+ *
+ * @return the value
+ */
+ public java.util.List getDbmgmtFeatureConfigs() {
+ return dbmgmtFeatureConfigs;
+ }
+
+ /** The Oracle database version. */
+ @com.fasterxml.jackson.annotation.JsonProperty("databaseVersion")
+ private final String databaseVersion;
+
+ /**
+ * The Oracle database version.
+ *
+ * @return the value
+ */
+ public String getDatabaseVersion() {
+ return databaseVersion;
+ }
+
+ /** The operating system of database. */
+ @com.fasterxml.jackson.annotation.JsonProperty("databasePlatformName")
+ private final String databasePlatformName;
+
+ /**
+ * The operating system of database.
+ *
+ * @return the value
+ */
+ public String getDatabasePlatformName() {
+ return databasePlatformName;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -775,6 +881,9 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", freeformTags=").append(String.valueOf(this.freeformTags));
sb.append(", definedTags=").append(String.valueOf(this.definedTags));
sb.append(", systemTags=").append(String.valueOf(this.systemTags));
+ sb.append(", dbmgmtFeatureConfigs=").append(String.valueOf(this.dbmgmtFeatureConfigs));
+ sb.append(", databaseVersion=").append(String.valueOf(this.databaseVersion));
+ sb.append(", databasePlatformName=").append(String.valueOf(this.databasePlatformName));
sb.append(")");
return sb.toString();
}
@@ -806,6 +915,9 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.freeformTags, other.freeformTags)
&& java.util.Objects.equals(this.definedTags, other.definedTags)
&& java.util.Objects.equals(this.systemTags, other.systemTags)
+ && java.util.Objects.equals(this.dbmgmtFeatureConfigs, other.dbmgmtFeatureConfigs)
+ && java.util.Objects.equals(this.databaseVersion, other.databaseVersion)
+ && java.util.Objects.equals(this.databasePlatformName, other.databasePlatformName)
&& super.equals(other);
}
@@ -847,6 +959,19 @@ public int hashCode() {
result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode());
result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode());
result = (result * PRIME) + (this.systemTags == null ? 43 : this.systemTags.hashCode());
+ result =
+ (result * PRIME)
+ + (this.dbmgmtFeatureConfigs == null
+ ? 43
+ : this.dbmgmtFeatureConfigs.hashCode());
+ result =
+ (result * PRIME)
+ + (this.databaseVersion == null ? 43 : this.databaseVersion.hashCode());
+ result =
+ (result * PRIME)
+ + (this.databasePlatformName == null
+ ? 43
+ : this.databasePlatformName.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/ExternalPluggableDatabaseFeatureDetails.java b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/ExternalPluggableDatabaseFeatureDetails.java
index 47a5f09e687..db7b7ff1478 100644
--- a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/ExternalPluggableDatabaseFeatureDetails.java
+++ b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/ExternalPluggableDatabaseFeatureDetails.java
@@ -24,7 +24,13 @@
@com.fasterxml.jackson.annotation.JsonSubTypes({
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = ExternalPluggableDatabaseDiagnosticsAndManagementFeatureDetails.class,
- name = "DIAGNOSTICS_AND_MANAGEMENT")
+ name = "DIAGNOSTICS_AND_MANAGEMENT"),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = ExternalPluggableDatabaseLifecycleManagementFeatureDetails.class,
+ name = "DB_LIFECYCLE_MANAGEMENT"),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = ExternalPluggableDatabaseSqlWatchFeatureDetails.class,
+ name = "SQLWATCH")
})
@com.fasterxml.jackson.annotation.JsonFilter(
com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
diff --git a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/ExternalPluggableDatabaseLifecycleManagementFeatureDetails.java b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/ExternalPluggableDatabaseLifecycleManagementFeatureDetails.java
new file mode 100644
index 00000000000..45e058292a5
--- /dev/null
+++ b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/ExternalPluggableDatabaseLifecycleManagementFeatureDetails.java
@@ -0,0 +1,116 @@
+/**
+ * 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.databasemanagement.model;
+
+/**
+ * The details required to enable the Database Lifecycle Management feature.
+ * 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: 20201101")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = ExternalPluggableDatabaseLifecycleManagementFeatureDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "feature")
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class ExternalPluggableDatabaseLifecycleManagementFeatureDetails
+ extends ExternalPluggableDatabaseFeatureDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("connectorDetails")
+ private ConnectorDetails connectorDetails;
+
+ public Builder connectorDetails(ConnectorDetails connectorDetails) {
+ this.connectorDetails = connectorDetails;
+ this.__explicitlySet__.add("connectorDetails");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public ExternalPluggableDatabaseLifecycleManagementFeatureDetails build() {
+ ExternalPluggableDatabaseLifecycleManagementFeatureDetails model =
+ new ExternalPluggableDatabaseLifecycleManagementFeatureDetails(
+ this.connectorDetails);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(ExternalPluggableDatabaseLifecycleManagementFeatureDetails model) {
+ if (model.wasPropertyExplicitlySet("connectorDetails")) {
+ this.connectorDetails(model.getConnectorDetails());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public ExternalPluggableDatabaseLifecycleManagementFeatureDetails(
+ ConnectorDetails connectorDetails) {
+ super(connectorDetails);
+ }
+
+ @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("ExternalPluggableDatabaseLifecycleManagementFeatureDetails(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof ExternalPluggableDatabaseLifecycleManagementFeatureDetails)) {
+ return false;
+ }
+
+ ExternalPluggableDatabaseLifecycleManagementFeatureDetails other =
+ (ExternalPluggableDatabaseLifecycleManagementFeatureDetails) o;
+ return super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/ExternalPluggableDatabaseSqlWatchFeatureDetails.java b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/ExternalPluggableDatabaseSqlWatchFeatureDetails.java
new file mode 100644
index 00000000000..0c7d9f140a5
--- /dev/null
+++ b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/ExternalPluggableDatabaseSqlWatchFeatureDetails.java
@@ -0,0 +1,114 @@
+/**
+ * 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.databasemanagement.model;
+
+/**
+ * The details required to enable the SQL watch feature.
+ * 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: 20201101")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = ExternalPluggableDatabaseSqlWatchFeatureDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "feature")
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class ExternalPluggableDatabaseSqlWatchFeatureDetails
+ extends ExternalPluggableDatabaseFeatureDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("connectorDetails")
+ private ConnectorDetails connectorDetails;
+
+ public Builder connectorDetails(ConnectorDetails connectorDetails) {
+ this.connectorDetails = connectorDetails;
+ this.__explicitlySet__.add("connectorDetails");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public ExternalPluggableDatabaseSqlWatchFeatureDetails build() {
+ ExternalPluggableDatabaseSqlWatchFeatureDetails model =
+ new ExternalPluggableDatabaseSqlWatchFeatureDetails(this.connectorDetails);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(ExternalPluggableDatabaseSqlWatchFeatureDetails model) {
+ if (model.wasPropertyExplicitlySet("connectorDetails")) {
+ this.connectorDetails(model.getConnectorDetails());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public ExternalPluggableDatabaseSqlWatchFeatureDetails(ConnectorDetails connectorDetails) {
+ super(connectorDetails);
+ }
+
+ @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("ExternalPluggableDatabaseSqlWatchFeatureDetails(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof ExternalPluggableDatabaseSqlWatchFeatureDetails)) {
+ return false;
+ }
+
+ ExternalPluggableDatabaseSqlWatchFeatureDetails other =
+ (ExternalPluggableDatabaseSqlWatchFeatureDetails) o;
+ return super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/ManagedDatabase.java b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/ManagedDatabase.java
index b9203912a65..d8832cee290 100644
--- a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/ManagedDatabase.java
+++ b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/ManagedDatabase.java
@@ -48,7 +48,9 @@ public final class ManagedDatabase
"additionalDetails",
"freeformTags",
"definedTags",
- "systemTags"
+ "systemTags",
+ "dbmgmtFeatureConfigs",
+ "databasePlatformName"
})
public ManagedDatabase(
String id,
@@ -76,7 +78,9 @@ public ManagedDatabase(
java.util.Map additionalDetails,
java.util.Map freeformTags,
java.util.Map> definedTags,
- java.util.Map> systemTags) {
+ java.util.Map> systemTags,
+ java.util.List dbmgmtFeatureConfigs,
+ String databasePlatformName) {
super();
this.id = id;
this.compartmentId = compartmentId;
@@ -104,6 +108,8 @@ public ManagedDatabase(
this.freeformTags = freeformTags;
this.definedTags = definedTags;
this.systemTags = systemTags;
+ this.dbmgmtFeatureConfigs = dbmgmtFeatureConfigs;
+ this.databasePlatformName = databasePlatformName;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -567,6 +573,37 @@ public Builder systemTags(java.util.Map> s
this.__explicitlySet__.add("systemTags");
return this;
}
+ /** The list of feature configurations */
+ @com.fasterxml.jackson.annotation.JsonProperty("dbmgmtFeatureConfigs")
+ private java.util.List dbmgmtFeatureConfigs;
+
+ /**
+ * The list of feature configurations
+ *
+ * @param dbmgmtFeatureConfigs the value to set
+ * @return this builder
+ */
+ public Builder dbmgmtFeatureConfigs(
+ java.util.List dbmgmtFeatureConfigs) {
+ this.dbmgmtFeatureConfigs = dbmgmtFeatureConfigs;
+ this.__explicitlySet__.add("dbmgmtFeatureConfigs");
+ return this;
+ }
+ /** The operating system of database. */
+ @com.fasterxml.jackson.annotation.JsonProperty("databasePlatformName")
+ private String databasePlatformName;
+
+ /**
+ * The operating system of database.
+ *
+ * @param databasePlatformName the value to set
+ * @return this builder
+ */
+ public Builder databasePlatformName(String databasePlatformName) {
+ this.databasePlatformName = databasePlatformName;
+ this.__explicitlySet__.add("databasePlatformName");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -599,7 +636,9 @@ public ManagedDatabase build() {
this.additionalDetails,
this.freeformTags,
this.definedTags,
- this.systemTags);
+ this.systemTags,
+ this.dbmgmtFeatureConfigs,
+ this.databasePlatformName);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -686,6 +725,12 @@ public Builder copy(ManagedDatabase model) {
if (model.wasPropertyExplicitlySet("systemTags")) {
this.systemTags(model.getSystemTags());
}
+ if (model.wasPropertyExplicitlySet("dbmgmtFeatureConfigs")) {
+ this.dbmgmtFeatureConfigs(model.getDbmgmtFeatureConfigs());
+ }
+ if (model.wasPropertyExplicitlySet("databasePlatformName")) {
+ this.databasePlatformName(model.getDatabasePlatformName());
+ }
return this;
}
}
@@ -1105,6 +1150,32 @@ public java.util.Map> getSystemTags() {
return systemTags;
}
+ /** The list of feature configurations */
+ @com.fasterxml.jackson.annotation.JsonProperty("dbmgmtFeatureConfigs")
+ private final java.util.List dbmgmtFeatureConfigs;
+
+ /**
+ * The list of feature configurations
+ *
+ * @return the value
+ */
+ public java.util.List getDbmgmtFeatureConfigs() {
+ return dbmgmtFeatureConfigs;
+ }
+
+ /** The operating system of database. */
+ @com.fasterxml.jackson.annotation.JsonProperty("databasePlatformName")
+ private final String databasePlatformName;
+
+ /**
+ * The operating system of database.
+ *
+ * @return the value
+ */
+ public String getDatabasePlatformName() {
+ return databasePlatformName;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -1147,6 +1218,8 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", freeformTags=").append(String.valueOf(this.freeformTags));
sb.append(", definedTags=").append(String.valueOf(this.definedTags));
sb.append(", systemTags=").append(String.valueOf(this.systemTags));
+ sb.append(", dbmgmtFeatureConfigs=").append(String.valueOf(this.dbmgmtFeatureConfigs));
+ sb.append(", databasePlatformName=").append(String.valueOf(this.databasePlatformName));
sb.append(")");
return sb.toString();
}
@@ -1188,6 +1261,8 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.freeformTags, other.freeformTags)
&& java.util.Objects.equals(this.definedTags, other.definedTags)
&& java.util.Objects.equals(this.systemTags, other.systemTags)
+ && java.util.Objects.equals(this.dbmgmtFeatureConfigs, other.dbmgmtFeatureConfigs)
+ && java.util.Objects.equals(this.databasePlatformName, other.databasePlatformName)
&& super.equals(other);
}
@@ -1255,6 +1330,16 @@ public int hashCode() {
result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode());
result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode());
result = (result * PRIME) + (this.systemTags == null ? 43 : this.systemTags.hashCode());
+ result =
+ (result * PRIME)
+ + (this.dbmgmtFeatureConfigs == null
+ ? 43
+ : this.dbmgmtFeatureConfigs.hashCode());
+ result =
+ (result * PRIME)
+ + (this.databasePlatformName == null
+ ? 43
+ : this.databasePlatformName.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/ManagedDatabaseSummary.java b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/ManagedDatabaseSummary.java
index eb113af1c4c..3914f90837a 100644
--- a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/ManagedDatabaseSummary.java
+++ b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/ManagedDatabaseSummary.java
@@ -40,7 +40,9 @@ public final class ManagedDatabaseSummary
"databaseVersion",
"freeformTags",
"definedTags",
- "systemTags"
+ "systemTags",
+ "dbmgmtFeatureConfigs",
+ "databasePlatformName"
})
public ManagedDatabaseSummary(
String id,
@@ -59,7 +61,9 @@ public ManagedDatabaseSummary(
String databaseVersion,
java.util.Map freeformTags,
java.util.Map> definedTags,
- java.util.Map> systemTags) {
+ java.util.Map> systemTags,
+ java.util.List dbmgmtFeatureConfigs,
+ String databasePlatformName) {
super();
this.id = id;
this.compartmentId = compartmentId;
@@ -78,6 +82,8 @@ public ManagedDatabaseSummary(
this.freeformTags = freeformTags;
this.definedTags = definedTags;
this.systemTags = systemTags;
+ this.dbmgmtFeatureConfigs = dbmgmtFeatureConfigs;
+ this.databasePlatformName = databasePlatformName;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -392,6 +398,37 @@ public Builder systemTags(java.util.Map> s
this.__explicitlySet__.add("systemTags");
return this;
}
+ /** The list of feature configurations */
+ @com.fasterxml.jackson.annotation.JsonProperty("dbmgmtFeatureConfigs")
+ private java.util.List dbmgmtFeatureConfigs;
+
+ /**
+ * The list of feature configurations
+ *
+ * @param dbmgmtFeatureConfigs the value to set
+ * @return this builder
+ */
+ public Builder dbmgmtFeatureConfigs(
+ java.util.List dbmgmtFeatureConfigs) {
+ this.dbmgmtFeatureConfigs = dbmgmtFeatureConfigs;
+ this.__explicitlySet__.add("dbmgmtFeatureConfigs");
+ return this;
+ }
+ /** The operating system of database. */
+ @com.fasterxml.jackson.annotation.JsonProperty("databasePlatformName")
+ private String databasePlatformName;
+
+ /**
+ * The operating system of database.
+ *
+ * @param databasePlatformName the value to set
+ * @return this builder
+ */
+ public Builder databasePlatformName(String databasePlatformName) {
+ this.databasePlatformName = databasePlatformName;
+ this.__explicitlySet__.add("databasePlatformName");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -415,7 +452,9 @@ public ManagedDatabaseSummary build() {
this.databaseVersion,
this.freeformTags,
this.definedTags,
- this.systemTags);
+ this.systemTags,
+ this.dbmgmtFeatureConfigs,
+ this.databasePlatformName);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -475,6 +514,12 @@ public Builder copy(ManagedDatabaseSummary model) {
if (model.wasPropertyExplicitlySet("systemTags")) {
this.systemTags(model.getSystemTags());
}
+ if (model.wasPropertyExplicitlySet("dbmgmtFeatureConfigs")) {
+ this.dbmgmtFeatureConfigs(model.getDbmgmtFeatureConfigs());
+ }
+ if (model.wasPropertyExplicitlySet("databasePlatformName")) {
+ this.databasePlatformName(model.getDatabasePlatformName());
+ }
return this;
}
}
@@ -763,6 +808,32 @@ public java.util.Map> getSystemTags() {
return systemTags;
}
+ /** The list of feature configurations */
+ @com.fasterxml.jackson.annotation.JsonProperty("dbmgmtFeatureConfigs")
+ private final java.util.List dbmgmtFeatureConfigs;
+
+ /**
+ * The list of feature configurations
+ *
+ * @return the value
+ */
+ public java.util.List getDbmgmtFeatureConfigs() {
+ return dbmgmtFeatureConfigs;
+ }
+
+ /** The operating system of database. */
+ @com.fasterxml.jackson.annotation.JsonProperty("databasePlatformName")
+ private final String databasePlatformName;
+
+ /**
+ * The operating system of database.
+ *
+ * @return the value
+ */
+ public String getDatabasePlatformName() {
+ return databasePlatformName;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -795,6 +866,8 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", freeformTags=").append(String.valueOf(this.freeformTags));
sb.append(", definedTags=").append(String.valueOf(this.definedTags));
sb.append(", systemTags=").append(String.valueOf(this.systemTags));
+ sb.append(", dbmgmtFeatureConfigs=").append(String.valueOf(this.dbmgmtFeatureConfigs));
+ sb.append(", databasePlatformName=").append(String.valueOf(this.databasePlatformName));
sb.append(")");
return sb.toString();
}
@@ -826,6 +899,8 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.freeformTags, other.freeformTags)
&& java.util.Objects.equals(this.definedTags, other.definedTags)
&& java.util.Objects.equals(this.systemTags, other.systemTags)
+ && java.util.Objects.equals(this.dbmgmtFeatureConfigs, other.dbmgmtFeatureConfigs)
+ && java.util.Objects.equals(this.databasePlatformName, other.databasePlatformName)
&& super.equals(other);
}
@@ -864,6 +939,16 @@ public int hashCode() {
result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode());
result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode());
result = (result * PRIME) + (this.systemTags == null ? 43 : this.systemTags.hashCode());
+ result =
+ (result * PRIME)
+ + (this.dbmgmtFeatureConfigs == null
+ ? 43
+ : this.dbmgmtFeatureConfigs.hashCode());
+ result =
+ (result * PRIME)
+ + (this.databasePlatformName == null
+ ? 43
+ : this.databasePlatformName.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-databasemanagement/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-databasemanagement/reflect-config.json b/bmc-databasemanagement/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-databasemanagement/reflect-config.json
index fb89a81b13d..f43e712f7dc 100644
--- a/bmc-databasemanagement/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-databasemanagement/reflect-config.json
+++ b/bmc-databasemanagement/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-databasemanagement/reflect-config.json
@@ -1729,6 +1729,40 @@
"allDeclaredMethods": true,
"allDeclaredConstructors": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.databasemanagement.model.DatabaseLifecycleFeatureConfiguration",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.databasemanagement.model.DatabaseLifecycleFeatureConfiguration$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.databasemanagement.model.DatabaseLifecycleFeatureConfiguration$LicenseModel",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.databasemanagement.model.DatabaseLifecycleManagementFeatureDetails",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.databasemanagement.model.DatabaseLifecycleManagementFeatureDetails$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.databasemanagement.model.DatabaseManagementConfig",
@@ -1755,6 +1789,20 @@
"allDeclaredFields": true,
"allDeclaredMethods": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.databasemanagement.model.DatabaseNamedCredentialConnectionDetails",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.databasemanagement.model.DatabaseNamedCredentialConnectionDetails$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.databasemanagement.model.DatabaseNamedCredentialDetails",
@@ -1921,6 +1969,34 @@
"allDeclaredFields": true,
"allDeclaredMethods": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.databasemanagement.model.DatabaseSqlWatchFeatureConfiguration",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.databasemanagement.model.DatabaseSqlWatchFeatureConfiguration$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.databasemanagement.model.DatabaseSqlWatchFeatureDetails",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.databasemanagement.model.DatabaseSqlWatchFeatureDetails$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.databasemanagement.model.DatabaseSslConnectionCredentials",
@@ -3185,6 +3261,40 @@
"allDeclaredMethods": true,
"allDeclaredConstructors": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.databasemanagement.model.ExternalDatabaseLifecycleManagementFeatureDetails",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.databasemanagement.model.ExternalDatabaseLifecycleManagementFeatureDetails$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.databasemanagement.model.ExternalDatabaseLifecycleManagementFeatureDetails$LicenseModel",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.databasemanagement.model.ExternalDatabaseSqlWatchFeatureDetails",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.databasemanagement.model.ExternalDatabaseSqlWatchFeatureDetails$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.databasemanagement.model.ExternalDatabaseSummary",
@@ -4028,6 +4138,34 @@
"allDeclaredMethods": true,
"queryAllDeclaredConstructors": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.databasemanagement.model.ExternalPluggableDatabaseLifecycleManagementFeatureDetails",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.databasemanagement.model.ExternalPluggableDatabaseLifecycleManagementFeatureDetails$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.databasemanagement.model.ExternalPluggableDatabaseSqlWatchFeatureDetails",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.databasemanagement.model.ExternalPluggableDatabaseSqlWatchFeatureDetails$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.databasemanagement.model.ExternalServicedAsm",
diff --git a/bmc-databasemigration/pom.xml b/bmc-databasemigration/pom.xml
index b23bc3a784b..1174b5b326f 100644
--- a/bmc-databasemigration/pom.xml
+++ b/bmc-databasemigration/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-databasemigration
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
diff --git a/bmc-databasetools/pom.xml b/bmc-databasetools/pom.xml
index 897599e33e9..ea6b692d15d 100644
--- a/bmc-databasetools/pom.xml
+++ b/bmc-databasetools/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-databasetools
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
\ No newline at end of file
diff --git a/bmc-datacatalog/pom.xml b/bmc-datacatalog/pom.xml
index e8e89a65bc9..95767fb3cf8 100644
--- a/bmc-datacatalog/pom.xml
+++ b/bmc-datacatalog/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-datacatalog
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
diff --git a/bmc-dataflow/pom.xml b/bmc-dataflow/pom.xml
index e2957857576..610d9aefed4 100644
--- a/bmc-dataflow/pom.xml
+++ b/bmc-dataflow/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-dataflow
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
diff --git a/bmc-dataintegration/pom.xml b/bmc-dataintegration/pom.xml
index e75328139c1..dcc1a5a7449 100644
--- a/bmc-dataintegration/pom.xml
+++ b/bmc-dataintegration/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-dataintegration
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
diff --git a/bmc-datalabelingservice/pom.xml b/bmc-datalabelingservice/pom.xml
index 5a449f96d74..5eb54da05e5 100644
--- a/bmc-datalabelingservice/pom.xml
+++ b/bmc-datalabelingservice/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-datalabelingservice
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
\ No newline at end of file
diff --git a/bmc-datalabelingservicedataplane/pom.xml b/bmc-datalabelingservicedataplane/pom.xml
index 5f86eac9177..70595f41bf7 100644
--- a/bmc-datalabelingservicedataplane/pom.xml
+++ b/bmc-datalabelingservicedataplane/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-datalabelingservicedataplane
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
\ No newline at end of file
diff --git a/bmc-datasafe/pom.xml b/bmc-datasafe/pom.xml
index 82132a33eac..1b24dc5dac4 100644
--- a/bmc-datasafe/pom.xml
+++ b/bmc-datasafe/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-datasafe
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
diff --git a/bmc-datascience/pom.xml b/bmc-datascience/pom.xml
index b7c9e8a1691..131f830b549 100644
--- a/bmc-datascience/pom.xml
+++ b/bmc-datascience/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-datascience
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
diff --git a/bmc-demandsignal/pom.xml b/bmc-demandsignal/pom.xml
index b06505f5950..29292a4c51b 100644
--- a/bmc-demandsignal/pom.xml
+++ b/bmc-demandsignal/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-demandsignal
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
\ No newline at end of file
diff --git a/bmc-desktops/pom.xml b/bmc-desktops/pom.xml
index 105ca864fb4..57c76d58f20 100644
--- a/bmc-desktops/pom.xml
+++ b/bmc-desktops/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-desktops
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
\ No newline at end of file
diff --git a/bmc-devops/pom.xml b/bmc-devops/pom.xml
index d26420ab6b8..a7c37025cf8 100644
--- a/bmc-devops/pom.xml
+++ b/bmc-devops/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-devops
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
\ No newline at end of file
diff --git a/bmc-disasterrecovery/pom.xml b/bmc-disasterrecovery/pom.xml
index bd106389de1..f012430ebcd 100644
--- a/bmc-disasterrecovery/pom.xml
+++ b/bmc-disasterrecovery/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-disasterrecovery
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
\ No newline at end of file
diff --git a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/DisasterRecoveryAsyncClient.java b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/DisasterRecoveryAsyncClient.java
index 32c7b1d922e..0ec4779e0c3 100644
--- a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/DisasterRecoveryAsyncClient.java
+++ b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/DisasterRecoveryAsyncClient.java
@@ -671,7 +671,6 @@ public java.util.concurrent.Future listDrPlanExecu
.appendQueryParam("drProtectionGroupId", request.getDrProtectionGroupId())
.appendEnumQueryParam("lifecycleState", request.getLifecycleState())
.appendQueryParam("drPlanExecutionId", request.getDrPlanExecutionId())
- .appendEnumQueryParam("drPlanExecutionType", request.getDrPlanExecutionType())
.appendQueryParam("displayName", request.getDisplayName())
.appendQueryParam("limit", request.getLimit())
.appendQueryParam("page", request.getPage())
diff --git a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/DisasterRecoveryClient.java b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/DisasterRecoveryClient.java
index 9e66017a994..5276c6f798b 100644
--- a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/DisasterRecoveryClient.java
+++ b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/DisasterRecoveryClient.java
@@ -652,7 +652,6 @@ public ListDrPlanExecutionsResponse listDrPlanExecutions(ListDrPlanExecutionsReq
.appendQueryParam("drProtectionGroupId", request.getDrProtectionGroupId())
.appendEnumQueryParam("lifecycleState", request.getLifecycleState())
.appendQueryParam("drPlanExecutionId", request.getDrPlanExecutionId())
- .appendEnumQueryParam("drPlanExecutionType", request.getDrPlanExecutionType())
.appendQueryParam("displayName", request.getDisplayName())
.appendQueryParam("limit", request.getLimit())
.appendQueryParam("page", request.getPage())
diff --git a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/AutonomousContainerDatabaseSnapshotStandbyConnectionStringType.java b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/AutonomousContainerDatabaseSnapshotStandbyConnectionStringType.java
new file mode 100644
index 00000000000..743df7fd778
--- /dev/null
+++ b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/AutonomousContainerDatabaseSnapshotStandbyConnectionStringType.java
@@ -0,0 +1,66 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.disasterrecovery.model;
+
+/**
+ * The type of connection strings used to connect to an Autonomous Container Database snapshot
+ * standby created during a DR Drill operation. See
+ * https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html for
+ * information about these service types. - SNAPSHOT_SERVICE - Connect to the snapshot standby using
+ * new services that are active only in snapshot standby mode. - PRIMARY_SERVICE - Connect to the
+ * snapshot standby database using the same services as the primary database.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220125")
+public enum AutonomousContainerDatabaseSnapshotStandbyConnectionStringType
+ implements com.oracle.bmc.http.internal.BmcEnum {
+ SnapshotService("SNAPSHOT_SERVICE"),
+ PrimaryService("PRIMARY_SERVICE"),
+
+ /**
+ * 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(
+ AutonomousContainerDatabaseSnapshotStandbyConnectionStringType.class);
+
+ private final String value;
+ private static java.util.Map<
+ String, AutonomousContainerDatabaseSnapshotStandbyConnectionStringType>
+ map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (AutonomousContainerDatabaseSnapshotStandbyConnectionStringType v :
+ AutonomousContainerDatabaseSnapshotStandbyConnectionStringType.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ AutonomousContainerDatabaseSnapshotStandbyConnectionStringType(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static AutonomousContainerDatabaseSnapshotStandbyConnectionStringType create(
+ String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'AutonomousContainerDatabaseSnapshotStandbyConnectionStringType', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
+ }
+}
diff --git a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/AutonomousDatabaseStandbyTypeForDrDrills.java b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/AutonomousDatabaseStandbyTypeForDrDrills.java
new file mode 100644
index 00000000000..a9128ad7a5c
--- /dev/null
+++ b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/AutonomousDatabaseStandbyTypeForDrDrills.java
@@ -0,0 +1,67 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.disasterrecovery.model;
+
+/**
+ * This specifies the mechanism used to create a temporary Autonomous Database instance for DR
+ * Drills. See
+ * https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/adbsb/autonomous-clone-about.html
+ * for information about these clone types. See
+ * https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/adbsb/autonomous-data-guard-snapshot-standby.html
+ * for information about snapshot standby. - FULL_CLONE - Creates a full clone of the source
+ * Autonomous Database with read-write access for DR Drill operations. - REFRESHABLE_CLONE - Creates
+ * a full clone of the source Autonomous Database with read-only access for DR Drill operations. -
+ * SNAPSHOT_STANDBY - Converts the existing standby Autonomous Database to a snapshot standby for DR
+ * Drill operations.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220125")
+public enum AutonomousDatabaseStandbyTypeForDrDrills
+ implements com.oracle.bmc.http.internal.BmcEnum {
+ FullClone("FULL_CLONE"),
+ RefreshableClone("REFRESHABLE_CLONE"),
+ SnapshotStandby("SNAPSHOT_STANDBY"),
+
+ /**
+ * 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(AutonomousDatabaseStandbyTypeForDrDrills.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (AutonomousDatabaseStandbyTypeForDrDrills v :
+ AutonomousDatabaseStandbyTypeForDrDrills.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ AutonomousDatabaseStandbyTypeForDrDrills(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static AutonomousDatabaseStandbyTypeForDrDrills create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'AutonomousDatabaseStandbyTypeForDrDrills', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
+ }
+}
diff --git a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/CreateDrProtectionGroupMemberAutonomousContainerDatabaseDetails.java b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/CreateDrProtectionGroupMemberAutonomousContainerDatabaseDetails.java
new file mode 100644
index 00000000000..26d2d4bbac2
--- /dev/null
+++ b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/CreateDrProtectionGroupMemberAutonomousContainerDatabaseDetails.java
@@ -0,0 +1,176 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.disasterrecovery.model;
+
+/**
+ * Create properties for an Autonomous Container Database member.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model
+ * distinguishes fields that are {@code null} because they are unset from fields that are explicitly
+ * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a
+ * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link
+ * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set
+ * fields into account. The constructor, on the other hand, does not take the explicitly set fields
+ * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code
+ * null}).
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220125")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = CreateDrProtectionGroupMemberAutonomousContainerDatabaseDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "memberType")
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class CreateDrProtectionGroupMemberAutonomousContainerDatabaseDetails
+ extends CreateDrProtectionGroupMemberDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("memberId")
+ private String memberId;
+
+ public Builder memberId(String memberId) {
+ this.memberId = memberId;
+ this.__explicitlySet__.add("memberId");
+ return this;
+ }
+ /**
+ * The type of connection strings used to connect to an Autonomous Container Database
+ * snapshot standby created during a DR Drill operation. See
+ * https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html for
+ * information about these service types.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionStringType")
+ private AutonomousContainerDatabaseSnapshotStandbyConnectionStringType connectionStringType;
+
+ /**
+ * The type of connection strings used to connect to an Autonomous Container Database
+ * snapshot standby created during a DR Drill operation. See
+ * https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html for
+ * information about these service types.
+ *
+ * @param connectionStringType the value to set
+ * @return this builder
+ */
+ public Builder connectionStringType(
+ AutonomousContainerDatabaseSnapshotStandbyConnectionStringType
+ connectionStringType) {
+ this.connectionStringType = connectionStringType;
+ this.__explicitlySet__.add("connectionStringType");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public CreateDrProtectionGroupMemberAutonomousContainerDatabaseDetails build() {
+ CreateDrProtectionGroupMemberAutonomousContainerDatabaseDetails model =
+ new CreateDrProtectionGroupMemberAutonomousContainerDatabaseDetails(
+ this.memberId, this.connectionStringType);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(CreateDrProtectionGroupMemberAutonomousContainerDatabaseDetails model) {
+ if (model.wasPropertyExplicitlySet("memberId")) {
+ this.memberId(model.getMemberId());
+ }
+ if (model.wasPropertyExplicitlySet("connectionStringType")) {
+ this.connectionStringType(model.getConnectionStringType());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public CreateDrProtectionGroupMemberAutonomousContainerDatabaseDetails(
+ String memberId,
+ AutonomousContainerDatabaseSnapshotStandbyConnectionStringType connectionStringType) {
+ super(memberId);
+ this.connectionStringType = connectionStringType;
+ }
+
+ /**
+ * The type of connection strings used to connect to an Autonomous Container Database snapshot
+ * standby created during a DR Drill operation. See
+ * https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html for
+ * information about these service types.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionStringType")
+ private final AutonomousContainerDatabaseSnapshotStandbyConnectionStringType
+ connectionStringType;
+
+ /**
+ * The type of connection strings used to connect to an Autonomous Container Database snapshot
+ * standby created during a DR Drill operation. See
+ * https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html for
+ * information about these service types.
+ *
+ * @return the value
+ */
+ public AutonomousContainerDatabaseSnapshotStandbyConnectionStringType
+ getConnectionStringType() {
+ return connectionStringType;
+ }
+
+ @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("CreateDrProtectionGroupMemberAutonomousContainerDatabaseDetails(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(", connectionStringType=").append(String.valueOf(this.connectionStringType));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof CreateDrProtectionGroupMemberAutonomousContainerDatabaseDetails)) {
+ return false;
+ }
+
+ CreateDrProtectionGroupMemberAutonomousContainerDatabaseDetails other =
+ (CreateDrProtectionGroupMemberAutonomousContainerDatabaseDetails) o;
+ return java.util.Objects.equals(this.connectionStringType, other.connectionStringType)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.connectionStringType == null
+ ? 43
+ : this.connectionStringType.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/CreateDrProtectionGroupMemberAutonomousDatabaseDetails.java b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/CreateDrProtectionGroupMemberAutonomousDatabaseDetails.java
index 2bbce8b6c5f..9595b199a11 100644
--- a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/CreateDrProtectionGroupMemberAutonomousDatabaseDetails.java
+++ b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/CreateDrProtectionGroupMemberAutonomousDatabaseDetails.java
@@ -36,13 +36,68 @@ public Builder memberId(String memberId) {
this.__explicitlySet__.add("memberId");
return this;
}
+ /**
+ * This specifies the mechanism used to create a temporary Autonomous Database instance for
+ * DR Drills. See
+ * https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/adbsb/autonomous-clone-about.html
+ * for information about these clone types. See
+ * https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/adbsb/autonomous-data-guard-snapshot-standby.html
+ * for information about snapshot standby.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("autonomousDatabaseStandbyTypeForDrDrills")
+ private AutonomousDatabaseStandbyTypeForDrDrills autonomousDatabaseStandbyTypeForDrDrills;
+
+ /**
+ * This specifies the mechanism used to create a temporary Autonomous Database instance for
+ * DR Drills. See
+ * https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/adbsb/autonomous-clone-about.html
+ * for information about these clone types. See
+ * https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/adbsb/autonomous-data-guard-snapshot-standby.html
+ * for information about snapshot standby.
+ *
+ * @param autonomousDatabaseStandbyTypeForDrDrills the value to set
+ * @return this builder
+ */
+ public Builder autonomousDatabaseStandbyTypeForDrDrills(
+ AutonomousDatabaseStandbyTypeForDrDrills autonomousDatabaseStandbyTypeForDrDrills) {
+ this.autonomousDatabaseStandbyTypeForDrDrills =
+ autonomousDatabaseStandbyTypeForDrDrills;
+ this.__explicitlySet__.add("autonomousDatabaseStandbyTypeForDrDrills");
+ return this;
+ }
+ /**
+ * The OCID of the vault secret where the database SYSDBA password is stored. This password
+ * is required and used for performing database DR Drill operations when using full clone.
+ *
+ * Example: {@code ocid1.vaultsecret.oc1..uniqueID}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordVaultSecretId")
+ private String passwordVaultSecretId;
+
+ /**
+ * The OCID of the vault secret where the database SYSDBA password is stored. This password
+ * is required and used for performing database DR Drill operations when using full clone.
+ *
+ *
Example: {@code ocid1.vaultsecret.oc1..uniqueID}
+ *
+ * @param passwordVaultSecretId the value to set
+ * @return this builder
+ */
+ public Builder passwordVaultSecretId(String passwordVaultSecretId) {
+ this.passwordVaultSecretId = passwordVaultSecretId;
+ this.__explicitlySet__.add("passwordVaultSecretId");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
public CreateDrProtectionGroupMemberAutonomousDatabaseDetails build() {
CreateDrProtectionGroupMemberAutonomousDatabaseDetails model =
- new CreateDrProtectionGroupMemberAutonomousDatabaseDetails(this.memberId);
+ new CreateDrProtectionGroupMemberAutonomousDatabaseDetails(
+ this.memberId,
+ this.autonomousDatabaseStandbyTypeForDrDrills,
+ this.passwordVaultSecretId);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -54,6 +109,13 @@ public Builder copy(CreateDrProtectionGroupMemberAutonomousDatabaseDetails model
if (model.wasPropertyExplicitlySet("memberId")) {
this.memberId(model.getMemberId());
}
+ if (model.wasPropertyExplicitlySet("autonomousDatabaseStandbyTypeForDrDrills")) {
+ this.autonomousDatabaseStandbyTypeForDrDrills(
+ model.getAutonomousDatabaseStandbyTypeForDrDrills());
+ }
+ if (model.wasPropertyExplicitlySet("passwordVaultSecretId")) {
+ this.passwordVaultSecretId(model.getPasswordVaultSecretId());
+ }
return this;
}
}
@@ -68,8 +130,59 @@ public Builder toBuilder() {
}
@Deprecated
- public CreateDrProtectionGroupMemberAutonomousDatabaseDetails(String memberId) {
+ public CreateDrProtectionGroupMemberAutonomousDatabaseDetails(
+ String memberId,
+ AutonomousDatabaseStandbyTypeForDrDrills autonomousDatabaseStandbyTypeForDrDrills,
+ String passwordVaultSecretId) {
super(memberId);
+ this.autonomousDatabaseStandbyTypeForDrDrills = autonomousDatabaseStandbyTypeForDrDrills;
+ this.passwordVaultSecretId = passwordVaultSecretId;
+ }
+
+ /**
+ * This specifies the mechanism used to create a temporary Autonomous Database instance for DR
+ * Drills. See
+ * https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/adbsb/autonomous-clone-about.html
+ * for information about these clone types. See
+ * https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/adbsb/autonomous-data-guard-snapshot-standby.html
+ * for information about snapshot standby.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("autonomousDatabaseStandbyTypeForDrDrills")
+ private final AutonomousDatabaseStandbyTypeForDrDrills autonomousDatabaseStandbyTypeForDrDrills;
+
+ /**
+ * This specifies the mechanism used to create a temporary Autonomous Database instance for DR
+ * Drills. See
+ * https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/adbsb/autonomous-clone-about.html
+ * for information about these clone types. See
+ * https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/adbsb/autonomous-data-guard-snapshot-standby.html
+ * for information about snapshot standby.
+ *
+ * @return the value
+ */
+ public AutonomousDatabaseStandbyTypeForDrDrills getAutonomousDatabaseStandbyTypeForDrDrills() {
+ return autonomousDatabaseStandbyTypeForDrDrills;
+ }
+
+ /**
+ * The OCID of the vault secret where the database SYSDBA password is stored. This password is
+ * required and used for performing database DR Drill operations when using full clone.
+ *
+ * Example: {@code ocid1.vaultsecret.oc1..uniqueID}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordVaultSecretId")
+ private final String passwordVaultSecretId;
+
+ /**
+ * The OCID of the vault secret where the database SYSDBA password is stored. This password is
+ * required and used for performing database DR Drill operations when using full clone.
+ *
+ *
Example: {@code ocid1.vaultsecret.oc1..uniqueID}
+ *
+ * @return the value
+ */
+ public String getPasswordVaultSecretId() {
+ return passwordVaultSecretId;
}
@Override
@@ -87,6 +200,9 @@ public String toString(boolean includeByteArrayContents) {
java.lang.StringBuilder sb = new java.lang.StringBuilder();
sb.append("CreateDrProtectionGroupMemberAutonomousDatabaseDetails(");
sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(", autonomousDatabaseStandbyTypeForDrDrills=")
+ .append(String.valueOf(this.autonomousDatabaseStandbyTypeForDrDrills));
+ sb.append(", passwordVaultSecretId=").append(String.valueOf(this.passwordVaultSecretId));
sb.append(")");
return sb.toString();
}
@@ -102,13 +218,27 @@ public boolean equals(Object o) {
CreateDrProtectionGroupMemberAutonomousDatabaseDetails other =
(CreateDrProtectionGroupMemberAutonomousDatabaseDetails) o;
- return super.equals(other);
+ return java.util.Objects.equals(
+ this.autonomousDatabaseStandbyTypeForDrDrills,
+ other.autonomousDatabaseStandbyTypeForDrDrills)
+ && java.util.Objects.equals(this.passwordVaultSecretId, other.passwordVaultSecretId)
+ && super.equals(other);
}
@Override
public int hashCode() {
final int PRIME = 59;
int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.autonomousDatabaseStandbyTypeForDrDrills == null
+ ? 43
+ : this.autonomousDatabaseStandbyTypeForDrDrills.hashCode());
+ result =
+ (result * PRIME)
+ + (this.passwordVaultSecretId == null
+ ? 43
+ : this.passwordVaultSecretId.hashCode());
return result;
}
}
diff --git a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/CreateDrProtectionGroupMemberDetails.java b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/CreateDrProtectionGroupMemberDetails.java
index 01bc58085aa..2e1a24f17d8 100644
--- a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/CreateDrProtectionGroupMemberDetails.java
+++ b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/CreateDrProtectionGroupMemberDetails.java
@@ -25,6 +25,9 @@
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = CreateDrProtectionGroupMemberComputeInstanceMovableDetails.class,
name = "COMPUTE_INSTANCE_MOVABLE"),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = CreateDrProtectionGroupMemberAutonomousContainerDatabaseDetails.class,
+ name = "AUTONOMOUS_CONTAINER_DATABASE"),
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails.class,
name = "COMPUTE_INSTANCE_NON_MOVABLE"),
@@ -46,6 +49,9 @@
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = CreateDrProtectionGroupMemberFileSystemDetails.class,
name = "FILE_SYSTEM"),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = CreateDrProtectionGroupMemberObjectStorageBucketDetails.class,
+ name = "OBJECT_STORAGE_BUCKET"),
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = CreateDrProtectionGroupMemberLoadBalancerDetails.class,
name = "LOAD_BALANCER")
diff --git a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/CreateDrProtectionGroupMemberObjectStorageBucketDetails.java b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/CreateDrProtectionGroupMemberObjectStorageBucketDetails.java
new file mode 100644
index 00000000000..fd21f251712
--- /dev/null
+++ b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/CreateDrProtectionGroupMemberObjectStorageBucketDetails.java
@@ -0,0 +1,212 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.disasterrecovery.model;
+
+/**
+ * Create properties for a object storage bucket member.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model
+ * distinguishes fields that are {@code null} because they are unset from fields that are explicitly
+ * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a
+ * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link
+ * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set
+ * fields into account. The constructor, on the other hand, does not take the explicitly set fields
+ * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code
+ * null}).
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220125")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = CreateDrProtectionGroupMemberObjectStorageBucketDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "memberType")
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class CreateDrProtectionGroupMemberObjectStorageBucketDetails
+ extends CreateDrProtectionGroupMemberDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("memberId")
+ private String memberId;
+
+ public Builder memberId(String memberId) {
+ this.memberId = memberId;
+ this.__explicitlySet__.add("memberId");
+ return this;
+ }
+ /**
+ * The namespace in object storage (Note - this is usually the tenancy name).
+ *
+ *
Example: {@code myocitenancy}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("namespaceName")
+ private String namespaceName;
+
+ /**
+ * The namespace in object storage (Note - this is usually the tenancy name).
+ *
+ *
Example: {@code myocitenancy}
+ *
+ * @param namespaceName the value to set
+ * @return this builder
+ */
+ public Builder namespaceName(String namespaceName) {
+ this.namespaceName = namespaceName;
+ this.__explicitlySet__.add("namespaceName");
+ return this;
+ }
+ /**
+ * The bucket name inside the object storage namespace.
+ *
+ *
Example: {@code bucket_name}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("bucketName")
+ private String bucketName;
+
+ /**
+ * The bucket name inside the object storage namespace.
+ *
+ *
Example: {@code bucket_name}
+ *
+ * @param bucketName the value to set
+ * @return this builder
+ */
+ public Builder bucketName(String bucketName) {
+ this.bucketName = bucketName;
+ this.__explicitlySet__.add("bucketName");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public CreateDrProtectionGroupMemberObjectStorageBucketDetails build() {
+ CreateDrProtectionGroupMemberObjectStorageBucketDetails model =
+ new CreateDrProtectionGroupMemberObjectStorageBucketDetails(
+ this.memberId, this.namespaceName, this.bucketName);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(CreateDrProtectionGroupMemberObjectStorageBucketDetails model) {
+ if (model.wasPropertyExplicitlySet("memberId")) {
+ this.memberId(model.getMemberId());
+ }
+ if (model.wasPropertyExplicitlySet("namespaceName")) {
+ this.namespaceName(model.getNamespaceName());
+ }
+ if (model.wasPropertyExplicitlySet("bucketName")) {
+ this.bucketName(model.getBucketName());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public CreateDrProtectionGroupMemberObjectStorageBucketDetails(
+ String memberId, String namespaceName, String bucketName) {
+ super(memberId);
+ this.namespaceName = namespaceName;
+ this.bucketName = bucketName;
+ }
+
+ /**
+ * The namespace in object storage (Note - this is usually the tenancy name).
+ *
+ * Example: {@code myocitenancy}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("namespaceName")
+ private final String namespaceName;
+
+ /**
+ * The namespace in object storage (Note - this is usually the tenancy name).
+ *
+ *
Example: {@code myocitenancy}
+ *
+ * @return the value
+ */
+ public String getNamespaceName() {
+ return namespaceName;
+ }
+
+ /**
+ * The bucket name inside the object storage namespace.
+ *
+ *
Example: {@code bucket_name}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("bucketName")
+ private final String bucketName;
+
+ /**
+ * The bucket name inside the object storage namespace.
+ *
+ *
Example: {@code bucket_name}
+ *
+ * @return the value
+ */
+ public String getBucketName() {
+ return bucketName;
+ }
+
+ @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("CreateDrProtectionGroupMemberObjectStorageBucketDetails(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(", namespaceName=").append(String.valueOf(this.namespaceName));
+ sb.append(", bucketName=").append(String.valueOf(this.bucketName));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof CreateDrProtectionGroupMemberObjectStorageBucketDetails)) {
+ return false;
+ }
+
+ CreateDrProtectionGroupMemberObjectStorageBucketDetails other =
+ (CreateDrProtectionGroupMemberObjectStorageBucketDetails) o;
+ return java.util.Objects.equals(this.namespaceName, other.namespaceName)
+ && java.util.Objects.equals(this.bucketName, other.bucketName)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.namespaceName == null ? 43 : this.namespaceName.hashCode());
+ result = (result * PRIME) + (this.bucketName == null ? 43 : this.bucketName.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrPlanStepType.java b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrPlanStepType.java
index a8ef40b0400..271928626e8 100644
--- a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrPlanStepType.java
+++ b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrPlanStepType.java
@@ -17,6 +17,35 @@ public enum DrPlanStepType implements com.oracle.bmc.http.internal.BmcEnum {
DatabaseFailoverPrecheck("DATABASE_FAILOVER_PRECHECK"),
AutonomousDatabaseSwitchoverPrecheck("AUTONOMOUS_DATABASE_SWITCHOVER_PRECHECK"),
AutonomousDatabaseFailoverPrecheck("AUTONOMOUS_DATABASE_FAILOVER_PRECHECK"),
+ AutonomousContainerDatabaseSwitchoverPrecheck(
+ "AUTONOMOUS_CONTAINER_DATABASE_SWITCHOVER_PRECHECK"),
+ AutonomousContainerDatabaseFailoverPrecheck("AUTONOMOUS_CONTAINER_DATABASE_FAILOVER_PRECHECK"),
+ AutonomousContainerDatabaseStartDrillConvertToSnapshotStandbyPrecheck(
+ "AUTONOMOUS_CONTAINER_DATABASE_START_DRILL_CONVERT_TO_SNAPSHOT_STANDBY_PRECHECK"),
+ AutonomousContainerDatabaseStopDrillConvertToPhysicalStandbyPrecheck(
+ "AUTONOMOUS_CONTAINER_DATABASE_STOP_DRILL_CONVERT_TO_PHYSICAL_STANDBY_PRECHECK"),
+ AutonomousContainerDatabaseSwitchover("AUTONOMOUS_CONTAINER_DATABASE_SWITCHOVER"),
+ AutonomousContainerDatabaseFailover("AUTONOMOUS_CONTAINER_DATABASE_FAILOVER"),
+ AutonomousContainerDatabaseStartDrillConvertToSnapshotStandby(
+ "AUTONOMOUS_CONTAINER_DATABASE_START_DRILL_CONVERT_TO_SNAPSHOT_STANDBY"),
+ AutonomousContainerDatabaseStopDrillConvertToPhysicalStandby(
+ "AUTONOMOUS_CONTAINER_DATABASE_STOP_DRILL_CONVERT_TO_PHYSICAL_STANDBY"),
+ AutonomousDatabaseStartDrillCreateCloneStandbyPrecheck(
+ "AUTONOMOUS_DATABASE_START_DRILL_CREATE_CLONE_STANDBY_PRECHECK"),
+ AutonomousDatabaseStopDrillDeleteCloneStandbyPrecheck(
+ "AUTONOMOUS_DATABASE_STOP_DRILL_DELETE_CLONE_STANDBY_PRECHECK"),
+ AutonomousDatabaseStartDrillConvertToSnapshotStandbyPrecheck(
+ "AUTONOMOUS_DATABASE_START_DRILL_CONVERT_TO_SNAPSHOT_STANDBY_PRECHECK"),
+ AutonomousDatabaseStopDrillConvertToPhysicalStandbyPrecheck(
+ "AUTONOMOUS_DATABASE_STOP_DRILL_CONVERT_TO_PHYSICAL_STANDBY_PRECHECK"),
+ AutonomousDatabaseStartDrillCreateCloneStandby(
+ "AUTONOMOUS_DATABASE_START_DRILL_CREATE_CLONE_STANDBY"),
+ AutonomousDatabaseStopDrillDeleteCloneStandby(
+ "AUTONOMOUS_DATABASE_STOP_DRILL_DELETE_CLONE_STANDBY"),
+ AutonomousDatabaseStartDrillConvertToSnapshotStandby(
+ "AUTONOMOUS_DATABASE_START_DRILL_CONVERT_TO_SNAPSHOT_STANDBY"),
+ AutonomousDatabaseStopDrillConvertToPhysicalStandby(
+ "AUTONOMOUS_DATABASE_STOP_DRILL_CONVERT_TO_PHYSICAL_STANDBY"),
UserDefinedPrecheck("USER_DEFINED_PRECHECK"),
ComputeInstanceLaunch("COMPUTE_INSTANCE_LAUNCH"),
ComputeInstanceStop("COMPUTE_INSTANCE_STOP"),
@@ -82,6 +111,22 @@ public enum DrPlanStepType implements com.oracle.bmc.http.internal.BmcEnum {
ComputeCapacityAvailabilitySwitchoverPrecheck(
"COMPUTE_CAPACITY_AVAILABILITY_SWITCHOVER_PRECHECK"),
ComputeCapacityAvailabilityFailoverPrecheck("COMPUTE_CAPACITY_AVAILABILITY_FAILOVER_PRECHECK"),
+ ObjectStorageBucketSwitchoverDeleteReplicationPrimaryPrecheck(
+ "OBJECT_STORAGE_BUCKET_SWITCHOVER_DELETE_REPLICATION_PRIMARY_PRECHECK"),
+ ObjectStorageBucketSwitchoverSetupReverseReplicationStandbyPrecheck(
+ "OBJECT_STORAGE_BUCKET_SWITCHOVER_SETUP_REVERSE_REPLICATION_STANDBY_PRECHECK"),
+ ObjectStorageBucketFailoverDeleteReplicationStandbyPrecheck(
+ "OBJECT_STORAGE_BUCKET_FAILOVER_DELETE_REPLICATION_STANDBY_PRECHECK"),
+ ObjectStorageBucketFailoverSetupReverseReplicationStandbyPrecheck(
+ "OBJECT_STORAGE_BUCKET_FAILOVER_SETUP_REVERSE_REPLICATION_STANDBY_PRECHECK"),
+ ObjectStorageBucketSwitchoverDeleteReplicationPrimary(
+ "OBJECT_STORAGE_BUCKET_SWITCHOVER_DELETE_REPLICATION_PRIMARY"),
+ ObjectStorageBucketSwitchoverSetupReverseReplicationStandby(
+ "OBJECT_STORAGE_BUCKET_SWITCHOVER_SETUP_REVERSE_REPLICATION_STANDBY"),
+ ObjectStorageBucketFailoverDeleteReplicationStandby(
+ "OBJECT_STORAGE_BUCKET_FAILOVER_DELETE_REPLICATION_STANDBY"),
+ ObjectStorageBucketFailoverSetupReverseReplicationStandby(
+ "OBJECT_STORAGE_BUCKET_FAILOVER_SETUP_REVERSE_REPLICATION_STANDBY"),
/**
* This value is used if a service returns a value for this enum that is not recognized by this
diff --git a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrProtectionGroupMember.java b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrProtectionGroupMember.java
index 998ff26c57b..c91854ce06a 100644
--- a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrProtectionGroupMember.java
+++ b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrProtectionGroupMember.java
@@ -28,6 +28,9 @@
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = DrProtectionGroupMemberNetworkLoadBalancer.class,
name = "NETWORK_LOAD_BALANCER"),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = DrProtectionGroupMemberObjectStorageBucket.class,
+ name = "OBJECT_STORAGE_BUCKET"),
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = DrProtectionGroupMemberFileSystem.class,
name = "FILE_SYSTEM"),
@@ -46,6 +49,9 @@
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = DrProtectionGroupMemberComputeInstanceNonMovable.class,
name = "COMPUTE_INSTANCE_NON_MOVABLE"),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = DrProtectionGroupMemberAutonomousContainerDatabase.class,
+ name = "AUTONOMOUS_CONTAINER_DATABASE"),
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = DrProtectionGroupMemberDatabase.class,
name = "DATABASE")
diff --git a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrProtectionGroupMemberAutonomousContainerDatabase.java b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrProtectionGroupMemberAutonomousContainerDatabase.java
new file mode 100644
index 00000000000..b1f66ed5b6d
--- /dev/null
+++ b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrProtectionGroupMemberAutonomousContainerDatabase.java
@@ -0,0 +1,176 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.disasterrecovery.model;
+
+/**
+ * The properties for an Autonomous Container Database member of a DR protection group.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model
+ * distinguishes fields that are {@code null} because they are unset from fields that are explicitly
+ * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a
+ * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link
+ * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set
+ * fields into account. The constructor, on the other hand, does not take the explicitly set fields
+ * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code
+ * null}).
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220125")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = DrProtectionGroupMemberAutonomousContainerDatabase.Builder.class)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "memberType")
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class DrProtectionGroupMemberAutonomousContainerDatabase
+ extends DrProtectionGroupMember {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("memberId")
+ private String memberId;
+
+ public Builder memberId(String memberId) {
+ this.memberId = memberId;
+ this.__explicitlySet__.add("memberId");
+ return this;
+ }
+ /**
+ * The type of connection strings used to connect to an Autonomous Container Database
+ * snapshot standby created during a DR Drill operation. See
+ * https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html for
+ * information about these service types.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionStringType")
+ private AutonomousContainerDatabaseSnapshotStandbyConnectionStringType connectionStringType;
+
+ /**
+ * The type of connection strings used to connect to an Autonomous Container Database
+ * snapshot standby created during a DR Drill operation. See
+ * https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html for
+ * information about these service types.
+ *
+ * @param connectionStringType the value to set
+ * @return this builder
+ */
+ public Builder connectionStringType(
+ AutonomousContainerDatabaseSnapshotStandbyConnectionStringType
+ connectionStringType) {
+ this.connectionStringType = connectionStringType;
+ this.__explicitlySet__.add("connectionStringType");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public DrProtectionGroupMemberAutonomousContainerDatabase build() {
+ DrProtectionGroupMemberAutonomousContainerDatabase model =
+ new DrProtectionGroupMemberAutonomousContainerDatabase(
+ this.memberId, this.connectionStringType);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(DrProtectionGroupMemberAutonomousContainerDatabase model) {
+ if (model.wasPropertyExplicitlySet("memberId")) {
+ this.memberId(model.getMemberId());
+ }
+ if (model.wasPropertyExplicitlySet("connectionStringType")) {
+ this.connectionStringType(model.getConnectionStringType());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public DrProtectionGroupMemberAutonomousContainerDatabase(
+ String memberId,
+ AutonomousContainerDatabaseSnapshotStandbyConnectionStringType connectionStringType) {
+ super(memberId);
+ this.connectionStringType = connectionStringType;
+ }
+
+ /**
+ * The type of connection strings used to connect to an Autonomous Container Database snapshot
+ * standby created during a DR Drill operation. See
+ * https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html for
+ * information about these service types.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionStringType")
+ private final AutonomousContainerDatabaseSnapshotStandbyConnectionStringType
+ connectionStringType;
+
+ /**
+ * The type of connection strings used to connect to an Autonomous Container Database snapshot
+ * standby created during a DR Drill operation. See
+ * https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html for
+ * information about these service types.
+ *
+ * @return the value
+ */
+ public AutonomousContainerDatabaseSnapshotStandbyConnectionStringType
+ getConnectionStringType() {
+ return connectionStringType;
+ }
+
+ @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("DrProtectionGroupMemberAutonomousContainerDatabase(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(", connectionStringType=").append(String.valueOf(this.connectionStringType));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof DrProtectionGroupMemberAutonomousContainerDatabase)) {
+ return false;
+ }
+
+ DrProtectionGroupMemberAutonomousContainerDatabase other =
+ (DrProtectionGroupMemberAutonomousContainerDatabase) o;
+ return java.util.Objects.equals(this.connectionStringType, other.connectionStringType)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.connectionStringType == null
+ ? 43
+ : this.connectionStringType.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrProtectionGroupMemberAutonomousDatabase.java b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrProtectionGroupMemberAutonomousDatabase.java
index f02eb5f9be3..093c0c439be 100644
--- a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrProtectionGroupMemberAutonomousDatabase.java
+++ b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrProtectionGroupMemberAutonomousDatabase.java
@@ -35,13 +35,68 @@ public Builder memberId(String memberId) {
this.__explicitlySet__.add("memberId");
return this;
}
+ /**
+ * This specifies the mechanism used to create a temporary Autonomous Database instance for
+ * DR Drills. See
+ * https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/adbsb/autonomous-clone-about.html
+ * for information about these clone types. See
+ * https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/adbsb/autonomous-data-guard-snapshot-standby.html
+ * for information about snapshot standby.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("autonomousDatabaseStandbyTypeForDrDrills")
+ private AutonomousDatabaseStandbyTypeForDrDrills autonomousDatabaseStandbyTypeForDrDrills;
+
+ /**
+ * This specifies the mechanism used to create a temporary Autonomous Database instance for
+ * DR Drills. See
+ * https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/adbsb/autonomous-clone-about.html
+ * for information about these clone types. See
+ * https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/adbsb/autonomous-data-guard-snapshot-standby.html
+ * for information about snapshot standby.
+ *
+ * @param autonomousDatabaseStandbyTypeForDrDrills the value to set
+ * @return this builder
+ */
+ public Builder autonomousDatabaseStandbyTypeForDrDrills(
+ AutonomousDatabaseStandbyTypeForDrDrills autonomousDatabaseStandbyTypeForDrDrills) {
+ this.autonomousDatabaseStandbyTypeForDrDrills =
+ autonomousDatabaseStandbyTypeForDrDrills;
+ this.__explicitlySet__.add("autonomousDatabaseStandbyTypeForDrDrills");
+ return this;
+ }
+ /**
+ * The OCID of the vault secret where the database SYSDBA password is stored. This password
+ * is required and used for performing database DR Drill operations when using full clone.
+ *
+ * Example: {@code ocid1.vaultsecret.oc1..uniqueID}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordVaultSecretId")
+ private String passwordVaultSecretId;
+
+ /**
+ * The OCID of the vault secret where the database SYSDBA password is stored. This password
+ * is required and used for performing database DR Drill operations when using full clone.
+ *
+ *
Example: {@code ocid1.vaultsecret.oc1..uniqueID}
+ *
+ * @param passwordVaultSecretId the value to set
+ * @return this builder
+ */
+ public Builder passwordVaultSecretId(String passwordVaultSecretId) {
+ this.passwordVaultSecretId = passwordVaultSecretId;
+ this.__explicitlySet__.add("passwordVaultSecretId");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
public DrProtectionGroupMemberAutonomousDatabase build() {
DrProtectionGroupMemberAutonomousDatabase model =
- new DrProtectionGroupMemberAutonomousDatabase(this.memberId);
+ new DrProtectionGroupMemberAutonomousDatabase(
+ this.memberId,
+ this.autonomousDatabaseStandbyTypeForDrDrills,
+ this.passwordVaultSecretId);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -53,6 +108,13 @@ public Builder copy(DrProtectionGroupMemberAutonomousDatabase model) {
if (model.wasPropertyExplicitlySet("memberId")) {
this.memberId(model.getMemberId());
}
+ if (model.wasPropertyExplicitlySet("autonomousDatabaseStandbyTypeForDrDrills")) {
+ this.autonomousDatabaseStandbyTypeForDrDrills(
+ model.getAutonomousDatabaseStandbyTypeForDrDrills());
+ }
+ if (model.wasPropertyExplicitlySet("passwordVaultSecretId")) {
+ this.passwordVaultSecretId(model.getPasswordVaultSecretId());
+ }
return this;
}
}
@@ -67,8 +129,59 @@ public Builder toBuilder() {
}
@Deprecated
- public DrProtectionGroupMemberAutonomousDatabase(String memberId) {
+ public DrProtectionGroupMemberAutonomousDatabase(
+ String memberId,
+ AutonomousDatabaseStandbyTypeForDrDrills autonomousDatabaseStandbyTypeForDrDrills,
+ String passwordVaultSecretId) {
super(memberId);
+ this.autonomousDatabaseStandbyTypeForDrDrills = autonomousDatabaseStandbyTypeForDrDrills;
+ this.passwordVaultSecretId = passwordVaultSecretId;
+ }
+
+ /**
+ * This specifies the mechanism used to create a temporary Autonomous Database instance for DR
+ * Drills. See
+ * https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/adbsb/autonomous-clone-about.html
+ * for information about these clone types. See
+ * https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/adbsb/autonomous-data-guard-snapshot-standby.html
+ * for information about snapshot standby.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("autonomousDatabaseStandbyTypeForDrDrills")
+ private final AutonomousDatabaseStandbyTypeForDrDrills autonomousDatabaseStandbyTypeForDrDrills;
+
+ /**
+ * This specifies the mechanism used to create a temporary Autonomous Database instance for DR
+ * Drills. See
+ * https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/adbsb/autonomous-clone-about.html
+ * for information about these clone types. See
+ * https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/adbsb/autonomous-data-guard-snapshot-standby.html
+ * for information about snapshot standby.
+ *
+ * @return the value
+ */
+ public AutonomousDatabaseStandbyTypeForDrDrills getAutonomousDatabaseStandbyTypeForDrDrills() {
+ return autonomousDatabaseStandbyTypeForDrDrills;
+ }
+
+ /**
+ * The OCID of the vault secret where the database SYSDBA password is stored. This password is
+ * required and used for performing database DR Drill operations when using full clone.
+ *
+ * Example: {@code ocid1.vaultsecret.oc1..uniqueID}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordVaultSecretId")
+ private final String passwordVaultSecretId;
+
+ /**
+ * The OCID of the vault secret where the database SYSDBA password is stored. This password is
+ * required and used for performing database DR Drill operations when using full clone.
+ *
+ *
Example: {@code ocid1.vaultsecret.oc1..uniqueID}
+ *
+ * @return the value
+ */
+ public String getPasswordVaultSecretId() {
+ return passwordVaultSecretId;
}
@Override
@@ -86,6 +199,9 @@ public String toString(boolean includeByteArrayContents) {
java.lang.StringBuilder sb = new java.lang.StringBuilder();
sb.append("DrProtectionGroupMemberAutonomousDatabase(");
sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(", autonomousDatabaseStandbyTypeForDrDrills=")
+ .append(String.valueOf(this.autonomousDatabaseStandbyTypeForDrDrills));
+ sb.append(", passwordVaultSecretId=").append(String.valueOf(this.passwordVaultSecretId));
sb.append(")");
return sb.toString();
}
@@ -101,13 +217,27 @@ public boolean equals(Object o) {
DrProtectionGroupMemberAutonomousDatabase other =
(DrProtectionGroupMemberAutonomousDatabase) o;
- return super.equals(other);
+ return java.util.Objects.equals(
+ this.autonomousDatabaseStandbyTypeForDrDrills,
+ other.autonomousDatabaseStandbyTypeForDrDrills)
+ && java.util.Objects.equals(this.passwordVaultSecretId, other.passwordVaultSecretId)
+ && super.equals(other);
}
@Override
public int hashCode() {
final int PRIME = 59;
int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.autonomousDatabaseStandbyTypeForDrDrills == null
+ ? 43
+ : this.autonomousDatabaseStandbyTypeForDrDrills.hashCode());
+ result =
+ (result * PRIME)
+ + (this.passwordVaultSecretId == null
+ ? 43
+ : this.passwordVaultSecretId.hashCode());
return result;
}
}
diff --git a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrProtectionGroupMemberObjectStorageBucket.java b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrProtectionGroupMemberObjectStorageBucket.java
new file mode 100644
index 00000000000..c2012273218
--- /dev/null
+++ b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrProtectionGroupMemberObjectStorageBucket.java
@@ -0,0 +1,211 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.disasterrecovery.model;
+
+/**
+ * The properties for a object storage bucket member of a DR protection group.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model
+ * distinguishes fields that are {@code null} because they are unset from fields that are explicitly
+ * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a
+ * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link
+ * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set
+ * fields into account. The constructor, on the other hand, does not take the explicitly set fields
+ * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code
+ * null}).
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220125")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = DrProtectionGroupMemberObjectStorageBucket.Builder.class)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "memberType")
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class DrProtectionGroupMemberObjectStorageBucket extends DrProtectionGroupMember {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("memberId")
+ private String memberId;
+
+ public Builder memberId(String memberId) {
+ this.memberId = memberId;
+ this.__explicitlySet__.add("memberId");
+ return this;
+ }
+ /**
+ * The namespace in object storage (Note - this is usually the tenancy name).
+ *
+ *
Example: {@code myocitenancy}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("namespaceName")
+ private String namespaceName;
+
+ /**
+ * The namespace in object storage (Note - this is usually the tenancy name).
+ *
+ *
Example: {@code myocitenancy}
+ *
+ * @param namespaceName the value to set
+ * @return this builder
+ */
+ public Builder namespaceName(String namespaceName) {
+ this.namespaceName = namespaceName;
+ this.__explicitlySet__.add("namespaceName");
+ return this;
+ }
+ /**
+ * The bucket name inside the object storage namespace.
+ *
+ *
Example: {@code bucket_name}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("bucketName")
+ private String bucketName;
+
+ /**
+ * The bucket name inside the object storage namespace.
+ *
+ *
Example: {@code bucket_name}
+ *
+ * @param bucketName the value to set
+ * @return this builder
+ */
+ public Builder bucketName(String bucketName) {
+ this.bucketName = bucketName;
+ this.__explicitlySet__.add("bucketName");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public DrProtectionGroupMemberObjectStorageBucket build() {
+ DrProtectionGroupMemberObjectStorageBucket model =
+ new DrProtectionGroupMemberObjectStorageBucket(
+ this.memberId, this.namespaceName, this.bucketName);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(DrProtectionGroupMemberObjectStorageBucket model) {
+ if (model.wasPropertyExplicitlySet("memberId")) {
+ this.memberId(model.getMemberId());
+ }
+ if (model.wasPropertyExplicitlySet("namespaceName")) {
+ this.namespaceName(model.getNamespaceName());
+ }
+ if (model.wasPropertyExplicitlySet("bucketName")) {
+ this.bucketName(model.getBucketName());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public DrProtectionGroupMemberObjectStorageBucket(
+ String memberId, String namespaceName, String bucketName) {
+ super(memberId);
+ this.namespaceName = namespaceName;
+ this.bucketName = bucketName;
+ }
+
+ /**
+ * The namespace in object storage (Note - this is usually the tenancy name).
+ *
+ * Example: {@code myocitenancy}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("namespaceName")
+ private final String namespaceName;
+
+ /**
+ * The namespace in object storage (Note - this is usually the tenancy name).
+ *
+ *
Example: {@code myocitenancy}
+ *
+ * @return the value
+ */
+ public String getNamespaceName() {
+ return namespaceName;
+ }
+
+ /**
+ * The bucket name inside the object storage namespace.
+ *
+ *
Example: {@code bucket_name}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("bucketName")
+ private final String bucketName;
+
+ /**
+ * The bucket name inside the object storage namespace.
+ *
+ *
Example: {@code bucket_name}
+ *
+ * @return the value
+ */
+ public String getBucketName() {
+ return bucketName;
+ }
+
+ @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("DrProtectionGroupMemberObjectStorageBucket(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(", namespaceName=").append(String.valueOf(this.namespaceName));
+ sb.append(", bucketName=").append(String.valueOf(this.bucketName));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof DrProtectionGroupMemberObjectStorageBucket)) {
+ return false;
+ }
+
+ DrProtectionGroupMemberObjectStorageBucket other =
+ (DrProtectionGroupMemberObjectStorageBucket) o;
+ return java.util.Objects.equals(this.namespaceName, other.namespaceName)
+ && java.util.Objects.equals(this.bucketName, other.bucketName)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.namespaceName == null ? 43 : this.namespaceName.hashCode());
+ result = (result * PRIME) + (this.bucketName == null ? 43 : this.bucketName.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrProtectionGroupMemberType.java b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrProtectionGroupMemberType.java
index 9f9d19f4d1f..bfeedb661f3 100644
--- a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrProtectionGroupMemberType.java
+++ b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/DrProtectionGroupMemberType.java
@@ -11,8 +11,9 @@
* COMPUTE_INSTANCE_NON_MOVABLE - A compute instance that does not move across regions or ADs during
* DR. - VOLUME_GROUP - A volume group. - DATABASE - An Oracle Database instance from Base Database
* service, or Exadata Database service. - AUTONOMOUS_DATABASE - An Oracle Autonomous Database
- * Serverless. - LOAD_BALANCER - A load balancer. - NETWORK_LOAD_BALANCER - A network load balancer.
- * - FILE_SYSTEM - A file system.
+ * Serverless. - AUTONOMOUS_CONTAINER_DATABASE - An Oracle Autonomous Container Database. -
+ * LOAD_BALANCER - A load balancer. - NETWORK_LOAD_BALANCER - A network load balancer. - FILE_SYSTEM
+ * - A file system.
*/
@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220125")
public enum DrProtectionGroupMemberType implements com.oracle.bmc.http.internal.BmcEnum {
@@ -22,9 +23,11 @@ public enum DrProtectionGroupMemberType implements com.oracle.bmc.http.internal.
VolumeGroup("VOLUME_GROUP"),
Database("DATABASE"),
AutonomousDatabase("AUTONOMOUS_DATABASE"),
+ AutonomousContainerDatabase("AUTONOMOUS_CONTAINER_DATABASE"),
LoadBalancer("LOAD_BALANCER"),
NetworkLoadBalancer("NETWORK_LOAD_BALANCER"),
FileSystem("FILE_SYSTEM"),
+ ObjectStorageBucket("OBJECT_STORAGE_BUCKET"),
/**
* This value is used if a service returns a value for this enum that is not recognized by this
diff --git a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/UpdateDrProtectionGroupMemberAutonomousContainerDatabaseDetails.java b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/UpdateDrProtectionGroupMemberAutonomousContainerDatabaseDetails.java
new file mode 100644
index 00000000000..2946255fcf9
--- /dev/null
+++ b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/UpdateDrProtectionGroupMemberAutonomousContainerDatabaseDetails.java
@@ -0,0 +1,176 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.disasterrecovery.model;
+
+/**
+ * Update properties for an Autonomous Container Database member.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model
+ * distinguishes fields that are {@code null} because they are unset from fields that are explicitly
+ * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a
+ * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link
+ * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set
+ * fields into account. The constructor, on the other hand, does not take the explicitly set fields
+ * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code
+ * null}).
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220125")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = UpdateDrProtectionGroupMemberAutonomousContainerDatabaseDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "memberType")
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class UpdateDrProtectionGroupMemberAutonomousContainerDatabaseDetails
+ extends UpdateDrProtectionGroupMemberDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("memberId")
+ private String memberId;
+
+ public Builder memberId(String memberId) {
+ this.memberId = memberId;
+ this.__explicitlySet__.add("memberId");
+ return this;
+ }
+ /**
+ * The type of connection strings used to connect to an Autonomous Container Database
+ * snapshot standby created during a DR Drill operation. See
+ * https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html for
+ * information about these service types.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionStringType")
+ private AutonomousContainerDatabaseSnapshotStandbyConnectionStringType connectionStringType;
+
+ /**
+ * The type of connection strings used to connect to an Autonomous Container Database
+ * snapshot standby created during a DR Drill operation. See
+ * https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html for
+ * information about these service types.
+ *
+ * @param connectionStringType the value to set
+ * @return this builder
+ */
+ public Builder connectionStringType(
+ AutonomousContainerDatabaseSnapshotStandbyConnectionStringType
+ connectionStringType) {
+ this.connectionStringType = connectionStringType;
+ this.__explicitlySet__.add("connectionStringType");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public UpdateDrProtectionGroupMemberAutonomousContainerDatabaseDetails build() {
+ UpdateDrProtectionGroupMemberAutonomousContainerDatabaseDetails model =
+ new UpdateDrProtectionGroupMemberAutonomousContainerDatabaseDetails(
+ this.memberId, this.connectionStringType);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(UpdateDrProtectionGroupMemberAutonomousContainerDatabaseDetails model) {
+ if (model.wasPropertyExplicitlySet("memberId")) {
+ this.memberId(model.getMemberId());
+ }
+ if (model.wasPropertyExplicitlySet("connectionStringType")) {
+ this.connectionStringType(model.getConnectionStringType());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public UpdateDrProtectionGroupMemberAutonomousContainerDatabaseDetails(
+ String memberId,
+ AutonomousContainerDatabaseSnapshotStandbyConnectionStringType connectionStringType) {
+ super(memberId);
+ this.connectionStringType = connectionStringType;
+ }
+
+ /**
+ * The type of connection strings used to connect to an Autonomous Container Database snapshot
+ * standby created during a DR Drill operation. See
+ * https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html for
+ * information about these service types.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionStringType")
+ private final AutonomousContainerDatabaseSnapshotStandbyConnectionStringType
+ connectionStringType;
+
+ /**
+ * The type of connection strings used to connect to an Autonomous Container Database snapshot
+ * standby created during a DR Drill operation. See
+ * https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html for
+ * information about these service types.
+ *
+ * @return the value
+ */
+ public AutonomousContainerDatabaseSnapshotStandbyConnectionStringType
+ getConnectionStringType() {
+ return connectionStringType;
+ }
+
+ @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("UpdateDrProtectionGroupMemberAutonomousContainerDatabaseDetails(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(", connectionStringType=").append(String.valueOf(this.connectionStringType));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof UpdateDrProtectionGroupMemberAutonomousContainerDatabaseDetails)) {
+ return false;
+ }
+
+ UpdateDrProtectionGroupMemberAutonomousContainerDatabaseDetails other =
+ (UpdateDrProtectionGroupMemberAutonomousContainerDatabaseDetails) o;
+ return java.util.Objects.equals(this.connectionStringType, other.connectionStringType)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.connectionStringType == null
+ ? 43
+ : this.connectionStringType.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/UpdateDrProtectionGroupMemberAutonomousDatabaseDetails.java b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/UpdateDrProtectionGroupMemberAutonomousDatabaseDetails.java
index 98652284ba7..d89b831cd69 100644
--- a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/UpdateDrProtectionGroupMemberAutonomousDatabaseDetails.java
+++ b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/UpdateDrProtectionGroupMemberAutonomousDatabaseDetails.java
@@ -36,13 +36,68 @@ public Builder memberId(String memberId) {
this.__explicitlySet__.add("memberId");
return this;
}
+ /**
+ * This specifies the mechanism used to create a temporary Autonomous Database instance for
+ * DR Drills. See
+ * https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/adbsb/autonomous-clone-about.html
+ * for information about these clone types. See
+ * https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/adbsb/autonomous-data-guard-snapshot-standby.html
+ * for information about snapshot standby.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("autonomousDatabaseStandbyTypeForDrDrills")
+ private AutonomousDatabaseStandbyTypeForDrDrills autonomousDatabaseStandbyTypeForDrDrills;
+
+ /**
+ * This specifies the mechanism used to create a temporary Autonomous Database instance for
+ * DR Drills. See
+ * https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/adbsb/autonomous-clone-about.html
+ * for information about these clone types. See
+ * https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/adbsb/autonomous-data-guard-snapshot-standby.html
+ * for information about snapshot standby.
+ *
+ * @param autonomousDatabaseStandbyTypeForDrDrills the value to set
+ * @return this builder
+ */
+ public Builder autonomousDatabaseStandbyTypeForDrDrills(
+ AutonomousDatabaseStandbyTypeForDrDrills autonomousDatabaseStandbyTypeForDrDrills) {
+ this.autonomousDatabaseStandbyTypeForDrDrills =
+ autonomousDatabaseStandbyTypeForDrDrills;
+ this.__explicitlySet__.add("autonomousDatabaseStandbyTypeForDrDrills");
+ return this;
+ }
+ /**
+ * The OCID of the vault secret where the database SYSDBA password is stored. This password
+ * is required and used for performing database DR Drill operations when using full clone.
+ *
+ * Example: {@code ocid1.vaultsecret.oc1..uniqueID}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordVaultSecretId")
+ private String passwordVaultSecretId;
+
+ /**
+ * The OCID of the vault secret where the database SYSDBA password is stored. This password
+ * is required and used for performing database DR Drill operations when using full clone.
+ *
+ *
Example: {@code ocid1.vaultsecret.oc1..uniqueID}
+ *
+ * @param passwordVaultSecretId the value to set
+ * @return this builder
+ */
+ public Builder passwordVaultSecretId(String passwordVaultSecretId) {
+ this.passwordVaultSecretId = passwordVaultSecretId;
+ this.__explicitlySet__.add("passwordVaultSecretId");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
public UpdateDrProtectionGroupMemberAutonomousDatabaseDetails build() {
UpdateDrProtectionGroupMemberAutonomousDatabaseDetails model =
- new UpdateDrProtectionGroupMemberAutonomousDatabaseDetails(this.memberId);
+ new UpdateDrProtectionGroupMemberAutonomousDatabaseDetails(
+ this.memberId,
+ this.autonomousDatabaseStandbyTypeForDrDrills,
+ this.passwordVaultSecretId);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -54,6 +109,13 @@ public Builder copy(UpdateDrProtectionGroupMemberAutonomousDatabaseDetails model
if (model.wasPropertyExplicitlySet("memberId")) {
this.memberId(model.getMemberId());
}
+ if (model.wasPropertyExplicitlySet("autonomousDatabaseStandbyTypeForDrDrills")) {
+ this.autonomousDatabaseStandbyTypeForDrDrills(
+ model.getAutonomousDatabaseStandbyTypeForDrDrills());
+ }
+ if (model.wasPropertyExplicitlySet("passwordVaultSecretId")) {
+ this.passwordVaultSecretId(model.getPasswordVaultSecretId());
+ }
return this;
}
}
@@ -68,8 +130,59 @@ public Builder toBuilder() {
}
@Deprecated
- public UpdateDrProtectionGroupMemberAutonomousDatabaseDetails(String memberId) {
+ public UpdateDrProtectionGroupMemberAutonomousDatabaseDetails(
+ String memberId,
+ AutonomousDatabaseStandbyTypeForDrDrills autonomousDatabaseStandbyTypeForDrDrills,
+ String passwordVaultSecretId) {
super(memberId);
+ this.autonomousDatabaseStandbyTypeForDrDrills = autonomousDatabaseStandbyTypeForDrDrills;
+ this.passwordVaultSecretId = passwordVaultSecretId;
+ }
+
+ /**
+ * This specifies the mechanism used to create a temporary Autonomous Database instance for DR
+ * Drills. See
+ * https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/adbsb/autonomous-clone-about.html
+ * for information about these clone types. See
+ * https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/adbsb/autonomous-data-guard-snapshot-standby.html
+ * for information about snapshot standby.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("autonomousDatabaseStandbyTypeForDrDrills")
+ private final AutonomousDatabaseStandbyTypeForDrDrills autonomousDatabaseStandbyTypeForDrDrills;
+
+ /**
+ * This specifies the mechanism used to create a temporary Autonomous Database instance for DR
+ * Drills. See
+ * https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/adbsb/autonomous-clone-about.html
+ * for information about these clone types. See
+ * https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/adbsb/autonomous-data-guard-snapshot-standby.html
+ * for information about snapshot standby.
+ *
+ * @return the value
+ */
+ public AutonomousDatabaseStandbyTypeForDrDrills getAutonomousDatabaseStandbyTypeForDrDrills() {
+ return autonomousDatabaseStandbyTypeForDrDrills;
+ }
+
+ /**
+ * The OCID of the vault secret where the database SYSDBA password is stored. This password is
+ * required and used for performing database DR Drill operations when using full clone.
+ *
+ * Example: {@code ocid1.vaultsecret.oc1..uniqueID}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordVaultSecretId")
+ private final String passwordVaultSecretId;
+
+ /**
+ * The OCID of the vault secret where the database SYSDBA password is stored. This password is
+ * required and used for performing database DR Drill operations when using full clone.
+ *
+ *
Example: {@code ocid1.vaultsecret.oc1..uniqueID}
+ *
+ * @return the value
+ */
+ public String getPasswordVaultSecretId() {
+ return passwordVaultSecretId;
}
@Override
@@ -87,6 +200,9 @@ public String toString(boolean includeByteArrayContents) {
java.lang.StringBuilder sb = new java.lang.StringBuilder();
sb.append("UpdateDrProtectionGroupMemberAutonomousDatabaseDetails(");
sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(", autonomousDatabaseStandbyTypeForDrDrills=")
+ .append(String.valueOf(this.autonomousDatabaseStandbyTypeForDrDrills));
+ sb.append(", passwordVaultSecretId=").append(String.valueOf(this.passwordVaultSecretId));
sb.append(")");
return sb.toString();
}
@@ -102,13 +218,27 @@ public boolean equals(Object o) {
UpdateDrProtectionGroupMemberAutonomousDatabaseDetails other =
(UpdateDrProtectionGroupMemberAutonomousDatabaseDetails) o;
- return super.equals(other);
+ return java.util.Objects.equals(
+ this.autonomousDatabaseStandbyTypeForDrDrills,
+ other.autonomousDatabaseStandbyTypeForDrDrills)
+ && java.util.Objects.equals(this.passwordVaultSecretId, other.passwordVaultSecretId)
+ && super.equals(other);
}
@Override
public int hashCode() {
final int PRIME = 59;
int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.autonomousDatabaseStandbyTypeForDrDrills == null
+ ? 43
+ : this.autonomousDatabaseStandbyTypeForDrDrills.hashCode());
+ result =
+ (result * PRIME)
+ + (this.passwordVaultSecretId == null
+ ? 43
+ : this.passwordVaultSecretId.hashCode());
return result;
}
}
diff --git a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/UpdateDrProtectionGroupMemberDetails.java b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/UpdateDrProtectionGroupMemberDetails.java
index fd8e8279761..443daa5aedc 100644
--- a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/UpdateDrProtectionGroupMemberDetails.java
+++ b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/UpdateDrProtectionGroupMemberDetails.java
@@ -40,9 +40,15 @@
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = UpdateDrProtectionGroupMemberComputeInstanceNonMovableDetails.class,
name = "COMPUTE_INSTANCE_NON_MOVABLE"),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = UpdateDrProtectionGroupMemberAutonomousContainerDatabaseDetails.class,
+ name = "AUTONOMOUS_CONTAINER_DATABASE"),
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = UpdateDrProtectionGroupMemberLoadBalancerDetails.class,
name = "LOAD_BALANCER"),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = UpdateDrProtectionGroupMemberObjectStorageBucketDetails.class,
+ name = "OBJECT_STORAGE_BUCKET"),
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = UpdateDrProtectionGroupMemberComputeInstanceMovableDetails.class,
name = "COMPUTE_INSTANCE_MOVABLE"),
diff --git a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/UpdateDrProtectionGroupMemberObjectStorageBucketDetails.java b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/UpdateDrProtectionGroupMemberObjectStorageBucketDetails.java
new file mode 100644
index 00000000000..41e800b96e5
--- /dev/null
+++ b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/model/UpdateDrProtectionGroupMemberObjectStorageBucketDetails.java
@@ -0,0 +1,212 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.disasterrecovery.model;
+
+/**
+ * Update properties for a object storage bucket member.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model
+ * distinguishes fields that are {@code null} because they are unset from fields that are explicitly
+ * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a
+ * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link
+ * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set
+ * fields into account. The constructor, on the other hand, does not take the explicitly set fields
+ * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code
+ * null}).
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220125")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = UpdateDrProtectionGroupMemberObjectStorageBucketDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "memberType")
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class UpdateDrProtectionGroupMemberObjectStorageBucketDetails
+ extends UpdateDrProtectionGroupMemberDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("memberId")
+ private String memberId;
+
+ public Builder memberId(String memberId) {
+ this.memberId = memberId;
+ this.__explicitlySet__.add("memberId");
+ return this;
+ }
+ /**
+ * The namespace in object storage (Note - this is usually the tenancy name).
+ *
+ *
Example: {@code myocitenancy}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("namespaceName")
+ private String namespaceName;
+
+ /**
+ * The namespace in object storage (Note - this is usually the tenancy name).
+ *
+ *
Example: {@code myocitenancy}
+ *
+ * @param namespaceName the value to set
+ * @return this builder
+ */
+ public Builder namespaceName(String namespaceName) {
+ this.namespaceName = namespaceName;
+ this.__explicitlySet__.add("namespaceName");
+ return this;
+ }
+ /**
+ * The bucket name inside the object storage namespace.
+ *
+ *
Example: {@code bucket_name}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("bucketName")
+ private String bucketName;
+
+ /**
+ * The bucket name inside the object storage namespace.
+ *
+ *
Example: {@code bucket_name}
+ *
+ * @param bucketName the value to set
+ * @return this builder
+ */
+ public Builder bucketName(String bucketName) {
+ this.bucketName = bucketName;
+ this.__explicitlySet__.add("bucketName");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public UpdateDrProtectionGroupMemberObjectStorageBucketDetails build() {
+ UpdateDrProtectionGroupMemberObjectStorageBucketDetails model =
+ new UpdateDrProtectionGroupMemberObjectStorageBucketDetails(
+ this.memberId, this.namespaceName, this.bucketName);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(UpdateDrProtectionGroupMemberObjectStorageBucketDetails model) {
+ if (model.wasPropertyExplicitlySet("memberId")) {
+ this.memberId(model.getMemberId());
+ }
+ if (model.wasPropertyExplicitlySet("namespaceName")) {
+ this.namespaceName(model.getNamespaceName());
+ }
+ if (model.wasPropertyExplicitlySet("bucketName")) {
+ this.bucketName(model.getBucketName());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public UpdateDrProtectionGroupMemberObjectStorageBucketDetails(
+ String memberId, String namespaceName, String bucketName) {
+ super(memberId);
+ this.namespaceName = namespaceName;
+ this.bucketName = bucketName;
+ }
+
+ /**
+ * The namespace in object storage (Note - this is usually the tenancy name).
+ *
+ * Example: {@code myocitenancy}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("namespaceName")
+ private final String namespaceName;
+
+ /**
+ * The namespace in object storage (Note - this is usually the tenancy name).
+ *
+ *
Example: {@code myocitenancy}
+ *
+ * @return the value
+ */
+ public String getNamespaceName() {
+ return namespaceName;
+ }
+
+ /**
+ * The bucket name inside the object storage namespace.
+ *
+ *
Example: {@code bucket_name}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("bucketName")
+ private final String bucketName;
+
+ /**
+ * The bucket name inside the object storage namespace.
+ *
+ *
Example: {@code bucket_name}
+ *
+ * @return the value
+ */
+ public String getBucketName() {
+ return bucketName;
+ }
+
+ @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("UpdateDrProtectionGroupMemberObjectStorageBucketDetails(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(", namespaceName=").append(String.valueOf(this.namespaceName));
+ sb.append(", bucketName=").append(String.valueOf(this.bucketName));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof UpdateDrProtectionGroupMemberObjectStorageBucketDetails)) {
+ return false;
+ }
+
+ UpdateDrProtectionGroupMemberObjectStorageBucketDetails other =
+ (UpdateDrProtectionGroupMemberObjectStorageBucketDetails) o;
+ return java.util.Objects.equals(this.namespaceName, other.namespaceName)
+ && java.util.Objects.equals(this.bucketName, other.bucketName)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.namespaceName == null ? 43 : this.namespaceName.hashCode());
+ result = (result * PRIME) + (this.bucketName == null ? 43 : this.bucketName.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/requests/ListDrPlanExecutionsRequest.java b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/requests/ListDrPlanExecutionsRequest.java
index cc8e2e9eac4..8e16159d290 100644
--- a/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/requests/ListDrPlanExecutionsRequest.java
+++ b/bmc-disasterrecovery/src/main/java/com/oracle/bmc/disasterrecovery/requests/ListDrPlanExecutionsRequest.java
@@ -51,13 +51,6 @@ public com.oracle.bmc.disasterrecovery.model.DrPlanExecutionLifecycleState getLi
public String getDrPlanExecutionId() {
return drPlanExecutionId;
}
- /** The DR plan execution type. */
- private com.oracle.bmc.disasterrecovery.model.DrPlanExecutionType drPlanExecutionType;
-
- /** The DR plan execution type. */
- public com.oracle.bmc.disasterrecovery.model.DrPlanExecutionType getDrPlanExecutionType() {
- return drPlanExecutionType;
- }
/**
* A filter to return only resources that match the given display name.
*
@@ -252,22 +245,6 @@ public Builder drPlanExecutionId(String drPlanExecutionId) {
return this;
}
- /** The DR plan execution type. */
- private com.oracle.bmc.disasterrecovery.model.DrPlanExecutionType drPlanExecutionType =
- null;
-
- /**
- * The DR plan execution type.
- *
- * @param drPlanExecutionType the value to set
- * @return this builder instance
- */
- public Builder drPlanExecutionType(
- com.oracle.bmc.disasterrecovery.model.DrPlanExecutionType drPlanExecutionType) {
- this.drPlanExecutionType = drPlanExecutionType;
- return this;
- }
-
/**
* A filter to return only resources that match the given display name.
*
@@ -425,7 +402,6 @@ public Builder copy(ListDrPlanExecutionsRequest o) {
drProtectionGroupId(o.getDrProtectionGroupId());
lifecycleState(o.getLifecycleState());
drPlanExecutionId(o.getDrPlanExecutionId());
- drPlanExecutionType(o.getDrPlanExecutionType());
displayName(o.getDisplayName());
limit(o.getLimit());
page(o.getPage());
@@ -469,7 +445,6 @@ public ListDrPlanExecutionsRequest buildWithoutInvocationCallback() {
request.drProtectionGroupId = drProtectionGroupId;
request.lifecycleState = lifecycleState;
request.drPlanExecutionId = drPlanExecutionId;
- request.drPlanExecutionType = drPlanExecutionType;
request.displayName = displayName;
request.limit = limit;
request.page = page;
@@ -478,8 +453,7 @@ public ListDrPlanExecutionsRequest buildWithoutInvocationCallback() {
request.opcRequestId = opcRequestId;
return request;
// new ListDrPlanExecutionsRequest(drProtectionGroupId, lifecycleState,
- // drPlanExecutionId, drPlanExecutionType, displayName, limit, page, sortOrder, sortBy,
- // opcRequestId);
+ // drPlanExecutionId, displayName, limit, page, sortOrder, sortBy, opcRequestId);
}
}
@@ -493,7 +467,6 @@ public Builder toBuilder() {
.drProtectionGroupId(drProtectionGroupId)
.lifecycleState(lifecycleState)
.drPlanExecutionId(drPlanExecutionId)
- .drPlanExecutionType(drPlanExecutionType)
.displayName(displayName)
.limit(limit)
.page(page)
@@ -519,7 +492,6 @@ public String toString() {
sb.append(",drProtectionGroupId=").append(String.valueOf(this.drProtectionGroupId));
sb.append(",lifecycleState=").append(String.valueOf(this.lifecycleState));
sb.append(",drPlanExecutionId=").append(String.valueOf(this.drPlanExecutionId));
- sb.append(",drPlanExecutionType=").append(String.valueOf(this.drPlanExecutionType));
sb.append(",displayName=").append(String.valueOf(this.displayName));
sb.append(",limit=").append(String.valueOf(this.limit));
sb.append(",page=").append(String.valueOf(this.page));
@@ -544,7 +516,6 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.drProtectionGroupId, other.drProtectionGroupId)
&& java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
&& java.util.Objects.equals(this.drPlanExecutionId, other.drPlanExecutionId)
- && java.util.Objects.equals(this.drPlanExecutionType, other.drPlanExecutionType)
&& java.util.Objects.equals(this.displayName, other.displayName)
&& java.util.Objects.equals(this.limit, other.limit)
&& java.util.Objects.equals(this.page, other.page)
@@ -568,11 +539,6 @@ public int hashCode() {
result =
(result * PRIME)
+ (this.drPlanExecutionId == null ? 43 : this.drPlanExecutionId.hashCode());
- result =
- (result * PRIME)
- + (this.drPlanExecutionType == null
- ? 43
- : this.drPlanExecutionType.hashCode());
result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode());
result = (result * PRIME) + (this.limit == null ? 43 : this.limit.hashCode());
result = (result * PRIME) + (this.page == null ? 43 : this.page.hashCode());
diff --git a/bmc-disasterrecovery/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-disasterrecovery/reflect-config.json b/bmc-disasterrecovery/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-disasterrecovery/reflect-config.json
index a020f22e97e..f68d736317a 100644
--- a/bmc-disasterrecovery/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-disasterrecovery/reflect-config.json
+++ b/bmc-disasterrecovery/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-disasterrecovery/reflect-config.json
@@ -19,6 +19,18 @@
"allDeclaredMethods": true,
"allDeclaredConstructors": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.disasterrecovery.model.AutonomousContainerDatabaseSnapshotStandbyConnectionStringType",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.disasterrecovery.model.AutonomousDatabaseStandbyTypeForDrDrills",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.disasterrecovery.model.BlockVolumeAttachmentDetails",
@@ -285,6 +297,20 @@
"allDeclaredMethods": true,
"allDeclaredConstructors": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.disasterrecovery.model.CreateDrProtectionGroupMemberAutonomousContainerDatabaseDetails",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.disasterrecovery.model.CreateDrProtectionGroupMemberAutonomousContainerDatabaseDetails$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.disasterrecovery.model.CreateDrProtectionGroupMemberAutonomousDatabaseDetails",
@@ -404,6 +430,20 @@
"allDeclaredMethods": true,
"allDeclaredConstructors": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.disasterrecovery.model.CreateDrProtectionGroupMemberObjectStorageBucketDetails",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.disasterrecovery.model.CreateDrProtectionGroupMemberObjectStorageBucketDetails$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.disasterrecovery.model.CreateDrProtectionGroupMemberVolumeGroupDetails",
@@ -780,6 +820,20 @@
"allDeclaredMethods": true,
"queryAllDeclaredConstructors": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.disasterrecovery.model.DrProtectionGroupMemberAutonomousContainerDatabase",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.disasterrecovery.model.DrProtectionGroupMemberAutonomousContainerDatabase$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.disasterrecovery.model.DrProtectionGroupMemberAutonomousDatabase",
@@ -892,6 +946,20 @@
"allDeclaredMethods": true,
"allDeclaredConstructors": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.disasterrecovery.model.DrProtectionGroupMemberObjectStorageBucket",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.disasterrecovery.model.DrProtectionGroupMemberObjectStorageBucket$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.disasterrecovery.model.DrProtectionGroupMemberType",
@@ -1607,6 +1675,20 @@
"allDeclaredMethods": true,
"allDeclaredConstructors": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.disasterrecovery.model.UpdateDrProtectionGroupMemberAutonomousContainerDatabaseDetails",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.disasterrecovery.model.UpdateDrProtectionGroupMemberAutonomousContainerDatabaseDetails$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.disasterrecovery.model.UpdateDrProtectionGroupMemberAutonomousDatabaseDetails",
@@ -1726,6 +1808,20 @@
"allDeclaredMethods": true,
"allDeclaredConstructors": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.disasterrecovery.model.UpdateDrProtectionGroupMemberObjectStorageBucketDetails",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.disasterrecovery.model.UpdateDrProtectionGroupMemberObjectStorageBucketDetails$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.disasterrecovery.model.UpdateDrProtectionGroupMemberVolumeGroupDetails",
diff --git a/bmc-dns/pom.xml b/bmc-dns/pom.xml
index a187a78fdd4..2fff1519cba 100644
--- a/bmc-dns/pom.xml
+++ b/bmc-dns/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
@@ -18,12 +18,12 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
com.oracle.oci.sdk
oci-java-sdk-workrequests
- 3.46.1
+ 3.47.0
diff --git a/bmc-dts/pom.xml b/bmc-dts/pom.xml
index 4b523aa0a8b..a7901617d0f 100644
--- a/bmc-dts/pom.xml
+++ b/bmc-dts/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-dts
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
diff --git a/bmc-email/pom.xml b/bmc-email/pom.xml
index c6132bac4c7..d56126b60fe 100644
--- a/bmc-email/pom.xml
+++ b/bmc-email/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
@@ -18,7 +18,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
diff --git a/bmc-emaildataplane/pom.xml b/bmc-emaildataplane/pom.xml
index 9858fec5257..ded3bd12dc1 100644
--- a/bmc-emaildataplane/pom.xml
+++ b/bmc-emaildataplane/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-emaildataplane
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
\ No newline at end of file
diff --git a/bmc-emwarehouse/pom.xml b/bmc-emwarehouse/pom.xml
index c53f8ddbdda..1eb645b626f 100644
--- a/bmc-emwarehouse/pom.xml
+++ b/bmc-emwarehouse/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-emwarehouse
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
\ No newline at end of file
diff --git a/bmc-encryption/pom.xml b/bmc-encryption/pom.xml
index 130056ea020..20d9a3c602a 100644
--- a/bmc-encryption/pom.xml
+++ b/bmc-encryption/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
@@ -18,17 +18,17 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
com.oracle.oci.sdk
oci-java-sdk-common-httpclient
- 3.46.1
+ 3.47.0
com.oracle.oci.sdk
oci-java-sdk-keymanagement
- 3.46.1
+ 3.47.0
com.fasterxml.jackson.core
@@ -43,7 +43,7 @@
com.oracle.oci.sdk
oci-java-sdk-common-httpclient-jersey
- 3.46.1
+ 3.47.0
test
diff --git a/bmc-enforcer-rules/pom.xml b/bmc-enforcer-rules/pom.xml
index 406319ca807..b70d5f45906 100644
--- a/bmc-enforcer-rules/pom.xml
+++ b/bmc-enforcer-rules/pom.xml
@@ -6,7 +6,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
oci-java-sdk-enforcer-rules
diff --git a/bmc-events/pom.xml b/bmc-events/pom.xml
index 38a19b7d81d..96947bdf9f2 100644
--- a/bmc-events/pom.xml
+++ b/bmc-events/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-events
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
diff --git a/bmc-examples/pom.xml b/bmc-examples/pom.xml
index 62529c7ef96..437a4434b0f 100644
--- a/bmc-examples/pom.xml
+++ b/bmc-examples/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
oci-java-sdk-examples
@@ -71,14 +71,14 @@
com.oracle.oci.sdk
oci-java-sdk-bom
- 3.46.1
+ 3.47.0
pom
import
com.oracle.oci.sdk
oci-java-sdk-common-httpclient-jersey
- 3.46.1
+ 3.47.0
pom
import
@@ -710,5 +710,9 @@
org.slf4j
slf4j-simple
+
+ com.oracle.oci.sdk
+ oci-java-sdk-fleetappsmanagement
+
\ No newline at end of file
diff --git a/bmc-filestorage/pom.xml b/bmc-filestorage/pom.xml
index bade4a86744..4e63c137558 100644
--- a/bmc-filestorage/pom.xml
+++ b/bmc-filestorage/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.46.1
+ 3.47.0
../pom.xml
@@ -18,7 +18,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.46.1
+ 3.47.0
diff --git a/bmc-fleetappsmanagement/pom.xml b/bmc-fleetappsmanagement/pom.xml
new file mode 100644
index 00000000000..d8ef5d321ad
--- /dev/null
+++ b/bmc-fleetappsmanagement/pom.xml
@@ -0,0 +1,21 @@
+
+
+ 4.0.0
+
+ com.oracle.oci.sdk
+ oci-java-sdk
+ 3.47.0
+ ../pom.xml
+
+ oci-java-sdk-fleetappsmanagement
+ Oracle Cloud Infrastructure SDK - Fleet Apps Management
+ This project contains the SDK used for Oracle Cloud Infrastructure Fleet Apps Management
+ https://docs.cloud.oracle.com/Content/API/SDKDocs/javasdk.htm
+
+
+ com.oracle.oci.sdk
+ oci-java-sdk-common
+ 3.47.0
+
+
+
\ No newline at end of file
diff --git a/bmc-fleetappsmanagement/src/main/java/com/oracle/bmc/fleetappsmanagement/FleetAppsManagement.java b/bmc-fleetappsmanagement/src/main/java/com/oracle/bmc/fleetappsmanagement/FleetAppsManagement.java
new file mode 100644
index 00000000000..2e3e568b7c7
--- /dev/null
+++ b/bmc-fleetappsmanagement/src/main/java/com/oracle/bmc/fleetappsmanagement/FleetAppsManagement.java
@@ -0,0 +1,641 @@
+/**
+ * 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.fleetappsmanagement;
+
+import com.oracle.bmc.fleetappsmanagement.requests.*;
+import com.oracle.bmc.fleetappsmanagement.responses.*;
+
+/**
+ * Fleet Application Management Service API. Use this API to for all FAMS related activities. To
+ * manage fleets,view complaince report for the Fleet,scedule patches and other lifecycle activities
+ *
+ *
This service client uses CircuitBreakerUtils.DEFAULT_CIRCUIT_BREAKER for all the operations by
+ * default if no circuit breaker configuration is defined by the user.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20230831")
+public interface FleetAppsManagement extends AutoCloseable {
+
+ /** Rebuilds the client from scratch. Useful to refresh certificates. */
+ void refreshClient();
+
+ /**
+ * Sets the endpoint to call (ex, https://www.example.com).
+ *
+ * @param endpoint The endpoint of the service.
+ */
+ void setEndpoint(String endpoint);
+
+ /** Gets the set endpoint for REST call (ex, https://www.example.com) */
+ String getEndpoint();
+
+ /**
+ * Sets the region to call (ex, Region.US_PHOENIX_1).
+ *
+ *
Note, this will call {@link #setEndpoint(String) setEndpoint} after resolving the
+ * endpoint. If the service is not available in this Region, however, an
+ * IllegalArgumentException will be raised.
+ *
+ * @param region The region of the service.
+ */
+ void setRegion(com.oracle.bmc.Region region);
+
+ /**
+ * Sets the region to call (ex, 'us-phoenix-1').
+ *
+ *
Note, this will first try to map the region ID to a known Region and call {@link
+ * #setRegion(Region) setRegion}.
+ *
+ *
If no known Region could be determined, it will create an endpoint based on the default
+ * endpoint format ({@link com.oracle.bmc.Region#formatDefaultRegionEndpoint(Service, String)}
+ * and then call {@link #setEndpoint(String) setEndpoint}.
+ *
+ * @param regionId The public region ID.
+ */
+ void setRegion(String regionId);
+
+ /**
+ * Determines whether realm specific endpoint should be used or not. Set
+ * realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm
+ * specific endpoint template, otherwise set it to "false"
+ *
+ * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint
+ * template
+ */
+ void useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled);
+
+ /**
+ * Check if FAMS tags can be added for the resources
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use
+ * CheckResourceTagging API.
+ */
+ CheckResourceTaggingResponse checkResourceTagging(CheckResourceTaggingRequest request);
+
+ /**
+ * Confirm targets to be managed for a Fleet.Only targets that are confirmed will be managed by
+ * FAMS
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use ConfirmTargets API.
+ */
+ ConfirmTargetsResponse confirmTargets(ConfirmTargetsRequest request);
+
+ /**
+ * Creates a new fleet instance that includes fleet resources and properties. For more
+ * information, please see the documentation.
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use CreateFleet API.
+ */
+ CreateFleetResponse createFleet(CreateFleetRequest request);
+
+ /**
+ * Creates a new FleetCredential.
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use
+ * CreateFleetCredential API.
+ */
+ CreateFleetCredentialResponse createFleetCredential(CreateFleetCredentialRequest request);
+
+ /**
+ * Creates a new FleetProperty.
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use CreateFleetProperty
+ * API.
+ */
+ CreateFleetPropertyResponse createFleetProperty(CreateFleetPropertyRequest request);
+
+ /**
+ * Creates a new FleetResource.
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use CreateFleetResource
+ * API.
+ */
+ CreateFleetResourceResponse createFleetResource(CreateFleetResourceRequest request);
+
+ /**
+ * Deletes a Fleet resource by identifier
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use DeleteFleet API.
+ */
+ DeleteFleetResponse deleteFleet(DeleteFleetRequest request);
+
+ /**
+ * Deletes a FleetCredential resource by identifier
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use
+ * DeleteFleetCredential API.
+ */
+ DeleteFleetCredentialResponse deleteFleetCredential(DeleteFleetCredentialRequest request);
+
+ /**
+ * Deletes a FleetProperty resource by identifier
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use DeleteFleetProperty
+ * API.
+ */
+ DeleteFleetPropertyResponse deleteFleetProperty(DeleteFleetPropertyRequest request);
+
+ /**
+ * Deletes a FleetResource resource by identifier
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use DeleteFleetResource
+ * API.
+ */
+ DeleteFleetResourceResponse deleteFleetResource(DeleteFleetResourceRequest request);
+
+ /**
+ * Request to generate compliance report for a Fleet
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use
+ * GenerateComplianceReport API.
+ */
+ GenerateComplianceReportResponse generateComplianceReport(
+ GenerateComplianceReportRequest request);
+
+ /**
+ * Retrieve compiane report for a Fleet
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use GetComplianceReport
+ * API.
+ */
+ GetComplianceReportResponse getComplianceReport(GetComplianceReportRequest request);
+
+ /**
+ * Gets a Fleet by identifier
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use GetFleet API.
+ */
+ GetFleetResponse getFleet(GetFleetRequest request);
+
+ /**
+ * Gets a FleetCredential by identifier
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use GetFleetCredential
+ * API.
+ */
+ GetFleetCredentialResponse getFleetCredential(GetFleetCredentialRequest request);
+
+ /**
+ * Gets a FleetProperty by identifier
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use GetFleetProperty
+ * API.
+ */
+ GetFleetPropertyResponse getFleetProperty(GetFleetPropertyRequest request);
+
+ /**
+ * Gets a FleetResource by identifier
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use GetFleetResource
+ * API.
+ */
+ GetFleetResourceResponse getFleetResource(GetFleetResourceRequest request);
+
+ /**
+ * Gets details of the work request with 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 uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use GetWorkRequest API.
+ */
+ GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request);
+
+ /**
+ * Return a list of AnnouncementSummary items
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use ListAnnouncements
+ * API.
+ */
+ ListAnnouncementsResponse listAnnouncements(ListAnnouncementsRequest request);
+
+ /**
+ * Returns a list of FleetCredentials.
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use
+ * ListFleetCredentials API.
+ */
+ ListFleetCredentialsResponse listFleetCredentials(ListFleetCredentialsRequest request);
+
+ /**
+ * Returns a list of FleetProducts.
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use ListFleetProducts
+ * API.
+ */
+ ListFleetProductsResponse listFleetProducts(ListFleetProductsRequest request);
+
+ /**
+ * Returns a list of FleetProperties.
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use ListFleetProperties
+ * API.
+ */
+ ListFleetPropertiesResponse listFleetProperties(ListFleetPropertiesRequest request);
+
+ /**
+ * Returns a list of FleetResources.
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use ListFleetResources
+ * API.
+ */
+ ListFleetResourcesResponse listFleetResources(ListFleetResourcesRequest request);
+
+ /**
+ * Returns a list of FleetTargets.
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use ListFleetTargets
+ * API.
+ */
+ ListFleetTargetsResponse listFleetTargets(ListFleetTargetsRequest request);
+
+ /**
+ * Returns a list of Fleets in the specified Tenancy.
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use ListFleets API.
+ */
+ ListFleetsResponse listFleets(ListFleetsRequest request);
+
+ /**
+ * Returns a list of InventoryResources.
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use
+ * ListInventoryResources API.
+ */
+ ListInventoryResourcesResponse listInventoryResources(ListInventoryResourcesRequest request);
+
+ /**
+ * Returns a list of FleetTargets.
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use ListTargets API.
+ */
+ ListTargetsResponse listTargets(ListTargetsRequest request);
+
+ /**
+ * Returns a (paginated) list of errors for the work request with 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 uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use
+ * ListWorkRequestErrors API.
+ */
+ ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request);
+
+ /**
+ * Returns a (paginated) list of logs for the work request with 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 uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use ListWorkRequestLogs
+ * API.
+ */
+ ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request);
+
+ /**
+ * Lists the work requests in a compartment.
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use ListWorkRequests
+ * API.
+ */
+ ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request);
+
+ /**
+ * Request validation for resources with in a fleet
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use
+ * RequestResourceValidation API.
+ */
+ RequestResourceValidationResponse requestResourceValidation(
+ RequestResourceValidationRequest request);
+
+ /**
+ * Confirm targets to be managed for a Fleet.Only targets that are confirmed will be managed by
+ * FAMS
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use
+ * RequestTargetDiscovery API.
+ */
+ RequestTargetDiscoveryResponse requestTargetDiscovery(RequestTargetDiscoveryRequest request);
+
+ /**
+ * Updates the Fleet
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use UpdateFleet API.
+ */
+ UpdateFleetResponse updateFleet(UpdateFleetRequest request);
+
+ /**
+ * Updates the FleetCredential
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use
+ * UpdateFleetCredential API.
+ */
+ UpdateFleetCredentialResponse updateFleetCredential(UpdateFleetCredentialRequest request);
+
+ /**
+ * Updates the FleetProperty
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use UpdateFleetProperty
+ * API.
+ */
+ UpdateFleetPropertyResponse updateFleetProperty(UpdateFleetPropertyRequest request);
+
+ /**
+ * Updates the FleetResource
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use UpdateFleetResource
+ * API.
+ */
+ UpdateFleetResourceResponse updateFleetResource(UpdateFleetResourceRequest request);
+
+ /**
+ * Gets the pre-configured waiters available for resources for this service.
+ *
+ * @return The service waiters.
+ */
+ FleetAppsManagementWaiters getWaiters();
+
+ /**
+ * Gets the pre-configured paginators available for list operations in this service which may
+ * return multiple pages of data. These paginators provide an {@link java.lang.Iterable}
+ * interface so that service responses, or resources/records, can be iterated through without
+ * having to manually deal with pagination and page tokens.
+ *
+ * @return The service paginators.
+ */
+ FleetAppsManagementPaginators getPaginators();
+}
diff --git a/bmc-fleetappsmanagement/src/main/java/com/oracle/bmc/fleetappsmanagement/FleetAppsManagementAdmin.java b/bmc-fleetappsmanagement/src/main/java/com/oracle/bmc/fleetappsmanagement/FleetAppsManagementAdmin.java
new file mode 100644
index 00000000000..ae44c092229
--- /dev/null
+++ b/bmc-fleetappsmanagement/src/main/java/com/oracle/bmc/fleetappsmanagement/FleetAppsManagementAdmin.java
@@ -0,0 +1,207 @@
+/**
+ * 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.fleetappsmanagement;
+
+import com.oracle.bmc.fleetappsmanagement.requests.*;
+import com.oracle.bmc.fleetappsmanagement.responses.*;
+
+/**
+ * Fleet Application Management Service API. Use this API to for all FAMS related activities. To
+ * manage fleets,view complaince report for the Fleet,scedule patches and other lifecycle activities
+ *
+ *
This service client uses CircuitBreakerUtils.DEFAULT_CIRCUIT_BREAKER for all the operations by
+ * default if no circuit breaker configuration is defined by the user.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20230831")
+public interface FleetAppsManagementAdmin extends AutoCloseable {
+
+ /** Rebuilds the client from scratch. Useful to refresh certificates. */
+ void refreshClient();
+
+ /**
+ * Sets the endpoint to call (ex, https://www.example.com).
+ *
+ * @param endpoint The endpoint of the service.
+ */
+ void setEndpoint(String endpoint);
+
+ /** Gets the set endpoint for REST call (ex, https://www.example.com) */
+ String getEndpoint();
+
+ /**
+ * Sets the region to call (ex, Region.US_PHOENIX_1).
+ *
+ *
Note, this will call {@link #setEndpoint(String) setEndpoint} after resolving the
+ * endpoint. If the service is not available in this Region, however, an
+ * IllegalArgumentException will be raised.
+ *
+ * @param region The region of the service.
+ */
+ void setRegion(com.oracle.bmc.Region region);
+
+ /**
+ * Sets the region to call (ex, 'us-phoenix-1').
+ *
+ *
Note, this will first try to map the region ID to a known Region and call {@link
+ * #setRegion(Region) setRegion}.
+ *
+ *
If no known Region could be determined, it will create an endpoint based on the default
+ * endpoint format ({@link com.oracle.bmc.Region#formatDefaultRegionEndpoint(Service, String)}
+ * and then call {@link #setEndpoint(String) setEndpoint}.
+ *
+ * @param regionId The public region ID.
+ */
+ void setRegion(String regionId);
+
+ /**
+ * Determines whether realm specific endpoint should be used or not. Set
+ * realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm
+ * specific endpoint template, otherwise set it to "false"
+ *
+ * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint
+ * template
+ */
+ void useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled);
+
+ /**
+ * Onboard a tenant to Fleet Application Management Service
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use CreateOnboarding
+ * API.
+ */
+ CreateOnboardingResponse createOnboarding(CreateOnboardingRequest request);
+
+ /**
+ * Creates a new Property.
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use CreateProperty API.
+ */
+ CreatePropertyResponse createProperty(CreatePropertyRequest request);
+
+ /**
+ * Deletes a Property resource by identifier
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use DeleteProperty API.
+ */
+ DeletePropertyResponse deleteProperty(DeletePropertyRequest request);
+
+ /**
+ * Gets a Property by identifier
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use GetProperty API.
+ */
+ GetPropertyResponse getProperty(GetPropertyRequest request);
+
+ /**
+ * Returns a list of onboarding policy information for FAMS.
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use
+ * ListOnboardingPolicies API.
+ */
+ ListOnboardingPoliciesResponse listOnboardingPolicies(ListOnboardingPoliciesRequest request);
+
+ /**
+ * Returns a list of onboarding information for the Tenancy.
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use ListOnboardings
+ * API.
+ */
+ ListOnboardingsResponse listOnboardings(ListOnboardingsRequest request);
+
+ /**
+ * Returns a list of Properties for Tenancy.
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use ListProperties API.
+ */
+ ListPropertiesResponse listProperties(ListPropertiesRequest request);
+
+ /**
+ * Updates the Property
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use UpdateProperty API.
+ */
+ UpdatePropertyResponse updateProperty(UpdatePropertyRequest request);
+
+ /**
+ * Gets the pre-configured waiters available for resources for this service.
+ *
+ * @return The service waiters.
+ */
+ FleetAppsManagementAdminWaiters getWaiters();
+
+ /**
+ * Gets the pre-configured paginators available for list operations in this service which may
+ * return multiple pages of data. These paginators provide an {@link java.lang.Iterable}
+ * interface so that service responses, or resources/records, can be iterated through without
+ * having to manually deal with pagination and page tokens.
+ *
+ * @return The service paginators.
+ */
+ FleetAppsManagementAdminPaginators getPaginators();
+}
diff --git a/bmc-fleetappsmanagement/src/main/java/com/oracle/bmc/fleetappsmanagement/FleetAppsManagementAdminAsync.java b/bmc-fleetappsmanagement/src/main/java/com/oracle/bmc/fleetappsmanagement/FleetAppsManagementAdminAsync.java
new file mode 100644
index 00000000000..c51ae68479e
--- /dev/null
+++ b/bmc-fleetappsmanagement/src/main/java/com/oracle/bmc/fleetappsmanagement/FleetAppsManagementAdminAsync.java
@@ -0,0 +1,184 @@
+/**
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.fleetappsmanagement;
+
+import com.oracle.bmc.fleetappsmanagement.requests.*;
+import com.oracle.bmc.fleetappsmanagement.responses.*;
+
+/**
+ * Fleet Application Management Service API. Use this API to for all FAMS related activities. To
+ * manage fleets,view complaince report for the Fleet,scedule patches and other lifecycle activities
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20230831")
+public interface FleetAppsManagementAdminAsync extends AutoCloseable {
+
+ /** Rebuilds the client from scratch. Useful to refresh certificates. */
+ void refreshClient();
+
+ /**
+ * Sets the endpoint to call (ex, https://www.example.com).
+ *
+ * @param endpoint The endpoint of the serice.
+ */
+ void setEndpoint(String endpoint);
+
+ /** Gets the set endpoint for REST call (ex, https://www.example.com) */
+ String getEndpoint();
+
+ /**
+ * Sets the region to call (ex, Region.US_PHOENIX_1).
+ *
+ *
Note, this will call {@link #setEndpoint(String) setEndpoint} after resolving the
+ * endpoint. If the service is not available in this region, however, an
+ * IllegalArgumentException will be raised.
+ *
+ * @param region The region of the service.
+ */
+ void setRegion(com.oracle.bmc.Region region);
+
+ /**
+ * Sets the region to call (ex, 'us-phoenix-1').
+ *
+ *
Note, this will first try to map the region ID to a known Region and call {@link
+ * #setRegion(Region) setRegion}.
+ *
+ *
If no known Region could be determined, it will create an endpoint based on the default
+ * endpoint format ({@link com.oracle.bmc.Region#formatDefaultRegionEndpoint(Service, String)}
+ * and then call {@link #setEndpoint(String) setEndpoint}.
+ *
+ * @param regionId The public region ID.
+ */
+ void setRegion(String regionId);
+
+ /**
+ * Determines whether realm specific endpoint should be used or not. Set
+ * realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm
+ * specific endpoint template, otherwise set it to "false"
+ *
+ * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint
+ * template
+ */
+ void useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled);
+
+ /**
+ * Onboard a tenant to Fleet Application Management Service
+ *
+ * @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 createOnboarding(
+ CreateOnboardingRequest request,
+ com.oracle.bmc.responses.AsyncHandler
+ handler);
+
+ /**
+ * Creates a new Property.
+ *
+ * @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 createProperty(
+ CreatePropertyRequest request,
+ com.oracle.bmc.responses.AsyncHandler
+ handler);
+
+ /**
+ * Deletes a Property resource by identifier
+ *
+ * @param request The request object containing the details to send
+ * @param handler The request handler to invoke upon completion, may be null.
+ * @return A Future that can be used to get the response if no AsyncHandler was provided. Note,
+ * if you provide an AsyncHandler and use the Future, some types of responses (like
+ * java.io.InputStream) may not be able to be read in both places as the underlying stream
+ * may only be consumed once.
+ */
+ java.util.concurrent.Future deleteProperty(
+ DeletePropertyRequest request,
+ com.oracle.bmc.responses.AsyncHandler
+ handler);
+
+ /**
+ * Gets a Property by identifier
+ *
+ * @param request The request object containing the details to send
+ * @param handler The request handler to invoke upon completion, may be null.
+ * @return A Future that can be used to get the response if no AsyncHandler was provided. Note,
+ * if you provide an AsyncHandler and use the Future, some types of responses (like
+ * java.io.InputStream) may not be able to be read in both places as the underlying stream
+ * may only be consumed once.
+ */
+ java.util.concurrent.Future getProperty(
+ GetPropertyRequest request,
+ com.oracle.bmc.responses.AsyncHandler handler);
+
+ /**
+ * Returns a list of onboarding policy information for FAMS.
+ *
+ * @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 listOnboardingPolicies(
+ ListOnboardingPoliciesRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ ListOnboardingPoliciesRequest, ListOnboardingPoliciesResponse>
+ handler);
+
+ /**
+ * Returns a list of onboarding information for the Tenancy.
+ *
+ * @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 listOnboardings(
+ ListOnboardingsRequest request,
+ com.oracle.bmc.responses.AsyncHandler
+ handler);
+
+ /**
+ * Returns a list of Properties for Tenancy.
+ *
+ * @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 listProperties(
+ ListPropertiesRequest request,
+ com.oracle.bmc.responses.AsyncHandler
+ handler);
+
+ /**
+ * Updates the Property
+ *
+ * @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 updateProperty(
+ UpdatePropertyRequest request,
+ com.oracle.bmc.responses.AsyncHandler
+ handler);
+}
diff --git a/bmc-fleetappsmanagement/src/main/java/com/oracle/bmc/fleetappsmanagement/FleetAppsManagementAdminAsyncClient.java b/bmc-fleetappsmanagement/src/main/java/com/oracle/bmc/fleetappsmanagement/FleetAppsManagementAdminAsyncClient.java
new file mode 100644
index 00000000000..71621f4618c
--- /dev/null
+++ b/bmc-fleetappsmanagement/src/main/java/com/oracle/bmc/fleetappsmanagement/FleetAppsManagementAdminAsyncClient.java
@@ -0,0 +1,502 @@
+/**
+ * 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.fleetappsmanagement;
+
+import com.oracle.bmc.util.internal.Validate;
+import com.oracle.bmc.fleetappsmanagement.requests.*;
+import com.oracle.bmc.fleetappsmanagement.responses.*;
+
+import java.util.Objects;
+
+/**
+ * Async client implementation for FleetAppsManagementAdmin service.
+ * There are two ways to use async client: 1. Use AsyncHandler: using AsyncHandler, if the response
+ * to the call is an {@link java.io.InputStream}, like getObject Api in object storage service,
+ * developers need to process the stream in AsyncHandler, and not anywhere else, because the stream
+ * will be closed right after the AsyncHandler is invoked.
+ * 2. Use Java Future: using Java Future, developers need to close the stream after they are done
+ * with the Java Future.
+ * Accessing the result should be done in a mutually exclusive manner, either through the Future or
+ * the AsyncHandler, but not both. If the Future is used, the caller should pass in null as the
+ * AsyncHandler. If the AsyncHandler is used, it is still safe to use the Future to determine
+ * whether or not the request was completed via Future.isDone/isCancelled.
+ * Please refer to
+ * https://github.com/oracle/oci-java-sdk/blob/master/bmc-examples/src/main/java/ResteasyClientWithObjectStorageExample.java
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20230831")
+public class FleetAppsManagementAdminAsyncClient
+ extends com.oracle.bmc.http.internal.BaseAsyncClient
+ implements FleetAppsManagementAdminAsync {
+ /** Service instance for FleetAppsManagementAdmin. */
+ public static final com.oracle.bmc.Service SERVICE =
+ com.oracle.bmc.Services.serviceBuilder()
+ .serviceName("FLEETAPPSMANAGEMENTADMIN")
+ .serviceEndpointPrefix("")
+ .serviceEndpointTemplate("https://fams.{region}.oci.{secondLevelDomain}")
+ .build();
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(FleetAppsManagementAdminAsyncClient.class);
+
+ FleetAppsManagementAdminAsyncClient(
+ com.oracle.bmc.common.ClientBuilderBase, ?> builder,
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider
+ authenticationDetailsProvider) {
+ super(builder, authenticationDetailsProvider);
+ }
+
+ /**
+ * Create a builder for this client.
+ *
+ * @return builder
+ */
+ public static Builder builder() {
+ return new Builder(SERVICE);
+ }
+
+ /**
+ * Builder class for this client. The "authenticationDetailsProvider" is required and must be
+ * passed to the {@link #build(AbstractAuthenticationDetailsProvider)} method.
+ */
+ public static class Builder
+ extends com.oracle.bmc.common.RegionalClientBuilder<
+ Builder, FleetAppsManagementAdminAsyncClient> {
+ private Builder(com.oracle.bmc.Service service) {
+ super(service);
+ final String packageName = "fleetappsmanagement";
+ com.oracle.bmc.internal.Alloy.throwDisabledServiceExceptionIfAppropriate(packageName);
+ requestSignerFactory =
+ new com.oracle.bmc.http.signing.internal.DefaultRequestSignerFactory(
+ com.oracle.bmc.http.signing.SigningStrategy.STANDARD);
+ }
+
+ /**
+ * Build the client.
+ *
+ * @param authenticationDetailsProvider authentication details provider
+ * @return the client
+ */
+ public FleetAppsManagementAdminAsyncClient build(
+ @jakarta.annotation.Nonnull
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider
+ authenticationDetailsProvider) {
+ return new FleetAppsManagementAdminAsyncClient(this, authenticationDetailsProvider);
+ }
+ }
+
+ @Override
+ public void setRegion(com.oracle.bmc.Region region) {
+ super.setRegion(region);
+ }
+
+ @Override
+ public void setRegion(String regionId) {
+ super.setRegion(regionId);
+ }
+
+ @Override
+ public java.util.concurrent.Future createOnboarding(
+ CreateOnboardingRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ CreateOnboardingRequest, CreateOnboardingResponse>
+ handler) {
+ Objects.requireNonNull(
+ request.getCreateOnboardingDetails(), "createOnboardingDetails is required");
+
+ return clientCall(request, CreateOnboardingResponse::builder)
+ .logger(LOG, "createOnboarding")
+ .serviceDetails("FleetAppsManagementAdmin", "CreateOnboarding", "")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(CreateOnboardingRequest::builder)
+ .basePath("/20230831")
+ .appendPathParam("Onboardings")
+ .accept("application/json")
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .hasBody()
+ .handleBody(
+ com.oracle.bmc.fleetappsmanagement.model.Onboarding.class,
+ CreateOnboardingResponse.Builder::onboarding)
+ .handleResponseHeaderString("location", CreateOnboardingResponse.Builder::location)
+ .handleResponseHeaderString(
+ "content-location", CreateOnboardingResponse.Builder::contentLocation)
+ .handleResponseHeaderString("etag", CreateOnboardingResponse.Builder::etag)
+ .handleResponseHeaderString(
+ "opc-work-request-id", CreateOnboardingResponse.Builder::opcWorkRequestId)
+ .handleResponseHeaderString(
+ "opc-request-id", CreateOnboardingResponse.Builder::opcRequestId)
+ .callAsync(handler);
+ }
+
+ @Override
+ public java.util.concurrent.Future createProperty(
+ CreatePropertyRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ CreatePropertyRequest, CreatePropertyResponse>
+ handler) {
+ Objects.requireNonNull(
+ request.getCreatePropertyDetails(), "createPropertyDetails is required");
+
+ return clientCall(request, CreatePropertyResponse::builder)
+ .logger(LOG, "createProperty")
+ .serviceDetails("FleetAppsManagementAdmin", "CreateProperty", "")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(CreatePropertyRequest::builder)
+ .basePath("/20230831")
+ .appendPathParam("properties")
+ .accept("application/json")
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .hasBody()
+ .handleBody(
+ com.oracle.bmc.fleetappsmanagement.model.Property.class,
+ CreatePropertyResponse.Builder::property)
+ .handleResponseHeaderString("etag", CreatePropertyResponse.Builder::etag)
+ .handleResponseHeaderString(
+ "opc-request-id", CreatePropertyResponse.Builder::opcRequestId)
+ .callAsync(handler);
+ }
+
+ @Override
+ public java.util.concurrent.Future deleteProperty(
+ DeletePropertyRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ DeletePropertyRequest, DeletePropertyResponse>
+ handler) {
+
+ Validate.notBlank(request.getPropertyId(), "propertyId must not be blank");
+
+ return clientCall(request, DeletePropertyResponse::builder)
+ .logger(LOG, "deleteProperty")
+ .serviceDetails("FleetAppsManagementAdmin", "DeleteProperty", "")
+ .method(com.oracle.bmc.http.client.Method.DELETE)
+ .requestBuilder(DeletePropertyRequest::builder)
+ .basePath("/20230831")
+ .appendPathParam("properties")
+ .appendPathParam(request.getPropertyId())
+ .accept("application/json")
+ .appendHeader("if-match", request.getIfMatch())
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleResponseHeaderString(
+ "opc-request-id", DeletePropertyResponse.Builder::opcRequestId)
+ .callAsync(handler);
+ }
+
+ @Override
+ public java.util.concurrent.Future getProperty(
+ GetPropertyRequest request,
+ final com.oracle.bmc.responses.AsyncHandler
+ handler) {
+
+ Validate.notBlank(request.getPropertyId(), "propertyId must not be blank");
+
+ return clientCall(request, GetPropertyResponse::builder)
+ .logger(LOG, "getProperty")
+ .serviceDetails("FleetAppsManagementAdmin", "GetProperty", "")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(GetPropertyRequest::builder)
+ .basePath("/20230831")
+ .appendPathParam("properties")
+ .appendPathParam(request.getPropertyId())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleBody(
+ com.oracle.bmc.fleetappsmanagement.model.Property.class,
+ GetPropertyResponse.Builder::property)
+ .handleResponseHeaderString("etag", GetPropertyResponse.Builder::etag)
+ .handleResponseHeaderString(
+ "opc-request-id", GetPropertyResponse.Builder::opcRequestId)
+ .callAsync(handler);
+ }
+
+ @Override
+ public java.util.concurrent.Future listOnboardingPolicies(
+ ListOnboardingPoliciesRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ ListOnboardingPoliciesRequest, ListOnboardingPoliciesResponse>
+ handler) {
+
+ return clientCall(request, ListOnboardingPoliciesResponse::builder)
+ .logger(LOG, "listOnboardingPolicies")
+ .serviceDetails("FleetAppsManagementAdmin", "ListOnboardingPolicies", "")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(ListOnboardingPoliciesRequest::builder)
+ .basePath("/20230831")
+ .appendPathParam("OnboardingPolicies")
+ .appendQueryParam("limit", request.getLimit())
+ .appendQueryParam("page", request.getPage())
+ .appendEnumQueryParam("sortOrder", request.getSortOrder())
+ .appendEnumQueryParam("sortBy", request.getSortBy())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleBody(
+ com.oracle.bmc.fleetappsmanagement.model.OnboardingPolicyCollection.class,
+ ListOnboardingPoliciesResponse.Builder::onboardingPolicyCollection)
+ .handleResponseHeaderString(
+ "opc-request-id", ListOnboardingPoliciesResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-next-page", ListOnboardingPoliciesResponse.Builder::opcNextPage)
+ .callAsync(handler);
+ }
+
+ @Override
+ public java.util.concurrent.Future listOnboardings(
+ ListOnboardingsRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ ListOnboardingsRequest, ListOnboardingsResponse>
+ handler) {
+
+ return clientCall(request, ListOnboardingsResponse::builder)
+ .logger(LOG, "listOnboardings")
+ .serviceDetails("FleetAppsManagementAdmin", "ListOnboardings", "")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(ListOnboardingsRequest::builder)
+ .basePath("/20230831")
+ .appendPathParam("Onboardings")
+ .appendQueryParam("compartmentId", request.getCompartmentId())
+ .appendEnumQueryParam("lifecycleState", request.getLifecycleState())
+ .appendQueryParam("id", request.getId())
+ .appendQueryParam("limit", request.getLimit())
+ .appendQueryParam("page", request.getPage())
+ .appendEnumQueryParam("sortOrder", request.getSortOrder())
+ .appendEnumQueryParam("sortBy", request.getSortBy())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleBody(
+ com.oracle.bmc.fleetappsmanagement.model.OnboardingCollection.class,
+ ListOnboardingsResponse.Builder::onboardingCollection)
+ .handleResponseHeaderString(
+ "opc-request-id", ListOnboardingsResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-next-page", ListOnboardingsResponse.Builder::opcNextPage)
+ .callAsync(handler);
+ }
+
+ @Override
+ public java.util.concurrent.Future listProperties(
+ ListPropertiesRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ ListPropertiesRequest, ListPropertiesResponse>
+ handler) {
+
+ return clientCall(request, ListPropertiesResponse::builder)
+ .logger(LOG, "listProperties")
+ .serviceDetails("FleetAppsManagementAdmin", "ListProperties", "")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(ListPropertiesRequest::builder)
+ .basePath("/20230831")
+ .appendPathParam("properties")
+ .appendQueryParam("compartmentId", request.getCompartmentId())
+ .appendEnumQueryParam("lifecycleState", request.getLifecycleState())
+ .appendQueryParam("displayName", request.getDisplayName())
+ .appendQueryParam("id", request.getId())
+ .appendEnumQueryParam("scope", request.getScope())
+ .appendQueryParam("limit", request.getLimit())
+ .appendQueryParam("page", request.getPage())
+ .appendEnumQueryParam("sortOrder", request.getSortOrder())
+ .appendEnumQueryParam("sortBy", request.getSortBy())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleBody(
+ com.oracle.bmc.fleetappsmanagement.model.PropertyCollection.class,
+ ListPropertiesResponse.Builder::propertyCollection)
+ .handleResponseHeaderString(
+ "opc-request-id", ListPropertiesResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-next-page", ListPropertiesResponse.Builder::opcNextPage)
+ .callAsync(handler);
+ }
+
+ @Override
+ public java.util.concurrent.Future updateProperty(
+ UpdatePropertyRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ UpdatePropertyRequest, UpdatePropertyResponse>
+ handler) {
+
+ Validate.notBlank(request.getPropertyId(), "propertyId must not be blank");
+ Objects.requireNonNull(
+ request.getUpdatePropertyDetails(), "updatePropertyDetails is required");
+
+ return clientCall(request, UpdatePropertyResponse::builder)
+ .logger(LOG, "updateProperty")
+ .serviceDetails("FleetAppsManagementAdmin", "UpdateProperty", "")
+ .method(com.oracle.bmc.http.client.Method.PUT)
+ .requestBuilder(UpdatePropertyRequest::builder)
+ .basePath("/20230831")
+ .appendPathParam("properties")
+ .appendPathParam(request.getPropertyId())
+ .accept("application/json")
+ .appendHeader("if-match", request.getIfMatch())
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .hasBody()
+ .handleBody(
+ com.oracle.bmc.fleetappsmanagement.model.Property.class,
+ UpdatePropertyResponse.Builder::property)
+ .handleResponseHeaderString("etag", UpdatePropertyResponse.Builder::etag)
+ .handleResponseHeaderString(
+ "opc-request-id", UpdatePropertyResponse.Builder::opcRequestId)
+ .callAsync(handler);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public FleetAppsManagementAdminAsyncClient(
+ com.oracle.bmc.auth.BasicAuthenticationDetailsProvider authenticationDetailsProvider) {
+ this(builder(), authenticationDetailsProvider);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public FleetAppsManagementAdminAsyncClient(
+ com.oracle.bmc.auth.BasicAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration) {
+ this(builder().configuration(configuration), authenticationDetailsProvider);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public FleetAppsManagementAdminAsyncClient(
+ com.oracle.bmc.auth.BasicAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator) {
+ this(
+ builder().configuration(configuration).clientConfigurator(clientConfigurator),
+ authenticationDetailsProvider);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @param defaultRequestSignerFactory {@link Builder#requestSignerFactory}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public FleetAppsManagementAdminAsyncClient(
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator,
+ com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory) {
+ this(
+ builder()
+ .configuration(configuration)
+ .clientConfigurator(clientConfigurator)
+ .requestSignerFactory(defaultRequestSignerFactory),
+ authenticationDetailsProvider);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @param defaultRequestSignerFactory {@link Builder#requestSignerFactory}
+ * @param additionalClientConfigurators {@link Builder#additionalClientConfigurators}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public FleetAppsManagementAdminAsyncClient(
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator,
+ com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory,
+ java.util.List additionalClientConfigurators) {
+ this(
+ builder()
+ .configuration(configuration)
+ .clientConfigurator(clientConfigurator)
+ .requestSignerFactory(defaultRequestSignerFactory)
+ .additionalClientConfigurators(additionalClientConfigurators),
+ authenticationDetailsProvider);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @param defaultRequestSignerFactory {@link Builder#requestSignerFactory}
+ * @param additionalClientConfigurators {@link Builder#additionalClientConfigurators}
+ * @param endpoint {@link Builder#endpoint}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public FleetAppsManagementAdminAsyncClient(
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator,
+ com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory,
+ java.util.List additionalClientConfigurators,
+ String endpoint) {
+ this(
+ builder()
+ .configuration(configuration)
+ .clientConfigurator(clientConfigurator)
+ .requestSignerFactory(defaultRequestSignerFactory)
+ .additionalClientConfigurators(additionalClientConfigurators)
+ .endpoint(endpoint),
+ authenticationDetailsProvider);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @param defaultRequestSignerFactory {@link Builder#requestSignerFactory}
+ * @param additionalClientConfigurators {@link Builder#additionalClientConfigurators}
+ * @param endpoint {@link Builder#endpoint}
+ * @param signingStrategyRequestSignerFactories {@link
+ * Builder#signingStrategyRequestSignerFactories}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public FleetAppsManagementAdminAsyncClient(
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator,
+ com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory,
+ java.util.Map<
+ com.oracle.bmc.http.signing.SigningStrategy,
+ com.oracle.bmc.http.signing.RequestSignerFactory>
+ signingStrategyRequestSignerFactories,
+ java.util.List additionalClientConfigurators,
+ String endpoint) {
+ this(
+ builder()
+ .configuration(configuration)
+ .clientConfigurator(clientConfigurator)
+ .requestSignerFactory(defaultRequestSignerFactory)
+ .additionalClientConfigurators(additionalClientConfigurators)
+ .endpoint(endpoint)
+ .signingStrategyRequestSignerFactories(
+ signingStrategyRequestSignerFactories),
+ authenticationDetailsProvider);
+ }
+}
diff --git a/bmc-fleetappsmanagement/src/main/java/com/oracle/bmc/fleetappsmanagement/FleetAppsManagementAdminClient.java b/bmc-fleetappsmanagement/src/main/java/com/oracle/bmc/fleetappsmanagement/FleetAppsManagementAdminClient.java
new file mode 100644
index 00000000000..34996315a15
--- /dev/null
+++ b/bmc-fleetappsmanagement/src/main/java/com/oracle/bmc/fleetappsmanagement/FleetAppsManagementAdminClient.java
@@ -0,0 +1,563 @@
+/**
+ * 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.fleetappsmanagement;
+
+import com.oracle.bmc.util.internal.Validate;
+import com.oracle.bmc.fleetappsmanagement.requests.*;
+import com.oracle.bmc.fleetappsmanagement.responses.*;
+import com.oracle.bmc.circuitbreaker.CircuitBreakerConfiguration;
+import com.oracle.bmc.util.CircuitBreakerUtils;
+
+import java.util.Objects;
+
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20230831")
+public class FleetAppsManagementAdminClient extends com.oracle.bmc.http.internal.BaseSyncClient
+ implements FleetAppsManagementAdmin {
+ /** Service instance for FleetAppsManagementAdmin. */
+ public static final com.oracle.bmc.Service SERVICE =
+ com.oracle.bmc.Services.serviceBuilder()
+ .serviceName("FLEETAPPSMANAGEMENTADMIN")
+ .serviceEndpointPrefix("")
+ .serviceEndpointTemplate("https://fams.{region}.oci.{secondLevelDomain}")
+ .build();
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(FleetAppsManagementAdminClient.class);
+
+ private final FleetAppsManagementAdminWaiters waiters;
+
+ private final FleetAppsManagementAdminPaginators paginators;
+
+ FleetAppsManagementAdminClient(
+ com.oracle.bmc.common.ClientBuilderBase, ?> builder,
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
+ java.util.concurrent.ExecutorService executorService) {
+ super(
+ builder,
+ authenticationDetailsProvider,
+ CircuitBreakerUtils.DEFAULT_CIRCUIT_BREAKER_CONFIGURATION);
+
+ if (executorService == null) {
+ // up to 50 (core) threads, time out after 60s idle, all daemon
+ java.util.concurrent.ThreadPoolExecutor threadPoolExecutor =
+ new java.util.concurrent.ThreadPoolExecutor(
+ 50,
+ 50,
+ 60L,
+ java.util.concurrent.TimeUnit.SECONDS,
+ new java.util.concurrent.LinkedBlockingQueue(),
+ com.oracle.bmc.internal.ClientThreadFactory.builder()
+ .isDaemon(true)
+ .nameFormat("FleetAppsManagementAdmin-waiters-%d")
+ .build());
+ threadPoolExecutor.allowCoreThreadTimeOut(true);
+
+ executorService = threadPoolExecutor;
+ }
+ this.waiters = new FleetAppsManagementAdminWaiters(executorService, this);
+
+ this.paginators = new FleetAppsManagementAdminPaginators(this);
+ }
+
+ /**
+ * Create a builder for this client.
+ *
+ * @return builder
+ */
+ public static Builder builder() {
+ return new Builder(SERVICE);
+ }
+
+ /**
+ * Builder class for this client. The "authenticationDetailsProvider" is required and must be
+ * passed to the {@link #build(AbstractAuthenticationDetailsProvider)} method.
+ */
+ public static class Builder
+ extends com.oracle.bmc.common.RegionalClientBuilder<
+ Builder, FleetAppsManagementAdminClient> {
+ private java.util.concurrent.ExecutorService executorService;
+
+ private Builder(com.oracle.bmc.Service service) {
+ super(service);
+ final String packageName = "fleetappsmanagement";
+ com.oracle.bmc.internal.Alloy.throwDisabledServiceExceptionIfAppropriate(packageName);
+ requestSignerFactory =
+ new com.oracle.bmc.http.signing.internal.DefaultRequestSignerFactory(
+ com.oracle.bmc.http.signing.SigningStrategy.STANDARD);
+ }
+
+ /**
+ * Set the ExecutorService for the client to be created.
+ *
+ * @param executorService executorService
+ * @return this builder
+ */
+ public Builder executorService(java.util.concurrent.ExecutorService executorService) {
+ this.executorService = executorService;
+ return this;
+ }
+
+ /**
+ * Build the client.
+ *
+ * @param authenticationDetailsProvider authentication details provider
+ * @return the client
+ */
+ public FleetAppsManagementAdminClient build(
+ @jakarta.annotation.Nonnull
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider
+ authenticationDetailsProvider) {
+ return new FleetAppsManagementAdminClient(
+ this, authenticationDetailsProvider, executorService);
+ }
+ }
+
+ @Override
+ public void setRegion(com.oracle.bmc.Region region) {
+ super.setRegion(region);
+ }
+
+ @Override
+ public void setRegion(String regionId) {
+ super.setRegion(regionId);
+ }
+
+ @Override
+ public CreateOnboardingResponse createOnboarding(CreateOnboardingRequest request) {
+ Objects.requireNonNull(
+ request.getCreateOnboardingDetails(), "createOnboardingDetails is required");
+
+ return clientCall(request, CreateOnboardingResponse::builder)
+ .logger(LOG, "createOnboarding")
+ .serviceDetails("FleetAppsManagementAdmin", "CreateOnboarding", "")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(CreateOnboardingRequest::builder)
+ .basePath("/20230831")
+ .appendPathParam("Onboardings")
+ .accept("application/json")
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .operationUsesDefaultRetries()
+ .hasBody()
+ .handleBody(
+ com.oracle.bmc.fleetappsmanagement.model.Onboarding.class,
+ CreateOnboardingResponse.Builder::onboarding)
+ .handleResponseHeaderString("location", CreateOnboardingResponse.Builder::location)
+ .handleResponseHeaderString(
+ "content-location", CreateOnboardingResponse.Builder::contentLocation)
+ .handleResponseHeaderString("etag", CreateOnboardingResponse.Builder::etag)
+ .handleResponseHeaderString(
+ "opc-work-request-id", CreateOnboardingResponse.Builder::opcWorkRequestId)
+ .handleResponseHeaderString(
+ "opc-request-id", CreateOnboardingResponse.Builder::opcRequestId)
+ .callSync();
+ }
+
+ @Override
+ public CreatePropertyResponse createProperty(CreatePropertyRequest request) {
+ Objects.requireNonNull(
+ request.getCreatePropertyDetails(), "createPropertyDetails is required");
+
+ return clientCall(request, CreatePropertyResponse::builder)
+ .logger(LOG, "createProperty")
+ .serviceDetails("FleetAppsManagementAdmin", "CreateProperty", "")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(CreatePropertyRequest::builder)
+ .basePath("/20230831")
+ .appendPathParam("properties")
+ .accept("application/json")
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .operationUsesDefaultRetries()
+ .hasBody()
+ .handleBody(
+ com.oracle.bmc.fleetappsmanagement.model.Property.class,
+ CreatePropertyResponse.Builder::property)
+ .handleResponseHeaderString("etag", CreatePropertyResponse.Builder::etag)
+ .handleResponseHeaderString(
+ "opc-request-id", CreatePropertyResponse.Builder::opcRequestId)
+ .callSync();
+ }
+
+ @Override
+ public DeletePropertyResponse deleteProperty(DeletePropertyRequest request) {
+
+ Validate.notBlank(request.getPropertyId(), "propertyId must not be blank");
+
+ return clientCall(request, DeletePropertyResponse::builder)
+ .logger(LOG, "deleteProperty")
+ .serviceDetails("FleetAppsManagementAdmin", "DeleteProperty", "")
+ .method(com.oracle.bmc.http.client.Method.DELETE)
+ .requestBuilder(DeletePropertyRequest::builder)
+ .basePath("/20230831")
+ .appendPathParam("properties")
+ .appendPathParam(request.getPropertyId())
+ .accept("application/json")
+ .appendHeader("if-match", request.getIfMatch())
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .operationUsesDefaultRetries()
+ .handleResponseHeaderString(
+ "opc-request-id", DeletePropertyResponse.Builder::opcRequestId)
+ .callSync();
+ }
+
+ @Override
+ public GetPropertyResponse getProperty(GetPropertyRequest request) {
+
+ Validate.notBlank(request.getPropertyId(), "propertyId must not be blank");
+
+ return clientCall(request, GetPropertyResponse::builder)
+ .logger(LOG, "getProperty")
+ .serviceDetails("FleetAppsManagementAdmin", "GetProperty", "")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(GetPropertyRequest::builder)
+ .basePath("/20230831")
+ .appendPathParam("properties")
+ .appendPathParam(request.getPropertyId())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .operationUsesDefaultRetries()
+ .handleBody(
+ com.oracle.bmc.fleetappsmanagement.model.Property.class,
+ GetPropertyResponse.Builder::property)
+ .handleResponseHeaderString("etag", GetPropertyResponse.Builder::etag)
+ .handleResponseHeaderString(
+ "opc-request-id", GetPropertyResponse.Builder::opcRequestId)
+ .callSync();
+ }
+
+ @Override
+ public ListOnboardingPoliciesResponse listOnboardingPolicies(
+ ListOnboardingPoliciesRequest request) {
+
+ return clientCall(request, ListOnboardingPoliciesResponse::builder)
+ .logger(LOG, "listOnboardingPolicies")
+ .serviceDetails("FleetAppsManagementAdmin", "ListOnboardingPolicies", "")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(ListOnboardingPoliciesRequest::builder)
+ .basePath("/20230831")
+ .appendPathParam("OnboardingPolicies")
+ .appendQueryParam("limit", request.getLimit())
+ .appendQueryParam("page", request.getPage())
+ .appendEnumQueryParam("sortOrder", request.getSortOrder())
+ .appendEnumQueryParam("sortBy", request.getSortBy())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .operationUsesDefaultRetries()
+ .handleBody(
+ com.oracle.bmc.fleetappsmanagement.model.OnboardingPolicyCollection.class,
+ ListOnboardingPoliciesResponse.Builder::onboardingPolicyCollection)
+ .handleResponseHeaderString(
+ "opc-request-id", ListOnboardingPoliciesResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-next-page", ListOnboardingPoliciesResponse.Builder::opcNextPage)
+ .callSync();
+ }
+
+ @Override
+ public ListOnboardingsResponse listOnboardings(ListOnboardingsRequest request) {
+
+ return clientCall(request, ListOnboardingsResponse::builder)
+ .logger(LOG, "listOnboardings")
+ .serviceDetails("FleetAppsManagementAdmin", "ListOnboardings", "")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(ListOnboardingsRequest::builder)
+ .basePath("/20230831")
+ .appendPathParam("Onboardings")
+ .appendQueryParam("compartmentId", request.getCompartmentId())
+ .appendEnumQueryParam("lifecycleState", request.getLifecycleState())
+ .appendQueryParam("id", request.getId())
+ .appendQueryParam("limit", request.getLimit())
+ .appendQueryParam("page", request.getPage())
+ .appendEnumQueryParam("sortOrder", request.getSortOrder())
+ .appendEnumQueryParam("sortBy", request.getSortBy())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .operationUsesDefaultRetries()
+ .handleBody(
+ com.oracle.bmc.fleetappsmanagement.model.OnboardingCollection.class,
+ ListOnboardingsResponse.Builder::onboardingCollection)
+ .handleResponseHeaderString(
+ "opc-request-id", ListOnboardingsResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-next-page", ListOnboardingsResponse.Builder::opcNextPage)
+ .callSync();
+ }
+
+ @Override
+ public ListPropertiesResponse listProperties(ListPropertiesRequest request) {
+
+ return clientCall(request, ListPropertiesResponse::builder)
+ .logger(LOG, "listProperties")
+ .serviceDetails("FleetAppsManagementAdmin", "ListProperties", "")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(ListPropertiesRequest::builder)
+ .basePath("/20230831")
+ .appendPathParam("properties")
+ .appendQueryParam("compartmentId", request.getCompartmentId())
+ .appendEnumQueryParam("lifecycleState", request.getLifecycleState())
+ .appendQueryParam("displayName", request.getDisplayName())
+ .appendQueryParam("id", request.getId())
+ .appendEnumQueryParam("scope", request.getScope())
+ .appendQueryParam("limit", request.getLimit())
+ .appendQueryParam("page", request.getPage())
+ .appendEnumQueryParam("sortOrder", request.getSortOrder())
+ .appendEnumQueryParam("sortBy", request.getSortBy())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .operationUsesDefaultRetries()
+ .handleBody(
+ com.oracle.bmc.fleetappsmanagement.model.PropertyCollection.class,
+ ListPropertiesResponse.Builder::propertyCollection)
+ .handleResponseHeaderString(
+ "opc-request-id", ListPropertiesResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-next-page", ListPropertiesResponse.Builder::opcNextPage)
+ .callSync();
+ }
+
+ @Override
+ public UpdatePropertyResponse updateProperty(UpdatePropertyRequest request) {
+
+ Validate.notBlank(request.getPropertyId(), "propertyId must not be blank");
+ Objects.requireNonNull(
+ request.getUpdatePropertyDetails(), "updatePropertyDetails is required");
+
+ return clientCall(request, UpdatePropertyResponse::builder)
+ .logger(LOG, "updateProperty")
+ .serviceDetails("FleetAppsManagementAdmin", "UpdateProperty", "")
+ .method(com.oracle.bmc.http.client.Method.PUT)
+ .requestBuilder(UpdatePropertyRequest::builder)
+ .basePath("/20230831")
+ .appendPathParam("properties")
+ .appendPathParam(request.getPropertyId())
+ .accept("application/json")
+ .appendHeader("if-match", request.getIfMatch())
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .operationUsesDefaultRetries()
+ .hasBody()
+ .handleBody(
+ com.oracle.bmc.fleetappsmanagement.model.Property.class,
+ UpdatePropertyResponse.Builder::property)
+ .handleResponseHeaderString("etag", UpdatePropertyResponse.Builder::etag)
+ .handleResponseHeaderString(
+ "opc-request-id", UpdatePropertyResponse.Builder::opcRequestId)
+ .callSync();
+ }
+
+ @Override
+ public FleetAppsManagementAdminWaiters getWaiters() {
+ return waiters;
+ }
+
+ @Override
+ public FleetAppsManagementAdminPaginators getPaginators() {
+ return paginators;
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public FleetAppsManagementAdminClient(
+ com.oracle.bmc.auth.BasicAuthenticationDetailsProvider authenticationDetailsProvider) {
+ this(builder(), authenticationDetailsProvider, null);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public FleetAppsManagementAdminClient(
+ com.oracle.bmc.auth.BasicAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration) {
+ this(builder().configuration(configuration), authenticationDetailsProvider, null);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public FleetAppsManagementAdminClient(
+ com.oracle.bmc.auth.BasicAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator) {
+ this(
+ builder().configuration(configuration).clientConfigurator(clientConfigurator),
+ authenticationDetailsProvider,
+ null);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @param defaultRequestSignerFactory {@link Builder#requestSignerFactory}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public FleetAppsManagementAdminClient(
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator,
+ com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory) {
+ this(
+ builder()
+ .configuration(configuration)
+ .clientConfigurator(clientConfigurator)
+ .requestSignerFactory(defaultRequestSignerFactory),
+ authenticationDetailsProvider,
+ null);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @param defaultRequestSignerFactory {@link Builder#requestSignerFactory}
+ * @param additionalClientConfigurators {@link Builder#additionalClientConfigurators}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public FleetAppsManagementAdminClient(
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator,
+ com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory,
+ java.util.List additionalClientConfigurators) {
+ this(
+ builder()
+ .configuration(configuration)
+ .clientConfigurator(clientConfigurator)
+ .requestSignerFactory(defaultRequestSignerFactory)
+ .additionalClientConfigurators(additionalClientConfigurators),
+ authenticationDetailsProvider,
+ null);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @param defaultRequestSignerFactory {@link Builder#requestSignerFactory}
+ * @param additionalClientConfigurators {@link Builder#additionalClientConfigurators}
+ * @param endpoint {@link Builder#endpoint}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public FleetAppsManagementAdminClient(
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator,
+ com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory,
+ java.util.List additionalClientConfigurators,
+ String endpoint) {
+ this(
+ builder()
+ .configuration(configuration)
+ .clientConfigurator(clientConfigurator)
+ .requestSignerFactory(defaultRequestSignerFactory)
+ .additionalClientConfigurators(additionalClientConfigurators)
+ .endpoint(endpoint),
+ authenticationDetailsProvider,
+ null);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @param defaultRequestSignerFactory {@link Builder#requestSignerFactory}
+ * @param additionalClientConfigurators {@link Builder#additionalClientConfigurators}
+ * @param endpoint {@link Builder#endpoint}
+ * @param signingStrategyRequestSignerFactories {@link
+ * Builder#signingStrategyRequestSignerFactories}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public FleetAppsManagementAdminClient(
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator,
+ com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory,
+ java.util.Map<
+ com.oracle.bmc.http.signing.SigningStrategy,
+ com.oracle.bmc.http.signing.RequestSignerFactory>
+ signingStrategyRequestSignerFactories,
+ java.util.List additionalClientConfigurators,
+ String endpoint) {
+ this(
+ builder()
+ .configuration(configuration)
+ .clientConfigurator(clientConfigurator)
+ .requestSignerFactory(defaultRequestSignerFactory)
+ .additionalClientConfigurators(additionalClientConfigurators)
+ .endpoint(endpoint)
+ .signingStrategyRequestSignerFactories(
+ signingStrategyRequestSignerFactories),
+ authenticationDetailsProvider,
+ null);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @param defaultRequestSignerFactory {@link Builder#requestSignerFactory}
+ * @param additionalClientConfigurators {@link Builder#additionalClientConfigurators}
+ * @param endpoint {@link Builder#endpoint}
+ * @param signingStrategyRequestSignerFactories {@link
+ * Builder#signingStrategyRequestSignerFactories}
+ * @param executorService {@link Builder#executorService}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public FleetAppsManagementAdminClient(
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator,
+ com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory,
+ java.util.Map<
+ com.oracle.bmc.http.signing.SigningStrategy,
+ com.oracle.bmc.http.signing.RequestSignerFactory>
+ signingStrategyRequestSignerFactories,
+ java.util.List additionalClientConfigurators,
+ String endpoint,
+ java.util.concurrent.ExecutorService executorService) {
+ this(
+ builder()
+ .configuration(configuration)
+ .clientConfigurator(clientConfigurator)
+ .requestSignerFactory(defaultRequestSignerFactory)
+ .additionalClientConfigurators(additionalClientConfigurators)
+ .endpoint(endpoint)
+ .signingStrategyRequestSignerFactories(
+ signingStrategyRequestSignerFactories),
+ authenticationDetailsProvider,
+ executorService);
+ }
+}
diff --git a/bmc-fleetappsmanagement/src/main/java/com/oracle/bmc/fleetappsmanagement/FleetAppsManagementAdminPaginators.java b/bmc-fleetappsmanagement/src/main/java/com/oracle/bmc/fleetappsmanagement/FleetAppsManagementAdminPaginators.java
new file mode 100644
index 00000000000..2d0f4787af1
--- /dev/null
+++ b/bmc-fleetappsmanagement/src/main/java/com/oracle/bmc/fleetappsmanagement/FleetAppsManagementAdminPaginators.java
@@ -0,0 +1,401 @@
+/**
+ * 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.fleetappsmanagement;
+
+import com.oracle.bmc.fleetappsmanagement.requests.*;
+import com.oracle.bmc.fleetappsmanagement.responses.*;
+
+/**
+ * Collection of helper methods that can be used to provide an {@link java.lang.Iterable} interface
+ * to any list operations of FleetAppsManagementAdmin where multiple pages of data may be fetched.
+ * Two styles of iteration are supported:
+ *
+ *
+ * - Iterating over the Response objects returned by the list operation. These are referred to
+ * as ResponseIterators, and the methods are suffixed with ResponseIterator. For example:
+ * listUsersResponseIterator
+ *
- Iterating over the resources/records being listed. These are referred to as
+ * RecordIterators, and the methods are suffixed with RecordIterator. For example:
+ * listUsersRecordIterator
+ *
+ *
+ * These iterables abstract away the need to write code to manually handle pagination via looping
+ * and using the page tokens. They will automatically fetch more data from the service when
+ * required.
+ *
+ * As an example, if we were using the ListUsers operation in IdentityService, then the {@link
+ * java.lang.Iterable} returned by calling a ResponseIterator method would iterate over the
+ * ListUsersResponse objects returned by each ListUsers call, whereas the {@link java.lang.Iterable}
+ * returned by calling a RecordIterator method would iterate over the User records and we don't have
+ * to deal with ListUsersResponse objects at all. In either case, pagination will be automatically
+ * handled so we can iterate until there are no more responses or no more resources/records
+ * available.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20230831")
+public class FleetAppsManagementAdminPaginators {
+ private final FleetAppsManagementAdmin client;
+
+ public FleetAppsManagementAdminPaginators(FleetAppsManagementAdmin client) {
+ this.client = client;
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the responses received from the
+ * listOnboardingPolicies 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 listOnboardingPoliciesResponseIterator(
+ final ListOnboardingPoliciesRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseIterable<
+ ListOnboardingPoliciesRequest.Builder,
+ ListOnboardingPoliciesRequest,
+ ListOnboardingPoliciesResponse>(
+ new java.util.function.Supplier() {
+ @Override
+ public ListOnboardingPoliciesRequest.Builder get() {
+ return ListOnboardingPoliciesRequest.builder().copy(request);
+ }
+ },
+ new java.util.function.Function() {
+ @Override
+ public String apply(ListOnboardingPoliciesResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListOnboardingPoliciesRequest.Builder>,
+ ListOnboardingPoliciesRequest>() {
+ @Override
+ public ListOnboardingPoliciesRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListOnboardingPoliciesRequest.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<
+ ListOnboardingPoliciesRequest, ListOnboardingPoliciesResponse>() {
+ @Override
+ public ListOnboardingPoliciesResponse apply(
+ ListOnboardingPoliciesRequest request) {
+ return client.listOnboardingPolicies(request);
+ }
+ });
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the {@link
+ * com.oracle.bmc.fleetappsmanagement.model.OnboardingPolicySummary} objects contained in
+ * responses from the listOnboardingPolicies 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.fleetappsmanagement.model.OnboardingPolicySummary} objects contained in
+ * responses received from the service.
+ */
+ public Iterable
+ listOnboardingPoliciesRecordIterator(final ListOnboardingPoliciesRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseRecordIterable<
+ ListOnboardingPoliciesRequest.Builder,
+ ListOnboardingPoliciesRequest,
+ ListOnboardingPoliciesResponse,
+ com.oracle.bmc.fleetappsmanagement.model.OnboardingPolicySummary>(
+ new java.util.function.Supplier() {
+ @Override
+ public ListOnboardingPoliciesRequest.Builder get() {
+ return ListOnboardingPoliciesRequest.builder().copy(request);
+ }
+ },
+ new java.util.function.Function() {
+ @Override
+ public String apply(ListOnboardingPoliciesResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListOnboardingPoliciesRequest.Builder>,
+ ListOnboardingPoliciesRequest>() {
+ @Override
+ public ListOnboardingPoliciesRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListOnboardingPoliciesRequest.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<
+ ListOnboardingPoliciesRequest, ListOnboardingPoliciesResponse>() {
+ @Override
+ public ListOnboardingPoliciesResponse apply(
+ ListOnboardingPoliciesRequest request) {
+ return client.listOnboardingPolicies(request);
+ }
+ },
+ new java.util.function.Function<
+ ListOnboardingPoliciesResponse,
+ java.util.List<
+ com.oracle.bmc.fleetappsmanagement.model
+ .OnboardingPolicySummary>>() {
+ @Override
+ public java.util.List<
+ com.oracle.bmc.fleetappsmanagement.model
+ .OnboardingPolicySummary>
+ apply(ListOnboardingPoliciesResponse response) {
+ return response.getOnboardingPolicyCollection().getItems();
+ }
+ });
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the responses received from the
+ * listOnboardings 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 listOnboardingsResponseIterator(
+ final ListOnboardingsRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseIterable<
+ ListOnboardingsRequest.Builder, ListOnboardingsRequest, ListOnboardingsResponse>(
+ new java.util.function.Supplier() {
+ @Override
+ public ListOnboardingsRequest.Builder get() {
+ return ListOnboardingsRequest.builder().copy(request);
+ }
+ },
+ new java.util.function.Function() {
+ @Override
+ public String apply(ListOnboardingsResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListOnboardingsRequest.Builder>,
+ ListOnboardingsRequest>() {
+ @Override
+ public ListOnboardingsRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListOnboardingsRequest.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 ListOnboardingsResponse apply(ListOnboardingsRequest request) {
+ return client.listOnboardings(request);
+ }
+ });
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the {@link
+ * com.oracle.bmc.fleetappsmanagement.model.OnboardingSummary} objects contained in responses
+ * from the listOnboardings 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.fleetappsmanagement.model.OnboardingSummary} objects contained in
+ * responses received from the service.
+ */
+ public Iterable
+ listOnboardingsRecordIterator(final ListOnboardingsRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseRecordIterable<
+ ListOnboardingsRequest.Builder,
+ ListOnboardingsRequest,
+ ListOnboardingsResponse,
+ com.oracle.bmc.fleetappsmanagement.model.OnboardingSummary>(
+ new java.util.function.Supplier() {
+ @Override
+ public ListOnboardingsRequest.Builder get() {
+ return ListOnboardingsRequest.builder().copy(request);
+ }
+ },
+ new java.util.function.Function() {
+ @Override
+ public String apply(ListOnboardingsResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListOnboardingsRequest.Builder>,
+ ListOnboardingsRequest>() {
+ @Override
+ public ListOnboardingsRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListOnboardingsRequest.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 ListOnboardingsResponse apply(ListOnboardingsRequest request) {
+ return client.listOnboardings(request);
+ }
+ },
+ new java.util.function.Function<
+ ListOnboardingsResponse,
+ java.util.List<
+ com.oracle.bmc.fleetappsmanagement.model.OnboardingSummary>>() {
+ @Override
+ public java.util.List<
+ com.oracle.bmc.fleetappsmanagement.model.OnboardingSummary>
+ apply(ListOnboardingsResponse response) {
+ return response.getOnboardingCollection().getItems();
+ }
+ });
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the responses received from the listProperties
+ * 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 listPropertiesResponseIterator(
+ final ListPropertiesRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseIterable<
+ ListPropertiesRequest.Builder, ListPropertiesRequest, ListPropertiesResponse>(
+ new java.util.function.Supplier() {
+ @Override
+ public ListPropertiesRequest.Builder get() {
+ return ListPropertiesRequest.builder().copy(request);
+ }
+ },
+ new java.util.function.Function() {
+ @Override
+ public String apply(ListPropertiesResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListPropertiesRequest.Builder>,
+ ListPropertiesRequest>() {
+ @Override
+ public ListPropertiesRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListPropertiesRequest.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 ListPropertiesResponse apply(ListPropertiesRequest request) {
+ return client.listProperties(request);
+ }
+ });
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the {@link
+ * com.oracle.bmc.fleetappsmanagement.model.PropertySummary} objects contained in responses from
+ * the listProperties 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.fleetappsmanagement.model.PropertySummary} objects contained in responses
+ * received from the service.
+ */
+ public Iterable
+ listPropertiesRecordIterator(final ListPropertiesRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseRecordIterable<
+ ListPropertiesRequest.Builder,
+ ListPropertiesRequest,
+ ListPropertiesResponse,
+ com.oracle.bmc.fleetappsmanagement.model.PropertySummary>(
+ new java.util.function.Supplier() {
+ @Override
+ public ListPropertiesRequest.Builder get() {
+ return ListPropertiesRequest.builder().copy(request);
+ }
+ },
+ new java.util.function.Function() {
+ @Override
+ public String apply(ListPropertiesResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListPropertiesRequest.Builder>,
+ ListPropertiesRequest>() {
+ @Override
+ public ListPropertiesRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListPropertiesRequest.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 ListPropertiesResponse apply(ListPropertiesRequest request) {
+ return client.listProperties(request);
+ }
+ },
+ new java.util.function.Function<
+ ListPropertiesResponse,
+ java.util.List<
+ com.oracle.bmc.fleetappsmanagement.model.PropertySummary>>() {
+ @Override
+ public java.util.List
+ apply(ListPropertiesResponse response) {
+ return response.getPropertyCollection().getItems();
+ }
+ });
+ }
+}
diff --git a/bmc-fleetappsmanagement/src/main/java/com/oracle/bmc/fleetappsmanagement/FleetAppsManagementAdminWaiters.java b/bmc-fleetappsmanagement/src/main/java/com/oracle/bmc/fleetappsmanagement/FleetAppsManagementAdminWaiters.java
new file mode 100644
index 00000000000..ce31a4d0ed6
--- /dev/null
+++ b/bmc-fleetappsmanagement/src/main/java/com/oracle/bmc/fleetappsmanagement/FleetAppsManagementAdminWaiters.java
@@ -0,0 +1,128 @@
+/**
+ * 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.fleetappsmanagement;
+
+import com.oracle.bmc.fleetappsmanagement.requests.*;
+import com.oracle.bmc.fleetappsmanagement.responses.*;
+
+/**
+ * Collection of helper methods to produce {@link com.oracle.bmc.waiter.Waiter}s for different
+ * resources of FleetAppsManagementAdmin.
+ *
+ * The default configuration used is defined by {@link
+ * com.oracle.bmc.waiter.Waiters.Waiters#DEFAULT_POLLING_WAITER}.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20230831")
+public class FleetAppsManagementAdminWaiters {
+ private final java.util.concurrent.ExecutorService executorService;
+ private final FleetAppsManagementAdmin client;
+
+ public FleetAppsManagementAdminWaiters(
+ java.util.concurrent.ExecutorService executorService, FleetAppsManagementAdmin client) {
+ this.executorService = executorService;
+ this.client = client;
+ }
+
+ /**
+ * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration.
+ *
+ * @param request the request to send
+ * @param targetStates the desired states to wait for. If multiple states are provided then the
+ * waiter will return once the resource reaches any of the provided states
+ * @return a new {@code Waiter} instance
+ */
+ public com.oracle.bmc.waiter.Waiter forProperty(
+ GetPropertyRequest request,
+ com.oracle.bmc.fleetappsmanagement.model.Property.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 forProperty(
+ 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 forProperty(
+ GetPropertyRequest request,
+ com.oracle.bmc.fleetappsmanagement.model.Property.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 forProperty(
+ 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 forProperty(
+ GetPropertyRequest request,
+ com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
+ com.oracle.bmc.waiter.DelayStrategy delayStrategy,
+ com.oracle.bmc.fleetappsmanagement.model.Property.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 forProperty(
+ com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
+ request,
+ targetStates);
+ }
+
+ // Helper method to create a new Waiter for Property.
+ private com.oracle.bmc.waiter.Waiter forProperty(
+ com.oracle.bmc.waiter.BmcGenericWaiter waiter,
+ final GetPropertyRequest request,
+ final com.oracle.bmc.fleetappsmanagement.model.Property.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() {
+ @Override
+ public GetPropertyResponse apply(GetPropertyRequest request) {
+ return client.getProperty(request);
+ }
+ },
+ new java.util.function.Predicate() {
+ @Override
+ public boolean test(GetPropertyResponse response) {
+ return targetStatesSet.contains(
+ response.getProperty().getLifecycleState());
+ }
+ },
+ targetStatesSet.contains(
+ com.oracle.bmc.fleetappsmanagement.model.Property.LifecycleState
+ .Deleted)),
+ request);
+ }
+}
diff --git a/bmc-fleetappsmanagement/src/main/java/com/oracle/bmc/fleetappsmanagement/FleetAppsManagementAsync.java b/bmc-fleetappsmanagement/src/main/java/com/oracle/bmc/fleetappsmanagement/FleetAppsManagementAsync.java
new file mode 100644
index 00000000000..047d0e6d4d4
--- /dev/null
+++ b/bmc-fleetappsmanagement/src/main/java/com/oracle/bmc/fleetappsmanagement/FleetAppsManagementAsync.java
@@ -0,0 +1,609 @@
+/**
+ * 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.fleetappsmanagement;
+
+import com.oracle.bmc.fleetappsmanagement.requests.*;
+import com.oracle.bmc.fleetappsmanagement.responses.*;
+
+/**
+ * Fleet Application Management Service API. Use this API to for all FAMS related activities. To
+ * manage fleets,view complaince report for the Fleet,scedule patches and other lifecycle activities
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20230831")
+public interface FleetAppsManagementAsync extends AutoCloseable {
+
+ /** Rebuilds the client from scratch. Useful to refresh certificates. */
+ void refreshClient();
+
+ /**
+ * Sets the endpoint to call (ex, https://www.example.com).
+ *
+ * @param endpoint The endpoint of the serice.
+ */
+ void setEndpoint(String endpoint);
+
+ /** Gets the set endpoint for REST call (ex, https://www.example.com) */
+ String getEndpoint();
+
+ /**
+ * Sets the region to call (ex, Region.US_PHOENIX_1).
+ *
+ * Note, this will call {@link #setEndpoint(String) setEndpoint} after resolving the
+ * endpoint. If the service is not available in this region, however, an
+ * IllegalArgumentException will be raised.
+ *
+ * @param region The region of the service.
+ */
+ void setRegion(com.oracle.bmc.Region region);
+
+ /**
+ * Sets the region to call (ex, 'us-phoenix-1').
+ *
+ *
Note, this will first try to map the region ID to a known Region and call {@link
+ * #setRegion(Region) setRegion}.
+ *
+ *
If no known Region could be determined, it will create an endpoint based on the default
+ * endpoint format ({@link com.oracle.bmc.Region#formatDefaultRegionEndpoint(Service, String)}
+ * and then call {@link #setEndpoint(String) setEndpoint}.
+ *
+ * @param regionId The public region ID.
+ */
+ void setRegion(String regionId);
+
+ /**
+ * Determines whether realm specific endpoint should be used or not. Set
+ * realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm
+ * specific endpoint template, otherwise set it to "false"
+ *
+ * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint
+ * template
+ */
+ void useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled);
+
+ /**
+ * Check if FAMS tags can be added for the resources
+ *
+ * @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 checkResourceTagging(
+ CheckResourceTaggingRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ CheckResourceTaggingRequest, CheckResourceTaggingResponse>
+ handler);
+
+ /**
+ * Confirm targets to be managed for a Fleet.Only targets that are confirmed will be managed by
+ * FAMS
+ *
+ * @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 confirmTargets(
+ ConfirmTargetsRequest request,
+ com.oracle.bmc.responses.AsyncHandler
+ handler);
+
+ /**
+ * Creates a new fleet instance that includes fleet resources and properties. For more
+ * information, please see the documentation.
+ *
+ * @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 createFleet(
+ CreateFleetRequest request,
+ com.oracle.bmc.responses.AsyncHandler handler);
+
+ /**
+ * Creates a new FleetCredential.
+ *
+ * @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 createFleetCredential(
+ CreateFleetCredentialRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ CreateFleetCredentialRequest, CreateFleetCredentialResponse>
+ handler);
+
+ /**
+ * Creates a new FleetProperty.
+ *
+ * @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 createFleetProperty(
+ CreateFleetPropertyRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ CreateFleetPropertyRequest, CreateFleetPropertyResponse>
+ handler);
+
+ /**
+ * Creates a new FleetResource.
+ *
+ * @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 createFleetResource(
+ CreateFleetResourceRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ CreateFleetResourceRequest, CreateFleetResourceResponse>
+ handler);
+
+ /**
+ * Deletes a Fleet resource by identifier
+ *
+ * @param request The request object containing the details to send
+ * @param handler The request handler to invoke upon completion, may be null.
+ * @return A Future that can be used to get the response if no AsyncHandler was provided. Note,
+ * if you provide an AsyncHandler and use the Future, some types of responses (like
+ * java.io.InputStream) may not be able to be read in both places as the underlying stream
+ * may only be consumed once.
+ */
+ java.util.concurrent.Future deleteFleet(
+ DeleteFleetRequest request,
+ com.oracle.bmc.responses.AsyncHandler handler);
+
+ /**
+ * Deletes a FleetCredential resource by identifier
+ *
+ * @param request The request object containing the details to send
+ * @param handler The request handler to invoke upon completion, may be null.
+ * @return A Future that can be used to get the response if no AsyncHandler was provided. Note,
+ * if you provide an AsyncHandler and use the Future, some types of responses (like
+ * java.io.InputStream) may not be able to be read in both places as the underlying stream
+ * may only be consumed once.
+ */
+ java.util.concurrent.Future deleteFleetCredential(
+ DeleteFleetCredentialRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ DeleteFleetCredentialRequest, DeleteFleetCredentialResponse>
+ handler);
+
+ /**
+ * Deletes a FleetProperty resource by identifier
+ *
+ * @param request The request object containing the details to send
+ * @param handler The request handler to invoke upon completion, may be null.
+ * @return A Future that can be used to get the response if no AsyncHandler was provided. Note,
+ * if you provide an AsyncHandler and use the Future, some types of responses (like
+ * java.io.InputStream) may not be able to be read in both places as the underlying stream
+ * may only be consumed once.
+ */
+ java.util.concurrent.Future deleteFleetProperty(
+ DeleteFleetPropertyRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ DeleteFleetPropertyRequest, DeleteFleetPropertyResponse>
+ handler);
+
+ /**
+ * Deletes a FleetResource resource by identifier
+ *
+ * @param request The request object containing the details to send
+ * @param handler The request handler to invoke upon completion, may be null.
+ * @return A Future that can be used to get the response if no AsyncHandler was provided. Note,
+ * if you provide an AsyncHandler and use the Future, some types of responses (like
+ * java.io.InputStream) may not be able to be read in both places as the underlying stream
+ * may only be consumed once.
+ */
+ java.util.concurrent.Future deleteFleetResource(
+ DeleteFleetResourceRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ DeleteFleetResourceRequest, DeleteFleetResourceResponse>
+ handler);
+
+ /**
+ * Request to generate compliance report for a Fleet
+ *
+ * @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 generateComplianceReport(
+ GenerateComplianceReportRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ GenerateComplianceReportRequest, GenerateComplianceReportResponse>
+ handler);
+
+ /**
+ * Retrieve compiane report for a Fleet
+ *
+ * @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 getComplianceReport(
+ GetComplianceReportRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ GetComplianceReportRequest, GetComplianceReportResponse>
+ handler);
+
+ /**
+ * Gets a Fleet by identifier
+ *
+ * @param request The request object containing the details to send
+ * @param handler The request handler to invoke upon completion, may be null.
+ * @return A Future that can be used to get the response if no AsyncHandler was provided. Note,
+ * if you provide an AsyncHandler and use the Future, some types of responses (like
+ * java.io.InputStream) may not be able to be read in both places as the underlying stream
+ * may only be consumed once.
+ */
+ java.util.concurrent.Future getFleet(
+ GetFleetRequest request,
+ com.oracle.bmc.responses.AsyncHandler handler);
+
+ /**
+ * Gets a FleetCredential by identifier
+ *
+ * @param request The request object containing the details to send
+ * @param handler The request handler to invoke upon completion, may be null.
+ * @return A Future that can be used to get the response if no AsyncHandler was provided. Note,
+ * if you provide an AsyncHandler and use the Future, some types of responses (like
+ * java.io.InputStream) may not be able to be read in both places as the underlying stream
+ * may only be consumed once.
+ */
+ java.util.concurrent.Future getFleetCredential(
+ GetFleetCredentialRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ GetFleetCredentialRequest, GetFleetCredentialResponse>
+ handler);
+
+ /**
+ * Gets a FleetProperty by identifier
+ *
+ * @param request The request object containing the details to send
+ * @param handler The request handler to invoke upon completion, may be null.
+ * @return A Future that can be used to get the response if no AsyncHandler was provided. Note,
+ * if you provide an AsyncHandler and use the Future, some types of responses (like
+ * java.io.InputStream) may not be able to be read in both places as the underlying stream
+ * may only be consumed once.
+ */
+ java.util.concurrent.Future getFleetProperty(
+ GetFleetPropertyRequest request,
+ com.oracle.bmc.responses.AsyncHandler