org.slf4j
diff --git a/bmc-objectstorage/bmc-objectstorage-generated/pom.xml b/bmc-objectstorage/bmc-objectstorage-generated/pom.xml
index 3c56ce7dcdc..a114ec94608 100644
--- a/bmc-objectstorage/bmc-objectstorage-generated/pom.xml
+++ b/bmc-objectstorage/bmc-objectstorage-generated/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk-objectstorage-parent
- 3.90.1
+ 3.91.0
../pom.xml
@@ -19,7 +19,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
diff --git a/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/ObjectStorage.java b/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/ObjectStorage.java
index 4861325ab6d..c39174fa685 100644
--- a/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/ObjectStorage.java
+++ b/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/ObjectStorage.java
@@ -917,7 +917,9 @@ PutObjectLifecyclePolicyResponse putObjectLifecyclePolicy(
* this API to re-encrypt all data encryption keys with the newly assigned key. Similarly, you
* might want to re-encrypt all data encryption keys if the assigned key has been rotated to a
* new key version since objects were last added to the bucket. If you call this API and there
- * is no kmsKeyId associated with the bucket, the call will fail.
+ * is no kmsKeyId associated with the bucket, the call will fail. Also, if you set
+ * isBucketKeyEnabled, you might want to re-encrypt all data encryption keys using the bucket
+ * key. This will help reduce calls to OCI Vault KMS when older objects are downloaded.
*
* Calling this API starts a work request task to re-encrypt the data encryption key of all
* objects in the bucket. Only objects created before the time of the API call will be
diff --git a/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/ObjectStorageAsync.java b/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/ObjectStorageAsync.java
index e6237f694ce..86375e9b7ca 100644
--- a/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/ObjectStorageAsync.java
+++ b/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/ObjectStorageAsync.java
@@ -871,7 +871,9 @@ java.util.concurrent.Future putObjectLifecycle
* this API to re-encrypt all data encryption keys with the newly assigned key. Similarly, you
* might want to re-encrypt all data encryption keys if the assigned key has been rotated to a
* new key version since objects were last added to the bucket. If you call this API and there
- * is no kmsKeyId associated with the bucket, the call will fail.
+ * is no kmsKeyId associated with the bucket, the call will fail. Also, if you set
+ * isBucketKeyEnabled, you might want to re-encrypt all data encryption keys using the bucket
+ * key. This will help reduce calls to OCI Vault KMS when older objects are downloaded.
*
* Calling this API starts a work request task to re-encrypt the data encryption key of all
* objects in the bucket. Only objects created before the time of the API call will be
diff --git a/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/ObjectStorageAsyncClient.java b/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/ObjectStorageAsyncClient.java
index 7f541c0a1dc..a143aff7640 100644
--- a/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/ObjectStorageAsyncClient.java
+++ b/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/ObjectStorageAsyncClient.java
@@ -1168,6 +1168,8 @@ public java.util.concurrent.Future getObject(
"opc-content-sha384", GetObjectResponse.Builder::opcContentSha384)
.handleResponseHeaderString(
"opc-multipart-sha384", GetObjectResponse.Builder::opcMultipartSha384)
+ .handleResponseHeaderBoolean(
+ "opc-bucket-key-enabled", GetObjectResponse.Builder::opcBucketKeyEnabled)
.handleResponseHeaderString("content-type", GetObjectResponse.Builder::contentType)
.handleResponseHeaderString(
"content-language", GetObjectResponse.Builder::contentLanguage)
@@ -1571,6 +1573,8 @@ public java.util.concurrent.Future headObject(
"opc-content-sha384", HeadObjectResponse.Builder::opcContentSha384)
.handleResponseHeaderString(
"opc-multipart-sha384", HeadObjectResponse.Builder::opcMultipartSha384)
+ .handleResponseHeaderBoolean(
+ "opc-bucket-key-enabled", HeadObjectResponse.Builder::opcBucketKeyEnabled)
.handleResponseHeaderString("content-type", HeadObjectResponse.Builder::contentType)
.handleResponseHeaderString(
"content-language", HeadObjectResponse.Builder::contentLanguage)
@@ -2411,6 +2415,7 @@ public java.util.concurrent.Future reencryptBucket(
.appendPathParam(request.getBucketName())
.appendPathParam("actions")
.appendPathParam("reencrypt")
+ .appendQueryParam("isReencryptBucketKeyOnly", request.getIsReencryptBucketKeyOnly())
.accept("application/json")
.appendHeader("opc-client-request-id", request.getOpcClientRequestId())
.handleResponseHeaderString(
diff --git a/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/ObjectStorageClient.java b/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/ObjectStorageClient.java
index 8318495aa76..9d048ac769f 100644
--- a/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/ObjectStorageClient.java
+++ b/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/ObjectStorageClient.java
@@ -1139,6 +1139,8 @@ public GetObjectResponse getObject(GetObjectRequest request) {
"opc-content-sha384", GetObjectResponse.Builder::opcContentSha384)
.handleResponseHeaderString(
"opc-multipart-sha384", GetObjectResponse.Builder::opcMultipartSha384)
+ .handleResponseHeaderBoolean(
+ "opc-bucket-key-enabled", GetObjectResponse.Builder::opcBucketKeyEnabled)
.handleResponseHeaderString("content-type", GetObjectResponse.Builder::contentType)
.handleResponseHeaderString(
"content-language", GetObjectResponse.Builder::contentLanguage)
@@ -1520,6 +1522,8 @@ public HeadObjectResponse headObject(HeadObjectRequest request) {
"opc-content-sha384", HeadObjectResponse.Builder::opcContentSha384)
.handleResponseHeaderString(
"opc-multipart-sha384", HeadObjectResponse.Builder::opcMultipartSha384)
+ .handleResponseHeaderBoolean(
+ "opc-bucket-key-enabled", HeadObjectResponse.Builder::opcBucketKeyEnabled)
.handleResponseHeaderString("content-type", HeadObjectResponse.Builder::contentType)
.handleResponseHeaderString(
"content-language", HeadObjectResponse.Builder::contentLanguage)
@@ -2315,6 +2319,7 @@ public ReencryptBucketResponse reencryptBucket(ReencryptBucketRequest request) {
.appendPathParam(request.getBucketName())
.appendPathParam("actions")
.appendPathParam("reencrypt")
+ .appendQueryParam("isReencryptBucketKeyOnly", request.getIsReencryptBucketKeyOnly())
.accept("application/json")
.appendHeader("opc-client-request-id", request.getOpcClientRequestId())
.operationUsesDefaultRetries()
diff --git a/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/model/Bucket.java b/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/model/Bucket.java
index acd438b0b2e..eebaafcd9cf 100644
--- a/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/model/Bucket.java
+++ b/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/model/Bucket.java
@@ -43,6 +43,7 @@ public final class Bucket extends com.oracle.bmc.http.client.internal.Explicitly
"freeformTags",
"definedTags",
"kmsKeyId",
+ "isBucketKeyEnabled",
"objectLifecyclePolicyEtag",
"approximateCount",
"approximateSize",
@@ -67,6 +68,7 @@ public Bucket(
java.util.Map freeformTags,
java.util.Map> definedTags,
String kmsKeyId,
+ Boolean isBucketKeyEnabled,
String objectLifecyclePolicyEtag,
Long approximateCount,
Long approximateSize,
@@ -90,6 +92,7 @@ public Bucket(
this.freeformTags = freeformTags;
this.definedTags = definedTags;
this.kmsKeyId = kmsKeyId;
+ this.isBucketKeyEnabled = isBucketKeyEnabled;
this.objectLifecyclePolicyEtag = objectLifecyclePolicyEtag;
this.approximateCount = approximateCount;
this.approximateSize = approximateSize;
@@ -363,6 +366,29 @@ public Builder kmsKeyId(String kmsKeyId) {
this.__explicitlySet__.add("kmsKeyId");
return this;
}
+ /**
+ * Specifies whether Object Storage should use intermediate cached Bucket Encryption Keys
+ * with server-side encryption using KMS (SSE-KMS) for new objects in the bucket. This
+ * reduces calls to OCI Vault Key Management Service (KMS). Existing objects are not
+ * affected.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("isBucketKeyEnabled")
+ private Boolean isBucketKeyEnabled;
+
+ /**
+ * Specifies whether Object Storage should use intermediate cached Bucket Encryption Keys
+ * with server-side encryption using KMS (SSE-KMS) for new objects in the bucket. This
+ * reduces calls to OCI Vault Key Management Service (KMS). Existing objects are not
+ * affected.
+ *
+ * @param isBucketKeyEnabled the value to set
+ * @return this builder
+ */
+ public Builder isBucketKeyEnabled(Boolean isBucketKeyEnabled) {
+ this.isBucketKeyEnabled = isBucketKeyEnabled;
+ this.__explicitlySet__.add("isBucketKeyEnabled");
+ return this;
+ }
/** The entity tag (ETag) for the live object lifecycle policy on the bucket. */
@com.fasterxml.jackson.annotation.JsonProperty("objectLifecyclePolicyEtag")
private String objectLifecyclePolicyEtag;
@@ -572,6 +598,7 @@ public Bucket build() {
this.freeformTags,
this.definedTags,
this.kmsKeyId,
+ this.isBucketKeyEnabled,
this.objectLifecyclePolicyEtag,
this.approximateCount,
this.approximateSize,
@@ -628,6 +655,9 @@ public Builder copy(Bucket model) {
if (model.wasPropertyExplicitlySet("kmsKeyId")) {
this.kmsKeyId(model.getKmsKeyId());
}
+ if (model.wasPropertyExplicitlySet("isBucketKeyEnabled")) {
+ this.isBucketKeyEnabled(model.getIsBucketKeyEnabled());
+ }
if (model.wasPropertyExplicitlySet("objectLifecyclePolicyEtag")) {
this.objectLifecyclePolicyEtag(model.getObjectLifecyclePolicyEtag());
}
@@ -1003,6 +1033,25 @@ public String getKmsKeyId() {
return kmsKeyId;
}
+ /**
+ * Specifies whether Object Storage should use intermediate cached Bucket Encryption Keys with
+ * server-side encryption using KMS (SSE-KMS) for new objects in the bucket. This reduces calls
+ * to OCI Vault Key Management Service (KMS). Existing objects are not affected.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("isBucketKeyEnabled")
+ private final Boolean isBucketKeyEnabled;
+
+ /**
+ * Specifies whether Object Storage should use intermediate cached Bucket Encryption Keys with
+ * server-side encryption using KMS (SSE-KMS) for new objects in the bucket. This reduces calls
+ * to OCI Vault Key Management Service (KMS). Existing objects are not affected.
+ *
+ * @return the value
+ */
+ public Boolean getIsBucketKeyEnabled() {
+ return isBucketKeyEnabled;
+ }
+
/** The entity tag (ETag) for the live object lifecycle policy on the bucket. */
@com.fasterxml.jackson.annotation.JsonProperty("objectLifecyclePolicyEtag")
private final String objectLifecyclePolicyEtag;
@@ -1355,6 +1404,7 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", freeformTags=").append(String.valueOf(this.freeformTags));
sb.append(", definedTags=").append(String.valueOf(this.definedTags));
sb.append(", kmsKeyId=").append(String.valueOf(this.kmsKeyId));
+ sb.append(", isBucketKeyEnabled=").append(String.valueOf(this.isBucketKeyEnabled));
sb.append(", objectLifecyclePolicyEtag=")
.append(String.valueOf(this.objectLifecyclePolicyEtag));
sb.append(", approximateCount=").append(String.valueOf(this.approximateCount));
@@ -1392,6 +1442,7 @@ 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.kmsKeyId, other.kmsKeyId)
+ && java.util.Objects.equals(this.isBucketKeyEnabled, other.isBucketKeyEnabled)
&& java.util.Objects.equals(
this.objectLifecyclePolicyEtag, other.objectLifecyclePolicyEtag)
&& java.util.Objects.equals(this.approximateCount, other.approximateCount)
@@ -1430,6 +1481,11 @@ 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.kmsKeyId == null ? 43 : this.kmsKeyId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.isBucketKeyEnabled == null
+ ? 43
+ : this.isBucketKeyEnabled.hashCode());
result =
(result * PRIME)
+ (this.objectLifecyclePolicyEtag == null
diff --git a/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/model/CreateBucketDetails.java b/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/model/CreateBucketDetails.java
index d7d9da2b479..94f2a5d4c10 100644
--- a/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/model/CreateBucketDetails.java
+++ b/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/model/CreateBucketDetails.java
@@ -36,6 +36,7 @@ public final class CreateBucketDetails
"freeformTags",
"definedTags",
"kmsKeyId",
+ "isBucketKeyEnabled",
"versioning",
"autoTiering",
"bucketScope"
@@ -50,6 +51,7 @@ public CreateBucketDetails(
java.util.Map freeformTags,
java.util.Map> definedTags,
String kmsKeyId,
+ Boolean isBucketKeyEnabled,
Versioning versioning,
Bucket.AutoTiering autoTiering,
Bucket.BucketScope bucketScope) {
@@ -63,6 +65,7 @@ public CreateBucketDetails(
this.freeformTags = freeformTags;
this.definedTags = definedTags;
this.kmsKeyId = kmsKeyId;
+ this.isBucketKeyEnabled = isBucketKeyEnabled;
this.versioning = versioning;
this.autoTiering = autoTiering;
this.bucketScope = bucketScope;
@@ -264,6 +267,29 @@ public Builder kmsKeyId(String kmsKeyId) {
this.__explicitlySet__.add("kmsKeyId");
return this;
}
+ /**
+ * Specifies whether Object Storage should use intermediate cached Bucket Encryption Keys
+ * with server-side encryption using KMS (SSE-KMS) for new objects in the bucket. This
+ * reduces calls to OCI Vault Key Management Service (KMS). Existing objects are not
+ * affected.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("isBucketKeyEnabled")
+ private Boolean isBucketKeyEnabled;
+
+ /**
+ * Specifies whether Object Storage should use intermediate cached Bucket Encryption Keys
+ * with server-side encryption using KMS (SSE-KMS) for new objects in the bucket. This
+ * reduces calls to OCI Vault Key Management Service (KMS). Existing objects are not
+ * affected.
+ *
+ * @param isBucketKeyEnabled the value to set
+ * @return this builder
+ */
+ public Builder isBucketKeyEnabled(Boolean isBucketKeyEnabled) {
+ this.isBucketKeyEnabled = isBucketKeyEnabled;
+ this.__explicitlySet__.add("isBucketKeyEnabled");
+ return this;
+ }
/**
* Set the versioning status on the bucket. By default, a bucket is created with versioning
* {@code Disabled}. Use this option to enable versioning during bucket creation. Objects in
@@ -353,6 +379,7 @@ public CreateBucketDetails build() {
this.freeformTags,
this.definedTags,
this.kmsKeyId,
+ this.isBucketKeyEnabled,
this.versioning,
this.autoTiering,
this.bucketScope);
@@ -391,6 +418,9 @@ public Builder copy(CreateBucketDetails model) {
if (model.wasPropertyExplicitlySet("kmsKeyId")) {
this.kmsKeyId(model.getKmsKeyId());
}
+ if (model.wasPropertyExplicitlySet("isBucketKeyEnabled")) {
+ this.isBucketKeyEnabled(model.getIsBucketKeyEnabled());
+ }
if (model.wasPropertyExplicitlySet("versioning")) {
this.versioning(model.getVersioning());
}
@@ -665,6 +695,25 @@ public String getKmsKeyId() {
return kmsKeyId;
}
+ /**
+ * Specifies whether Object Storage should use intermediate cached Bucket Encryption Keys with
+ * server-side encryption using KMS (SSE-KMS) for new objects in the bucket. This reduces calls
+ * to OCI Vault Key Management Service (KMS). Existing objects are not affected.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("isBucketKeyEnabled")
+ private final Boolean isBucketKeyEnabled;
+
+ /**
+ * Specifies whether Object Storage should use intermediate cached Bucket Encryption Keys with
+ * server-side encryption using KMS (SSE-KMS) for new objects in the bucket. This reduces calls
+ * to OCI Vault Key Management Service (KMS). Existing objects are not affected.
+ *
+ * @return the value
+ */
+ public Boolean getIsBucketKeyEnabled() {
+ return isBucketKeyEnabled;
+ }
+
/**
* Set the versioning status on the bucket. By default, a bucket is created with versioning
* {@code Disabled}. Use this option to enable versioning during bucket creation. Objects in a
@@ -792,6 +841,7 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", freeformTags=").append(String.valueOf(this.freeformTags));
sb.append(", definedTags=").append(String.valueOf(this.definedTags));
sb.append(", kmsKeyId=").append(String.valueOf(this.kmsKeyId));
+ sb.append(", isBucketKeyEnabled=").append(String.valueOf(this.isBucketKeyEnabled));
sb.append(", versioning=").append(String.valueOf(this.versioning));
sb.append(", autoTiering=").append(String.valueOf(this.autoTiering));
sb.append(", bucketScope=").append(String.valueOf(this.bucketScope));
@@ -818,6 +868,7 @@ 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.kmsKeyId, other.kmsKeyId)
+ && java.util.Objects.equals(this.isBucketKeyEnabled, other.isBucketKeyEnabled)
&& java.util.Objects.equals(this.versioning, other.versioning)
&& java.util.Objects.equals(this.autoTiering, other.autoTiering)
&& java.util.Objects.equals(this.bucketScope, other.bucketScope)
@@ -845,6 +896,11 @@ 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.kmsKeyId == null ? 43 : this.kmsKeyId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.isBucketKeyEnabled == null
+ ? 43
+ : this.isBucketKeyEnabled.hashCode());
result = (result * PRIME) + (this.versioning == null ? 43 : this.versioning.hashCode());
result = (result * PRIME) + (this.autoTiering == null ? 43 : this.autoTiering.hashCode());
result = (result * PRIME) + (this.bucketScope == null ? 43 : this.bucketScope.hashCode());
diff --git a/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/model/UpdateBucketDetails.java b/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/model/UpdateBucketDetails.java
index 74b9558e853..d384b3077b1 100644
--- a/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/model/UpdateBucketDetails.java
+++ b/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/model/UpdateBucketDetails.java
@@ -36,6 +36,7 @@ public final class UpdateBucketDetails
"freeformTags",
"definedTags",
"kmsKeyId",
+ "isBucketKeyEnabled",
"versioning",
"autoTiering",
"bucketScope"
@@ -50,6 +51,7 @@ public UpdateBucketDetails(
java.util.Map freeformTags,
java.util.Map> definedTags,
String kmsKeyId,
+ Boolean isBucketKeyEnabled,
Versioning versioning,
Bucket.AutoTiering autoTiering,
Bucket.BucketScope bucketScope) {
@@ -63,6 +65,7 @@ public UpdateBucketDetails(
this.freeformTags = freeformTags;
this.definedTags = definedTags;
this.kmsKeyId = kmsKeyId;
+ this.isBucketKeyEnabled = isBucketKeyEnabled;
this.versioning = versioning;
this.autoTiering = autoTiering;
this.bucketScope = bucketScope;
@@ -260,6 +263,29 @@ public Builder kmsKeyId(String kmsKeyId) {
this.__explicitlySet__.add("kmsKeyId");
return this;
}
+ /**
+ * Specifies whether Object Storage should use intermediate cached Bucket Encryption Keys
+ * with server-side encryption using KMS (SSE-KMS) for new objects in the bucket. This
+ * reduces calls to OCI Vault Key Management Service (KMS). Existing objects are not
+ * affected.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("isBucketKeyEnabled")
+ private Boolean isBucketKeyEnabled;
+
+ /**
+ * Specifies whether Object Storage should use intermediate cached Bucket Encryption Keys
+ * with server-side encryption using KMS (SSE-KMS) for new objects in the bucket. This
+ * reduces calls to OCI Vault Key Management Service (KMS). Existing objects are not
+ * affected.
+ *
+ * @param isBucketKeyEnabled the value to set
+ * @return this builder
+ */
+ public Builder isBucketKeyEnabled(Boolean isBucketKeyEnabled) {
+ this.isBucketKeyEnabled = isBucketKeyEnabled;
+ this.__explicitlySet__.add("isBucketKeyEnabled");
+ return this;
+ }
/**
* The versioning status on the bucket. If in state {@code Enabled}, multiple versions of
* the same object can be kept in the bucket. When the object is overwritten or deleted,
@@ -355,6 +381,7 @@ public UpdateBucketDetails build() {
this.freeformTags,
this.definedTags,
this.kmsKeyId,
+ this.isBucketKeyEnabled,
this.versioning,
this.autoTiering,
this.bucketScope);
@@ -393,6 +420,9 @@ public Builder copy(UpdateBucketDetails model) {
if (model.wasPropertyExplicitlySet("kmsKeyId")) {
this.kmsKeyId(model.getKmsKeyId());
}
+ if (model.wasPropertyExplicitlySet("isBucketKeyEnabled")) {
+ this.isBucketKeyEnabled(model.getIsBucketKeyEnabled());
+ }
if (model.wasPropertyExplicitlySet("versioning")) {
this.versioning(model.getVersioning());
}
@@ -623,6 +653,25 @@ public String getKmsKeyId() {
return kmsKeyId;
}
+ /**
+ * Specifies whether Object Storage should use intermediate cached Bucket Encryption Keys with
+ * server-side encryption using KMS (SSE-KMS) for new objects in the bucket. This reduces calls
+ * to OCI Vault Key Management Service (KMS). Existing objects are not affected.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("isBucketKeyEnabled")
+ private final Boolean isBucketKeyEnabled;
+
+ /**
+ * Specifies whether Object Storage should use intermediate cached Bucket Encryption Keys with
+ * server-side encryption using KMS (SSE-KMS) for new objects in the bucket. This reduces calls
+ * to OCI Vault Key Management Service (KMS). Existing objects are not affected.
+ *
+ * @return the value
+ */
+ public Boolean getIsBucketKeyEnabled() {
+ return isBucketKeyEnabled;
+ }
+
/**
* The versioning status on the bucket. If in state {@code Enabled}, multiple versions of the
* same object can be kept in the bucket. When the object is overwritten or deleted, previous
@@ -757,6 +806,7 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", freeformTags=").append(String.valueOf(this.freeformTags));
sb.append(", definedTags=").append(String.valueOf(this.definedTags));
sb.append(", kmsKeyId=").append(String.valueOf(this.kmsKeyId));
+ sb.append(", isBucketKeyEnabled=").append(String.valueOf(this.isBucketKeyEnabled));
sb.append(", versioning=").append(String.valueOf(this.versioning));
sb.append(", autoTiering=").append(String.valueOf(this.autoTiering));
sb.append(", bucketScope=").append(String.valueOf(this.bucketScope));
@@ -783,6 +833,7 @@ 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.kmsKeyId, other.kmsKeyId)
+ && java.util.Objects.equals(this.isBucketKeyEnabled, other.isBucketKeyEnabled)
&& java.util.Objects.equals(this.versioning, other.versioning)
&& java.util.Objects.equals(this.autoTiering, other.autoTiering)
&& java.util.Objects.equals(this.bucketScope, other.bucketScope)
@@ -810,6 +861,11 @@ 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.kmsKeyId == null ? 43 : this.kmsKeyId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.isBucketKeyEnabled == null
+ ? 43
+ : this.isBucketKeyEnabled.hashCode());
result = (result * PRIME) + (this.versioning == null ? 43 : this.versioning.hashCode());
result = (result * PRIME) + (this.autoTiering == null ? 43 : this.autoTiering.hashCode());
result = (result * PRIME) + (this.bucketScope == null ? 43 : this.bucketScope.hashCode());
diff --git a/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/requests/ReencryptBucketRequest.java b/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/requests/ReencryptBucketRequest.java
index dd4266f6f21..746e60e7bf7 100644
--- a/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/requests/ReencryptBucketRequest.java
+++ b/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/requests/ReencryptBucketRequest.java
@@ -33,6 +33,17 @@ public String getNamespaceName() {
public String getBucketName() {
return bucketName;
}
+ /**
+ * If true, reencrypt only the intermediate bucket keys and skip everything else in the bucket.
+ */
+ private Boolean isReencryptBucketKeyOnly;
+
+ /**
+ * If true, reencrypt only the intermediate bucket keys and skip everything else in the bucket.
+ */
+ public Boolean getIsReencryptBucketKeyOnly() {
+ return isReencryptBucketKeyOnly;
+ }
/** The client request ID for tracing. */
private String opcClientRequestId;
@@ -79,6 +90,24 @@ public Builder bucketName(String bucketName) {
return this;
}
+ /**
+ * If true, reencrypt only the intermediate bucket keys and skip everything else in the
+ * bucket.
+ */
+ private Boolean isReencryptBucketKeyOnly = null;
+
+ /**
+ * If true, reencrypt only the intermediate bucket keys and skip everything else in the
+ * bucket.
+ *
+ * @param isReencryptBucketKeyOnly the value to set
+ * @return this builder instance
+ */
+ public Builder isReencryptBucketKeyOnly(Boolean isReencryptBucketKeyOnly) {
+ this.isReencryptBucketKeyOnly = isReencryptBucketKeyOnly;
+ return this;
+ }
+
/** The client request ID for tracing. */
private String opcClientRequestId = null;
@@ -125,6 +154,7 @@ public Builder retryConfiguration(
public Builder copy(ReencryptBucketRequest o) {
namespaceName(o.getNamespaceName());
bucketName(o.getBucketName());
+ isReencryptBucketKeyOnly(o.getIsReencryptBucketKeyOnly());
opcClientRequestId(o.getOpcClientRequestId());
invocationCallback(o.getInvocationCallback());
retryConfiguration(o.getRetryConfiguration());
@@ -162,9 +192,11 @@ public ReencryptBucketRequest buildWithoutInvocationCallback() {
ReencryptBucketRequest request = new ReencryptBucketRequest();
request.namespaceName = namespaceName;
request.bucketName = bucketName;
+ request.isReencryptBucketKeyOnly = isReencryptBucketKeyOnly;
request.opcClientRequestId = opcClientRequestId;
return request;
- // new ReencryptBucketRequest(namespaceName, bucketName, opcClientRequestId);
+ // new ReencryptBucketRequest(namespaceName, bucketName, isReencryptBucketKeyOnly,
+ // opcClientRequestId);
}
}
@@ -177,6 +209,7 @@ public Builder toBuilder() {
return new Builder()
.namespaceName(namespaceName)
.bucketName(bucketName)
+ .isReencryptBucketKeyOnly(isReencryptBucketKeyOnly)
.opcClientRequestId(opcClientRequestId);
}
@@ -196,6 +229,8 @@ public String toString() {
sb.append("super=").append(super.toString());
sb.append(",namespaceName=").append(String.valueOf(this.namespaceName));
sb.append(",bucketName=").append(String.valueOf(this.bucketName));
+ sb.append(",isReencryptBucketKeyOnly=")
+ .append(String.valueOf(this.isReencryptBucketKeyOnly));
sb.append(",opcClientRequestId=").append(String.valueOf(this.opcClientRequestId));
sb.append(")");
return sb.toString();
@@ -214,6 +249,8 @@ public boolean equals(Object o) {
return super.equals(o)
&& java.util.Objects.equals(this.namespaceName, other.namespaceName)
&& java.util.Objects.equals(this.bucketName, other.bucketName)
+ && java.util.Objects.equals(
+ this.isReencryptBucketKeyOnly, other.isReencryptBucketKeyOnly)
&& java.util.Objects.equals(this.opcClientRequestId, other.opcClientRequestId);
}
@@ -225,6 +262,11 @@ public int hashCode() {
(result * PRIME)
+ (this.namespaceName == null ? 43 : this.namespaceName.hashCode());
result = (result * PRIME) + (this.bucketName == null ? 43 : this.bucketName.hashCode());
+ result =
+ (result * PRIME)
+ + (this.isReencryptBucketKeyOnly == null
+ ? 43
+ : this.isReencryptBucketKeyOnly.hashCode());
result =
(result * PRIME)
+ (this.opcClientRequestId == null
diff --git a/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/responses/GetObjectResponse.java b/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/responses/GetObjectResponse.java
index 2fe965c8b0e..e5026521942 100644
--- a/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/responses/GetObjectResponse.java
+++ b/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/responses/GetObjectResponse.java
@@ -228,6 +228,18 @@ public String getOpcMultipartSha384() {
return opcMultipartSha384;
}
+ /** True if bucket key was enabled and used to encrypt the object during upload or reencrypt. */
+ private Boolean opcBucketKeyEnabled;
+
+ /**
+ * True if bucket key was enabled and used to encrypt the object during upload or reencrypt.
+ *
+ * @return the value
+ */
+ public Boolean getOpcBucketKeyEnabled() {
+ return opcBucketKeyEnabled;
+ }
+
/**
* Content-Type header, as described in [RFC
* 2616](https://tools.ietf.org/html/rfc2616#section-14.17).
@@ -438,6 +450,7 @@ public boolean isNotModified() {
"opcMultipartSha256",
"opcContentSha384",
"opcMultipartSha384",
+ "opcBucketKeyEnabled",
"contentType",
"contentLanguage",
"contentEncoding",
@@ -468,6 +481,7 @@ private GetObjectResponse(
String opcMultipartSha256,
String opcContentSha384,
String opcMultipartSha384,
+ Boolean opcBucketKeyEnabled,
String contentType,
String contentLanguage,
String contentEncoding,
@@ -495,6 +509,7 @@ private GetObjectResponse(
this.opcMultipartSha256 = opcMultipartSha256;
this.opcContentSha384 = opcContentSha384;
this.opcMultipartSha384 = opcMultipartSha384;
+ this.opcBucketKeyEnabled = opcBucketKeyEnabled;
this.contentType = contentType;
this.contentLanguage = contentLanguage;
this.contentEncoding = contentEncoding;
@@ -778,6 +793,22 @@ public Builder opcMultipartSha384(String opcMultipartSha384) {
return this;
}
+ /**
+ * True if bucket key was enabled and used to encrypt the object during upload or reencrypt.
+ */
+ private Boolean opcBucketKeyEnabled;
+
+ /**
+ * True if bucket key was enabled and used to encrypt the object during upload or reencrypt.
+ *
+ * @param opcBucketKeyEnabled the value to set
+ * @return this builder
+ */
+ public Builder opcBucketKeyEnabled(Boolean opcBucketKeyEnabled) {
+ this.opcBucketKeyEnabled = opcBucketKeyEnabled;
+ return this;
+ }
+
/**
* Content-Type header, as described in [RFC
* 2616](https://tools.ietf.org/html/rfc2616#section-14.17).
@@ -1023,6 +1054,7 @@ public Builder copy(GetObjectResponse o) {
opcMultipartSha256(o.getOpcMultipartSha256());
opcContentSha384(o.getOpcContentSha384());
opcMultipartSha384(o.getOpcMultipartSha384());
+ opcBucketKeyEnabled(o.getOpcBucketKeyEnabled());
contentType(o.getContentType());
contentLanguage(o.getContentLanguage());
contentEncoding(o.getContentEncoding());
@@ -1062,6 +1094,7 @@ public GetObjectResponse build() {
opcMultipartSha256,
opcContentSha384,
opcMultipartSha384,
+ opcBucketKeyEnabled,
contentType,
contentLanguage,
contentEncoding,
@@ -1105,6 +1138,7 @@ public String toString() {
sb.append(",opcMultipartSha256=").append(String.valueOf(opcMultipartSha256));
sb.append(",opcContentSha384=").append(String.valueOf(opcContentSha384));
sb.append(",opcMultipartSha384=").append(String.valueOf(opcMultipartSha384));
+ sb.append(",opcBucketKeyEnabled=").append(String.valueOf(opcBucketKeyEnabled));
sb.append(",contentType=").append(String.valueOf(contentType));
sb.append(",contentLanguage=").append(String.valueOf(contentLanguage));
sb.append(",contentEncoding=").append(String.valueOf(contentEncoding));
@@ -1146,6 +1180,7 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.opcMultipartSha256, other.opcMultipartSha256)
&& java.util.Objects.equals(this.opcContentSha384, other.opcContentSha384)
&& java.util.Objects.equals(this.opcMultipartSha384, other.opcMultipartSha384)
+ && java.util.Objects.equals(this.opcBucketKeyEnabled, other.opcBucketKeyEnabled)
&& java.util.Objects.equals(this.contentType, other.contentType)
&& java.util.Objects.equals(this.contentLanguage, other.contentLanguage)
&& java.util.Objects.equals(this.contentEncoding, other.contentEncoding)
@@ -1200,6 +1235,11 @@ public int hashCode() {
+ (this.opcMultipartSha384 == null
? 43
: this.opcMultipartSha384.hashCode());
+ result =
+ (result * PRIME)
+ + (this.opcBucketKeyEnabled == null
+ ? 43
+ : this.opcBucketKeyEnabled.hashCode());
result = (result * PRIME) + (this.contentType == null ? 43 : this.contentType.hashCode());
result =
(result * PRIME)
diff --git a/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/responses/HeadObjectResponse.java b/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/responses/HeadObjectResponse.java
index cd4bf710b84..23cdc5d5f76 100644
--- a/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/responses/HeadObjectResponse.java
+++ b/bmc-objectstorage/bmc-objectstorage-generated/src/main/java/com/oracle/bmc/objectstorage/responses/HeadObjectResponse.java
@@ -212,6 +212,18 @@ public String getOpcMultipartSha384() {
return opcMultipartSha384;
}
+ /** True if bucket key was enabled and used to encrypt the object during upload or reencrypt. */
+ private Boolean opcBucketKeyEnabled;
+
+ /**
+ * True if bucket key was enabled and used to encrypt the object during upload or reencrypt.
+ *
+ * @return the value
+ */
+ public Boolean getOpcBucketKeyEnabled() {
+ return opcBucketKeyEnabled;
+ }
+
/**
* Content-Type header, as described in [RFC
* 2616](https://tools.ietf.org/html/rfc2616#section-14.17).
@@ -393,6 +405,7 @@ public boolean isNotModified() {
"opcMultipartSha256",
"opcContentSha384",
"opcMultipartSha384",
+ "opcBucketKeyEnabled",
"contentType",
"contentLanguage",
"contentEncoding",
@@ -420,6 +433,7 @@ private HeadObjectResponse(
String opcMultipartSha256,
String opcContentSha384,
String opcMultipartSha384,
+ Boolean opcBucketKeyEnabled,
String contentType,
String contentLanguage,
String contentEncoding,
@@ -444,6 +458,7 @@ private HeadObjectResponse(
this.opcMultipartSha256 = opcMultipartSha256;
this.opcContentSha384 = opcContentSha384;
this.opcMultipartSha384 = opcMultipartSha384;
+ this.opcBucketKeyEnabled = opcBucketKeyEnabled;
this.contentType = contentType;
this.contentLanguage = contentLanguage;
this.contentEncoding = contentEncoding;
@@ -707,6 +722,22 @@ public Builder opcMultipartSha384(String opcMultipartSha384) {
return this;
}
+ /**
+ * True if bucket key was enabled and used to encrypt the object during upload or reencrypt.
+ */
+ private Boolean opcBucketKeyEnabled;
+
+ /**
+ * True if bucket key was enabled and used to encrypt the object during upload or reencrypt.
+ *
+ * @param opcBucketKeyEnabled the value to set
+ * @return this builder
+ */
+ public Builder opcBucketKeyEnabled(Boolean opcBucketKeyEnabled) {
+ this.opcBucketKeyEnabled = opcBucketKeyEnabled;
+ return this;
+ }
+
/**
* Content-Type header, as described in [RFC
* 2616](https://tools.ietf.org/html/rfc2616#section-14.17).
@@ -917,6 +948,7 @@ public Builder copy(HeadObjectResponse o) {
opcMultipartSha256(o.getOpcMultipartSha256());
opcContentSha384(o.getOpcContentSha384());
opcMultipartSha384(o.getOpcMultipartSha384());
+ opcBucketKeyEnabled(o.getOpcBucketKeyEnabled());
contentType(o.getContentType());
contentLanguage(o.getContentLanguage());
contentEncoding(o.getContentEncoding());
@@ -954,6 +986,7 @@ public HeadObjectResponse build() {
opcMultipartSha256,
opcContentSha384,
opcMultipartSha384,
+ opcBucketKeyEnabled,
contentType,
contentLanguage,
contentEncoding,
@@ -994,6 +1027,7 @@ public String toString() {
sb.append(",opcMultipartSha256=").append(String.valueOf(opcMultipartSha256));
sb.append(",opcContentSha384=").append(String.valueOf(opcContentSha384));
sb.append(",opcMultipartSha384=").append(String.valueOf(opcMultipartSha384));
+ sb.append(",opcBucketKeyEnabled=").append(String.valueOf(opcBucketKeyEnabled));
sb.append(",contentType=").append(String.valueOf(contentType));
sb.append(",contentLanguage=").append(String.valueOf(contentLanguage));
sb.append(",contentEncoding=").append(String.valueOf(contentEncoding));
@@ -1032,6 +1066,7 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.opcMultipartSha256, other.opcMultipartSha256)
&& java.util.Objects.equals(this.opcContentSha384, other.opcContentSha384)
&& java.util.Objects.equals(this.opcMultipartSha384, other.opcMultipartSha384)
+ && java.util.Objects.equals(this.opcBucketKeyEnabled, other.opcBucketKeyEnabled)
&& java.util.Objects.equals(this.contentType, other.contentType)
&& java.util.Objects.equals(this.contentLanguage, other.contentLanguage)
&& java.util.Objects.equals(this.contentEncoding, other.contentEncoding)
@@ -1083,6 +1118,11 @@ public int hashCode() {
+ (this.opcMultipartSha384 == null
? 43
: this.opcMultipartSha384.hashCode());
+ result =
+ (result * PRIME)
+ + (this.opcBucketKeyEnabled == null
+ ? 43
+ : this.opcBucketKeyEnabled.hashCode());
result = (result * PRIME) + (this.contentType == null ? 43 : this.contentType.hashCode());
result =
(result * PRIME)
diff --git a/bmc-objectstorage/pom.xml b/bmc-objectstorage/pom.xml
index f521a2d4a7c..8e2bfe3d0b5 100644
--- a/bmc-objectstorage/pom.xml
+++ b/bmc-objectstorage/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
diff --git a/bmc-oce/pom.xml b/bmc-oce/pom.xml
index db094222ec9..9ffe6b6172f 100644
--- a/bmc-oce/pom.xml
+++ b/bmc-oce/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-oce
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-ocicontrolcenter/pom.xml b/bmc-ocicontrolcenter/pom.xml
index 6ae8702ad83..6b868aa6ed8 100644
--- a/bmc-ocicontrolcenter/pom.xml
+++ b/bmc-ocicontrolcenter/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-ocicontrolcenter
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-ocvp/pom.xml b/bmc-ocvp/pom.xml
index ab0b085872a..ce5d5700599 100644
--- a/bmc-ocvp/pom.xml
+++ b/bmc-ocvp/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-ocvp
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-oda/pom.xml b/bmc-oda/pom.xml
index 578cf227f98..b4b6c9b5cfd 100644
--- a/bmc-oda/pom.xml
+++ b/bmc-oda/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-oda
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-onesubscription/pom.xml b/bmc-onesubscription/pom.xml
index b8f7a88eb07..13ea6411916 100644
--- a/bmc-onesubscription/pom.xml
+++ b/bmc-onesubscription/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-onesubscription
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-ons/pom.xml b/bmc-ons/pom.xml
index d9612a60df0..dd526ad8027 100644
--- a/bmc-ons/pom.xml
+++ b/bmc-ons/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-ons
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-opa/pom.xml b/bmc-opa/pom.xml
index 2f75f2cd282..7f9f32e8ea1 100644
--- a/bmc-opa/pom.xml
+++ b/bmc-opa/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-opa
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-opensearch/pom.xml b/bmc-opensearch/pom.xml
index f84ef82442b..03118921a45 100644
--- a/bmc-opensearch/pom.xml
+++ b/bmc-opensearch/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-opensearch
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-operatoraccesscontrol/pom.xml b/bmc-operatoraccesscontrol/pom.xml
index 2e3bee78134..c9595417ebb 100644
--- a/bmc-operatoraccesscontrol/pom.xml
+++ b/bmc-operatoraccesscontrol/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-operatoraccesscontrol
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-opsi/pom.xml b/bmc-opsi/pom.xml
index 3f712559ace..eac344c0a4f 100644
--- a/bmc-opsi/pom.xml
+++ b/bmc-opsi/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-opsi
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-optimizer/pom.xml b/bmc-optimizer/pom.xml
index e7f65acdcf8..c1470d7e21b 100644
--- a/bmc-optimizer/pom.xml
+++ b/bmc-optimizer/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-optimizer
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-osmanagementhub/pom.xml b/bmc-osmanagementhub/pom.xml
index 8414e1b90b0..14d5841bfc7 100644
--- a/bmc-osmanagementhub/pom.xml
+++ b/bmc-osmanagementhub/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-osmanagementhub
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-ospgateway/pom.xml b/bmc-ospgateway/pom.xml
index e1291a2273d..28568fa86d4 100644
--- a/bmc-ospgateway/pom.xml
+++ b/bmc-ospgateway/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-ospgateway
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-osubbillingschedule/pom.xml b/bmc-osubbillingschedule/pom.xml
index 11bc942e2ec..6f1b2652006 100644
--- a/bmc-osubbillingschedule/pom.xml
+++ b/bmc-osubbillingschedule/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-osubbillingschedule
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-osuborganizationsubscription/pom.xml b/bmc-osuborganizationsubscription/pom.xml
index 5477026fa58..88a9890589d 100644
--- a/bmc-osuborganizationsubscription/pom.xml
+++ b/bmc-osuborganizationsubscription/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-osuborganizationsubscription
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-osubsubscription/pom.xml b/bmc-osubsubscription/pom.xml
index a05c043e9fc..2ab9531b9d5 100644
--- a/bmc-osubsubscription/pom.xml
+++ b/bmc-osubsubscription/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-osubsubscription
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-osubusage/pom.xml b/bmc-osubusage/pom.xml
index 925330a8ce2..11594d788d3 100644
--- a/bmc-osubusage/pom.xml
+++ b/bmc-osubusage/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-osubusage
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-other-examples/bmc-jersey-examples/pom.xml b/bmc-other-examples/bmc-jersey-examples/pom.xml
index d3141bcf69b..047eea764ef 100644
--- a/bmc-other-examples/bmc-jersey-examples/pom.xml
+++ b/bmc-other-examples/bmc-jersey-examples/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.oracle.oci.sdk
oci-java-sdk-jersey-examples
- 3.90.1
+ 3.91.0
Oracle Cloud Infrastructure SDK - Examples using Jersey 2 HTTP client
This project contains the examples on how to use the SDK used for Oracle Cloud Infrastructure with the Jersey 2 HTTP client
https://docs.oracle.com/iaas/Content/API/SDKDocs/javasdk.htm
@@ -58,7 +58,7 @@
com.oracle.oci.sdk
oci-java-sdk-enforcer-rules
- 3.90.1
+ 3.91.0
false
@@ -95,14 +95,14 @@
com.oracle.oci.sdk
oci-java-sdk-bom
- 3.90.1
+ 3.91.0
pom
import
com.oracle.oci.sdk
oci-java-sdk-common-httpclient-jersey
- 3.90.1
+ 3.91.0
pom
import
diff --git a/bmc-other-examples/bmc-jersey3-examples/pom.xml b/bmc-other-examples/bmc-jersey3-examples/pom.xml
index e35f6ada1b9..abdcf7b9e94 100644
--- a/bmc-other-examples/bmc-jersey3-examples/pom.xml
+++ b/bmc-other-examples/bmc-jersey3-examples/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.oracle.oci.sdk
oci-java-sdk-jersey3-examples
- 3.90.1
+ 3.91.0
Oracle Cloud Infrastructure SDK - Examples using Jersey 3 HTTP client
This project contains the examples on how to use the SDK used for Oracle Cloud Infrastructure with the Jersey 3 HTTP client
https://docs.oracle.com/iaas/Content/API/SDKDocs/javasdk.htm
@@ -58,7 +58,7 @@
com.oracle.oci.sdk
oci-java-sdk-enforcer-rules
- 3.90.1
+ 3.91.0
false
@@ -95,14 +95,14 @@
com.oracle.oci.sdk
oci-java-sdk-bom
- 3.90.1
+ 3.91.0
pom
import
com.oracle.oci.sdk
oci-java-sdk-common-httpclient-jersey3
- 3.90.1
+ 3.91.0
pom
import
diff --git a/bmc-other-examples/native-maven-example/pom.xml b/bmc-other-examples/native-maven-example/pom.xml
index 837e9ab8dad..553c6f691ad 100644
--- a/bmc-other-examples/native-maven-example/pom.xml
+++ b/bmc-other-examples/native-maven-example/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.oracle.oci.sdk
oci-java-sdk-examples-native
- 3.90.1
+ 3.91.0
Oracle Cloud Infrastructure SDK - Native Example
This project contains an example on how to use the SDK used for Oracle Cloud Infrastructure in a native executable
https://docs.oracle.com/iaas/Content/API/SDKDocs/javasdk.htm
@@ -98,14 +98,14 @@
com.oracle.oci.sdk
oci-java-sdk-bom
- 3.90.1
+ 3.91.0
pom
import
com.oracle.oci.sdk
oci-java-sdk-common-httpclient-jersey
- 3.90.1
+ 3.91.0
pom
import
diff --git a/bmc-other-examples/pom.xml b/bmc-other-examples/pom.xml
index 0488de85bdc..7e90aba7f1f 100644
--- a/bmc-other-examples/pom.xml
+++ b/bmc-other-examples/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
diff --git a/bmc-psa/pom.xml b/bmc-psa/pom.xml
index 379abe85a18..31fd78c2c03 100644
--- a/bmc-psa/pom.xml
+++ b/bmc-psa/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-psa
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-psql/pom.xml b/bmc-psql/pom.xml
index 88af21a855c..1897ea0f68a 100644
--- a/bmc-psql/pom.xml
+++ b/bmc-psql/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-psql
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-psql/src/main/java/com/oracle/bmc/psql/Postgresql.java b/bmc-psql/src/main/java/com/oracle/bmc/psql/Postgresql.java
index 644186cd30d..8fdd6c98e8a 100644
--- a/bmc-psql/src/main/java/com/oracle/bmc/psql/Postgresql.java
+++ b/bmc-psql/src/main/java/com/oracle/bmc/psql/Postgresql.java
@@ -354,6 +354,21 @@ ChangeDbSystemCompartmentResponse changeDbSystemCompartment(
*/
GetDefaultConfigurationResponse getDefaultConfiguration(GetDefaultConfigurationRequest request);
+ /**
+ * Gets the database system PITR details.
+ *
+ * @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 GetPitrDetails API.
+ */
+ GetPitrDetailsResponse getPitrDetails(GetPitrDetailsRequest request);
+
/**
* Gets the primary database instance node details.
*
diff --git a/bmc-psql/src/main/java/com/oracle/bmc/psql/PostgresqlAsync.java b/bmc-psql/src/main/java/com/oracle/bmc/psql/PostgresqlAsync.java
index fb27a12227b..a7c59205b1c 100644
--- a/bmc-psql/src/main/java/com/oracle/bmc/psql/PostgresqlAsync.java
+++ b/bmc-psql/src/main/java/com/oracle/bmc/psql/PostgresqlAsync.java
@@ -346,6 +346,21 @@ java.util.concurrent.Future getDefaultConfigura
GetDefaultConfigurationRequest, GetDefaultConfigurationResponse>
handler);
+ /**
+ * Gets the database system PITR details.
+ *
+ * @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 getPitrDetails(
+ GetPitrDetailsRequest request,
+ com.oracle.bmc.responses.AsyncHandler
+ handler);
+
/**
* Gets the primary database instance node details.
*
diff --git a/bmc-psql/src/main/java/com/oracle/bmc/psql/PostgresqlAsyncClient.java b/bmc-psql/src/main/java/com/oracle/bmc/psql/PostgresqlAsyncClient.java
index 41b76f3b338..b57a480f0e3 100644
--- a/bmc-psql/src/main/java/com/oracle/bmc/psql/PostgresqlAsyncClient.java
+++ b/bmc-psql/src/main/java/com/oracle/bmc/psql/PostgresqlAsyncClient.java
@@ -693,6 +693,38 @@ public java.util.concurrent.Future getDefaultCo
.callAsync(handler);
}
+ @Override
+ public java.util.concurrent.Future getPitrDetails(
+ GetPitrDetailsRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ GetPitrDetailsRequest, GetPitrDetailsResponse>
+ handler) {
+
+ Validate.notBlank(request.getDbSystemId(), "dbSystemId must not be blank");
+
+ return clientCall(request, GetPitrDetailsResponse::builder)
+ .logger(LOG, "getPitrDetails")
+ .serviceDetails(
+ "Postgresql",
+ "GetPitrDetails",
+ "https://docs.oracle.com/iaas/api/#/en/postgresql/20220915/PitrDetails/GetPitrDetails")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(GetPitrDetailsRequest::builder)
+ .basePath("/20220915")
+ .appendPathParam("dbSystems")
+ .appendPathParam(request.getDbSystemId())
+ .appendPathParam("pitrDetails")
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleBody(
+ com.oracle.bmc.psql.model.PitrDetails.class,
+ GetPitrDetailsResponse.Builder::pitrDetails)
+ .handleResponseHeaderString("etag", GetPitrDetailsResponse.Builder::etag)
+ .handleResponseHeaderString(
+ "opc-request-id", GetPitrDetailsResponse.Builder::opcRequestId)
+ .callAsync(handler);
+ }
+
@Override
public java.util.concurrent.Future getPrimaryDbInstance(
GetPrimaryDbInstanceRequest request,
@@ -785,6 +817,7 @@ public java.util.concurrent.Future listBackups(
.appendQueryParam("page", request.getPage())
.appendEnumQueryParam("sortOrder", request.getSortOrder())
.appendEnumQueryParam("sortBy", request.getSortBy())
+ .appendQueryParam("backupSourceType", request.getBackupSourceType())
.accept("application/json")
.appendHeader("opc-request-id", request.getOpcRequestId())
.handleBody(
diff --git a/bmc-psql/src/main/java/com/oracle/bmc/psql/PostgresqlClient.java b/bmc-psql/src/main/java/com/oracle/bmc/psql/PostgresqlClient.java
index 5f31577e1c3..7fe09c5aa31 100644
--- a/bmc-psql/src/main/java/com/oracle/bmc/psql/PostgresqlClient.java
+++ b/bmc-psql/src/main/java/com/oracle/bmc/psql/PostgresqlClient.java
@@ -675,6 +675,35 @@ public GetDefaultConfigurationResponse getDefaultConfiguration(
.callSync();
}
+ @Override
+ public GetPitrDetailsResponse getPitrDetails(GetPitrDetailsRequest request) {
+
+ Validate.notBlank(request.getDbSystemId(), "dbSystemId must not be blank");
+
+ return clientCall(request, GetPitrDetailsResponse::builder)
+ .logger(LOG, "getPitrDetails")
+ .serviceDetails(
+ "Postgresql",
+ "GetPitrDetails",
+ "https://docs.oracle.com/iaas/api/#/en/postgresql/20220915/PitrDetails/GetPitrDetails")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(GetPitrDetailsRequest::builder)
+ .basePath("/20220915")
+ .appendPathParam("dbSystems")
+ .appendPathParam(request.getDbSystemId())
+ .appendPathParam("pitrDetails")
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .operationUsesDefaultRetries()
+ .handleBody(
+ com.oracle.bmc.psql.model.PitrDetails.class,
+ GetPitrDetailsResponse.Builder::pitrDetails)
+ .handleResponseHeaderString("etag", GetPitrDetailsResponse.Builder::etag)
+ .handleResponseHeaderString(
+ "opc-request-id", GetPitrDetailsResponse.Builder::opcRequestId)
+ .callSync();
+ }
+
@Override
public GetPrimaryDbInstanceResponse getPrimaryDbInstance(GetPrimaryDbInstanceRequest request) {
@@ -758,6 +787,7 @@ public ListBackupsResponse listBackups(ListBackupsRequest request) {
.appendQueryParam("page", request.getPage())
.appendEnumQueryParam("sortOrder", request.getSortOrder())
.appendEnumQueryParam("sortBy", request.getSortBy())
+ .appendQueryParam("backupSourceType", request.getBackupSourceType())
.accept("application/json")
.appendHeader("opc-request-id", request.getOpcRequestId())
.operationUsesDefaultRetries()
diff --git a/bmc-psql/src/main/java/com/oracle/bmc/psql/model/Backup.java b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/Backup.java
index 29e7446f4ec..4f03cc9e8ab 100644
--- a/bmc-psql/src/main/java/com/oracle/bmc/psql/model/Backup.java
+++ b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/Backup.java
@@ -633,6 +633,7 @@ public String getCompartmentId() {
public enum SourceType implements com.oracle.bmc.http.internal.BmcEnum {
Scheduled("SCHEDULED"),
Manual("MANUAL"),
+ Pitr("PITR"),
Copied("COPIED"),
/**
diff --git a/bmc-psql/src/main/java/com/oracle/bmc/psql/model/ManagementPolicy.java b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/ManagementPolicy.java
index 8f8cd5b3a54..6f80b0a7f9e 100644
--- a/bmc-psql/src/main/java/com/oracle/bmc/psql/model/ManagementPolicy.java
+++ b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/ManagementPolicy.java
@@ -22,11 +22,13 @@
public final class ManagementPolicy
extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"maintenanceWindowStart", "backupPolicy"})
- public ManagementPolicy(String maintenanceWindowStart, BackupPolicy backupPolicy) {
+ @java.beans.ConstructorProperties({"maintenanceWindowStart", "backupPolicy", "pitrPolicy"})
+ public ManagementPolicy(
+ String maintenanceWindowStart, BackupPolicy backupPolicy, PitrPolicy pitrPolicy) {
super();
this.maintenanceWindowStart = maintenanceWindowStart;
this.backupPolicy = backupPolicy;
+ this.pitrPolicy = pitrPolicy;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -56,12 +58,22 @@ public Builder backupPolicy(BackupPolicy backupPolicy) {
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("pitrPolicy")
+ private PitrPolicy pitrPolicy;
+
+ public Builder pitrPolicy(PitrPolicy pitrPolicy) {
+ this.pitrPolicy = pitrPolicy;
+ this.__explicitlySet__.add("pitrPolicy");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
public ManagementPolicy build() {
ManagementPolicy model =
- new ManagementPolicy(this.maintenanceWindowStart, this.backupPolicy);
+ new ManagementPolicy(
+ this.maintenanceWindowStart, this.backupPolicy, this.pitrPolicy);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -76,6 +88,9 @@ public Builder copy(ManagementPolicy model) {
if (model.wasPropertyExplicitlySet("backupPolicy")) {
this.backupPolicy(model.getBackupPolicy());
}
+ if (model.wasPropertyExplicitlySet("pitrPolicy")) {
+ this.pitrPolicy(model.getPitrPolicy());
+ }
return this;
}
}
@@ -109,6 +124,13 @@ public BackupPolicy getBackupPolicy() {
return backupPolicy;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("pitrPolicy")
+ private final PitrPolicy pitrPolicy;
+
+ public PitrPolicy getPitrPolicy() {
+ return pitrPolicy;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -126,6 +148,7 @@ public String toString(boolean includeByteArrayContents) {
sb.append("super=").append(super.toString());
sb.append("maintenanceWindowStart=").append(String.valueOf(this.maintenanceWindowStart));
sb.append(", backupPolicy=").append(String.valueOf(this.backupPolicy));
+ sb.append(", pitrPolicy=").append(String.valueOf(this.pitrPolicy));
sb.append(")");
return sb.toString();
}
@@ -142,6 +165,7 @@ public boolean equals(Object o) {
ManagementPolicy other = (ManagementPolicy) o;
return java.util.Objects.equals(this.maintenanceWindowStart, other.maintenanceWindowStart)
&& java.util.Objects.equals(this.backupPolicy, other.backupPolicy)
+ && java.util.Objects.equals(this.pitrPolicy, other.pitrPolicy)
&& super.equals(other);
}
@@ -155,6 +179,7 @@ public int hashCode() {
? 43
: this.maintenanceWindowStart.hashCode());
result = (result * PRIME) + (this.backupPolicy == null ? 43 : this.backupPolicy.hashCode());
+ result = (result * PRIME) + (this.pitrPolicy == null ? 43 : this.pitrPolicy.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-psql/src/main/java/com/oracle/bmc/psql/model/ManagementPolicyDetails.java b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/ManagementPolicyDetails.java
index 2c26e7ed8b0..50baa7bb3b8 100644
--- a/bmc-psql/src/main/java/com/oracle/bmc/psql/model/ManagementPolicyDetails.java
+++ b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/ManagementPolicyDetails.java
@@ -23,11 +23,13 @@
public final class ManagementPolicyDetails
extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"maintenanceWindowStart", "backupPolicy"})
- public ManagementPolicyDetails(String maintenanceWindowStart, BackupPolicy backupPolicy) {
+ @java.beans.ConstructorProperties({"maintenanceWindowStart", "backupPolicy", "pitrPolicy"})
+ public ManagementPolicyDetails(
+ String maintenanceWindowStart, BackupPolicy backupPolicy, PitrPolicy pitrPolicy) {
super();
this.maintenanceWindowStart = maintenanceWindowStart;
this.backupPolicy = backupPolicy;
+ this.pitrPolicy = pitrPolicy;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -69,12 +71,22 @@ public Builder backupPolicy(BackupPolicy backupPolicy) {
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("pitrPolicy")
+ private PitrPolicy pitrPolicy;
+
+ public Builder pitrPolicy(PitrPolicy pitrPolicy) {
+ this.pitrPolicy = pitrPolicy;
+ this.__explicitlySet__.add("pitrPolicy");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
public ManagementPolicyDetails build() {
ManagementPolicyDetails model =
- new ManagementPolicyDetails(this.maintenanceWindowStart, this.backupPolicy);
+ new ManagementPolicyDetails(
+ this.maintenanceWindowStart, this.backupPolicy, this.pitrPolicy);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -89,6 +101,9 @@ public Builder copy(ManagementPolicyDetails model) {
if (model.wasPropertyExplicitlySet("backupPolicy")) {
this.backupPolicy(model.getBackupPolicy());
}
+ if (model.wasPropertyExplicitlySet("pitrPolicy")) {
+ this.pitrPolicy(model.getPitrPolicy());
+ }
return this;
}
}
@@ -132,6 +147,13 @@ public BackupPolicy getBackupPolicy() {
return backupPolicy;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("pitrPolicy")
+ private final PitrPolicy pitrPolicy;
+
+ public PitrPolicy getPitrPolicy() {
+ return pitrPolicy;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -149,6 +171,7 @@ public String toString(boolean includeByteArrayContents) {
sb.append("super=").append(super.toString());
sb.append("maintenanceWindowStart=").append(String.valueOf(this.maintenanceWindowStart));
sb.append(", backupPolicy=").append(String.valueOf(this.backupPolicy));
+ sb.append(", pitrPolicy=").append(String.valueOf(this.pitrPolicy));
sb.append(")");
return sb.toString();
}
@@ -165,6 +188,7 @@ public boolean equals(Object o) {
ManagementPolicyDetails other = (ManagementPolicyDetails) o;
return java.util.Objects.equals(this.maintenanceWindowStart, other.maintenanceWindowStart)
&& java.util.Objects.equals(this.backupPolicy, other.backupPolicy)
+ && java.util.Objects.equals(this.pitrPolicy, other.pitrPolicy)
&& super.equals(other);
}
@@ -178,6 +202,7 @@ public int hashCode() {
? 43
: this.maintenanceWindowStart.hashCode());
result = (result * PRIME) + (this.backupPolicy == null ? 43 : this.backupPolicy.hashCode());
+ result = (result * PRIME) + (this.pitrPolicy == null ? 43 : this.pitrPolicy.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-psql/src/main/java/com/oracle/bmc/psql/model/NonePitrPolicy.java b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/NonePitrPolicy.java
new file mode 100644
index 00000000000..8c381adabcf
--- /dev/null
+++ b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/NonePitrPolicy.java
@@ -0,0 +1,99 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.psql.model;
+
+/**
+ * None point-in-time recovery policy.
+ * 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: 20220915")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = NonePitrPolicy.Builder.class)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "kind")
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class NonePitrPolicy extends PitrPolicy {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public NonePitrPolicy build() {
+ NonePitrPolicy model = new NonePitrPolicy();
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(NonePitrPolicy model) {
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public NonePitrPolicy() {
+ super();
+ }
+
+ @Override
+ public String toString() {
+ return this.toString(true);
+ }
+
+ /**
+ * Return a string representation of the object.
+ *
+ * @param includeByteArrayContents true to include the full contents of byte arrays
+ * @return string representation
+ */
+ public String toString(boolean includeByteArrayContents) {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("NonePitrPolicy(");
+ 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 NonePitrPolicy)) {
+ return false;
+ }
+
+ NonePitrPolicy other = (NonePitrPolicy) o;
+ return super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-psql/src/main/java/com/oracle/bmc/psql/model/PitrDetails.java b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/PitrDetails.java
new file mode 100644
index 00000000000..9a13b55ad94
--- /dev/null
+++ b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/PitrDetails.java
@@ -0,0 +1,218 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.psql.model;
+
+/**
+ * Point-in-time recovery details
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model
+ * distinguishes fields that are {@code null} because they are unset from fields that are explicitly
+ * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a
+ * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link
+ * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set
+ * fields into account. The constructor, on the other hand, does not take the explicitly set fields
+ * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code
+ * null}).
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220915")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = PitrDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class PitrDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({"pitrState", "recoveryTimeWindows"})
+ public PitrDetails(PitrState pitrState, java.util.List recoveryTimeWindows) {
+ super();
+ this.pitrState = pitrState;
+ this.recoveryTimeWindows = recoveryTimeWindows;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /** The current state of the point-in-time recovery of the db system. */
+ @com.fasterxml.jackson.annotation.JsonProperty("pitrState")
+ private PitrState pitrState;
+
+ /**
+ * The current state of the point-in-time recovery of the db system.
+ *
+ * @param pitrState the value to set
+ * @return this builder
+ */
+ public Builder pitrState(PitrState pitrState) {
+ this.pitrState = pitrState;
+ this.__explicitlySet__.add("pitrState");
+ return this;
+ }
+ /** List of point-in-time recovery windows. */
+ @com.fasterxml.jackson.annotation.JsonProperty("recoveryTimeWindows")
+ private java.util.List recoveryTimeWindows;
+
+ /**
+ * List of point-in-time recovery windows.
+ *
+ * @param recoveryTimeWindows the value to set
+ * @return this builder
+ */
+ public Builder recoveryTimeWindows(java.util.List recoveryTimeWindows) {
+ this.recoveryTimeWindows = recoveryTimeWindows;
+ this.__explicitlySet__.add("recoveryTimeWindows");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public PitrDetails build() {
+ PitrDetails model = new PitrDetails(this.pitrState, this.recoveryTimeWindows);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(PitrDetails model) {
+ if (model.wasPropertyExplicitlySet("pitrState")) {
+ this.pitrState(model.getPitrState());
+ }
+ if (model.wasPropertyExplicitlySet("recoveryTimeWindows")) {
+ this.recoveryTimeWindows(model.getRecoveryTimeWindows());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ /** The current state of the point-in-time recovery of the db system. */
+ public enum PitrState implements com.oracle.bmc.http.internal.BmcEnum {
+ Active("ACTIVE"),
+ Updating("UPDATING"),
+ Inactive("INACTIVE"),
+
+ /**
+ * 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(PitrState.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (PitrState v : PitrState.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ PitrState(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static PitrState create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'PitrState', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
+ }
+ };
+ /** The current state of the point-in-time recovery of the db system. */
+ @com.fasterxml.jackson.annotation.JsonProperty("pitrState")
+ private final PitrState pitrState;
+
+ /**
+ * The current state of the point-in-time recovery of the db system.
+ *
+ * @return the value
+ */
+ public PitrState getPitrState() {
+ return pitrState;
+ }
+
+ /** List of point-in-time recovery windows. */
+ @com.fasterxml.jackson.annotation.JsonProperty("recoveryTimeWindows")
+ private final java.util.List recoveryTimeWindows;
+
+ /**
+ * List of point-in-time recovery windows.
+ *
+ * @return the value
+ */
+ public java.util.List getRecoveryTimeWindows() {
+ return recoveryTimeWindows;
+ }
+
+ @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("PitrDetails(");
+ sb.append("super=").append(super.toString());
+ sb.append("pitrState=").append(String.valueOf(this.pitrState));
+ sb.append(", recoveryTimeWindows=").append(String.valueOf(this.recoveryTimeWindows));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof PitrDetails)) {
+ return false;
+ }
+
+ PitrDetails other = (PitrDetails) o;
+ return java.util.Objects.equals(this.pitrState, other.pitrState)
+ && java.util.Objects.equals(this.recoveryTimeWindows, other.recoveryTimeWindows)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result = (result * PRIME) + (this.pitrState == null ? 43 : this.pitrState.hashCode());
+ result =
+ (result * PRIME)
+ + (this.recoveryTimeWindows == null
+ ? 43
+ : this.recoveryTimeWindows.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-psql/src/main/java/com/oracle/bmc/psql/model/PitrPolicy.java b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/PitrPolicy.java
new file mode 100644
index 00000000000..a37bcbf7386
--- /dev/null
+++ b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/PitrPolicy.java
@@ -0,0 +1,123 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.psql.model;
+
+/**
+ * Point-in-time recovery policy.
+ * 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: 20220915")
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "kind",
+ defaultImpl = PitrPolicy.class)
+@com.fasterxml.jackson.annotation.JsonSubTypes({
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = StandardPitrPolicy.class,
+ name = "STANDARD"),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(value = NonePitrPolicy.class, name = "NONE")
+})
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public class PitrPolicy extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({})
+ protected PitrPolicy() {
+ super();
+ }
+
+ @Override
+ public String toString() {
+ return this.toString(true);
+ }
+
+ /**
+ * Return a string representation of the object.
+ *
+ * @param includeByteArrayContents true to include the full contents of byte arrays
+ * @return string representation
+ */
+ public String toString(boolean includeByteArrayContents) {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("PitrPolicy(");
+ sb.append("super=").append(super.toString());
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof PitrPolicy)) {
+ return false;
+ }
+
+ PitrPolicy other = (PitrPolicy) o;
+ return super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+
+ /** The kind of recovery policy. */
+ public enum Kind implements com.oracle.bmc.http.internal.BmcEnum {
+ Standard("STANDARD"),
+ None("NONE"),
+
+ /**
+ * 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(Kind.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (Kind v : Kind.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ Kind(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static Kind create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'Kind', returning UnknownEnumValue", key);
+ return UnknownEnumValue;
+ }
+ };
+}
diff --git a/bmc-psql/src/main/java/com/oracle/bmc/psql/model/PitrTimeWindow.java b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/PitrTimeWindow.java
new file mode 100644
index 00000000000..ccb23aa4570
--- /dev/null
+++ b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/PitrTimeWindow.java
@@ -0,0 +1,220 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.psql.model;
+
+/**
+ * Time interval for which point-in-time recovery (PITR) is supported. The database can be restored
+ * to any timestamp between {@code timeRecoveryWindowStart} and {@code timeRecoveryWindowEnd}
+ * (inclusive).
+ * 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: 20220915")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = PitrTimeWindow.Builder.class)
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class PitrTimeWindow
+ extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({"timeRecoveryWindowStart", "timeRecoveryWindowEnd"})
+ public PitrTimeWindow(
+ java.util.Date timeRecoveryWindowStart, java.util.Date timeRecoveryWindowEnd) {
+ super();
+ this.timeRecoveryWindowStart = timeRecoveryWindowStart;
+ this.timeRecoveryWindowEnd = timeRecoveryWindowEnd;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * Earliest timestamp in the PITR window to which the database can be restored. Timestamps
+ * earlier than this are not recoverable. The value must be an [RFC
+ * 3339](https://tools.ietf.org/html/rfc3339) timestamp.
+ *
+ * Example: {@code 2016-08-25T21:10:29Z}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("timeRecoveryWindowStart")
+ private java.util.Date timeRecoveryWindowStart;
+
+ /**
+ * Earliest timestamp in the PITR window to which the database can be restored. Timestamps
+ * earlier than this are not recoverable. The value must be an [RFC
+ * 3339](https://tools.ietf.org/html/rfc3339) timestamp.
+ *
+ *
Example: {@code 2016-08-25T21:10:29Z}
+ *
+ * @param timeRecoveryWindowStart the value to set
+ * @return this builder
+ */
+ public Builder timeRecoveryWindowStart(java.util.Date timeRecoveryWindowStart) {
+ this.timeRecoveryWindowStart = timeRecoveryWindowStart;
+ this.__explicitlySet__.add("timeRecoveryWindowStart");
+ return this;
+ }
+ /**
+ * Latest timestamp in the PITR window to which the database can be restored. Timestamps
+ * later than this are not recoverable. The value must be an [RFC
+ * 3339](https://tools.ietf.org/html/rfc3339) timestamp.
+ *
+ *
Example: {@code 2016-08-25T21:10:29Z}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("timeRecoveryWindowEnd")
+ private java.util.Date timeRecoveryWindowEnd;
+
+ /**
+ * Latest timestamp in the PITR window to which the database can be restored. Timestamps
+ * later than this are not recoverable. The value must be an [RFC
+ * 3339](https://tools.ietf.org/html/rfc3339) timestamp.
+ *
+ *
Example: {@code 2016-08-25T21:10:29Z}
+ *
+ * @param timeRecoveryWindowEnd the value to set
+ * @return this builder
+ */
+ public Builder timeRecoveryWindowEnd(java.util.Date timeRecoveryWindowEnd) {
+ this.timeRecoveryWindowEnd = timeRecoveryWindowEnd;
+ this.__explicitlySet__.add("timeRecoveryWindowEnd");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public PitrTimeWindow build() {
+ PitrTimeWindow model =
+ new PitrTimeWindow(this.timeRecoveryWindowStart, this.timeRecoveryWindowEnd);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(PitrTimeWindow model) {
+ if (model.wasPropertyExplicitlySet("timeRecoveryWindowStart")) {
+ this.timeRecoveryWindowStart(model.getTimeRecoveryWindowStart());
+ }
+ if (model.wasPropertyExplicitlySet("timeRecoveryWindowEnd")) {
+ this.timeRecoveryWindowEnd(model.getTimeRecoveryWindowEnd());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ /**
+ * Earliest timestamp in the PITR window to which the database can be restored. Timestamps
+ * earlier than this are not recoverable. The value must be an [RFC
+ * 3339](https://tools.ietf.org/html/rfc3339) timestamp.
+ *
+ * Example: {@code 2016-08-25T21:10:29Z}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("timeRecoveryWindowStart")
+ private final java.util.Date timeRecoveryWindowStart;
+
+ /**
+ * Earliest timestamp in the PITR window to which the database can be restored. Timestamps
+ * earlier than this are not recoverable. The value must be an [RFC
+ * 3339](https://tools.ietf.org/html/rfc3339) timestamp.
+ *
+ *
Example: {@code 2016-08-25T21:10:29Z}
+ *
+ * @return the value
+ */
+ public java.util.Date getTimeRecoveryWindowStart() {
+ return timeRecoveryWindowStart;
+ }
+
+ /**
+ * Latest timestamp in the PITR window to which the database can be restored. Timestamps later
+ * than this are not recoverable. The value must be an [RFC
+ * 3339](https://tools.ietf.org/html/rfc3339) timestamp.
+ *
+ *
Example: {@code 2016-08-25T21:10:29Z}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("timeRecoveryWindowEnd")
+ private final java.util.Date timeRecoveryWindowEnd;
+
+ /**
+ * Latest timestamp in the PITR window to which the database can be restored. Timestamps later
+ * than this are not recoverable. The value must be an [RFC
+ * 3339](https://tools.ietf.org/html/rfc3339) timestamp.
+ *
+ *
Example: {@code 2016-08-25T21:10:29Z}
+ *
+ * @return the value
+ */
+ public java.util.Date getTimeRecoveryWindowEnd() {
+ return timeRecoveryWindowEnd;
+ }
+
+ @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("PitrTimeWindow(");
+ sb.append("super=").append(super.toString());
+ sb.append("timeRecoveryWindowStart=").append(String.valueOf(this.timeRecoveryWindowStart));
+ sb.append(", timeRecoveryWindowEnd=").append(String.valueOf(this.timeRecoveryWindowEnd));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof PitrTimeWindow)) {
+ return false;
+ }
+
+ PitrTimeWindow other = (PitrTimeWindow) o;
+ return java.util.Objects.equals(this.timeRecoveryWindowStart, other.timeRecoveryWindowStart)
+ && java.util.Objects.equals(this.timeRecoveryWindowEnd, other.timeRecoveryWindowEnd)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result =
+ (result * PRIME)
+ + (this.timeRecoveryWindowStart == null
+ ? 43
+ : this.timeRecoveryWindowStart.hashCode());
+ result =
+ (result * PRIME)
+ + (this.timeRecoveryWindowEnd == null
+ ? 43
+ : this.timeRecoveryWindowEnd.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-psql/src/main/java/com/oracle/bmc/psql/model/PointInTimeDbSystemSourceDetails.java b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/PointInTimeDbSystemSourceDetails.java
new file mode 100644
index 00000000000..4038731f65e
--- /dev/null
+++ b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/PointInTimeDbSystemSourceDetails.java
@@ -0,0 +1,201 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.psql.model;
+
+/**
+ * Details of database system point-in-time recovery.
+ * 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: 20220915")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = PointInTimeDbSystemSourceDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "sourceType")
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class PointInTimeDbSystemSourceDetails extends SourceDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * source database system which will be used to perform point-in-time recovery.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("dbSystemId")
+ private String dbSystemId;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * source database system which will be used to perform point-in-time recovery.
+ *
+ * @param dbSystemId the value to set
+ * @return this builder
+ */
+ public Builder dbSystemId(String dbSystemId) {
+ this.dbSystemId = dbSystemId;
+ this.__explicitlySet__.add("dbSystemId");
+ return this;
+ }
+ /**
+ * The target point-in-time of the source database system that will be restored, expressed
+ * in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format.
+ *
+ *
Point-in-time recovery can only performed in granularity of seconds. Example: {@code
+ * 2016-08-25T21:10:29Z}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("timeToRestore")
+ private java.util.Date timeToRestore;
+
+ /**
+ * The target point-in-time of the source database system that will be restored, expressed
+ * in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format.
+ *
+ *
Point-in-time recovery can only performed in granularity of seconds. Example: {@code
+ * 2016-08-25T21:10:29Z}
+ *
+ * @param timeToRestore the value to set
+ * @return this builder
+ */
+ public Builder timeToRestore(java.util.Date timeToRestore) {
+ this.timeToRestore = timeToRestore;
+ this.__explicitlySet__.add("timeToRestore");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public PointInTimeDbSystemSourceDetails build() {
+ PointInTimeDbSystemSourceDetails model =
+ new PointInTimeDbSystemSourceDetails(this.dbSystemId, this.timeToRestore);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(PointInTimeDbSystemSourceDetails model) {
+ if (model.wasPropertyExplicitlySet("dbSystemId")) {
+ this.dbSystemId(model.getDbSystemId());
+ }
+ if (model.wasPropertyExplicitlySet("timeToRestore")) {
+ this.timeToRestore(model.getTimeToRestore());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public PointInTimeDbSystemSourceDetails(String dbSystemId, java.util.Date timeToRestore) {
+ super();
+ this.dbSystemId = dbSystemId;
+ this.timeToRestore = timeToRestore;
+ }
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * source database system which will be used to perform point-in-time recovery.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("dbSystemId")
+ private final String dbSystemId;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
+ * source database system which will be used to perform point-in-time recovery.
+ *
+ * @return the value
+ */
+ public String getDbSystemId() {
+ return dbSystemId;
+ }
+
+ /**
+ * The target point-in-time of the source database system that will be restored, expressed in
+ * [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format.
+ *
+ * Point-in-time recovery can only performed in granularity of seconds. Example: {@code
+ * 2016-08-25T21:10:29Z}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("timeToRestore")
+ private final java.util.Date timeToRestore;
+
+ /**
+ * The target point-in-time of the source database system that will be restored, expressed in
+ * [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format.
+ *
+ *
Point-in-time recovery can only performed in granularity of seconds. Example: {@code
+ * 2016-08-25T21:10:29Z}
+ *
+ * @return the value
+ */
+ public java.util.Date getTimeToRestore() {
+ return timeToRestore;
+ }
+
+ @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("PointInTimeDbSystemSourceDetails(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(", dbSystemId=").append(String.valueOf(this.dbSystemId));
+ sb.append(", timeToRestore=").append(String.valueOf(this.timeToRestore));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof PointInTimeDbSystemSourceDetails)) {
+ return false;
+ }
+
+ PointInTimeDbSystemSourceDetails other = (PointInTimeDbSystemSourceDetails) o;
+ return java.util.Objects.equals(this.dbSystemId, other.dbSystemId)
+ && java.util.Objects.equals(this.timeToRestore, other.timeToRestore)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result = (result * PRIME) + (this.dbSystemId == null ? 43 : this.dbSystemId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.timeToRestore == null ? 43 : this.timeToRestore.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-psql/src/main/java/com/oracle/bmc/psql/model/RestoreDbSystemDetails.java b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/RestoreDbSystemDetails.java
index b8fae92f8b3..1fa865b5a3e 100644
--- a/bmc-psql/src/main/java/com/oracle/bmc/psql/model/RestoreDbSystemDetails.java
+++ b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/RestoreDbSystemDetails.java
@@ -23,11 +23,12 @@
public final class RestoreDbSystemDetails
extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"backupId", "ad"})
- public RestoreDbSystemDetails(String backupId, String ad) {
+ @java.beans.ConstructorProperties({"backupId", "ad", "timeToRestore"})
+ public RestoreDbSystemDetails(String backupId, String ad, java.util.Date timeToRestore) {
super();
this.backupId = backupId;
this.ad = ad;
+ this.timeToRestore = timeToRestore;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -70,12 +71,36 @@ public Builder ad(String ad) {
this.__explicitlySet__.add("ad");
return this;
}
+ /**
+ * The target point-in-time that the database system restore can get started from, expressed
+ * in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format.
+ *
+ *
Example: {@code 2016-08-25T21:10:29.600Z}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("timeToRestore")
+ private java.util.Date timeToRestore;
+
+ /**
+ * The target point-in-time that the database system restore can get started from, expressed
+ * in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format.
+ *
+ *
Example: {@code 2016-08-25T21:10:29.600Z}
+ *
+ * @param timeToRestore the value to set
+ * @return this builder
+ */
+ public Builder timeToRestore(java.util.Date timeToRestore) {
+ this.timeToRestore = timeToRestore;
+ this.__explicitlySet__.add("timeToRestore");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
public RestoreDbSystemDetails build() {
- RestoreDbSystemDetails model = new RestoreDbSystemDetails(this.backupId, this.ad);
+ RestoreDbSystemDetails model =
+ new RestoreDbSystemDetails(this.backupId, this.ad, this.timeToRestore);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -90,6 +115,9 @@ public Builder copy(RestoreDbSystemDetails model) {
if (model.wasPropertyExplicitlySet("ad")) {
this.ad(model.getAd());
}
+ if (model.wasPropertyExplicitlySet("timeToRestore")) {
+ this.timeToRestore(model.getTimeToRestore());
+ }
return this;
}
}
@@ -137,6 +165,27 @@ public String getAd() {
return ad;
}
+ /**
+ * The target point-in-time that the database system restore can get started from, expressed in
+ * [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format.
+ *
+ * Example: {@code 2016-08-25T21:10:29.600Z}
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("timeToRestore")
+ private final java.util.Date timeToRestore;
+
+ /**
+ * The target point-in-time that the database system restore can get started from, expressed in
+ * [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format.
+ *
+ *
Example: {@code 2016-08-25T21:10:29.600Z}
+ *
+ * @return the value
+ */
+ public java.util.Date getTimeToRestore() {
+ return timeToRestore;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -154,6 +203,7 @@ public String toString(boolean includeByteArrayContents) {
sb.append("super=").append(super.toString());
sb.append("backupId=").append(String.valueOf(this.backupId));
sb.append(", ad=").append(String.valueOf(this.ad));
+ sb.append(", timeToRestore=").append(String.valueOf(this.timeToRestore));
sb.append(")");
return sb.toString();
}
@@ -170,6 +220,7 @@ public boolean equals(Object o) {
RestoreDbSystemDetails other = (RestoreDbSystemDetails) o;
return java.util.Objects.equals(this.backupId, other.backupId)
&& java.util.Objects.equals(this.ad, other.ad)
+ && java.util.Objects.equals(this.timeToRestore, other.timeToRestore)
&& super.equals(other);
}
@@ -179,6 +230,9 @@ public int hashCode() {
int result = 1;
result = (result * PRIME) + (this.backupId == null ? 43 : this.backupId.hashCode());
result = (result * PRIME) + (this.ad == null ? 43 : this.ad.hashCode());
+ result =
+ (result * PRIME)
+ + (this.timeToRestore == null ? 43 : this.timeToRestore.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-psql/src/main/java/com/oracle/bmc/psql/model/SourceDetails.java b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/SourceDetails.java
index 0f5eb40ff87..837e8ae2d65 100644
--- a/bmc-psql/src/main/java/com/oracle/bmc/psql/model/SourceDetails.java
+++ b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/SourceDetails.java
@@ -30,7 +30,10 @@
name = "DB_SYSTEM"),
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = NoneSourceDetails.class,
- name = "NONE")
+ name = "NONE"),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = PointInTimeDbSystemSourceDetails.class,
+ name = "POINT_IN_TIME_DB_SYSTEM")
})
@com.fasterxml.jackson.annotation.JsonFilter(
com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
@@ -85,6 +88,7 @@ public int hashCode() {
public enum SourceType implements com.oracle.bmc.http.internal.BmcEnum {
Backup("BACKUP"),
None("NONE"),
+ PointInTimeDbSystem("POINT_IN_TIME_DB_SYSTEM"),
DbSystem("DB_SYSTEM"),
/**
diff --git a/bmc-psql/src/main/java/com/oracle/bmc/psql/model/StandardPitrPolicy.java b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/StandardPitrPolicy.java
new file mode 100644
index 00000000000..b8212d170f5
--- /dev/null
+++ b/bmc-psql/src/main/java/com/oracle/bmc/psql/model/StandardPitrPolicy.java
@@ -0,0 +1,140 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.psql.model;
+
+/**
+ * A standard point-in-time recovery policy.
+ * 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: 20220915")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = StandardPitrPolicy.Builder.class)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "kind")
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class StandardPitrPolicy extends PitrPolicy {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * The number of days the database system retains backups required for point-in-time
+ * recovery.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("restoreDays")
+ private Integer restoreDays;
+
+ /**
+ * The number of days the database system retains backups required for point-in-time
+ * recovery.
+ *
+ * @param restoreDays the value to set
+ * @return this builder
+ */
+ public Builder restoreDays(Integer restoreDays) {
+ this.restoreDays = restoreDays;
+ this.__explicitlySet__.add("restoreDays");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public StandardPitrPolicy build() {
+ StandardPitrPolicy model = new StandardPitrPolicy(this.restoreDays);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(StandardPitrPolicy model) {
+ if (model.wasPropertyExplicitlySet("restoreDays")) {
+ this.restoreDays(model.getRestoreDays());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public StandardPitrPolicy(Integer restoreDays) {
+ super();
+ this.restoreDays = restoreDays;
+ }
+
+ /**
+ * The number of days the database system retains backups required for point-in-time recovery.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("restoreDays")
+ private final Integer restoreDays;
+
+ /**
+ * The number of days the database system retains backups required for point-in-time recovery.
+ *
+ * @return the value
+ */
+ public Integer getRestoreDays() {
+ return restoreDays;
+ }
+
+ @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("StandardPitrPolicy(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(", restoreDays=").append(String.valueOf(this.restoreDays));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof StandardPitrPolicy)) {
+ return false;
+ }
+
+ StandardPitrPolicy other = (StandardPitrPolicy) o;
+ return java.util.Objects.equals(this.restoreDays, other.restoreDays) && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result = (result * PRIME) + (this.restoreDays == null ? 43 : this.restoreDays.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-psql/src/main/java/com/oracle/bmc/psql/requests/GetPitrDetailsRequest.java b/bmc-psql/src/main/java/com/oracle/bmc/psql/requests/GetPitrDetailsRequest.java
new file mode 100644
index 00000000000..3cf8778a32e
--- /dev/null
+++ b/bmc-psql/src/main/java/com/oracle/bmc/psql/requests/GetPitrDetailsRequest.java
@@ -0,0 +1,190 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.psql.requests;
+
+import com.oracle.bmc.psql.model.*;
+/**
+ * Example: Click here to see how to use GetPitrDetailsRequest.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220915")
+public class GetPitrDetailsRequest extends com.oracle.bmc.requests.BmcRequest {
+
+ /** A unique identifier for the database system. */
+ private String dbSystemId;
+
+ /** A unique identifier for the database system. */
+ public String getDbSystemId() {
+ return dbSystemId;
+ }
+ /** The client request ID for tracing. */
+ private String opcRequestId;
+
+ /** The client request ID for tracing. */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.requests.BmcRequest.Builder<
+ GetPitrDetailsRequest, java.lang.Void> {
+ private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null;
+ private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null;
+
+ /** A unique identifier for the database system. */
+ private String dbSystemId = null;
+
+ /**
+ * A unique identifier for the database system.
+ *
+ * @param dbSystemId the value to set
+ * @return this builder instance
+ */
+ public Builder dbSystemId(String dbSystemId) {
+ this.dbSystemId = dbSystemId;
+ return this;
+ }
+
+ /** The client request ID for tracing. */
+ private String opcRequestId = null;
+
+ /**
+ * The client request ID for tracing.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder instance
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /**
+ * Set the invocation callback for the request to be built.
+ *
+ * @param invocationCallback the invocation callback to be set for the request
+ * @return this builder instance
+ */
+ public Builder invocationCallback(
+ com.oracle.bmc.http.client.RequestInterceptor invocationCallback) {
+ this.invocationCallback = invocationCallback;
+ return this;
+ }
+
+ /**
+ * Set the retry configuration for the request to be built.
+ *
+ * @param retryConfiguration the retry configuration to be used for the request
+ * @return this builder instance
+ */
+ public Builder retryConfiguration(
+ com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) {
+ this.retryConfiguration = retryConfiguration;
+ return this;
+ }
+
+ /**
+ * Copy method to populate the builder with values from the given instance.
+ *
+ * @return this builder instance
+ */
+ public Builder copy(GetPitrDetailsRequest o) {
+ dbSystemId(o.getDbSystemId());
+ opcRequestId(o.getOpcRequestId());
+ invocationCallback(o.getInvocationCallback());
+ retryConfiguration(o.getRetryConfiguration());
+ return this;
+ }
+
+ /**
+ * Build the instance of GetPitrDetailsRequest 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 GetPitrDetailsRequest
+ */
+ public GetPitrDetailsRequest build() {
+ GetPitrDetailsRequest request = buildWithoutInvocationCallback();
+ request.setInvocationCallback(invocationCallback);
+ request.setRetryConfiguration(retryConfiguration);
+ return request;
+ }
+
+ /**
+ * Build the instance of GetPitrDetailsRequest 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 GetPitrDetailsRequest
+ */
+ public GetPitrDetailsRequest buildWithoutInvocationCallback() {
+ GetPitrDetailsRequest request = new GetPitrDetailsRequest();
+ request.dbSystemId = dbSystemId;
+ request.opcRequestId = opcRequestId;
+ return request;
+ // new GetPitrDetailsRequest(dbSystemId, opcRequestId);
+ }
+ }
+
+ /**
+ * Return an instance of {@link Builder} that allows you to modify request properties.
+ *
+ * @return instance of {@link Builder} that allows you to modify request properties.
+ */
+ public Builder toBuilder() {
+ return new Builder().dbSystemId(dbSystemId).opcRequestId(opcRequestId);
+ }
+
+ /**
+ * Return a new builder for this request object.
+ *
+ * @return builder for the request object
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ @Override
+ public String toString() {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("(");
+ sb.append("super=").append(super.toString());
+ sb.append(",dbSystemId=").append(String.valueOf(this.dbSystemId));
+ sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof GetPitrDetailsRequest)) {
+ return false;
+ }
+
+ GetPitrDetailsRequest other = (GetPitrDetailsRequest) o;
+ return super.equals(o)
+ && java.util.Objects.equals(this.dbSystemId, other.dbSystemId)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result = (result * PRIME) + (this.dbSystemId == null ? 43 : this.dbSystemId.hashCode());
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-psql/src/main/java/com/oracle/bmc/psql/requests/ListBackupsRequest.java b/bmc-psql/src/main/java/com/oracle/bmc/psql/requests/ListBackupsRequest.java
index 07699196b4f..7cff3d95b1f 100644
--- a/bmc-psql/src/main/java/com/oracle/bmc/psql/requests/ListBackupsRequest.java
+++ b/bmc-psql/src/main/java/com/oracle/bmc/psql/requests/ListBackupsRequest.java
@@ -164,6 +164,13 @@ public SortBy getSortBy() {
public String getOpcRequestId() {
return opcRequestId;
}
+ /** A filter to return only backups whose backupSourceType matches the given backupSourceType */
+ private String backupSourceType;
+
+ /** A filter to return only backups whose backupSourceType matches the given backupSourceType */
+ public String getBackupSourceType() {
+ return backupSourceType;
+ }
public static class Builder
implements com.oracle.bmc.requests.BmcRequest.Builder<
@@ -360,6 +367,22 @@ public Builder opcRequestId(String opcRequestId) {
return this;
}
+ /**
+ * A filter to return only backups whose backupSourceType matches the given backupSourceType
+ */
+ private String backupSourceType = null;
+
+ /**
+ * A filter to return only backups whose backupSourceType matches the given backupSourceType
+ *
+ * @param backupSourceType the value to set
+ * @return this builder instance
+ */
+ public Builder backupSourceType(String backupSourceType) {
+ this.backupSourceType = backupSourceType;
+ return this;
+ }
+
/**
* Set the invocation callback for the request to be built.
*
@@ -402,6 +425,7 @@ public Builder copy(ListBackupsRequest o) {
sortOrder(o.getSortOrder());
sortBy(o.getSortBy());
opcRequestId(o.getOpcRequestId());
+ backupSourceType(o.getBackupSourceType());
invocationCallback(o.getInvocationCallback());
retryConfiguration(o.getRetryConfiguration());
return this;
@@ -448,9 +472,11 @@ public ListBackupsRequest buildWithoutInvocationCallback() {
request.sortOrder = sortOrder;
request.sortBy = sortBy;
request.opcRequestId = opcRequestId;
+ request.backupSourceType = backupSourceType;
return request;
// new ListBackupsRequest(compartmentId, timeStarted, timeEnded, lifecycleState,
- // displayName, backupId, id, limit, page, sortOrder, sortBy, opcRequestId);
+ // displayName, backupId, id, limit, page, sortOrder, sortBy, opcRequestId,
+ // backupSourceType);
}
}
@@ -472,7 +498,8 @@ public Builder toBuilder() {
.page(page)
.sortOrder(sortOrder)
.sortBy(sortBy)
- .opcRequestId(opcRequestId);
+ .opcRequestId(opcRequestId)
+ .backupSourceType(backupSourceType);
}
/**
@@ -501,6 +528,7 @@ public String toString() {
sb.append(",sortOrder=").append(String.valueOf(this.sortOrder));
sb.append(",sortBy=").append(String.valueOf(this.sortBy));
sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId));
+ sb.append(",backupSourceType=").append(String.valueOf(this.backupSourceType));
sb.append(")");
return sb.toString();
}
@@ -527,7 +555,8 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.page, other.page)
&& java.util.Objects.equals(this.sortOrder, other.sortOrder)
&& java.util.Objects.equals(this.sortBy, other.sortBy)
- && java.util.Objects.equals(this.opcRequestId, other.opcRequestId);
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId)
+ && java.util.Objects.equals(this.backupSourceType, other.backupSourceType);
}
@Override
@@ -550,6 +579,9 @@ public int hashCode() {
result = (result * PRIME) + (this.sortOrder == null ? 43 : this.sortOrder.hashCode());
result = (result * PRIME) + (this.sortBy == null ? 43 : this.sortBy.hashCode());
result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.backupSourceType == null ? 43 : this.backupSourceType.hashCode());
return result;
}
}
diff --git a/bmc-psql/src/main/java/com/oracle/bmc/psql/responses/GetPitrDetailsResponse.java b/bmc-psql/src/main/java/com/oracle/bmc/psql/responses/GetPitrDetailsResponse.java
new file mode 100644
index 00000000000..053a7eafe19
--- /dev/null
+++ b/bmc-psql/src/main/java/com/oracle/bmc/psql/responses/GetPitrDetailsResponse.java
@@ -0,0 +1,208 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.psql.responses;
+
+import com.oracle.bmc.psql.model.*;
+
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220915")
+public class GetPitrDetailsResponse extends com.oracle.bmc.responses.BmcResponse {
+ /** For optimistic concurrency control. See {@code if-match}. */
+ private String etag;
+
+ /**
+ * For optimistic concurrency control. See {@code if-match}.
+ *
+ * @return the value
+ */
+ public String getEtag() {
+ return etag;
+ }
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ *
+ * @return the value
+ */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+
+ /** The returned {@code PitrDetails} instance. */
+ private com.oracle.bmc.psql.model.PitrDetails pitrDetails;
+
+ /**
+ * The returned {@code PitrDetails} instance.
+ *
+ * @return the value
+ */
+ public com.oracle.bmc.psql.model.PitrDetails getPitrDetails() {
+ return pitrDetails;
+ }
+
+ @java.beans.ConstructorProperties({
+ "__httpStatusCode__",
+ "headers",
+ "etag",
+ "opcRequestId",
+ "pitrDetails"
+ })
+ private GetPitrDetailsResponse(
+ int __httpStatusCode__,
+ java.util.Map> headers,
+ String etag,
+ String opcRequestId,
+ com.oracle.bmc.psql.model.PitrDetails pitrDetails) {
+ super(__httpStatusCode__, headers);
+ this.etag = etag;
+ this.opcRequestId = opcRequestId;
+ this.pitrDetails = pitrDetails;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.responses.BmcResponse.Builder {
+ private int __httpStatusCode__;
+
+ @Override
+ public Builder __httpStatusCode__(int __httpStatusCode__) {
+ this.__httpStatusCode__ = __httpStatusCode__;
+ return this;
+ }
+
+ private java.util.Map> headers;
+
+ @Override
+ public Builder headers(java.util.Map> headers) {
+ this.headers = headers;
+ return this;
+ }
+
+ /** For optimistic concurrency control. See {@code if-match}. */
+ private String etag;
+
+ /**
+ * For optimistic concurrency control. See {@code if-match}.
+ *
+ * @param etag the value to set
+ * @return this builder
+ */
+ public Builder etag(String etag) {
+ this.etag = etag;
+ return this;
+ }
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /** The returned {@code PitrDetails} instance. */
+ private com.oracle.bmc.psql.model.PitrDetails pitrDetails;
+
+ /**
+ * The returned {@code PitrDetails} instance.
+ *
+ * @param pitrDetails the value to set
+ * @return this builder
+ */
+ public Builder pitrDetails(com.oracle.bmc.psql.model.PitrDetails pitrDetails) {
+ this.pitrDetails = pitrDetails;
+ return this;
+ }
+
+ /**
+ * Copy method to populate the builder with values from the given instance.
+ *
+ * @return this builder instance
+ */
+ @Override
+ public Builder copy(GetPitrDetailsResponse o) {
+ __httpStatusCode__(o.get__httpStatusCode__());
+ headers(o.getHeaders());
+ etag(o.getEtag());
+ opcRequestId(o.getOpcRequestId());
+ pitrDetails(o.getPitrDetails());
+
+ return this;
+ }
+
+ /**
+ * Build the response object.
+ *
+ * @return the response object
+ */
+ @Override
+ public GetPitrDetailsResponse build() {
+ return new GetPitrDetailsResponse(
+ __httpStatusCode__, headers, etag, opcRequestId, pitrDetails);
+ }
+ }
+
+ /**
+ * Return a new builder for this response object.
+ *
+ * @return builder for the response object
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ @Override
+ public String toString() {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("(");
+ sb.append("super=").append(super.toString());
+ sb.append(",etag=").append(String.valueOf(etag));
+ sb.append(",opcRequestId=").append(String.valueOf(opcRequestId));
+ sb.append(",pitrDetails=").append(String.valueOf(pitrDetails));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof GetPitrDetailsResponse)) {
+ return false;
+ }
+
+ GetPitrDetailsResponse other = (GetPitrDetailsResponse) o;
+ return super.equals(o)
+ && java.util.Objects.equals(this.etag, other.etag)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId)
+ && java.util.Objects.equals(this.pitrDetails, other.pitrDetails);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result = (result * PRIME) + (this.etag == null ? 43 : this.etag.hashCode());
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ result = (result * PRIME) + (this.pitrDetails == null ? 43 : this.pitrDetails.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-psql/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-psql/reflect-config.json b/bmc-psql/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-psql/reflect-config.json
index 56d1a76b767..212603efda6 100644
--- a/bmc-psql/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-psql/reflect-config.json
+++ b/bmc-psql/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-psql/reflect-config.json
@@ -961,6 +961,20 @@
"allDeclaredMethods": true,
"allDeclaredConstructors": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.psql.model.NonePitrPolicy",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.psql.model.NonePitrPolicy$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.psql.model.NoneSourceDetails",
@@ -1198,6 +1212,53 @@
"allDeclaredMethods": true,
"allDeclaredConstructors": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.psql.model.PitrDetails",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.psql.model.PitrDetails$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.psql.model.PitrDetails$PitrState",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.psql.model.PitrPolicy",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.psql.model.PitrPolicy$Kind",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.psql.model.PitrTimeWindow",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.psql.model.PitrTimeWindow$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.psql.model.PlainTextPasswordDetails",
@@ -1212,6 +1273,20 @@
"allDeclaredMethods": true,
"allDeclaredConstructors": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.psql.model.PointInTimeDbSystemSourceDetails",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.psql.model.PointInTimeDbSystemSourceDetails$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.psql.model.PrimaryDbInstanceDetails",
@@ -1425,6 +1500,20 @@
"allDeclaredFields": true,
"allDeclaredMethods": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.psql.model.StandardPitrPolicy",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.psql.model.StandardPitrPolicy$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.psql.model.StartDbSystemDetails",
diff --git a/bmc-queue/pom.xml b/bmc-queue/pom.xml
index a43fb3e25ea..b0e8f1f9951 100644
--- a/bmc-queue/pom.xml
+++ b/bmc-queue/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-queue
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-recovery/pom.xml b/bmc-recovery/pom.xml
index 17cd9397d59..739f65be911 100644
--- a/bmc-recovery/pom.xml
+++ b/bmc-recovery/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-recovery
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-redis/pom.xml b/bmc-redis/pom.xml
index b0e48890bf4..f963f95f661 100644
--- a/bmc-redis/pom.xml
+++ b/bmc-redis/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-redis
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-resourceanalytics/pom.xml b/bmc-resourceanalytics/pom.xml
index 712c834426f..f82fe0c8380 100644
--- a/bmc-resourceanalytics/pom.xml
+++ b/bmc-resourceanalytics/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-resourceanalytics
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-resourcemanager/pom.xml b/bmc-resourcemanager/pom.xml
index c58be565378..1eb20ea36bc 100644
--- a/bmc-resourcemanager/pom.xml
+++ b/bmc-resourcemanager/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-resourcemanager
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/BitbucketCloudUsernameAppPasswordConfigurationSourceProvider.java b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/BitbucketCloudEmailApiTokenConfigurationSourceProvider.java
similarity index 84%
rename from bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/BitbucketCloudUsernameAppPasswordConfigurationSourceProvider.java
rename to bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/BitbucketCloudEmailApiTokenConfigurationSourceProvider.java
index 3803f4e7d90..e93e7fa87d8 100644
--- a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/BitbucketCloudUsernameAppPasswordConfigurationSourceProvider.java
+++ b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/BitbucketCloudEmailApiTokenConfigurationSourceProvider.java
@@ -6,8 +6,8 @@
/**
* The properties that define a configuration source provider of the type {@code
- * BITBUCKET_CLOUD_USERNAME_APPPASSWORD}. This type corresponds to a configuration source provider
- * in Bitbucket cloud that is authenticated with a username and app password.
+ * BITBUCKET_CLOUD_ACCESS_TOKEN}. This type corresponds to a configuration source provider in
+ * Bitbucket Cloud that is authenticated with Atlassian account email and API token.
* 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
@@ -19,14 +19,14 @@
*/
@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20180917")
@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
- builder = BitbucketCloudUsernameAppPasswordConfigurationSourceProvider.Builder.class)
+ builder = BitbucketCloudEmailApiTokenConfigurationSourceProvider.Builder.class)
@com.fasterxml.jackson.annotation.JsonTypeInfo(
use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
property = "configSourceProviderType")
@com.fasterxml.jackson.annotation.JsonFilter(
com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
-public final class BitbucketCloudUsernameAppPasswordConfigurationSourceProvider
+public final class BitbucketCloudEmailApiTokenConfigurationSourceProvider
extends ConfigurationSourceProvider {
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
public static class Builder {
@@ -103,6 +103,24 @@ public Builder username(String username) {
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("email")
+ private String email;
+
+ public Builder email(String email) {
+ this.email = email;
+ this.__explicitlySet__.add("email");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("isMigrationRequired")
+ private Boolean isMigrationRequired;
+
+ public Builder isMigrationRequired(Boolean isMigrationRequired) {
+ this.isMigrationRequired = isMigrationRequired;
+ this.__explicitlySet__.add("isMigrationRequired");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("secretId")
private String secretId;
@@ -158,9 +176,9 @@ public Builder apiEndpoint(String apiEndpoint) {
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
- public BitbucketCloudUsernameAppPasswordConfigurationSourceProvider build() {
- BitbucketCloudUsernameAppPasswordConfigurationSourceProvider model =
- new BitbucketCloudUsernameAppPasswordConfigurationSourceProvider(
+ public BitbucketCloudEmailApiTokenConfigurationSourceProvider build() {
+ BitbucketCloudEmailApiTokenConfigurationSourceProvider model =
+ new BitbucketCloudEmailApiTokenConfigurationSourceProvider(
this.id,
this.compartmentId,
this.displayName,
@@ -169,6 +187,8 @@ public BitbucketCloudUsernameAppPasswordConfigurationSourceProvider build() {
this.lifecycleState,
this.privateServerConfigDetails,
this.username,
+ this.email,
+ this.isMigrationRequired,
this.secretId,
this.freeformTags,
this.definedTags,
@@ -181,7 +201,7 @@ public BitbucketCloudUsernameAppPasswordConfigurationSourceProvider build() {
}
@com.fasterxml.jackson.annotation.JsonIgnore
- public Builder copy(BitbucketCloudUsernameAppPasswordConfigurationSourceProvider model) {
+ public Builder copy(BitbucketCloudEmailApiTokenConfigurationSourceProvider model) {
if (model.wasPropertyExplicitlySet("id")) {
this.id(model.getId());
}
@@ -206,6 +226,12 @@ public Builder copy(BitbucketCloudUsernameAppPasswordConfigurationSourceProvider
if (model.wasPropertyExplicitlySet("username")) {
this.username(model.getUsername());
}
+ if (model.wasPropertyExplicitlySet("email")) {
+ this.email(model.getEmail());
+ }
+ if (model.wasPropertyExplicitlySet("isMigrationRequired")) {
+ this.isMigrationRequired(model.getIsMigrationRequired());
+ }
if (model.wasPropertyExplicitlySet("secretId")) {
this.secretId(model.getSecretId());
}
@@ -235,7 +261,7 @@ public Builder toBuilder() {
}
@Deprecated
- public BitbucketCloudUsernameAppPasswordConfigurationSourceProvider(
+ public BitbucketCloudEmailApiTokenConfigurationSourceProvider(
String id,
String compartmentId,
String displayName,
@@ -244,6 +270,8 @@ public BitbucketCloudUsernameAppPasswordConfigurationSourceProvider(
LifecycleState lifecycleState,
PrivateServerConfigDetails privateServerConfigDetails,
String username,
+ String email,
+ Boolean isMigrationRequired,
String secretId,
java.util.Map freeformTags,
java.util.Map> definedTags,
@@ -258,6 +286,8 @@ public BitbucketCloudUsernameAppPasswordConfigurationSourceProvider(
lifecycleState,
privateServerConfigDetails,
username,
+ email,
+ isMigrationRequired,
secretId,
freeformTags,
definedTags,
@@ -291,7 +321,7 @@ public String toString() {
*/
public String toString(boolean includeByteArrayContents) {
java.lang.StringBuilder sb = new java.lang.StringBuilder();
- sb.append("BitbucketCloudUsernameAppPasswordConfigurationSourceProvider(");
+ sb.append("BitbucketCloudEmailApiTokenConfigurationSourceProvider(");
sb.append("super=").append(super.toString(includeByteArrayContents));
sb.append(", apiEndpoint=").append(String.valueOf(this.apiEndpoint));
sb.append(")");
@@ -303,12 +333,12 @@ public boolean equals(Object o) {
if (this == o) {
return true;
}
- if (!(o instanceof BitbucketCloudUsernameAppPasswordConfigurationSourceProvider)) {
+ if (!(o instanceof BitbucketCloudEmailApiTokenConfigurationSourceProvider)) {
return false;
}
- BitbucketCloudUsernameAppPasswordConfigurationSourceProvider other =
- (BitbucketCloudUsernameAppPasswordConfigurationSourceProvider) o;
+ BitbucketCloudEmailApiTokenConfigurationSourceProvider other =
+ (BitbucketCloudEmailApiTokenConfigurationSourceProvider) o;
return java.util.Objects.equals(this.apiEndpoint, other.apiEndpoint) && super.equals(other);
}
diff --git a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary.java b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/BitbucketCloudEmailApiTokenConfigurationSourceProviderSummary.java
similarity index 86%
rename from bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary.java
rename to bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/BitbucketCloudEmailApiTokenConfigurationSourceProviderSummary.java
index fd9b48c68a6..390f5583bad 100644
--- a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary.java
+++ b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/BitbucketCloudEmailApiTokenConfigurationSourceProviderSummary.java
@@ -6,8 +6,8 @@
/**
* Summary information for a configuration source provider of the type {@code
- * BITBUCKET_CLOUD_USERNAME_APPPASSWORD}. This type corresponds to a configuration source provider
- * in Bitbucket cloud that is authenticated with a username and app password.
+ * BITBUCKET_CLOUD_ACCESS_TOKEN}. This type corresponds to a configuration source provider in
+ * Bitbucket Cloud that is authenticated with Atlassian account email and API token.
* 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
@@ -19,14 +19,14 @@
*/
@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20180917")
@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
- builder = BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary.Builder.class)
+ builder = BitbucketCloudEmailApiTokenConfigurationSourceProviderSummary.Builder.class)
@com.fasterxml.jackson.annotation.JsonTypeInfo(
use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
property = "configSourceProviderType")
@com.fasterxml.jackson.annotation.JsonFilter(
com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
-public final class BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary
+public final class BitbucketCloudEmailApiTokenConfigurationSourceProviderSummary
extends ConfigurationSourceProviderSummary {
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
public static class Builder {
@@ -94,6 +94,15 @@ public Builder privateServerConfigDetails(
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("isMigrationRequired")
+ private Boolean isMigrationRequired;
+
+ public Builder isMigrationRequired(Boolean isMigrationRequired) {
+ this.isMigrationRequired = isMigrationRequired;
+ this.__explicitlySet__.add("isMigrationRequired");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("freeformTags")
private java.util.Map freeformTags;
@@ -140,9 +149,9 @@ public Builder apiEndpoint(String apiEndpoint) {
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
- public BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary build() {
- BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary model =
- new BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary(
+ public BitbucketCloudEmailApiTokenConfigurationSourceProviderSummary build() {
+ BitbucketCloudEmailApiTokenConfigurationSourceProviderSummary model =
+ new BitbucketCloudEmailApiTokenConfigurationSourceProviderSummary(
this.id,
this.compartmentId,
this.displayName,
@@ -150,6 +159,7 @@ public BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary build
this.timeCreated,
this.lifecycleState,
this.privateServerConfigDetails,
+ this.isMigrationRequired,
this.freeformTags,
this.definedTags,
this.systemTags,
@@ -161,8 +171,7 @@ public BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary build
}
@com.fasterxml.jackson.annotation.JsonIgnore
- public Builder copy(
- BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary model) {
+ public Builder copy(BitbucketCloudEmailApiTokenConfigurationSourceProviderSummary model) {
if (model.wasPropertyExplicitlySet("id")) {
this.id(model.getId());
}
@@ -184,6 +193,9 @@ public Builder copy(
if (model.wasPropertyExplicitlySet("privateServerConfigDetails")) {
this.privateServerConfigDetails(model.getPrivateServerConfigDetails());
}
+ if (model.wasPropertyExplicitlySet("isMigrationRequired")) {
+ this.isMigrationRequired(model.getIsMigrationRequired());
+ }
if (model.wasPropertyExplicitlySet("freeformTags")) {
this.freeformTags(model.getFreeformTags());
}
@@ -210,7 +222,7 @@ public Builder toBuilder() {
}
@Deprecated
- public BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary(
+ public BitbucketCloudEmailApiTokenConfigurationSourceProviderSummary(
String id,
String compartmentId,
String displayName,
@@ -218,6 +230,7 @@ public BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary(
java.util.Date timeCreated,
ConfigurationSourceProvider.LifecycleState lifecycleState,
PrivateServerConfigDetails privateServerConfigDetails,
+ Boolean isMigrationRequired,
java.util.Map freeformTags,
java.util.Map> definedTags,
java.util.Map> systemTags,
@@ -230,6 +243,7 @@ public BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary(
timeCreated,
lifecycleState,
privateServerConfigDetails,
+ isMigrationRequired,
freeformTags,
definedTags,
systemTags);
@@ -262,7 +276,7 @@ public String toString() {
*/
public String toString(boolean includeByteArrayContents) {
java.lang.StringBuilder sb = new java.lang.StringBuilder();
- sb.append("BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary(");
+ sb.append("BitbucketCloudEmailApiTokenConfigurationSourceProviderSummary(");
sb.append("super=").append(super.toString(includeByteArrayContents));
sb.append(", apiEndpoint=").append(String.valueOf(this.apiEndpoint));
sb.append(")");
@@ -274,12 +288,12 @@ public boolean equals(Object o) {
if (this == o) {
return true;
}
- if (!(o instanceof BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary)) {
+ if (!(o instanceof BitbucketCloudEmailApiTokenConfigurationSourceProviderSummary)) {
return false;
}
- BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary other =
- (BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary) o;
+ BitbucketCloudEmailApiTokenConfigurationSourceProviderSummary other =
+ (BitbucketCloudEmailApiTokenConfigurationSourceProviderSummary) o;
return java.util.Objects.equals(this.apiEndpoint, other.apiEndpoint) && super.equals(other);
}
diff --git a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/BitbucketServerAccessTokenConfigurationSourceProvider.java b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/BitbucketServerAccessTokenConfigurationSourceProvider.java
index b653ea011b4..9c7d3a697aa 100644
--- a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/BitbucketServerAccessTokenConfigurationSourceProvider.java
+++ b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/BitbucketServerAccessTokenConfigurationSourceProvider.java
@@ -103,6 +103,24 @@ public Builder username(String username) {
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("email")
+ private String email;
+
+ public Builder email(String email) {
+ this.email = email;
+ this.__explicitlySet__.add("email");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("isMigrationRequired")
+ private Boolean isMigrationRequired;
+
+ public Builder isMigrationRequired(Boolean isMigrationRequired) {
+ this.isMigrationRequired = isMigrationRequired;
+ this.__explicitlySet__.add("isMigrationRequired");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("secretId")
private String secretId;
@@ -169,6 +187,8 @@ public BitbucketServerAccessTokenConfigurationSourceProvider build() {
this.lifecycleState,
this.privateServerConfigDetails,
this.username,
+ this.email,
+ this.isMigrationRequired,
this.secretId,
this.freeformTags,
this.definedTags,
@@ -206,6 +226,12 @@ public Builder copy(BitbucketServerAccessTokenConfigurationSourceProvider model)
if (model.wasPropertyExplicitlySet("username")) {
this.username(model.getUsername());
}
+ if (model.wasPropertyExplicitlySet("email")) {
+ this.email(model.getEmail());
+ }
+ if (model.wasPropertyExplicitlySet("isMigrationRequired")) {
+ this.isMigrationRequired(model.getIsMigrationRequired());
+ }
if (model.wasPropertyExplicitlySet("secretId")) {
this.secretId(model.getSecretId());
}
@@ -244,6 +270,8 @@ public BitbucketServerAccessTokenConfigurationSourceProvider(
LifecycleState lifecycleState,
PrivateServerConfigDetails privateServerConfigDetails,
String username,
+ String email,
+ Boolean isMigrationRequired,
String secretId,
java.util.Map freeformTags,
java.util.Map> definedTags,
@@ -258,6 +286,8 @@ public BitbucketServerAccessTokenConfigurationSourceProvider(
lifecycleState,
privateServerConfigDetails,
username,
+ email,
+ isMigrationRequired,
secretId,
freeformTags,
definedTags,
diff --git a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/BitbucketServerAccessTokenConfigurationSourceProviderSummary.java b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/BitbucketServerAccessTokenConfigurationSourceProviderSummary.java
index d68a5753094..78e4589eed5 100644
--- a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/BitbucketServerAccessTokenConfigurationSourceProviderSummary.java
+++ b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/BitbucketServerAccessTokenConfigurationSourceProviderSummary.java
@@ -94,6 +94,15 @@ public Builder privateServerConfigDetails(
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("isMigrationRequired")
+ private Boolean isMigrationRequired;
+
+ public Builder isMigrationRequired(Boolean isMigrationRequired) {
+ this.isMigrationRequired = isMigrationRequired;
+ this.__explicitlySet__.add("isMigrationRequired");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("freeformTags")
private java.util.Map freeformTags;
@@ -150,6 +159,7 @@ public BitbucketServerAccessTokenConfigurationSourceProviderSummary build() {
this.timeCreated,
this.lifecycleState,
this.privateServerConfigDetails,
+ this.isMigrationRequired,
this.freeformTags,
this.definedTags,
this.systemTags,
@@ -183,6 +193,9 @@ public Builder copy(BitbucketServerAccessTokenConfigurationSourceProviderSummary
if (model.wasPropertyExplicitlySet("privateServerConfigDetails")) {
this.privateServerConfigDetails(model.getPrivateServerConfigDetails());
}
+ if (model.wasPropertyExplicitlySet("isMigrationRequired")) {
+ this.isMigrationRequired(model.getIsMigrationRequired());
+ }
if (model.wasPropertyExplicitlySet("freeformTags")) {
this.freeformTags(model.getFreeformTags());
}
@@ -217,6 +230,7 @@ public BitbucketServerAccessTokenConfigurationSourceProviderSummary(
java.util.Date timeCreated,
ConfigurationSourceProvider.LifecycleState lifecycleState,
PrivateServerConfigDetails privateServerConfigDetails,
+ Boolean isMigrationRequired,
java.util.Map freeformTags,
java.util.Map> definedTags,
java.util.Map> systemTags,
@@ -229,6 +243,7 @@ public BitbucketServerAccessTokenConfigurationSourceProviderSummary(
timeCreated,
lifecycleState,
privateServerConfigDetails,
+ isMigrationRequired,
freeformTags,
definedTags,
systemTags);
diff --git a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/ConfigurationSourceProvider.java b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/ConfigurationSourceProvider.java
index 611d2cc6624..1048d605644 100644
--- a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/ConfigurationSourceProvider.java
+++ b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/ConfigurationSourceProvider.java
@@ -32,11 +32,11 @@
value = GitlabAccessTokenConfigurationSourceProvider.class,
name = "GITLAB_ACCESS_TOKEN"),
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
- value = BitbucketServerAccessTokenConfigurationSourceProvider.class,
- name = "BITBUCKET_SERVER_ACCESS_TOKEN"),
+ value = BitbucketCloudEmailApiTokenConfigurationSourceProvider.class,
+ name = "BITBUCKET_CLOUD_ACCESS_TOKEN"),
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
- value = BitbucketCloudUsernameAppPasswordConfigurationSourceProvider.class,
- name = "BITBUCKET_CLOUD_USERNAME_APPPASSWORD")
+ value = BitbucketServerAccessTokenConfigurationSourceProvider.class,
+ name = "BITBUCKET_SERVER_ACCESS_TOKEN")
})
@com.fasterxml.jackson.annotation.JsonFilter(
com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
@@ -52,6 +52,8 @@ public class ConfigurationSourceProvider
"lifecycleState",
"privateServerConfigDetails",
"username",
+ "email",
+ "isMigrationRequired",
"secretId",
"freeformTags",
"definedTags",
@@ -66,6 +68,8 @@ protected ConfigurationSourceProvider(
LifecycleState lifecycleState,
PrivateServerConfigDetails privateServerConfigDetails,
String username,
+ String email,
+ Boolean isMigrationRequired,
String secretId,
java.util.Map freeformTags,
java.util.Map> definedTags,
@@ -79,6 +83,8 @@ protected ConfigurationSourceProvider(
this.lifecycleState = lifecycleState;
this.privateServerConfigDetails = privateServerConfigDetails;
this.username = username;
+ this.email = email;
+ this.isMigrationRequired = isMigrationRequired;
this.secretId = secretId;
this.freeformTags = freeformTags;
this.definedTags = definedTags;
@@ -254,6 +260,36 @@ public String getUsername() {
return username;
}
+ /** Atlassian account email used for Bitbucket Cloud API token authentication. */
+ @com.fasterxml.jackson.annotation.JsonProperty("email")
+ private final String email;
+
+ /**
+ * Atlassian account email used for Bitbucket Cloud API token authentication.
+ *
+ * @return the value
+ */
+ public String getEmail() {
+ return email;
+ }
+
+ /**
+ * Indicates whether this configuration source provider uses legacy Bitbucket Cloud
+ * username/app-password credentials and must be migrated.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("isMigrationRequired")
+ private final Boolean isMigrationRequired;
+
+ /**
+ * Indicates whether this configuration source provider uses legacy Bitbucket Cloud
+ * username/app-password credentials and must be migrated.
+ *
+ * @return the value
+ */
+ public Boolean getIsMigrationRequired() {
+ return isMigrationRequired;
+ }
+
/** Secret ocid which is used to authorize the user. */
@com.fasterxml.jackson.annotation.JsonProperty("secretId")
private final String secretId;
@@ -356,6 +392,8 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", privateServerConfigDetails=")
.append(String.valueOf(this.privateServerConfigDetails));
sb.append(", username=").append(String.valueOf(this.username));
+ sb.append(", email=").append(String.valueOf(this.email));
+ sb.append(", isMigrationRequired=").append(String.valueOf(this.isMigrationRequired));
sb.append(", secretId=").append(String.valueOf(this.secretId));
sb.append(", freeformTags=").append(String.valueOf(this.freeformTags));
sb.append(", definedTags=").append(String.valueOf(this.definedTags));
@@ -383,6 +421,8 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(
this.privateServerConfigDetails, other.privateServerConfigDetails)
&& java.util.Objects.equals(this.username, other.username)
+ && java.util.Objects.equals(this.email, other.email)
+ && java.util.Objects.equals(this.isMigrationRequired, other.isMigrationRequired)
&& java.util.Objects.equals(this.secretId, other.secretId)
&& java.util.Objects.equals(this.freeformTags, other.freeformTags)
&& java.util.Objects.equals(this.definedTags, other.definedTags)
@@ -410,6 +450,12 @@ public int hashCode() {
? 43
: this.privateServerConfigDetails.hashCode());
result = (result * PRIME) + (this.username == null ? 43 : this.username.hashCode());
+ result = (result * PRIME) + (this.email == null ? 43 : this.email.hashCode());
+ result =
+ (result * PRIME)
+ + (this.isMigrationRequired == null
+ ? 43
+ : this.isMigrationRequired.hashCode());
result = (result * PRIME) + (this.secretId == null ? 43 : this.secretId.hashCode());
result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode());
result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode());
@@ -419,13 +465,13 @@ public int hashCode() {
}
/**
- * The type of configuration source provider. The {@code BITBUCKET_CLOUD_USERNAME_APPPASSWORD}
- * type corresponds to Bitbucket Cloud. The {@code BITBUCKET_SERVER_ACCESS_TOKEN} type
- * corresponds to Bitbucket Server. The {@code GITLAB_ACCESS_TOKEN} type corresponds to GitLab.
- * The {@code GITHUB_ACCESS_TOKEN} type corresponds to GitHub.
+ * The type of configuration source provider. The {@code BITBUCKET_CLOUD_ACCESS_TOKEN} type
+ * corresponds to Bitbucket Cloud. The {@code BITBUCKET_SERVER_ACCESS_TOKEN} type corresponds to
+ * Bitbucket Server. The {@code GITLAB_ACCESS_TOKEN} type corresponds to GitLab. The {@code
+ * GITHUB_ACCESS_TOKEN} type corresponds to GitHub.
*/
public enum ConfigSourceProviderType implements com.oracle.bmc.http.internal.BmcEnum {
- BitbucketCloudUsernameApppassword("BITBUCKET_CLOUD_USERNAME_APPPASSWORD"),
+ BitbucketCloudAccessToken("BITBUCKET_CLOUD_ACCESS_TOKEN"),
BitbucketServerAccessToken("BITBUCKET_SERVER_ACCESS_TOKEN"),
GitlabAccessToken("GITLAB_ACCESS_TOKEN"),
GithubAccessToken("GITHUB_ACCESS_TOKEN"),
diff --git a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/ConfigurationSourceProviderSummary.java b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/ConfigurationSourceProviderSummary.java
index 6024baf696a..553386525c0 100644
--- a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/ConfigurationSourceProviderSummary.java
+++ b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/ConfigurationSourceProviderSummary.java
@@ -25,12 +25,12 @@
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = GitlabAccessTokenConfigurationSourceProviderSummary.class,
name = "GITLAB_ACCESS_TOKEN"),
- @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
- value = BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary.class,
- name = "BITBUCKET_CLOUD_USERNAME_APPPASSWORD"),
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = BitbucketServerAccessTokenConfigurationSourceProviderSummary.class,
name = "BITBUCKET_SERVER_ACCESS_TOKEN"),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = BitbucketCloudEmailApiTokenConfigurationSourceProviderSummary.class,
+ name = "BITBUCKET_CLOUD_ACCESS_TOKEN"),
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = GithubAccessTokenConfigurationSourceProviderSummary.class,
name = "GITHUB_ACCESS_TOKEN")
@@ -48,6 +48,7 @@ public class ConfigurationSourceProviderSummary
"timeCreated",
"lifecycleState",
"privateServerConfigDetails",
+ "isMigrationRequired",
"freeformTags",
"definedTags",
"systemTags"
@@ -60,6 +61,7 @@ protected ConfigurationSourceProviderSummary(
java.util.Date timeCreated,
ConfigurationSourceProvider.LifecycleState lifecycleState,
PrivateServerConfigDetails privateServerConfigDetails,
+ Boolean isMigrationRequired,
java.util.Map freeformTags,
java.util.Map> definedTags,
java.util.Map> systemTags) {
@@ -71,6 +73,7 @@ protected ConfigurationSourceProviderSummary(
this.timeCreated = timeCreated;
this.lifecycleState = lifecycleState;
this.privateServerConfigDetails = privateServerConfigDetails;
+ this.isMigrationRequired = isMigrationRequired;
this.freeformTags = freeformTags;
this.definedTags = definedTags;
this.systemTags = systemTags;
@@ -183,6 +186,23 @@ public PrivateServerConfigDetails getPrivateServerConfigDetails() {
return privateServerConfigDetails;
}
+ /**
+ * Indicates whether this configuration source provider uses legacy Bitbucket Cloud
+ * username/app-password credentials and must be migrated.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("isMigrationRequired")
+ private final Boolean isMigrationRequired;
+
+ /**
+ * Indicates whether this configuration source provider uses legacy Bitbucket Cloud
+ * username/app-password credentials and must be migrated.
+ *
+ * @return the value
+ */
+ public Boolean getIsMigrationRequired() {
+ return isMigrationRequired;
+ }
+
/**
* Free-form tags associated with the resource. Each tag is a key-value pair with no predefined
* name, type, or namespace. For more information, see [Resource
@@ -271,6 +291,7 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState));
sb.append(", privateServerConfigDetails=")
.append(String.valueOf(this.privateServerConfigDetails));
+ sb.append(", isMigrationRequired=").append(String.valueOf(this.isMigrationRequired));
sb.append(", freeformTags=").append(String.valueOf(this.freeformTags));
sb.append(", definedTags=").append(String.valueOf(this.definedTags));
sb.append(", systemTags=").append(String.valueOf(this.systemTags));
@@ -296,6 +317,7 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
&& java.util.Objects.equals(
this.privateServerConfigDetails, other.privateServerConfigDetails)
+ && java.util.Objects.equals(this.isMigrationRequired, other.isMigrationRequired)
&& java.util.Objects.equals(this.freeformTags, other.freeformTags)
&& java.util.Objects.equals(this.definedTags, other.definedTags)
&& java.util.Objects.equals(this.systemTags, other.systemTags)
@@ -321,6 +343,11 @@ public int hashCode() {
+ (this.privateServerConfigDetails == null
? 43
: this.privateServerConfigDetails.hashCode());
+ result =
+ (result * PRIME)
+ + (this.isMigrationRequired == null
+ ? 43
+ : this.isMigrationRequired.hashCode());
result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode());
result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode());
result = (result * PRIME) + (this.systemTags == null ? 43 : this.systemTags.hashCode());
diff --git a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails.java b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.java
similarity index 80%
rename from bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails.java
rename to bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.java
index cff46b0bfe0..814b8056980 100644
--- a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails.java
+++ b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.java
@@ -6,8 +6,9 @@
/**
* Creation details for a configuration source provider of the type {@code
- * BITBUCKET_CLOUD_USERNAME_appPASSWORD}. This type corresponds to a configuration source provider
- * in Bitbucket that is authenticated with a username and app password.
+ * BITBUCKET_CLOUD_ACCESS_TOKEN}. This type corresponds to a configuration source provider in
+ * Bitbucket Cloud that is authenticated with Atlassian account email and API token. Legacy
+ * username/app-password create request shapes are no longer supported.
* 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
@@ -19,16 +20,14 @@
*/
@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20180917")
@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
- builder =
- CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails.Builder
- .class)
+ builder = CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.Builder.class)
@com.fasterxml.jackson.annotation.JsonTypeInfo(
use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
property = "configSourceProviderType")
@com.fasterxml.jackson.annotation.JsonFilter(
com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
-public final class CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails
+public final class CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails
extends CreateConfigurationSourceProviderDetails {
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
public static class Builder {
@@ -102,19 +101,19 @@ public Builder apiEndpoint(String apiEndpoint) {
this.__explicitlySet__.add("apiEndpoint");
return this;
}
- /** The username for the user of the Bitbucket cloud repository. */
- @com.fasterxml.jackson.annotation.JsonProperty("username")
- private String username;
+ /** Atlassian account email used for Bitbucket Cloud API token authentication. */
+ @com.fasterxml.jackson.annotation.JsonProperty("email")
+ private String email;
/**
- * The username for the user of the Bitbucket cloud repository.
+ * Atlassian account email used for Bitbucket Cloud API token authentication.
*
- * @param username the value to set
+ * @param email the value to set
* @return this builder
*/
- public Builder username(String username) {
- this.username = username;
- this.__explicitlySet__.add("username");
+ public Builder email(String email) {
+ this.email = email;
+ this.__explicitlySet__.add("email");
return this;
}
/** The secret ocid which is used to authorize the user. */
@@ -136,9 +135,9 @@ public Builder secretId(String secretId) {
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
- public CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails build() {
- CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails model =
- new CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails(
+ public CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails build() {
+ CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails model =
+ new CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails(
this.compartmentId,
this.displayName,
this.description,
@@ -146,7 +145,7 @@ public CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails
this.freeformTags,
this.definedTags,
this.apiEndpoint,
- this.username,
+ this.email,
this.secretId);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
@@ -156,7 +155,7 @@ public CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails
@com.fasterxml.jackson.annotation.JsonIgnore
public Builder copy(
- CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails model) {
+ CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails model) {
if (model.wasPropertyExplicitlySet("compartmentId")) {
this.compartmentId(model.getCompartmentId());
}
@@ -178,8 +177,8 @@ public Builder copy(
if (model.wasPropertyExplicitlySet("apiEndpoint")) {
this.apiEndpoint(model.getApiEndpoint());
}
- if (model.wasPropertyExplicitlySet("username")) {
- this.username(model.getUsername());
+ if (model.wasPropertyExplicitlySet("email")) {
+ this.email(model.getEmail());
}
if (model.wasPropertyExplicitlySet("secretId")) {
this.secretId(model.getSecretId());
@@ -198,7 +197,7 @@ public Builder toBuilder() {
}
@Deprecated
- public CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails(
+ public CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails(
String compartmentId,
String displayName,
String description,
@@ -206,7 +205,7 @@ public CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails
java.util.Map freeformTags,
java.util.Map> definedTags,
String apiEndpoint,
- String username,
+ String email,
String secretId) {
super(
compartmentId,
@@ -216,7 +215,7 @@ public CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails
freeformTags,
definedTags);
this.apiEndpoint = apiEndpoint;
- this.username = username;
+ this.email = email;
this.secretId = secretId;
}
@@ -233,17 +232,17 @@ public String getApiEndpoint() {
return apiEndpoint;
}
- /** The username for the user of the Bitbucket cloud repository. */
- @com.fasterxml.jackson.annotation.JsonProperty("username")
- private final String username;
+ /** Atlassian account email used for Bitbucket Cloud API token authentication. */
+ @com.fasterxml.jackson.annotation.JsonProperty("email")
+ private final String email;
/**
- * The username for the user of the Bitbucket cloud repository.
+ * Atlassian account email used for Bitbucket Cloud API token authentication.
*
* @return the value
*/
- public String getUsername() {
- return username;
+ public String getEmail() {
+ return email;
}
/** The secret ocid which is used to authorize the user. */
@@ -272,10 +271,10 @@ public String toString() {
*/
public String toString(boolean includeByteArrayContents) {
java.lang.StringBuilder sb = new java.lang.StringBuilder();
- sb.append("CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails(");
+ sb.append("CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails(");
sb.append("super=").append(super.toString(includeByteArrayContents));
sb.append(", apiEndpoint=").append(String.valueOf(this.apiEndpoint));
- sb.append(", username=").append(String.valueOf(this.username));
+ sb.append(", email=").append(String.valueOf(this.email));
sb.append(", secretId=").append(String.valueOf(this.secretId));
sb.append(")");
return sb.toString();
@@ -286,16 +285,14 @@ public boolean equals(Object o) {
if (this == o) {
return true;
}
- if (!(o
- instanceof
- CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails)) {
+ if (!(o instanceof CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails)) {
return false;
}
- CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails other =
- (CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails) o;
+ CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails other =
+ (CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails) o;
return java.util.Objects.equals(this.apiEndpoint, other.apiEndpoint)
- && java.util.Objects.equals(this.username, other.username)
+ && java.util.Objects.equals(this.email, other.email)
&& java.util.Objects.equals(this.secretId, other.secretId)
&& super.equals(other);
}
@@ -305,7 +302,7 @@ public int hashCode() {
final int PRIME = 59;
int result = super.hashCode();
result = (result * PRIME) + (this.apiEndpoint == null ? 43 : this.apiEndpoint.hashCode());
- result = (result * PRIME) + (this.username == null ? 43 : this.username.hashCode());
+ result = (result * PRIME) + (this.email == null ? 43 : this.email.hashCode());
result = (result * PRIME) + (this.secretId == null ? 43 : this.secretId.hashCode());
return result;
}
diff --git a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/CreateConfigurationSourceProviderDetails.java b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/CreateConfigurationSourceProviderDetails.java
index 476d5686a62..ffafc24a233 100644
--- a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/CreateConfigurationSourceProviderDetails.java
+++ b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/CreateConfigurationSourceProviderDetails.java
@@ -26,8 +26,8 @@
value = CreateGitlabAccessTokenConfigurationSourceProviderDetails.class,
name = "GITLAB_ACCESS_TOKEN"),
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
- value = CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails.class,
- name = "BITBUCKET_CLOUD_USERNAME_APPPASSWORD"),
+ value = CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.class,
+ name = "BITBUCKET_CLOUD_ACCESS_TOKEN"),
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = CreateGithubAccessTokenConfigurationSourceProviderDetails.class,
name = "GITHUB_ACCESS_TOKEN"),
diff --git a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/GithubAccessTokenConfigurationSourceProvider.java b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/GithubAccessTokenConfigurationSourceProvider.java
index a5176b35125..07f08baedac 100644
--- a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/GithubAccessTokenConfigurationSourceProvider.java
+++ b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/GithubAccessTokenConfigurationSourceProvider.java
@@ -103,6 +103,24 @@ public Builder username(String username) {
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("email")
+ private String email;
+
+ public Builder email(String email) {
+ this.email = email;
+ this.__explicitlySet__.add("email");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("isMigrationRequired")
+ private Boolean isMigrationRequired;
+
+ public Builder isMigrationRequired(Boolean isMigrationRequired) {
+ this.isMigrationRequired = isMigrationRequired;
+ this.__explicitlySet__.add("isMigrationRequired");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("secretId")
private String secretId;
@@ -169,6 +187,8 @@ public GithubAccessTokenConfigurationSourceProvider build() {
this.lifecycleState,
this.privateServerConfigDetails,
this.username,
+ this.email,
+ this.isMigrationRequired,
this.secretId,
this.freeformTags,
this.definedTags,
@@ -206,6 +226,12 @@ public Builder copy(GithubAccessTokenConfigurationSourceProvider model) {
if (model.wasPropertyExplicitlySet("username")) {
this.username(model.getUsername());
}
+ if (model.wasPropertyExplicitlySet("email")) {
+ this.email(model.getEmail());
+ }
+ if (model.wasPropertyExplicitlySet("isMigrationRequired")) {
+ this.isMigrationRequired(model.getIsMigrationRequired());
+ }
if (model.wasPropertyExplicitlySet("secretId")) {
this.secretId(model.getSecretId());
}
@@ -244,6 +270,8 @@ public GithubAccessTokenConfigurationSourceProvider(
LifecycleState lifecycleState,
PrivateServerConfigDetails privateServerConfigDetails,
String username,
+ String email,
+ Boolean isMigrationRequired,
String secretId,
java.util.Map freeformTags,
java.util.Map> definedTags,
@@ -258,6 +286,8 @@ public GithubAccessTokenConfigurationSourceProvider(
lifecycleState,
privateServerConfigDetails,
username,
+ email,
+ isMigrationRequired,
secretId,
freeformTags,
definedTags,
diff --git a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/GithubAccessTokenConfigurationSourceProviderSummary.java b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/GithubAccessTokenConfigurationSourceProviderSummary.java
index 70c4d77fe57..b55c15adf47 100644
--- a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/GithubAccessTokenConfigurationSourceProviderSummary.java
+++ b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/GithubAccessTokenConfigurationSourceProviderSummary.java
@@ -94,6 +94,15 @@ public Builder privateServerConfigDetails(
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("isMigrationRequired")
+ private Boolean isMigrationRequired;
+
+ public Builder isMigrationRequired(Boolean isMigrationRequired) {
+ this.isMigrationRequired = isMigrationRequired;
+ this.__explicitlySet__.add("isMigrationRequired");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("freeformTags")
private java.util.Map freeformTags;
@@ -150,6 +159,7 @@ public GithubAccessTokenConfigurationSourceProviderSummary build() {
this.timeCreated,
this.lifecycleState,
this.privateServerConfigDetails,
+ this.isMigrationRequired,
this.freeformTags,
this.definedTags,
this.systemTags,
@@ -183,6 +193,9 @@ public Builder copy(GithubAccessTokenConfigurationSourceProviderSummary model) {
if (model.wasPropertyExplicitlySet("privateServerConfigDetails")) {
this.privateServerConfigDetails(model.getPrivateServerConfigDetails());
}
+ if (model.wasPropertyExplicitlySet("isMigrationRequired")) {
+ this.isMigrationRequired(model.getIsMigrationRequired());
+ }
if (model.wasPropertyExplicitlySet("freeformTags")) {
this.freeformTags(model.getFreeformTags());
}
@@ -217,6 +230,7 @@ public GithubAccessTokenConfigurationSourceProviderSummary(
java.util.Date timeCreated,
ConfigurationSourceProvider.LifecycleState lifecycleState,
PrivateServerConfigDetails privateServerConfigDetails,
+ Boolean isMigrationRequired,
java.util.Map freeformTags,
java.util.Map> definedTags,
java.util.Map> systemTags,
@@ -229,6 +243,7 @@ public GithubAccessTokenConfigurationSourceProviderSummary(
timeCreated,
lifecycleState,
privateServerConfigDetails,
+ isMigrationRequired,
freeformTags,
definedTags,
systemTags);
diff --git a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/GitlabAccessTokenConfigurationSourceProvider.java b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/GitlabAccessTokenConfigurationSourceProvider.java
index 4aac608af1b..a536ce8706a 100644
--- a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/GitlabAccessTokenConfigurationSourceProvider.java
+++ b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/GitlabAccessTokenConfigurationSourceProvider.java
@@ -103,6 +103,24 @@ public Builder username(String username) {
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("email")
+ private String email;
+
+ public Builder email(String email) {
+ this.email = email;
+ this.__explicitlySet__.add("email");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("isMigrationRequired")
+ private Boolean isMigrationRequired;
+
+ public Builder isMigrationRequired(Boolean isMigrationRequired) {
+ this.isMigrationRequired = isMigrationRequired;
+ this.__explicitlySet__.add("isMigrationRequired");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("secretId")
private String secretId;
@@ -169,6 +187,8 @@ public GitlabAccessTokenConfigurationSourceProvider build() {
this.lifecycleState,
this.privateServerConfigDetails,
this.username,
+ this.email,
+ this.isMigrationRequired,
this.secretId,
this.freeformTags,
this.definedTags,
@@ -206,6 +226,12 @@ public Builder copy(GitlabAccessTokenConfigurationSourceProvider model) {
if (model.wasPropertyExplicitlySet("username")) {
this.username(model.getUsername());
}
+ if (model.wasPropertyExplicitlySet("email")) {
+ this.email(model.getEmail());
+ }
+ if (model.wasPropertyExplicitlySet("isMigrationRequired")) {
+ this.isMigrationRequired(model.getIsMigrationRequired());
+ }
if (model.wasPropertyExplicitlySet("secretId")) {
this.secretId(model.getSecretId());
}
@@ -244,6 +270,8 @@ public GitlabAccessTokenConfigurationSourceProvider(
LifecycleState lifecycleState,
PrivateServerConfigDetails privateServerConfigDetails,
String username,
+ String email,
+ Boolean isMigrationRequired,
String secretId,
java.util.Map freeformTags,
java.util.Map> definedTags,
@@ -258,6 +286,8 @@ public GitlabAccessTokenConfigurationSourceProvider(
lifecycleState,
privateServerConfigDetails,
username,
+ email,
+ isMigrationRequired,
secretId,
freeformTags,
definedTags,
diff --git a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/GitlabAccessTokenConfigurationSourceProviderSummary.java b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/GitlabAccessTokenConfigurationSourceProviderSummary.java
index 22423959199..55a4b53f5f6 100644
--- a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/GitlabAccessTokenConfigurationSourceProviderSummary.java
+++ b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/GitlabAccessTokenConfigurationSourceProviderSummary.java
@@ -94,6 +94,15 @@ public Builder privateServerConfigDetails(
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("isMigrationRequired")
+ private Boolean isMigrationRequired;
+
+ public Builder isMigrationRequired(Boolean isMigrationRequired) {
+ this.isMigrationRequired = isMigrationRequired;
+ this.__explicitlySet__.add("isMigrationRequired");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("freeformTags")
private java.util.Map freeformTags;
@@ -150,6 +159,7 @@ public GitlabAccessTokenConfigurationSourceProviderSummary build() {
this.timeCreated,
this.lifecycleState,
this.privateServerConfigDetails,
+ this.isMigrationRequired,
this.freeformTags,
this.definedTags,
this.systemTags,
@@ -183,6 +193,9 @@ public Builder copy(GitlabAccessTokenConfigurationSourceProviderSummary model) {
if (model.wasPropertyExplicitlySet("privateServerConfigDetails")) {
this.privateServerConfigDetails(model.getPrivateServerConfigDetails());
}
+ if (model.wasPropertyExplicitlySet("isMigrationRequired")) {
+ this.isMigrationRequired(model.getIsMigrationRequired());
+ }
if (model.wasPropertyExplicitlySet("freeformTags")) {
this.freeformTags(model.getFreeformTags());
}
@@ -217,6 +230,7 @@ public GitlabAccessTokenConfigurationSourceProviderSummary(
java.util.Date timeCreated,
ConfigurationSourceProvider.LifecycleState lifecycleState,
PrivateServerConfigDetails privateServerConfigDetails,
+ Boolean isMigrationRequired,
java.util.Map freeformTags,
java.util.Map> definedTags,
java.util.Map> systemTags,
@@ -229,6 +243,7 @@ public GitlabAccessTokenConfigurationSourceProviderSummary(
timeCreated,
lifecycleState,
privateServerConfigDetails,
+ isMigrationRequired,
freeformTags,
definedTags,
systemTags);
diff --git a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails.java b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.java
similarity index 77%
rename from bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails.java
rename to bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.java
index eaa8ec4b80c..f4de2469ce8 100644
--- a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails.java
+++ b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.java
@@ -6,8 +6,9 @@
/**
* Update details for a configuration source provider of the type {@code
- * BITBUCKET_CLOUD_USERNAME_APPPASSWORD}. This type corresponds to a configuration source provider
- * in Bitbucket that is authenticated with a username and app password.
+ * BITBUCKET_CLOUD_ACCESS_TOKEN}. This type corresponds to a configuration source provider in
+ * Bitbucket Cloud that is authenticated with Atlassian account email and API token. Legacy
+ * username/app-password update request shapes are no longer supported.
* 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
@@ -19,16 +20,14 @@
*/
@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20180917")
@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
- builder =
- UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails.Builder
- .class)
+ builder = UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.Builder.class)
@com.fasterxml.jackson.annotation.JsonTypeInfo(
use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
property = "configSourceProviderType")
@com.fasterxml.jackson.annotation.JsonFilter(
com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
-public final class UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails
+public final class UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails
extends UpdateConfigurationSourceProviderDetails {
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
public static class Builder {
@@ -93,27 +92,27 @@ public Builder apiEndpoint(String apiEndpoint) {
this.__explicitlySet__.add("apiEndpoint");
return this;
}
- /** The username for the user of the Bitbucket cloud repository. */
- @com.fasterxml.jackson.annotation.JsonProperty("username")
- private String username;
+ /** Atlassian account email used for Bitbucket Cloud API token authentication. */
+ @com.fasterxml.jackson.annotation.JsonProperty("email")
+ private String email;
/**
- * The username for the user of the Bitbucket cloud repository.
+ * Atlassian account email used for Bitbucket Cloud API token authentication.
*
- * @param username the value to set
+ * @param email the value to set
* @return this builder
*/
- public Builder username(String username) {
- this.username = username;
- this.__explicitlySet__.add("username");
+ public Builder email(String email) {
+ this.email = email;
+ this.__explicitlySet__.add("email");
return this;
}
- /** The secret ocid which is used to authorize the user. */
+ /** The secret OCID containing an Atlassian API token. */
@com.fasterxml.jackson.annotation.JsonProperty("secretId")
private String secretId;
/**
- * The secret ocid which is used to authorize the user.
+ * The secret OCID containing an Atlassian API token.
*
* @param secretId the value to set
* @return this builder
@@ -127,16 +126,16 @@ public Builder secretId(String secretId) {
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
- public UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails build() {
- UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails model =
- new UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails(
+ public UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails build() {
+ UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails model =
+ new UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails(
this.displayName,
this.description,
this.privateServerConfigDetails,
this.freeformTags,
this.definedTags,
this.apiEndpoint,
- this.username,
+ this.email,
this.secretId);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
@@ -146,7 +145,7 @@ public UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails
@com.fasterxml.jackson.annotation.JsonIgnore
public Builder copy(
- UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails model) {
+ UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails model) {
if (model.wasPropertyExplicitlySet("displayName")) {
this.displayName(model.getDisplayName());
}
@@ -165,8 +164,8 @@ public Builder copy(
if (model.wasPropertyExplicitlySet("apiEndpoint")) {
this.apiEndpoint(model.getApiEndpoint());
}
- if (model.wasPropertyExplicitlySet("username")) {
- this.username(model.getUsername());
+ if (model.wasPropertyExplicitlySet("email")) {
+ this.email(model.getEmail());
}
if (model.wasPropertyExplicitlySet("secretId")) {
this.secretId(model.getSecretId());
@@ -185,18 +184,18 @@ public Builder toBuilder() {
}
@Deprecated
- public UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails(
+ public UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails(
String displayName,
String description,
PrivateServerConfigDetails privateServerConfigDetails,
java.util.Map freeformTags,
java.util.Map> definedTags,
String apiEndpoint,
- String username,
+ String email,
String secretId) {
super(displayName, description, privateServerConfigDetails, freeformTags, definedTags);
this.apiEndpoint = apiEndpoint;
- this.username = username;
+ this.email = email;
this.secretId = secretId;
}
@@ -213,25 +212,25 @@ public String getApiEndpoint() {
return apiEndpoint;
}
- /** The username for the user of the Bitbucket cloud repository. */
- @com.fasterxml.jackson.annotation.JsonProperty("username")
- private final String username;
+ /** Atlassian account email used for Bitbucket Cloud API token authentication. */
+ @com.fasterxml.jackson.annotation.JsonProperty("email")
+ private final String email;
/**
- * The username for the user of the Bitbucket cloud repository.
+ * Atlassian account email used for Bitbucket Cloud API token authentication.
*
* @return the value
*/
- public String getUsername() {
- return username;
+ public String getEmail() {
+ return email;
}
- /** The secret ocid which is used to authorize the user. */
+ /** The secret OCID containing an Atlassian API token. */
@com.fasterxml.jackson.annotation.JsonProperty("secretId")
private final String secretId;
/**
- * The secret ocid which is used to authorize the user.
+ * The secret OCID containing an Atlassian API token.
*
* @return the value
*/
@@ -252,10 +251,10 @@ public String toString() {
*/
public String toString(boolean includeByteArrayContents) {
java.lang.StringBuilder sb = new java.lang.StringBuilder();
- sb.append("UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails(");
+ sb.append("UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails(");
sb.append("super=").append(super.toString(includeByteArrayContents));
sb.append(", apiEndpoint=").append(String.valueOf(this.apiEndpoint));
- sb.append(", username=").append(String.valueOf(this.username));
+ sb.append(", email=").append(String.valueOf(this.email));
sb.append(", secretId=").append(String.valueOf(this.secretId));
sb.append(")");
return sb.toString();
@@ -266,16 +265,14 @@ public boolean equals(Object o) {
if (this == o) {
return true;
}
- if (!(o
- instanceof
- UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails)) {
+ if (!(o instanceof UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails)) {
return false;
}
- UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails other =
- (UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails) o;
+ UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails other =
+ (UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails) o;
return java.util.Objects.equals(this.apiEndpoint, other.apiEndpoint)
- && java.util.Objects.equals(this.username, other.username)
+ && java.util.Objects.equals(this.email, other.email)
&& java.util.Objects.equals(this.secretId, other.secretId)
&& super.equals(other);
}
@@ -285,7 +282,7 @@ public int hashCode() {
final int PRIME = 59;
int result = super.hashCode();
result = (result * PRIME) + (this.apiEndpoint == null ? 43 : this.apiEndpoint.hashCode());
- result = (result * PRIME) + (this.username == null ? 43 : this.username.hashCode());
+ result = (result * PRIME) + (this.email == null ? 43 : this.email.hashCode());
result = (result * PRIME) + (this.secretId == null ? 43 : this.secretId.hashCode());
return result;
}
diff --git a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/UpdateConfigurationSourceProviderDetails.java b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/UpdateConfigurationSourceProviderDetails.java
index 9bd163766da..1cec45b9a2b 100644
--- a/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/UpdateConfigurationSourceProviderDetails.java
+++ b/bmc-resourcemanager/src/main/java/com/oracle/bmc/resourcemanager/model/UpdateConfigurationSourceProviderDetails.java
@@ -22,15 +22,15 @@
property = "configSourceProviderType",
defaultImpl = UpdateConfigurationSourceProviderDetails.class)
@com.fasterxml.jackson.annotation.JsonSubTypes({
- @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
- value = UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails.class,
- name = "BITBUCKET_CLOUD_USERNAME_APPPASSWORD"),
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = UpdateBitbucketServerAccessTokenConfigurationSourceProviderDetails.class,
name = "BITBUCKET_SERVER_ACCESS_TOKEN"),
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = UpdateGitlabAccessTokenConfigurationSourceProviderDetails.class,
name = "GITLAB_ACCESS_TOKEN"),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.class,
+ name = "BITBUCKET_CLOUD_ACCESS_TOKEN"),
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = UpdateGithubAccessTokenConfigurationSourceProviderDetails.class,
name = "GITHUB_ACCESS_TOKEN")
diff --git a/bmc-resourcemanager/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-resourcemanager/reflect-config.json b/bmc-resourcemanager/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-resourcemanager/reflect-config.json
index e60c70106ba..b5396896dab 100644
--- a/bmc-resourcemanager/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-resourcemanager/reflect-config.json
+++ b/bmc-resourcemanager/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-resourcemanager/reflect-config.json
@@ -139,28 +139,28 @@
},
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
- "name": "com.oracle.bmc.resourcemanager.model.BitbucketCloudUsernameAppPasswordConfigurationSourceProvider",
+ "name": "com.oracle.bmc.resourcemanager.model.BitbucketCloudEmailApiTokenConfigurationSourceProvider",
"allDeclaredFields": true,
"allDeclaredMethods": true,
"queryAllDeclaredConstructors": true
},
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
- "name": "com.oracle.bmc.resourcemanager.model.BitbucketCloudUsernameAppPasswordConfigurationSourceProvider$Builder",
+ "name": "com.oracle.bmc.resourcemanager.model.BitbucketCloudEmailApiTokenConfigurationSourceProvider$Builder",
"allDeclaredFields": true,
"allDeclaredMethods": true,
"allDeclaredConstructors": true
},
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
- "name": "com.oracle.bmc.resourcemanager.model.BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary",
+ "name": "com.oracle.bmc.resourcemanager.model.BitbucketCloudEmailApiTokenConfigurationSourceProviderSummary",
"allDeclaredFields": true,
"allDeclaredMethods": true,
"queryAllDeclaredConstructors": true
},
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
- "name": "com.oracle.bmc.resourcemanager.model.BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary$Builder",
+ "name": "com.oracle.bmc.resourcemanager.model.BitbucketCloudEmailApiTokenConfigurationSourceProviderSummary$Builder",
"allDeclaredFields": true,
"allDeclaredMethods": true,
"allDeclaredConstructors": true
@@ -415,14 +415,14 @@
},
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
- "name": "com.oracle.bmc.resourcemanager.model.CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails",
+ "name": "com.oracle.bmc.resourcemanager.model.CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails",
"allDeclaredFields": true,
"allDeclaredMethods": true,
"queryAllDeclaredConstructors": true
},
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
- "name": "com.oracle.bmc.resourcemanager.model.CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails$Builder",
+ "name": "com.oracle.bmc.resourcemanager.model.CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails$Builder",
"allDeclaredFields": true,
"allDeclaredMethods": true,
"allDeclaredConstructors": true
@@ -1486,14 +1486,14 @@
},
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
- "name": "com.oracle.bmc.resourcemanager.model.UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails",
+ "name": "com.oracle.bmc.resourcemanager.model.UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails",
"allDeclaredFields": true,
"allDeclaredMethods": true,
"queryAllDeclaredConstructors": true
},
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
- "name": "com.oracle.bmc.resourcemanager.model.UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails$Builder",
+ "name": "com.oracle.bmc.resourcemanager.model.UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails$Builder",
"allDeclaredFields": true,
"allDeclaredMethods": true,
"allDeclaredConstructors": true
diff --git a/bmc-resourcescheduler/pom.xml b/bmc-resourcescheduler/pom.xml
index 3a167381258..c7e7ab14a42 100644
--- a/bmc-resourcescheduler/pom.xml
+++ b/bmc-resourcescheduler/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-resourcescheduler
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-resourcesearch/pom.xml b/bmc-resourcesearch/pom.xml
index 3243f564d01..389e587d885 100644
--- a/bmc-resourcesearch/pom.xml
+++ b/bmc-resourcesearch/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-resourcesearch
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-rover/pom.xml b/bmc-rover/pom.xml
index f3fe9dd8581..c1fcd6dc609 100644
--- a/bmc-rover/pom.xml
+++ b/bmc-rover/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-rover
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-sch/pom.xml b/bmc-sch/pom.xml
index 728e32e6328..7eb943f8940 100644
--- a/bmc-sch/pom.xml
+++ b/bmc-sch/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-sch
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-secrets/pom.xml b/bmc-secrets/pom.xml
index 89bf77698b2..c54fbf1a80f 100644
--- a/bmc-secrets/pom.xml
+++ b/bmc-secrets/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-secrets
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-securityattribute/pom.xml b/bmc-securityattribute/pom.xml
index 4badaabc688..2df4b9d324a 100644
--- a/bmc-securityattribute/pom.xml
+++ b/bmc-securityattribute/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-securityattribute
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-self/pom.xml b/bmc-self/pom.xml
index 98c81b42665..281bcd55ff7 100644
--- a/bmc-self/pom.xml
+++ b/bmc-self/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-self
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-servicecatalog/pom.xml b/bmc-servicecatalog/pom.xml
index bcca7621896..0f357c90aa7 100644
--- a/bmc-servicecatalog/pom.xml
+++ b/bmc-servicecatalog/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-servicecatalog
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-servicemanagerproxy/pom.xml b/bmc-servicemanagerproxy/pom.xml
index cac53c2c544..62bd8be74be 100644
--- a/bmc-servicemanagerproxy/pom.xml
+++ b/bmc-servicemanagerproxy/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-servicemanagerproxy
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-shaded/bmc-shaded-full/pom.xml b/bmc-shaded/bmc-shaded-full/pom.xml
index be27501b92e..cdfbdd797b9 100644
--- a/bmc-shaded/bmc-shaded-full/pom.xml
+++ b/bmc-shaded/bmc-shaded-full/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk-shaded
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-shaded-full
diff --git a/bmc-shaded/pom.xml b/bmc-shaded/pom.xml
index 77e18816bb7..6ea28d6f581 100644
--- a/bmc-shaded/pom.xml
+++ b/bmc-shaded/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
diff --git a/bmc-stackmonitoring/pom.xml b/bmc-stackmonitoring/pom.xml
index c2ddee317bc..9860716e853 100644
--- a/bmc-stackmonitoring/pom.xml
+++ b/bmc-stackmonitoring/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-stackmonitoring
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-streaming/pom.xml b/bmc-streaming/pom.xml
index 97332c87439..dd3f6d1c6c4 100644
--- a/bmc-streaming/pom.xml
+++ b/bmc-streaming/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-streaming
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-tenantmanagercontrolplane/pom.xml b/bmc-tenantmanagercontrolplane/pom.xml
index f4ece21a7a4..8884963da4c 100644
--- a/bmc-tenantmanagercontrolplane/pom.xml
+++ b/bmc-tenantmanagercontrolplane/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-tenantmanagercontrolplane
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-threatintelligence/pom.xml b/bmc-threatintelligence/pom.xml
index 37f221fb942..3902bf90b49 100644
--- a/bmc-threatintelligence/pom.xml
+++ b/bmc-threatintelligence/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-threatintelligence
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-usage/pom.xml b/bmc-usage/pom.xml
index fdad49f47ee..05c36cfceae 100644
--- a/bmc-usage/pom.xml
+++ b/bmc-usage/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-usage
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-usageapi/pom.xml b/bmc-usageapi/pom.xml
index a9388105ba6..54a60444b15 100644
--- a/bmc-usageapi/pom.xml
+++ b/bmc-usageapi/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-usageapi
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-vault/pom.xml b/bmc-vault/pom.xml
index bd111c747d2..d480a4385c3 100644
--- a/bmc-vault/pom.xml
+++ b/bmc-vault/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-vault
@@ -15,12 +15,12 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
com.oracle.oci.sdk
oci-java-sdk-workrequests
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-vbsinst/pom.xml b/bmc-vbsinst/pom.xml
index b3b82496d09..186dfd7bb1a 100644
--- a/bmc-vbsinst/pom.xml
+++ b/bmc-vbsinst/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-vbsinst
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-visualbuilder/pom.xml b/bmc-visualbuilder/pom.xml
index c2c621b4f79..7a05b15ac5e 100644
--- a/bmc-visualbuilder/pom.xml
+++ b/bmc-visualbuilder/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-visualbuilder
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-vnmonitoring/pom.xml b/bmc-vnmonitoring/pom.xml
index cc2a58664b7..3863aec52df 100644
--- a/bmc-vnmonitoring/pom.xml
+++ b/bmc-vnmonitoring/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-vnmonitoring
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-vulnerabilityscanning/pom.xml b/bmc-vulnerabilityscanning/pom.xml
index 5f280478736..a2922a7a014 100644
--- a/bmc-vulnerabilityscanning/pom.xml
+++ b/bmc-vulnerabilityscanning/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-vulnerabilityscanning
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-waa/pom.xml b/bmc-waa/pom.xml
index 86b156a5a82..53449685407 100644
--- a/bmc-waa/pom.xml
+++ b/bmc-waa/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-waa
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-waas/pom.xml b/bmc-waas/pom.xml
index c6cb1292959..07d41c8b685 100644
--- a/bmc-waas/pom.xml
+++ b/bmc-waas/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-waas
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-waf/pom.xml b/bmc-waf/pom.xml
index a89745e7043..c3be6b5162f 100644
--- a/bmc-waf/pom.xml
+++ b/bmc-waf/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-waf
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-wlms/pom.xml b/bmc-wlms/pom.xml
index 5ce16892a5e..dd23a3aecb2 100644
--- a/bmc-wlms/pom.xml
+++ b/bmc-wlms/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-wlms
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-workrequests/pom.xml b/bmc-workrequests/pom.xml
index 71f7036e3c2..f70276cd2f3 100644
--- a/bmc-workrequests/pom.xml
+++ b/bmc-workrequests/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-workrequests
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/bmc-zpr/pom.xml b/bmc-zpr/pom.xml
index 5f1730eeb50..723d6f0abd9 100644
--- a/bmc-zpr/pom.xml
+++ b/bmc-zpr/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
../pom.xml
oci-java-sdk-zpr
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.90.1
+ 3.91.0
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 30a09a3c924..e4ac5237aa6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.oracle.oci.sdk
oci-java-sdk
- 3.90.1
+ 3.91.0
pom
Oracle Cloud Infrastructure SDK
This project contains the SDK used for Oracle Cloud Infrastructure