> systemTags) {
+ this.systemTags = systemTags;
+ this.__explicitlySet__.add("systemTags");
+ return this;
+ }
/**
* The date and time the capture filter was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
*
@@ -271,6 +294,7 @@ public CaptureFilter build() {
this.id,
this.lifecycleState,
this.filterType,
+ this.systemTags,
this.timeCreated,
this.vtapCaptureFilterRules,
this.flowLogCaptureFilterRules);
@@ -303,6 +327,9 @@ public Builder copy(CaptureFilter model) {
if (model.wasPropertyExplicitlySet("filterType")) {
this.filterType(model.getFilterType());
}
+ if (model.wasPropertyExplicitlySet("systemTags")) {
+ this.systemTags(model.getSystemTags());
+ }
if (model.wasPropertyExplicitlySet("timeCreated")) {
this.timeCreated(model.getTimeCreated());
}
@@ -548,6 +575,24 @@ public FilterType getFilterType() {
return filterType;
}
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("systemTags")
+ private final java.util.Map> systemTags;
+
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ * @return the value
+ **/
+ public java.util.Map> getSystemTags() {
+ return systemTags;
+ }
+
/**
* The date and time the capture filter was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
*
@@ -621,6 +666,7 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", id=").append(String.valueOf(this.id));
sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState));
sb.append(", filterType=").append(String.valueOf(this.filterType));
+ sb.append(", systemTags=").append(String.valueOf(this.systemTags));
sb.append(", timeCreated=").append(String.valueOf(this.timeCreated));
sb.append(", vtapCaptureFilterRules=").append(String.valueOf(this.vtapCaptureFilterRules));
sb.append(", flowLogCaptureFilterRules=")
@@ -646,6 +692,7 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.id, other.id)
&& java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
&& java.util.Objects.equals(this.filterType, other.filterType)
+ && java.util.Objects.equals(this.systemTags, other.systemTags)
&& java.util.Objects.equals(this.timeCreated, other.timeCreated)
&& java.util.Objects.equals(
this.vtapCaptureFilterRules, other.vtapCaptureFilterRules)
@@ -669,6 +716,7 @@ public int hashCode() {
(result * PRIME)
+ (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode());
result = (result * PRIME) + (this.filterType == null ? 43 : this.filterType.hashCode());
+ result = (result * PRIME) + (this.systemTags == null ? 43 : this.systemTags.hashCode());
result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode());
result =
(result * PRIME)
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/DhcpOptions.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/DhcpOptions.java
index 45387cc941..25f0a3305e 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/DhcpOptions.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/DhcpOptions.java
@@ -42,6 +42,7 @@ public final class DhcpOptions extends com.oracle.bmc.http.internal.ExplicitlySe
"id",
"lifecycleState",
"options",
+ "systemTags",
"timeCreated",
"vcnId",
"domainNameType"
@@ -54,6 +55,7 @@ public DhcpOptions(
String id,
LifecycleState lifecycleState,
java.util.List options,
+ java.util.Map> systemTags,
java.util.Date timeCreated,
String vcnId,
DomainNameType domainNameType) {
@@ -65,6 +67,7 @@ public DhcpOptions(
this.id = id;
this.lifecycleState = lifecycleState;
this.options = options;
+ this.systemTags = systemTags;
this.timeCreated = timeCreated;
this.vcnId = vcnId;
this.domainNameType = domainNameType;
@@ -205,6 +208,26 @@ public Builder options(java.util.List options) {
this.__explicitlySet__.add("options");
return this;
}
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("systemTags")
+ private java.util.Map> systemTags;
+
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ * @param systemTags the value to set
+ * @return this builder
+ **/
+ public Builder systemTags(java.util.Map> systemTags) {
+ this.systemTags = systemTags;
+ this.__explicitlySet__.add("systemTags");
+ return this;
+ }
/**
* Date and time the set of DHCP options was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
*
@@ -273,6 +296,7 @@ public DhcpOptions build() {
this.id,
this.lifecycleState,
this.options,
+ this.systemTags,
this.timeCreated,
this.vcnId,
this.domainNameType);
@@ -305,6 +329,9 @@ public Builder copy(DhcpOptions model) {
if (model.wasPropertyExplicitlySet("options")) {
this.options(model.getOptions());
}
+ if (model.wasPropertyExplicitlySet("systemTags")) {
+ this.systemTags(model.getSystemTags());
+ }
if (model.wasPropertyExplicitlySet("timeCreated")) {
this.timeCreated(model.getTimeCreated());
}
@@ -497,6 +524,24 @@ public java.util.List getOptions() {
return options;
}
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("systemTags")
+ private final java.util.Map> systemTags;
+
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ * @return the value
+ **/
+ public java.util.Map> getSystemTags() {
+ return systemTags;
+ }
+
/**
* Date and time the set of DHCP options was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
*
@@ -615,6 +660,7 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", id=").append(String.valueOf(this.id));
sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState));
sb.append(", options=").append(String.valueOf(this.options));
+ sb.append(", systemTags=").append(String.valueOf(this.systemTags));
sb.append(", timeCreated=").append(String.valueOf(this.timeCreated));
sb.append(", vcnId=").append(String.valueOf(this.vcnId));
sb.append(", domainNameType=").append(String.valueOf(this.domainNameType));
@@ -639,6 +685,7 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.id, other.id)
&& java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
&& java.util.Objects.equals(this.options, other.options)
+ && java.util.Objects.equals(this.systemTags, other.systemTags)
&& java.util.Objects.equals(this.timeCreated, other.timeCreated)
&& java.util.Objects.equals(this.vcnId, other.vcnId)
&& java.util.Objects.equals(this.domainNameType, other.domainNameType)
@@ -660,6 +707,7 @@ public int hashCode() {
(result * PRIME)
+ (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode());
result = (result * PRIME) + (this.options == null ? 43 : this.options.hashCode());
+ result = (result * PRIME) + (this.systemTags == null ? 43 : this.systemTags.hashCode());
result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode());
result = (result * PRIME) + (this.vcnId == null ? 43 : this.vcnId.hashCode());
result =
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/HostGroupConfiguration.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/HostGroupConfiguration.java
index e6e49587c4..72eec8cc0e 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/HostGroupConfiguration.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/HostGroupConfiguration.java
@@ -22,13 +22,24 @@
public final class HostGroupConfiguration
extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"target", "firmwareBundleId", "recycleLevel", "state"})
+ @java.beans.ConstructorProperties({
+ "target",
+ "firmwareBundleId",
+ "recycleLevel",
+ "quickRecycleSettings",
+ "state"
+ })
public HostGroupConfiguration(
- String target, String firmwareBundleId, RecycleLevel recycleLevel, State state) {
+ String target,
+ String firmwareBundleId,
+ RecycleLevel recycleLevel,
+ QuickRecycleSettings quickRecycleSettings,
+ State state) {
super();
this.target = target;
this.firmwareBundleId = firmwareBundleId;
this.recycleLevel = recycleLevel;
+ this.quickRecycleSettings = quickRecycleSettings;
this.state = state;
}
@@ -88,6 +99,15 @@ public Builder recycleLevel(RecycleLevel recycleLevel) {
this.__explicitlySet__.add("recycleLevel");
return this;
}
+
+ @com.fasterxml.jackson.annotation.JsonProperty("quickRecycleSettings")
+ private QuickRecycleSettings quickRecycleSettings;
+
+ public Builder quickRecycleSettings(QuickRecycleSettings quickRecycleSettings) {
+ this.quickRecycleSettings = quickRecycleSettings;
+ this.__explicitlySet__.add("quickRecycleSettings");
+ return this;
+ }
/**
* The state of the host group configuration.
**/
@@ -111,7 +131,11 @@ public Builder state(State state) {
public HostGroupConfiguration build() {
HostGroupConfiguration model =
new HostGroupConfiguration(
- this.target, this.firmwareBundleId, this.recycleLevel, this.state);
+ this.target,
+ this.firmwareBundleId,
+ this.recycleLevel,
+ this.quickRecycleSettings,
+ this.state);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -129,6 +153,9 @@ public Builder copy(HostGroupConfiguration model) {
if (model.wasPropertyExplicitlySet("recycleLevel")) {
this.recycleLevel(model.getRecycleLevel());
}
+ if (model.wasPropertyExplicitlySet("quickRecycleSettings")) {
+ this.quickRecycleSettings(model.getQuickRecycleSettings());
+ }
if (model.wasPropertyExplicitlySet("state")) {
this.state(model.getState());
}
@@ -246,6 +273,13 @@ public RecycleLevel getRecycleLevel() {
return recycleLevel;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("quickRecycleSettings")
+ private final QuickRecycleSettings quickRecycleSettings;
+
+ public QuickRecycleSettings getQuickRecycleSettings() {
+ return quickRecycleSettings;
+ }
+
/**
* The state of the host group configuration.
**/
@@ -324,6 +358,7 @@ public String toString(boolean includeByteArrayContents) {
sb.append("target=").append(String.valueOf(this.target));
sb.append(", firmwareBundleId=").append(String.valueOf(this.firmwareBundleId));
sb.append(", recycleLevel=").append(String.valueOf(this.recycleLevel));
+ sb.append(", quickRecycleSettings=").append(String.valueOf(this.quickRecycleSettings));
sb.append(", state=").append(String.valueOf(this.state));
sb.append(")");
return sb.toString();
@@ -342,6 +377,7 @@ public boolean equals(Object o) {
return java.util.Objects.equals(this.target, other.target)
&& java.util.Objects.equals(this.firmwareBundleId, other.firmwareBundleId)
&& java.util.Objects.equals(this.recycleLevel, other.recycleLevel)
+ && java.util.Objects.equals(this.quickRecycleSettings, other.quickRecycleSettings)
&& java.util.Objects.equals(this.state, other.state)
&& super.equals(other);
}
@@ -355,6 +391,11 @@ public int hashCode() {
(result * PRIME)
+ (this.firmwareBundleId == null ? 43 : this.firmwareBundleId.hashCode());
result = (result * PRIME) + (this.recycleLevel == null ? 43 : this.recycleLevel.hashCode());
+ result =
+ (result * PRIME)
+ + (this.quickRecycleSettings == null
+ ? 43
+ : this.quickRecycleSettings.hashCode());
result = (result * PRIME) + (this.state == null ? 43 : this.state.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/InternetGateway.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/InternetGateway.java
index 90e52e137f..24189cc1a8 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/InternetGateway.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/InternetGateway.java
@@ -34,6 +34,7 @@ public final class InternetGateway extends com.oracle.bmc.http.internal.Explicit
"id",
"isEnabled",
"lifecycleState",
+ "systemTags",
"timeCreated",
"vcnId",
"routeTableId"
@@ -46,6 +47,7 @@ public InternetGateway(
String id,
Boolean isEnabled,
LifecycleState lifecycleState,
+ java.util.Map> systemTags,
java.util.Date timeCreated,
String vcnId,
String routeTableId) {
@@ -57,6 +59,7 @@ public InternetGateway(
this.id = id;
this.isEnabled = isEnabled;
this.lifecycleState = lifecycleState;
+ this.systemTags = systemTags;
this.timeCreated = timeCreated;
this.vcnId = vcnId;
this.routeTableId = routeTableId;
@@ -201,6 +204,26 @@ public Builder lifecycleState(LifecycleState lifecycleState) {
this.__explicitlySet__.add("lifecycleState");
return this;
}
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("systemTags")
+ private java.util.Map> systemTags;
+
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ * @param systemTags the value to set
+ * @return this builder
+ **/
+ public Builder systemTags(java.util.Map> systemTags) {
+ this.systemTags = systemTags;
+ this.__explicitlySet__.add("systemTags");
+ return this;
+ }
/**
* The date and time the internet gateway was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
*
@@ -269,6 +292,7 @@ public InternetGateway build() {
this.id,
this.isEnabled,
this.lifecycleState,
+ this.systemTags,
this.timeCreated,
this.vcnId,
this.routeTableId);
@@ -301,6 +325,9 @@ public Builder copy(InternetGateway model) {
if (model.wasPropertyExplicitlySet("lifecycleState")) {
this.lifecycleState(model.getLifecycleState());
}
+ if (model.wasPropertyExplicitlySet("systemTags")) {
+ this.systemTags(model.getSystemTags());
+ }
if (model.wasPropertyExplicitlySet("timeCreated")) {
this.timeCreated(model.getTimeCreated());
}
@@ -497,6 +524,24 @@ public LifecycleState getLifecycleState() {
return lifecycleState;
}
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("systemTags")
+ private final java.util.Map> systemTags;
+
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ * @return the value
+ **/
+ public java.util.Map> getSystemTags() {
+ return systemTags;
+ }
+
/**
* The date and time the internet gateway was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
*
@@ -566,6 +611,7 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", id=").append(String.valueOf(this.id));
sb.append(", isEnabled=").append(String.valueOf(this.isEnabled));
sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState));
+ sb.append(", systemTags=").append(String.valueOf(this.systemTags));
sb.append(", timeCreated=").append(String.valueOf(this.timeCreated));
sb.append(", vcnId=").append(String.valueOf(this.vcnId));
sb.append(", routeTableId=").append(String.valueOf(this.routeTableId));
@@ -590,6 +636,7 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.id, other.id)
&& java.util.Objects.equals(this.isEnabled, other.isEnabled)
&& java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
+ && java.util.Objects.equals(this.systemTags, other.systemTags)
&& java.util.Objects.equals(this.timeCreated, other.timeCreated)
&& java.util.Objects.equals(this.vcnId, other.vcnId)
&& java.util.Objects.equals(this.routeTableId, other.routeTableId)
@@ -611,6 +658,7 @@ public int hashCode() {
result =
(result * PRIME)
+ (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode());
+ result = (result * PRIME) + (this.systemTags == null ? 43 : this.systemTags.hashCode());
result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode());
result = (result * PRIME) + (this.vcnId == null ? 43 : this.vcnId.hashCode());
result = (result * PRIME) + (this.routeTableId == null ? 43 : this.routeTableId.hashCode());
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/Ipv6.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/Ipv6.java
index 873818fb3c..ac228aedd6 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/Ipv6.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/Ipv6.java
@@ -37,6 +37,7 @@ public final class Ipv6 extends com.oracle.bmc.http.internal.ExplicitlySetBmcMod
"cidrPrefixLength",
"lifecycleState",
"subnetId",
+ "systemTags",
"timeCreated",
"vnicId",
"ipState",
@@ -54,6 +55,7 @@ public Ipv6(
Integer cidrPrefixLength,
LifecycleState lifecycleState,
String subnetId,
+ java.util.Map> systemTags,
java.util.Date timeCreated,
String vnicId,
IpState ipState,
@@ -70,6 +72,7 @@ public Ipv6(
this.cidrPrefixLength = cidrPrefixLength;
this.lifecycleState = lifecycleState;
this.subnetId = subnetId;
+ this.systemTags = systemTags;
this.timeCreated = timeCreated;
this.vnicId = vnicId;
this.ipState = ipState;
@@ -257,6 +260,26 @@ public Builder subnetId(String subnetId) {
this.__explicitlySet__.add("subnetId");
return this;
}
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("systemTags")
+ private java.util.Map> systemTags;
+
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ * @param systemTags the value to set
+ * @return this builder
+ **/
+ public Builder systemTags(java.util.Map> systemTags) {
+ this.systemTags = systemTags;
+ this.__explicitlySet__.add("systemTags");
+ return this;
+ }
/**
* The date and time the IPv6 was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
*
@@ -395,6 +418,7 @@ public Ipv6 build() {
this.cidrPrefixLength,
this.lifecycleState,
this.subnetId,
+ this.systemTags,
this.timeCreated,
this.vnicId,
this.ipState,
@@ -436,6 +460,9 @@ public Builder copy(Ipv6 model) {
if (model.wasPropertyExplicitlySet("subnetId")) {
this.subnetId(model.getSubnetId());
}
+ if (model.wasPropertyExplicitlySet("systemTags")) {
+ this.systemTags(model.getSystemTags());
+ }
if (model.wasPropertyExplicitlySet("timeCreated")) {
this.timeCreated(model.getTimeCreated());
}
@@ -677,6 +704,24 @@ public String getSubnetId() {
return subnetId;
}
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("systemTags")
+ private final java.util.Map> systemTags;
+
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ * @return the value
+ **/
+ public java.util.Map> getSystemTags() {
+ return systemTags;
+ }
+
/**
* The date and time the IPv6 was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
*
@@ -911,6 +956,7 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", cidrPrefixLength=").append(String.valueOf(this.cidrPrefixLength));
sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState));
sb.append(", subnetId=").append(String.valueOf(this.subnetId));
+ sb.append(", systemTags=").append(String.valueOf(this.systemTags));
sb.append(", timeCreated=").append(String.valueOf(this.timeCreated));
sb.append(", vnicId=").append(String.valueOf(this.vnicId));
sb.append(", ipState=").append(String.valueOf(this.ipState));
@@ -940,6 +986,7 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.cidrPrefixLength, other.cidrPrefixLength)
&& java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
&& java.util.Objects.equals(this.subnetId, other.subnetId)
+ && java.util.Objects.equals(this.systemTags, other.systemTags)
&& java.util.Objects.equals(this.timeCreated, other.timeCreated)
&& java.util.Objects.equals(this.vnicId, other.vnicId)
&& java.util.Objects.equals(this.ipState, other.ipState)
@@ -968,6 +1015,7 @@ public int hashCode() {
(result * PRIME)
+ (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode());
result = (result * PRIME) + (this.subnetId == null ? 43 : this.subnetId.hashCode());
+ result = (result * PRIME) + (this.systemTags == null ? 43 : this.systemTags.hashCode());
result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode());
result = (result * PRIME) + (this.vnicId == null ? 43 : this.vnicId.hashCode());
result = (result * PRIME) + (this.ipState == null ? 43 : this.ipState.hashCode());
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/NetworkSecurityGroup.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/NetworkSecurityGroup.java
index 0c6f995e61..938c0f966b 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/NetworkSecurityGroup.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/NetworkSecurityGroup.java
@@ -66,6 +66,7 @@ public final class NetworkSecurityGroup extends com.oracle.bmc.http.internal.Exp
"freeformTags",
"id",
"lifecycleState",
+ "systemTags",
"timeCreated",
"vcnId"
})
@@ -76,6 +77,7 @@ public NetworkSecurityGroup(
java.util.Map freeformTags,
String id,
LifecycleState lifecycleState,
+ java.util.Map> systemTags,
java.util.Date timeCreated,
String vcnId) {
super();
@@ -85,6 +87,7 @@ public NetworkSecurityGroup(
this.freeformTags = freeformTags;
this.id = id;
this.lifecycleState = lifecycleState;
+ this.systemTags = systemTags;
this.timeCreated = timeCreated;
this.vcnId = vcnId;
}
@@ -210,6 +213,26 @@ public Builder lifecycleState(LifecycleState lifecycleState) {
this.__explicitlySet__.add("lifecycleState");
return this;
}
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("systemTags")
+ private java.util.Map> systemTags;
+
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ * @param systemTags the value to set
+ * @return this builder
+ **/
+ public Builder systemTags(java.util.Map> systemTags) {
+ this.systemTags = systemTags;
+ this.__explicitlySet__.add("systemTags");
+ return this;
+ }
/**
* The date and time the network security group was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
*
@@ -261,6 +284,7 @@ public NetworkSecurityGroup build() {
this.freeformTags,
this.id,
this.lifecycleState,
+ this.systemTags,
this.timeCreated,
this.vcnId);
for (String explicitlySetProperty : this.__explicitlySet__) {
@@ -289,6 +313,9 @@ public Builder copy(NetworkSecurityGroup model) {
if (model.wasPropertyExplicitlySet("lifecycleState")) {
this.lifecycleState(model.getLifecycleState());
}
+ if (model.wasPropertyExplicitlySet("systemTags")) {
+ this.systemTags(model.getSystemTags());
+ }
if (model.wasPropertyExplicitlySet("timeCreated")) {
this.timeCreated(model.getTimeCreated());
}
@@ -466,6 +493,24 @@ public LifecycleState getLifecycleState() {
return lifecycleState;
}
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("systemTags")
+ private final java.util.Map> systemTags;
+
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ * @return the value
+ **/
+ public java.util.Map> getSystemTags() {
+ return systemTags;
+ }
+
/**
* The date and time the network security group was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
*
@@ -520,6 +565,7 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", freeformTags=").append(String.valueOf(this.freeformTags));
sb.append(", id=").append(String.valueOf(this.id));
sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState));
+ sb.append(", systemTags=").append(String.valueOf(this.systemTags));
sb.append(", timeCreated=").append(String.valueOf(this.timeCreated));
sb.append(", vcnId=").append(String.valueOf(this.vcnId));
sb.append(")");
@@ -542,6 +588,7 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.freeformTags, other.freeformTags)
&& java.util.Objects.equals(this.id, other.id)
&& java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
+ && java.util.Objects.equals(this.systemTags, other.systemTags)
&& java.util.Objects.equals(this.timeCreated, other.timeCreated)
&& java.util.Objects.equals(this.vcnId, other.vcnId)
&& super.equals(other);
@@ -561,6 +608,7 @@ public int hashCode() {
result =
(result * PRIME)
+ (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode());
+ result = (result * PRIME) + (this.systemTags == null ? 43 : this.systemTags.hashCode());
result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode());
result = (result * PRIME) + (this.vcnId == null ? 43 : this.vcnId.hashCode());
result = (result * PRIME) + super.hashCode();
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/QuickRecycleSettings.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/QuickRecycleSettings.java
new file mode 100644
index 0000000000..a5f07d443c
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/QuickRecycleSettings.java
@@ -0,0 +1,134 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.core.model;
+
+/**
+ * Additional quick recycle settings.
+ *
+ * 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 #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = QuickRecycleSettings.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public final class QuickRecycleSettings extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({"nvmeWipe"})
+ public QuickRecycleSettings(Boolean nvmeWipe) {
+ super();
+ this.nvmeWipe = nvmeWipe;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * Whether to wipe NVMe data during quick recycle.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("nvmeWipe")
+ private Boolean nvmeWipe;
+
+ /**
+ * Whether to wipe NVMe data during quick recycle.
+ * @param nvmeWipe the value to set
+ * @return this builder
+ **/
+ public Builder nvmeWipe(Boolean nvmeWipe) {
+ this.nvmeWipe = nvmeWipe;
+ this.__explicitlySet__.add("nvmeWipe");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public QuickRecycleSettings build() {
+ QuickRecycleSettings model = new QuickRecycleSettings(this.nvmeWipe);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(QuickRecycleSettings model) {
+ if (model.wasPropertyExplicitlySet("nvmeWipe")) {
+ this.nvmeWipe(model.getNvmeWipe());
+ }
+ return this;
+ }
+ }
+
+ /**
+ * Create a new builder.
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ /**
+ * Whether to wipe NVMe data during quick recycle.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("nvmeWipe")
+ private final Boolean nvmeWipe;
+
+ /**
+ * Whether to wipe NVMe data during quick recycle.
+ * @return the value
+ **/
+ public Boolean getNvmeWipe() {
+ return nvmeWipe;
+ }
+
+ @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("QuickRecycleSettings(");
+ sb.append("super=").append(super.toString());
+ sb.append("nvmeWipe=").append(String.valueOf(this.nvmeWipe));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof QuickRecycleSettings)) {
+ return false;
+ }
+
+ QuickRecycleSettings other = (QuickRecycleSettings) o;
+ return java.util.Objects.equals(this.nvmeWipe, other.nvmeWipe) && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result = (result * PRIME) + (this.nvmeWipe == null ? 43 : this.nvmeWipe.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/RouteTable.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/RouteTable.java
index 7ae35e5b7e..c666198f08 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/RouteTable.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/RouteTable.java
@@ -34,6 +34,7 @@ public final class RouteTable extends com.oracle.bmc.http.internal.ExplicitlySet
"id",
"lifecycleState",
"routeRules",
+ "systemTags",
"timeCreated",
"vcnId"
})
@@ -45,6 +46,7 @@ public RouteTable(
String id,
LifecycleState lifecycleState,
java.util.List routeRules,
+ java.util.Map> systemTags,
java.util.Date timeCreated,
String vcnId) {
super();
@@ -55,6 +57,7 @@ public RouteTable(
this.id = id;
this.lifecycleState = lifecycleState;
this.routeRules = routeRules;
+ this.systemTags = systemTags;
this.timeCreated = timeCreated;
this.vcnId = vcnId;
}
@@ -196,6 +199,26 @@ public Builder routeRules(java.util.List routeRules) {
this.__explicitlySet__.add("routeRules");
return this;
}
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("systemTags")
+ private java.util.Map> systemTags;
+
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ * @param systemTags the value to set
+ * @return this builder
+ **/
+ public Builder systemTags(java.util.Map> systemTags) {
+ this.systemTags = systemTags;
+ this.__explicitlySet__.add("systemTags");
+ return this;
+ }
/**
* The date and time the route table was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
*
@@ -248,6 +271,7 @@ public RouteTable build() {
this.id,
this.lifecycleState,
this.routeRules,
+ this.systemTags,
this.timeCreated,
this.vcnId);
for (String explicitlySetProperty : this.__explicitlySet__) {
@@ -279,6 +303,9 @@ public Builder copy(RouteTable model) {
if (model.wasPropertyExplicitlySet("routeRules")) {
this.routeRules(model.getRouteRules());
}
+ if (model.wasPropertyExplicitlySet("systemTags")) {
+ this.systemTags(model.getSystemTags());
+ }
if (model.wasPropertyExplicitlySet("timeCreated")) {
this.timeCreated(model.getTimeCreated());
}
@@ -470,6 +497,24 @@ public java.util.List getRouteRules() {
return routeRules;
}
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("systemTags")
+ private final java.util.Map> systemTags;
+
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ * @return the value
+ **/
+ public java.util.Map> getSystemTags() {
+ return systemTags;
+ }
+
/**
* The date and time the route table was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
*
@@ -525,6 +570,7 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", id=").append(String.valueOf(this.id));
sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState));
sb.append(", routeRules=").append(String.valueOf(this.routeRules));
+ sb.append(", systemTags=").append(String.valueOf(this.systemTags));
sb.append(", timeCreated=").append(String.valueOf(this.timeCreated));
sb.append(", vcnId=").append(String.valueOf(this.vcnId));
sb.append(")");
@@ -548,6 +594,7 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.id, other.id)
&& java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
&& java.util.Objects.equals(this.routeRules, other.routeRules)
+ && java.util.Objects.equals(this.systemTags, other.systemTags)
&& java.util.Objects.equals(this.timeCreated, other.timeCreated)
&& java.util.Objects.equals(this.vcnId, other.vcnId)
&& super.equals(other);
@@ -568,6 +615,7 @@ public int hashCode() {
(result * PRIME)
+ (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode());
result = (result * PRIME) + (this.routeRules == null ? 43 : this.routeRules.hashCode());
+ result = (result * PRIME) + (this.systemTags == null ? 43 : this.systemTags.hashCode());
result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode());
result = (result * PRIME) + (this.vcnId == null ? 43 : this.vcnId.hashCode());
result = (result * PRIME) + super.hashCode();
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/SecurityList.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/SecurityList.java
index fa2e9efc81..4025047a5c 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/SecurityList.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/SecurityList.java
@@ -45,6 +45,7 @@ public final class SecurityList extends com.oracle.bmc.http.internal.ExplicitlyS
"id",
"ingressSecurityRules",
"lifecycleState",
+ "systemTags",
"timeCreated",
"vcnId"
})
@@ -57,6 +58,7 @@ public SecurityList(
String id,
java.util.List ingressSecurityRules,
LifecycleState lifecycleState,
+ java.util.Map> systemTags,
java.util.Date timeCreated,
String vcnId) {
super();
@@ -68,6 +70,7 @@ public SecurityList(
this.id = id;
this.ingressSecurityRules = ingressSecurityRules;
this.lifecycleState = lifecycleState;
+ this.systemTags = systemTags;
this.timeCreated = timeCreated;
this.vcnId = vcnId;
}
@@ -224,6 +227,26 @@ public Builder lifecycleState(LifecycleState lifecycleState) {
this.__explicitlySet__.add("lifecycleState");
return this;
}
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("systemTags")
+ private java.util.Map> systemTags;
+
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ * @param systemTags the value to set
+ * @return this builder
+ **/
+ public Builder systemTags(java.util.Map> systemTags) {
+ this.systemTags = systemTags;
+ this.__explicitlySet__.add("systemTags");
+ return this;
+ }
/**
* The date and time the security list was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
*
@@ -277,6 +300,7 @@ public SecurityList build() {
this.id,
this.ingressSecurityRules,
this.lifecycleState,
+ this.systemTags,
this.timeCreated,
this.vcnId);
for (String explicitlySetProperty : this.__explicitlySet__) {
@@ -311,6 +335,9 @@ public Builder copy(SecurityList model) {
if (model.wasPropertyExplicitlySet("lifecycleState")) {
this.lifecycleState(model.getLifecycleState());
}
+ if (model.wasPropertyExplicitlySet("systemTags")) {
+ this.systemTags(model.getSystemTags());
+ }
if (model.wasPropertyExplicitlySet("timeCreated")) {
this.timeCreated(model.getTimeCreated());
}
@@ -514,6 +541,24 @@ public LifecycleState getLifecycleState() {
return lifecycleState;
}
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("systemTags")
+ private final java.util.Map> systemTags;
+
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ * @return the value
+ **/
+ public java.util.Map> getSystemTags() {
+ return systemTags;
+ }
+
/**
* The date and time the security list was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
*
@@ -570,6 +615,7 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", id=").append(String.valueOf(this.id));
sb.append(", ingressSecurityRules=").append(String.valueOf(this.ingressSecurityRules));
sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState));
+ sb.append(", systemTags=").append(String.valueOf(this.systemTags));
sb.append(", timeCreated=").append(String.valueOf(this.timeCreated));
sb.append(", vcnId=").append(String.valueOf(this.vcnId));
sb.append(")");
@@ -594,6 +640,7 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.id, other.id)
&& java.util.Objects.equals(this.ingressSecurityRules, other.ingressSecurityRules)
&& java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
+ && java.util.Objects.equals(this.systemTags, other.systemTags)
&& java.util.Objects.equals(this.timeCreated, other.timeCreated)
&& java.util.Objects.equals(this.vcnId, other.vcnId)
&& super.equals(other);
@@ -623,6 +670,7 @@ public int hashCode() {
result =
(result * PRIME)
+ (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode());
+ result = (result * PRIME) + (this.systemTags == null ? 43 : this.systemTags.hashCode());
result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode());
result = (result * PRIME) + (this.vcnId == null ? 43 : this.vcnId.hashCode());
result = (result * PRIME) + super.hashCode();
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/Subnet.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/Subnet.java
index 48f8c225d5..ca684f32f4 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/Subnet.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/Subnet.java
@@ -48,6 +48,7 @@ public final class Subnet extends com.oracle.bmc.http.internal.ExplicitlySetBmcM
"routeTableId",
"securityListIds",
"subnetDomainName",
+ "systemTags",
"timeCreated",
"vcnId",
"virtualRouterIp",
@@ -73,6 +74,7 @@ public Subnet(
String routeTableId,
java.util.List securityListIds,
String subnetDomainName,
+ java.util.Map> systemTags,
java.util.Date timeCreated,
String vcnId,
String virtualRouterIp,
@@ -97,6 +99,7 @@ public Subnet(
this.routeTableId = routeTableId;
this.securityListIds = securityListIds;
this.subnetDomainName = subnetDomainName;
+ this.systemTags = systemTags;
this.timeCreated = timeCreated;
this.vcnId = vcnId;
this.virtualRouterIp = virtualRouterIp;
@@ -564,6 +567,26 @@ public Builder subnetDomainName(String subnetDomainName) {
this.__explicitlySet__.add("subnetDomainName");
return this;
}
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("systemTags")
+ private java.util.Map> systemTags;
+
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ * @param systemTags the value to set
+ * @return this builder
+ **/
+ public Builder systemTags(java.util.Map> systemTags) {
+ this.systemTags = systemTags;
+ this.__explicitlySet__.add("systemTags");
+ return this;
+ }
/**
* The date and time the subnet was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
*
@@ -672,6 +695,7 @@ public Subnet build() {
this.routeTableId,
this.securityListIds,
this.subnetDomainName,
+ this.systemTags,
this.timeCreated,
this.vcnId,
this.virtualRouterIp,
@@ -741,6 +765,9 @@ public Builder copy(Subnet model) {
if (model.wasPropertyExplicitlySet("subnetDomainName")) {
this.subnetDomainName(model.getSubnetDomainName());
}
+ if (model.wasPropertyExplicitlySet("systemTags")) {
+ this.systemTags(model.getSystemTags());
+ }
if (model.wasPropertyExplicitlySet("timeCreated")) {
this.timeCreated(model.getTimeCreated());
}
@@ -1239,6 +1266,24 @@ public String getSubnetDomainName() {
return subnetDomainName;
}
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("systemTags")
+ private final java.util.Map> systemTags;
+
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ * @return the value
+ **/
+ public java.util.Map> getSystemTags() {
+ return systemTags;
+ }
+
/**
* The date and time the subnet was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
*
@@ -1347,6 +1392,7 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", routeTableId=").append(String.valueOf(this.routeTableId));
sb.append(", securityListIds=").append(String.valueOf(this.securityListIds));
sb.append(", subnetDomainName=").append(String.valueOf(this.subnetDomainName));
+ sb.append(", systemTags=").append(String.valueOf(this.systemTags));
sb.append(", timeCreated=").append(String.valueOf(this.timeCreated));
sb.append(", vcnId=").append(String.valueOf(this.vcnId));
sb.append(", virtualRouterIp=").append(String.valueOf(this.virtualRouterIp));
@@ -1386,6 +1432,7 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.routeTableId, other.routeTableId)
&& java.util.Objects.equals(this.securityListIds, other.securityListIds)
&& java.util.Objects.equals(this.subnetDomainName, other.subnetDomainName)
+ && java.util.Objects.equals(this.systemTags, other.systemTags)
&& java.util.Objects.equals(this.timeCreated, other.timeCreated)
&& java.util.Objects.equals(this.vcnId, other.vcnId)
&& java.util.Objects.equals(this.virtualRouterIp, other.virtualRouterIp)
@@ -1448,6 +1495,7 @@ public int hashCode() {
result =
(result * PRIME)
+ (this.subnetDomainName == null ? 43 : this.subnetDomainName.hashCode());
+ result = (result * PRIME) + (this.systemTags == null ? 43 : this.systemTags.hashCode());
result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode());
result = (result * PRIME) + (this.vcnId == null ? 43 : this.vcnId.hashCode());
result =
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/Vcn.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/Vcn.java
index a9099c96a2..d42a21a674 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/Vcn.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/Vcn.java
@@ -39,6 +39,7 @@ public final class Vcn extends com.oracle.bmc.http.internal.ExplicitlySetBmcMode
"dnsLabel",
"freeformTags",
"securityAttributes",
+ "systemTags",
"id",
"ipv6CidrBlocks",
"lifecycleState",
@@ -60,6 +61,7 @@ public Vcn(
String dnsLabel,
java.util.Map freeformTags,
java.util.Map> securityAttributes,
+ java.util.Map> systemTags,
String id,
java.util.List ipv6CidrBlocks,
LifecycleState lifecycleState,
@@ -80,6 +82,7 @@ public Vcn(
this.dnsLabel = dnsLabel;
this.freeformTags = freeformTags;
this.securityAttributes = securityAttributes;
+ this.systemTags = systemTags;
this.id = id;
this.ipv6CidrBlocks = ipv6CidrBlocks;
this.lifecycleState = lifecycleState;
@@ -370,6 +373,26 @@ public Builder securityAttributes(
this.__explicitlySet__.add("securityAttributes");
return this;
}
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("systemTags")
+ private java.util.Map> systemTags;
+
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ * @param systemTags the value to set
+ * @return this builder
+ **/
+ public Builder systemTags(java.util.Map> systemTags) {
+ this.systemTags = systemTags;
+ this.__explicitlySet__.add("systemTags");
+ return this;
+ }
/**
* The VCN's Oracle ID ([OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
**/
@@ -512,6 +535,7 @@ public Vcn build() {
this.dnsLabel,
this.freeformTags,
this.securityAttributes,
+ this.systemTags,
this.id,
this.ipv6CidrBlocks,
this.lifecycleState,
@@ -565,6 +589,9 @@ public Builder copy(Vcn model) {
if (model.wasPropertyExplicitlySet("securityAttributes")) {
this.securityAttributes(model.getSecurityAttributes());
}
+ if (model.wasPropertyExplicitlySet("systemTags")) {
+ this.systemTags(model.getSystemTags());
+ }
if (model.wasPropertyExplicitlySet("id")) {
this.id(model.getId());
}
@@ -850,6 +877,24 @@ public java.util.Map> getSecurityAttribute
return securityAttributes;
}
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("systemTags")
+ private final java.util.Map> systemTags;
+
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ * @return the value
+ **/
+ public java.util.Map> getSystemTags() {
+ return systemTags;
+ }
+
/**
* The VCN's Oracle ID ([OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
**/
@@ -1038,6 +1083,7 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", dnsLabel=").append(String.valueOf(this.dnsLabel));
sb.append(", freeformTags=").append(String.valueOf(this.freeformTags));
sb.append(", securityAttributes=").append(String.valueOf(this.securityAttributes));
+ sb.append(", systemTags=").append(String.valueOf(this.systemTags));
sb.append(", id=").append(String.valueOf(this.id));
sb.append(", ipv6CidrBlocks=").append(String.valueOf(this.ipv6CidrBlocks));
sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState));
@@ -1071,6 +1117,7 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.dnsLabel, other.dnsLabel)
&& java.util.Objects.equals(this.freeformTags, other.freeformTags)
&& java.util.Objects.equals(this.securityAttributes, other.securityAttributes)
+ && java.util.Objects.equals(this.systemTags, other.systemTags)
&& java.util.Objects.equals(this.id, other.id)
&& java.util.Objects.equals(this.ipv6CidrBlocks, other.ipv6CidrBlocks)
&& java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
@@ -1121,6 +1168,7 @@ public int hashCode() {
+ (this.securityAttributes == null
? 43
: this.securityAttributes.hashCode());
+ result = (result * PRIME) + (this.systemTags == null ? 43 : this.systemTags.hashCode());
result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode());
result =
(result * PRIME)
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/Vlan.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/Vlan.java
index 973eb9f701..93ced55cd1 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/Vlan.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/Vlan.java
@@ -41,6 +41,7 @@ public final class Vlan extends com.oracle.bmc.http.internal.ExplicitlySetBmcMod
"nsgIds",
"vlanTag",
"routeTableId",
+ "systemTags",
"timeCreated",
"vcnId"
})
@@ -56,6 +57,7 @@ public Vlan(
java.util.List nsgIds,
Integer vlanTag,
String routeTableId,
+ java.util.Map> systemTags,
java.util.Date timeCreated,
String vcnId) {
super();
@@ -70,6 +72,7 @@ public Vlan(
this.nsgIds = nsgIds;
this.vlanTag = vlanTag;
this.routeTableId = routeTableId;
+ this.systemTags = systemTags;
this.timeCreated = timeCreated;
this.vcnId = vcnId;
}
@@ -303,6 +306,26 @@ public Builder routeTableId(String routeTableId) {
this.__explicitlySet__.add("routeTableId");
return this;
}
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("systemTags")
+ private java.util.Map> systemTags;
+
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ * @param systemTags the value to set
+ * @return this builder
+ **/
+ public Builder systemTags(java.util.Map> systemTags) {
+ this.systemTags = systemTags;
+ this.__explicitlySet__.add("systemTags");
+ return this;
+ }
/**
* The date and time the VLAN was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
*
@@ -359,6 +382,7 @@ public Vlan build() {
this.nsgIds,
this.vlanTag,
this.routeTableId,
+ this.systemTags,
this.timeCreated,
this.vcnId);
for (String explicitlySetProperty : this.__explicitlySet__) {
@@ -402,6 +426,9 @@ public Builder copy(Vlan model) {
if (model.wasPropertyExplicitlySet("routeTableId")) {
this.routeTableId(model.getRouteTableId());
}
+ if (model.wasPropertyExplicitlySet("systemTags")) {
+ this.systemTags(model.getSystemTags());
+ }
if (model.wasPropertyExplicitlySet("timeCreated")) {
this.timeCreated(model.getTimeCreated());
}
@@ -678,6 +705,24 @@ public String getRouteTableId() {
return routeTableId;
}
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("systemTags")
+ private final java.util.Map> systemTags;
+
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ * @return the value
+ **/
+ public java.util.Map> getSystemTags() {
+ return systemTags;
+ }
+
/**
* The date and time the VLAN was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
*
@@ -737,6 +782,7 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", nsgIds=").append(String.valueOf(this.nsgIds));
sb.append(", vlanTag=").append(String.valueOf(this.vlanTag));
sb.append(", routeTableId=").append(String.valueOf(this.routeTableId));
+ sb.append(", systemTags=").append(String.valueOf(this.systemTags));
sb.append(", timeCreated=").append(String.valueOf(this.timeCreated));
sb.append(", vcnId=").append(String.valueOf(this.vcnId));
sb.append(")");
@@ -764,6 +810,7 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.nsgIds, other.nsgIds)
&& java.util.Objects.equals(this.vlanTag, other.vlanTag)
&& java.util.Objects.equals(this.routeTableId, other.routeTableId)
+ && java.util.Objects.equals(this.systemTags, other.systemTags)
&& java.util.Objects.equals(this.timeCreated, other.timeCreated)
&& java.util.Objects.equals(this.vcnId, other.vcnId)
&& super.equals(other);
@@ -792,6 +839,7 @@ public int hashCode() {
result = (result * PRIME) + (this.nsgIds == null ? 43 : this.nsgIds.hashCode());
result = (result * PRIME) + (this.vlanTag == null ? 43 : this.vlanTag.hashCode());
result = (result * PRIME) + (this.routeTableId == null ? 43 : this.routeTableId.hashCode());
+ result = (result * PRIME) + (this.systemTags == null ? 43 : this.systemTags.hashCode());
result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode());
result = (result * PRIME) + (this.vcnId == null ? 43 : this.vcnId.hashCode());
result = (result * PRIME) + super.hashCode();
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/Vnic.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/Vnic.java
index c5eef13c89..6aef9c9bea 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/Vnic.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/Vnic.java
@@ -58,6 +58,7 @@ public final class Vnic extends com.oracle.bmc.http.internal.ExplicitlySetBmcMod
"publicIp",
"skipSourceDestCheck",
"subnetId",
+ "systemTags",
"timeCreated",
"ipv6Addresses",
"routeTableId"
@@ -80,6 +81,7 @@ public Vnic(
String publicIp,
Boolean skipSourceDestCheck,
String subnetId,
+ java.util.Map> systemTags,
java.util.Date timeCreated,
java.util.List ipv6Addresses,
String routeTableId) {
@@ -101,6 +103,7 @@ public Vnic(
this.publicIp = publicIp;
this.skipSourceDestCheck = skipSourceDestCheck;
this.subnetId = subnetId;
+ this.systemTags = systemTags;
this.timeCreated = timeCreated;
this.ipv6Addresses = ipv6Addresses;
this.routeTableId = routeTableId;
@@ -510,6 +513,26 @@ public Builder subnetId(String subnetId) {
this.__explicitlySet__.add("subnetId");
return this;
}
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("systemTags")
+ private java.util.Map> systemTags;
+
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ * @param systemTags the value to set
+ * @return this builder
+ **/
+ public Builder systemTags(java.util.Map> systemTags) {
+ this.systemTags = systemTags;
+ this.__explicitlySet__.add("systemTags");
+ return this;
+ }
/**
* The date and time the VNIC was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
*
@@ -598,6 +621,7 @@ public Vnic build() {
this.publicIp,
this.skipSourceDestCheck,
this.subnetId,
+ this.systemTags,
this.timeCreated,
this.ipv6Addresses,
this.routeTableId);
@@ -660,6 +684,9 @@ public Builder copy(Vnic model) {
if (model.wasPropertyExplicitlySet("subnetId")) {
this.subnetId(model.getSubnetId());
}
+ if (model.wasPropertyExplicitlySet("systemTags")) {
+ this.systemTags(model.getSystemTags());
+ }
if (model.wasPropertyExplicitlySet("timeCreated")) {
this.timeCreated(model.getTimeCreated());
}
@@ -1100,6 +1127,24 @@ public String getSubnetId() {
return subnetId;
}
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("systemTags")
+ private final java.util.Map> systemTags;
+
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ * @return the value
+ **/
+ public java.util.Map> getSystemTags() {
+ return systemTags;
+ }
+
/**
* The date and time the VNIC was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
*
@@ -1189,6 +1234,7 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", publicIp=").append(String.valueOf(this.publicIp));
sb.append(", skipSourceDestCheck=").append(String.valueOf(this.skipSourceDestCheck));
sb.append(", subnetId=").append(String.valueOf(this.subnetId));
+ sb.append(", systemTags=").append(String.valueOf(this.systemTags));
sb.append(", timeCreated=").append(String.valueOf(this.timeCreated));
sb.append(", ipv6Addresses=").append(String.valueOf(this.ipv6Addresses));
sb.append(", routeTableId=").append(String.valueOf(this.routeTableId));
@@ -1223,6 +1269,7 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.publicIp, other.publicIp)
&& java.util.Objects.equals(this.skipSourceDestCheck, other.skipSourceDestCheck)
&& java.util.Objects.equals(this.subnetId, other.subnetId)
+ && java.util.Objects.equals(this.systemTags, other.systemTags)
&& java.util.Objects.equals(this.timeCreated, other.timeCreated)
&& java.util.Objects.equals(this.ipv6Addresses, other.ipv6Addresses)
&& java.util.Objects.equals(this.routeTableId, other.routeTableId)
@@ -1268,6 +1315,7 @@ public int hashCode() {
? 43
: this.skipSourceDestCheck.hashCode());
result = (result * PRIME) + (this.subnetId == null ? 43 : this.subnetId.hashCode());
+ result = (result * PRIME) + (this.systemTags == null ? 43 : this.systemTags.hashCode());
result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode());
result =
(result * PRIME)
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/Vtap.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/Vtap.java
index 70d2f5ce23..3cc0c4342a 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/Vtap.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/Vtap.java
@@ -32,6 +32,7 @@ public final class Vtap extends com.oracle.bmc.http.internal.ExplicitlySetBmcMod
"id",
"lifecycleState",
"lifecycleStateDetails",
+ "systemTags",
"timeCreated",
"sourceId",
"targetId",
@@ -56,6 +57,7 @@ public Vtap(
String id,
LifecycleState lifecycleState,
LifecycleStateDetails lifecycleStateDetails,
+ java.util.Map> systemTags,
java.util.Date timeCreated,
String sourceId,
String targetId,
@@ -79,6 +81,7 @@ public Vtap(
this.id = id;
this.lifecycleState = lifecycleState;
this.lifecycleStateDetails = lifecycleStateDetails;
+ this.systemTags = systemTags;
this.timeCreated = timeCreated;
this.sourceId = sourceId;
this.targetId = targetId;
@@ -246,6 +249,26 @@ public Builder lifecycleStateDetails(LifecycleStateDetails lifecycleStateDetails
this.__explicitlySet__.add("lifecycleStateDetails");
return this;
}
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("systemTags")
+ private java.util.Map> systemTags;
+
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ * @param systemTags the value to set
+ * @return this builder
+ **/
+ public Builder systemTags(java.util.Map> systemTags) {
+ this.systemTags = systemTags;
+ this.__explicitlySet__.add("systemTags");
+ return this;
+ }
/**
* The date and time the VTAP was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
*
@@ -519,6 +542,7 @@ public Vtap build() {
this.id,
this.lifecycleState,
this.lifecycleStateDetails,
+ this.systemTags,
this.timeCreated,
this.sourceId,
this.targetId,
@@ -565,6 +589,9 @@ public Builder copy(Vtap model) {
if (model.wasPropertyExplicitlySet("lifecycleStateDetails")) {
this.lifecycleStateDetails(model.getLifecycleStateDetails());
}
+ if (model.wasPropertyExplicitlySet("systemTags")) {
+ this.systemTags(model.getSystemTags());
+ }
if (model.wasPropertyExplicitlySet("timeCreated")) {
this.timeCreated(model.getTimeCreated());
}
@@ -853,6 +880,24 @@ public LifecycleStateDetails getLifecycleStateDetails() {
return lifecycleStateDetails;
}
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("systemTags")
+ private final java.util.Map> systemTags;
+
+ /**
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
+ * Example: {@code { "orcl-cloud": { "free-tier-retained": "true" } }}
+ *
+ * @return the value
+ **/
+ public java.util.Map> getSystemTags() {
+ return systemTags;
+ }
+
/**
* The date and time the VTAP was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
*
@@ -1304,6 +1349,7 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", id=").append(String.valueOf(this.id));
sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState));
sb.append(", lifecycleStateDetails=").append(String.valueOf(this.lifecycleStateDetails));
+ sb.append(", systemTags=").append(String.valueOf(this.systemTags));
sb.append(", timeCreated=").append(String.valueOf(this.timeCreated));
sb.append(", sourceId=").append(String.valueOf(this.sourceId));
sb.append(", targetId=").append(String.valueOf(this.targetId));
@@ -1342,6 +1388,7 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.id, other.id)
&& java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
&& java.util.Objects.equals(this.lifecycleStateDetails, other.lifecycleStateDetails)
+ && java.util.Objects.equals(this.systemTags, other.systemTags)
&& java.util.Objects.equals(this.timeCreated, other.timeCreated)
&& java.util.Objects.equals(this.sourceId, other.sourceId)
&& java.util.Objects.equals(this.targetId, other.targetId)
@@ -1382,6 +1429,7 @@ public int hashCode() {
+ (this.lifecycleStateDetails == null
? 43
: this.lifecycleStateDetails.hashCode());
+ result = (result * PRIME) + (this.systemTags == null ? 43 : this.systemTags.hashCode());
result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode());
result = (result * PRIME) + (this.sourceId == null ? 43 : this.sourceId.hashCode());
result = (result * PRIME) + (this.targetId == null ? 43 : this.targetId.hashCode());
diff --git a/bmc-costad/pom.xml b/bmc-costad/pom.xml
index a0d8ef8ed0..bb87258137 100644
--- a/bmc-costad/pom.xml
+++ b/bmc-costad/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.95.0
+ 2.97.0
../pom.xml
oci-java-sdk-costad
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.95.0
+ 2.97.0
\ No newline at end of file
diff --git a/bmc-dashboardservice/pom.xml b/bmc-dashboardservice/pom.xml
index e8fed8bfe7..9c46648f55 100644
--- a/bmc-dashboardservice/pom.xml
+++ b/bmc-dashboardservice/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.95.0
+ 2.97.0
../pom.xml
oci-java-sdk-dashboardservice
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.95.0
+ 2.97.0
\ No newline at end of file
diff --git a/bmc-database/pom.xml b/bmc-database/pom.xml
index 7e777895a7..6954983a7e 100644
--- a/bmc-database/pom.xml
+++ b/bmc-database/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.95.0
+ 2.97.0
../pom.xml
@@ -19,12 +19,12 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.95.0
+ 2.97.0
com.oracle.oci.sdk
oci-java-sdk-workrequests
- 2.95.0
+ 2.97.0
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/Database.java b/bmc-database/src/main/java/com/oracle/bmc/database/Database.java
index 37fea73727..fc629c1f57 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/Database.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/Database.java
@@ -2618,6 +2618,20 @@ GetAdvancedClusterFileSystemResponse getAdvancedClusterFileSystem(
GetAutonomousContainerDatabaseResponse getAutonomousContainerDatabase(
GetAutonomousContainerDatabaseRequest request);
+ /**
+ * Gets information about the specified Autonomous Container Database backup.
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs.
+ * This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it.
+ * The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
+ * Example: Click here to see how to use GetAutonomousContainerDatabaseBackup API.
+ */
+ GetAutonomousContainerDatabaseBackupResponse getAutonomousContainerDatabaseBackup(
+ GetAutonomousContainerDatabaseBackupRequest request);
+
/**
* **Deprecated.** Use the {@link #getAutonomousContainerDatabase(GetAutonomousContainerDatabaseRequest) getAutonomousContainerDatabase} operation to get the details of an Autonomous Container Database (ACD) enabled with Autonomous Data Guard associated with the specified ACD.
*
@@ -3922,6 +3936,21 @@ ListAutonomousDatabaseSoftwareImagesResponse listAutonomousDatabaseSoftwareImage
*/
ListAutonomousDatabasesResponse listAutonomousDatabases(ListAutonomousDatabasesRequest request);
+ /**
+ * Gets a list of Autonomous Databases associated with backups at the given timestamp for the specified Autonomous Container Database. If `compartmentId` is provided, filters to that compartment; otherwise, uses the container's compartment.
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs.
+ * This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it.
+ * The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
+ * Example: Click here to see how to use ListAutonomousDatabasesInAutonomousContainerDatabaseBackup API.
+ */
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse
+ listAutonomousDatabasesInAutonomousContainerDatabaseBackup(
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest request);
+
/**
* Gets a list of supported Autonomous AI Database versions. Note that preview version software is only available for
* Autonomous AI Database Serverless (https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) databases.
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsync.java b/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsync.java
index c0c9fab0a2..2613669b21 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsync.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsync.java
@@ -3365,6 +3365,25 @@ java.util.concurrent.Future getApplicationVip(
GetAutonomousContainerDatabaseResponse>
handler);
+ /**
+ * Gets information about the specified Autonomous Container Database backup.
+ *
+ *
+ * @param request The request object containing the details to send
+ * @param handler The request handler to invoke upon completion, may be null.
+ * @return A Future that can be used to get the response if no AsyncHandler was
+ * provided. Note, if you provide an AsyncHandler and use the Future, some
+ * types of responses (like java.io.InputStream) may not be able to be read in
+ * both places as the underlying stream may only be consumed once.
+ */
+ java.util.concurrent.Future
+ getAutonomousContainerDatabaseBackup(
+ GetAutonomousContainerDatabaseBackupRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ GetAutonomousContainerDatabaseBackupRequest,
+ GetAutonomousContainerDatabaseBackupResponse>
+ handler);
+
/**
* **Deprecated.** Use the {@link #getAutonomousContainerDatabase(GetAutonomousContainerDatabaseRequest, Consumer, Consumer) getAutonomousContainerDatabase} operation to get the details of an Autonomous Container Database (ACD) enabled with Autonomous Data Guard associated with the specified ACD.
*
@@ -5047,6 +5066,25 @@ java.util.concurrent.Future listAutonomousDatab
ListAutonomousDatabasesRequest, ListAutonomousDatabasesResponse>
handler);
+ /**
+ * Gets a list of Autonomous Databases associated with backups at the given timestamp for the specified Autonomous Container Database. If `compartmentId` is provided, filters to that compartment; otherwise, uses the container's compartment.
+ *
+ *
+ * @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
+ listAutonomousDatabasesInAutonomousContainerDatabaseBackup(
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest,
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse>
+ handler);
+
/**
* Gets a list of supported Autonomous AI Database versions. Note that preview version software is only available for
* Autonomous AI Database Serverless (https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) databases.
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsyncClient.java b/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsyncClient.java
index 2ef6cd4f49..d01708f451 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsyncClient.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsyncClient.java
@@ -10295,6 +10295,60 @@ protected void beforeRetryAction() {}
}
}
+ @Override
+ public java.util.concurrent.Future
+ getAutonomousContainerDatabaseBackup(
+ GetAutonomousContainerDatabaseBackupRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ GetAutonomousContainerDatabaseBackupRequest,
+ GetAutonomousContainerDatabaseBackupResponse>
+ handler) {
+ LOG.trace("Called async getAutonomousContainerDatabaseBackup");
+ final GetAutonomousContainerDatabaseBackupRequest interceptedRequest =
+ GetAutonomousContainerDatabaseBackupConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ GetAutonomousContainerDatabaseBackupConverter.fromRequest(
+ client, interceptedRequest);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Database",
+ "GetAutonomousContainerDatabaseBackup",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/database/20160918/AutonomousContainerDatabaseBackup/GetAutonomousContainerDatabaseBackup");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response, GetAutonomousContainerDatabaseBackupResponse>
+ transformer =
+ GetAutonomousContainerDatabaseBackupConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ com.oracle.bmc.responses.AsyncHandler<
+ GetAutonomousContainerDatabaseBackupRequest,
+ GetAutonomousContainerDatabaseBackupResponse>
+ handlerToUse = handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ GetAutonomousContainerDatabaseBackupRequest,
+ GetAutonomousContainerDatabaseBackupResponse>,
+ java.util.concurrent.Future>
+ futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer);
+
+ if (this.authenticationDetailsProvider
+ instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) {
+ return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper<
+ GetAutonomousContainerDatabaseBackupRequest,
+ GetAutonomousContainerDatabaseBackupResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
@Override
public java.util.concurrent.Future
getAutonomousContainerDatabaseDataguardAssociation(
@@ -15024,6 +15078,64 @@ protected void beforeRetryAction() {}
}
}
+ @Override
+ public java.util.concurrent.Future<
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse>
+ listAutonomousDatabasesInAutonomousContainerDatabaseBackup(
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest,
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse>
+ handler) {
+ LOG.trace("Called async listAutonomousDatabasesInAutonomousContainerDatabaseBackup");
+ final ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest interceptedRequest =
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupConverter
+ .interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupConverter.fromRequest(
+ client, interceptedRequest);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Database",
+ "ListAutonomousDatabasesInAutonomousContainerDatabaseBackup",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/database/20160918/AutonomousDatabaseInBackup/ListAutonomousDatabasesInAutonomousContainerDatabaseBackup");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse>
+ transformer =
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupConverter
+ .fromResponse(java.util.Optional.of(serviceDetails));
+ com.oracle.bmc.responses.AsyncHandler<
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest,
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse>
+ handlerToUse = handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest,
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse>,
+ java.util.concurrent.Future<
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse>>
+ futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer);
+
+ if (this.authenticationDetailsProvider
+ instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) {
+ return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper<
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest,
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
@Override
public java.util.concurrent.Future
listAutonomousDbPreviewVersions(
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseClient.java b/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseClient.java
index 8319a7ff76..db710c1ad2 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseClient.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseClient.java
@@ -8204,6 +8204,46 @@ public GetAutonomousContainerDatabaseResponse getAutonomousContainerDatabase(
});
}
+ @Override
+ public GetAutonomousContainerDatabaseBackupResponse getAutonomousContainerDatabaseBackup(
+ GetAutonomousContainerDatabaseBackupRequest request) {
+ LOG.trace("Called getAutonomousContainerDatabaseBackup");
+ final GetAutonomousContainerDatabaseBackupRequest interceptedRequest =
+ GetAutonomousContainerDatabaseBackupConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ GetAutonomousContainerDatabaseBackupConverter.fromRequest(
+ client, interceptedRequest);
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration, false);
+ com.oracle.bmc.http.internal.RetryUtils.setClientRetriesHeader(ib, retrier);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Database",
+ "GetAutonomousContainerDatabaseBackup",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/database/20160918/AutonomousContainerDatabaseBackup/GetAutonomousContainerDatabaseBackup");
+ java.util.function.Function<
+ javax.ws.rs.core.Response, GetAutonomousContainerDatabaseBackupResponse>
+ transformer =
+ GetAutonomousContainerDatabaseBackupConverter.fromResponse(
+ java.util.Optional.of(serviceDetails));
+ return retrier.execute(
+ interceptedRequest,
+ retryRequest -> {
+ final com.oracle.bmc.retrier.TokenRefreshRetrier tokenRefreshRetrier =
+ new com.oracle.bmc.retrier.TokenRefreshRetrier(
+ authenticationDetailsProvider);
+ return tokenRefreshRetrier.execute(
+ retryRequest,
+ retriedRequest -> {
+ javax.ws.rs.core.Response response = client.get(ib, retriedRequest);
+ return transformer.apply(response);
+ });
+ });
+ }
+
@Override
public GetAutonomousContainerDatabaseDataguardAssociationResponse
getAutonomousContainerDatabaseDataguardAssociation(
@@ -11843,6 +11883,49 @@ public ListAutonomousDatabasesResponse listAutonomousDatabases(
});
}
+ @Override
+ public ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse
+ listAutonomousDatabasesInAutonomousContainerDatabaseBackup(
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest request) {
+ LOG.trace("Called listAutonomousDatabasesInAutonomousContainerDatabaseBackup");
+ final ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest interceptedRequest =
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupConverter
+ .interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupConverter.fromRequest(
+ client, interceptedRequest);
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration, false);
+ com.oracle.bmc.http.internal.RetryUtils.setClientRetriesHeader(ib, retrier);
+ com.oracle.bmc.ServiceDetails serviceDetails =
+ new com.oracle.bmc.ServiceDetails(
+ "Database",
+ "ListAutonomousDatabasesInAutonomousContainerDatabaseBackup",
+ ib.getRequestUri().toString(),
+ "https://docs.oracle.com/iaas/api/#/en/database/20160918/AutonomousDatabaseInBackup/ListAutonomousDatabasesInAutonomousContainerDatabaseBackup");
+ java.util.function.Function<
+ javax.ws.rs.core.Response,
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse>
+ transformer =
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupConverter
+ .fromResponse(java.util.Optional.of(serviceDetails));
+ return retrier.execute(
+ interceptedRequest,
+ retryRequest -> {
+ final com.oracle.bmc.retrier.TokenRefreshRetrier tokenRefreshRetrier =
+ new com.oracle.bmc.retrier.TokenRefreshRetrier(
+ authenticationDetailsProvider);
+ return tokenRefreshRetrier.execute(
+ retryRequest,
+ retriedRequest -> {
+ javax.ws.rs.core.Response response = client.get(ib, retriedRequest);
+ return transformer.apply(response);
+ });
+ });
+ }
+
@Override
public ListAutonomousDbPreviewVersionsResponse listAutonomousDbPreviewVersions(
ListAutonomousDbPreviewVersionsRequest request) {
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/DatabasePaginators.java b/bmc-database/src/main/java/com/oracle/bmc/database/DatabasePaginators.java
index b1984a622e..6fbc4fda2c 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/DatabasePaginators.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/DatabasePaginators.java
@@ -1672,6 +1672,161 @@ public ListAutonomousDatabasesResponse apply(
});
}
+ /**
+ * Creates a new iterable which will iterate over the responses received from the listAutonomousDatabasesInAutonomousContainerDatabaseBackup operation. This iterable
+ * will fetch more data from the server as needed.
+ *
+ * @param request a request which can be sent to the service operation
+ * @return an {@link java.lang.Iterable} which can be used to iterate over the responses received from the service.
+ */
+ public Iterable
+ listAutonomousDatabasesInAutonomousContainerDatabaseBackupResponseIterator(
+ final ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest
+ request) {
+ return new com.oracle.bmc.paginator.internal.ResponseIterable<
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest.Builder,
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest,
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse>(
+ new java.util.function.Supplier<
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest
+ .Builder>() {
+ @Override
+ public ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest.Builder
+ get() {
+ return ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest
+ .builder()
+ .copy(request);
+ }
+ },
+ new java.util.function.Function<
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse,
+ String>() {
+ @Override
+ public String apply(
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse
+ response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest
+ .Builder>,
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest>() {
+ @Override
+ public ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest
+ .Builder>
+ input) {
+ if (input.getNextPageToken() == null) {
+ return input.getRequestBuilder().build();
+ } else {
+ return input.getRequestBuilder()
+ .page(input.getNextPageToken().orElse(null))
+ .build();
+ }
+ }
+ },
+ new java.util.function.Function<
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest,
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse>() {
+ @Override
+ public ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse apply(
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest
+ request) {
+ return client.listAutonomousDatabasesInAutonomousContainerDatabaseBackup(
+ request);
+ }
+ });
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the {@link com.oracle.bmc.database.model.AutonomousDatabaseInBackupSummary} objects
+ * contained in responses from the listAutonomousDatabasesInAutonomousContainerDatabaseBackup operation. This iterable will fetch more data from the
+ * server as needed.
+ *
+ * @param request a request which can be sent to the service operation
+ * @return an {@link java.lang.Iterable} which can be used to iterate over the {@link com.oracle.bmc.database.model.AutonomousDatabaseInBackupSummary} objects
+ * contained in responses received from the service.
+ */
+ public Iterable
+ listAutonomousDatabasesInAutonomousContainerDatabaseBackupRecordIterator(
+ final ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest
+ request) {
+ return new com.oracle.bmc.paginator.internal.ResponseRecordIterable<
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest.Builder,
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest,
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse,
+ com.oracle.bmc.database.model.AutonomousDatabaseInBackupSummary>(
+ new java.util.function.Supplier<
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest
+ .Builder>() {
+ @Override
+ public ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest.Builder
+ get() {
+ return ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest
+ .builder()
+ .copy(request);
+ }
+ },
+ new java.util.function.Function<
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse,
+ String>() {
+ @Override
+ public String apply(
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse
+ response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest
+ .Builder>,
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest>() {
+ @Override
+ public ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest
+ .Builder>
+ input) {
+ if (input.getNextPageToken() == null) {
+ return input.getRequestBuilder().build();
+ } else {
+ return input.getRequestBuilder()
+ .page(input.getNextPageToken().orElse(null))
+ .build();
+ }
+ }
+ },
+ new java.util.function.Function<
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest,
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse>() {
+ @Override
+ public ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse apply(
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest
+ request) {
+ return client.listAutonomousDatabasesInAutonomousContainerDatabaseBackup(
+ request);
+ }
+ },
+ new java.util.function.Function<
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse,
+ java.util.List<
+ com.oracle.bmc.database.model
+ .AutonomousDatabaseInBackupSummary>>() {
+ @Override
+ public java.util.List<
+ com.oracle.bmc.database.model.AutonomousDatabaseInBackupSummary>
+ apply(
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse
+ response) {
+ return response.getAutonomousDatabaseInBackupCollection().getItems();
+ }
+ });
+ }
+
/**
* Creates a new iterable which will iterate over the responses received from the listAutonomousDbPreviewVersions operation. This iterable
* will fetch more data from the server as needed.
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseWaiters.java b/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseWaiters.java
index 26430612ef..81a7ccc7c0 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseWaiters.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseWaiters.java
@@ -10657,6 +10657,131 @@ public boolean test(GetAutonomousContainerDatabaseResponse response) {
request);
}
+ /**
+ * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration.
+ *
+ * @param request the request to send
+ * @param targetStates the desired states to wait for. If multiple states are provided then the waiter will return once the resource reaches any of the provided states
+ * @return a new {@code Waiter} instance
+ */
+ public com.oracle.bmc.waiter.Waiter<
+ GetAutonomousContainerDatabaseBackupRequest,
+ GetAutonomousContainerDatabaseBackupResponse>
+ forAutonomousContainerDatabaseBackup(
+ GetAutonomousContainerDatabaseBackupRequest request,
+ com.oracle.bmc.database.model.AutonomousContainerDatabaseBackup
+ .LifecycleState...
+ targetStates) {
+ com.oracle.bmc.util.internal.Validate.notEmpty(
+ targetStates, "At least one targetState must be provided");
+ com.oracle.bmc.util.internal.Validate.noNullElements(
+ targetStates, "Null targetState values are not permitted");
+
+ return forAutonomousContainerDatabaseBackup(
+ com.oracle.bmc.waiter.Waiters.DEFAULT_POLLING_WAITER, request, targetStates);
+ }
+
+ /**
+ * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the provided configuration.
+ *
+ * @param request the request to send
+ * @param targetState the desired state to wait for
+ * @param terminationStrategy the {@link com.oracle.bmc.waiter.TerminationStrategy} to use
+ * @param delayStrategy the {@link com.oracle.bmc.waiter.DelayStrategy} to use
+ * @return a new {@code com.oracle.bmc.waiter.Waiter} instance
+ */
+ public com.oracle.bmc.waiter.Waiter<
+ GetAutonomousContainerDatabaseBackupRequest,
+ GetAutonomousContainerDatabaseBackupResponse>
+ forAutonomousContainerDatabaseBackup(
+ GetAutonomousContainerDatabaseBackupRequest request,
+ com.oracle.bmc.database.model.AutonomousContainerDatabaseBackup.LifecycleState
+ targetState,
+ com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
+ com.oracle.bmc.waiter.DelayStrategy delayStrategy) {
+ com.oracle.bmc.util.internal.Validate.notNull(
+ targetState, "The targetState cannot be null");
+
+ return forAutonomousContainerDatabaseBackup(
+ com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
+ request,
+ targetState);
+ }
+
+ /**
+ * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the provided configuration.
+ *
+ * @param request the request to send
+ * @param terminationStrategy the {@link com.oracle.bmc.waiter.TerminationStrategy} to use
+ * @param delayStrategy the {@link com.oracle.bmc.waiter.DelayStrategy} to use
+ * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
+ * @return a new {@code com.oracle.bmc.waiter.Waiter} instance
+ */
+ public com.oracle.bmc.waiter.Waiter<
+ GetAutonomousContainerDatabaseBackupRequest,
+ GetAutonomousContainerDatabaseBackupResponse>
+ forAutonomousContainerDatabaseBackup(
+ GetAutonomousContainerDatabaseBackupRequest request,
+ com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
+ com.oracle.bmc.waiter.DelayStrategy delayStrategy,
+ com.oracle.bmc.database.model.AutonomousContainerDatabaseBackup
+ .LifecycleState...
+ targetStates) {
+ com.oracle.bmc.util.internal.Validate.notEmpty(
+ targetStates, "At least one target state must be provided");
+ com.oracle.bmc.util.internal.Validate.noNullElements(
+ targetStates, "Null target states are not permitted");
+
+ return forAutonomousContainerDatabaseBackup(
+ com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
+ request,
+ targetStates);
+ }
+
+ // Helper method to create a new Waiter for AutonomousContainerDatabaseBackup.
+ private com.oracle.bmc.waiter.Waiter<
+ GetAutonomousContainerDatabaseBackupRequest,
+ GetAutonomousContainerDatabaseBackupResponse>
+ forAutonomousContainerDatabaseBackup(
+ com.oracle.bmc.waiter.BmcGenericWaiter waiter,
+ final GetAutonomousContainerDatabaseBackupRequest request,
+ final com.oracle.bmc.database.model.AutonomousContainerDatabaseBackup
+ .LifecycleState...
+ targetStates) {
+ final java.util.Set<
+ com.oracle.bmc.database.model.AutonomousContainerDatabaseBackup
+ .LifecycleState>
+ targetStatesSet = new java.util.HashSet<>(java.util.Arrays.asList(targetStates));
+
+ return new com.oracle.bmc.waiter.internal.SimpleWaiterImpl<>(
+ executorService,
+ waiter.toCallable(
+ () -> request,
+ new java.util.function.Function<
+ GetAutonomousContainerDatabaseBackupRequest,
+ GetAutonomousContainerDatabaseBackupResponse>() {
+ @Override
+ public GetAutonomousContainerDatabaseBackupResponse apply(
+ GetAutonomousContainerDatabaseBackupRequest request) {
+ return client.getAutonomousContainerDatabaseBackup(request);
+ }
+ },
+ new java.util.function.Predicate<
+ GetAutonomousContainerDatabaseBackupResponse>() {
+ @Override
+ public boolean test(
+ GetAutonomousContainerDatabaseBackupResponse response) {
+ return targetStatesSet.contains(
+ response.getAutonomousContainerDatabaseBackup()
+ .getLifecycleState());
+ }
+ },
+ targetStatesSet.contains(
+ com.oracle.bmc.database.model.AutonomousContainerDatabaseBackup
+ .LifecycleState.Deleted)),
+ request);
+ }
+
/**
* Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration.
*
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/internal/http/GetAutonomousContainerDatabaseBackupConverter.java b/bmc-database/src/main/java/com/oracle/bmc/database/internal/http/GetAutonomousContainerDatabaseBackupConverter.java
new file mode 100644
index 0000000000..94ccbfa753
--- /dev/null
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/internal/http/GetAutonomousContainerDatabaseBackupConverter.java
@@ -0,0 +1,147 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.database.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.database.model.*;
+import com.oracle.bmc.database.requests.*;
+import com.oracle.bmc.database.responses.*;
+import com.oracle.bmc.util.internal.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+public class GetAutonomousContainerDatabaseBackupConverter {
+ private static final com.oracle.bmc.http.internal.ResponseConversionFunctionFactoryV2
+ RESPONSE_CONVERSION_FACTORY =
+ new com.oracle.bmc.http.internal.ResponseConversionFunctionFactoryV2();
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(GetAutonomousContainerDatabaseBackupConverter.class);
+
+ public static com.oracle.bmc.database.requests.GetAutonomousContainerDatabaseBackupRequest
+ interceptRequest(
+ com.oracle.bmc.database.requests.GetAutonomousContainerDatabaseBackupRequest
+ request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.database.requests.GetAutonomousContainerDatabaseBackupRequest request) {
+ Validate.notNull(request, "request instance is required");
+ Validate.notBlank(
+ request.getAutonomousContainerDatabaseBackupId(),
+ "autonomousContainerDatabaseBackupId must not be blank");
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget()
+ .path("/20160918")
+ .path("autonomousContainerDatabaseBackups")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getAutonomousContainerDatabaseBackupId()));
+
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
+
+ ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
+
+ if (request.getOpcRequestId() != null) {
+ ib.header("opc-request-id", request.getOpcRequestId());
+ }
+
+ if (client.getClientConfigurator() != null) {
+ client.getClientConfigurator().customizeRequest(request, ib);
+ }
+ return ib;
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.database.responses.GetAutonomousContainerDatabaseBackupResponse>
+ fromResponse() {
+ return fromResponse(java.util.Optional.empty());
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.database.responses.GetAutonomousContainerDatabaseBackupResponse>
+ fromResponse(java.util.Optional serviceDetails) {
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.database.responses
+ .GetAutonomousContainerDatabaseBackupResponse>
+ transformer =
+ new java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.database.responses
+ .GetAutonomousContainerDatabaseBackupResponse>() {
+ @Override
+ public com.oracle.bmc.database.responses
+ .GetAutonomousContainerDatabaseBackupResponse
+ apply(javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.database.responses.GetAutonomousContainerDatabaseBackupResponse");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.database.model
+ .AutonomousContainerDatabaseBackup>>
+ responseFn;
+ if (serviceDetails.isPresent()) {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.database.model
+ .AutonomousContainerDatabaseBackup
+ .class,
+ serviceDetails.get());
+ } else {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.database.model
+ .AutonomousContainerDatabaseBackup
+ .class);
+ }
+
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.database.model
+ .AutonomousContainerDatabaseBackup>
+ response = responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ com.oracle.bmc.database.responses
+ .GetAutonomousContainerDatabaseBackupResponse
+ .Builder
+ builder =
+ com.oracle.bmc.database.responses
+ .GetAutonomousContainerDatabaseBackupResponse
+ .builder()
+ .__httpStatusCode__(rawResponse.getStatus())
+ .headers(headers);
+
+ builder.autonomousContainerDatabaseBackup(response.getItem());
+
+ java.util.Optional> opcRequestIdHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.getHeadersWithName(
+ headers, "opc-request-id");
+ if (opcRequestIdHeader.isPresent()) {
+ builder.opcRequestId(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-request-id",
+ opcRequestIdHeader.get().get(0),
+ String.class));
+ }
+
+ com.oracle.bmc.database.responses
+ .GetAutonomousContainerDatabaseBackupResponse
+ responseWrapper = builder.build();
+
+ ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse);
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/internal/http/ListAutonomousDatabaseBackupsConverter.java b/bmc-database/src/main/java/com/oracle/bmc/database/internal/http/ListAutonomousDatabaseBackupsConverter.java
index edcd153ef9..f818eec3d9 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/internal/http/ListAutonomousDatabaseBackupsConverter.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/internal/http/ListAutonomousDatabaseBackupsConverter.java
@@ -130,6 +130,14 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
request.getInfrastructureType().getValue()));
}
+ if (request.getIsPitrEligible() != null) {
+ target =
+ target.queryParam(
+ "isPitrEligible",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getIsPitrEligible()));
+ }
+
com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/internal/http/ListAutonomousDatabasesInAutonomousContainerDatabaseBackupConverter.java b/bmc-database/src/main/java/com/oracle/bmc/database/internal/http/ListAutonomousDatabasesInAutonomousContainerDatabaseBackupConverter.java
new file mode 100644
index 0000000000..68fc1b9284
--- /dev/null
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/internal/http/ListAutonomousDatabasesInAutonomousContainerDatabaseBackupConverter.java
@@ -0,0 +1,200 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.database.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.database.model.*;
+import com.oracle.bmc.database.requests.*;
+import com.oracle.bmc.database.responses.*;
+import com.oracle.bmc.util.internal.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+public class ListAutonomousDatabasesInAutonomousContainerDatabaseBackupConverter {
+ private static final com.oracle.bmc.http.internal.ResponseConversionFunctionFactoryV2
+ RESPONSE_CONVERSION_FACTORY =
+ new com.oracle.bmc.http.internal.ResponseConversionFunctionFactoryV2();
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupConverter.class);
+
+ public static com.oracle.bmc.database.requests
+ .ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest
+ interceptRequest(
+ com.oracle.bmc.database.requests
+ .ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest
+ request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.database.requests
+ .ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest
+ request) {
+ Validate.notNull(request, "request instance is required");
+ Validate.notNull(
+ request.getAutonomousContainerDatabaseId(),
+ "autonomousContainerDatabaseId is required");
+ Validate.notNull(request.getTimeStampRequested(), "timeStampRequested is required");
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget()
+ .path("/20160918")
+ .path("autonomousContainerDatabaseBackups")
+ .path("listAutonomousDatabasesInBackup");
+
+ target =
+ target.queryParam(
+ "autonomousContainerDatabaseId",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getAutonomousContainerDatabaseId()));
+
+ target =
+ target.queryParam(
+ "timeStampRequested",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getTimeStampRequested()));
+
+ if (request.getCompartmentId() != null) {
+ target =
+ target.queryParam(
+ "compartmentId",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getCompartmentId()));
+ }
+
+ if (request.getLimit() != null) {
+ target =
+ target.queryParam(
+ "limit",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getLimit()));
+ }
+
+ if (request.getPage() != null) {
+ target =
+ target.queryParam(
+ "page",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getPage()));
+ }
+
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
+
+ ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
+
+ if (request.getOpcRequestId() != null) {
+ ib.header("opc-request-id", request.getOpcRequestId());
+ }
+
+ if (client.getClientConfigurator() != null) {
+ client.getClientConfigurator().customizeRequest(request, ib);
+ }
+ return ib;
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.database.responses
+ .ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse>
+ fromResponse() {
+ return fromResponse(java.util.Optional.empty());
+ }
+
+ public static java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.database.responses
+ .ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse>
+ fromResponse(java.util.Optional serviceDetails) {
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.database.responses
+ .ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse>
+ transformer =
+ new java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.database.responses
+ .ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse>() {
+ @Override
+ public com.oracle.bmc.database.responses
+ .ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse
+ apply(javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.database.responses.ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse");
+ final java.util.function.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.database.model
+ .AutonomousDatabaseInBackupCollection>>
+ responseFn;
+ if (serviceDetails.isPresent()) {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.database.model
+ .AutonomousDatabaseInBackupCollection
+ .class,
+ serviceDetails.get());
+ } else {
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ com.oracle.bmc.database.model
+ .AutonomousDatabaseInBackupCollection
+ .class);
+ }
+
+ com.oracle.bmc.http.internal.WithHeaders<
+ com.oracle.bmc.database.model
+ .AutonomousDatabaseInBackupCollection>
+ response = responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ com.oracle.bmc.database.responses
+ .ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse
+ .Builder
+ builder =
+ com.oracle.bmc.database.responses
+ .ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse
+ .builder()
+ .__httpStatusCode__(rawResponse.getStatus())
+ .headers(headers);
+
+ builder.autonomousDatabaseInBackupCollection(response.getItem());
+
+ java.util.Optional> opcRequestIdHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.getHeadersWithName(
+ headers, "opc-request-id");
+ if (opcRequestIdHeader.isPresent()) {
+ builder.opcRequestId(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-request-id",
+ opcRequestIdHeader.get().get(0),
+ String.class));
+ }
+
+ java.util.Optional> opcNextPageHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.getHeadersWithName(
+ headers, "opc-next-page");
+ if (opcNextPageHeader.isPresent()) {
+ builder.opcNextPage(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-next-page",
+ opcNextPageHeader.get().get(0),
+ String.class));
+ }
+
+ com.oracle.bmc.database.responses
+ .ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse
+ responseWrapper = builder.build();
+
+ ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse);
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/internal/http/ListDatabasesConverter.java b/bmc-database/src/main/java/com/oracle/bmc/database/internal/http/ListDatabasesConverter.java
index f8db2d7fde..517ed8e305 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/internal/http/ListDatabasesConverter.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/internal/http/ListDatabasesConverter.java
@@ -104,6 +104,22 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
request.getDbName()));
}
+ if (request.getManagedAutoFailover() != null) {
+ target =
+ target.queryParam(
+ "managedAutoFailover",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getManagedAutoFailover().getValue()));
+ }
+
+ if (request.getFailoverTargets() != null) {
+ target =
+ target.queryParam(
+ "failoverTargets",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getFailoverTargets().getValue()));
+ }
+
com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutoFailoverConfiguration.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutoFailoverConfiguration.java
new file mode 100644
index 0000000000..2ce96c18e7
--- /dev/null
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutoFailoverConfiguration.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.database.model;
+
+/**
+ * The properties for defining auto failover configuration.
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = AutoFailoverConfiguration.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public final class AutoFailoverConfiguration
+ extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({"managedAutoFailover", "failoverTargets"})
+ public AutoFailoverConfiguration(
+ ManagedAutoFailover managedAutoFailover, java.util.List failoverTargets) {
+ super();
+ this.managedAutoFailover = managedAutoFailover;
+ this.failoverTargets = failoverTargets;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * The state of managed auto failover.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("managedAutoFailover")
+ private ManagedAutoFailover managedAutoFailover;
+
+ /**
+ * The state of managed auto failover.
+ * @param managedAutoFailover the value to set
+ * @return this builder
+ **/
+ public Builder managedAutoFailover(ManagedAutoFailover managedAutoFailover) {
+ this.managedAutoFailover = managedAutoFailover;
+ this.__explicitlySet__.add("managedAutoFailover");
+ return this;
+ }
+ /**
+ * Specifies the {@code DB_UNIQUE_NAME} of the data guard group member databases.
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("failoverTargets")
+ private java.util.List failoverTargets;
+
+ /**
+ * Specifies the {@code DB_UNIQUE_NAME} of the data guard group member databases.
+ *
+ * @param failoverTargets the value to set
+ * @return this builder
+ **/
+ public Builder failoverTargets(java.util.List failoverTargets) {
+ this.failoverTargets = failoverTargets;
+ this.__explicitlySet__.add("failoverTargets");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public AutoFailoverConfiguration build() {
+ AutoFailoverConfiguration model =
+ new AutoFailoverConfiguration(this.managedAutoFailover, this.failoverTargets);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(AutoFailoverConfiguration model) {
+ if (model.wasPropertyExplicitlySet("managedAutoFailover")) {
+ this.managedAutoFailover(model.getManagedAutoFailover());
+ }
+ if (model.wasPropertyExplicitlySet("failoverTargets")) {
+ this.failoverTargets(model.getFailoverTargets());
+ }
+ return this;
+ }
+ }
+
+ /**
+ * Create a new builder.
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ /**
+ * The state of managed auto failover.
+ **/
+ public enum ManagedAutoFailover {
+ Enable("ENABLE"),
+ Disable("DISABLE"),
+ ;
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (ManagedAutoFailover v : ManagedAutoFailover.values()) {
+ map.put(v.getValue(), v);
+ }
+ }
+
+ ManagedAutoFailover(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static ManagedAutoFailover create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ throw new IllegalArgumentException("Invalid ManagedAutoFailover: " + key);
+ }
+ };
+ /**
+ * The state of managed auto failover.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("managedAutoFailover")
+ private final ManagedAutoFailover managedAutoFailover;
+
+ /**
+ * The state of managed auto failover.
+ * @return the value
+ **/
+ public ManagedAutoFailover getManagedAutoFailover() {
+ return managedAutoFailover;
+ }
+
+ /**
+ * Specifies the {@code DB_UNIQUE_NAME} of the data guard group member databases.
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("failoverTargets")
+ private final java.util.List failoverTargets;
+
+ /**
+ * Specifies the {@code DB_UNIQUE_NAME} of the data guard group member databases.
+ *
+ * @return the value
+ **/
+ public java.util.List getFailoverTargets() {
+ return failoverTargets;
+ }
+
+ @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("AutoFailoverConfiguration(");
+ sb.append("super=").append(super.toString());
+ sb.append("managedAutoFailover=").append(String.valueOf(this.managedAutoFailover));
+ sb.append(", failoverTargets=").append(String.valueOf(this.failoverTargets));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof AutoFailoverConfiguration)) {
+ return false;
+ }
+
+ AutoFailoverConfiguration other = (AutoFailoverConfiguration) o;
+ return java.util.Objects.equals(this.managedAutoFailover, other.managedAutoFailover)
+ && java.util.Objects.equals(this.failoverTargets, other.failoverTargets)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result =
+ (result * PRIME)
+ + (this.managedAutoFailover == null
+ ? 43
+ : this.managedAutoFailover.hashCode());
+ result =
+ (result * PRIME)
+ + (this.failoverTargets == null ? 43 : this.failoverTargets.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousContainerDatabaseBackup.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousContainerDatabaseBackup.java
index 734ca19a21..4899d3bfa6 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousContainerDatabaseBackup.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousContainerDatabaseBackup.java
@@ -41,7 +41,9 @@ public final class AutonomousContainerDatabaseBackup
"freeformTags",
"definedTags",
"systemTags",
- "autonomousDatabases"
+ "autonomousDatabases",
+ "dbVersion",
+ "backupDestinationDetails"
})
public AutonomousContainerDatabaseBackup(
String id,
@@ -61,7 +63,9 @@ public AutonomousContainerDatabaseBackup(
java.util.Map freeformTags,
java.util.Map> definedTags,
java.util.Map> systemTags,
- java.util.List autonomousDatabases) {
+ java.util.List autonomousDatabases,
+ String dbVersion,
+ BackupDestinationDetails backupDestinationDetails) {
super();
this.id = id;
this.compartmentId = compartmentId;
@@ -81,6 +85,8 @@ public AutonomousContainerDatabaseBackup(
this.definedTags = definedTags;
this.systemTags = systemTags;
this.autonomousDatabases = autonomousDatabases;
+ this.dbVersion = dbVersion;
+ this.backupDestinationDetails = backupDestinationDetails;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -391,6 +397,43 @@ public Builder autonomousDatabases(
this.__explicitlySet__.add("autonomousDatabases");
return this;
}
+ /**
+ * A valid Oracle AI Database version for Autonomous AI Database.
+ * When you specify 23ai for dbversion, the system will provision a 23ai database, but the UI will display it as 26ai.
+ * When you specify 26ai for dbversion, the system will provision and display a 26ai database as expected.
+ * For new databases, it is recommended to use either 19c or 26ai.
+ *
+ **Note** Starting December 2026, 23ai will not be supported as a valid value for this parameter.
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("dbVersion")
+ private String dbVersion;
+
+ /**
+ * A valid Oracle AI Database version for Autonomous AI Database.
+ * When you specify 23ai for dbversion, the system will provision a 23ai database, but the UI will display it as 26ai.
+ * When you specify 26ai for dbversion, the system will provision and display a 26ai database as expected.
+ * For new databases, it is recommended to use either 19c or 26ai.
+ *
+ **Note** Starting December 2026, 23ai will not be supported as a valid value for this parameter.
+ *
+ * @param dbVersion the value to set
+ * @return this builder
+ **/
+ public Builder dbVersion(String dbVersion) {
+ this.dbVersion = dbVersion;
+ this.__explicitlySet__.add("dbVersion");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("backupDestinationDetails")
+ private BackupDestinationDetails backupDestinationDetails;
+
+ public Builder backupDestinationDetails(BackupDestinationDetails backupDestinationDetails) {
+ this.backupDestinationDetails = backupDestinationDetails;
+ this.__explicitlySet__.add("backupDestinationDetails");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -415,7 +458,9 @@ public AutonomousContainerDatabaseBackup build() {
this.freeformTags,
this.definedTags,
this.systemTags,
- this.autonomousDatabases);
+ this.autonomousDatabases,
+ this.dbVersion,
+ this.backupDestinationDetails);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -478,6 +523,12 @@ public Builder copy(AutonomousContainerDatabaseBackup model) {
if (model.wasPropertyExplicitlySet("autonomousDatabases")) {
this.autonomousDatabases(model.getAutonomousDatabases());
}
+ if (model.wasPropertyExplicitlySet("dbVersion")) {
+ this.dbVersion(model.getDbVersion());
+ }
+ if (model.wasPropertyExplicitlySet("backupDestinationDetails")) {
+ this.backupDestinationDetails(model.getBackupDestinationDetails());
+ }
return this;
}
}
@@ -570,7 +621,14 @@ public enum Type {
Incremental("INCREMENTAL"),
Full("FULL"),
VirtualFull("VIRTUAL_FULL"),
- ;
+
+ /**
+ * 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(Type.class);
private final String value;
private static java.util.Map map;
@@ -578,7 +636,9 @@ public enum Type {
static {
map = new java.util.HashMap<>();
for (Type v : Type.values()) {
- map.put(v.getValue(), v);
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
}
}
@@ -596,7 +656,9 @@ public static Type create(String key) {
if (map.containsKey(key)) {
return map.get(key);
}
- throw new IllegalArgumentException("Invalid Type: " + key);
+ LOG.warn(
+ "Received unknown value '{}' for enum 'Type', returning UnknownEnumValue", key);
+ return UnknownEnumValue;
}
};
/**
@@ -678,7 +740,15 @@ public enum LifecycleState {
Deleting("DELETING"),
Deleted("DELETED"),
Failed("FAILED"),
- ;
+
+ /**
+ * This value is used if a service returns a value for this enum that is not recognized by this
+ * version of the SDK.
+ */
+ UnknownEnumValue(null);
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(LifecycleState.class);
private final String value;
private static java.util.Map map;
@@ -686,7 +756,9 @@ public enum LifecycleState {
static {
map = new java.util.HashMap<>();
for (LifecycleState v : LifecycleState.values()) {
- map.put(v.getValue(), v);
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
}
}
@@ -704,7 +776,10 @@ public static LifecycleState create(String key) {
if (map.containsKey(key)) {
return map.get(key);
}
- throw new IllegalArgumentException("Invalid LifecycleState: " + key);
+ LOG.warn(
+ "Received unknown value '{}' for enum 'LifecycleState', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
}
};
/**
@@ -755,7 +830,15 @@ public Boolean getIsRemoteBackup() {
public enum InfrastructureType {
Cloud("CLOUD"),
CloudAtCustomer("CLOUD_AT_CUSTOMER"),
- ;
+
+ /**
+ * 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(InfrastructureType.class);
private final String value;
private static java.util.Map map;
@@ -763,7 +846,9 @@ public enum InfrastructureType {
static {
map = new java.util.HashMap<>();
for (InfrastructureType v : InfrastructureType.values()) {
- map.put(v.getValue(), v);
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
}
}
@@ -781,7 +866,10 @@ public static InfrastructureType create(String key) {
if (map.containsKey(key)) {
return map.get(key);
}
- throw new IllegalArgumentException("Invalid InfrastructureType: " + key);
+ LOG.warn(
+ "Received unknown value '{}' for enum 'InfrastructureType', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
}
};
/**
@@ -870,6 +958,39 @@ public java.util.List getAutonomousDatabases() {
return autonomousDatabases;
}
+ /**
+ * A valid Oracle AI Database version for Autonomous AI Database.
+ * When you specify 23ai for dbversion, the system will provision a 23ai database, but the UI will display it as 26ai.
+ * When you specify 26ai for dbversion, the system will provision and display a 26ai database as expected.
+ * For new databases, it is recommended to use either 19c or 26ai.
+ *
+ **Note** Starting December 2026, 23ai will not be supported as a valid value for this parameter.
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("dbVersion")
+ private final String dbVersion;
+
+ /**
+ * A valid Oracle AI Database version for Autonomous AI Database.
+ * When you specify 23ai for dbversion, the system will provision a 23ai database, but the UI will display it as 26ai.
+ * When you specify 26ai for dbversion, the system will provision and display a 26ai database as expected.
+ * For new databases, it is recommended to use either 19c or 26ai.
+ *
+ **Note** Starting December 2026, 23ai will not be supported as a valid value for this parameter.
+ *
+ * @return the value
+ **/
+ public String getDbVersion() {
+ return dbVersion;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("backupDestinationDetails")
+ private final BackupDestinationDetails backupDestinationDetails;
+
+ public BackupDestinationDetails getBackupDestinationDetails() {
+ return backupDestinationDetails;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -903,6 +1024,9 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", definedTags=").append(String.valueOf(this.definedTags));
sb.append(", systemTags=").append(String.valueOf(this.systemTags));
sb.append(", autonomousDatabases=").append(String.valueOf(this.autonomousDatabases));
+ sb.append(", dbVersion=").append(String.valueOf(this.dbVersion));
+ sb.append(", backupDestinationDetails=")
+ .append(String.valueOf(this.backupDestinationDetails));
sb.append(")");
return sb.toString();
}
@@ -936,6 +1060,9 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.definedTags, other.definedTags)
&& java.util.Objects.equals(this.systemTags, other.systemTags)
&& java.util.Objects.equals(this.autonomousDatabases, other.autonomousDatabases)
+ && java.util.Objects.equals(this.dbVersion, other.dbVersion)
+ && java.util.Objects.equals(
+ this.backupDestinationDetails, other.backupDestinationDetails)
&& super.equals(other);
}
@@ -987,6 +1114,12 @@ public int hashCode() {
+ (this.autonomousDatabases == null
? 43
: this.autonomousDatabases.hashCode());
+ result = (result * PRIME) + (this.dbVersion == null ? 43 : this.dbVersion.hashCode());
+ result =
+ (result * PRIME)
+ + (this.backupDestinationDetails == null
+ ? 43
+ : this.backupDestinationDetails.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousContainerDatabaseBackupSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousContainerDatabaseBackupSummary.java
index bb88b4e74b..11a742550e 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousContainerDatabaseBackupSummary.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousContainerDatabaseBackupSummary.java
@@ -44,7 +44,9 @@ public final class AutonomousContainerDatabaseBackupSummary
"freeformTags",
"definedTags",
"systemTags",
- "autonomousDatabases"
+ "autonomousDatabases",
+ "dbVersion",
+ "backupDestinationDetails"
})
public AutonomousContainerDatabaseBackupSummary(
String id,
@@ -64,7 +66,9 @@ public AutonomousContainerDatabaseBackupSummary(
java.util.Map freeformTags,
java.util.Map> definedTags,
java.util.Map> systemTags,
- java.util.List autonomousDatabases) {
+ java.util.List autonomousDatabases,
+ String dbVersion,
+ BackupDestinationDetails backupDestinationDetails) {
super();
this.id = id;
this.compartmentId = compartmentId;
@@ -84,6 +88,8 @@ public AutonomousContainerDatabaseBackupSummary(
this.definedTags = definedTags;
this.systemTags = systemTags;
this.autonomousDatabases = autonomousDatabases;
+ this.dbVersion = dbVersion;
+ this.backupDestinationDetails = backupDestinationDetails;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -394,6 +400,43 @@ public Builder autonomousDatabases(
this.__explicitlySet__.add("autonomousDatabases");
return this;
}
+ /**
+ * A valid Oracle AI Database version for Autonomous AI Database.
+ * When you specify 23ai for dbversion, the system will provision a 23ai database, but the UI will display it as 26ai.
+ * When you specify 26ai for dbversion, the system will provision and display a 26ai database as expected.
+ * For new databases, it is recommended to use either 19c or 26ai.
+ *
+ **Note** Starting December 2026, 23ai will not be supported as a valid value for this parameter.
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("dbVersion")
+ private String dbVersion;
+
+ /**
+ * A valid Oracle AI Database version for Autonomous AI Database.
+ * When you specify 23ai for dbversion, the system will provision a 23ai database, but the UI will display it as 26ai.
+ * When you specify 26ai for dbversion, the system will provision and display a 26ai database as expected.
+ * For new databases, it is recommended to use either 19c or 26ai.
+ *
+ **Note** Starting December 2026, 23ai will not be supported as a valid value for this parameter.
+ *
+ * @param dbVersion the value to set
+ * @return this builder
+ **/
+ public Builder dbVersion(String dbVersion) {
+ this.dbVersion = dbVersion;
+ this.__explicitlySet__.add("dbVersion");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("backupDestinationDetails")
+ private BackupDestinationDetails backupDestinationDetails;
+
+ public Builder backupDestinationDetails(BackupDestinationDetails backupDestinationDetails) {
+ this.backupDestinationDetails = backupDestinationDetails;
+ this.__explicitlySet__.add("backupDestinationDetails");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -418,7 +461,9 @@ public AutonomousContainerDatabaseBackupSummary build() {
this.freeformTags,
this.definedTags,
this.systemTags,
- this.autonomousDatabases);
+ this.autonomousDatabases,
+ this.dbVersion,
+ this.backupDestinationDetails);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -481,6 +526,12 @@ public Builder copy(AutonomousContainerDatabaseBackupSummary model) {
if (model.wasPropertyExplicitlySet("autonomousDatabases")) {
this.autonomousDatabases(model.getAutonomousDatabases());
}
+ if (model.wasPropertyExplicitlySet("dbVersion")) {
+ this.dbVersion(model.getDbVersion());
+ }
+ if (model.wasPropertyExplicitlySet("backupDestinationDetails")) {
+ this.backupDestinationDetails(model.getBackupDestinationDetails());
+ }
return this;
}
}
@@ -910,6 +961,39 @@ public java.util.List getAutonomousDatabases() {
return autonomousDatabases;
}
+ /**
+ * A valid Oracle AI Database version for Autonomous AI Database.
+ * When you specify 23ai for dbversion, the system will provision a 23ai database, but the UI will display it as 26ai.
+ * When you specify 26ai for dbversion, the system will provision and display a 26ai database as expected.
+ * For new databases, it is recommended to use either 19c or 26ai.
+ *
+ **Note** Starting December 2026, 23ai will not be supported as a valid value for this parameter.
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("dbVersion")
+ private final String dbVersion;
+
+ /**
+ * A valid Oracle AI Database version for Autonomous AI Database.
+ * When you specify 23ai for dbversion, the system will provision a 23ai database, but the UI will display it as 26ai.
+ * When you specify 26ai for dbversion, the system will provision and display a 26ai database as expected.
+ * For new databases, it is recommended to use either 19c or 26ai.
+ *
+ **Note** Starting December 2026, 23ai will not be supported as a valid value for this parameter.
+ *
+ * @return the value
+ **/
+ public String getDbVersion() {
+ return dbVersion;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("backupDestinationDetails")
+ private final BackupDestinationDetails backupDestinationDetails;
+
+ public BackupDestinationDetails getBackupDestinationDetails() {
+ return backupDestinationDetails;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -943,6 +1027,9 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", definedTags=").append(String.valueOf(this.definedTags));
sb.append(", systemTags=").append(String.valueOf(this.systemTags));
sb.append(", autonomousDatabases=").append(String.valueOf(this.autonomousDatabases));
+ sb.append(", dbVersion=").append(String.valueOf(this.dbVersion));
+ sb.append(", backupDestinationDetails=")
+ .append(String.valueOf(this.backupDestinationDetails));
sb.append(")");
return sb.toString();
}
@@ -977,6 +1064,9 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.definedTags, other.definedTags)
&& java.util.Objects.equals(this.systemTags, other.systemTags)
&& java.util.Objects.equals(this.autonomousDatabases, other.autonomousDatabases)
+ && java.util.Objects.equals(this.dbVersion, other.dbVersion)
+ && java.util.Objects.equals(
+ this.backupDestinationDetails, other.backupDestinationDetails)
&& super.equals(other);
}
@@ -1028,6 +1118,12 @@ public int hashCode() {
+ (this.autonomousDatabases == null
? 43
: this.autonomousDatabases.hashCode());
+ result = (result * PRIME) + (this.dbVersion == null ? 43 : this.dbVersion.hashCode());
+ result =
+ (result * PRIME)
+ + (this.backupDestinationDetails == null
+ ? 43
+ : this.backupDestinationDetails.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabase.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabase.java
index 2f6d3d053d..674dbe7d6d 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabase.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabase.java
@@ -159,6 +159,10 @@ public final class AutonomousDatabase extends com.oracle.bmc.http.internal.Expli
"netServicesArchitecture",
"availabilityDomain",
"clusterPlacementGroupId",
+ "adScheduledForUpdate",
+ "timeEarliestAvailableAdUpdate",
+ "timeLatestAvailableAdUpdate",
+ "timeScheduledAdUpdate",
"cloneTableSpaceList",
"cloneType",
"additionalAttributes",
@@ -301,6 +305,10 @@ public AutonomousDatabase(
NetServicesArchitecture netServicesArchitecture,
String availabilityDomain,
String clusterPlacementGroupId,
+ String adScheduledForUpdate,
+ java.util.Date timeEarliestAvailableAdUpdate,
+ java.util.Date timeLatestAvailableAdUpdate,
+ java.util.Date timeScheduledAdUpdate,
java.util.List cloneTableSpaceList,
CloneType cloneType,
java.util.Map additionalAttributes,
@@ -442,6 +450,10 @@ public AutonomousDatabase(
this.netServicesArchitecture = netServicesArchitecture;
this.availabilityDomain = availabilityDomain;
this.clusterPlacementGroupId = clusterPlacementGroupId;
+ this.adScheduledForUpdate = adScheduledForUpdate;
+ this.timeEarliestAvailableAdUpdate = timeEarliestAvailableAdUpdate;
+ this.timeLatestAvailableAdUpdate = timeLatestAvailableAdUpdate;
+ this.timeScheduledAdUpdate = timeScheduledAdUpdate;
this.cloneTableSpaceList = cloneTableSpaceList;
this.cloneType = cloneType;
this.additionalAttributes = additionalAttributes;
@@ -2926,6 +2938,70 @@ public Builder clusterPlacementGroupId(String clusterPlacementGroupId) {
this.__explicitlySet__.add("clusterPlacementGroupId");
return this;
}
+ /**
+ * The Availability Domain which is planned for Scheduled Update
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("adScheduledForUpdate")
+ private String adScheduledForUpdate;
+
+ /**
+ * The Availability Domain which is planned for Scheduled Update
+ * @param adScheduledForUpdate the value to set
+ * @return this builder
+ **/
+ public Builder adScheduledForUpdate(String adScheduledForUpdate) {
+ this.adScheduledForUpdate = adScheduledForUpdate;
+ this.__explicitlySet__.add("adScheduledForUpdate");
+ return this;
+ }
+ /**
+ * The earliest date and time to which you can schedule an Autonomous Database availability domain update.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeEarliestAvailableAdUpdate")
+ private java.util.Date timeEarliestAvailableAdUpdate;
+
+ /**
+ * The earliest date and time to which you can schedule an Autonomous Database availability domain update.
+ * @param timeEarliestAvailableAdUpdate the value to set
+ * @return this builder
+ **/
+ public Builder timeEarliestAvailableAdUpdate(java.util.Date timeEarliestAvailableAdUpdate) {
+ this.timeEarliestAvailableAdUpdate = timeEarliestAvailableAdUpdate;
+ this.__explicitlySet__.add("timeEarliestAvailableAdUpdate");
+ return this;
+ }
+ /**
+ * The latest date and time to which you can schedule an Autonomous Database availability domain update.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeLatestAvailableAdUpdate")
+ private java.util.Date timeLatestAvailableAdUpdate;
+
+ /**
+ * The latest date and time to which you can schedule an Autonomous Database availability domain update.
+ * @param timeLatestAvailableAdUpdate the value to set
+ * @return this builder
+ **/
+ public Builder timeLatestAvailableAdUpdate(java.util.Date timeLatestAvailableAdUpdate) {
+ this.timeLatestAvailableAdUpdate = timeLatestAvailableAdUpdate;
+ this.__explicitlySet__.add("timeLatestAvailableAdUpdate");
+ return this;
+ }
+ /**
+ * The date and time to which the Autonomous Database availability domain update is scheduled.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeScheduledAdUpdate")
+ private java.util.Date timeScheduledAdUpdate;
+
+ /**
+ * The date and time to which the Autonomous Database availability domain update is scheduled.
+ * @param timeScheduledAdUpdate the value to set
+ * @return this builder
+ **/
+ public Builder timeScheduledAdUpdate(java.util.Date timeScheduledAdUpdate) {
+ this.timeScheduledAdUpdate = timeScheduledAdUpdate;
+ this.__explicitlySet__.add("timeScheduledAdUpdate");
+ return this;
+ }
/**
* A list of the source Autonomous AI Database's table space number(s) used to create this partial clone from the backup.
**/
@@ -3137,6 +3213,10 @@ public AutonomousDatabase build() {
this.netServicesArchitecture,
this.availabilityDomain,
this.clusterPlacementGroupId,
+ this.adScheduledForUpdate,
+ this.timeEarliestAvailableAdUpdate,
+ this.timeLatestAvailableAdUpdate,
+ this.timeScheduledAdUpdate,
this.cloneTableSpaceList,
this.cloneType,
this.additionalAttributes,
@@ -3565,6 +3645,18 @@ public Builder copy(AutonomousDatabase model) {
if (model.wasPropertyExplicitlySet("clusterPlacementGroupId")) {
this.clusterPlacementGroupId(model.getClusterPlacementGroupId());
}
+ if (model.wasPropertyExplicitlySet("adScheduledForUpdate")) {
+ this.adScheduledForUpdate(model.getAdScheduledForUpdate());
+ }
+ if (model.wasPropertyExplicitlySet("timeEarliestAvailableAdUpdate")) {
+ this.timeEarliestAvailableAdUpdate(model.getTimeEarliestAvailableAdUpdate());
+ }
+ if (model.wasPropertyExplicitlySet("timeLatestAvailableAdUpdate")) {
+ this.timeLatestAvailableAdUpdate(model.getTimeLatestAvailableAdUpdate());
+ }
+ if (model.wasPropertyExplicitlySet("timeScheduledAdUpdate")) {
+ this.timeScheduledAdUpdate(model.getTimeScheduledAdUpdate());
+ }
if (model.wasPropertyExplicitlySet("cloneTableSpaceList")) {
this.cloneTableSpaceList(model.getCloneTableSpaceList());
}
@@ -6709,6 +6801,62 @@ public String getClusterPlacementGroupId() {
return clusterPlacementGroupId;
}
+ /**
+ * The Availability Domain which is planned for Scheduled Update
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("adScheduledForUpdate")
+ private final String adScheduledForUpdate;
+
+ /**
+ * The Availability Domain which is planned for Scheduled Update
+ * @return the value
+ **/
+ public String getAdScheduledForUpdate() {
+ return adScheduledForUpdate;
+ }
+
+ /**
+ * The earliest date and time to which you can schedule an Autonomous Database availability domain update.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeEarliestAvailableAdUpdate")
+ private final java.util.Date timeEarliestAvailableAdUpdate;
+
+ /**
+ * The earliest date and time to which you can schedule an Autonomous Database availability domain update.
+ * @return the value
+ **/
+ public java.util.Date getTimeEarliestAvailableAdUpdate() {
+ return timeEarliestAvailableAdUpdate;
+ }
+
+ /**
+ * The latest date and time to which you can schedule an Autonomous Database availability domain update.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeLatestAvailableAdUpdate")
+ private final java.util.Date timeLatestAvailableAdUpdate;
+
+ /**
+ * The latest date and time to which you can schedule an Autonomous Database availability domain update.
+ * @return the value
+ **/
+ public java.util.Date getTimeLatestAvailableAdUpdate() {
+ return timeLatestAvailableAdUpdate;
+ }
+
+ /**
+ * The date and time to which the Autonomous Database availability domain update is scheduled.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeScheduledAdUpdate")
+ private final java.util.Date timeScheduledAdUpdate;
+
+ /**
+ * The date and time to which the Autonomous Database availability domain update is scheduled.
+ * @return the value
+ **/
+ public java.util.Date getTimeScheduledAdUpdate() {
+ return timeScheduledAdUpdate;
+ }
+
/**
* A list of the source Autonomous AI Database's table space number(s) used to create this partial clone from the backup.
**/
@@ -7014,6 +7162,12 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", availabilityDomain=").append(String.valueOf(this.availabilityDomain));
sb.append(", clusterPlacementGroupId=")
.append(String.valueOf(this.clusterPlacementGroupId));
+ sb.append(", adScheduledForUpdate=").append(String.valueOf(this.adScheduledForUpdate));
+ sb.append(", timeEarliestAvailableAdUpdate=")
+ .append(String.valueOf(this.timeEarliestAvailableAdUpdate));
+ sb.append(", timeLatestAvailableAdUpdate=")
+ .append(String.valueOf(this.timeLatestAvailableAdUpdate));
+ sb.append(", timeScheduledAdUpdate=").append(String.valueOf(this.timeScheduledAdUpdate));
sb.append(", cloneTableSpaceList=").append(String.valueOf(this.cloneTableSpaceList));
sb.append(", cloneType=").append(String.valueOf(this.cloneType));
sb.append(", additionalAttributes=").append(String.valueOf(this.additionalAttributes));
@@ -7228,6 +7382,12 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.availabilityDomain, other.availabilityDomain)
&& java.util.Objects.equals(
this.clusterPlacementGroupId, other.clusterPlacementGroupId)
+ && java.util.Objects.equals(this.adScheduledForUpdate, other.adScheduledForUpdate)
+ && java.util.Objects.equals(
+ this.timeEarliestAvailableAdUpdate, other.timeEarliestAvailableAdUpdate)
+ && java.util.Objects.equals(
+ this.timeLatestAvailableAdUpdate, other.timeLatestAvailableAdUpdate)
+ && java.util.Objects.equals(this.timeScheduledAdUpdate, other.timeScheduledAdUpdate)
&& java.util.Objects.equals(this.cloneTableSpaceList, other.cloneTableSpaceList)
&& java.util.Objects.equals(this.cloneType, other.cloneType)
&& java.util.Objects.equals(this.additionalAttributes, other.additionalAttributes)
@@ -7734,6 +7894,26 @@ public int hashCode() {
+ (this.clusterPlacementGroupId == null
? 43
: this.clusterPlacementGroupId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.adScheduledForUpdate == null
+ ? 43
+ : this.adScheduledForUpdate.hashCode());
+ result =
+ (result * PRIME)
+ + (this.timeEarliestAvailableAdUpdate == null
+ ? 43
+ : this.timeEarliestAvailableAdUpdate.hashCode());
+ result =
+ (result * PRIME)
+ + (this.timeLatestAvailableAdUpdate == null
+ ? 43
+ : this.timeLatestAvailableAdUpdate.hashCode());
+ result =
+ (result * PRIME)
+ + (this.timeScheduledAdUpdate == null
+ ? 43
+ : this.timeScheduledAdUpdate.hashCode());
result =
(result * PRIME)
+ (this.cloneTableSpaceList == null
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseInBackup.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseInBackup.java
index 8947fa5fa8..1a29edb8d7 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseInBackup.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseInBackup.java
@@ -23,11 +23,13 @@
public final class AutonomousDatabaseInBackup
extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"compartmentId", "displayName"})
- public AutonomousDatabaseInBackup(String compartmentId, String displayName) {
+ @java.beans.ConstructorProperties({"compartmentId", "displayName", "lifecycleState"})
+ public AutonomousDatabaseInBackup(
+ String compartmentId, String displayName, LifecycleState lifecycleState) {
super();
this.compartmentId = compartmentId;
this.displayName = displayName;
+ this.lifecycleState = lifecycleState;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -64,13 +66,30 @@ public Builder displayName(String displayName) {
this.__explicitlySet__.add("displayName");
return this;
}
+ /**
+ * The current state of the Autonomous AI Database.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState")
+ private LifecycleState lifecycleState;
+
+ /**
+ * The current state of the Autonomous AI Database.
+ * @param lifecycleState the value to set
+ * @return this builder
+ **/
+ public Builder lifecycleState(LifecycleState lifecycleState) {
+ this.lifecycleState = lifecycleState;
+ this.__explicitlySet__.add("lifecycleState");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
public AutonomousDatabaseInBackup build() {
AutonomousDatabaseInBackup model =
- new AutonomousDatabaseInBackup(this.compartmentId, this.displayName);
+ new AutonomousDatabaseInBackup(
+ this.compartmentId, this.displayName, this.lifecycleState);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -85,6 +104,9 @@ public Builder copy(AutonomousDatabaseInBackup model) {
if (model.wasPropertyExplicitlySet("displayName")) {
this.displayName(model.getDisplayName());
}
+ if (model.wasPropertyExplicitlySet("lifecycleState")) {
+ this.lifecycleState(model.getLifecycleState());
+ }
return this;
}
}
@@ -128,6 +150,88 @@ public String getDisplayName() {
return displayName;
}
+ /**
+ * The current state of the Autonomous AI Database.
+ **/
+ public enum LifecycleState {
+ Provisioning("PROVISIONING"),
+ Available("AVAILABLE"),
+ Stopping("STOPPING"),
+ Stopped("STOPPED"),
+ Starting("STARTING"),
+ Terminating("TERMINATING"),
+ Terminated("TERMINATED"),
+ Unavailable("UNAVAILABLE"),
+ RestoreInProgress("RESTORE_IN_PROGRESS"),
+ RestoreFailed("RESTORE_FAILED"),
+ BackupInProgress("BACKUP_IN_PROGRESS"),
+ ScaleInProgress("SCALE_IN_PROGRESS"),
+ AvailableNeedsAttention("AVAILABLE_NEEDS_ATTENTION"),
+ Updating("UPDATING"),
+ MaintenanceInProgress("MAINTENANCE_IN_PROGRESS"),
+ Restarting("RESTARTING"),
+ Recreating("RECREATING"),
+ RoleChangeInProgress("ROLE_CHANGE_IN_PROGRESS"),
+ Upgrading("UPGRADING"),
+ Inaccessible("INACCESSIBLE"),
+ Standby("STANDBY"),
+ Transporting("TRANSPORTING"),
+
+ /**
+ * This value is used if a service returns a value for this enum that is not recognized by this
+ * version of the SDK.
+ */
+ UnknownEnumValue(null);
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(LifecycleState.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (LifecycleState v : LifecycleState.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ LifecycleState(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static LifecycleState create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'LifecycleState', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
+ }
+ };
+ /**
+ * The current state of the Autonomous AI Database.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState")
+ private final LifecycleState lifecycleState;
+
+ /**
+ * The current state of the Autonomous AI Database.
+ * @return the value
+ **/
+ public LifecycleState getLifecycleState() {
+ return lifecycleState;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -144,6 +248,7 @@ public String toString(boolean includeByteArrayContents) {
sb.append("super=").append(super.toString());
sb.append("compartmentId=").append(String.valueOf(this.compartmentId));
sb.append(", displayName=").append(String.valueOf(this.displayName));
+ sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState));
sb.append(")");
return sb.toString();
}
@@ -160,6 +265,7 @@ public boolean equals(Object o) {
AutonomousDatabaseInBackup other = (AutonomousDatabaseInBackup) o;
return java.util.Objects.equals(this.compartmentId, other.compartmentId)
&& java.util.Objects.equals(this.displayName, other.displayName)
+ && java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
&& super.equals(other);
}
@@ -171,6 +277,9 @@ public int hashCode() {
(result * PRIME)
+ (this.compartmentId == null ? 43 : this.compartmentId.hashCode());
result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode());
+ result =
+ (result * PRIME)
+ + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseInBackupCollection.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseInBackupCollection.java
new file mode 100644
index 0000000000..98b7e23c49
--- /dev/null
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseInBackupCollection.java
@@ -0,0 +1,137 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.database.model;
+
+/**
+ * The collection of Autonomous Database details that are part of Autonomous Container Database Backup associated.
+ *
+ * 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 #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = AutonomousDatabaseInBackupCollection.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public final class AutonomousDatabaseInBackupCollection
+ extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({"items"})
+ public AutonomousDatabaseInBackupCollection(
+ java.util.List items) {
+ super();
+ this.items = items;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * The list of Autonomous Databases that are part of the Autonomous Container Database Backup.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("items")
+ private java.util.List items;
+
+ /**
+ * The list of Autonomous Databases that are part of the Autonomous Container Database Backup.
+ * @param items the value to set
+ * @return this builder
+ **/
+ public Builder items(java.util.List items) {
+ this.items = items;
+ this.__explicitlySet__.add("items");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public AutonomousDatabaseInBackupCollection build() {
+ AutonomousDatabaseInBackupCollection model =
+ new AutonomousDatabaseInBackupCollection(this.items);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(AutonomousDatabaseInBackupCollection model) {
+ if (model.wasPropertyExplicitlySet("items")) {
+ this.items(model.getItems());
+ }
+ return this;
+ }
+ }
+
+ /**
+ * Create a new builder.
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ /**
+ * The list of Autonomous Databases that are part of the Autonomous Container Database Backup.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("items")
+ private final java.util.List items;
+
+ /**
+ * The list of Autonomous Databases that are part of the Autonomous Container Database Backup.
+ * @return the value
+ **/
+ public java.util.List getItems() {
+ return items;
+ }
+
+ @Override
+ public String toString() {
+ return this.toString(true);
+ }
+
+ /**
+ * Return a string representation of the object.
+ * @param includeByteArrayContents true to include the full contents of byte arrays
+ * @return string representation
+ */
+ public String toString(boolean includeByteArrayContents) {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("AutonomousDatabaseInBackupCollection(");
+ sb.append("super=").append(super.toString());
+ sb.append("items=").append(String.valueOf(this.items));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof AutonomousDatabaseInBackupCollection)) {
+ return false;
+ }
+
+ AutonomousDatabaseInBackupCollection other = (AutonomousDatabaseInBackupCollection) o;
+ return java.util.Objects.equals(this.items, other.items) && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result = (result * PRIME) + (this.items == null ? 43 : this.items.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseInBackupSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseInBackupSummary.java
new file mode 100644
index 0000000000..2d2a6185fc
--- /dev/null
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseInBackupSummary.java
@@ -0,0 +1,285 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.database.model;
+
+/**
+ * The summary of the autonomous database that are in the Autonomous Container Database Backup associated.
+ *
+ * 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 #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = AutonomousDatabaseInBackupSummary.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public final class AutonomousDatabaseInBackupSummary
+ extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({"compartmentId", "displayName", "lifecycleState"})
+ public AutonomousDatabaseInBackupSummary(
+ String compartmentId, String displayName, LifecycleState lifecycleState) {
+ super();
+ this.compartmentId = compartmentId;
+ this.displayName = displayName;
+ this.lifecycleState = lifecycleState;
+ }
+
+ @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 compartment.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId")
+ private String compartmentId;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
+ * @param compartmentId the value to set
+ * @return this builder
+ **/
+ public Builder compartmentId(String compartmentId) {
+ this.compartmentId = compartmentId;
+ this.__explicitlySet__.add("compartmentId");
+ return this;
+ }
+ /**
+ * The user-friendly name for the Autonomous AI Database. The name does not have to be unique.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private String displayName;
+
+ /**
+ * The user-friendly name for the Autonomous AI Database. The name does not have to be unique.
+ * @param displayName the value to set
+ * @return this builder
+ **/
+ public Builder displayName(String displayName) {
+ this.displayName = displayName;
+ this.__explicitlySet__.add("displayName");
+ return this;
+ }
+ /**
+ * The current state of the Autonomous AI Database.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState")
+ private LifecycleState lifecycleState;
+
+ /**
+ * The current state of the Autonomous AI Database.
+ * @param lifecycleState the value to set
+ * @return this builder
+ **/
+ public Builder lifecycleState(LifecycleState lifecycleState) {
+ this.lifecycleState = lifecycleState;
+ this.__explicitlySet__.add("lifecycleState");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public AutonomousDatabaseInBackupSummary build() {
+ AutonomousDatabaseInBackupSummary model =
+ new AutonomousDatabaseInBackupSummary(
+ this.compartmentId, this.displayName, this.lifecycleState);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(AutonomousDatabaseInBackupSummary model) {
+ if (model.wasPropertyExplicitlySet("compartmentId")) {
+ this.compartmentId(model.getCompartmentId());
+ }
+ if (model.wasPropertyExplicitlySet("displayName")) {
+ this.displayName(model.getDisplayName());
+ }
+ if (model.wasPropertyExplicitlySet("lifecycleState")) {
+ this.lifecycleState(model.getLifecycleState());
+ }
+ return this;
+ }
+ }
+
+ /**
+ * Create a new builder.
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId")
+ private final String compartmentId;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
+ * @return the value
+ **/
+ public String getCompartmentId() {
+ return compartmentId;
+ }
+
+ /**
+ * The user-friendly name for the Autonomous AI Database. The name does not have to be unique.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private final String displayName;
+
+ /**
+ * The user-friendly name for the Autonomous AI Database. The name does not have to be unique.
+ * @return the value
+ **/
+ public String getDisplayName() {
+ return displayName;
+ }
+
+ /**
+ * The current state of the Autonomous AI Database.
+ **/
+ public enum LifecycleState {
+ Provisioning("PROVISIONING"),
+ Available("AVAILABLE"),
+ Stopping("STOPPING"),
+ Stopped("STOPPED"),
+ Starting("STARTING"),
+ Terminating("TERMINATING"),
+ Terminated("TERMINATED"),
+ Unavailable("UNAVAILABLE"),
+ RestoreInProgress("RESTORE_IN_PROGRESS"),
+ RestoreFailed("RESTORE_FAILED"),
+ BackupInProgress("BACKUP_IN_PROGRESS"),
+ ScaleInProgress("SCALE_IN_PROGRESS"),
+ AvailableNeedsAttention("AVAILABLE_NEEDS_ATTENTION"),
+ Updating("UPDATING"),
+ MaintenanceInProgress("MAINTENANCE_IN_PROGRESS"),
+ Restarting("RESTARTING"),
+ Recreating("RECREATING"),
+ RoleChangeInProgress("ROLE_CHANGE_IN_PROGRESS"),
+ Upgrading("UPGRADING"),
+ Inaccessible("INACCESSIBLE"),
+ Standby("STANDBY"),
+ Transporting("TRANSPORTING"),
+
+ /**
+ * This value is used if a service returns a value for this enum that is not recognized by this
+ * version of the SDK.
+ */
+ UnknownEnumValue(null);
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(LifecycleState.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (LifecycleState v : LifecycleState.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ LifecycleState(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static LifecycleState create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'LifecycleState', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
+ }
+ };
+ /**
+ * The current state of the Autonomous AI Database.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState")
+ private final LifecycleState lifecycleState;
+
+ /**
+ * The current state of the Autonomous AI Database.
+ * @return the value
+ **/
+ public LifecycleState getLifecycleState() {
+ return lifecycleState;
+ }
+
+ @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("AutonomousDatabaseInBackupSummary(");
+ sb.append("super=").append(super.toString());
+ sb.append("compartmentId=").append(String.valueOf(this.compartmentId));
+ sb.append(", displayName=").append(String.valueOf(this.displayName));
+ sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof AutonomousDatabaseInBackupSummary)) {
+ return false;
+ }
+
+ AutonomousDatabaseInBackupSummary other = (AutonomousDatabaseInBackupSummary) o;
+ return java.util.Objects.equals(this.compartmentId, other.compartmentId)
+ && java.util.Objects.equals(this.displayName, other.displayName)
+ && java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result =
+ (result * PRIME)
+ + (this.compartmentId == null ? 43 : this.compartmentId.hashCode());
+ result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode());
+ result =
+ (result * PRIME)
+ + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseSummary.java
index 930b984d7d..f59f2f4629 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseSummary.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseSummary.java
@@ -161,6 +161,10 @@ public final class AutonomousDatabaseSummary
"netServicesArchitecture",
"availabilityDomain",
"clusterPlacementGroupId",
+ "adScheduledForUpdate",
+ "timeEarliestAvailableAdUpdate",
+ "timeLatestAvailableAdUpdate",
+ "timeScheduledAdUpdate",
"cloneTableSpaceList",
"cloneType",
"additionalAttributes",
@@ -302,6 +306,10 @@ public AutonomousDatabaseSummary(
NetServicesArchitecture netServicesArchitecture,
String availabilityDomain,
String clusterPlacementGroupId,
+ String adScheduledForUpdate,
+ java.util.Date timeEarliestAvailableAdUpdate,
+ java.util.Date timeLatestAvailableAdUpdate,
+ java.util.Date timeScheduledAdUpdate,
java.util.List cloneTableSpaceList,
CloneType cloneType,
java.util.Map additionalAttributes,
@@ -442,6 +450,10 @@ public AutonomousDatabaseSummary(
this.netServicesArchitecture = netServicesArchitecture;
this.availabilityDomain = availabilityDomain;
this.clusterPlacementGroupId = clusterPlacementGroupId;
+ this.adScheduledForUpdate = adScheduledForUpdate;
+ this.timeEarliestAvailableAdUpdate = timeEarliestAvailableAdUpdate;
+ this.timeLatestAvailableAdUpdate = timeLatestAvailableAdUpdate;
+ this.timeScheduledAdUpdate = timeScheduledAdUpdate;
this.cloneTableSpaceList = cloneTableSpaceList;
this.cloneType = cloneType;
this.additionalAttributes = additionalAttributes;
@@ -2910,6 +2922,70 @@ public Builder clusterPlacementGroupId(String clusterPlacementGroupId) {
this.__explicitlySet__.add("clusterPlacementGroupId");
return this;
}
+ /**
+ * The Availability Domain which is planned for Scheduled Update
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("adScheduledForUpdate")
+ private String adScheduledForUpdate;
+
+ /**
+ * The Availability Domain which is planned for Scheduled Update
+ * @param adScheduledForUpdate the value to set
+ * @return this builder
+ **/
+ public Builder adScheduledForUpdate(String adScheduledForUpdate) {
+ this.adScheduledForUpdate = adScheduledForUpdate;
+ this.__explicitlySet__.add("adScheduledForUpdate");
+ return this;
+ }
+ /**
+ * The earliest date and time to which you can schedule an Autonomous Database availability domain update.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeEarliestAvailableAdUpdate")
+ private java.util.Date timeEarliestAvailableAdUpdate;
+
+ /**
+ * The earliest date and time to which you can schedule an Autonomous Database availability domain update.
+ * @param timeEarliestAvailableAdUpdate the value to set
+ * @return this builder
+ **/
+ public Builder timeEarliestAvailableAdUpdate(java.util.Date timeEarliestAvailableAdUpdate) {
+ this.timeEarliestAvailableAdUpdate = timeEarliestAvailableAdUpdate;
+ this.__explicitlySet__.add("timeEarliestAvailableAdUpdate");
+ return this;
+ }
+ /**
+ * The latest date and time to which you can schedule an Autonomous Database availability domain update.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeLatestAvailableAdUpdate")
+ private java.util.Date timeLatestAvailableAdUpdate;
+
+ /**
+ * The latest date and time to which you can schedule an Autonomous Database availability domain update.
+ * @param timeLatestAvailableAdUpdate the value to set
+ * @return this builder
+ **/
+ public Builder timeLatestAvailableAdUpdate(java.util.Date timeLatestAvailableAdUpdate) {
+ this.timeLatestAvailableAdUpdate = timeLatestAvailableAdUpdate;
+ this.__explicitlySet__.add("timeLatestAvailableAdUpdate");
+ return this;
+ }
+ /**
+ * The date and time to which the Autonomous Database availability domain update is scheduled.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeScheduledAdUpdate")
+ private java.util.Date timeScheduledAdUpdate;
+
+ /**
+ * The date and time to which the Autonomous Database availability domain update is scheduled.
+ * @param timeScheduledAdUpdate the value to set
+ * @return this builder
+ **/
+ public Builder timeScheduledAdUpdate(java.util.Date timeScheduledAdUpdate) {
+ this.timeScheduledAdUpdate = timeScheduledAdUpdate;
+ this.__explicitlySet__.add("timeScheduledAdUpdate");
+ return this;
+ }
/**
* A list of the source Autonomous AI Database's table space number(s) used to create this partial clone from the backup.
**/
@@ -3120,6 +3196,10 @@ public AutonomousDatabaseSummary build() {
this.netServicesArchitecture,
this.availabilityDomain,
this.clusterPlacementGroupId,
+ this.adScheduledForUpdate,
+ this.timeEarliestAvailableAdUpdate,
+ this.timeLatestAvailableAdUpdate,
+ this.timeScheduledAdUpdate,
this.cloneTableSpaceList,
this.cloneType,
this.additionalAttributes,
@@ -3545,6 +3625,18 @@ public Builder copy(AutonomousDatabaseSummary model) {
if (model.wasPropertyExplicitlySet("clusterPlacementGroupId")) {
this.clusterPlacementGroupId(model.getClusterPlacementGroupId());
}
+ if (model.wasPropertyExplicitlySet("adScheduledForUpdate")) {
+ this.adScheduledForUpdate(model.getAdScheduledForUpdate());
+ }
+ if (model.wasPropertyExplicitlySet("timeEarliestAvailableAdUpdate")) {
+ this.timeEarliestAvailableAdUpdate(model.getTimeEarliestAvailableAdUpdate());
+ }
+ if (model.wasPropertyExplicitlySet("timeLatestAvailableAdUpdate")) {
+ this.timeLatestAvailableAdUpdate(model.getTimeLatestAvailableAdUpdate());
+ }
+ if (model.wasPropertyExplicitlySet("timeScheduledAdUpdate")) {
+ this.timeScheduledAdUpdate(model.getTimeScheduledAdUpdate());
+ }
if (model.wasPropertyExplicitlySet("cloneTableSpaceList")) {
this.cloneTableSpaceList(model.getCloneTableSpaceList());
}
@@ -6675,6 +6767,62 @@ public String getClusterPlacementGroupId() {
return clusterPlacementGroupId;
}
+ /**
+ * The Availability Domain which is planned for Scheduled Update
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("adScheduledForUpdate")
+ private final String adScheduledForUpdate;
+
+ /**
+ * The Availability Domain which is planned for Scheduled Update
+ * @return the value
+ **/
+ public String getAdScheduledForUpdate() {
+ return adScheduledForUpdate;
+ }
+
+ /**
+ * The earliest date and time to which you can schedule an Autonomous Database availability domain update.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeEarliestAvailableAdUpdate")
+ private final java.util.Date timeEarliestAvailableAdUpdate;
+
+ /**
+ * The earliest date and time to which you can schedule an Autonomous Database availability domain update.
+ * @return the value
+ **/
+ public java.util.Date getTimeEarliestAvailableAdUpdate() {
+ return timeEarliestAvailableAdUpdate;
+ }
+
+ /**
+ * The latest date and time to which you can schedule an Autonomous Database availability domain update.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeLatestAvailableAdUpdate")
+ private final java.util.Date timeLatestAvailableAdUpdate;
+
+ /**
+ * The latest date and time to which you can schedule an Autonomous Database availability domain update.
+ * @return the value
+ **/
+ public java.util.Date getTimeLatestAvailableAdUpdate() {
+ return timeLatestAvailableAdUpdate;
+ }
+
+ /**
+ * The date and time to which the Autonomous Database availability domain update is scheduled.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeScheduledAdUpdate")
+ private final java.util.Date timeScheduledAdUpdate;
+
+ /**
+ * The date and time to which the Autonomous Database availability domain update is scheduled.
+ * @return the value
+ **/
+ public java.util.Date getTimeScheduledAdUpdate() {
+ return timeScheduledAdUpdate;
+ }
+
/**
* A list of the source Autonomous AI Database's table space number(s) used to create this partial clone from the backup.
**/
@@ -6979,6 +7127,12 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", availabilityDomain=").append(String.valueOf(this.availabilityDomain));
sb.append(", clusterPlacementGroupId=")
.append(String.valueOf(this.clusterPlacementGroupId));
+ sb.append(", adScheduledForUpdate=").append(String.valueOf(this.adScheduledForUpdate));
+ sb.append(", timeEarliestAvailableAdUpdate=")
+ .append(String.valueOf(this.timeEarliestAvailableAdUpdate));
+ sb.append(", timeLatestAvailableAdUpdate=")
+ .append(String.valueOf(this.timeLatestAvailableAdUpdate));
+ sb.append(", timeScheduledAdUpdate=").append(String.valueOf(this.timeScheduledAdUpdate));
sb.append(", cloneTableSpaceList=").append(String.valueOf(this.cloneTableSpaceList));
sb.append(", cloneType=").append(String.valueOf(this.cloneType));
sb.append(", additionalAttributes=").append(String.valueOf(this.additionalAttributes));
@@ -7192,6 +7346,12 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.availabilityDomain, other.availabilityDomain)
&& java.util.Objects.equals(
this.clusterPlacementGroupId, other.clusterPlacementGroupId)
+ && java.util.Objects.equals(this.adScheduledForUpdate, other.adScheduledForUpdate)
+ && java.util.Objects.equals(
+ this.timeEarliestAvailableAdUpdate, other.timeEarliestAvailableAdUpdate)
+ && java.util.Objects.equals(
+ this.timeLatestAvailableAdUpdate, other.timeLatestAvailableAdUpdate)
+ && java.util.Objects.equals(this.timeScheduledAdUpdate, other.timeScheduledAdUpdate)
&& java.util.Objects.equals(this.cloneTableSpaceList, other.cloneTableSpaceList)
&& java.util.Objects.equals(this.cloneType, other.cloneType)
&& java.util.Objects.equals(this.additionalAttributes, other.additionalAttributes)
@@ -7693,6 +7853,26 @@ public int hashCode() {
+ (this.clusterPlacementGroupId == null
? 43
: this.clusterPlacementGroupId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.adScheduledForUpdate == null
+ ? 43
+ : this.adScheduledForUpdate.hashCode());
+ result =
+ (result * PRIME)
+ + (this.timeEarliestAvailableAdUpdate == null
+ ? 43
+ : this.timeEarliestAvailableAdUpdate.hashCode());
+ result =
+ (result * PRIME)
+ + (this.timeLatestAvailableAdUpdate == null
+ ? 43
+ : this.timeLatestAvailableAdUpdate.hashCode());
+ result =
+ (result * PRIME)
+ + (this.timeScheduledAdUpdate == null
+ ? 43
+ : this.timeScheduledAdUpdate.hashCode());
result =
(result * PRIME)
+ (this.cloneTableSpaceList == null
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDwDatabase.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDwDatabase.java
index 299488b9fe..814ae760b6 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDwDatabase.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDwDatabase.java
@@ -158,6 +158,10 @@ public final class AutonomousDwDatabase extends com.oracle.bmc.http.internal.Exp
"netServicesArchitecture",
"availabilityDomain",
"clusterPlacementGroupId",
+ "adScheduledForUpdate",
+ "timeEarliestAvailableAdUpdate",
+ "timeLatestAvailableAdUpdate",
+ "timeScheduledAdUpdate",
"cloneTableSpaceList",
"cloneType",
"additionalAttributes",
@@ -299,6 +303,10 @@ public AutonomousDwDatabase(
NetServicesArchitecture netServicesArchitecture,
String availabilityDomain,
String clusterPlacementGroupId,
+ String adScheduledForUpdate,
+ java.util.Date timeEarliestAvailableAdUpdate,
+ java.util.Date timeLatestAvailableAdUpdate,
+ java.util.Date timeScheduledAdUpdate,
java.util.List cloneTableSpaceList,
CloneType cloneType,
java.util.Map additionalAttributes,
@@ -439,6 +447,10 @@ public AutonomousDwDatabase(
this.netServicesArchitecture = netServicesArchitecture;
this.availabilityDomain = availabilityDomain;
this.clusterPlacementGroupId = clusterPlacementGroupId;
+ this.adScheduledForUpdate = adScheduledForUpdate;
+ this.timeEarliestAvailableAdUpdate = timeEarliestAvailableAdUpdate;
+ this.timeLatestAvailableAdUpdate = timeLatestAvailableAdUpdate;
+ this.timeScheduledAdUpdate = timeScheduledAdUpdate;
this.cloneTableSpaceList = cloneTableSpaceList;
this.cloneType = cloneType;
this.additionalAttributes = additionalAttributes;
@@ -2907,6 +2919,70 @@ public Builder clusterPlacementGroupId(String clusterPlacementGroupId) {
this.__explicitlySet__.add("clusterPlacementGroupId");
return this;
}
+ /**
+ * The Availability Domain which is planned for Scheduled Update
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("adScheduledForUpdate")
+ private String adScheduledForUpdate;
+
+ /**
+ * The Availability Domain which is planned for Scheduled Update
+ * @param adScheduledForUpdate the value to set
+ * @return this builder
+ **/
+ public Builder adScheduledForUpdate(String adScheduledForUpdate) {
+ this.adScheduledForUpdate = adScheduledForUpdate;
+ this.__explicitlySet__.add("adScheduledForUpdate");
+ return this;
+ }
+ /**
+ * The earliest date and time to which you can schedule an Autonomous Database availability domain update.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeEarliestAvailableAdUpdate")
+ private java.util.Date timeEarliestAvailableAdUpdate;
+
+ /**
+ * The earliest date and time to which you can schedule an Autonomous Database availability domain update.
+ * @param timeEarliestAvailableAdUpdate the value to set
+ * @return this builder
+ **/
+ public Builder timeEarliestAvailableAdUpdate(java.util.Date timeEarliestAvailableAdUpdate) {
+ this.timeEarliestAvailableAdUpdate = timeEarliestAvailableAdUpdate;
+ this.__explicitlySet__.add("timeEarliestAvailableAdUpdate");
+ return this;
+ }
+ /**
+ * The latest date and time to which you can schedule an Autonomous Database availability domain update.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeLatestAvailableAdUpdate")
+ private java.util.Date timeLatestAvailableAdUpdate;
+
+ /**
+ * The latest date and time to which you can schedule an Autonomous Database availability domain update.
+ * @param timeLatestAvailableAdUpdate the value to set
+ * @return this builder
+ **/
+ public Builder timeLatestAvailableAdUpdate(java.util.Date timeLatestAvailableAdUpdate) {
+ this.timeLatestAvailableAdUpdate = timeLatestAvailableAdUpdate;
+ this.__explicitlySet__.add("timeLatestAvailableAdUpdate");
+ return this;
+ }
+ /**
+ * The date and time to which the Autonomous Database availability domain update is scheduled.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeScheduledAdUpdate")
+ private java.util.Date timeScheduledAdUpdate;
+
+ /**
+ * The date and time to which the Autonomous Database availability domain update is scheduled.
+ * @param timeScheduledAdUpdate the value to set
+ * @return this builder
+ **/
+ public Builder timeScheduledAdUpdate(java.util.Date timeScheduledAdUpdate) {
+ this.timeScheduledAdUpdate = timeScheduledAdUpdate;
+ this.__explicitlySet__.add("timeScheduledAdUpdate");
+ return this;
+ }
/**
* A list of the source Autonomous AI Database's table space number(s) used to create this partial clone from the backup.
**/
@@ -3117,6 +3193,10 @@ public AutonomousDwDatabase build() {
this.netServicesArchitecture,
this.availabilityDomain,
this.clusterPlacementGroupId,
+ this.adScheduledForUpdate,
+ this.timeEarliestAvailableAdUpdate,
+ this.timeLatestAvailableAdUpdate,
+ this.timeScheduledAdUpdate,
this.cloneTableSpaceList,
this.cloneType,
this.additionalAttributes,
@@ -3542,6 +3622,18 @@ public Builder copy(AutonomousDwDatabase model) {
if (model.wasPropertyExplicitlySet("clusterPlacementGroupId")) {
this.clusterPlacementGroupId(model.getClusterPlacementGroupId());
}
+ if (model.wasPropertyExplicitlySet("adScheduledForUpdate")) {
+ this.adScheduledForUpdate(model.getAdScheduledForUpdate());
+ }
+ if (model.wasPropertyExplicitlySet("timeEarliestAvailableAdUpdate")) {
+ this.timeEarliestAvailableAdUpdate(model.getTimeEarliestAvailableAdUpdate());
+ }
+ if (model.wasPropertyExplicitlySet("timeLatestAvailableAdUpdate")) {
+ this.timeLatestAvailableAdUpdate(model.getTimeLatestAvailableAdUpdate());
+ }
+ if (model.wasPropertyExplicitlySet("timeScheduledAdUpdate")) {
+ this.timeScheduledAdUpdate(model.getTimeScheduledAdUpdate());
+ }
if (model.wasPropertyExplicitlySet("cloneTableSpaceList")) {
this.cloneTableSpaceList(model.getCloneTableSpaceList());
}
@@ -6440,6 +6532,62 @@ public String getClusterPlacementGroupId() {
return clusterPlacementGroupId;
}
+ /**
+ * The Availability Domain which is planned for Scheduled Update
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("adScheduledForUpdate")
+ private final String adScheduledForUpdate;
+
+ /**
+ * The Availability Domain which is planned for Scheduled Update
+ * @return the value
+ **/
+ public String getAdScheduledForUpdate() {
+ return adScheduledForUpdate;
+ }
+
+ /**
+ * The earliest date and time to which you can schedule an Autonomous Database availability domain update.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeEarliestAvailableAdUpdate")
+ private final java.util.Date timeEarliestAvailableAdUpdate;
+
+ /**
+ * The earliest date and time to which you can schedule an Autonomous Database availability domain update.
+ * @return the value
+ **/
+ public java.util.Date getTimeEarliestAvailableAdUpdate() {
+ return timeEarliestAvailableAdUpdate;
+ }
+
+ /**
+ * The latest date and time to which you can schedule an Autonomous Database availability domain update.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeLatestAvailableAdUpdate")
+ private final java.util.Date timeLatestAvailableAdUpdate;
+
+ /**
+ * The latest date and time to which you can schedule an Autonomous Database availability domain update.
+ * @return the value
+ **/
+ public java.util.Date getTimeLatestAvailableAdUpdate() {
+ return timeLatestAvailableAdUpdate;
+ }
+
+ /**
+ * The date and time to which the Autonomous Database availability domain update is scheduled.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeScheduledAdUpdate")
+ private final java.util.Date timeScheduledAdUpdate;
+
+ /**
+ * The date and time to which the Autonomous Database availability domain update is scheduled.
+ * @return the value
+ **/
+ public java.util.Date getTimeScheduledAdUpdate() {
+ return timeScheduledAdUpdate;
+ }
+
/**
* A list of the source Autonomous AI Database's table space number(s) used to create this partial clone from the backup.
**/
@@ -6731,6 +6879,12 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", availabilityDomain=").append(String.valueOf(this.availabilityDomain));
sb.append(", clusterPlacementGroupId=")
.append(String.valueOf(this.clusterPlacementGroupId));
+ sb.append(", adScheduledForUpdate=").append(String.valueOf(this.adScheduledForUpdate));
+ sb.append(", timeEarliestAvailableAdUpdate=")
+ .append(String.valueOf(this.timeEarliestAvailableAdUpdate));
+ sb.append(", timeLatestAvailableAdUpdate=")
+ .append(String.valueOf(this.timeLatestAvailableAdUpdate));
+ sb.append(", timeScheduledAdUpdate=").append(String.valueOf(this.timeScheduledAdUpdate));
sb.append(", cloneTableSpaceList=").append(String.valueOf(this.cloneTableSpaceList));
sb.append(", cloneType=").append(String.valueOf(this.cloneType));
sb.append(", additionalAttributes=").append(String.valueOf(this.additionalAttributes));
@@ -6944,6 +7098,12 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.availabilityDomain, other.availabilityDomain)
&& java.util.Objects.equals(
this.clusterPlacementGroupId, other.clusterPlacementGroupId)
+ && java.util.Objects.equals(this.adScheduledForUpdate, other.adScheduledForUpdate)
+ && java.util.Objects.equals(
+ this.timeEarliestAvailableAdUpdate, other.timeEarliestAvailableAdUpdate)
+ && java.util.Objects.equals(
+ this.timeLatestAvailableAdUpdate, other.timeLatestAvailableAdUpdate)
+ && java.util.Objects.equals(this.timeScheduledAdUpdate, other.timeScheduledAdUpdate)
&& java.util.Objects.equals(this.cloneTableSpaceList, other.cloneTableSpaceList)
&& java.util.Objects.equals(this.cloneType, other.cloneType)
&& java.util.Objects.equals(this.additionalAttributes, other.additionalAttributes)
@@ -7445,6 +7605,26 @@ public int hashCode() {
+ (this.clusterPlacementGroupId == null
? 43
: this.clusterPlacementGroupId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.adScheduledForUpdate == null
+ ? 43
+ : this.adScheduledForUpdate.hashCode());
+ result =
+ (result * PRIME)
+ + (this.timeEarliestAvailableAdUpdate == null
+ ? 43
+ : this.timeEarliestAvailableAdUpdate.hashCode());
+ result =
+ (result * PRIME)
+ + (this.timeLatestAvailableAdUpdate == null
+ ? 43
+ : this.timeLatestAvailableAdUpdate.hashCode());
+ result =
+ (result * PRIME)
+ + (this.timeScheduledAdUpdate == null
+ ? 43
+ : this.timeScheduledAdUpdate.hashCode());
result =
(result * PRIME)
+ (this.cloneTableSpaceList == null
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousContainerDatabaseBase.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousContainerDatabaseBase.java
index 0033f8fd4f..b755c2bdaf 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousContainerDatabaseBase.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousContainerDatabaseBase.java
@@ -23,6 +23,10 @@
defaultImpl = CreateAutonomousContainerDatabaseBase.class
)
@com.fasterxml.jackson.annotation.JsonSubTypes({
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = CreateAutonomousContainerDatabaseFromBackupTimestampDetails.class,
+ name = "BACKUP_FROM_TIMESTAMP"
+ ),
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = CreateAutonomousContainerDatabaseDetails.class,
name = "NONE"
@@ -1243,6 +1247,7 @@ public int hashCode() {
public enum Source {
None("NONE"),
BackupFromId("BACKUP_FROM_ID"),
+ BackupFromTimestamp("BACKUP_FROM_TIMESTAMP"),
;
private final String value;
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousContainerDatabaseFromBackupDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousContainerDatabaseFromBackupDetails.java
index bf64ebc05e..50ad3d9fcf 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousContainerDatabaseFromBackupDetails.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousContainerDatabaseFromBackupDetails.java
@@ -411,6 +411,57 @@ public Builder autonomousContainerDatabaseBackupId(
this.__explicitlySet__.add("autonomousContainerDatabaseBackupId");
return this;
}
+ /**
+ * The Autonomous AI Database clone type.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("cloneType")
+ private CloneType cloneType;
+
+ /**
+ * The Autonomous AI Database clone type.
+ * @param cloneType the value to set
+ * @return this builder
+ **/
+ public Builder cloneType(CloneType cloneType) {
+ this.cloneType = cloneType;
+ this.__explicitlySet__.add("cloneType");
+ return this;
+ }
+ /**
+ * A list of Autonomous Databases ( display name of the ADB in specific ) to be cloned from backup of the source Autonomous Container Database.
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("autonomousDatabasesToClone")
+ private java.util.List autonomousDatabasesToClone;
+
+ /**
+ * A list of Autonomous Databases ( display name of the ADB in specific ) to be cloned from backup of the source Autonomous Container Database.
+ *
+ * @param autonomousDatabasesToClone the value to set
+ * @return this builder
+ **/
+ public Builder autonomousDatabasesToClone(
+ java.util.List autonomousDatabasesToClone) {
+ this.autonomousDatabasesToClone = autonomousDatabasesToClone;
+ this.__explicitlySet__.add("autonomousDatabasesToClone");
+ return this;
+ }
+ /**
+ * The speed at which the Autonomous Container Database Clone from backup operation to be performed by OCI.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("cloneBandWidth")
+ private CloneBandWidth cloneBandWidth;
+
+ /**
+ * The speed at which the Autonomous Container Database Clone from backup operation to be performed by OCI.
+ * @param cloneBandWidth the value to set
+ * @return this builder
+ **/
+ public Builder cloneBandWidth(CloneBandWidth cloneBandWidth) {
+ this.cloneBandWidth = cloneBandWidth;
+ this.__explicitlySet__.add("cloneBandWidth");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -457,7 +508,10 @@ public CreateAutonomousContainerDatabaseFromBackupDetails build() {
this.vmFailoverReservation,
this.distributionAffinity,
this.netServicesArchitecture,
- this.autonomousContainerDatabaseBackupId);
+ this.autonomousContainerDatabaseBackupId,
+ this.cloneType,
+ this.autonomousDatabasesToClone,
+ this.cloneBandWidth);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -593,6 +647,15 @@ public Builder copy(CreateAutonomousContainerDatabaseFromBackupDetails model) {
this.autonomousContainerDatabaseBackupId(
model.getAutonomousContainerDatabaseBackupId());
}
+ if (model.wasPropertyExplicitlySet("cloneType")) {
+ this.cloneType(model.getCloneType());
+ }
+ if (model.wasPropertyExplicitlySet("autonomousDatabasesToClone")) {
+ this.autonomousDatabasesToClone(model.getAutonomousDatabasesToClone());
+ }
+ if (model.wasPropertyExplicitlySet("cloneBandWidth")) {
+ this.cloneBandWidth(model.getCloneBandWidth());
+ }
return this;
}
}
@@ -649,7 +712,10 @@ public CreateAutonomousContainerDatabaseFromBackupDetails(
Integer vmFailoverReservation,
DistributionAffinity distributionAffinity,
NetServicesArchitecture netServicesArchitecture,
- String autonomousContainerDatabaseBackupId) {
+ String autonomousContainerDatabaseBackupId,
+ CloneType cloneType,
+ java.util.List autonomousDatabasesToClone,
+ CloneBandWidth cloneBandWidth) {
super(
customerContacts,
okvEndPointGroupName,
@@ -691,6 +757,9 @@ public CreateAutonomousContainerDatabaseFromBackupDetails(
distributionAffinity,
netServicesArchitecture);
this.autonomousContainerDatabaseBackupId = autonomousContainerDatabaseBackupId;
+ this.cloneType = cloneType;
+ this.autonomousDatabasesToClone = autonomousDatabasesToClone;
+ this.cloneBandWidth = cloneBandWidth;
}
/**
@@ -707,6 +776,122 @@ public String getAutonomousContainerDatabaseBackupId() {
return autonomousContainerDatabaseBackupId;
}
+ /**
+ * The Autonomous AI Database clone type.
+ **/
+ public enum CloneType {
+ Full("FULL"),
+ Metadata("METADATA"),
+ Partial("PARTIAL"),
+ ;
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (CloneType v : CloneType.values()) {
+ map.put(v.getValue(), v);
+ }
+ }
+
+ CloneType(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static CloneType create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ throw new IllegalArgumentException("Invalid CloneType: " + key);
+ }
+ };
+ /**
+ * The Autonomous AI Database clone type.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("cloneType")
+ private final CloneType cloneType;
+
+ /**
+ * The Autonomous AI Database clone type.
+ * @return the value
+ **/
+ public CloneType getCloneType() {
+ return cloneType;
+ }
+
+ /**
+ * A list of Autonomous Databases ( display name of the ADB in specific ) to be cloned from backup of the source Autonomous Container Database.
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("autonomousDatabasesToClone")
+ private final java.util.List autonomousDatabasesToClone;
+
+ /**
+ * A list of Autonomous Databases ( display name of the ADB in specific ) to be cloned from backup of the source Autonomous Container Database.
+ *
+ * @return the value
+ **/
+ public java.util.List getAutonomousDatabasesToClone() {
+ return autonomousDatabasesToClone;
+ }
+
+ /**
+ * The speed at which the Autonomous Container Database Clone from backup operation to be performed by OCI.
+ **/
+ public enum CloneBandWidth {
+ Slow("SLOW"),
+ Medium("MEDIUM"),
+ Fast("FAST"),
+ ;
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (CloneBandWidth v : CloneBandWidth.values()) {
+ map.put(v.getValue(), v);
+ }
+ }
+
+ CloneBandWidth(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static CloneBandWidth create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ throw new IllegalArgumentException("Invalid CloneBandWidth: " + key);
+ }
+ };
+ /**
+ * The speed at which the Autonomous Container Database Clone from backup operation to be performed by OCI.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("cloneBandWidth")
+ private final CloneBandWidth cloneBandWidth;
+
+ /**
+ * The speed at which the Autonomous Container Database Clone from backup operation to be performed by OCI.
+ * @return the value
+ **/
+ public CloneBandWidth getCloneBandWidth() {
+ return cloneBandWidth;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -723,6 +908,10 @@ public String toString(boolean includeByteArrayContents) {
sb.append("super=").append(super.toString(includeByteArrayContents));
sb.append(", autonomousContainerDatabaseBackupId=")
.append(String.valueOf(this.autonomousContainerDatabaseBackupId));
+ sb.append(", cloneType=").append(String.valueOf(this.cloneType));
+ sb.append(", autonomousDatabasesToClone=")
+ .append(String.valueOf(this.autonomousDatabasesToClone));
+ sb.append(", cloneBandWidth=").append(String.valueOf(this.cloneBandWidth));
sb.append(")");
return sb.toString();
}
@@ -741,6 +930,10 @@ public boolean equals(Object o) {
return java.util.Objects.equals(
this.autonomousContainerDatabaseBackupId,
other.autonomousContainerDatabaseBackupId)
+ && java.util.Objects.equals(this.cloneType, other.cloneType)
+ && java.util.Objects.equals(
+ this.autonomousDatabasesToClone, other.autonomousDatabasesToClone)
+ && java.util.Objects.equals(this.cloneBandWidth, other.cloneBandWidth)
&& super.equals(other);
}
@@ -753,6 +946,15 @@ public int hashCode() {
+ (this.autonomousContainerDatabaseBackupId == null
? 43
: this.autonomousContainerDatabaseBackupId.hashCode());
+ result = (result * PRIME) + (this.cloneType == null ? 43 : this.cloneType.hashCode());
+ result =
+ (result * PRIME)
+ + (this.autonomousDatabasesToClone == null
+ ? 43
+ : this.autonomousDatabasesToClone.hashCode());
+ result =
+ (result * PRIME)
+ + (this.cloneBandWidth == null ? 43 : this.cloneBandWidth.hashCode());
return result;
}
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousContainerDatabaseFromBackupTimestampDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousContainerDatabaseFromBackupTimestampDetails.java
new file mode 100644
index 0000000000..449cf1c4d1
--- /dev/null
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousContainerDatabaseFromBackupTimestampDetails.java
@@ -0,0 +1,1061 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.database.model;
+
+/**
+ * Details to create an Autonomous Container Database (ACD) by cloning backup available, of an existing ACD, at the requested time stamp.
+ *
+ *
+ * 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 #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = CreateAutonomousContainerDatabaseFromBackupTimestampDetails.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "source"
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public final class CreateAutonomousContainerDatabaseFromBackupTimestampDetails
+ extends CreateAutonomousContainerDatabaseBase {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("customerContacts")
+ private java.util.List customerContacts;
+
+ public Builder customerContacts(java.util.List customerContacts) {
+ this.customerContacts = customerContacts;
+ this.__explicitlySet__.add("customerContacts");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("okvEndPointGroupName")
+ private String okvEndPointGroupName;
+
+ public Builder okvEndPointGroupName(String okvEndPointGroupName) {
+ this.okvEndPointGroupName = okvEndPointGroupName;
+ this.__explicitlySet__.add("okvEndPointGroupName");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private String displayName;
+
+ public Builder displayName(String displayName) {
+ this.displayName = displayName;
+ this.__explicitlySet__.add("displayName");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("dbUniqueName")
+ private String dbUniqueName;
+
+ public Builder dbUniqueName(String dbUniqueName) {
+ this.dbUniqueName = dbUniqueName;
+ this.__explicitlySet__.add("dbUniqueName");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("dbName")
+ private String dbName;
+
+ public Builder dbName(String dbName) {
+ this.dbName = dbName;
+ this.__explicitlySet__.add("dbName");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("serviceLevelAgreementType")
+ private ServiceLevelAgreementType serviceLevelAgreementType;
+
+ public Builder serviceLevelAgreementType(
+ ServiceLevelAgreementType serviceLevelAgreementType) {
+ this.serviceLevelAgreementType = serviceLevelAgreementType;
+ this.__explicitlySet__.add("serviceLevelAgreementType");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("autonomousExadataInfrastructureId")
+ private String autonomousExadataInfrastructureId;
+
+ public Builder autonomousExadataInfrastructureId(String autonomousExadataInfrastructureId) {
+ this.autonomousExadataInfrastructureId = autonomousExadataInfrastructureId;
+ this.__explicitlySet__.add("autonomousExadataInfrastructureId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("dbVersion")
+ private String dbVersion;
+
+ public Builder dbVersion(String dbVersion) {
+ this.dbVersion = dbVersion;
+ this.__explicitlySet__.add("dbVersion");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("databaseSoftwareImageId")
+ private String databaseSoftwareImageId;
+
+ public Builder databaseSoftwareImageId(String databaseSoftwareImageId) {
+ this.databaseSoftwareImageId = databaseSoftwareImageId;
+ this.__explicitlySet__.add("databaseSoftwareImageId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("peerAutonomousExadataInfrastructureId")
+ private String peerAutonomousExadataInfrastructureId;
+
+ public Builder peerAutonomousExadataInfrastructureId(
+ String peerAutonomousExadataInfrastructureId) {
+ this.peerAutonomousExadataInfrastructureId = peerAutonomousExadataInfrastructureId;
+ this.__explicitlySet__.add("peerAutonomousExadataInfrastructureId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("peerAutonomousContainerDatabaseDisplayName")
+ private String peerAutonomousContainerDatabaseDisplayName;
+
+ public Builder peerAutonomousContainerDatabaseDisplayName(
+ String peerAutonomousContainerDatabaseDisplayName) {
+ this.peerAutonomousContainerDatabaseDisplayName =
+ peerAutonomousContainerDatabaseDisplayName;
+ this.__explicitlySet__.add("peerAutonomousContainerDatabaseDisplayName");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("protectionMode")
+ private ProtectionMode protectionMode;
+
+ public Builder protectionMode(ProtectionMode protectionMode) {
+ this.protectionMode = protectionMode;
+ this.__explicitlySet__.add("protectionMode");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("fastStartFailOverLagLimitInSeconds")
+ private Integer fastStartFailOverLagLimitInSeconds;
+
+ public Builder fastStartFailOverLagLimitInSeconds(
+ Integer fastStartFailOverLagLimitInSeconds) {
+ this.fastStartFailOverLagLimitInSeconds = fastStartFailOverLagLimitInSeconds;
+ this.__explicitlySet__.add("fastStartFailOverLagLimitInSeconds");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("isAutomaticFailoverEnabled")
+ private Boolean isAutomaticFailoverEnabled;
+
+ public Builder isAutomaticFailoverEnabled(Boolean isAutomaticFailoverEnabled) {
+ this.isAutomaticFailoverEnabled = isAutomaticFailoverEnabled;
+ this.__explicitlySet__.add("isAutomaticFailoverEnabled");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("peerCloudAutonomousVmClusterId")
+ private String peerCloudAutonomousVmClusterId;
+
+ public Builder peerCloudAutonomousVmClusterId(String peerCloudAutonomousVmClusterId) {
+ this.peerCloudAutonomousVmClusterId = peerCloudAutonomousVmClusterId;
+ this.__explicitlySet__.add("peerCloudAutonomousVmClusterId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("peerAutonomousVmClusterId")
+ private String peerAutonomousVmClusterId;
+
+ public Builder peerAutonomousVmClusterId(String peerAutonomousVmClusterId) {
+ this.peerAutonomousVmClusterId = peerAutonomousVmClusterId;
+ this.__explicitlySet__.add("peerAutonomousVmClusterId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty(
+ "peerAutonomousContainerDatabaseCompartmentId")
+ private String peerAutonomousContainerDatabaseCompartmentId;
+
+ public Builder peerAutonomousContainerDatabaseCompartmentId(
+ String peerAutonomousContainerDatabaseCompartmentId) {
+ this.peerAutonomousContainerDatabaseCompartmentId =
+ peerAutonomousContainerDatabaseCompartmentId;
+ this.__explicitlySet__.add("peerAutonomousContainerDatabaseCompartmentId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty(
+ "peerAutonomousContainerDatabaseBackupConfig")
+ private PeerAutonomousContainerDatabaseBackupConfig
+ peerAutonomousContainerDatabaseBackupConfig;
+
+ public Builder peerAutonomousContainerDatabaseBackupConfig(
+ PeerAutonomousContainerDatabaseBackupConfig
+ peerAutonomousContainerDatabaseBackupConfig) {
+ this.peerAutonomousContainerDatabaseBackupConfig =
+ peerAutonomousContainerDatabaseBackupConfig;
+ this.__explicitlySet__.add("peerAutonomousContainerDatabaseBackupConfig");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("peerDbUniqueName")
+ private String peerDbUniqueName;
+
+ public Builder peerDbUniqueName(String peerDbUniqueName) {
+ this.peerDbUniqueName = peerDbUniqueName;
+ this.__explicitlySet__.add("peerDbUniqueName");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("autonomousVmClusterId")
+ private String autonomousVmClusterId;
+
+ public Builder autonomousVmClusterId(String autonomousVmClusterId) {
+ this.autonomousVmClusterId = autonomousVmClusterId;
+ this.__explicitlySet__.add("autonomousVmClusterId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("cloudAutonomousVmClusterId")
+ private String cloudAutonomousVmClusterId;
+
+ public Builder cloudAutonomousVmClusterId(String cloudAutonomousVmClusterId) {
+ this.cloudAutonomousVmClusterId = cloudAutonomousVmClusterId;
+ this.__explicitlySet__.add("cloudAutonomousVmClusterId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId")
+ private String compartmentId;
+
+ public Builder compartmentId(String compartmentId) {
+ this.compartmentId = compartmentId;
+ this.__explicitlySet__.add("compartmentId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("patchModel")
+ private PatchModel patchModel;
+
+ public Builder patchModel(PatchModel patchModel) {
+ this.patchModel = patchModel;
+ this.__explicitlySet__.add("patchModel");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("maintenanceWindowDetails")
+ private MaintenanceWindow maintenanceWindowDetails;
+
+ public Builder maintenanceWindowDetails(MaintenanceWindow maintenanceWindowDetails) {
+ this.maintenanceWindowDetails = maintenanceWindowDetails;
+ this.__explicitlySet__.add("maintenanceWindowDetails");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("standbyMaintenanceBufferInDays")
+ private Integer standbyMaintenanceBufferInDays;
+
+ public Builder standbyMaintenanceBufferInDays(Integer standbyMaintenanceBufferInDays) {
+ this.standbyMaintenanceBufferInDays = standbyMaintenanceBufferInDays;
+ this.__explicitlySet__.add("standbyMaintenanceBufferInDays");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("versionPreference")
+ private VersionPreference versionPreference;
+
+ public Builder versionPreference(VersionPreference versionPreference) {
+ this.versionPreference = versionPreference;
+ this.__explicitlySet__.add("versionPreference");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("isDstFileUpdateEnabled")
+ private Boolean isDstFileUpdateEnabled;
+
+ public Builder isDstFileUpdateEnabled(Boolean isDstFileUpdateEnabled) {
+ this.isDstFileUpdateEnabled = isDstFileUpdateEnabled;
+ this.__explicitlySet__.add("isDstFileUpdateEnabled");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("freeformTags")
+ private java.util.Map freeformTags;
+
+ public Builder freeformTags(java.util.Map freeformTags) {
+ this.freeformTags = freeformTags;
+ this.__explicitlySet__.add("freeformTags");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("definedTags")
+ private java.util.Map> definedTags;
+
+ public Builder definedTags(
+ java.util.Map> definedTags) {
+ this.definedTags = definedTags;
+ this.__explicitlySet__.add("definedTags");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("backupConfig")
+ private AutonomousContainerDatabaseBackupConfig backupConfig;
+
+ public Builder backupConfig(AutonomousContainerDatabaseBackupConfig backupConfig) {
+ this.backupConfig = backupConfig;
+ this.__explicitlySet__.add("backupConfig");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("kmsKeyId")
+ private String kmsKeyId;
+
+ public Builder kmsKeyId(String kmsKeyId) {
+ this.kmsKeyId = kmsKeyId;
+ this.__explicitlySet__.add("kmsKeyId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("kmsKeyVersionId")
+ private String kmsKeyVersionId;
+
+ public Builder kmsKeyVersionId(String kmsKeyVersionId) {
+ this.kmsKeyVersionId = kmsKeyVersionId;
+ this.__explicitlySet__.add("kmsKeyVersionId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("vaultId")
+ private String vaultId;
+
+ public Builder vaultId(String vaultId) {
+ this.vaultId = vaultId;
+ this.__explicitlySet__.add("vaultId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("keyStoreId")
+ private String keyStoreId;
+
+ public Builder keyStoreId(String keyStoreId) {
+ this.keyStoreId = keyStoreId;
+ this.__explicitlySet__.add("keyStoreId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("encryptionKeyLocationDetails")
+ private EncryptionKeyLocationDetails encryptionKeyLocationDetails;
+
+ public Builder encryptionKeyLocationDetails(
+ EncryptionKeyLocationDetails encryptionKeyLocationDetails) {
+ this.encryptionKeyLocationDetails = encryptionKeyLocationDetails;
+ this.__explicitlySet__.add("encryptionKeyLocationDetails");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("dbSplitThreshold")
+ private Integer dbSplitThreshold;
+
+ public Builder dbSplitThreshold(Integer dbSplitThreshold) {
+ this.dbSplitThreshold = dbSplitThreshold;
+ this.__explicitlySet__.add("dbSplitThreshold");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("vmFailoverReservation")
+ private Integer vmFailoverReservation;
+
+ public Builder vmFailoverReservation(Integer vmFailoverReservation) {
+ this.vmFailoverReservation = vmFailoverReservation;
+ this.__explicitlySet__.add("vmFailoverReservation");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("distributionAffinity")
+ private DistributionAffinity distributionAffinity;
+
+ public Builder distributionAffinity(DistributionAffinity distributionAffinity) {
+ this.distributionAffinity = distributionAffinity;
+ this.__explicitlySet__.add("distributionAffinity");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("netServicesArchitecture")
+ private NetServicesArchitecture netServicesArchitecture;
+
+ public Builder netServicesArchitecture(NetServicesArchitecture netServicesArchitecture) {
+ this.netServicesArchitecture = netServicesArchitecture;
+ this.__explicitlySet__.add("netServicesArchitecture");
+ return this;
+ }
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source ACD that you will clone to create a new ACD.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("sourceAutonomousContainerDatabaseId")
+ private String sourceAutonomousContainerDatabaseId;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source ACD that you will clone to create a new ACD.
+ * @param sourceAutonomousContainerDatabaseId the value to set
+ * @return this builder
+ **/
+ public Builder sourceAutonomousContainerDatabaseId(
+ String sourceAutonomousContainerDatabaseId) {
+ this.sourceAutonomousContainerDatabaseId = sourceAutonomousContainerDatabaseId;
+ this.__explicitlySet__.add("sourceAutonomousContainerDatabaseId");
+ return this;
+ }
+ /**
+ * The time stamp representing the point in time to which the Autonomous Container Database should be cloned from backup. And the requested timeStamp should be in the past.
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeStampToUseForCloning")
+ private java.util.Date timeStampToUseForCloning;
+
+ /**
+ * The time stamp representing the point in time to which the Autonomous Container Database should be cloned from backup. And the requested timeStamp should be in the past.
+ *
+ * @param timeStampToUseForCloning the value to set
+ * @return this builder
+ **/
+ public Builder timeStampToUseForCloning(java.util.Date timeStampToUseForCloning) {
+ this.timeStampToUseForCloning = timeStampToUseForCloning;
+ this.__explicitlySet__.add("timeStampToUseForCloning");
+ return this;
+ }
+ /**
+ * If set to true, OCI shall attempt to create a point in time to the latest available backup of the source Autonomous Container Database.
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("shouldUseLatestAvailableBackupTimeStamp")
+ private Boolean shouldUseLatestAvailableBackupTimeStamp;
+
+ /**
+ * If set to true, OCI shall attempt to create a point in time to the latest available backup of the source Autonomous Container Database.
+ *
+ * @param shouldUseLatestAvailableBackupTimeStamp the value to set
+ * @return this builder
+ **/
+ public Builder shouldUseLatestAvailableBackupTimeStamp(
+ Boolean shouldUseLatestAvailableBackupTimeStamp) {
+ this.shouldUseLatestAvailableBackupTimeStamp = shouldUseLatestAvailableBackupTimeStamp;
+ this.__explicitlySet__.add("shouldUseLatestAvailableBackupTimeStamp");
+ return this;
+ }
+ /**
+ * The Autonomous AI Database clone type.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("cloneType")
+ private CloneType cloneType;
+
+ /**
+ * The Autonomous AI Database clone type.
+ * @param cloneType the value to set
+ * @return this builder
+ **/
+ public Builder cloneType(CloneType cloneType) {
+ this.cloneType = cloneType;
+ this.__explicitlySet__.add("cloneType");
+ return this;
+ }
+ /**
+ * A list of Autonomous Databases ( display name of the ADB in specific ) to be cloned from backup of the source Autonomous Container Database.
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("autonomousDatabasesToClone")
+ private java.util.List autonomousDatabasesToClone;
+
+ /**
+ * A list of Autonomous Databases ( display name of the ADB in specific ) to be cloned from backup of the source Autonomous Container Database.
+ *
+ * @param autonomousDatabasesToClone the value to set
+ * @return this builder
+ **/
+ public Builder autonomousDatabasesToClone(
+ java.util.List autonomousDatabasesToClone) {
+ this.autonomousDatabasesToClone = autonomousDatabasesToClone;
+ this.__explicitlySet__.add("autonomousDatabasesToClone");
+ return this;
+ }
+ /**
+ * The speed at which the Autonomous Container Database Clone from backup operation to be performed by OCI.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("cloneBandWidth")
+ private CloneBandWidth cloneBandWidth;
+
+ /**
+ * The speed at which the Autonomous Container Database Clone from backup operation to be performed by OCI.
+ * @param cloneBandWidth the value to set
+ * @return this builder
+ **/
+ public Builder cloneBandWidth(CloneBandWidth cloneBandWidth) {
+ this.cloneBandWidth = cloneBandWidth;
+ this.__explicitlySet__.add("cloneBandWidth");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public CreateAutonomousContainerDatabaseFromBackupTimestampDetails build() {
+ CreateAutonomousContainerDatabaseFromBackupTimestampDetails model =
+ new CreateAutonomousContainerDatabaseFromBackupTimestampDetails(
+ this.customerContacts,
+ this.okvEndPointGroupName,
+ this.displayName,
+ this.dbUniqueName,
+ this.dbName,
+ this.serviceLevelAgreementType,
+ this.autonomousExadataInfrastructureId,
+ this.dbVersion,
+ this.databaseSoftwareImageId,
+ this.peerAutonomousExadataInfrastructureId,
+ this.peerAutonomousContainerDatabaseDisplayName,
+ this.protectionMode,
+ this.fastStartFailOverLagLimitInSeconds,
+ this.isAutomaticFailoverEnabled,
+ this.peerCloudAutonomousVmClusterId,
+ this.peerAutonomousVmClusterId,
+ this.peerAutonomousContainerDatabaseCompartmentId,
+ this.peerAutonomousContainerDatabaseBackupConfig,
+ this.peerDbUniqueName,
+ this.autonomousVmClusterId,
+ this.cloudAutonomousVmClusterId,
+ this.compartmentId,
+ this.patchModel,
+ this.maintenanceWindowDetails,
+ this.standbyMaintenanceBufferInDays,
+ this.versionPreference,
+ this.isDstFileUpdateEnabled,
+ this.freeformTags,
+ this.definedTags,
+ this.backupConfig,
+ this.kmsKeyId,
+ this.kmsKeyVersionId,
+ this.vaultId,
+ this.keyStoreId,
+ this.encryptionKeyLocationDetails,
+ this.dbSplitThreshold,
+ this.vmFailoverReservation,
+ this.distributionAffinity,
+ this.netServicesArchitecture,
+ this.sourceAutonomousContainerDatabaseId,
+ this.timeStampToUseForCloning,
+ this.shouldUseLatestAvailableBackupTimeStamp,
+ this.cloneType,
+ this.autonomousDatabasesToClone,
+ this.cloneBandWidth);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(CreateAutonomousContainerDatabaseFromBackupTimestampDetails model) {
+ if (model.wasPropertyExplicitlySet("customerContacts")) {
+ this.customerContacts(model.getCustomerContacts());
+ }
+ if (model.wasPropertyExplicitlySet("okvEndPointGroupName")) {
+ this.okvEndPointGroupName(model.getOkvEndPointGroupName());
+ }
+ if (model.wasPropertyExplicitlySet("displayName")) {
+ this.displayName(model.getDisplayName());
+ }
+ if (model.wasPropertyExplicitlySet("dbUniqueName")) {
+ this.dbUniqueName(model.getDbUniqueName());
+ }
+ if (model.wasPropertyExplicitlySet("dbName")) {
+ this.dbName(model.getDbName());
+ }
+ if (model.wasPropertyExplicitlySet("serviceLevelAgreementType")) {
+ this.serviceLevelAgreementType(model.getServiceLevelAgreementType());
+ }
+ if (model.wasPropertyExplicitlySet("autonomousExadataInfrastructureId")) {
+ this.autonomousExadataInfrastructureId(
+ model.getAutonomousExadataInfrastructureId());
+ }
+ if (model.wasPropertyExplicitlySet("dbVersion")) {
+ this.dbVersion(model.getDbVersion());
+ }
+ if (model.wasPropertyExplicitlySet("databaseSoftwareImageId")) {
+ this.databaseSoftwareImageId(model.getDatabaseSoftwareImageId());
+ }
+ if (model.wasPropertyExplicitlySet("peerAutonomousExadataInfrastructureId")) {
+ this.peerAutonomousExadataInfrastructureId(
+ model.getPeerAutonomousExadataInfrastructureId());
+ }
+ if (model.wasPropertyExplicitlySet("peerAutonomousContainerDatabaseDisplayName")) {
+ this.peerAutonomousContainerDatabaseDisplayName(
+ model.getPeerAutonomousContainerDatabaseDisplayName());
+ }
+ if (model.wasPropertyExplicitlySet("protectionMode")) {
+ this.protectionMode(model.getProtectionMode());
+ }
+ if (model.wasPropertyExplicitlySet("fastStartFailOverLagLimitInSeconds")) {
+ this.fastStartFailOverLagLimitInSeconds(
+ model.getFastStartFailOverLagLimitInSeconds());
+ }
+ if (model.wasPropertyExplicitlySet("isAutomaticFailoverEnabled")) {
+ this.isAutomaticFailoverEnabled(model.getIsAutomaticFailoverEnabled());
+ }
+ if (model.wasPropertyExplicitlySet("peerCloudAutonomousVmClusterId")) {
+ this.peerCloudAutonomousVmClusterId(model.getPeerCloudAutonomousVmClusterId());
+ }
+ if (model.wasPropertyExplicitlySet("peerAutonomousVmClusterId")) {
+ this.peerAutonomousVmClusterId(model.getPeerAutonomousVmClusterId());
+ }
+ if (model.wasPropertyExplicitlySet("peerAutonomousContainerDatabaseCompartmentId")) {
+ this.peerAutonomousContainerDatabaseCompartmentId(
+ model.getPeerAutonomousContainerDatabaseCompartmentId());
+ }
+ if (model.wasPropertyExplicitlySet("peerAutonomousContainerDatabaseBackupConfig")) {
+ this.peerAutonomousContainerDatabaseBackupConfig(
+ model.getPeerAutonomousContainerDatabaseBackupConfig());
+ }
+ if (model.wasPropertyExplicitlySet("peerDbUniqueName")) {
+ this.peerDbUniqueName(model.getPeerDbUniqueName());
+ }
+ if (model.wasPropertyExplicitlySet("autonomousVmClusterId")) {
+ this.autonomousVmClusterId(model.getAutonomousVmClusterId());
+ }
+ if (model.wasPropertyExplicitlySet("cloudAutonomousVmClusterId")) {
+ this.cloudAutonomousVmClusterId(model.getCloudAutonomousVmClusterId());
+ }
+ if (model.wasPropertyExplicitlySet("compartmentId")) {
+ this.compartmentId(model.getCompartmentId());
+ }
+ if (model.wasPropertyExplicitlySet("patchModel")) {
+ this.patchModel(model.getPatchModel());
+ }
+ if (model.wasPropertyExplicitlySet("maintenanceWindowDetails")) {
+ this.maintenanceWindowDetails(model.getMaintenanceWindowDetails());
+ }
+ if (model.wasPropertyExplicitlySet("standbyMaintenanceBufferInDays")) {
+ this.standbyMaintenanceBufferInDays(model.getStandbyMaintenanceBufferInDays());
+ }
+ if (model.wasPropertyExplicitlySet("versionPreference")) {
+ this.versionPreference(model.getVersionPreference());
+ }
+ if (model.wasPropertyExplicitlySet("isDstFileUpdateEnabled")) {
+ this.isDstFileUpdateEnabled(model.getIsDstFileUpdateEnabled());
+ }
+ if (model.wasPropertyExplicitlySet("freeformTags")) {
+ this.freeformTags(model.getFreeformTags());
+ }
+ if (model.wasPropertyExplicitlySet("definedTags")) {
+ this.definedTags(model.getDefinedTags());
+ }
+ if (model.wasPropertyExplicitlySet("backupConfig")) {
+ this.backupConfig(model.getBackupConfig());
+ }
+ if (model.wasPropertyExplicitlySet("kmsKeyId")) {
+ this.kmsKeyId(model.getKmsKeyId());
+ }
+ if (model.wasPropertyExplicitlySet("kmsKeyVersionId")) {
+ this.kmsKeyVersionId(model.getKmsKeyVersionId());
+ }
+ if (model.wasPropertyExplicitlySet("vaultId")) {
+ this.vaultId(model.getVaultId());
+ }
+ if (model.wasPropertyExplicitlySet("keyStoreId")) {
+ this.keyStoreId(model.getKeyStoreId());
+ }
+ if (model.wasPropertyExplicitlySet("encryptionKeyLocationDetails")) {
+ this.encryptionKeyLocationDetails(model.getEncryptionKeyLocationDetails());
+ }
+ if (model.wasPropertyExplicitlySet("dbSplitThreshold")) {
+ this.dbSplitThreshold(model.getDbSplitThreshold());
+ }
+ if (model.wasPropertyExplicitlySet("vmFailoverReservation")) {
+ this.vmFailoverReservation(model.getVmFailoverReservation());
+ }
+ if (model.wasPropertyExplicitlySet("distributionAffinity")) {
+ this.distributionAffinity(model.getDistributionAffinity());
+ }
+ if (model.wasPropertyExplicitlySet("netServicesArchitecture")) {
+ this.netServicesArchitecture(model.getNetServicesArchitecture());
+ }
+ if (model.wasPropertyExplicitlySet("sourceAutonomousContainerDatabaseId")) {
+ this.sourceAutonomousContainerDatabaseId(
+ model.getSourceAutonomousContainerDatabaseId());
+ }
+ if (model.wasPropertyExplicitlySet("timeStampToUseForCloning")) {
+ this.timeStampToUseForCloning(model.getTimeStampToUseForCloning());
+ }
+ if (model.wasPropertyExplicitlySet("shouldUseLatestAvailableBackupTimeStamp")) {
+ this.shouldUseLatestAvailableBackupTimeStamp(
+ model.getShouldUseLatestAvailableBackupTimeStamp());
+ }
+ if (model.wasPropertyExplicitlySet("cloneType")) {
+ this.cloneType(model.getCloneType());
+ }
+ if (model.wasPropertyExplicitlySet("autonomousDatabasesToClone")) {
+ this.autonomousDatabasesToClone(model.getAutonomousDatabasesToClone());
+ }
+ if (model.wasPropertyExplicitlySet("cloneBandWidth")) {
+ this.cloneBandWidth(model.getCloneBandWidth());
+ }
+ return this;
+ }
+ }
+
+ /**
+ * Create a new builder.
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public CreateAutonomousContainerDatabaseFromBackupTimestampDetails(
+ java.util.List customerContacts,
+ String okvEndPointGroupName,
+ String displayName,
+ String dbUniqueName,
+ String dbName,
+ ServiceLevelAgreementType serviceLevelAgreementType,
+ String autonomousExadataInfrastructureId,
+ String dbVersion,
+ String databaseSoftwareImageId,
+ String peerAutonomousExadataInfrastructureId,
+ String peerAutonomousContainerDatabaseDisplayName,
+ ProtectionMode protectionMode,
+ Integer fastStartFailOverLagLimitInSeconds,
+ Boolean isAutomaticFailoverEnabled,
+ String peerCloudAutonomousVmClusterId,
+ String peerAutonomousVmClusterId,
+ String peerAutonomousContainerDatabaseCompartmentId,
+ PeerAutonomousContainerDatabaseBackupConfig peerAutonomousContainerDatabaseBackupConfig,
+ String peerDbUniqueName,
+ String autonomousVmClusterId,
+ String cloudAutonomousVmClusterId,
+ String compartmentId,
+ PatchModel patchModel,
+ MaintenanceWindow maintenanceWindowDetails,
+ Integer standbyMaintenanceBufferInDays,
+ VersionPreference versionPreference,
+ Boolean isDstFileUpdateEnabled,
+ java.util.Map freeformTags,
+ java.util.Map> definedTags,
+ AutonomousContainerDatabaseBackupConfig backupConfig,
+ String kmsKeyId,
+ String kmsKeyVersionId,
+ String vaultId,
+ String keyStoreId,
+ EncryptionKeyLocationDetails encryptionKeyLocationDetails,
+ Integer dbSplitThreshold,
+ Integer vmFailoverReservation,
+ DistributionAffinity distributionAffinity,
+ NetServicesArchitecture netServicesArchitecture,
+ String sourceAutonomousContainerDatabaseId,
+ java.util.Date timeStampToUseForCloning,
+ Boolean shouldUseLatestAvailableBackupTimeStamp,
+ CloneType cloneType,
+ java.util.List autonomousDatabasesToClone,
+ CloneBandWidth cloneBandWidth) {
+ super(
+ customerContacts,
+ okvEndPointGroupName,
+ displayName,
+ dbUniqueName,
+ dbName,
+ serviceLevelAgreementType,
+ autonomousExadataInfrastructureId,
+ dbVersion,
+ databaseSoftwareImageId,
+ peerAutonomousExadataInfrastructureId,
+ peerAutonomousContainerDatabaseDisplayName,
+ protectionMode,
+ fastStartFailOverLagLimitInSeconds,
+ isAutomaticFailoverEnabled,
+ peerCloudAutonomousVmClusterId,
+ peerAutonomousVmClusterId,
+ peerAutonomousContainerDatabaseCompartmentId,
+ peerAutonomousContainerDatabaseBackupConfig,
+ peerDbUniqueName,
+ autonomousVmClusterId,
+ cloudAutonomousVmClusterId,
+ compartmentId,
+ patchModel,
+ maintenanceWindowDetails,
+ standbyMaintenanceBufferInDays,
+ versionPreference,
+ isDstFileUpdateEnabled,
+ freeformTags,
+ definedTags,
+ backupConfig,
+ kmsKeyId,
+ kmsKeyVersionId,
+ vaultId,
+ keyStoreId,
+ encryptionKeyLocationDetails,
+ dbSplitThreshold,
+ vmFailoverReservation,
+ distributionAffinity,
+ netServicesArchitecture);
+ this.sourceAutonomousContainerDatabaseId = sourceAutonomousContainerDatabaseId;
+ this.timeStampToUseForCloning = timeStampToUseForCloning;
+ this.shouldUseLatestAvailableBackupTimeStamp = shouldUseLatestAvailableBackupTimeStamp;
+ this.cloneType = cloneType;
+ this.autonomousDatabasesToClone = autonomousDatabasesToClone;
+ this.cloneBandWidth = cloneBandWidth;
+ }
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source ACD that you will clone to create a new ACD.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("sourceAutonomousContainerDatabaseId")
+ private final String sourceAutonomousContainerDatabaseId;
+
+ /**
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source ACD that you will clone to create a new ACD.
+ * @return the value
+ **/
+ public String getSourceAutonomousContainerDatabaseId() {
+ return sourceAutonomousContainerDatabaseId;
+ }
+
+ /**
+ * The time stamp representing the point in time to which the Autonomous Container Database should be cloned from backup. And the requested timeStamp should be in the past.
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeStampToUseForCloning")
+ private final java.util.Date timeStampToUseForCloning;
+
+ /**
+ * The time stamp representing the point in time to which the Autonomous Container Database should be cloned from backup. And the requested timeStamp should be in the past.
+ *
+ * @return the value
+ **/
+ public java.util.Date getTimeStampToUseForCloning() {
+ return timeStampToUseForCloning;
+ }
+
+ /**
+ * If set to true, OCI shall attempt to create a point in time to the latest available backup of the source Autonomous Container Database.
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("shouldUseLatestAvailableBackupTimeStamp")
+ private final Boolean shouldUseLatestAvailableBackupTimeStamp;
+
+ /**
+ * If set to true, OCI shall attempt to create a point in time to the latest available backup of the source Autonomous Container Database.
+ *
+ * @return the value
+ **/
+ public Boolean getShouldUseLatestAvailableBackupTimeStamp() {
+ return shouldUseLatestAvailableBackupTimeStamp;
+ }
+
+ /**
+ * The Autonomous AI Database clone type.
+ **/
+ public enum CloneType {
+ Full("FULL"),
+ Metadata("METADATA"),
+ Partial("PARTIAL"),
+ ;
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (CloneType v : CloneType.values()) {
+ map.put(v.getValue(), v);
+ }
+ }
+
+ CloneType(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static CloneType create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ throw new IllegalArgumentException("Invalid CloneType: " + key);
+ }
+ };
+ /**
+ * The Autonomous AI Database clone type.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("cloneType")
+ private final CloneType cloneType;
+
+ /**
+ * The Autonomous AI Database clone type.
+ * @return the value
+ **/
+ public CloneType getCloneType() {
+ return cloneType;
+ }
+
+ /**
+ * A list of Autonomous Databases ( display name of the ADB in specific ) to be cloned from backup of the source Autonomous Container Database.
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("autonomousDatabasesToClone")
+ private final java.util.List autonomousDatabasesToClone;
+
+ /**
+ * A list of Autonomous Databases ( display name of the ADB in specific ) to be cloned from backup of the source Autonomous Container Database.
+ *
+ * @return the value
+ **/
+ public java.util.List getAutonomousDatabasesToClone() {
+ return autonomousDatabasesToClone;
+ }
+
+ /**
+ * The speed at which the Autonomous Container Database Clone from backup operation to be performed by OCI.
+ **/
+ public enum CloneBandWidth {
+ Slow("SLOW"),
+ Medium("MEDIUM"),
+ Fast("FAST"),
+ ;
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (CloneBandWidth v : CloneBandWidth.values()) {
+ map.put(v.getValue(), v);
+ }
+ }
+
+ CloneBandWidth(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static CloneBandWidth create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ throw new IllegalArgumentException("Invalid CloneBandWidth: " + key);
+ }
+ };
+ /**
+ * The speed at which the Autonomous Container Database Clone from backup operation to be performed by OCI.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("cloneBandWidth")
+ private final CloneBandWidth cloneBandWidth;
+
+ /**
+ * The speed at which the Autonomous Container Database Clone from backup operation to be performed by OCI.
+ * @return the value
+ **/
+ public CloneBandWidth getCloneBandWidth() {
+ return cloneBandWidth;
+ }
+
+ @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("CreateAutonomousContainerDatabaseFromBackupTimestampDetails(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(", sourceAutonomousContainerDatabaseId=")
+ .append(String.valueOf(this.sourceAutonomousContainerDatabaseId));
+ sb.append(", timeStampToUseForCloning=")
+ .append(String.valueOf(this.timeStampToUseForCloning));
+ sb.append(", shouldUseLatestAvailableBackupTimeStamp=")
+ .append(String.valueOf(this.shouldUseLatestAvailableBackupTimeStamp));
+ sb.append(", cloneType=").append(String.valueOf(this.cloneType));
+ sb.append(", autonomousDatabasesToClone=")
+ .append(String.valueOf(this.autonomousDatabasesToClone));
+ sb.append(", cloneBandWidth=").append(String.valueOf(this.cloneBandWidth));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof CreateAutonomousContainerDatabaseFromBackupTimestampDetails)) {
+ return false;
+ }
+
+ CreateAutonomousContainerDatabaseFromBackupTimestampDetails other =
+ (CreateAutonomousContainerDatabaseFromBackupTimestampDetails) o;
+ return java.util.Objects.equals(
+ this.sourceAutonomousContainerDatabaseId,
+ other.sourceAutonomousContainerDatabaseId)
+ && java.util.Objects.equals(
+ this.timeStampToUseForCloning, other.timeStampToUseForCloning)
+ && java.util.Objects.equals(
+ this.shouldUseLatestAvailableBackupTimeStamp,
+ other.shouldUseLatestAvailableBackupTimeStamp)
+ && java.util.Objects.equals(this.cloneType, other.cloneType)
+ && java.util.Objects.equals(
+ this.autonomousDatabasesToClone, other.autonomousDatabasesToClone)
+ && java.util.Objects.equals(this.cloneBandWidth, other.cloneBandWidth)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.sourceAutonomousContainerDatabaseId == null
+ ? 43
+ : this.sourceAutonomousContainerDatabaseId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.timeStampToUseForCloning == null
+ ? 43
+ : this.timeStampToUseForCloning.hashCode());
+ result =
+ (result * PRIME)
+ + (this.shouldUseLatestAvailableBackupTimeStamp == null
+ ? 43
+ : this.shouldUseLatestAvailableBackupTimeStamp.hashCode());
+ result = (result * PRIME) + (this.cloneType == null ? 43 : this.cloneType.hashCode());
+ result =
+ (result * PRIME)
+ + (this.autonomousDatabasesToClone == null
+ ? 43
+ : this.autonomousDatabasesToClone.hashCode());
+ result =
+ (result * PRIME)
+ + (this.cloneBandWidth == null ? 43 : this.cloneBandWidth.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseBase.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseBase.java
index b4bab22508..b909439a5a 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseBase.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseBase.java
@@ -74,6 +74,7 @@ public class CreateAutonomousDatabaseBase
@java.beans.ConstructorProperties({
"subscriptionId",
"compartmentId",
+ "availabilityDomain",
"characterSet",
"ncharacterSet",
"dbName",
@@ -131,6 +132,7 @@ public class CreateAutonomousDatabaseBase
protected CreateAutonomousDatabaseBase(
String subscriptionId,
String compartmentId,
+ String availabilityDomain,
String characterSet,
String ncharacterSet,
String dbName,
@@ -187,6 +189,7 @@ protected CreateAutonomousDatabaseBase(
super();
this.subscriptionId = subscriptionId;
this.compartmentId = compartmentId;
+ this.availabilityDomain = availabilityDomain;
this.characterSet = characterSet;
this.ncharacterSet = ncharacterSet;
this.dbName = dbName;
@@ -270,6 +273,20 @@ public String getCompartmentId() {
return compartmentId;
}
+ /**
+ * The Autonomous Database Serverless instance's availability domain.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("availabilityDomain")
+ private final String availabilityDomain;
+
+ /**
+ * The Autonomous Database Serverless instance's availability domain.
+ * @return the value
+ **/
+ public String getAvailabilityDomain() {
+ return availabilityDomain;
+ }
+
/**
* The character set for the Autonomous AI Database. The default is AL32UTF8. Allowed values for an Autonomous AI Database Serverless instance as as returned by [List Autonomous AI Database Character Sets](https://docs.oracle.com/iaas/autonomous-database-serverless/doc/autonomous-character-set-selection.html)
*
@@ -1473,6 +1490,7 @@ public String toString(boolean includeByteArrayContents) {
sb.append("super=").append(super.toString());
sb.append("subscriptionId=").append(String.valueOf(this.subscriptionId));
sb.append(", compartmentId=").append(String.valueOf(this.compartmentId));
+ sb.append(", availabilityDomain=").append(String.valueOf(this.availabilityDomain));
sb.append(", characterSet=").append(String.valueOf(this.characterSet));
sb.append(", ncharacterSet=").append(String.valueOf(this.ncharacterSet));
sb.append(", dbName=").append(String.valueOf(this.dbName));
@@ -1553,6 +1571,7 @@ public boolean equals(Object o) {
CreateAutonomousDatabaseBase other = (CreateAutonomousDatabaseBase) o;
return java.util.Objects.equals(this.subscriptionId, other.subscriptionId)
&& java.util.Objects.equals(this.compartmentId, other.compartmentId)
+ && java.util.Objects.equals(this.availabilityDomain, other.availabilityDomain)
&& java.util.Objects.equals(this.characterSet, other.characterSet)
&& java.util.Objects.equals(this.ncharacterSet, other.ncharacterSet)
&& java.util.Objects.equals(this.dbName, other.dbName)
@@ -1634,6 +1653,11 @@ public int hashCode() {
result =
(result * PRIME)
+ (this.compartmentId == null ? 43 : this.compartmentId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.availabilityDomain == null
+ ? 43
+ : this.availabilityDomain.hashCode());
result = (result * PRIME) + (this.characterSet == null ? 43 : this.characterSet.hashCode());
result =
(result * PRIME)
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseCloneDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseCloneDetails.java
index 1c27339de1..bbf84cb093 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseCloneDetails.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseCloneDetails.java
@@ -46,6 +46,15 @@ public Builder compartmentId(String compartmentId) {
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("availabilityDomain")
+ private String availabilityDomain;
+
+ public Builder availabilityDomain(String availabilityDomain) {
+ this.availabilityDomain = availabilityDomain;
+ this.__explicitlySet__.add("availabilityDomain");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("characterSet")
private String characterSet;
@@ -571,6 +580,7 @@ public CreateAutonomousDatabaseCloneDetails build() {
new CreateAutonomousDatabaseCloneDetails(
this.subscriptionId,
this.compartmentId,
+ this.availabilityDomain,
this.characterSet,
this.ncharacterSet,
this.dbName,
@@ -640,6 +650,9 @@ public Builder copy(CreateAutonomousDatabaseCloneDetails model) {
if (model.wasPropertyExplicitlySet("compartmentId")) {
this.compartmentId(model.getCompartmentId());
}
+ if (model.wasPropertyExplicitlySet("availabilityDomain")) {
+ this.availabilityDomain(model.getAvailabilityDomain());
+ }
if (model.wasPropertyExplicitlySet("characterSet")) {
this.characterSet(model.getCharacterSet());
}
@@ -827,6 +840,7 @@ public Builder toBuilder() {
public CreateAutonomousDatabaseCloneDetails(
String subscriptionId,
String compartmentId,
+ String availabilityDomain,
String characterSet,
String ncharacterSet,
String dbName,
@@ -885,6 +899,7 @@ public CreateAutonomousDatabaseCloneDetails(
super(
subscriptionId,
compartmentId,
+ availabilityDomain,
characterSet,
ncharacterSet,
dbName,
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseDetails.java
index fe3ed727ff..6b8e666d7f 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseDetails.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseDetails.java
@@ -46,6 +46,15 @@ public Builder compartmentId(String compartmentId) {
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("availabilityDomain")
+ private String availabilityDomain;
+
+ public Builder availabilityDomain(String availabilityDomain) {
+ this.availabilityDomain = availabilityDomain;
+ this.__explicitlySet__.add("availabilityDomain");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("characterSet")
private String characterSet;
@@ -539,6 +548,7 @@ public CreateAutonomousDatabaseDetails build() {
new CreateAutonomousDatabaseDetails(
this.subscriptionId,
this.compartmentId,
+ this.availabilityDomain,
this.characterSet,
this.ncharacterSet,
this.dbName,
@@ -606,6 +616,9 @@ public Builder copy(CreateAutonomousDatabaseDetails model) {
if (model.wasPropertyExplicitlySet("compartmentId")) {
this.compartmentId(model.getCompartmentId());
}
+ if (model.wasPropertyExplicitlySet("availabilityDomain")) {
+ this.availabilityDomain(model.getAvailabilityDomain());
+ }
if (model.wasPropertyExplicitlySet("characterSet")) {
this.characterSet(model.getCharacterSet());
}
@@ -787,6 +800,7 @@ public Builder toBuilder() {
public CreateAutonomousDatabaseDetails(
String subscriptionId,
String compartmentId,
+ String availabilityDomain,
String characterSet,
String ncharacterSet,
String dbName,
@@ -843,6 +857,7 @@ public CreateAutonomousDatabaseDetails(
super(
subscriptionId,
compartmentId,
+ availabilityDomain,
characterSet,
ncharacterSet,
dbName,
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseFromBackupDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseFromBackupDetails.java
index e29345115e..2d988156de 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseFromBackupDetails.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseFromBackupDetails.java
@@ -46,6 +46,15 @@ public Builder compartmentId(String compartmentId) {
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("availabilityDomain")
+ private String availabilityDomain;
+
+ public Builder availabilityDomain(String availabilityDomain) {
+ this.availabilityDomain = availabilityDomain;
+ this.__explicitlySet__.add("availabilityDomain");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("characterSet")
private String characterSet;
@@ -587,6 +596,7 @@ public CreateAutonomousDatabaseFromBackupDetails build() {
new CreateAutonomousDatabaseFromBackupDetails(
this.subscriptionId,
this.compartmentId,
+ this.availabilityDomain,
this.characterSet,
this.ncharacterSet,
this.dbName,
@@ -657,6 +667,9 @@ public Builder copy(CreateAutonomousDatabaseFromBackupDetails model) {
if (model.wasPropertyExplicitlySet("compartmentId")) {
this.compartmentId(model.getCompartmentId());
}
+ if (model.wasPropertyExplicitlySet("availabilityDomain")) {
+ this.availabilityDomain(model.getAvailabilityDomain());
+ }
if (model.wasPropertyExplicitlySet("characterSet")) {
this.characterSet(model.getCharacterSet());
}
@@ -847,6 +860,7 @@ public Builder toBuilder() {
public CreateAutonomousDatabaseFromBackupDetails(
String subscriptionId,
String compartmentId,
+ String availabilityDomain,
String characterSet,
String ncharacterSet,
String dbName,
@@ -906,6 +920,7 @@ public CreateAutonomousDatabaseFromBackupDetails(
super(
subscriptionId,
compartmentId,
+ availabilityDomain,
characterSet,
ncharacterSet,
dbName,
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseFromBackupTimestampDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseFromBackupTimestampDetails.java
index d59e7f47a2..7025a130f7 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseFromBackupTimestampDetails.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseFromBackupTimestampDetails.java
@@ -47,6 +47,15 @@ public Builder compartmentId(String compartmentId) {
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("availabilityDomain")
+ private String availabilityDomain;
+
+ public Builder availabilityDomain(String availabilityDomain) {
+ this.availabilityDomain = availabilityDomain;
+ this.__explicitlySet__.add("availabilityDomain");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("characterSet")
private String characterSet;
@@ -623,6 +632,7 @@ public CreateAutonomousDatabaseFromBackupTimestampDetails build() {
new CreateAutonomousDatabaseFromBackupTimestampDetails(
this.subscriptionId,
this.compartmentId,
+ this.availabilityDomain,
this.characterSet,
this.ncharacterSet,
this.dbName,
@@ -695,6 +705,9 @@ public Builder copy(CreateAutonomousDatabaseFromBackupTimestampDetails model) {
if (model.wasPropertyExplicitlySet("compartmentId")) {
this.compartmentId(model.getCompartmentId());
}
+ if (model.wasPropertyExplicitlySet("availabilityDomain")) {
+ this.availabilityDomain(model.getAvailabilityDomain());
+ }
if (model.wasPropertyExplicitlySet("characterSet")) {
this.characterSet(model.getCharacterSet());
}
@@ -892,6 +905,7 @@ public Builder toBuilder() {
public CreateAutonomousDatabaseFromBackupTimestampDetails(
String subscriptionId,
String compartmentId,
+ String availabilityDomain,
String characterSet,
String ncharacterSet,
String dbName,
@@ -953,6 +967,7 @@ public CreateAutonomousDatabaseFromBackupTimestampDetails(
super(
subscriptionId,
compartmentId,
+ availabilityDomain,
characterSet,
ncharacterSet,
dbName,
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCrossRegionAutonomousDatabaseDataGuardDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCrossRegionAutonomousDatabaseDataGuardDetails.java
index 44b9d9d64b..751247c759 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCrossRegionAutonomousDatabaseDataGuardDetails.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCrossRegionAutonomousDatabaseDataGuardDetails.java
@@ -65,6 +65,15 @@ public Builder compartmentId(String compartmentId) {
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("availabilityDomain")
+ private String availabilityDomain;
+
+ public Builder availabilityDomain(String availabilityDomain) {
+ this.availabilityDomain = availabilityDomain;
+ this.__explicitlySet__.add("availabilityDomain");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("characterSet")
private String characterSet;
@@ -574,6 +583,7 @@ public CreateCrossRegionAutonomousDatabaseDataGuardDetails build() {
new CreateCrossRegionAutonomousDatabaseDataGuardDetails(
this.subscriptionId,
this.compartmentId,
+ this.availabilityDomain,
this.characterSet,
this.ncharacterSet,
this.dbName,
@@ -642,6 +652,9 @@ public Builder copy(CreateCrossRegionAutonomousDatabaseDataGuardDetails model) {
if (model.wasPropertyExplicitlySet("compartmentId")) {
this.compartmentId(model.getCompartmentId());
}
+ if (model.wasPropertyExplicitlySet("availabilityDomain")) {
+ this.availabilityDomain(model.getAvailabilityDomain());
+ }
if (model.wasPropertyExplicitlySet("characterSet")) {
this.characterSet(model.getCharacterSet());
}
@@ -826,6 +839,7 @@ public Builder toBuilder() {
public CreateCrossRegionAutonomousDatabaseDataGuardDetails(
String subscriptionId,
String compartmentId,
+ String availabilityDomain,
String characterSet,
String ncharacterSet,
String dbName,
@@ -883,6 +897,7 @@ public CreateCrossRegionAutonomousDatabaseDataGuardDetails(
super(
subscriptionId,
compartmentId,
+ availabilityDomain,
characterSet,
ncharacterSet,
dbName,
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCrossRegionDisasterRecoveryDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCrossRegionDisasterRecoveryDetails.java
index 86409168cd..437eeaa9ca 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCrossRegionDisasterRecoveryDetails.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCrossRegionDisasterRecoveryDetails.java
@@ -65,6 +65,15 @@ public Builder compartmentId(String compartmentId) {
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("availabilityDomain")
+ private String availabilityDomain;
+
+ public Builder availabilityDomain(String availabilityDomain) {
+ this.availabilityDomain = availabilityDomain;
+ this.__explicitlySet__.add("availabilityDomain");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("characterSet")
private String characterSet;
@@ -613,6 +622,7 @@ public CreateCrossRegionDisasterRecoveryDetails build() {
new CreateCrossRegionDisasterRecoveryDetails(
this.subscriptionId,
this.compartmentId,
+ this.availabilityDomain,
this.characterSet,
this.ncharacterSet,
this.dbName,
@@ -683,6 +693,9 @@ public Builder copy(CreateCrossRegionDisasterRecoveryDetails model) {
if (model.wasPropertyExplicitlySet("compartmentId")) {
this.compartmentId(model.getCompartmentId());
}
+ if (model.wasPropertyExplicitlySet("availabilityDomain")) {
+ this.availabilityDomain(model.getAvailabilityDomain());
+ }
if (model.wasPropertyExplicitlySet("characterSet")) {
this.characterSet(model.getCharacterSet());
}
@@ -873,6 +886,7 @@ public Builder toBuilder() {
public CreateCrossRegionDisasterRecoveryDetails(
String subscriptionId,
String compartmentId,
+ String availabilityDomain,
String characterSet,
String ncharacterSet,
String dbName,
@@ -932,6 +946,7 @@ public CreateCrossRegionDisasterRecoveryDetails(
super(
subscriptionId,
compartmentId,
+ availabilityDomain,
characterSet,
ncharacterSet,
dbName,
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCrossTenancyDisasterRecoveryDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCrossTenancyDisasterRecoveryDetails.java
index 295bc71568..fd9080328b 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCrossTenancyDisasterRecoveryDetails.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCrossTenancyDisasterRecoveryDetails.java
@@ -66,6 +66,15 @@ public Builder compartmentId(String compartmentId) {
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("availabilityDomain")
+ private String availabilityDomain;
+
+ public Builder availabilityDomain(String availabilityDomain) {
+ this.availabilityDomain = availabilityDomain;
+ this.__explicitlySet__.add("availabilityDomain");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("characterSet")
private String characterSet;
@@ -614,6 +623,7 @@ public CreateCrossTenancyDisasterRecoveryDetails build() {
new CreateCrossTenancyDisasterRecoveryDetails(
this.subscriptionId,
this.compartmentId,
+ this.availabilityDomain,
this.characterSet,
this.ncharacterSet,
this.dbName,
@@ -684,6 +694,9 @@ public Builder copy(CreateCrossTenancyDisasterRecoveryDetails model) {
if (model.wasPropertyExplicitlySet("compartmentId")) {
this.compartmentId(model.getCompartmentId());
}
+ if (model.wasPropertyExplicitlySet("availabilityDomain")) {
+ this.availabilityDomain(model.getAvailabilityDomain());
+ }
if (model.wasPropertyExplicitlySet("characterSet")) {
this.characterSet(model.getCharacterSet());
}
@@ -874,6 +887,7 @@ public Builder toBuilder() {
public CreateCrossTenancyDisasterRecoveryDetails(
String subscriptionId,
String compartmentId,
+ String availabilityDomain,
String characterSet,
String ncharacterSet,
String dbName,
@@ -933,6 +947,7 @@ public CreateCrossTenancyDisasterRecoveryDetails(
super(
subscriptionId,
compartmentId,
+ availabilityDomain,
characterSet,
ncharacterSet,
dbName,
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateRefreshableAutonomousDatabaseCloneDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateRefreshableAutonomousDatabaseCloneDetails.java
index a9726a9635..680a4309a2 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateRefreshableAutonomousDatabaseCloneDetails.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateRefreshableAutonomousDatabaseCloneDetails.java
@@ -47,6 +47,15 @@ public Builder compartmentId(String compartmentId) {
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("availabilityDomain")
+ private String availabilityDomain;
+
+ public Builder availabilityDomain(String availabilityDomain) {
+ this.availabilityDomain = availabilityDomain;
+ this.__explicitlySet__.add("availabilityDomain");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("characterSet")
private String characterSet;
@@ -658,6 +667,7 @@ public CreateRefreshableAutonomousDatabaseCloneDetails build() {
new CreateRefreshableAutonomousDatabaseCloneDetails(
this.subscriptionId,
this.compartmentId,
+ this.availabilityDomain,
this.characterSet,
this.ncharacterSet,
this.dbName,
@@ -732,6 +742,9 @@ public Builder copy(CreateRefreshableAutonomousDatabaseCloneDetails model) {
if (model.wasPropertyExplicitlySet("compartmentId")) {
this.compartmentId(model.getCompartmentId());
}
+ if (model.wasPropertyExplicitlySet("availabilityDomain")) {
+ this.availabilityDomain(model.getAvailabilityDomain());
+ }
if (model.wasPropertyExplicitlySet("characterSet")) {
this.characterSet(model.getCharacterSet());
}
@@ -934,6 +947,7 @@ public Builder toBuilder() {
public CreateRefreshableAutonomousDatabaseCloneDetails(
String subscriptionId,
String compartmentId,
+ String availabilityDomain,
String characterSet,
String ncharacterSet,
String dbName,
@@ -997,6 +1011,7 @@ public CreateRefreshableAutonomousDatabaseCloneDetails(
super(
subscriptionId,
compartmentId,
+ availabilityDomain,
characterSet,
ncharacterSet,
dbName,
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateStandbyDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateStandbyDetails.java
index ef26f8704e..a0b1a77296 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateStandbyDetails.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateStandbyDetails.java
@@ -33,7 +33,8 @@ public CreateStandbyDetails(
TransportType transportType,
DatabaseStorageSizeDetails storageSizeDetails,
java.util.Map freeformTags,
- java.util.Map> definedTags) {
+ java.util.Map> definedTags,
+ AutoFailoverConfiguration autoFailoverConfiguration) {
super();
this.sourceDatabaseId = sourceDatabaseId;
this.databaseAdminPassword =
@@ -49,6 +50,7 @@ public CreateStandbyDetails(
this.storageSizeDetails = storageSizeDetails;
this.freeformTags = freeformTags;
this.definedTags = definedTags;
+ this.autoFailoverConfiguration = autoFailoverConfiguration;
}
@com.fasterxml.jackson.annotation.JsonCreator
@@ -65,7 +67,8 @@ public CreateStandbyDetails(
"transportType",
"storageSizeDetails",
"freeformTags",
- "definedTags"
+ "definedTags",
+ "autoFailoverConfiguration"
})
public CreateStandbyDetails(
String sourceDatabaseId,
@@ -79,7 +82,8 @@ public CreateStandbyDetails(
TransportType transportType,
DatabaseStorageSizeDetails storageSizeDetails,
java.util.Map freeformTags,
- java.util.Map> definedTags) {
+ java.util.Map> definedTags,
+ AutoFailoverConfiguration autoFailoverConfiguration) {
super();
this.sourceDatabaseId = sourceDatabaseId;
this.databaseAdminPassword = databaseAdminPassword;
@@ -93,6 +97,7 @@ public CreateStandbyDetails(
this.storageSizeDetails = storageSizeDetails;
this.freeformTags = freeformTags;
this.definedTags = definedTags;
+ this.autoFailoverConfiguration = autoFailoverConfiguration;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -343,6 +348,16 @@ public Builder definedTags(
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("autoFailoverConfiguration")
+ private AutoFailoverConfiguration autoFailoverConfiguration;
+
+ public Builder autoFailoverConfiguration(
+ AutoFailoverConfiguration autoFailoverConfiguration) {
+ this.autoFailoverConfiguration = autoFailoverConfiguration;
+ this.__explicitlySet__.add("autoFailoverConfiguration");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -360,7 +375,8 @@ public CreateStandbyDetails build() {
this.transportType,
this.storageSizeDetails,
this.freeformTags,
- this.definedTags);
+ this.definedTags,
+ this.autoFailoverConfiguration);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -406,6 +422,9 @@ public Builder copy(CreateStandbyDetails model) {
if (model.wasPropertyExplicitlySet("definedTags")) {
this.definedTags(model.getDefinedTags());
}
+ if (model.wasPropertyExplicitlySet("autoFailoverConfiguration")) {
+ this.autoFailoverConfiguration(model.getAutoFailoverConfiguration());
+ }
return this;
}
}
@@ -738,6 +757,13 @@ public java.util.Map> getDefinedTags() {
return definedTags;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("autoFailoverConfiguration")
+ private final AutoFailoverConfiguration autoFailoverConfiguration;
+
+ public AutoFailoverConfiguration getAutoFailoverConfiguration() {
+ return autoFailoverConfiguration;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -766,6 +792,8 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", storageSizeDetails=").append(String.valueOf(this.storageSizeDetails));
sb.append(", freeformTags=").append(String.valueOf(this.freeformTags));
sb.append(", definedTags=").append(String.valueOf(this.definedTags));
+ sb.append(", autoFailoverConfiguration=")
+ .append(String.valueOf(this.autoFailoverConfiguration));
sb.append(")");
return sb.toString();
}
@@ -796,6 +824,8 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.storageSizeDetails, other.storageSizeDetails)
&& java.util.Objects.equals(this.freeformTags, other.freeformTags)
&& java.util.Objects.equals(this.definedTags, other.definedTags)
+ && java.util.Objects.equals(
+ this.autoFailoverConfiguration, other.autoFailoverConfiguration)
&& super.equals(other);
}
@@ -841,6 +871,11 @@ public int hashCode() {
: this.storageSizeDetails.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.autoFailoverConfiguration == null
+ ? 43
+ : this.autoFailoverConfiguration.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/DataGuardGroup.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/DataGuardGroup.java
index b9a3b42c23..569df95089 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/DataGuardGroup.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/DataGuardGroup.java
@@ -21,12 +21,15 @@
@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
public final class DataGuardGroup extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"members", "protectionMode"})
+ @java.beans.ConstructorProperties({"members", "protectionMode", "managedAutoFailOverReadiness"})
public DataGuardGroup(
- java.util.List members, ProtectionMode protectionMode) {
+ java.util.List members,
+ ProtectionMode protectionMode,
+ ManagedAutoFailOverReadiness managedAutoFailOverReadiness) {
super();
this.members = members;
this.protectionMode = protectionMode;
+ this.managedAutoFailOverReadiness = managedAutoFailOverReadiness;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -69,12 +72,31 @@ public Builder protectionMode(ProtectionMode protectionMode) {
this.__explicitlySet__.add("protectionMode");
return this;
}
+ /**
+ * Specifies readiness of Managed Automatic failover.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("managedAutoFailOverReadiness")
+ private ManagedAutoFailOverReadiness managedAutoFailOverReadiness;
+
+ /**
+ * Specifies readiness of Managed Automatic failover.
+ * @param managedAutoFailOverReadiness the value to set
+ * @return this builder
+ **/
+ public Builder managedAutoFailOverReadiness(
+ ManagedAutoFailOverReadiness managedAutoFailOverReadiness) {
+ this.managedAutoFailOverReadiness = managedAutoFailOverReadiness;
+ this.__explicitlySet__.add("managedAutoFailOverReadiness");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
public DataGuardGroup build() {
- DataGuardGroup model = new DataGuardGroup(this.members, this.protectionMode);
+ DataGuardGroup model =
+ new DataGuardGroup(
+ this.members, this.protectionMode, this.managedAutoFailOverReadiness);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -89,6 +111,9 @@ public Builder copy(DataGuardGroup model) {
if (model.wasPropertyExplicitlySet("protectionMode")) {
this.protectionMode(model.getProtectionMode());
}
+ if (model.wasPropertyExplicitlySet("managedAutoFailOverReadiness")) {
+ this.managedAutoFailOverReadiness(model.getManagedAutoFailOverReadiness());
+ }
return this;
}
}
@@ -190,6 +215,68 @@ public ProtectionMode getProtectionMode() {
return protectionMode;
}
+ /**
+ * Specifies readiness of Managed Automatic failover.
+ **/
+ public enum ManagedAutoFailOverReadiness {
+ Healthy("HEALTHY"),
+ Critical("CRITICAL"),
+
+ /**
+ * 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(ManagedAutoFailOverReadiness.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (ManagedAutoFailOverReadiness v : ManagedAutoFailOverReadiness.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ ManagedAutoFailOverReadiness(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static ManagedAutoFailOverReadiness create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'ManagedAutoFailOverReadiness', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
+ }
+ };
+ /**
+ * Specifies readiness of Managed Automatic failover.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("managedAutoFailOverReadiness")
+ private final ManagedAutoFailOverReadiness managedAutoFailOverReadiness;
+
+ /**
+ * Specifies readiness of Managed Automatic failover.
+ * @return the value
+ **/
+ public ManagedAutoFailOverReadiness getManagedAutoFailOverReadiness() {
+ return managedAutoFailOverReadiness;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -206,6 +293,8 @@ public String toString(boolean includeByteArrayContents) {
sb.append("super=").append(super.toString());
sb.append("members=").append(String.valueOf(this.members));
sb.append(", protectionMode=").append(String.valueOf(this.protectionMode));
+ sb.append(", managedAutoFailOverReadiness=")
+ .append(String.valueOf(this.managedAutoFailOverReadiness));
sb.append(")");
return sb.toString();
}
@@ -222,6 +311,8 @@ public boolean equals(Object o) {
DataGuardGroup other = (DataGuardGroup) o;
return java.util.Objects.equals(this.members, other.members)
&& java.util.Objects.equals(this.protectionMode, other.protectionMode)
+ && java.util.Objects.equals(
+ this.managedAutoFailOverReadiness, other.managedAutoFailOverReadiness)
&& super.equals(other);
}
@@ -233,6 +324,11 @@ public int hashCode() {
result =
(result * PRIME)
+ (this.protectionMode == null ? 43 : this.protectionMode.hashCode());
+ result =
+ (result * PRIME)
+ + (this.managedAutoFailOverReadiness == null
+ ? 43
+ : this.managedAutoFailOverReadiness.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/DataGuardGroupMember.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/DataGuardGroupMember.java
index 10fc8d67ec..14baf2763c 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/DataGuardGroupMember.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/DataGuardGroupMember.java
@@ -36,7 +36,9 @@ public final class DataGuardGroupMember extends com.oracle.bmc.http.internal.Exp
"failoverReadiness",
"failoverReadinessMessage",
"dataLossExposure",
- "timeUpdated"
+ "timeUpdated",
+ "managedAutoFailover",
+ "failoverTargets"
})
public DataGuardGroupMember(
String dbSystemId,
@@ -53,7 +55,9 @@ public DataGuardGroupMember(
FailoverReadiness failoverReadiness,
String failoverReadinessMessage,
String dataLossExposure,
- java.util.Date timeUpdated) {
+ java.util.Date timeUpdated,
+ ManagedAutoFailover managedAutoFailover,
+ java.util.List failoverTargets) {
super();
this.dbSystemId = dbSystemId;
this.databaseId = databaseId;
@@ -70,6 +74,8 @@ public DataGuardGroupMember(
this.failoverReadinessMessage = failoverReadinessMessage;
this.dataLossExposure = dataLossExposure;
this.timeUpdated = timeUpdated;
+ this.managedAutoFailover = managedAutoFailover;
+ this.failoverTargets = failoverTargets;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -262,6 +268,8 @@ public Builder isActiveDataGuardEnabled(Boolean isActiveDataGuardEnabled) {
}
/**
* The switchover readiness status of the Data Guard member.
+ * * HEALTHY_AND_NOT_ROLECHANGE_TARGET - Indicates that the respective standby member is healthy
+ * but not currently designated to take switchover, when auto failover is enabled.
*
**/
@com.fasterxml.jackson.annotation.JsonProperty("switchoverReadiness")
@@ -269,6 +277,8 @@ public Builder isActiveDataGuardEnabled(Boolean isActiveDataGuardEnabled) {
/**
* The switchover readiness status of the Data Guard member.
+ * * HEALTHY_AND_NOT_ROLECHANGE_TARGET - Indicates that the respective standby member is healthy
+ * but not currently designated to take switchover, when auto failover is enabled.
*
* @param switchoverReadiness the value to set
* @return this builder
@@ -300,6 +310,8 @@ public Builder switchoverReadinessMessage(String switchoverReadinessMessage) {
}
/**
* The failover readiness status of the Data Guard member.
+ * HEALTHY_AND_NOT_ROLECHANGE_TARGET - Indicates that the respective standby member is healthy
+ * but not currently designated to take failover, when auto failover is enabled.
*
**/
@com.fasterxml.jackson.annotation.JsonProperty("failoverReadiness")
@@ -307,6 +319,8 @@ public Builder switchoverReadinessMessage(String switchoverReadinessMessage) {
/**
* The failover readiness status of the Data Guard member.
+ * HEALTHY_AND_NOT_ROLECHANGE_TARGET - Indicates that the respective standby member is healthy
+ * but not currently designated to take failover, when auto failover is enabled.
*
* @param failoverReadiness the value to set
* @return this builder
@@ -374,6 +388,40 @@ public Builder timeUpdated(java.util.Date timeUpdated) {
this.__explicitlySet__.add("timeUpdated");
return this;
}
+ /**
+ * The state of managed auto failover.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("managedAutoFailover")
+ private ManagedAutoFailover managedAutoFailover;
+
+ /**
+ * The state of managed auto failover.
+ * @param managedAutoFailover the value to set
+ * @return this builder
+ **/
+ public Builder managedAutoFailover(ManagedAutoFailover managedAutoFailover) {
+ this.managedAutoFailover = managedAutoFailover;
+ this.__explicitlySet__.add("managedAutoFailover");
+ return this;
+ }
+ /**
+ * Specifies the {@code DB_UNIQUE_NAME} of the data guard group member databases.
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("failoverTargets")
+ private java.util.List failoverTargets;
+
+ /**
+ * Specifies the {@code DB_UNIQUE_NAME} of the data guard group member databases.
+ *
+ * @param failoverTargets the value to set
+ * @return this builder
+ **/
+ public Builder failoverTargets(java.util.List failoverTargets) {
+ this.failoverTargets = failoverTargets;
+ this.__explicitlySet__.add("failoverTargets");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -395,7 +443,9 @@ public DataGuardGroupMember build() {
this.failoverReadiness,
this.failoverReadinessMessage,
this.dataLossExposure,
- this.timeUpdated);
+ this.timeUpdated,
+ this.managedAutoFailover,
+ this.failoverTargets);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -449,6 +499,12 @@ public Builder copy(DataGuardGroupMember model) {
if (model.wasPropertyExplicitlySet("timeUpdated")) {
this.timeUpdated(model.getTimeUpdated());
}
+ if (model.wasPropertyExplicitlySet("managedAutoFailover")) {
+ this.managedAutoFailover(model.getManagedAutoFailover());
+ }
+ if (model.wasPropertyExplicitlySet("failoverTargets")) {
+ this.failoverTargets(model.getFailoverTargets());
+ }
return this;
}
}
@@ -742,12 +798,15 @@ public Boolean getIsActiveDataGuardEnabled() {
/**
* The switchover readiness status of the Data Guard member.
+ * * HEALTHY_AND_NOT_ROLECHANGE_TARGET - Indicates that the respective standby member is healthy
+ * but not currently designated to take switchover, when auto failover is enabled.
*
**/
public enum SwitchoverReadiness {
Healthy("HEALTHY"),
Warning("WARNING"),
Critical("CRITICAL"),
+ HealthyAndNotRolechangeTarget("HEALTHY_AND_NOT_ROLECHANGE_TARGET"),
/**
* This value is used if a service returns a value for this enum that is not recognized by this
@@ -792,6 +851,8 @@ public static SwitchoverReadiness create(String key) {
};
/**
* The switchover readiness status of the Data Guard member.
+ * * HEALTHY_AND_NOT_ROLECHANGE_TARGET - Indicates that the respective standby member is healthy
+ * but not currently designated to take switchover, when auto failover is enabled.
*
**/
@com.fasterxml.jackson.annotation.JsonProperty("switchoverReadiness")
@@ -799,6 +860,8 @@ public static SwitchoverReadiness create(String key) {
/**
* The switchover readiness status of the Data Guard member.
+ * * HEALTHY_AND_NOT_ROLECHANGE_TARGET - Indicates that the respective standby member is healthy
+ * but not currently designated to take switchover, when auto failover is enabled.
*
* @return the value
**/
@@ -826,12 +889,15 @@ public String getSwitchoverReadinessMessage() {
/**
* The failover readiness status of the Data Guard member.
+ * HEALTHY_AND_NOT_ROLECHANGE_TARGET - Indicates that the respective standby member is healthy
+ * but not currently designated to take failover, when auto failover is enabled.
*
**/
public enum FailoverReadiness {
Healthy("HEALTHY"),
Warning("WARNING"),
Critical("CRITICAL"),
+ HealthyAndNotRolechangeTarget("HEALTHY_AND_NOT_ROLECHANGE_TARGET"),
/**
* This value is used if a service returns a value for this enum that is not recognized by this
@@ -876,6 +942,8 @@ public static FailoverReadiness create(String key) {
};
/**
* The failover readiness status of the Data Guard member.
+ * HEALTHY_AND_NOT_ROLECHANGE_TARGET - Indicates that the respective standby member is healthy
+ * but not currently designated to take failover, when auto failover is enabled.
*
**/
@com.fasterxml.jackson.annotation.JsonProperty("failoverReadiness")
@@ -883,6 +951,8 @@ public static FailoverReadiness create(String key) {
/**
* The failover readiness status of the Data Guard member.
+ * HEALTHY_AND_NOT_ROLECHANGE_TARGET - Indicates that the respective standby member is healthy
+ * but not currently designated to take failover, when auto failover is enabled.
*
* @return the value
**/
@@ -942,6 +1012,84 @@ public java.util.Date getTimeUpdated() {
return timeUpdated;
}
+ /**
+ * The state of managed auto failover.
+ **/
+ public enum ManagedAutoFailover {
+ Enable("ENABLE"),
+ Disable("DISABLE"),
+
+ /**
+ * 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(ManagedAutoFailover.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (ManagedAutoFailover v : ManagedAutoFailover.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ ManagedAutoFailover(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static ManagedAutoFailover create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'ManagedAutoFailover', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
+ }
+ };
+ /**
+ * The state of managed auto failover.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("managedAutoFailover")
+ private final ManagedAutoFailover managedAutoFailover;
+
+ /**
+ * The state of managed auto failover.
+ * @return the value
+ **/
+ public ManagedAutoFailover getManagedAutoFailover() {
+ return managedAutoFailover;
+ }
+
+ /**
+ * Specifies the {@code DB_UNIQUE_NAME} of the data guard group member databases.
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("failoverTargets")
+ private final java.util.List failoverTargets;
+
+ /**
+ * Specifies the {@code DB_UNIQUE_NAME} of the data guard group member databases.
+ *
+ * @return the value
+ **/
+ public java.util.List getFailoverTargets() {
+ return failoverTargets;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -974,6 +1122,8 @@ public String toString(boolean includeByteArrayContents) {
.append(String.valueOf(this.failoverReadinessMessage));
sb.append(", dataLossExposure=").append(String.valueOf(this.dataLossExposure));
sb.append(", timeUpdated=").append(String.valueOf(this.timeUpdated));
+ sb.append(", managedAutoFailover=").append(String.valueOf(this.managedAutoFailover));
+ sb.append(", failoverTargets=").append(String.valueOf(this.failoverTargets));
sb.append(")");
return sb.toString();
}
@@ -1006,6 +1156,8 @@ public boolean equals(Object o) {
this.failoverReadinessMessage, other.failoverReadinessMessage)
&& java.util.Objects.equals(this.dataLossExposure, other.dataLossExposure)
&& java.util.Objects.equals(this.timeUpdated, other.timeUpdated)
+ && java.util.Objects.equals(this.managedAutoFailover, other.managedAutoFailover)
+ && java.util.Objects.equals(this.failoverTargets, other.failoverTargets)
&& super.equals(other);
}
@@ -1054,6 +1206,14 @@ public int hashCode() {
(result * PRIME)
+ (this.dataLossExposure == null ? 43 : this.dataLossExposure.hashCode());
result = (result * PRIME) + (this.timeUpdated == null ? 43 : this.timeUpdated.hashCode());
+ result =
+ (result * PRIME)
+ + (this.managedAutoFailover == null
+ ? 43
+ : this.managedAutoFailover.hashCode());
+ result =
+ (result * PRIME)
+ + (this.failoverTargets == null ? 43 : this.failoverTargets.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/UndeleteAutonomousDatabaseDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/UndeleteAutonomousDatabaseDetails.java
index 1e6a3d4259..227111a5f0 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/UndeleteAutonomousDatabaseDetails.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/UndeleteAutonomousDatabaseDetails.java
@@ -46,6 +46,15 @@ public Builder compartmentId(String compartmentId) {
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("availabilityDomain")
+ private String availabilityDomain;
+
+ public Builder availabilityDomain(String availabilityDomain) {
+ this.availabilityDomain = availabilityDomain;
+ this.__explicitlySet__.add("availabilityDomain");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("characterSet")
private String characterSet;
@@ -555,6 +564,7 @@ public UndeleteAutonomousDatabaseDetails build() {
new UndeleteAutonomousDatabaseDetails(
this.subscriptionId,
this.compartmentId,
+ this.availabilityDomain,
this.characterSet,
this.ncharacterSet,
this.dbName,
@@ -623,6 +633,9 @@ public Builder copy(UndeleteAutonomousDatabaseDetails model) {
if (model.wasPropertyExplicitlySet("compartmentId")) {
this.compartmentId(model.getCompartmentId());
}
+ if (model.wasPropertyExplicitlySet("availabilityDomain")) {
+ this.availabilityDomain(model.getAvailabilityDomain());
+ }
if (model.wasPropertyExplicitlySet("characterSet")) {
this.characterSet(model.getCharacterSet());
}
@@ -807,6 +820,7 @@ public Builder toBuilder() {
public UndeleteAutonomousDatabaseDetails(
String subscriptionId,
String compartmentId,
+ String availabilityDomain,
String characterSet,
String ncharacterSet,
String dbName,
@@ -864,6 +878,7 @@ public UndeleteAutonomousDatabaseDetails(
super(
subscriptionId,
compartmentId,
+ availabilityDomain,
characterSet,
ncharacterSet,
dbName,
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateAutonomousDatabaseDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateAutonomousDatabaseDetails.java
index aebec0e111..6ac576ca21 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateAutonomousDatabaseDetails.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateAutonomousDatabaseDetails.java
@@ -43,6 +43,10 @@ public final class UpdateAutonomousDatabaseDetails
"dataStorageSizeInGBs",
"displayName",
"isFreeTier",
+ "availabilityDomain",
+ "timeScheduledAdUpdate",
+ "isDisableAdUpdateSchedule",
+ "isScheduleAdUpdateToEarliest",
"adminPassword",
"dbName",
"freeformTags",
@@ -107,6 +111,10 @@ public UpdateAutonomousDatabaseDetails(
Integer dataStorageSizeInGBs,
String displayName,
Boolean isFreeTier,
+ String availabilityDomain,
+ java.util.Date timeScheduledAdUpdate,
+ Boolean isDisableAdUpdateSchedule,
+ Boolean isScheduleAdUpdateToEarliest,
String adminPassword,
String dbName,
java.util.Map freeformTags,
@@ -170,6 +178,10 @@ public UpdateAutonomousDatabaseDetails(
this.dataStorageSizeInGBs = dataStorageSizeInGBs;
this.displayName = displayName;
this.isFreeTier = isFreeTier;
+ this.availabilityDomain = availabilityDomain;
+ this.timeScheduledAdUpdate = timeScheduledAdUpdate;
+ this.isDisableAdUpdateSchedule = isDisableAdUpdateSchedule;
+ this.isScheduleAdUpdateToEarliest = isScheduleAdUpdateToEarliest;
this.adminPassword = adminPassword;
this.dbName = dbName;
this.freeformTags = freeformTags;
@@ -498,6 +510,70 @@ public Builder isFreeTier(Boolean isFreeTier) {
this.__explicitlySet__.add("isFreeTier");
return this;
}
+ /**
+ * The Autonomous Database Serverless instance's availability domain.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("availabilityDomain")
+ private String availabilityDomain;
+
+ /**
+ * The Autonomous Database Serverless instance's availability domain.
+ * @param availabilityDomain the value to set
+ * @return this builder
+ **/
+ public Builder availabilityDomain(String availabilityDomain) {
+ this.availabilityDomain = availabilityDomain;
+ this.__explicitlySet__.add("availabilityDomain");
+ return this;
+ }
+ /**
+ * The date and time when the Autonomous Database availability domain is to be updated.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeScheduledAdUpdate")
+ private java.util.Date timeScheduledAdUpdate;
+
+ /**
+ * The date and time when the Autonomous Database availability domain is to be updated.
+ * @param timeScheduledAdUpdate the value to set
+ * @return this builder
+ **/
+ public Builder timeScheduledAdUpdate(java.util.Date timeScheduledAdUpdate) {
+ this.timeScheduledAdUpdate = timeScheduledAdUpdate;
+ this.__explicitlySet__.add("timeScheduledAdUpdate");
+ return this;
+ }
+ /**
+ * True, if you want to disable Autonomous Database availability domain scheduled update.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("isDisableAdUpdateSchedule")
+ private Boolean isDisableAdUpdateSchedule;
+
+ /**
+ * True, if you want to disable Autonomous Database availability domain scheduled update.
+ * @param isDisableAdUpdateSchedule the value to set
+ * @return this builder
+ **/
+ public Builder isDisableAdUpdateSchedule(Boolean isDisableAdUpdateSchedule) {
+ this.isDisableAdUpdateSchedule = isDisableAdUpdateSchedule;
+ this.__explicitlySet__.add("isDisableAdUpdateSchedule");
+ return this;
+ }
+ /**
+ * True, if you want to schedule Autonomous Database availability domain update to the earliest available time.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("isScheduleAdUpdateToEarliest")
+ private Boolean isScheduleAdUpdateToEarliest;
+
+ /**
+ * True, if you want to schedule Autonomous Database availability domain update to the earliest available time.
+ * @param isScheduleAdUpdateToEarliest the value to set
+ * @return this builder
+ **/
+ public Builder isScheduleAdUpdateToEarliest(Boolean isScheduleAdUpdateToEarliest) {
+ this.isScheduleAdUpdateToEarliest = isScheduleAdUpdateToEarliest;
+ this.__explicitlySet__.add("isScheduleAdUpdateToEarliest");
+ return this;
+ }
/**
* The password must be between 12 and 30 characters long, and must contain at least 1 uppercase, 1 lowercase, and 1 numeric character. It cannot contain the double quote symbol (") or the username "admin", regardless of casing. It must be different from the last four passwords and it must not be a password used within the last 24 hours.
*
@@ -1609,6 +1685,10 @@ public UpdateAutonomousDatabaseDetails build() {
this.dataStorageSizeInGBs,
this.displayName,
this.isFreeTier,
+ this.availabilityDomain,
+ this.timeScheduledAdUpdate,
+ this.isDisableAdUpdateSchedule,
+ this.isScheduleAdUpdateToEarliest,
this.adminPassword,
this.dbName,
this.freeformTags,
@@ -1706,6 +1786,18 @@ public Builder copy(UpdateAutonomousDatabaseDetails model) {
if (model.wasPropertyExplicitlySet("isFreeTier")) {
this.isFreeTier(model.getIsFreeTier());
}
+ if (model.wasPropertyExplicitlySet("availabilityDomain")) {
+ this.availabilityDomain(model.getAvailabilityDomain());
+ }
+ if (model.wasPropertyExplicitlySet("timeScheduledAdUpdate")) {
+ this.timeScheduledAdUpdate(model.getTimeScheduledAdUpdate());
+ }
+ if (model.wasPropertyExplicitlySet("isDisableAdUpdateSchedule")) {
+ this.isDisableAdUpdateSchedule(model.getIsDisableAdUpdateSchedule());
+ }
+ if (model.wasPropertyExplicitlySet("isScheduleAdUpdateToEarliest")) {
+ this.isScheduleAdUpdateToEarliest(model.getIsScheduleAdUpdateToEarliest());
+ }
if (model.wasPropertyExplicitlySet("adminPassword")) {
this.adminPassword(model.getAdminPassword());
}
@@ -2154,6 +2246,62 @@ public Boolean getIsFreeTier() {
return isFreeTier;
}
+ /**
+ * The Autonomous Database Serverless instance's availability domain.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("availabilityDomain")
+ private final String availabilityDomain;
+
+ /**
+ * The Autonomous Database Serverless instance's availability domain.
+ * @return the value
+ **/
+ public String getAvailabilityDomain() {
+ return availabilityDomain;
+ }
+
+ /**
+ * The date and time when the Autonomous Database availability domain is to be updated.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeScheduledAdUpdate")
+ private final java.util.Date timeScheduledAdUpdate;
+
+ /**
+ * The date and time when the Autonomous Database availability domain is to be updated.
+ * @return the value
+ **/
+ public java.util.Date getTimeScheduledAdUpdate() {
+ return timeScheduledAdUpdate;
+ }
+
+ /**
+ * True, if you want to disable Autonomous Database availability domain scheduled update.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("isDisableAdUpdateSchedule")
+ private final Boolean isDisableAdUpdateSchedule;
+
+ /**
+ * True, if you want to disable Autonomous Database availability domain scheduled update.
+ * @return the value
+ **/
+ public Boolean getIsDisableAdUpdateSchedule() {
+ return isDisableAdUpdateSchedule;
+ }
+
+ /**
+ * True, if you want to schedule Autonomous Database availability domain update to the earliest available time.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("isScheduleAdUpdateToEarliest")
+ private final Boolean isScheduleAdUpdateToEarliest;
+
+ /**
+ * True, if you want to schedule Autonomous Database availability domain update to the earliest available time.
+ * @return the value
+ **/
+ public Boolean getIsScheduleAdUpdateToEarliest() {
+ return isScheduleAdUpdateToEarliest;
+ }
+
/**
* The password must be between 12 and 30 characters long, and must contain at least 1 uppercase, 1 lowercase, and 1 numeric character. It cannot contain the double quote symbol (") or the username "admin", regardless of casing. It must be different from the last four passwords and it must not be a password used within the last 24 hours.
*
@@ -3408,6 +3556,12 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", dataStorageSizeInGBs=").append(String.valueOf(this.dataStorageSizeInGBs));
sb.append(", displayName=").append(String.valueOf(this.displayName));
sb.append(", isFreeTier=").append(String.valueOf(this.isFreeTier));
+ sb.append(", availabilityDomain=").append(String.valueOf(this.availabilityDomain));
+ sb.append(", timeScheduledAdUpdate=").append(String.valueOf(this.timeScheduledAdUpdate));
+ sb.append(", isDisableAdUpdateSchedule=")
+ .append(String.valueOf(this.isDisableAdUpdateSchedule));
+ sb.append(", isScheduleAdUpdateToEarliest=")
+ .append(String.valueOf(this.isScheduleAdUpdateToEarliest));
sb.append(", adminPassword=").append(String.valueOf(this.adminPassword));
sb.append(", dbName=").append(String.valueOf(this.dbName));
sb.append(", freeformTags=").append(String.valueOf(this.freeformTags));
@@ -3502,6 +3656,12 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.dataStorageSizeInGBs, other.dataStorageSizeInGBs)
&& java.util.Objects.equals(this.displayName, other.displayName)
&& java.util.Objects.equals(this.isFreeTier, other.isFreeTier)
+ && java.util.Objects.equals(this.availabilityDomain, other.availabilityDomain)
+ && java.util.Objects.equals(this.timeScheduledAdUpdate, other.timeScheduledAdUpdate)
+ && java.util.Objects.equals(
+ this.isDisableAdUpdateSchedule, other.isDisableAdUpdateSchedule)
+ && java.util.Objects.equals(
+ this.isScheduleAdUpdateToEarliest, other.isScheduleAdUpdateToEarliest)
&& java.util.Objects.equals(this.adminPassword, other.adminPassword)
&& java.util.Objects.equals(this.dbName, other.dbName)
&& java.util.Objects.equals(this.freeformTags, other.freeformTags)
@@ -3615,6 +3775,26 @@ public int hashCode() {
: this.dataStorageSizeInGBs.hashCode());
result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode());
result = (result * PRIME) + (this.isFreeTier == null ? 43 : this.isFreeTier.hashCode());
+ result =
+ (result * PRIME)
+ + (this.availabilityDomain == null
+ ? 43
+ : this.availabilityDomain.hashCode());
+ result =
+ (result * PRIME)
+ + (this.timeScheduledAdUpdate == null
+ ? 43
+ : this.timeScheduledAdUpdate.hashCode());
+ result =
+ (result * PRIME)
+ + (this.isDisableAdUpdateSchedule == null
+ ? 43
+ : this.isDisableAdUpdateSchedule.hashCode());
+ result =
+ (result * PRIME)
+ + (this.isScheduleAdUpdateToEarliest == null
+ ? 43
+ : this.isScheduleAdUpdateToEarliest.hashCode());
result =
(result * PRIME)
+ (this.adminPassword == null ? 43 : this.adminPassword.hashCode());
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateDatabaseDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateDatabaseDetails.java
index 0bb2065ca0..145c56b798 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateDatabaseDetails.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateDatabaseDetails.java
@@ -35,7 +35,12 @@ public UpdateDatabaseDetails(
java.util.Map freeformTags,
java.util.Map> definedTags,
ManagedSoftwareUpdateInputDetails managedSoftwareUpdateDetails,
- PatchOptions patchOptions) {
+ PatchOptions patchOptions,
+ String databaseAdminPassword,
+ ProtectionMode protectionMode,
+ TransportType transportType,
+ Boolean isActiveDataGuardEnabled,
+ AutoFailoverConfiguration autoFailoverConfiguration) {
super();
this.dbBackupConfig = dbBackupConfig;
this.dbHomeId = dbHomeId;
@@ -49,6 +54,12 @@ public UpdateDatabaseDetails(
this.definedTags = definedTags;
this.managedSoftwareUpdateDetails = managedSoftwareUpdateDetails;
this.patchOptions = patchOptions;
+ this.databaseAdminPassword =
+ databaseAdminPassword != null ? databaseAdminPassword.toCharArray() : null;
+ this.protectionMode = protectionMode;
+ this.transportType = transportType;
+ this.isActiveDataGuardEnabled = isActiveDataGuardEnabled;
+ this.autoFailoverConfiguration = autoFailoverConfiguration;
}
@com.fasterxml.jackson.annotation.JsonCreator
@@ -63,7 +74,12 @@ public UpdateDatabaseDetails(
"freeformTags",
"definedTags",
"managedSoftwareUpdateDetails",
- "patchOptions"
+ "patchOptions",
+ "databaseAdminPassword",
+ "protectionMode",
+ "transportType",
+ "isActiveDataGuardEnabled",
+ "autoFailoverConfiguration"
})
public UpdateDatabaseDetails(
DbBackupConfig dbBackupConfig,
@@ -75,7 +91,12 @@ public UpdateDatabaseDetails(
java.util.Map freeformTags,
java.util.Map> definedTags,
ManagedSoftwareUpdateInputDetails managedSoftwareUpdateDetails,
- PatchOptions patchOptions) {
+ PatchOptions patchOptions,
+ char[] databaseAdminPassword,
+ ProtectionMode protectionMode,
+ TransportType transportType,
+ Boolean isActiveDataGuardEnabled,
+ AutoFailoverConfiguration autoFailoverConfiguration) {
super();
this.dbBackupConfig = dbBackupConfig;
this.dbHomeId = dbHomeId;
@@ -87,6 +108,11 @@ public UpdateDatabaseDetails(
this.definedTags = definedTags;
this.managedSoftwareUpdateDetails = managedSoftwareUpdateDetails;
this.patchOptions = patchOptions;
+ this.databaseAdminPassword = databaseAdminPassword;
+ this.protectionMode = protectionMode;
+ this.transportType = transportType;
+ this.isActiveDataGuardEnabled = isActiveDataGuardEnabled;
+ this.autoFailoverConfiguration = autoFailoverConfiguration;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -260,6 +286,122 @@ public Builder patchOptions(PatchOptions patchOptions) {
this.__explicitlySet__.add("patchOptions");
return this;
}
+ /**
+ * The administrator password of the primary database in this Data Guard association.
+ *
+ **The password MUST be the same as the primary admin password.**
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("databaseAdminPassword")
+ private char[] databaseAdminPassword;
+
+ /**
+ * The administrator password of the primary database in this Data Guard association.
+ *
+ **The password MUST be the same as the primary admin password.**
+ *
+ * @param databaseAdminPassword the value to set
+ * @return this builder
+ **/
+ public Builder databaseAdminPassword(char[] databaseAdminPassword) {
+ this.databaseAdminPassword = databaseAdminPassword;
+ this.__explicitlySet__.add("databaseAdminPassword");
+ return this;
+ }
+
+ public Builder databaseAdminPassword(String databaseAdminPassword) {
+ this.databaseAdminPassword =
+ databaseAdminPassword != null ? databaseAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("databaseAdminPassword");
+ return this;
+ }
+
+ /**
+ * The protection mode of this Data Guard. For more information, see
+ * [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000)
+ * in the Oracle Data Guard documentation.
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("protectionMode")
+ private ProtectionMode protectionMode;
+
+ /**
+ * The protection mode of this Data Guard. For more information, see
+ * [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000)
+ * in the Oracle Data Guard documentation.
+ *
+ * @param protectionMode the value to set
+ * @return this builder
+ **/
+ public Builder protectionMode(ProtectionMode protectionMode) {
+ this.protectionMode = protectionMode;
+ this.__explicitlySet__.add("protectionMode");
+ return this;
+ }
+ /**
+ * The redo transport type to use for this Data Guard association. Valid values depend on the specified {@code protectionMode}:
+ *
+ * MAXIMUM_AVAILABILITY - SYNC or FASTSYNC
+ * * MAXIMUM_PERFORMANCE - ASYNC
+ * * MAXIMUM_PROTECTION - SYNC
+ *
+ * For more information, see
+ * [Redo Transport Services](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-redo-transport-services.htm#SBYDB00400)
+ * in the Oracle Data Guard documentation.
+ *
+ **IMPORTANT** - The only transport type currently supported by the Database service is ASYNC.
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("transportType")
+ private TransportType transportType;
+
+ /**
+ * The redo transport type to use for this Data Guard association. Valid values depend on the specified {@code protectionMode}:
+ *
+ * MAXIMUM_AVAILABILITY - SYNC or FASTSYNC
+ * * MAXIMUM_PERFORMANCE - ASYNC
+ * * MAXIMUM_PROTECTION - SYNC
+ *
+ * For more information, see
+ * [Redo Transport Services](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-redo-transport-services.htm#SBYDB00400)
+ * in the Oracle Data Guard documentation.
+ *
+ **IMPORTANT** - The only transport type currently supported by the Database service is ASYNC.
+ *
+ * @param transportType the value to set
+ * @return this builder
+ **/
+ public Builder transportType(TransportType transportType) {
+ this.transportType = transportType;
+ this.__explicitlySet__.add("transportType");
+ return this;
+ }
+ /**
+ * True if active Data Guard is enabled.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("isActiveDataGuardEnabled")
+ private Boolean isActiveDataGuardEnabled;
+
+ /**
+ * True if active Data Guard is enabled.
+ * @param isActiveDataGuardEnabled the value to set
+ * @return this builder
+ **/
+ public Builder isActiveDataGuardEnabled(Boolean isActiveDataGuardEnabled) {
+ this.isActiveDataGuardEnabled = isActiveDataGuardEnabled;
+ this.__explicitlySet__.add("isActiveDataGuardEnabled");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("autoFailoverConfiguration")
+ private AutoFailoverConfiguration autoFailoverConfiguration;
+
+ public Builder autoFailoverConfiguration(
+ AutoFailoverConfiguration autoFailoverConfiguration) {
+ this.autoFailoverConfiguration = autoFailoverConfiguration;
+ this.__explicitlySet__.add("autoFailoverConfiguration");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -276,7 +418,12 @@ public UpdateDatabaseDetails build() {
this.freeformTags,
this.definedTags,
this.managedSoftwareUpdateDetails,
- this.patchOptions);
+ this.patchOptions,
+ this.databaseAdminPassword,
+ this.protectionMode,
+ this.transportType,
+ this.isActiveDataGuardEnabled,
+ this.autoFailoverConfiguration);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -315,6 +462,21 @@ public Builder copy(UpdateDatabaseDetails model) {
if (model.wasPropertyExplicitlySet("patchOptions")) {
this.patchOptions(model.getPatchOptions());
}
+ if (model.wasPropertyExplicitlySet("databaseAdminPassword")) {
+ this.databaseAdminPassword(model.getDatabaseAdminPassword());
+ }
+ if (model.wasPropertyExplicitlySet("protectionMode")) {
+ this.protectionMode(model.getProtectionMode());
+ }
+ if (model.wasPropertyExplicitlySet("transportType")) {
+ this.transportType(model.getTransportType());
+ }
+ if (model.wasPropertyExplicitlySet("isActiveDataGuardEnabled")) {
+ this.isActiveDataGuardEnabled(model.getIsActiveDataGuardEnabled());
+ }
+ if (model.wasPropertyExplicitlySet("autoFailoverConfiguration")) {
+ this.autoFailoverConfiguration(model.getAutoFailoverConfiguration());
+ }
return this;
}
}
@@ -490,6 +652,203 @@ public PatchOptions getPatchOptions() {
return patchOptions;
}
+ /**
+ * The administrator password of the primary database in this Data Guard association.
+ *
+ **The password MUST be the same as the primary admin password.**
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("databaseAdminPassword")
+ private final char[] databaseAdminPassword;
+
+ /**
+ * The administrator password of the primary database in this Data Guard association.
+ * <p>
+ **The password MUST be the same as the primary admin password.**
+ *
+ * return the value
+ * @Deprecated - Use getDatabaseAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getDatabaseAdminPassword() {
+ return databaseAdminPassword != null ? new String(databaseAdminPassword) : null;
+ }
+
+ /**
+ * The administrator password of the primary database in this Data Guard association.
+ *
+ **The password MUST be the same as the primary admin password.**
+ *
+ * @return the value
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("databaseAdminPassword")
+ public char[] getDatabaseAdminPassword__AsCharArray() {
+ return databaseAdminPassword;
+ }
+ /**
+ * The protection mode of this Data Guard. For more information, see
+ * [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000)
+ * in the Oracle Data Guard documentation.
+ *
+ **/
+ public enum ProtectionMode {
+ MaximumAvailability("MAXIMUM_AVAILABILITY"),
+ MaximumPerformance("MAXIMUM_PERFORMANCE"),
+ MaximumProtection("MAXIMUM_PROTECTION"),
+ ;
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (ProtectionMode v : ProtectionMode.values()) {
+ map.put(v.getValue(), v);
+ }
+ }
+
+ ProtectionMode(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static ProtectionMode create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ throw new IllegalArgumentException("Invalid ProtectionMode: " + key);
+ }
+ };
+ /**
+ * The protection mode of this Data Guard. For more information, see
+ * [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000)
+ * in the Oracle Data Guard documentation.
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("protectionMode")
+ private final ProtectionMode protectionMode;
+
+ /**
+ * The protection mode of this Data Guard. For more information, see
+ * [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000)
+ * in the Oracle Data Guard documentation.
+ *
+ * @return the value
+ **/
+ public ProtectionMode getProtectionMode() {
+ return protectionMode;
+ }
+
+ /**
+ * The redo transport type to use for this Data Guard association. Valid values depend on the specified {@code protectionMode}:
+ *
+ * MAXIMUM_AVAILABILITY - SYNC or FASTSYNC
+ * * MAXIMUM_PERFORMANCE - ASYNC
+ * * MAXIMUM_PROTECTION - SYNC
+ *
+ * For more information, see
+ * [Redo Transport Services](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-redo-transport-services.htm#SBYDB00400)
+ * in the Oracle Data Guard documentation.
+ *
+ **IMPORTANT** - The only transport type currently supported by the Database service is ASYNC.
+ *
+ **/
+ public enum TransportType {
+ Sync("SYNC"),
+ Async("ASYNC"),
+ Fastsync("FASTSYNC"),
+ ;
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (TransportType v : TransportType.values()) {
+ map.put(v.getValue(), v);
+ }
+ }
+
+ TransportType(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static TransportType create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ throw new IllegalArgumentException("Invalid TransportType: " + key);
+ }
+ };
+ /**
+ * The redo transport type to use for this Data Guard association. Valid values depend on the specified {@code protectionMode}:
+ *
+ * MAXIMUM_AVAILABILITY - SYNC or FASTSYNC
+ * * MAXIMUM_PERFORMANCE - ASYNC
+ * * MAXIMUM_PROTECTION - SYNC
+ *
+ * For more information, see
+ * [Redo Transport Services](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-redo-transport-services.htm#SBYDB00400)
+ * in the Oracle Data Guard documentation.
+ *
+ **IMPORTANT** - The only transport type currently supported by the Database service is ASYNC.
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("transportType")
+ private final TransportType transportType;
+
+ /**
+ * The redo transport type to use for this Data Guard association. Valid values depend on the specified {@code protectionMode}:
+ *
+ * MAXIMUM_AVAILABILITY - SYNC or FASTSYNC
+ * * MAXIMUM_PERFORMANCE - ASYNC
+ * * MAXIMUM_PROTECTION - SYNC
+ *
+ * For more information, see
+ * [Redo Transport Services](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-redo-transport-services.htm#SBYDB00400)
+ * in the Oracle Data Guard documentation.
+ *
+ **IMPORTANT** - The only transport type currently supported by the Database service is ASYNC.
+ *
+ * @return the value
+ **/
+ public TransportType getTransportType() {
+ return transportType;
+ }
+
+ /**
+ * True if active Data Guard is enabled.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("isActiveDataGuardEnabled")
+ private final Boolean isActiveDataGuardEnabled;
+
+ /**
+ * True if active Data Guard is enabled.
+ * @return the value
+ **/
+ public Boolean getIsActiveDataGuardEnabled() {
+ return isActiveDataGuardEnabled;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("autoFailoverConfiguration")
+ private final AutoFailoverConfiguration autoFailoverConfiguration;
+
+ public AutoFailoverConfiguration getAutoFailoverConfiguration() {
+ return autoFailoverConfiguration;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -515,6 +874,13 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", managedSoftwareUpdateDetails=")
.append(String.valueOf(this.managedSoftwareUpdateDetails));
sb.append(", patchOptions=").append(String.valueOf(this.patchOptions));
+ sb.append(", databaseAdminPassword=").append("");
+ sb.append(", protectionMode=").append(String.valueOf(this.protectionMode));
+ sb.append(", transportType=").append(String.valueOf(this.transportType));
+ sb.append(", isActiveDataGuardEnabled=")
+ .append(String.valueOf(this.isActiveDataGuardEnabled));
+ sb.append(", autoFailoverConfiguration=")
+ .append(String.valueOf(this.autoFailoverConfiguration));
sb.append(")");
return sb.toString();
}
@@ -540,6 +906,13 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(
this.managedSoftwareUpdateDetails, other.managedSoftwareUpdateDetails)
&& java.util.Objects.equals(this.patchOptions, other.patchOptions)
+ && java.util.Objects.equals(this.databaseAdminPassword, other.databaseAdminPassword)
+ && java.util.Objects.equals(this.protectionMode, other.protectionMode)
+ && java.util.Objects.equals(this.transportType, other.transportType)
+ && java.util.Objects.equals(
+ this.isActiveDataGuardEnabled, other.isActiveDataGuardEnabled)
+ && java.util.Objects.equals(
+ this.autoFailoverConfiguration, other.autoFailoverConfiguration)
&& super.equals(other);
}
@@ -577,6 +950,27 @@ public int hashCode() {
? 43
: this.managedSoftwareUpdateDetails.hashCode());
result = (result * PRIME) + (this.patchOptions == null ? 43 : this.patchOptions.hashCode());
+ result =
+ (result * PRIME)
+ + (this.databaseAdminPassword == null
+ ? 43
+ : this.databaseAdminPassword.hashCode());
+ result =
+ (result * PRIME)
+ + (this.protectionMode == null ? 43 : this.protectionMode.hashCode());
+ result =
+ (result * PRIME)
+ + (this.transportType == null ? 43 : this.transportType.hashCode());
+ result =
+ (result * PRIME)
+ + (this.isActiveDataGuardEnabled == null
+ ? 43
+ : this.isActiveDataGuardEnabled.hashCode());
+ result =
+ (result * PRIME)
+ + (this.autoFailoverConfiguration == null
+ ? 43
+ : this.autoFailoverConfiguration.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/requests/GetAutonomousContainerDatabaseBackupRequest.java b/bmc-database/src/main/java/com/oracle/bmc/database/requests/GetAutonomousContainerDatabaseBackupRequest.java
new file mode 100644
index 0000000000..b5772a8690
--- /dev/null
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/requests/GetAutonomousContainerDatabaseBackupRequest.java
@@ -0,0 +1,210 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.database.requests;
+
+import com.oracle.bmc.database.model.*;
+/**
+ * Example: Click here to see how to use GetAutonomousContainerDatabaseBackupRequest.
+ */
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+public class GetAutonomousContainerDatabaseBackupRequest
+ extends com.oracle.bmc.requests.BmcRequest {
+
+ /**
+ * The Autonomous Container Database backup [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
+ */
+ private String autonomousContainerDatabaseBackupId;
+
+ /**
+ * The Autonomous Container Database backup [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
+ */
+ public String getAutonomousContainerDatabaseBackupId() {
+ return autonomousContainerDatabaseBackupId;
+ }
+ /**
+ * Unique identifier for the request.
+ *
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique identifier for the request.
+ *
+ */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.requests.BmcRequest.Builder<
+ GetAutonomousContainerDatabaseBackupRequest, java.lang.Void> {
+ private com.oracle.bmc.util.internal.Consumer
+ invocationCallback = null;
+ private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null;
+
+ /**
+ * The Autonomous Container Database backup [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
+ */
+ private String autonomousContainerDatabaseBackupId = null;
+
+ /**
+ * The Autonomous Container Database backup [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
+ * @param autonomousContainerDatabaseBackupId the value to set
+ * @return this builder instance
+ */
+ public Builder autonomousContainerDatabaseBackupId(
+ String autonomousContainerDatabaseBackupId) {
+ this.autonomousContainerDatabaseBackupId = autonomousContainerDatabaseBackupId;
+ return this;
+ }
+
+ /**
+ * Unique identifier for the request.
+ *
+ */
+ private String opcRequestId = null;
+
+ /**
+ * Unique identifier for the request.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder instance
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /**
+ * 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.util.internal.Consumer
+ 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(GetAutonomousContainerDatabaseBackupRequest o) {
+ autonomousContainerDatabaseBackupId(o.getAutonomousContainerDatabaseBackupId());
+ opcRequestId(o.getOpcRequestId());
+ invocationCallback(o.getInvocationCallback());
+ retryConfiguration(o.getRetryConfiguration());
+ return this;
+ }
+
+ /**
+ * Build the instance of GetAutonomousContainerDatabaseBackupRequest as configured by this builder
+ *
+ * Note that this method takes calls to {@link Builder#invocationCallback(com.oracle.bmc.util.internal.Consumer)} into account,
+ * while the method {@link Builder#buildWithoutInvocationCallback} does not.
+ *
+ * This is the preferred method to build an instance.
+ *
+ * @return instance of GetAutonomousContainerDatabaseBackupRequest
+ */
+ public GetAutonomousContainerDatabaseBackupRequest build() {
+ GetAutonomousContainerDatabaseBackupRequest request = buildWithoutInvocationCallback();
+ request.setInvocationCallback(invocationCallback);
+ request.setRetryConfiguration(retryConfiguration);
+ return request;
+ }
+
+ /**
+ * Build the instance of GetAutonomousContainerDatabaseBackupRequest as configured by this builder
+ *
+ * Note that this method does not take calls to {@link Builder#invocationCallback(com.oracle.bmc.util.internal.Consumer)} into account,
+ * while the method {@link Builder#build} does
+ *
+ * @return instance of GetAutonomousContainerDatabaseBackupRequest
+ */
+ public GetAutonomousContainerDatabaseBackupRequest buildWithoutInvocationCallback() {
+ GetAutonomousContainerDatabaseBackupRequest request =
+ new GetAutonomousContainerDatabaseBackupRequest();
+ request.autonomousContainerDatabaseBackupId = autonomousContainerDatabaseBackupId;
+ request.opcRequestId = opcRequestId;
+ return request;
+ // new GetAutonomousContainerDatabaseBackupRequest(autonomousContainerDatabaseBackupId, 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()
+ .autonomousContainerDatabaseBackupId(autonomousContainerDatabaseBackupId)
+ .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(",autonomousContainerDatabaseBackupId=")
+ .append(String.valueOf(this.autonomousContainerDatabaseBackupId));
+ 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 GetAutonomousContainerDatabaseBackupRequest)) {
+ return false;
+ }
+
+ GetAutonomousContainerDatabaseBackupRequest other =
+ (GetAutonomousContainerDatabaseBackupRequest) o;
+ return super.equals(o)
+ && java.util.Objects.equals(
+ this.autonomousContainerDatabaseBackupId,
+ other.autonomousContainerDatabaseBackupId)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.autonomousContainerDatabaseBackupId == null
+ ? 43
+ : this.autonomousContainerDatabaseBackupId.hashCode());
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListAutonomousDatabaseBackupsRequest.java b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListAutonomousDatabaseBackupsRequest.java
index 00d8de2eab..22c8ef1b13 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListAutonomousDatabaseBackupsRequest.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListAutonomousDatabaseBackupsRequest.java
@@ -229,6 +229,19 @@ public String getKeyStoreId() {
getInfrastructureType() {
return infrastructureType;
}
+ /**
+ * Filters backups based on the current Autonomous AI Database configuration; returns only those relevant for point-in-time recovery (PITR). Does not guarantee exclusion of backups in orphan ranges.
+ *
+ */
+ private Boolean isPitrEligible;
+
+ /**
+ * Filters backups based on the current Autonomous AI Database configuration; returns only those relevant for point-in-time recovery (PITR). Does not guarantee exclusion of backups in orphan ranges.
+ *
+ */
+ public Boolean getIsPitrEligible() {
+ return isPitrEligible;
+ }
/**
* Unique identifier for the request.
*
@@ -442,6 +455,23 @@ public Builder infrastructureType(
return this;
}
+ /**
+ * Filters backups based on the current Autonomous AI Database configuration; returns only those relevant for point-in-time recovery (PITR). Does not guarantee exclusion of backups in orphan ranges.
+ *
+ */
+ private Boolean isPitrEligible = null;
+
+ /**
+ * Filters backups based on the current Autonomous AI Database configuration; returns only those relevant for point-in-time recovery (PITR). Does not guarantee exclusion of backups in orphan ranges.
+ *
+ * @param isPitrEligible the value to set
+ * @return this builder instance
+ */
+ public Builder isPitrEligible(Boolean isPitrEligible) {
+ this.isPitrEligible = isPitrEligible;
+ return this;
+ }
+
/**
* Unique identifier for the request.
*
@@ -499,6 +529,7 @@ public Builder copy(ListAutonomousDatabaseBackupsRequest o) {
backupDestinationId(o.getBackupDestinationId());
keyStoreId(o.getKeyStoreId());
infrastructureType(o.getInfrastructureType());
+ isPitrEligible(o.getIsPitrEligible());
opcRequestId(o.getOpcRequestId());
invocationCallback(o.getInvocationCallback());
retryConfiguration(o.getRetryConfiguration());
@@ -545,9 +576,10 @@ public ListAutonomousDatabaseBackupsRequest buildWithoutInvocationCallback() {
request.backupDestinationId = backupDestinationId;
request.keyStoreId = keyStoreId;
request.infrastructureType = infrastructureType;
+ request.isPitrEligible = isPitrEligible;
request.opcRequestId = opcRequestId;
return request;
- // new ListAutonomousDatabaseBackupsRequest(autonomousDatabaseId, compartmentId, limit, page, sortBy, sortOrder, lifecycleState, displayName, type, backupDestinationId, keyStoreId, infrastructureType, opcRequestId);
+ // new ListAutonomousDatabaseBackupsRequest(autonomousDatabaseId, compartmentId, limit, page, sortBy, sortOrder, lifecycleState, displayName, type, backupDestinationId, keyStoreId, infrastructureType, isPitrEligible, opcRequestId);
}
}
@@ -569,6 +601,7 @@ public Builder toBuilder() {
.backupDestinationId(backupDestinationId)
.keyStoreId(keyStoreId)
.infrastructureType(infrastructureType)
+ .isPitrEligible(isPitrEligible)
.opcRequestId(opcRequestId);
}
@@ -597,6 +630,7 @@ public String toString() {
sb.append(",backupDestinationId=").append(String.valueOf(this.backupDestinationId));
sb.append(",keyStoreId=").append(String.valueOf(this.keyStoreId));
sb.append(",infrastructureType=").append(String.valueOf(this.infrastructureType));
+ sb.append(",isPitrEligible=").append(String.valueOf(this.isPitrEligible));
sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId));
sb.append(")");
return sb.toString();
@@ -625,6 +659,7 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.backupDestinationId, other.backupDestinationId)
&& java.util.Objects.equals(this.keyStoreId, other.keyStoreId)
&& java.util.Objects.equals(this.infrastructureType, other.infrastructureType)
+ && java.util.Objects.equals(this.isPitrEligible, other.isPitrEligible)
&& java.util.Objects.equals(this.opcRequestId, other.opcRequestId);
}
@@ -660,6 +695,9 @@ public int hashCode() {
+ (this.infrastructureType == null
? 43
: this.infrastructureType.hashCode());
+ result =
+ (result * PRIME)
+ + (this.isPitrEligible == null ? 43 : this.isPitrEligible.hashCode());
result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
return result;
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest.java b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest.java
new file mode 100644
index 0000000000..bbb3fb6e7b
--- /dev/null
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest.java
@@ -0,0 +1,345 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.database.requests;
+
+import com.oracle.bmc.database.model.*;
+/**
+ * Example: Click here to see how to use ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest.
+ */
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+public class ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest
+ extends com.oracle.bmc.requests.BmcRequest {
+
+ /**
+ * The Autonomous Container Database [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
+ */
+ private String autonomousContainerDatabaseId;
+
+ /**
+ * The Autonomous Container Database [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
+ */
+ public String getAutonomousContainerDatabaseId() {
+ return autonomousContainerDatabaseId;
+ }
+ /**
+ * The timestamp at which the list of autonomous databases present to be returned (ISO-8601 format, e.g., "2025-12-02T06:39:15Z"). The requested value must be after the end timestamp of the oldest available Autonomous Container Database backup.
+ */
+ private java.util.Date timeStampRequested;
+
+ /**
+ * The timestamp at which the list of autonomous databases present to be returned (ISO-8601 format, e.g., "2025-12-02T06:39:15Z"). The requested value must be after the end timestamp of the oldest available Autonomous Container Database backup.
+ */
+ public java.util.Date getTimeStampRequested() {
+ return timeStampRequested;
+ }
+ /**
+ * The compartment [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). If not provided, uses the Autonomous Container Database's compartment.
+ */
+ private String compartmentId;
+
+ /**
+ * The compartment [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). If not provided, uses the Autonomous Container Database's compartment.
+ */
+ public String getCompartmentId() {
+ return compartmentId;
+ }
+ /**
+ * The maximum number of items to return per page.
+ */
+ private Integer limit;
+
+ /**
+ * The maximum number of items to return per page.
+ */
+ public Integer getLimit() {
+ return limit;
+ }
+ /**
+ * The pagination token to continue listing from.
+ */
+ private String page;
+
+ /**
+ * The pagination token to continue listing from.
+ */
+ public String getPage() {
+ return page;
+ }
+ /**
+ * Unique identifier for the request.
+ *
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique identifier for the request.
+ *
+ */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.requests.BmcRequest.Builder<
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest,
+ java.lang.Void> {
+ private com.oracle.bmc.util.internal.Consumer
+ invocationCallback = null;
+ private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null;
+
+ /**
+ * The Autonomous Container Database [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
+ */
+ private String autonomousContainerDatabaseId = null;
+
+ /**
+ * The Autonomous Container Database [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
+ * @param autonomousContainerDatabaseId the value to set
+ * @return this builder instance
+ */
+ public Builder autonomousContainerDatabaseId(String autonomousContainerDatabaseId) {
+ this.autonomousContainerDatabaseId = autonomousContainerDatabaseId;
+ return this;
+ }
+
+ /**
+ * The timestamp at which the list of autonomous databases present to be returned (ISO-8601 format, e.g., "2025-12-02T06:39:15Z"). The requested value must be after the end timestamp of the oldest available Autonomous Container Database backup.
+ */
+ private java.util.Date timeStampRequested = null;
+
+ /**
+ * The timestamp at which the list of autonomous databases present to be returned (ISO-8601 format, e.g., "2025-12-02T06:39:15Z"). The requested value must be after the end timestamp of the oldest available Autonomous Container Database backup.
+ * @param timeStampRequested the value to set
+ * @return this builder instance
+ */
+ public Builder timeStampRequested(java.util.Date timeStampRequested) {
+ this.timeStampRequested = timeStampRequested;
+ return this;
+ }
+
+ /**
+ * The compartment [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). If not provided, uses the Autonomous Container Database's compartment.
+ */
+ private String compartmentId = null;
+
+ /**
+ * The compartment [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). If not provided, uses the Autonomous Container Database's compartment.
+ * @param compartmentId the value to set
+ * @return this builder instance
+ */
+ public Builder compartmentId(String compartmentId) {
+ this.compartmentId = compartmentId;
+ return this;
+ }
+
+ /**
+ * The maximum number of items to return per page.
+ */
+ private Integer limit = null;
+
+ /**
+ * The maximum number of items to return per page.
+ * @param limit the value to set
+ * @return this builder instance
+ */
+ public Builder limit(Integer limit) {
+ this.limit = limit;
+ return this;
+ }
+
+ /**
+ * The pagination token to continue listing from.
+ */
+ private String page = null;
+
+ /**
+ * The pagination token to continue listing from.
+ * @param page the value to set
+ * @return this builder instance
+ */
+ public Builder page(String page) {
+ this.page = page;
+ return this;
+ }
+
+ /**
+ * Unique identifier for the request.
+ *
+ */
+ private String opcRequestId = null;
+
+ /**
+ * Unique identifier for the request.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder instance
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /**
+ * 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.util.internal.Consumer
+ 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(ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest o) {
+ autonomousContainerDatabaseId(o.getAutonomousContainerDatabaseId());
+ timeStampRequested(o.getTimeStampRequested());
+ compartmentId(o.getCompartmentId());
+ limit(o.getLimit());
+ page(o.getPage());
+ opcRequestId(o.getOpcRequestId());
+ invocationCallback(o.getInvocationCallback());
+ retryConfiguration(o.getRetryConfiguration());
+ return this;
+ }
+
+ /**
+ * Build the instance of ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest as configured by this builder
+ *
+ * Note that this method takes calls to {@link Builder#invocationCallback(com.oracle.bmc.util.internal.Consumer)} into account,
+ * while the method {@link Builder#buildWithoutInvocationCallback} does not.
+ *
+ * This is the preferred method to build an instance.
+ *
+ * @return instance of ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest
+ */
+ public ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest build() {
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest request =
+ buildWithoutInvocationCallback();
+ request.setInvocationCallback(invocationCallback);
+ request.setRetryConfiguration(retryConfiguration);
+ return request;
+ }
+
+ /**
+ * Build the instance of ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest as configured by this builder
+ *
+ * Note that this method does not take calls to {@link Builder#invocationCallback(com.oracle.bmc.util.internal.Consumer)} into account,
+ * while the method {@link Builder#build} does
+ *
+ * @return instance of ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest
+ */
+ public ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest
+ buildWithoutInvocationCallback() {
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest request =
+ new ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest();
+ request.autonomousContainerDatabaseId = autonomousContainerDatabaseId;
+ request.timeStampRequested = timeStampRequested;
+ request.compartmentId = compartmentId;
+ request.limit = limit;
+ request.page = page;
+ request.opcRequestId = opcRequestId;
+ return request;
+ // new ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest(autonomousContainerDatabaseId, timeStampRequested, compartmentId, limit, page, 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()
+ .autonomousContainerDatabaseId(autonomousContainerDatabaseId)
+ .timeStampRequested(timeStampRequested)
+ .compartmentId(compartmentId)
+ .limit(limit)
+ .page(page)
+ .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(",autonomousContainerDatabaseId=")
+ .append(String.valueOf(this.autonomousContainerDatabaseId));
+ sb.append(",timeStampRequested=").append(String.valueOf(this.timeStampRequested));
+ sb.append(",compartmentId=").append(String.valueOf(this.compartmentId));
+ sb.append(",limit=").append(String.valueOf(this.limit));
+ sb.append(",page=").append(String.valueOf(this.page));
+ sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest)) {
+ return false;
+ }
+
+ ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest other =
+ (ListAutonomousDatabasesInAutonomousContainerDatabaseBackupRequest) o;
+ return super.equals(o)
+ && java.util.Objects.equals(
+ this.autonomousContainerDatabaseId, other.autonomousContainerDatabaseId)
+ && java.util.Objects.equals(this.timeStampRequested, other.timeStampRequested)
+ && java.util.Objects.equals(this.compartmentId, other.compartmentId)
+ && java.util.Objects.equals(this.limit, other.limit)
+ && java.util.Objects.equals(this.page, other.page)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.autonomousContainerDatabaseId == null
+ ? 43
+ : this.autonomousContainerDatabaseId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.timeStampRequested == null
+ ? 43
+ : this.timeStampRequested.hashCode());
+ result =
+ (result * PRIME)
+ + (this.compartmentId == null ? 43 : this.compartmentId.hashCode());
+ result = (result * PRIME) + (this.limit == null ? 43 : this.limit.hashCode());
+ result = (result * PRIME) + (this.page == null ? 43 : this.page.hashCode());
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListDatabasesRequest.java b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListDatabasesRequest.java
index 52f1b4b193..a4ebbc8e6b 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListDatabasesRequest.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListDatabasesRequest.java
@@ -182,6 +182,102 @@ public com.oracle.bmc.database.model.DatabaseSummary.LifecycleState getLifecycle
public String getDbName() {
return dbName;
}
+ /**
+ * Filter the databases by managed auto failover param.
+ */
+ private ManagedAutoFailover managedAutoFailover;
+
+ /**
+ * Filter the databases by managed auto failover param.
+ **/
+ public enum ManagedAutoFailover {
+ Registered("REGISTERED"),
+ Unregistered("UNREGISTERED"),
+ All("ALL"),
+ ;
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (ManagedAutoFailover v : ManagedAutoFailover.values()) {
+ map.put(v.getValue(), v);
+ }
+ }
+
+ ManagedAutoFailover(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static ManagedAutoFailover create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ throw new IllegalArgumentException("Invalid ManagedAutoFailover: " + key);
+ }
+ };
+
+ /**
+ * Filter the databases by managed auto failover param.
+ */
+ public ManagedAutoFailover getManagedAutoFailover() {
+ return managedAutoFailover;
+ }
+ /**
+ * Filter the databases by failoverTargets param.
+ */
+ private FailoverTargets failoverTargets;
+
+ /**
+ * Filter the databases by failoverTargets param.
+ **/
+ public enum FailoverTargets {
+ Defined("DEFINED"),
+ Undefined("UNDEFINED"),
+ All("ALL"),
+ ;
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (FailoverTargets v : FailoverTargets.values()) {
+ map.put(v.getValue(), v);
+ }
+ }
+
+ FailoverTargets(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static FailoverTargets create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ throw new IllegalArgumentException("Invalid FailoverTargets: " + key);
+ }
+ };
+
+ /**
+ * Filter the databases by failoverTargets param.
+ */
+ public FailoverTargets getFailoverTargets() {
+ return failoverTargets;
+ }
public static class Builder
implements com.oracle.bmc.requests.BmcRequest.Builder<
@@ -326,6 +422,36 @@ public Builder dbName(String dbName) {
return this;
}
+ /**
+ * Filter the databases by managed auto failover param.
+ */
+ private ManagedAutoFailover managedAutoFailover = null;
+
+ /**
+ * Filter the databases by managed auto failover param.
+ * @param managedAutoFailover the value to set
+ * @return this builder instance
+ */
+ public Builder managedAutoFailover(ManagedAutoFailover managedAutoFailover) {
+ this.managedAutoFailover = managedAutoFailover;
+ return this;
+ }
+
+ /**
+ * Filter the databases by failoverTargets param.
+ */
+ private FailoverTargets failoverTargets = null;
+
+ /**
+ * Filter the databases by failoverTargets param.
+ * @param failoverTargets the value to set
+ * @return this builder instance
+ */
+ public Builder failoverTargets(FailoverTargets failoverTargets) {
+ this.failoverTargets = failoverTargets;
+ return this;
+ }
+
/**
* Set the invocation callback for the request to be built.
* @param invocationCallback the invocation callback to be set for the request
@@ -363,6 +489,8 @@ public Builder copy(ListDatabasesRequest o) {
sortOrder(o.getSortOrder());
lifecycleState(o.getLifecycleState());
dbName(o.getDbName());
+ managedAutoFailover(o.getManagedAutoFailover());
+ failoverTargets(o.getFailoverTargets());
invocationCallback(o.getInvocationCallback());
retryConfiguration(o.getRetryConfiguration());
return this;
@@ -404,8 +532,10 @@ public ListDatabasesRequest buildWithoutInvocationCallback() {
request.sortOrder = sortOrder;
request.lifecycleState = lifecycleState;
request.dbName = dbName;
+ request.managedAutoFailover = managedAutoFailover;
+ request.failoverTargets = failoverTargets;
return request;
- // new ListDatabasesRequest(compartmentId, dbHomeId, systemId, limit, page, sortBy, sortOrder, lifecycleState, dbName);
+ // new ListDatabasesRequest(compartmentId, dbHomeId, systemId, limit, page, sortBy, sortOrder, lifecycleState, dbName, managedAutoFailover, failoverTargets);
}
}
@@ -423,7 +553,9 @@ public Builder toBuilder() {
.sortBy(sortBy)
.sortOrder(sortOrder)
.lifecycleState(lifecycleState)
- .dbName(dbName);
+ .dbName(dbName)
+ .managedAutoFailover(managedAutoFailover)
+ .failoverTargets(failoverTargets);
}
/**
@@ -448,6 +580,8 @@ public String toString() {
sb.append(",sortOrder=").append(String.valueOf(this.sortOrder));
sb.append(",lifecycleState=").append(String.valueOf(this.lifecycleState));
sb.append(",dbName=").append(String.valueOf(this.dbName));
+ sb.append(",managedAutoFailover=").append(String.valueOf(this.managedAutoFailover));
+ sb.append(",failoverTargets=").append(String.valueOf(this.failoverTargets));
sb.append(")");
return sb.toString();
}
@@ -471,7 +605,9 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.sortBy, other.sortBy)
&& java.util.Objects.equals(this.sortOrder, other.sortOrder)
&& java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
- && java.util.Objects.equals(this.dbName, other.dbName);
+ && java.util.Objects.equals(this.dbName, other.dbName)
+ && java.util.Objects.equals(this.managedAutoFailover, other.managedAutoFailover)
+ && java.util.Objects.equals(this.failoverTargets, other.failoverTargets);
}
@Override
@@ -491,6 +627,14 @@ public int hashCode() {
(result * PRIME)
+ (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode());
result = (result * PRIME) + (this.dbName == null ? 43 : this.dbName.hashCode());
+ result =
+ (result * PRIME)
+ + (this.managedAutoFailover == null
+ ? 43
+ : this.managedAutoFailover.hashCode());
+ result =
+ (result * PRIME)
+ + (this.failoverTargets == null ? 43 : this.failoverTargets.hashCode());
return result;
}
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/responses/GetAutonomousContainerDatabaseBackupResponse.java b/bmc-database/src/main/java/com/oracle/bmc/database/responses/GetAutonomousContainerDatabaseBackupResponse.java
new file mode 100644
index 0000000000..55640c16f8
--- /dev/null
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/responses/GetAutonomousContainerDatabaseBackupResponse.java
@@ -0,0 +1,186 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.database.responses;
+
+import com.oracle.bmc.database.model.*;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+public class GetAutonomousContainerDatabaseBackupResponse
+ extends com.oracle.bmc.responses.BmcResponse {
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
+ * a particular request, please provide the request ID.
+ *
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
+ * a particular request, please provide the request ID.
+ *
+ * @return the value
+ */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+
+ /**
+ * The returned AutonomousContainerDatabaseBackup instance.
+ */
+ private com.oracle.bmc.database.model.AutonomousContainerDatabaseBackup
+ autonomousContainerDatabaseBackup;
+
+ /**
+ * The returned AutonomousContainerDatabaseBackup instance.
+ * @return the value
+ */
+ public com.oracle.bmc.database.model.AutonomousContainerDatabaseBackup
+ getAutonomousContainerDatabaseBackup() {
+ return autonomousContainerDatabaseBackup;
+ }
+
+ @java.beans.ConstructorProperties({
+ "__httpStatusCode__",
+ "headers",
+ "opcRequestId",
+ "autonomousContainerDatabaseBackup"
+ })
+ private GetAutonomousContainerDatabaseBackupResponse(
+ int __httpStatusCode__,
+ javax.ws.rs.core.MultivaluedMap headers,
+ String opcRequestId,
+ com.oracle.bmc.database.model.AutonomousContainerDatabaseBackup
+ autonomousContainerDatabaseBackup) {
+ super(__httpStatusCode__, headers);
+ this.opcRequestId = opcRequestId;
+ this.autonomousContainerDatabaseBackup = autonomousContainerDatabaseBackup;
+ }
+
+ public static class Builder {
+ private int __httpStatusCode__;
+
+ public Builder __httpStatusCode__(int __httpStatusCode__) {
+ this.__httpStatusCode__ = __httpStatusCode__;
+ return this;
+ }
+
+ private javax.ws.rs.core.MultivaluedMap headers;
+
+ public Builder headers(javax.ws.rs.core.MultivaluedMap headers) {
+ this.headers = headers;
+ return this;
+ }
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
+ * a particular request, please provide the request ID.
+ *
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
+ * a particular request, please provide the request ID.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /**
+ * The returned AutonomousContainerDatabaseBackup instance.
+ */
+ private com.oracle.bmc.database.model.AutonomousContainerDatabaseBackup
+ autonomousContainerDatabaseBackup;
+
+ /**
+ * The returned AutonomousContainerDatabaseBackup instance.
+ * @param autonomousContainerDatabaseBackup the value to set
+ * @return this builder
+ */
+ public Builder autonomousContainerDatabaseBackup(
+ com.oracle.bmc.database.model.AutonomousContainerDatabaseBackup
+ autonomousContainerDatabaseBackup) {
+ this.autonomousContainerDatabaseBackup = autonomousContainerDatabaseBackup;
+ return this;
+ }
+
+ /**
+ * Copy method to populate the builder with values from the given instance.
+ * @return this builder instance
+ */
+ public Builder copy(GetAutonomousContainerDatabaseBackupResponse o) {
+ __httpStatusCode__(o.get__httpStatusCode__());
+ headers(o.getHeaders());
+ opcRequestId(o.getOpcRequestId());
+ autonomousContainerDatabaseBackup(o.getAutonomousContainerDatabaseBackup());
+
+ return this;
+ }
+
+ /**
+ * Build the response object.
+ * @return the response object
+ */
+ public GetAutonomousContainerDatabaseBackupResponse build() {
+ return new GetAutonomousContainerDatabaseBackupResponse(
+ __httpStatusCode__, headers, opcRequestId, autonomousContainerDatabaseBackup);
+ }
+ }
+
+ /**
+ * Return a new builder for this response object.
+ * @return builder for the response object
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ @Override
+ public String toString() {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("(");
+ sb.append("super=").append(super.toString());
+ sb.append(",opcRequestId=").append(String.valueOf(opcRequestId));
+ sb.append(",autonomousContainerDatabaseBackup=")
+ .append(String.valueOf(autonomousContainerDatabaseBackup));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof GetAutonomousContainerDatabaseBackupResponse)) {
+ return false;
+ }
+
+ GetAutonomousContainerDatabaseBackupResponse other =
+ (GetAutonomousContainerDatabaseBackupResponse) o;
+ return super.equals(o)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId)
+ && java.util.Objects.equals(
+ this.autonomousContainerDatabaseBackup,
+ other.autonomousContainerDatabaseBackup);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.autonomousContainerDatabaseBackup == null
+ ? 43
+ : this.autonomousContainerDatabaseBackup.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/responses/ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse.java b/bmc-database/src/main/java/com/oracle/bmc/database/responses/ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse.java
new file mode 100644
index 0000000000..b127b8e744
--- /dev/null
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/responses/ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse.java
@@ -0,0 +1,225 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.database.responses;
+
+import com.oracle.bmc.database.model.*;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+public class ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse
+ extends com.oracle.bmc.responses.BmcResponse {
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
+ * a particular request, please provide the request ID.
+ *
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
+ * a particular request, please provide the request ID.
+ *
+ * @return the value
+ */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+
+ /**
+ * For pagination of a list of items. When paging through a list, if this header appears in the response, then there are additional items still to get. Include this value as the {@code page} parameter for the subsequent GET request. For information about pagination, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
+ */
+ private String opcNextPage;
+
+ /**
+ * For pagination of a list of items. When paging through a list, if this header appears in the response, then there are additional items still to get. Include this value as the {@code page} parameter for the subsequent GET request. For information about pagination, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
+ * @return the value
+ */
+ public String getOpcNextPage() {
+ return opcNextPage;
+ }
+
+ /**
+ * The returned AutonomousDatabaseInBackupCollection instance.
+ */
+ private com.oracle.bmc.database.model.AutonomousDatabaseInBackupCollection
+ autonomousDatabaseInBackupCollection;
+
+ /**
+ * The returned AutonomousDatabaseInBackupCollection instance.
+ * @return the value
+ */
+ public com.oracle.bmc.database.model.AutonomousDatabaseInBackupCollection
+ getAutonomousDatabaseInBackupCollection() {
+ return autonomousDatabaseInBackupCollection;
+ }
+
+ @java.beans.ConstructorProperties({
+ "__httpStatusCode__",
+ "headers",
+ "opcRequestId",
+ "opcNextPage",
+ "autonomousDatabaseInBackupCollection"
+ })
+ private ListAutonomousDatabasesInAutonomousContainerDatabaseBackupResponse(
+ int __httpStatusCode__,
+ javax.ws.rs.core.MultivaluedMap headers,
+ String opcRequestId,
+ String opcNextPage,
+ com.oracle.bmc.database.model.AutonomousDatabaseInBackupCollection
+ autonomousDatabaseInBackupCollection) {
+ super(__httpStatusCode__, headers);
+ this.opcRequestId = opcRequestId;
+ this.opcNextPage = opcNextPage;
+ this.autonomousDatabaseInBackupCollection = autonomousDatabaseInBackupCollection;
+ }
+
+ public static class Builder {
+ private int __httpStatusCode__;
+
+ public Builder __httpStatusCode__(int __httpStatusCode__) {
+ this.__httpStatusCode__ = __httpStatusCode__;
+ return this;
+ }
+
+ private javax.ws.rs.core.MultivaluedMap