();
@@ -117,6 +123,18 @@ public CreateBasicImagePullSecretDetails(
String registryEndpoint, String username, String password) {
super(registryEndpoint);
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public CreateBasicImagePullSecretDetails(
+ @com.fasterxml.jackson.annotation.JsonProperty("registryEndpoint")
+ String registryEndpoint,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password) {
+ super(registryEndpoint);
+ this.username = username;
this.password = password;
}
@@ -142,15 +160,29 @@ public String getUsername() {
* in base64 format.
*/
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password which should be used with the registry for authentication. The value is expected
* in base64 format.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password which should be used with the registry for authentication. The value is expected
+ * in base64 format.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-containerinstances/src/main/resources/com/oracle/bmc/containerinstances/client.properties b/bmc-containerinstances/src/main/resources/com/oracle/bmc/containerinstances/client.properties
index 936b2281507..39b804ee8ad 100644
--- a/bmc-containerinstances/src/main/resources/com/oracle/bmc/containerinstances/client.properties
+++ b/bmc-containerinstances/src/main/resources/com/oracle/bmc/containerinstances/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.147
+java.client.codegen.version = 2.163
java.minimum.client.codegen.version.from.client = 2.145
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20210415")
\ No newline at end of file
diff --git a/bmc-containerregistry/src/main/resources/com/oracle/bmc/containerregistry/client.properties b/bmc-containerregistry/src/main/resources/com/oracle/bmc/containerregistry/client.properties
index 366f09f9fa4..ab82d0c31fa 100644
--- a/bmc-containerregistry/src/main/resources/com/oracle/bmc/containerregistry/client.properties
+++ b/bmc-containerregistry/src/main/resources/com/oracle/bmc/containerregistry/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.147
+java.client.codegen.version = 2.163
java.minimum.client.codegen.version.from.client = 2.145
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20180419")
\ No newline at end of file
diff --git a/bmc-core/src/main/resources/com/oracle/bmc/core/client.properties b/bmc-core/src/main/resources/com/oracle/bmc/core/client.properties
index 57fa7f4b072..80d9875bfaf 100644
--- a/bmc-core/src/main/resources/com/oracle/bmc/core/client.properties
+++ b/bmc-core/src/main/resources/com/oracle/bmc/core/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.147
+java.client.codegen.version = 2.163
java.minimum.client.codegen.version.from.client = 2.145
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
\ No newline at end of file
diff --git a/bmc-dashboardservice/src/main/resources/com/oracle/bmc/dashboardservice/client.properties b/bmc-dashboardservice/src/main/resources/com/oracle/bmc/dashboardservice/client.properties
index 3552e2db885..4781ae85ac1 100644
--- a/bmc-dashboardservice/src/main/resources/com/oracle/bmc/dashboardservice/client.properties
+++ b/bmc-dashboardservice/src/main/resources/com/oracle/bmc/dashboardservice/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.147
+java.client.codegen.version = 2.163
java.minimum.client.codegen.version.from.client = 2.145
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20210731")
\ No newline at end of file
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/ConvertStandbyDatabaseTypeDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/ConvertStandbyDatabaseTypeDetails.java
index 5b044786a4b..d1c7176c462 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/ConvertStandbyDatabaseTypeDetails.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/ConvertStandbyDatabaseTypeDetails.java
@@ -23,13 +23,26 @@
public final class ConvertStandbyDatabaseTypeDetails
extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
@Deprecated
+ public ConvertStandbyDatabaseTypeDetails(
+ String databaseAdminPassword,
+ StandbyConversionType standbyConversionType,
+ Integer snapshotDurationInDays) {
+ super();
+ this.databaseAdminPassword =
+ databaseAdminPassword != null ? databaseAdminPassword.toCharArray() : null;
+ this.standbyConversionType = standbyConversionType;
+ this.snapshotDurationInDays = snapshotDurationInDays;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
@java.beans.ConstructorProperties({
"databaseAdminPassword",
"standbyConversionType",
"snapshotDurationInDays"
})
public ConvertStandbyDatabaseTypeDetails(
- String databaseAdminPassword,
+ char[] databaseAdminPassword,
StandbyConversionType standbyConversionType,
Integer snapshotDurationInDays) {
super();
@@ -46,7 +59,7 @@ public static class Builder {
* *The password MUST be the same as the primary admin password.**
*/
@com.fasterxml.jackson.annotation.JsonProperty("databaseAdminPassword")
- private String databaseAdminPassword;
+ private char[] databaseAdminPassword;
/**
* The administrator password of the primary database in this Data Guard association.
@@ -56,11 +69,18 @@ public static class Builder {
* @param databaseAdminPassword the value to set
* @return this builder
*/
- public Builder databaseAdminPassword(String databaseAdminPassword) {
+ 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;
+ }
/**
* Defines the conversion type of the standby database. Specify this to convert a physical
* standby to a snapshot standby and vice versa.
@@ -157,7 +177,20 @@ public Builder toBuilder() {
*
*The password MUST be the same as the primary admin password.**
*/
@com.fasterxml.jackson.annotation.JsonProperty("databaseAdminPassword")
- private final String 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.
@@ -166,10 +199,10 @@ public Builder toBuilder() {
*
* @return the value
*/
- public String getDatabaseAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("databaseAdminPassword")
+ public char[] getDatabaseAdminPassword__AsCharArray() {
return databaseAdminPassword;
}
-
/**
* Defines the conversion type of the standby database. Specify this to convert a physical
* standby to a snapshot standby and vice versa.
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/ConvertToRegularPluggableDatabaseDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/ConvertToRegularPluggableDatabaseDetails.java
index 3bd213931c1..580f957b723 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/ConvertToRegularPluggableDatabaseDetails.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/ConvertToRegularPluggableDatabaseDetails.java
@@ -24,6 +24,21 @@
public final class ConvertToRegularPluggableDatabaseDetails
extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
@Deprecated
+ public ConvertToRegularPluggableDatabaseDetails(
+ Boolean shouldCreatePdbBackup,
+ String containerDatabaseAdminPassword,
+ String tdeWalletPassword) {
+ super();
+ this.shouldCreatePdbBackup = shouldCreatePdbBackup;
+ this.containerDatabaseAdminPassword =
+ containerDatabaseAdminPassword != null
+ ? containerDatabaseAdminPassword.toCharArray()
+ : null;
+ this.tdeWalletPassword = tdeWalletPassword != null ? tdeWalletPassword.toCharArray() : null;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
@java.beans.ConstructorProperties({
"shouldCreatePdbBackup",
"containerDatabaseAdminPassword",
@@ -31,8 +46,8 @@ public final class ConvertToRegularPluggableDatabaseDetails
})
public ConvertToRegularPluggableDatabaseDetails(
Boolean shouldCreatePdbBackup,
- String containerDatabaseAdminPassword,
- String tdeWalletPassword) {
+ char[] containerDatabaseAdminPassword,
+ char[] tdeWalletPassword) {
super();
this.shouldCreatePdbBackup = shouldCreatePdbBackup;
this.containerDatabaseAdminPassword = containerDatabaseAdminPassword;
@@ -58,7 +73,7 @@ public Builder shouldCreatePdbBackup(Boolean shouldCreatePdbBackup) {
}
/** The DB system administrator password of the Container Database. */
@com.fasterxml.jackson.annotation.JsonProperty("containerDatabaseAdminPassword")
- private String containerDatabaseAdminPassword;
+ private char[] containerDatabaseAdminPassword;
/**
* The DB system administrator password of the Container Database.
@@ -66,14 +81,23 @@ public Builder shouldCreatePdbBackup(Boolean shouldCreatePdbBackup) {
* @param containerDatabaseAdminPassword the value to set
* @return this builder
*/
- public Builder containerDatabaseAdminPassword(String containerDatabaseAdminPassword) {
+ public Builder containerDatabaseAdminPassword(char[] containerDatabaseAdminPassword) {
this.containerDatabaseAdminPassword = containerDatabaseAdminPassword;
this.__explicitlySet__.add("containerDatabaseAdminPassword");
return this;
}
+
+ public Builder containerDatabaseAdminPassword(String containerDatabaseAdminPassword) {
+ this.containerDatabaseAdminPassword =
+ containerDatabaseAdminPassword != null
+ ? containerDatabaseAdminPassword.toCharArray()
+ : null;
+ this.__explicitlySet__.add("containerDatabaseAdminPassword");
+ return this;
+ }
/** The existing TDE wallet password of the Container Database. */
@com.fasterxml.jackson.annotation.JsonProperty("tdeWalletPassword")
- private String tdeWalletPassword;
+ private char[] tdeWalletPassword;
/**
* The existing TDE wallet password of the Container Database.
@@ -81,12 +105,19 @@ public Builder containerDatabaseAdminPassword(String containerDatabaseAdminPassw
* @param tdeWalletPassword the value to set
* @return this builder
*/
- public Builder tdeWalletPassword(String tdeWalletPassword) {
+ public Builder tdeWalletPassword(char[] tdeWalletPassword) {
this.tdeWalletPassword = tdeWalletPassword;
this.__explicitlySet__.add("tdeWalletPassword");
return this;
}
+ public Builder tdeWalletPassword(String tdeWalletPassword) {
+ this.tdeWalletPassword =
+ tdeWalletPassword != null ? tdeWalletPassword.toCharArray() : null;
+ this.__explicitlySet__.add("tdeWalletPassword");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -141,27 +172,55 @@ public Boolean getShouldCreatePdbBackup() {
/** The DB system administrator password of the Container Database. */
@com.fasterxml.jackson.annotation.JsonProperty("containerDatabaseAdminPassword")
- private final String containerDatabaseAdminPassword;
+ private final char[] containerDatabaseAdminPassword;
/**
* The DB system administrator password of the Container Database.
*
* @return the value
+ * @deprecated Use getContainerDatabaseAdminPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getContainerDatabaseAdminPassword() {
+ return containerDatabaseAdminPassword != null
+ ? new String(containerDatabaseAdminPassword)
+ : null;
+ }
+
+ /**
+ * The DB system administrator password of the Container Database.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("containerDatabaseAdminPassword")
+ public char[] getContainerDatabaseAdminPassword__AsCharArray() {
return containerDatabaseAdminPassword;
}
/** The existing TDE wallet password of the Container Database. */
@com.fasterxml.jackson.annotation.JsonProperty("tdeWalletPassword")
- private final String tdeWalletPassword;
+ private final char[] tdeWalletPassword;
/**
* The existing TDE wallet password of the Container Database.
*
* @return the value
+ * @deprecated Use getTdeWalletPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getTdeWalletPassword() {
+ return tdeWalletPassword != null ? new String(tdeWalletPassword) : null;
+ }
+
+ /**
+ * The existing TDE wallet password of the Container Database.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("tdeWalletPassword")
+ public char[] getTdeWalletPassword__AsCharArray() {
return tdeWalletPassword;
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/ConvertToStandaloneDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/ConvertToStandaloneDetails.java
index 8ba9b70b038..7d084c7725f 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/ConvertToStandaloneDetails.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/ConvertToStandaloneDetails.java
@@ -23,8 +23,16 @@
public final class ConvertToStandaloneDetails
extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"databaseAdminPassword"})
public ConvertToStandaloneDetails(String databaseAdminPassword) {
+ super();
+ this.databaseAdminPassword =
+ databaseAdminPassword != null ? databaseAdminPassword.toCharArray() : null;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ @java.beans.ConstructorProperties({"databaseAdminPassword"})
+ public ConvertToStandaloneDetails(char[] databaseAdminPassword) {
super();
this.databaseAdminPassword = databaseAdminPassword;
}
@@ -37,7 +45,7 @@ public static class Builder {
* *The password MUST be the same as the primary admin password.**
*/
@com.fasterxml.jackson.annotation.JsonProperty("databaseAdminPassword")
- private String databaseAdminPassword;
+ private char[] databaseAdminPassword;
/**
* The administrator password of the primary database in this Data Guard association.
@@ -47,12 +55,19 @@ public static class Builder {
* @param databaseAdminPassword the value to set
* @return this builder
*/
- public Builder databaseAdminPassword(String databaseAdminPassword) {
+ 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;
+ }
+
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -89,7 +104,20 @@ public Builder toBuilder() {
* *The password MUST be the same as the primary admin password.**
*/
@com.fasterxml.jackson.annotation.JsonProperty("databaseAdminPassword")
- private final String 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.
@@ -98,7 +126,8 @@ public Builder toBuilder() {
*
* @return the value
*/
- public String getDatabaseAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("databaseAdminPassword")
+ public char[] getDatabaseAdminPassword__AsCharArray() {
return databaseAdminPassword;
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateDatabaseDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateDatabaseDetails.java
index 87d6e3b4cce..3212d337ace 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateDatabaseDetails.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateDatabaseDetails.java
@@ -26,6 +26,50 @@
public final class CreateDatabaseDetails
extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
@Deprecated
+ public CreateDatabaseDetails(
+ String dbName,
+ String dbUniqueName,
+ String databaseSoftwareImageId,
+ String pdbName,
+ String adminPassword,
+ String tdeWalletPassword,
+ String characterSet,
+ String ncharacterSet,
+ DbWorkload dbWorkload,
+ DbBackupConfig dbBackupConfig,
+ java.util.Map freeformTags,
+ java.util.Map> definedTags,
+ String kmsKeyId,
+ String kmsKeyVersionId,
+ String vaultId,
+ String sidPrefix,
+ String keyStoreId,
+ EncryptionKeyLocationDetails encryptionKeyLocationDetails,
+ DatabaseStorageSizeDetails storageSizeDetails) {
+ super();
+ this.dbName = dbName;
+ this.dbUniqueName = dbUniqueName;
+ this.databaseSoftwareImageId = databaseSoftwareImageId;
+ this.pdbName = pdbName;
+ this.adminPassword = adminPassword;
+ this.tdeWalletPassword = tdeWalletPassword != null ? tdeWalletPassword.toCharArray() : null;
+ this.characterSet = characterSet;
+ this.ncharacterSet = ncharacterSet;
+ this.dbWorkload = dbWorkload;
+ this.dbBackupConfig = dbBackupConfig;
+ this.freeformTags = freeformTags;
+ this.definedTags = definedTags;
+ this.kmsKeyId = kmsKeyId;
+ this.kmsKeyVersionId = kmsKeyVersionId;
+ this.vaultId = vaultId;
+ this.sidPrefix = sidPrefix;
+ this.keyStoreId = keyStoreId;
+ this.encryptionKeyLocationDetails = encryptionKeyLocationDetails;
+ this.storageSizeDetails = storageSizeDetails;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
@java.beans.ConstructorProperties({
"dbName",
"dbUniqueName",
@@ -53,7 +97,7 @@ public CreateDatabaseDetails(
String databaseSoftwareImageId,
String pdbName,
String adminPassword,
- String tdeWalletPassword,
+ char[] tdeWalletPassword,
String characterSet,
String ncharacterSet,
DbWorkload dbWorkload,
@@ -192,7 +236,7 @@ public Builder adminPassword(String adminPassword) {
* special characters. The special characters must be _, \\#, or -.
*/
@com.fasterxml.jackson.annotation.JsonProperty("tdeWalletPassword")
- private String tdeWalletPassword;
+ private char[] tdeWalletPassword;
/**
* The optional password to open the TDE wallet. The password must be at least nine
@@ -202,11 +246,18 @@ public Builder adminPassword(String adminPassword) {
* @param tdeWalletPassword the value to set
* @return this builder
*/
- public Builder tdeWalletPassword(String tdeWalletPassword) {
+ public Builder tdeWalletPassword(char[] tdeWalletPassword) {
this.tdeWalletPassword = tdeWalletPassword;
this.__explicitlySet__.add("tdeWalletPassword");
return this;
}
+
+ public Builder tdeWalletPassword(String tdeWalletPassword) {
+ this.tdeWalletPassword =
+ tdeWalletPassword != null ? tdeWalletPassword.toCharArray() : null;
+ this.__explicitlySet__.add("tdeWalletPassword");
+ return this;
+ }
/**
* The character set for the database. The default is AL32UTF8. Allowed values are:
*
@@ -677,7 +728,7 @@ public String getAdminPassword() {
* The special characters must be _, \\#, or -.
*/
@com.fasterxml.jackson.annotation.JsonProperty("tdeWalletPassword")
- private final String tdeWalletPassword;
+ private final char[] tdeWalletPassword;
/**
* The optional password to open the TDE wallet. The password must be at least nine characters
@@ -685,8 +736,23 @@ public String getAdminPassword() {
* The special characters must be _, \\#, or -.
*
* @return the value
+ * @deprecated Use getTdeWalletPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getTdeWalletPassword() {
+ return tdeWalletPassword != null ? new String(tdeWalletPassword) : null;
+ }
+
+ /**
+ * The optional password to open the TDE wallet. The password must be at least nine characters
+ * and contain at least two uppercase, two lowercase, two numeric, and two special characters.
+ * The special characters must be _, \\#, or -.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("tdeWalletPassword")
+ public char[] getTdeWalletPassword__AsCharArray() {
return tdeWalletPassword;
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateDatabaseForStandbyDbSystemDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateDatabaseForStandbyDbSystemDetails.java
index e8b245bbd61..0a06795bd88 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateDatabaseForStandbyDbSystemDetails.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateDatabaseForStandbyDbSystemDetails.java
@@ -26,6 +26,38 @@
public final class CreateDatabaseForStandbyDbSystemDetails
extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
@Deprecated
+ public CreateDatabaseForStandbyDbSystemDetails(
+ String adminPassword,
+ String tdeWalletPassword,
+ String databaseSoftwareImageId,
+ Boolean isActiveDataGuardEnabled,
+ String dbDomain,
+ String sidPrefix,
+ String dbUniqueName,
+ ProtectionMode protectionMode,
+ EncryptionKeyLocationDetails sourceEncryptionKeyLocationDetails,
+ TransportType transportType,
+ DbBackupConfig dbBackupConfig,
+ java.util.Map databaseFreeformTags,
+ java.util.Map> databaseDefinedTags) {
+ super();
+ this.adminPassword = adminPassword;
+ this.tdeWalletPassword = tdeWalletPassword != null ? tdeWalletPassword.toCharArray() : null;
+ this.databaseSoftwareImageId = databaseSoftwareImageId;
+ this.isActiveDataGuardEnabled = isActiveDataGuardEnabled;
+ this.dbDomain = dbDomain;
+ this.sidPrefix = sidPrefix;
+ this.dbUniqueName = dbUniqueName;
+ this.protectionMode = protectionMode;
+ this.sourceEncryptionKeyLocationDetails = sourceEncryptionKeyLocationDetails;
+ this.transportType = transportType;
+ this.dbBackupConfig = dbBackupConfig;
+ this.databaseFreeformTags = databaseFreeformTags;
+ this.databaseDefinedTags = databaseDefinedTags;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
@java.beans.ConstructorProperties({
"adminPassword",
"tdeWalletPassword",
@@ -43,7 +75,7 @@ public final class CreateDatabaseForStandbyDbSystemDetails
})
public CreateDatabaseForStandbyDbSystemDetails(
String adminPassword,
- String tdeWalletPassword,
+ char[] tdeWalletPassword,
String databaseSoftwareImageId,
Boolean isActiveDataGuardEnabled,
String dbDomain,
@@ -92,7 +124,7 @@ public Builder adminPassword(String adminPassword) {
}
/** For TDE Wallet, enter the same password as the primary wallet password. */
@com.fasterxml.jackson.annotation.JsonProperty("tdeWalletPassword")
- private String tdeWalletPassword;
+ private char[] tdeWalletPassword;
/**
* For TDE Wallet, enter the same password as the primary wallet password.
@@ -100,11 +132,18 @@ public Builder adminPassword(String adminPassword) {
* @param tdeWalletPassword the value to set
* @return this builder
*/
- public Builder tdeWalletPassword(String tdeWalletPassword) {
+ public Builder tdeWalletPassword(char[] tdeWalletPassword) {
this.tdeWalletPassword = tdeWalletPassword;
this.__explicitlySet__.add("tdeWalletPassword");
return this;
}
+
+ public Builder tdeWalletPassword(String tdeWalletPassword) {
+ this.tdeWalletPassword =
+ tdeWalletPassword != null ? tdeWalletPassword.toCharArray() : null;
+ this.__explicitlySet__.add("tdeWalletPassword");
+ return this;
+ }
/**
* The database software image
* [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)
@@ -412,14 +451,27 @@ public String getAdminPassword() {
/** For TDE Wallet, enter the same password as the primary wallet password. */
@com.fasterxml.jackson.annotation.JsonProperty("tdeWalletPassword")
- private final String tdeWalletPassword;
+ private final char[] tdeWalletPassword;
/**
* For TDE Wallet, enter the same password as the primary wallet password.
*
* @return the value
+ * @deprecated Use getTdeWalletPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getTdeWalletPassword() {
+ return tdeWalletPassword != null ? new String(tdeWalletPassword) : null;
+ }
+
+ /**
+ * For TDE Wallet, enter the same password as the primary wallet password.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("tdeWalletPassword")
+ public char[] getTdeWalletPassword__AsCharArray() {
return tdeWalletPassword;
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreatePluggableDatabaseDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreatePluggableDatabaseDetails.java
index 38d1fa4c69e..2730f6d5334 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreatePluggableDatabaseDetails.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreatePluggableDatabaseDetails.java
@@ -26,6 +26,35 @@
public final class CreatePluggableDatabaseDetails
extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
@Deprecated
+ public CreatePluggableDatabaseDetails(
+ String pdbName,
+ String containerDatabaseId,
+ String pdbAdminPassword,
+ String tdeWalletPassword,
+ Boolean shouldPdbAdminAccountBeLocked,
+ String containerDatabaseAdminPassword,
+ Boolean shouldCreatePdbBackup,
+ CreatePluggableDatabaseCreationTypeDetails pdbCreationTypeDetails,
+ java.util.Map freeformTags,
+ java.util.Map> definedTags) {
+ super();
+ this.pdbName = pdbName;
+ this.containerDatabaseId = containerDatabaseId;
+ this.pdbAdminPassword = pdbAdminPassword;
+ this.tdeWalletPassword = tdeWalletPassword;
+ this.shouldPdbAdminAccountBeLocked = shouldPdbAdminAccountBeLocked;
+ this.containerDatabaseAdminPassword =
+ containerDatabaseAdminPassword != null
+ ? containerDatabaseAdminPassword.toCharArray()
+ : null;
+ this.shouldCreatePdbBackup = shouldCreatePdbBackup;
+ this.pdbCreationTypeDetails = pdbCreationTypeDetails;
+ this.freeformTags = freeformTags;
+ this.definedTags = definedTags;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
@java.beans.ConstructorProperties({
"pdbName",
"containerDatabaseId",
@@ -44,7 +73,7 @@ public CreatePluggableDatabaseDetails(
String pdbAdminPassword,
String tdeWalletPassword,
Boolean shouldPdbAdminAccountBeLocked,
- String containerDatabaseAdminPassword,
+ char[] containerDatabaseAdminPassword,
Boolean shouldCreatePdbBackup,
CreatePluggableDatabaseCreationTypeDetails pdbCreationTypeDetails,
java.util.Map freeformTags,
@@ -165,7 +194,7 @@ public Builder shouldPdbAdminAccountBeLocked(Boolean shouldPdbAdminAccountBeLock
}
/** The DB system administrator password of the Container Database. */
@com.fasterxml.jackson.annotation.JsonProperty("containerDatabaseAdminPassword")
- private String containerDatabaseAdminPassword;
+ private char[] containerDatabaseAdminPassword;
/**
* The DB system administrator password of the Container Database.
@@ -173,11 +202,20 @@ public Builder shouldPdbAdminAccountBeLocked(Boolean shouldPdbAdminAccountBeLock
* @param containerDatabaseAdminPassword the value to set
* @return this builder
*/
- public Builder containerDatabaseAdminPassword(String containerDatabaseAdminPassword) {
+ public Builder containerDatabaseAdminPassword(char[] containerDatabaseAdminPassword) {
this.containerDatabaseAdminPassword = containerDatabaseAdminPassword;
this.__explicitlySet__.add("containerDatabaseAdminPassword");
return this;
}
+
+ public Builder containerDatabaseAdminPassword(String containerDatabaseAdminPassword) {
+ this.containerDatabaseAdminPassword =
+ containerDatabaseAdminPassword != null
+ ? containerDatabaseAdminPassword.toCharArray()
+ : null;
+ this.__explicitlySet__.add("containerDatabaseAdminPassword");
+ return this;
+ }
/** Indicates whether to take Pluggable Database Backup after the operation. */
@com.fasterxml.jackson.annotation.JsonProperty("shouldCreatePdbBackup")
private Boolean shouldCreatePdbBackup;
@@ -407,14 +445,29 @@ public Boolean getShouldPdbAdminAccountBeLocked() {
/** The DB system administrator password of the Container Database. */
@com.fasterxml.jackson.annotation.JsonProperty("containerDatabaseAdminPassword")
- private final String containerDatabaseAdminPassword;
+ private final char[] containerDatabaseAdminPassword;
/**
* The DB system administrator password of the Container Database.
*
* @return the value
+ * @deprecated Use getContainerDatabaseAdminPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getContainerDatabaseAdminPassword() {
+ return containerDatabaseAdminPassword != null
+ ? new String(containerDatabaseAdminPassword)
+ : null;
+ }
+
+ /**
+ * The DB system administrator password of the Container Database.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("containerDatabaseAdminPassword")
+ public char[] getContainerDatabaseAdminPassword__AsCharArray() {
return containerDatabaseAdminPassword;
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreatePluggableDatabaseFromRelocateDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreatePluggableDatabaseFromRelocateDetails.java
index 98a440e0886..bb64aeb3fcb 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreatePluggableDatabaseFromRelocateDetails.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreatePluggableDatabaseFromRelocateDetails.java
@@ -47,7 +47,7 @@ public Builder dblinkUsername(String dblinkUsername) {
}
/** The DB link user password. */
@com.fasterxml.jackson.annotation.JsonProperty("dblinkUserPassword")
- private String dblinkUserPassword;
+ private char[] dblinkUserPassword;
/**
* The DB link user password.
@@ -55,11 +55,18 @@ public Builder dblinkUsername(String dblinkUsername) {
* @param dblinkUserPassword the value to set
* @return this builder
*/
- public Builder dblinkUserPassword(String dblinkUserPassword) {
+ public Builder dblinkUserPassword(char[] dblinkUserPassword) {
this.dblinkUserPassword = dblinkUserPassword;
this.__explicitlySet__.add("dblinkUserPassword");
return this;
}
+
+ public Builder dblinkUserPassword(String dblinkUserPassword) {
+ this.dblinkUserPassword =
+ dblinkUserPassword != null ? dblinkUserPassword.toCharArray() : null;
+ this.__explicitlySet__.add("dblinkUserPassword");
+ return this;
+ }
/** The OCID of the Source Pluggable Database. */
@com.fasterxml.jackson.annotation.JsonProperty("sourcePluggableDatabaseId")
private String sourcePluggableDatabaseId;
@@ -77,7 +84,7 @@ public Builder sourcePluggableDatabaseId(String sourcePluggableDatabaseId) {
}
/** The DB system administrator password of the source Container Database. */
@com.fasterxml.jackson.annotation.JsonProperty("sourceContainerDatabaseAdminPassword")
- private String sourceContainerDatabaseAdminPassword;
+ private char[] sourceContainerDatabaseAdminPassword;
/**
* The DB system administrator password of the source Container Database.
@@ -86,12 +93,22 @@ public Builder sourcePluggableDatabaseId(String sourcePluggableDatabaseId) {
* @return this builder
*/
public Builder sourceContainerDatabaseAdminPassword(
- String sourceContainerDatabaseAdminPassword) {
+ char[] sourceContainerDatabaseAdminPassword) {
this.sourceContainerDatabaseAdminPassword = sourceContainerDatabaseAdminPassword;
this.__explicitlySet__.add("sourceContainerDatabaseAdminPassword");
return this;
}
+ public Builder sourceContainerDatabaseAdminPassword(
+ String sourceContainerDatabaseAdminPassword) {
+ this.sourceContainerDatabaseAdminPassword =
+ sourceContainerDatabaseAdminPassword != null
+ ? sourceContainerDatabaseAdminPassword.toCharArray()
+ : null;
+ this.__explicitlySet__.add("sourceContainerDatabaseAdminPassword");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -144,6 +161,27 @@ public CreatePluggableDatabaseFromRelocateDetails(
String sourceContainerDatabaseAdminPassword) {
super();
this.dblinkUsername = dblinkUsername;
+ this.dblinkUserPassword =
+ dblinkUserPassword != null ? dblinkUserPassword.toCharArray() : null;
+ this.sourcePluggableDatabaseId = sourcePluggableDatabaseId;
+ this.sourceContainerDatabaseAdminPassword =
+ sourceContainerDatabaseAdminPassword != null
+ ? sourceContainerDatabaseAdminPassword.toCharArray()
+ : null;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public CreatePluggableDatabaseFromRelocateDetails(
+ @com.fasterxml.jackson.annotation.JsonProperty("dblinkUsername") String dblinkUsername,
+ @com.fasterxml.jackson.annotation.JsonProperty("dblinkUserPassword")
+ char[] dblinkUserPassword,
+ @com.fasterxml.jackson.annotation.JsonProperty("sourcePluggableDatabaseId")
+ String sourcePluggableDatabaseId,
+ @com.fasterxml.jackson.annotation.JsonProperty("sourceContainerDatabaseAdminPassword")
+ char[] sourceContainerDatabaseAdminPassword) {
+ super();
+ this.dblinkUsername = dblinkUsername;
this.dblinkUserPassword = dblinkUserPassword;
this.sourcePluggableDatabaseId = sourcePluggableDatabaseId;
this.sourceContainerDatabaseAdminPassword = sourceContainerDatabaseAdminPassword;
@@ -164,14 +202,27 @@ public String getDblinkUsername() {
/** The DB link user password. */
@com.fasterxml.jackson.annotation.JsonProperty("dblinkUserPassword")
- private final String dblinkUserPassword;
+ private final char[] dblinkUserPassword;
/**
* The DB link user password.
*
* @return the value
+ * @deprecated Use getDblinkUserPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getDblinkUserPassword() {
+ return dblinkUserPassword != null ? new String(dblinkUserPassword) : null;
+ }
+
+ /**
+ * The DB link user password.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("dblinkUserPassword")
+ public char[] getDblinkUserPassword__AsCharArray() {
return dblinkUserPassword;
}
@@ -190,14 +241,29 @@ public String getSourcePluggableDatabaseId() {
/** The DB system administrator password of the source Container Database. */
@com.fasterxml.jackson.annotation.JsonProperty("sourceContainerDatabaseAdminPassword")
- private final String sourceContainerDatabaseAdminPassword;
+ private final char[] sourceContainerDatabaseAdminPassword;
/**
* The DB system administrator password of the source Container Database.
*
* @return the value
+ * @deprecated Use getSourceContainerDatabaseAdminPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getSourceContainerDatabaseAdminPassword() {
+ return sourceContainerDatabaseAdminPassword != null
+ ? new String(sourceContainerDatabaseAdminPassword)
+ : null;
+ }
+
+ /**
+ * The DB system administrator password of the source Container Database.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("sourceContainerDatabaseAdminPassword")
+ public char[] getSourceContainerDatabaseAdminPassword__AsCharArray() {
return sourceContainerDatabaseAdminPassword;
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreatePluggableDatabaseFromRemoteCloneDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreatePluggableDatabaseFromRemoteCloneDetails.java
index 7e14aaddf6a..894e5bfe157 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreatePluggableDatabaseFromRemoteCloneDetails.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreatePluggableDatabaseFromRemoteCloneDetails.java
@@ -48,7 +48,7 @@ public Builder dblinkUsername(String dblinkUsername) {
}
/** The DB link user password. */
@com.fasterxml.jackson.annotation.JsonProperty("dblinkUserPassword")
- private String dblinkUserPassword;
+ private char[] dblinkUserPassword;
/**
* The DB link user password.
@@ -56,11 +56,18 @@ public Builder dblinkUsername(String dblinkUsername) {
* @param dblinkUserPassword the value to set
* @return this builder
*/
- public Builder dblinkUserPassword(String dblinkUserPassword) {
+ public Builder dblinkUserPassword(char[] dblinkUserPassword) {
this.dblinkUserPassword = dblinkUserPassword;
this.__explicitlySet__.add("dblinkUserPassword");
return this;
}
+
+ public Builder dblinkUserPassword(String dblinkUserPassword) {
+ this.dblinkUserPassword =
+ dblinkUserPassword != null ? dblinkUserPassword.toCharArray() : null;
+ this.__explicitlySet__.add("dblinkUserPassword");
+ return this;
+ }
/** The OCID of the Source Pluggable Database. */
@com.fasterxml.jackson.annotation.JsonProperty("sourcePluggableDatabaseId")
private String sourcePluggableDatabaseId;
@@ -78,7 +85,7 @@ public Builder sourcePluggableDatabaseId(String sourcePluggableDatabaseId) {
}
/** The DB system administrator password of the source Container Database. */
@com.fasterxml.jackson.annotation.JsonProperty("sourceContainerDatabaseAdminPassword")
- private String sourceContainerDatabaseAdminPassword;
+ private char[] sourceContainerDatabaseAdminPassword;
/**
* The DB system administrator password of the source Container Database.
@@ -87,12 +94,22 @@ public Builder sourcePluggableDatabaseId(String sourcePluggableDatabaseId) {
* @return this builder
*/
public Builder sourceContainerDatabaseAdminPassword(
- String sourceContainerDatabaseAdminPassword) {
+ char[] sourceContainerDatabaseAdminPassword) {
this.sourceContainerDatabaseAdminPassword = sourceContainerDatabaseAdminPassword;
this.__explicitlySet__.add("sourceContainerDatabaseAdminPassword");
return this;
}
+ public Builder sourceContainerDatabaseAdminPassword(
+ String sourceContainerDatabaseAdminPassword) {
+ this.sourceContainerDatabaseAdminPassword =
+ sourceContainerDatabaseAdminPassword != null
+ ? sourceContainerDatabaseAdminPassword.toCharArray()
+ : null;
+ this.__explicitlySet__.add("sourceContainerDatabaseAdminPassword");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("refreshableCloneDetails")
private CreatePluggableDatabaseRefreshableCloneDetails refreshableCloneDetails;
@@ -205,6 +222,35 @@ public CreatePluggableDatabaseFromRemoteCloneDetails(
String sourcePluggableDatabaseSnapshotId) {
super();
this.dblinkUsername = dblinkUsername;
+ this.dblinkUserPassword =
+ dblinkUserPassword != null ? dblinkUserPassword.toCharArray() : null;
+ this.sourcePluggableDatabaseId = sourcePluggableDatabaseId;
+ this.sourceContainerDatabaseAdminPassword =
+ sourceContainerDatabaseAdminPassword != null
+ ? sourceContainerDatabaseAdminPassword.toCharArray()
+ : null;
+ this.refreshableCloneDetails = refreshableCloneDetails;
+ this.isThinClone = isThinClone;
+ this.sourcePluggableDatabaseSnapshotId = sourcePluggableDatabaseSnapshotId;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public CreatePluggableDatabaseFromRemoteCloneDetails(
+ @com.fasterxml.jackson.annotation.JsonProperty("dblinkUsername") String dblinkUsername,
+ @com.fasterxml.jackson.annotation.JsonProperty("dblinkUserPassword")
+ char[] dblinkUserPassword,
+ @com.fasterxml.jackson.annotation.JsonProperty("sourcePluggableDatabaseId")
+ String sourcePluggableDatabaseId,
+ @com.fasterxml.jackson.annotation.JsonProperty("sourceContainerDatabaseAdminPassword")
+ char[] sourceContainerDatabaseAdminPassword,
+ @com.fasterxml.jackson.annotation.JsonProperty("refreshableCloneDetails")
+ CreatePluggableDatabaseRefreshableCloneDetails refreshableCloneDetails,
+ @com.fasterxml.jackson.annotation.JsonProperty("isThinClone") Boolean isThinClone,
+ @com.fasterxml.jackson.annotation.JsonProperty("sourcePluggableDatabaseSnapshotId")
+ String sourcePluggableDatabaseSnapshotId) {
+ super();
+ this.dblinkUsername = dblinkUsername;
this.dblinkUserPassword = dblinkUserPassword;
this.sourcePluggableDatabaseId = sourcePluggableDatabaseId;
this.sourceContainerDatabaseAdminPassword = sourceContainerDatabaseAdminPassword;
@@ -228,14 +274,27 @@ public String getDblinkUsername() {
/** The DB link user password. */
@com.fasterxml.jackson.annotation.JsonProperty("dblinkUserPassword")
- private final String dblinkUserPassword;
+ private final char[] dblinkUserPassword;
/**
* The DB link user password.
*
* @return the value
+ * @deprecated Use getDblinkUserPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getDblinkUserPassword() {
+ return dblinkUserPassword != null ? new String(dblinkUserPassword) : null;
+ }
+
+ /**
+ * The DB link user password.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("dblinkUserPassword")
+ public char[] getDblinkUserPassword__AsCharArray() {
return dblinkUserPassword;
}
@@ -254,14 +313,29 @@ public String getSourcePluggableDatabaseId() {
/** The DB system administrator password of the source Container Database. */
@com.fasterxml.jackson.annotation.JsonProperty("sourceContainerDatabaseAdminPassword")
- private final String sourceContainerDatabaseAdminPassword;
+ private final char[] sourceContainerDatabaseAdminPassword;
/**
* The DB system administrator password of the source Container Database.
*
* @return the value
+ * @deprecated Use getSourceContainerDatabaseAdminPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getSourceContainerDatabaseAdminPassword() {
+ return sourceContainerDatabaseAdminPassword != null
+ ? new String(sourceContainerDatabaseAdminPassword)
+ : null;
+ }
+
+ /**
+ * The DB system administrator password of the source Container Database.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("sourceContainerDatabaseAdminPassword")
+ public char[] getSourceContainerDatabaseAdminPassword__AsCharArray() {
return sourceContainerDatabaseAdminPassword;
}
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 2da0336183a..94b925b6004 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
@@ -23,6 +23,38 @@
public final class CreateStandbyDetails
extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
@Deprecated
+ public CreateStandbyDetails(
+ String sourceDatabaseId,
+ String databaseAdminPassword,
+ String sourceTdeWalletPassword,
+ EncryptionKeyLocationDetails sourceEncryptionKeyLocationDetails,
+ Boolean isActiveDataGuardEnabled,
+ String dbUniqueName,
+ String sidPrefix,
+ ProtectionMode protectionMode,
+ TransportType transportType,
+ DatabaseStorageSizeDetails storageSizeDetails,
+ java.util.Map freeformTags,
+ java.util.Map> definedTags) {
+ super();
+ this.sourceDatabaseId = sourceDatabaseId;
+ this.databaseAdminPassword =
+ databaseAdminPassword != null ? databaseAdminPassword.toCharArray() : null;
+ this.sourceTdeWalletPassword =
+ sourceTdeWalletPassword != null ? sourceTdeWalletPassword.toCharArray() : null;
+ this.sourceEncryptionKeyLocationDetails = sourceEncryptionKeyLocationDetails;
+ this.isActiveDataGuardEnabled = isActiveDataGuardEnabled;
+ this.dbUniqueName = dbUniqueName;
+ this.sidPrefix = sidPrefix;
+ this.protectionMode = protectionMode;
+ this.transportType = transportType;
+ this.storageSizeDetails = storageSizeDetails;
+ this.freeformTags = freeformTags;
+ this.definedTags = definedTags;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
@java.beans.ConstructorProperties({
"sourceDatabaseId",
"databaseAdminPassword",
@@ -39,8 +71,8 @@ public final class CreateStandbyDetails
})
public CreateStandbyDetails(
String sourceDatabaseId,
- String databaseAdminPassword,
- String sourceTdeWalletPassword,
+ char[] databaseAdminPassword,
+ char[] sourceTdeWalletPassword,
EncryptionKeyLocationDetails sourceEncryptionKeyLocationDetails,
Boolean isActiveDataGuardEnabled,
String dbUniqueName,
@@ -92,7 +124,7 @@ public Builder sourceDatabaseId(String sourceDatabaseId) {
* *The password MUST be the same as the primary admin password.**
*/
@com.fasterxml.jackson.annotation.JsonProperty("databaseAdminPassword")
- private String databaseAdminPassword;
+ private char[] databaseAdminPassword;
/**
* The administrator password of the primary database in this Data Guard association.
@@ -102,14 +134,21 @@ public Builder sourceDatabaseId(String sourceDatabaseId) {
* @param databaseAdminPassword the value to set
* @return this builder
*/
- public Builder databaseAdminPassword(String databaseAdminPassword) {
+ 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 TDE wallet password of the source database specified by 'sourceDatabaseId'. */
@com.fasterxml.jackson.annotation.JsonProperty("sourceTdeWalletPassword")
- private String sourceTdeWalletPassword;
+ private char[] sourceTdeWalletPassword;
/**
* The TDE wallet password of the source database specified by 'sourceDatabaseId'.
@@ -117,12 +156,19 @@ public Builder databaseAdminPassword(String databaseAdminPassword) {
* @param sourceTdeWalletPassword the value to set
* @return this builder
*/
- public Builder sourceTdeWalletPassword(String sourceTdeWalletPassword) {
+ public Builder sourceTdeWalletPassword(char[] sourceTdeWalletPassword) {
this.sourceTdeWalletPassword = sourceTdeWalletPassword;
this.__explicitlySet__.add("sourceTdeWalletPassword");
return this;
}
+ public Builder sourceTdeWalletPassword(String sourceTdeWalletPassword) {
+ this.sourceTdeWalletPassword =
+ sourceTdeWalletPassword != null ? sourceTdeWalletPassword.toCharArray() : null;
+ this.__explicitlySet__.add("sourceTdeWalletPassword");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("sourceEncryptionKeyLocationDetails")
private EncryptionKeyLocationDetails sourceEncryptionKeyLocationDetails;
@@ -395,7 +441,20 @@ public String getSourceDatabaseId() {
*
*The password MUST be the same as the primary admin password.**
*/
@com.fasterxml.jackson.annotation.JsonProperty("databaseAdminPassword")
- private final String 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.
@@ -404,20 +463,34 @@ public String getSourceDatabaseId() {
*
* @return the value
*/
- public String getDatabaseAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("databaseAdminPassword")
+ public char[] getDatabaseAdminPassword__AsCharArray() {
return databaseAdminPassword;
}
/** The TDE wallet password of the source database specified by 'sourceDatabaseId'. */
@com.fasterxml.jackson.annotation.JsonProperty("sourceTdeWalletPassword")
- private final String sourceTdeWalletPassword;
+ private final char[] sourceTdeWalletPassword;
/**
- * The TDE wallet password of the source database specified by 'sourceDatabaseId'.
+ * The TDE wallet password of the source database specified by 'sourceDatabaseId'.
*
* @return the value
+ * @deprecated Use getSourceTdeWalletPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getSourceTdeWalletPassword() {
+ return sourceTdeWalletPassword != null ? new String(sourceTdeWalletPassword) : null;
+ }
+
+ /**
+ * The TDE wallet password of the source database specified by 'sourceDatabaseId'.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("sourceTdeWalletPassword")
+ public char[] getSourceTdeWalletPassword__AsCharArray() {
return sourceTdeWalletPassword;
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/DatabaseConnectionCredentialsByDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/DatabaseConnectionCredentialsByDetails.java
index ae2bc3c7459..8ee43197109 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/DatabaseConnectionCredentialsByDetails.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/DatabaseConnectionCredentialsByDetails.java
@@ -83,7 +83,7 @@ public Builder username(String username) {
}
/** The password that will be used to connect to the database. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password that will be used to connect to the database.
@@ -91,11 +91,17 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
/** The role of the user that will be connecting to the database. */
@com.fasterxml.jackson.annotation.JsonProperty("role")
private Role role;
@@ -158,6 +164,20 @@ public DatabaseConnectionCredentialsByDetails(
super();
this.credentialName = credentialName;
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.role = role;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public DatabaseConnectionCredentialsByDetails(
+ @com.fasterxml.jackson.annotation.JsonProperty("credentialName") String credentialName,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("role") Role role) {
+ super();
+ this.credentialName = credentialName;
+ this.username = username;
this.password = password;
this.role = role;
}
@@ -210,17 +230,29 @@ public String getUsername() {
/** The password that will be used to connect to the database. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password that will be used to connect to the database.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
- return password;
+ return password != null ? new String(password) : null;
}
+ /**
+ * The password that will be used to connect to the database.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
+ return password;
+ }
/** The role of the user that will be connecting to the database. */
public enum Role implements com.oracle.bmc.http.internal.BmcEnum {
Sysdba("SYSDBA"),
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/DatabaseSslConnectionCredentials.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/DatabaseSslConnectionCredentials.java
index 0c1aa8bef07..1162070a10b 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/DatabaseSslConnectionCredentials.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/DatabaseSslConnectionCredentials.java
@@ -79,7 +79,7 @@ public Builder username(String username) {
}
/** The password that will be used to connect to the database. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password that will be used to connect to the database.
@@ -87,11 +87,17 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
/** The role of the user that will be connecting to the database. */
@com.fasterxml.jackson.annotation.JsonProperty("role")
private Role role;
@@ -186,6 +192,22 @@ public DatabaseSslConnectionCredentials(
super();
this.credentialName = credentialName;
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.role = role;
+ this.sslSecretId = sslSecretId;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public DatabaseSslConnectionCredentials(
+ @com.fasterxml.jackson.annotation.JsonProperty("credentialName") String credentialName,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("role") Role role,
+ @com.fasterxml.jackson.annotation.JsonProperty("sslSecretId") String sslSecretId) {
+ super();
+ this.credentialName = credentialName;
+ this.username = username;
this.password = password;
this.role = role;
this.sslSecretId = sslSecretId;
@@ -239,17 +261,29 @@ public String getUsername() {
/** The password that will be used to connect to the database. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password that will be used to connect to the database.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
- return password;
+ return password != null ? new String(password) : null;
}
+ /**
+ * The password that will be used to connect to the database.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
+ return password;
+ }
/** The role of the user that will be connecting to the database. */
public enum Role implements com.oracle.bmc.http.internal.BmcEnum {
Sysdba("SYSDBA"),
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/ExternalHsmEncryptionDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/ExternalHsmEncryptionDetails.java
index 7d6f3cf58b5..1ecef23d4ac 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/ExternalHsmEncryptionDetails.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/ExternalHsmEncryptionDetails.java
@@ -29,7 +29,7 @@ public final class ExternalHsmEncryptionDetails extends EncryptionKeyLocationDet
public static class Builder {
/** Provide the HSM password as you would in RDBMS for External HSM. */
@com.fasterxml.jackson.annotation.JsonProperty("hsmPassword")
- private String hsmPassword;
+ private char[] hsmPassword;
/**
* Provide the HSM password as you would in RDBMS for External HSM.
@@ -37,12 +37,18 @@ public static class Builder {
* @param hsmPassword the value to set
* @return this builder
*/
- public Builder hsmPassword(String hsmPassword) {
+ public Builder hsmPassword(char[] hsmPassword) {
this.hsmPassword = hsmPassword;
this.__explicitlySet__.add("hsmPassword");
return this;
}
+ public Builder hsmPassword(String hsmPassword) {
+ this.hsmPassword = hsmPassword != null ? hsmPassword.toCharArray() : null;
+ this.__explicitlySet__.add("hsmPassword");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -75,19 +81,40 @@ public Builder toBuilder() {
@Deprecated
public ExternalHsmEncryptionDetails(String hsmPassword) {
super();
+ this.hsmPassword = hsmPassword != null ? hsmPassword.toCharArray() : null;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public ExternalHsmEncryptionDetails(
+ @com.fasterxml.jackson.annotation.JsonProperty("hsmPassword") char[] hsmPassword) {
+ super();
this.hsmPassword = hsmPassword;
}
/** Provide the HSM password as you would in RDBMS for External HSM. */
@com.fasterxml.jackson.annotation.JsonProperty("hsmPassword")
- private final String hsmPassword;
+ private final char[] hsmPassword;
/**
* Provide the HSM password as you would in RDBMS for External HSM.
*
* @return the value
+ * @deprecated Use getHsmPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getHsmPassword() {
+ return hsmPassword != null ? new String(hsmPassword) : null;
+ }
+
+ /**
+ * Provide the HSM password as you would in RDBMS for External HSM.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("hsmPassword")
+ public char[] getHsmPassword__AsCharArray() {
return hsmPassword;
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/FailoverDataGuardDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/FailoverDataGuardDetails.java
index 8d68e8d8e42..974ca935b5f 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/FailoverDataGuardDetails.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/FailoverDataGuardDetails.java
@@ -23,8 +23,16 @@
public final class FailoverDataGuardDetails
extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"databaseAdminPassword"})
public FailoverDataGuardDetails(String databaseAdminPassword) {
+ super();
+ this.databaseAdminPassword =
+ databaseAdminPassword != null ? databaseAdminPassword.toCharArray() : null;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ @java.beans.ConstructorProperties({"databaseAdminPassword"})
+ public FailoverDataGuardDetails(char[] databaseAdminPassword) {
super();
this.databaseAdminPassword = databaseAdminPassword;
}
@@ -37,7 +45,7 @@ public static class Builder {
* *The password MUST be the same as the primary admin password.**
*/
@com.fasterxml.jackson.annotation.JsonProperty("databaseAdminPassword")
- private String databaseAdminPassword;
+ private char[] databaseAdminPassword;
/**
* The administrator password of the primary database in this Data Guard association.
@@ -47,12 +55,19 @@ public static class Builder {
* @param databaseAdminPassword the value to set
* @return this builder
*/
- public Builder databaseAdminPassword(String databaseAdminPassword) {
+ 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;
+ }
+
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -89,7 +104,20 @@ public Builder toBuilder() {
* *The password MUST be the same as the primary admin password.**
*/
@com.fasterxml.jackson.annotation.JsonProperty("databaseAdminPassword")
- private final String 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.
@@ -98,7 +126,8 @@ public Builder toBuilder() {
*
* @return the value
*/
- public String getDatabaseAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("databaseAdminPassword")
+ public char[] getDatabaseAdminPassword__AsCharArray() {
return databaseAdminPassword;
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/MigrateVaultKeyDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/MigrateVaultKeyDetails.java
index b7c140b45d3..0a6efe2b827 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/MigrateVaultKeyDetails.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/MigrateVaultKeyDetails.java
@@ -25,6 +25,22 @@
public final class MigrateVaultKeyDetails
extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
@Deprecated
+ public MigrateVaultKeyDetails(
+ String kmsKeyId,
+ String kmsKeyVersionId,
+ String vaultId,
+ String tdeWalletPassword,
+ String adminPassword) {
+ super();
+ this.kmsKeyId = kmsKeyId;
+ this.kmsKeyVersionId = kmsKeyVersionId;
+ this.vaultId = vaultId;
+ this.tdeWalletPassword = tdeWalletPassword != null ? tdeWalletPassword.toCharArray() : null;
+ this.adminPassword = adminPassword != null ? adminPassword.toCharArray() : null;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
@java.beans.ConstructorProperties({
"kmsKeyId",
"kmsKeyVersionId",
@@ -36,8 +52,8 @@ public MigrateVaultKeyDetails(
String kmsKeyId,
String kmsKeyVersionId,
String vaultId,
- String tdeWalletPassword,
- String adminPassword) {
+ char[] tdeWalletPassword,
+ char[] adminPassword) {
super();
this.kmsKeyId = kmsKeyId;
this.kmsKeyVersionId = kmsKeyVersionId;
@@ -117,7 +133,7 @@ public Builder vaultId(String vaultId) {
}
/** The existing TDE wallet password of the database. */
@com.fasterxml.jackson.annotation.JsonProperty("tdeWalletPassword")
- private String tdeWalletPassword;
+ private char[] tdeWalletPassword;
/**
* The existing TDE wallet password of the database.
@@ -125,14 +141,21 @@ public Builder vaultId(String vaultId) {
* @param tdeWalletPassword the value to set
* @return this builder
*/
- public Builder tdeWalletPassword(String tdeWalletPassword) {
+ public Builder tdeWalletPassword(char[] tdeWalletPassword) {
this.tdeWalletPassword = tdeWalletPassword;
this.__explicitlySet__.add("tdeWalletPassword");
return this;
}
+
+ public Builder tdeWalletPassword(String tdeWalletPassword) {
+ this.tdeWalletPassword =
+ tdeWalletPassword != null ? tdeWalletPassword.toCharArray() : null;
+ this.__explicitlySet__.add("tdeWalletPassword");
+ return this;
+ }
/** The existing admin password of the database. */
@com.fasterxml.jackson.annotation.JsonProperty("adminPassword")
- private String adminPassword;
+ private char[] adminPassword;
/**
* The existing admin password of the database.
@@ -140,12 +163,18 @@ public Builder tdeWalletPassword(String tdeWalletPassword) {
* @param adminPassword the value to set
* @return this builder
*/
- public Builder adminPassword(String adminPassword) {
+ public Builder adminPassword(char[] adminPassword) {
this.adminPassword = adminPassword;
this.__explicitlySet__.add("adminPassword");
return this;
}
+ public Builder adminPassword(String adminPassword) {
+ this.adminPassword = adminPassword != null ? adminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("adminPassword");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -256,27 +285,53 @@ public String getVaultId() {
/** The existing TDE wallet password of the database. */
@com.fasterxml.jackson.annotation.JsonProperty("tdeWalletPassword")
- private final String tdeWalletPassword;
+ private final char[] tdeWalletPassword;
/**
* The existing TDE wallet password of the database.
*
* @return the value
+ * @deprecated Use getTdeWalletPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getTdeWalletPassword() {
+ return tdeWalletPassword != null ? new String(tdeWalletPassword) : null;
+ }
+
+ /**
+ * The existing TDE wallet password of the database.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("tdeWalletPassword")
+ public char[] getTdeWalletPassword__AsCharArray() {
return tdeWalletPassword;
}
/** The existing admin password of the database. */
@com.fasterxml.jackson.annotation.JsonProperty("adminPassword")
- private final String adminPassword;
+ private final char[] adminPassword;
/**
* The existing admin password of the database.
*
* @return the value
+ * @deprecated Use getAdminPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getAdminPassword() {
+ return adminPassword != null ? new String(adminPassword) : null;
+ }
+
+ /**
+ * The existing admin password of the database.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("adminPassword")
+ public char[] getAdminPassword__AsCharArray() {
return adminPassword;
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/PdbConversionToNewDatabaseDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/PdbConversionToNewDatabaseDetails.java
index f8c38a5e922..d18d3d38766 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/PdbConversionToNewDatabaseDetails.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/PdbConversionToNewDatabaseDetails.java
@@ -56,7 +56,7 @@ public Builder cdbName(String cdbName) {
* characters must be _, \\#, or -.
*/
@com.fasterxml.jackson.annotation.JsonProperty("cdbAdminPassword")
- private String cdbAdminPassword;
+ private char[] cdbAdminPassword;
/**
* A strong password for SYS, SYSTEM, and the plugbable database ADMIN user of the container
@@ -67,11 +67,18 @@ public Builder cdbName(String cdbName) {
* @param cdbAdminPassword the value to set
* @return this builder
*/
- public Builder cdbAdminPassword(String cdbAdminPassword) {
+ public Builder cdbAdminPassword(char[] cdbAdminPassword) {
this.cdbAdminPassword = cdbAdminPassword;
this.__explicitlySet__.add("cdbAdminPassword");
return this;
}
+
+ public Builder cdbAdminPassword(String cdbAdminPassword) {
+ this.cdbAdminPassword =
+ cdbAdminPassword != null ? cdbAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("cdbAdminPassword");
+ return this;
+ }
/**
* A strong password for plugbable database ADMIN user of the container database after
* conversion. The password must be at least nine characters and contain at least two
@@ -79,7 +86,7 @@ public Builder cdbAdminPassword(String cdbAdminPassword) {
* must be _, \\#, or -.
*/
@com.fasterxml.jackson.annotation.JsonProperty("pdbAdminPassword")
- private String pdbAdminPassword;
+ private char[] pdbAdminPassword;
/**
* A strong password for plugbable database ADMIN user of the container database after
@@ -90,11 +97,18 @@ public Builder cdbAdminPassword(String cdbAdminPassword) {
* @param pdbAdminPassword the value to set
* @return this builder
*/
- public Builder pdbAdminPassword(String pdbAdminPassword) {
+ public Builder pdbAdminPassword(char[] pdbAdminPassword) {
this.pdbAdminPassword = pdbAdminPassword;
this.__explicitlySet__.add("pdbAdminPassword");
return this;
}
+
+ public Builder pdbAdminPassword(String pdbAdminPassword) {
+ this.pdbAdminPassword =
+ pdbAdminPassword != null ? pdbAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("pdbAdminPassword");
+ return this;
+ }
/**
* The password to open the TDE wallet of the container database after conversion. The
* password must be at least nine characters and contain at least two uppercase, two
@@ -102,7 +116,7 @@ public Builder pdbAdminPassword(String pdbAdminPassword) {
* \\#, or -.
*/
@com.fasterxml.jackson.annotation.JsonProperty("cdbTdeWalletPassword")
- private String cdbTdeWalletPassword;
+ private char[] cdbTdeWalletPassword;
/**
* The password to open the TDE wallet of the container database after conversion. The
@@ -113,14 +127,21 @@ public Builder pdbAdminPassword(String pdbAdminPassword) {
* @param cdbTdeWalletPassword the value to set
* @return this builder
*/
- public Builder cdbTdeWalletPassword(String cdbTdeWalletPassword) {
+ public Builder cdbTdeWalletPassword(char[] cdbTdeWalletPassword) {
this.cdbTdeWalletPassword = cdbTdeWalletPassword;
this.__explicitlySet__.add("cdbTdeWalletPassword");
return this;
}
+
+ public Builder cdbTdeWalletPassword(String cdbTdeWalletPassword) {
+ this.cdbTdeWalletPassword =
+ cdbTdeWalletPassword != null ? cdbTdeWalletPassword.toCharArray() : null;
+ this.__explicitlySet__.add("cdbTdeWalletPassword");
+ return this;
+ }
/** The existing TDE wallet password of the non-container database. */
@com.fasterxml.jackson.annotation.JsonProperty("nonCdbTdeWalletPassword")
- private String nonCdbTdeWalletPassword;
+ private char[] nonCdbTdeWalletPassword;
/**
* The existing TDE wallet password of the non-container database.
@@ -128,11 +149,18 @@ public Builder cdbTdeWalletPassword(String cdbTdeWalletPassword) {
* @param nonCdbTdeWalletPassword the value to set
* @return this builder
*/
- public Builder nonCdbTdeWalletPassword(String nonCdbTdeWalletPassword) {
+ public Builder nonCdbTdeWalletPassword(char[] nonCdbTdeWalletPassword) {
this.nonCdbTdeWalletPassword = nonCdbTdeWalletPassword;
this.__explicitlySet__.add("nonCdbTdeWalletPassword");
return this;
}
+
+ public Builder nonCdbTdeWalletPassword(String nonCdbTdeWalletPassword) {
+ this.nonCdbTdeWalletPassword =
+ nonCdbTdeWalletPassword != null ? nonCdbTdeWalletPassword.toCharArray() : null;
+ this.__explicitlySet__.add("nonCdbTdeWalletPassword");
+ return this;
+ }
/** Additional container database parameters. Example: "_pdb_name_case_sensitive=true" */
@com.fasterxml.jackson.annotation.JsonProperty("additionalCdbParams")
private String additionalCdbParams;
@@ -210,6 +238,31 @@ public PdbConversionToNewDatabaseDetails(
String additionalCdbParams) {
super();
this.cdbName = cdbName;
+ this.cdbAdminPassword = cdbAdminPassword != null ? cdbAdminPassword.toCharArray() : null;
+ this.pdbAdminPassword = pdbAdminPassword != null ? pdbAdminPassword.toCharArray() : null;
+ this.cdbTdeWalletPassword =
+ cdbTdeWalletPassword != null ? cdbTdeWalletPassword.toCharArray() : null;
+ this.nonCdbTdeWalletPassword =
+ nonCdbTdeWalletPassword != null ? nonCdbTdeWalletPassword.toCharArray() : null;
+ this.additionalCdbParams = additionalCdbParams;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public PdbConversionToNewDatabaseDetails(
+ @com.fasterxml.jackson.annotation.JsonProperty("cdbName") String cdbName,
+ @com.fasterxml.jackson.annotation.JsonProperty("cdbAdminPassword")
+ char[] cdbAdminPassword,
+ @com.fasterxml.jackson.annotation.JsonProperty("pdbAdminPassword")
+ char[] pdbAdminPassword,
+ @com.fasterxml.jackson.annotation.JsonProperty("cdbTdeWalletPassword")
+ char[] cdbTdeWalletPassword,
+ @com.fasterxml.jackson.annotation.JsonProperty("nonCdbTdeWalletPassword")
+ char[] nonCdbTdeWalletPassword,
+ @com.fasterxml.jackson.annotation.JsonProperty("additionalCdbParams")
+ String additionalCdbParams) {
+ super();
+ this.cdbName = cdbName;
this.cdbAdminPassword = cdbAdminPassword;
this.pdbAdminPassword = pdbAdminPassword;
this.cdbTdeWalletPassword = cdbTdeWalletPassword;
@@ -243,7 +296,7 @@ public String getCdbName() {
* must be _, \\#, or -.
*/
@com.fasterxml.jackson.annotation.JsonProperty("cdbAdminPassword")
- private final String cdbAdminPassword;
+ private final char[] cdbAdminPassword;
/**
* A strong password for SYS, SYSTEM, and the plugbable database ADMIN user of the container
@@ -252,8 +305,24 @@ public String getCdbName() {
* must be _, \\#, or -.
*
* @return the value
+ * @deprecated Use getCdbAdminPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getCdbAdminPassword() {
+ return cdbAdminPassword != null ? new String(cdbAdminPassword) : null;
+ }
+
+ /**
+ * A strong password for SYS, SYSTEM, and the plugbable database ADMIN user of the container
+ * database after conversion. The password must be at least nine characters and contain at least
+ * two uppercase, two lowercase, two numeric, and two special characters. The special characters
+ * must be _, \\#, or -.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("cdbAdminPassword")
+ public char[] getCdbAdminPassword__AsCharArray() {
return cdbAdminPassword;
}
@@ -264,7 +333,7 @@ public String getCdbAdminPassword() {
* \\#, or -.
*/
@com.fasterxml.jackson.annotation.JsonProperty("pdbAdminPassword")
- private final String pdbAdminPassword;
+ private final char[] pdbAdminPassword;
/**
* A strong password for plugbable database ADMIN user of the container database after
@@ -273,8 +342,24 @@ public String getCdbAdminPassword() {
* \\#, or -.
*
* @return the value
+ * @deprecated Use getPdbAdminPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPdbAdminPassword() {
+ return pdbAdminPassword != null ? new String(pdbAdminPassword) : null;
+ }
+
+ /**
+ * A strong password for plugbable database ADMIN user of the container database after
+ * conversion. The password must be at least nine characters and contain at least two uppercase,
+ * two lowercase, two numeric, and two special characters. The special characters must be _,
+ * \\#, or -.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("pdbAdminPassword")
+ public char[] getPdbAdminPassword__AsCharArray() {
return pdbAdminPassword;
}
@@ -284,7 +369,7 @@ public String getPdbAdminPassword() {
* numeric, and two special characters. The special characters must be _, \\#, or -.
*/
@com.fasterxml.jackson.annotation.JsonProperty("cdbTdeWalletPassword")
- private final String cdbTdeWalletPassword;
+ private final char[] cdbTdeWalletPassword;
/**
* The password to open the TDE wallet of the container database after conversion. The password
@@ -292,21 +377,49 @@ public String getPdbAdminPassword() {
* numeric, and two special characters. The special characters must be _, \\#, or -.
*
* @return the value
+ * @deprecated Use getCdbTdeWalletPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getCdbTdeWalletPassword() {
+ return cdbTdeWalletPassword != null ? new String(cdbTdeWalletPassword) : null;
+ }
+
+ /**
+ * The password to open the TDE wallet of the container database after conversion. The password
+ * must be at least nine characters and contain at least two uppercase, two lowercase, two
+ * numeric, and two special characters. The special characters must be _, \\#, or -.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("cdbTdeWalletPassword")
+ public char[] getCdbTdeWalletPassword__AsCharArray() {
return cdbTdeWalletPassword;
}
/** The existing TDE wallet password of the non-container database. */
@com.fasterxml.jackson.annotation.JsonProperty("nonCdbTdeWalletPassword")
- private final String nonCdbTdeWalletPassword;
+ private final char[] nonCdbTdeWalletPassword;
/**
* The existing TDE wallet password of the non-container database.
*
* @return the value
+ * @deprecated Use getNonCdbTdeWalletPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getNonCdbTdeWalletPassword() {
+ return nonCdbTdeWalletPassword != null ? new String(nonCdbTdeWalletPassword) : null;
+ }
+
+ /**
+ * The existing TDE wallet password of the non-container database.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("nonCdbTdeWalletPassword")
+ public char[] getNonCdbTdeWalletPassword__AsCharArray() {
return nonCdbTdeWalletPassword;
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/ReinstateDataGuardDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/ReinstateDataGuardDetails.java
index ca07a9fff8e..45f1411616b 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/ReinstateDataGuardDetails.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/ReinstateDataGuardDetails.java
@@ -23,8 +23,17 @@
public final class ReinstateDataGuardDetails
extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"databaseAdminPassword", "sourceDatabaseId"})
public ReinstateDataGuardDetails(String databaseAdminPassword, String sourceDatabaseId) {
+ super();
+ this.databaseAdminPassword =
+ databaseAdminPassword != null ? databaseAdminPassword.toCharArray() : null;
+ this.sourceDatabaseId = sourceDatabaseId;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ @java.beans.ConstructorProperties({"databaseAdminPassword", "sourceDatabaseId"})
+ public ReinstateDataGuardDetails(char[] databaseAdminPassword, String sourceDatabaseId) {
super();
this.databaseAdminPassword = databaseAdminPassword;
this.sourceDatabaseId = sourceDatabaseId;
@@ -38,7 +47,7 @@ public static class Builder {
* *The password MUST be the same as the primary admin password.**
*/
@com.fasterxml.jackson.annotation.JsonProperty("databaseAdminPassword")
- private String databaseAdminPassword;
+ private char[] databaseAdminPassword;
/**
* The administrator password of the primary database in this Data Guard association.
@@ -48,11 +57,18 @@ public static class Builder {
* @param databaseAdminPassword the value to set
* @return this builder
*/
- public Builder databaseAdminPassword(String databaseAdminPassword) {
+ 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 [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
* source (primary) database in the Data Guard group.
@@ -113,7 +129,20 @@ public Builder toBuilder() {
*
*The password MUST be the same as the primary admin password.**
*/
@com.fasterxml.jackson.annotation.JsonProperty("databaseAdminPassword")
- private final String 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.
@@ -122,7 +151,8 @@ public Builder toBuilder() {
*
* @return the value
*/
- public String getDatabaseAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("databaseAdminPassword")
+ public char[] getDatabaseAdminPassword__AsCharArray() {
return databaseAdminPassword;
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/SwitchOverDataGuardDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/SwitchOverDataGuardDetails.java
index d5f84429192..b153ae90b7e 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/SwitchOverDataGuardDetails.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/SwitchOverDataGuardDetails.java
@@ -23,8 +23,16 @@
public final class SwitchOverDataGuardDetails
extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"databaseAdminPassword"})
public SwitchOverDataGuardDetails(String databaseAdminPassword) {
+ super();
+ this.databaseAdminPassword =
+ databaseAdminPassword != null ? databaseAdminPassword.toCharArray() : null;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ @java.beans.ConstructorProperties({"databaseAdminPassword"})
+ public SwitchOverDataGuardDetails(char[] databaseAdminPassword) {
super();
this.databaseAdminPassword = databaseAdminPassword;
}
@@ -37,7 +45,7 @@ public static class Builder {
*
*The password MUST be the same as the primary admin password.**
*/
@com.fasterxml.jackson.annotation.JsonProperty("databaseAdminPassword")
- private String databaseAdminPassword;
+ private char[] databaseAdminPassword;
/**
* The administrator password of the primary database in this Data Guard association.
@@ -47,12 +55,19 @@ public static class Builder {
* @param databaseAdminPassword the value to set
* @return this builder
*/
- public Builder databaseAdminPassword(String databaseAdminPassword) {
+ 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;
+ }
+
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -89,7 +104,20 @@ public Builder toBuilder() {
* *The password MUST be the same as the primary admin password.**
*/
@com.fasterxml.jackson.annotation.JsonProperty("databaseAdminPassword")
- private final String 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.
@@ -98,7 +126,8 @@ public Builder toBuilder() {
*
* @return the value
*/
- public String getDatabaseAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("databaseAdminPassword")
+ public char[] getDatabaseAdminPassword__AsCharArray() {
return databaseAdminPassword;
}
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateDataGuardDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateDataGuardDetails.java
index 8db7129a9fd..0dd6833f744 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateDataGuardDetails.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateDataGuardDetails.java
@@ -23,6 +23,21 @@
public final class UpdateDataGuardDetails
extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
@Deprecated
+ public UpdateDataGuardDetails(
+ String databaseAdminPassword,
+ ProtectionMode protectionMode,
+ TransportType transportType,
+ Boolean isActiveDataGuardEnabled) {
+ super();
+ this.databaseAdminPassword =
+ databaseAdminPassword != null ? databaseAdminPassword.toCharArray() : null;
+ this.protectionMode = protectionMode;
+ this.transportType = transportType;
+ this.isActiveDataGuardEnabled = isActiveDataGuardEnabled;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
@java.beans.ConstructorProperties({
"databaseAdminPassword",
"protectionMode",
@@ -30,7 +45,7 @@ public final class UpdateDataGuardDetails
"isActiveDataGuardEnabled"
})
public UpdateDataGuardDetails(
- String databaseAdminPassword,
+ char[] databaseAdminPassword,
ProtectionMode protectionMode,
TransportType transportType,
Boolean isActiveDataGuardEnabled) {
@@ -49,7 +64,7 @@ public static class Builder {
*
*The password MUST be the same as the primary admin password.**
*/
@com.fasterxml.jackson.annotation.JsonProperty("databaseAdminPassword")
- private String databaseAdminPassword;
+ private char[] databaseAdminPassword;
/**
* The administrator password of the primary database in this Data Guard association.
@@ -59,11 +74,18 @@ public static class Builder {
* @param databaseAdminPassword the value to set
* @return this builder
*/
- public Builder databaseAdminPassword(String databaseAdminPassword) {
+ 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
@@ -191,7 +213,20 @@ public Builder toBuilder() {
*
*The password MUST be the same as the primary admin password.**
*/
@com.fasterxml.jackson.annotation.JsonProperty("databaseAdminPassword")
- private final String 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.
@@ -200,10 +235,10 @@ public Builder toBuilder() {
*
* @return the value
*/
- public String getDatabaseAdminPassword() {
+ @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
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 420ac3eb2e9..d1d4803f2c4 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
@@ -26,6 +26,32 @@
public final class UpdateDatabaseDetails
extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
@Deprecated
+ public UpdateDatabaseDetails(
+ DbBackupConfig dbBackupConfig,
+ String dbHomeId,
+ String newAdminPassword,
+ String oldTdeWalletPassword,
+ String newTdeWalletPassword,
+ DatabaseStorageSizeDetails storageSizeDetails,
+ java.util.Map freeformTags,
+ java.util.Map> definedTags,
+ PatchOptions patchOptions) {
+ super();
+ this.dbBackupConfig = dbBackupConfig;
+ this.dbHomeId = dbHomeId;
+ this.newAdminPassword = newAdminPassword != null ? newAdminPassword.toCharArray() : null;
+ this.oldTdeWalletPassword =
+ oldTdeWalletPassword != null ? oldTdeWalletPassword.toCharArray() : null;
+ this.newTdeWalletPassword =
+ newTdeWalletPassword != null ? newTdeWalletPassword.toCharArray() : null;
+ this.storageSizeDetails = storageSizeDetails;
+ this.freeformTags = freeformTags;
+ this.definedTags = definedTags;
+ this.patchOptions = patchOptions;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
@java.beans.ConstructorProperties({
"dbBackupConfig",
"dbHomeId",
@@ -40,9 +66,9 @@ public final class UpdateDatabaseDetails
public UpdateDatabaseDetails(
DbBackupConfig dbBackupConfig,
String dbHomeId,
- String newAdminPassword,
- String oldTdeWalletPassword,
- String newTdeWalletPassword,
+ char[] newAdminPassword,
+ char[] oldTdeWalletPassword,
+ char[] newTdeWalletPassword,
DatabaseStorageSizeDetails storageSizeDetails,
java.util.Map freeformTags,
java.util.Map> definedTags,
@@ -96,7 +122,7 @@ public Builder dbHomeId(String dbHomeId) {
* \\#, or -.
*/
@com.fasterxml.jackson.annotation.JsonProperty("newAdminPassword")
- private String newAdminPassword;
+ private char[] newAdminPassword;
/**
* A new strong password for SYS, SYSTEM, and the plugbable database ADMIN user. The
@@ -107,17 +133,24 @@ public Builder dbHomeId(String dbHomeId) {
* @param newAdminPassword the value to set
* @return this builder
*/
- public Builder newAdminPassword(String newAdminPassword) {
+ public Builder newAdminPassword(char[] newAdminPassword) {
this.newAdminPassword = newAdminPassword;
this.__explicitlySet__.add("newAdminPassword");
return this;
}
+
+ public Builder newAdminPassword(String newAdminPassword) {
+ this.newAdminPassword =
+ newAdminPassword != null ? newAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("newAdminPassword");
+ return this;
+ }
/**
* The existing TDE wallet password. You must provide the existing password in order to set
* a new TDE wallet password.
*/
@com.fasterxml.jackson.annotation.JsonProperty("oldTdeWalletPassword")
- private String oldTdeWalletPassword;
+ private char[] oldTdeWalletPassword;
/**
* The existing TDE wallet password. You must provide the existing password in order to set
@@ -126,18 +159,25 @@ public Builder newAdminPassword(String newAdminPassword) {
* @param oldTdeWalletPassword the value to set
* @return this builder
*/
- public Builder oldTdeWalletPassword(String oldTdeWalletPassword) {
+ public Builder oldTdeWalletPassword(char[] oldTdeWalletPassword) {
this.oldTdeWalletPassword = oldTdeWalletPassword;
this.__explicitlySet__.add("oldTdeWalletPassword");
return this;
}
+
+ public Builder oldTdeWalletPassword(String oldTdeWalletPassword) {
+ this.oldTdeWalletPassword =
+ oldTdeWalletPassword != null ? oldTdeWalletPassword.toCharArray() : null;
+ this.__explicitlySet__.add("oldTdeWalletPassword");
+ return this;
+ }
/**
* The new password to open the TDE wallet. The password must be at least nine characters
* and contain at least two uppercase, two lowercase, two numeric, and two special
* characters. The special characters must be _, \\#, or -.
*/
@com.fasterxml.jackson.annotation.JsonProperty("newTdeWalletPassword")
- private String newTdeWalletPassword;
+ private char[] newTdeWalletPassword;
/**
* The new password to open the TDE wallet. The password must be at least nine characters
@@ -147,12 +187,19 @@ public Builder oldTdeWalletPassword(String oldTdeWalletPassword) {
* @param newTdeWalletPassword the value to set
* @return this builder
*/
- public Builder newTdeWalletPassword(String newTdeWalletPassword) {
+ public Builder newTdeWalletPassword(char[] newTdeWalletPassword) {
this.newTdeWalletPassword = newTdeWalletPassword;
this.__explicitlySet__.add("newTdeWalletPassword");
return this;
}
+ public Builder newTdeWalletPassword(String newTdeWalletPassword) {
+ this.newTdeWalletPassword =
+ newTdeWalletPassword != null ? newTdeWalletPassword.toCharArray() : null;
+ this.__explicitlySet__.add("newTdeWalletPassword");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("storageSizeDetails")
private DatabaseStorageSizeDetails storageSizeDetails;
@@ -311,7 +358,7 @@ public String getDbHomeId() {
* numeric, and two special characters. The special characters must be _, \\#, or -.
*/
@com.fasterxml.jackson.annotation.JsonProperty("newAdminPassword")
- private final String newAdminPassword;
+ private final char[] newAdminPassword;
/**
* A new strong password for SYS, SYSTEM, and the plugbable database ADMIN user. The password
@@ -319,8 +366,23 @@ public String getDbHomeId() {
* numeric, and two special characters. The special characters must be _, \\#, or -.
*
* @return the value
+ * @deprecated Use getNewAdminPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getNewAdminPassword() {
+ return newAdminPassword != null ? new String(newAdminPassword) : null;
+ }
+
+ /**
+ * A new strong password for SYS, SYSTEM, and the plugbable database ADMIN user. The password
+ * must be at least nine characters and contain at least two uppercase, two lowercase, two
+ * numeric, and two special characters. The special characters must be _, \\#, or -.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("newAdminPassword")
+ public char[] getNewAdminPassword__AsCharArray() {
return newAdminPassword;
}
@@ -329,15 +391,29 @@ public String getNewAdminPassword() {
* new TDE wallet password.
*/
@com.fasterxml.jackson.annotation.JsonProperty("oldTdeWalletPassword")
- private final String oldTdeWalletPassword;
+ private final char[] oldTdeWalletPassword;
/**
* The existing TDE wallet password. You must provide the existing password in order to set a
* new TDE wallet password.
*
* @return the value
+ * @deprecated Use getOldTdeWalletPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getOldTdeWalletPassword() {
+ return oldTdeWalletPassword != null ? new String(oldTdeWalletPassword) : null;
+ }
+
+ /**
+ * The existing TDE wallet password. You must provide the existing password in order to set a
+ * new TDE wallet password.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("oldTdeWalletPassword")
+ public char[] getOldTdeWalletPassword__AsCharArray() {
return oldTdeWalletPassword;
}
@@ -347,7 +423,7 @@ public String getOldTdeWalletPassword() {
* special characters must be _, \\#, or -.
*/
@com.fasterxml.jackson.annotation.JsonProperty("newTdeWalletPassword")
- private final String newTdeWalletPassword;
+ private final char[] newTdeWalletPassword;
/**
* The new password to open the TDE wallet. The password must be at least nine characters and
@@ -355,8 +431,23 @@ public String getOldTdeWalletPassword() {
* special characters must be _, \\#, or -.
*
* @return the value
+ * @deprecated Use getNewTdeWalletPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getNewTdeWalletPassword() {
+ return newTdeWalletPassword != null ? new String(newTdeWalletPassword) : null;
+ }
+
+ /**
+ * The new password to open the TDE wallet. The password must be at least nine characters and
+ * contain at least two uppercase, two lowercase, two numeric, and two special characters. The
+ * special characters must be _, \\#, or -.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("newTdeWalletPassword")
+ public char[] getNewTdeWalletPassword__AsCharArray() {
return newTdeWalletPassword;
}
diff --git a/bmc-database/src/main/resources/com/oracle/bmc/database/client.properties b/bmc-database/src/main/resources/com/oracle/bmc/database/client.properties
index 57fa7f4b072..80d9875bfaf 100644
--- a/bmc-database/src/main/resources/com/oracle/bmc/database/client.properties
+++ b/bmc-database/src/main/resources/com/oracle/bmc/database/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.147
+java.client.codegen.version = 2.163
java.minimum.client.codegen.version.from.client = 2.145
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
\ No newline at end of file
diff --git a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabaseCredentials.java b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabaseCredentials.java
index 705a6f57a12..f7bc868cc22 100644
--- a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabaseCredentials.java
+++ b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabaseCredentials.java
@@ -25,8 +25,18 @@
public final class DatabaseCredentials
extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"userName", "password", "secretId", "role"})
public DatabaseCredentials(String userName, String password, String secretId, Role role) {
+ super();
+ this.userName = userName;
+ this.password = password != null ? password.toCharArray() : null;
+ this.secretId = secretId;
+ this.role = role;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ @java.beans.ConstructorProperties({"userName", "password", "secretId", "role"})
+ public DatabaseCredentials(String userName, char[] password, String secretId, Role role) {
super();
this.userName = userName;
this.password = password;
@@ -53,7 +63,7 @@ public Builder userName(String userName) {
}
/** The password for the database user name. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password for the database user name.
@@ -61,11 +71,17 @@ public Builder userName(String userName) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
/**
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
* secret containing the user password.
@@ -159,14 +175,27 @@ public String getUserName() {
/** The password for the database user name. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password for the database user name.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password for the database user name.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabasePasswordCredentialDetails.java b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabasePasswordCredentialDetails.java
index 7a7d6fc48ba..d7857f8d2ad 100644
--- a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabasePasswordCredentialDetails.java
+++ b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/DatabasePasswordCredentialDetails.java
@@ -29,7 +29,7 @@ public final class DatabasePasswordCredentialDetails extends DatabaseCredentialD
public static class Builder {
/** The database user's password encoded using BASE64 scheme. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The database user's password encoded using BASE64 scheme.
@@ -37,11 +37,17 @@ public static class Builder {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
/** The user to connect to the database. */
@com.fasterxml.jackson.annotation.JsonProperty("username")
private String username;
@@ -112,6 +118,18 @@ public Builder toBuilder() {
@Deprecated
public DatabasePasswordCredentialDetails(String password, String username, Role role) {
super();
+ this.password = password != null ? password.toCharArray() : null;
+ this.username = username;
+ this.role = role;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public DatabasePasswordCredentialDetails(
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("role") Role role) {
+ super();
this.password = password;
this.username = username;
this.role = role;
@@ -119,14 +137,27 @@ public DatabasePasswordCredentialDetails(String password, String username, Role
/** The database user's password encoded using BASE64 scheme. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
- * The database user's password encoded using BASE64 scheme.
+ * The database user's password encoded using BASE64 scheme.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The database user's password encoded using BASE64 scheme.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/ManagedDatabasePasswordCredential.java b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/ManagedDatabasePasswordCredential.java
index ef9f321c2b0..29f061c540d 100644
--- a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/ManagedDatabasePasswordCredential.java
+++ b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/ManagedDatabasePasswordCredential.java
@@ -46,7 +46,7 @@ public Builder role(Role role) {
}
/** The database user's password encoded using BASE64 scheme. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The database user's password encoded using BASE64 scheme.
@@ -54,12 +54,18 @@ public Builder role(Role role) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -99,19 +105,42 @@ public Builder toBuilder() {
@Deprecated
public ManagedDatabasePasswordCredential(String username, Role role, String password) {
super(username, role);
+ this.password = password != null ? password.toCharArray() : null;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public ManagedDatabasePasswordCredential(
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("role") Role role,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password) {
+ super(username, role);
this.password = password;
}
/** The database user's password encoded using BASE64 scheme. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
- * The database user's password encoded using BASE64 scheme.
+ * The database user's password encoded using BASE64 scheme.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The database user's password encoded using BASE64 scheme.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/RestCredential.java b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/RestCredential.java
index 11711fb4400..90e8f257cb2 100644
--- a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/RestCredential.java
+++ b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/RestCredential.java
@@ -22,6 +22,23 @@
public final class RestCredential
extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
@Deprecated
+ public RestCredential(
+ String username,
+ String password,
+ SslTrustStoreType sslTrustStoreType,
+ String sslTrustStoreLocation,
+ String sslTrustStorePassword) {
+ super();
+ this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.sslTrustStoreType = sslTrustStoreType;
+ this.sslTrustStoreLocation = sslTrustStoreLocation;
+ this.sslTrustStorePassword =
+ sslTrustStorePassword != null ? sslTrustStorePassword.toCharArray() : null;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
@java.beans.ConstructorProperties({
"username",
"password",
@@ -31,10 +48,10 @@ public final class RestCredential
})
public RestCredential(
String username,
- String password,
+ char[] password,
SslTrustStoreType sslTrustStoreType,
String sslTrustStoreLocation,
- String sslTrustStorePassword) {
+ char[] sslTrustStorePassword) {
super();
this.username = username;
this.password = password;
@@ -62,7 +79,7 @@ public Builder username(String username) {
}
/** The password of the user. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password of the user.
@@ -70,11 +87,17 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
/** The SSL truststore type. */
@com.fasterxml.jackson.annotation.JsonProperty("sslTrustStoreType")
private SslTrustStoreType sslTrustStoreType;
@@ -107,7 +130,7 @@ public Builder sslTrustStoreLocation(String sslTrustStoreLocation) {
}
/** The password of the SSL truststore location in the agent. */
@com.fasterxml.jackson.annotation.JsonProperty("sslTrustStorePassword")
- private String sslTrustStorePassword;
+ private char[] sslTrustStorePassword;
/**
* The password of the SSL truststore location in the agent.
@@ -115,12 +138,19 @@ public Builder sslTrustStoreLocation(String sslTrustStoreLocation) {
* @param sslTrustStorePassword the value to set
* @return this builder
*/
- public Builder sslTrustStorePassword(String sslTrustStorePassword) {
+ public Builder sslTrustStorePassword(char[] sslTrustStorePassword) {
this.sslTrustStorePassword = sslTrustStorePassword;
this.__explicitlySet__.add("sslTrustStorePassword");
return this;
}
+ public Builder sslTrustStorePassword(String sslTrustStorePassword) {
+ this.sslTrustStorePassword =
+ sslTrustStorePassword != null ? sslTrustStorePassword.toCharArray() : null;
+ this.__explicitlySet__.add("sslTrustStorePassword");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -183,17 +213,29 @@ public String getUsername() {
/** The password of the user. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password of the user.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
- return password;
+ return password != null ? new String(password) : null;
}
+ /**
+ * The password of the user.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
+ return password;
+ }
/** The SSL truststore type. */
public enum SslTrustStoreType implements com.oracle.bmc.http.internal.BmcEnum {
Jks("JKS"),
@@ -255,14 +297,27 @@ public String getSslTrustStoreLocation() {
/** The password of the SSL truststore location in the agent. */
@com.fasterxml.jackson.annotation.JsonProperty("sslTrustStorePassword")
- private final String sslTrustStorePassword;
+ private final char[] sslTrustStorePassword;
/**
* The password of the SSL truststore location in the agent.
*
* @return the value
+ * @deprecated Use getSslTrustStorePassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getSslTrustStorePassword() {
+ return sslTrustStorePassword != null ? new String(sslTrustStorePassword) : null;
+ }
+
+ /**
+ * The password of the SSL truststore location in the agent.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("sslTrustStorePassword")
+ public char[] getSslTrustStorePassword__AsCharArray() {
return sslTrustStorePassword;
}
diff --git a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/SqlTuningSetAdminPasswordCredentialDetails.java b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/SqlTuningSetAdminPasswordCredentialDetails.java
index 7cfe60e679b..1192430372f 100644
--- a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/SqlTuningSetAdminPasswordCredentialDetails.java
+++ b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/SqlTuningSetAdminPasswordCredentialDetails.java
@@ -47,7 +47,7 @@ public Builder role(Role role) {
}
/** The database user's password encoded using BASE64 scheme. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The database user's password encoded using BASE64 scheme.
@@ -55,12 +55,18 @@ public Builder role(Role role) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -101,19 +107,42 @@ public Builder toBuilder() {
@Deprecated
public SqlTuningSetAdminPasswordCredentialDetails(String username, Role role, String password) {
super(username, role);
+ this.password = password != null ? password.toCharArray() : null;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public SqlTuningSetAdminPasswordCredentialDetails(
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("role") Role role,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password) {
+ super(username, role);
this.password = password;
}
/** The database user's password encoded using BASE64 scheme. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
- * The database user's password encoded using BASE64 scheme.
+ * The database user's password encoded using BASE64 scheme.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The database user's password encoded using BASE64 scheme.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/SqlTuningTaskPasswordCredentialDetails.java b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/SqlTuningTaskPasswordCredentialDetails.java
index b1d5179c58a..dde1cb26083 100644
--- a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/SqlTuningTaskPasswordCredentialDetails.java
+++ b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/SqlTuningTaskPasswordCredentialDetails.java
@@ -46,7 +46,7 @@ public Builder role(Role role) {
}
/** The database user's password encoded using BASE64 scheme. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The database user's password encoded using BASE64 scheme.
@@ -54,12 +54,18 @@ public Builder role(Role role) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -100,19 +106,42 @@ public Builder toBuilder() {
@Deprecated
public SqlTuningTaskPasswordCredentialDetails(String username, Role role, String password) {
super(username, role);
+ this.password = password != null ? password.toCharArray() : null;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public SqlTuningTaskPasswordCredentialDetails(
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("role") Role role,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password) {
+ super(username, role);
this.password = password;
}
/** The database user's password encoded using BASE64 scheme. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
- * The database user's password encoded using BASE64 scheme.
+ * The database user's password encoded using BASE64 scheme.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The database user's password encoded using BASE64 scheme.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/TablespaceAdminPasswordCredentialDetails.java b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/TablespaceAdminPasswordCredentialDetails.java
index 3c7d5b436e2..5115ebfafdd 100644
--- a/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/TablespaceAdminPasswordCredentialDetails.java
+++ b/bmc-databasemanagement/src/main/java/com/oracle/bmc/databasemanagement/model/TablespaceAdminPasswordCredentialDetails.java
@@ -47,7 +47,7 @@ public Builder role(Role role) {
}
/** The database user's password encoded using BASE64 scheme. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The database user's password encoded using BASE64 scheme.
@@ -55,12 +55,18 @@ public Builder role(Role role) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -101,19 +107,42 @@ public Builder toBuilder() {
@Deprecated
public TablespaceAdminPasswordCredentialDetails(String username, Role role, String password) {
super(username, role);
+ this.password = password != null ? password.toCharArray() : null;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public TablespaceAdminPasswordCredentialDetails(
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("role") Role role,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password) {
+ super(username, role);
this.password = password;
}
/** The database user's password encoded using BASE64 scheme. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
- * The database user's password encoded using BASE64 scheme.
+ * The database user's password encoded using BASE64 scheme.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The database user's password encoded using BASE64 scheme.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-databasemanagement/src/main/resources/com/oracle/bmc/databasemanagement/client.properties b/bmc-databasemanagement/src/main/resources/com/oracle/bmc/databasemanagement/client.properties
index 4cc24932988..8b3e1a2494e 100644
--- a/bmc-databasemanagement/src/main/resources/com/oracle/bmc/databasemanagement/client.properties
+++ b/bmc-databasemanagement/src/main/resources/com/oracle/bmc/databasemanagement/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.147
+java.client.codegen.version = 2.163
java.minimum.client.codegen.version.from.client = 2.145
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20201101")
\ No newline at end of file
diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/Connection.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/Connection.java
index fa7d7d16292..58c05742a46 100644
--- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/Connection.java
+++ b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/Connection.java
@@ -32,6 +32,57 @@
@com.fasterxml.jackson.annotation.JsonFilter(
com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
public class Connection extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ protected Connection(
+ String id,
+ String displayName,
+ String description,
+ String compartmentId,
+ java.util.Map freeformTags,
+ java.util.Map> definedTags,
+ java.util.Map> systemTags,
+ LifecycleState lifecycleState,
+ String lifecycleDetails,
+ java.util.Date timeCreated,
+ java.util.Date timeUpdated,
+ String vaultId,
+ String keyId,
+ String subnetId,
+ java.util.List ingressIps,
+ java.util.List nsgIds,
+ String username,
+ String password,
+ String replicationUsername,
+ String replicationPassword,
+ String secretId,
+ String privateEndpointId) {
+ super();
+ this.id = id;
+ this.displayName = displayName;
+ this.description = description;
+ this.compartmentId = compartmentId;
+ this.freeformTags = freeformTags;
+ this.definedTags = definedTags;
+ this.systemTags = systemTags;
+ this.lifecycleState = lifecycleState;
+ this.lifecycleDetails = lifecycleDetails;
+ this.timeCreated = timeCreated;
+ this.timeUpdated = timeUpdated;
+ this.vaultId = vaultId;
+ this.keyId = keyId;
+ this.subnetId = subnetId;
+ this.ingressIps = ingressIps;
+ this.nsgIds = nsgIds;
+ this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.replicationUsername = replicationUsername;
+ this.replicationPassword =
+ replicationPassword != null ? replicationPassword.toCharArray() : null;
+ this.secretId = secretId;
+ this.privateEndpointId = privateEndpointId;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
@Deprecated
@java.beans.ConstructorProperties({
"id",
@@ -75,9 +126,9 @@ protected Connection(
java.util.List ingressIps,
java.util.List nsgIds,
String username,
- String password,
+ char[] password,
String replicationUsername,
- String replicationPassword,
+ char[] replicationPassword,
String secretId,
String privateEndpointId) {
super();
@@ -413,14 +464,27 @@ public String getUsername() {
/** The password (credential) used when creating or updating this resource. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password (credential) used when creating or updating this resource.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password (credential) used when creating or updating this resource.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
@@ -439,14 +503,27 @@ public String getReplicationUsername() {
/** The password (credential) used when creating or updating this resource. */
@com.fasterxml.jackson.annotation.JsonProperty("replicationPassword")
- private final String replicationPassword;
+ private final char[] replicationPassword;
/**
* The password (credential) used when creating or updating this resource.
*
* @return the value
+ * @deprecated Use getReplicationPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getReplicationPassword() {
+ return replicationPassword != null ? new String(replicationPassword) : null;
+ }
+
+ /**
+ * The password (credential) used when creating or updating this resource.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("replicationPassword")
+ public char[] getReplicationPassword__AsCharArray() {
return replicationPassword;
}
diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateAdminCredentials.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateAdminCredentials.java
index 4a459d6f8e3..2d0846d3db7 100644
--- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateAdminCredentials.java
+++ b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateAdminCredentials.java
@@ -23,8 +23,16 @@
public final class CreateAdminCredentials
extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"username", "password"})
public CreateAdminCredentials(String username, String password) {
+ super();
+ this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ @java.beans.ConstructorProperties({"username", "password"})
+ public CreateAdminCredentials(String username, char[] password) {
super();
this.username = username;
this.password = password;
@@ -49,7 +57,7 @@ public Builder username(String username) {
}
/** Administrator password */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* Administrator password
@@ -57,12 +65,18 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -110,14 +124,27 @@ public String getUsername() {
/** Administrator password */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* Administrator password
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * Administrator password
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateConnectionDetails.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateConnectionDetails.java
index 7b1159ea712..572c1c4f13f 100644
--- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateConnectionDetails.java
+++ b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateConnectionDetails.java
@@ -34,6 +34,39 @@
public class CreateConnectionDetails
extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
@Deprecated
+ protected CreateConnectionDetails(
+ String displayName,
+ String description,
+ String compartmentId,
+ java.util.Map freeformTags,
+ java.util.Map> definedTags,
+ String vaultId,
+ String keyId,
+ String subnetId,
+ java.util.List nsgIds,
+ String username,
+ String password,
+ String replicationUsername,
+ String replicationPassword) {
+ super();
+ this.displayName = displayName;
+ this.description = description;
+ this.compartmentId = compartmentId;
+ this.freeformTags = freeformTags;
+ this.definedTags = definedTags;
+ this.vaultId = vaultId;
+ this.keyId = keyId;
+ this.subnetId = subnetId;
+ this.nsgIds = nsgIds;
+ this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.replicationUsername = replicationUsername;
+ this.replicationPassword =
+ replicationPassword != null ? replicationPassword.toCharArray() : null;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
@java.beans.ConstructorProperties({
"displayName",
"description",
@@ -60,9 +93,9 @@ protected CreateConnectionDetails(
String subnetId,
java.util.List nsgIds,
String username,
- String password,
+ char[] password,
String replicationUsername,
- String replicationPassword) {
+ char[] replicationPassword) {
super();
this.displayName = displayName;
this.description = description;
@@ -229,14 +262,27 @@ public String getUsername() {
/** The password (credential) used when creating or updating this resource. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password (credential) used when creating or updating this resource.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password (credential) used when creating or updating this resource.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
@@ -255,14 +301,27 @@ public String getReplicationUsername() {
/** The password (credential) used when creating or updating this resource. */
@com.fasterxml.jackson.annotation.JsonProperty("replicationPassword")
- private final String replicationPassword;
+ private final char[] replicationPassword;
/**
* The password (credential) used when creating or updating this resource.
*
* @return the value
+ * @deprecated Use getReplicationPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getReplicationPassword() {
+ return replicationPassword != null ? new String(replicationPassword) : null;
+ }
+
+ /**
+ * The password (credential) used when creating or updating this resource.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("replicationPassword")
+ public char[] getReplicationPassword__AsCharArray() {
return replicationPassword;
}
diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleAwsS3DataTransferMediumDetails.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleAwsS3DataTransferMediumDetails.java
index 2f0350a93f4..bd1c926cfc6 100644
--- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleAwsS3DataTransferMediumDetails.java
+++ b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/CreateOracleAwsS3DataTransferMediumDetails.java
@@ -70,7 +70,7 @@ public Builder region(String region) {
* https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys
*/
@com.fasterxml.jackson.annotation.JsonProperty("accessKeyId")
- private String accessKeyId;
+ private char[] accessKeyId;
/**
* AWS access key credentials identifier Details:
@@ -79,17 +79,23 @@ public Builder region(String region) {
* @param accessKeyId the value to set
* @return this builder
*/
- public Builder accessKeyId(String accessKeyId) {
+ public Builder accessKeyId(char[] accessKeyId) {
this.accessKeyId = accessKeyId;
this.__explicitlySet__.add("accessKeyId");
return this;
}
+
+ public Builder accessKeyId(String accessKeyId) {
+ this.accessKeyId = accessKeyId != null ? accessKeyId.toCharArray() : null;
+ this.__explicitlySet__.add("accessKeyId");
+ return this;
+ }
/**
* AWS secret access key credentials Details:
* https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys
*/
@com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey")
- private String secretAccessKey;
+ private char[] secretAccessKey;
/**
* AWS secret access key credentials Details:
@@ -98,12 +104,18 @@ public Builder accessKeyId(String accessKeyId) {
* @param secretAccessKey the value to set
* @return this builder
*/
- public Builder secretAccessKey(String secretAccessKey) {
+ public Builder secretAccessKey(char[] secretAccessKey) {
this.secretAccessKey = secretAccessKey;
this.__explicitlySet__.add("secretAccessKey");
return this;
}
+ public Builder secretAccessKey(String secretAccessKey) {
+ this.secretAccessKey = secretAccessKey != null ? secretAccessKey.toCharArray() : null;
+ this.__explicitlySet__.add("secretAccessKey");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("objectStorageBucket")
private ObjectStoreBucket objectStorageBucket;
@@ -170,6 +182,24 @@ public CreateOracleAwsS3DataTransferMediumDetails(
super();
this.name = name;
this.region = region;
+ this.accessKeyId = accessKeyId != null ? accessKeyId.toCharArray() : null;
+ this.secretAccessKey = secretAccessKey != null ? secretAccessKey.toCharArray() : null;
+ this.objectStorageBucket = objectStorageBucket;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public CreateOracleAwsS3DataTransferMediumDetails(
+ @com.fasterxml.jackson.annotation.JsonProperty("name") String name,
+ @com.fasterxml.jackson.annotation.JsonProperty("region") String region,
+ @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") char[] accessKeyId,
+ @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey")
+ char[] secretAccessKey,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectStorageBucket")
+ ObjectStoreBucket objectStorageBucket) {
+ super();
+ this.name = name;
+ this.region = region;
this.accessKeyId = accessKeyId;
this.secretAccessKey = secretAccessKey;
this.objectStorageBucket = objectStorageBucket;
@@ -212,15 +242,29 @@ public String getRegion() {
* https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys
*/
@com.fasterxml.jackson.annotation.JsonProperty("accessKeyId")
- private final String accessKeyId;
+ private final char[] accessKeyId;
/**
* AWS access key credentials identifier Details:
* https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys
*
* @return the value
+ * @deprecated Use getAccessKeyId__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getAccessKeyId() {
+ return accessKeyId != null ? new String(accessKeyId) : null;
+ }
+
+ /**
+ * AWS access key credentials identifier Details:
+ * https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId")
+ public char[] getAccessKeyId__AsCharArray() {
return accessKeyId;
}
@@ -229,15 +273,29 @@ public String getAccessKeyId() {
* https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys
*/
@com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey")
- private final String secretAccessKey;
+ private final char[] secretAccessKey;
/**
* AWS secret access key credentials Details:
* https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys
*
* @return the value
+ * @deprecated Use getSecretAccessKey__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getSecretAccessKey() {
+ return secretAccessKey != null ? new String(secretAccessKey) : null;
+ }
+
+ /**
+ * AWS secret access key credentials Details:
+ * https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey")
+ public char[] getSecretAccessKey__AsCharArray() {
return secretAccessKey;
}
diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleAwsS3DataTransferMediumDetails.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleAwsS3DataTransferMediumDetails.java
index 11b3fbc90ee..d5e210b0022 100644
--- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleAwsS3DataTransferMediumDetails.java
+++ b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/OracleAwsS3DataTransferMediumDetails.java
@@ -69,7 +69,7 @@ public Builder region(String region) {
* https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys
*/
@com.fasterxml.jackson.annotation.JsonProperty("accessKeyId")
- private String accessKeyId;
+ private char[] accessKeyId;
/**
* AWS access key credentials identifier Details:
@@ -78,17 +78,23 @@ public Builder region(String region) {
* @param accessKeyId the value to set
* @return this builder
*/
- public Builder accessKeyId(String accessKeyId) {
+ public Builder accessKeyId(char[] accessKeyId) {
this.accessKeyId = accessKeyId;
this.__explicitlySet__.add("accessKeyId");
return this;
}
+
+ public Builder accessKeyId(String accessKeyId) {
+ this.accessKeyId = accessKeyId != null ? accessKeyId.toCharArray() : null;
+ this.__explicitlySet__.add("accessKeyId");
+ return this;
+ }
/**
* AWS secret access key credentials Details:
* https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys
*/
@com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey")
- private String secretAccessKey;
+ private char[] secretAccessKey;
/**
* AWS secret access key credentials Details:
@@ -97,12 +103,18 @@ public Builder accessKeyId(String accessKeyId) {
* @param secretAccessKey the value to set
* @return this builder
*/
- public Builder secretAccessKey(String secretAccessKey) {
+ public Builder secretAccessKey(char[] secretAccessKey) {
this.secretAccessKey = secretAccessKey;
this.__explicitlySet__.add("secretAccessKey");
return this;
}
+ public Builder secretAccessKey(String secretAccessKey) {
+ this.secretAccessKey = secretAccessKey != null ? secretAccessKey.toCharArray() : null;
+ this.__explicitlySet__.add("secretAccessKey");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("objectStorageBucket")
private ObjectStoreBucket objectStorageBucket;
@@ -169,6 +181,24 @@ public OracleAwsS3DataTransferMediumDetails(
super();
this.name = name;
this.region = region;
+ this.accessKeyId = accessKeyId != null ? accessKeyId.toCharArray() : null;
+ this.secretAccessKey = secretAccessKey != null ? secretAccessKey.toCharArray() : null;
+ this.objectStorageBucket = objectStorageBucket;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public OracleAwsS3DataTransferMediumDetails(
+ @com.fasterxml.jackson.annotation.JsonProperty("name") String name,
+ @com.fasterxml.jackson.annotation.JsonProperty("region") String region,
+ @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") char[] accessKeyId,
+ @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey")
+ char[] secretAccessKey,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectStorageBucket")
+ ObjectStoreBucket objectStorageBucket) {
+ super();
+ this.name = name;
+ this.region = region;
this.accessKeyId = accessKeyId;
this.secretAccessKey = secretAccessKey;
this.objectStorageBucket = objectStorageBucket;
@@ -211,15 +241,29 @@ public String getRegion() {
* https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys
*/
@com.fasterxml.jackson.annotation.JsonProperty("accessKeyId")
- private final String accessKeyId;
+ private final char[] accessKeyId;
/**
* AWS access key credentials identifier Details:
* https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys
*
* @return the value
+ * @deprecated Use getAccessKeyId__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getAccessKeyId() {
+ return accessKeyId != null ? new String(accessKeyId) : null;
+ }
+
+ /**
+ * AWS access key credentials identifier Details:
+ * https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId")
+ public char[] getAccessKeyId__AsCharArray() {
return accessKeyId;
}
@@ -228,15 +272,29 @@ public String getAccessKeyId() {
* https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys
*/
@com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey")
- private final String secretAccessKey;
+ private final char[] secretAccessKey;
/**
* AWS secret access key credentials Details:
* https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys
*
* @return the value
+ * @deprecated Use getSecretAccessKey__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getSecretAccessKey() {
+ return secretAccessKey != null ? new String(secretAccessKey) : null;
+ }
+
+ /**
+ * AWS secret access key credentials Details:
+ * https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey")
+ public char[] getSecretAccessKey__AsCharArray() {
return secretAccessKey;
}
diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateAdminCredentials.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateAdminCredentials.java
index be4830dc5a2..e08de33bf00 100644
--- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateAdminCredentials.java
+++ b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateAdminCredentials.java
@@ -24,8 +24,16 @@
public final class UpdateAdminCredentials
extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"username", "password"})
public UpdateAdminCredentials(String username, String password) {
+ super();
+ this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ @java.beans.ConstructorProperties({"username", "password"})
+ public UpdateAdminCredentials(String username, char[] password) {
super();
this.username = username;
this.password = password;
@@ -50,7 +58,7 @@ public Builder username(String username) {
}
/** Administrator password */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* Administrator password
@@ -58,12 +66,18 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -111,14 +125,27 @@ public String getUsername() {
/** Administrator password */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* Administrator password
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * Administrator password
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateConnectionDetails.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateConnectionDetails.java
index 42b8d15e2a9..831344ced43 100644
--- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateConnectionDetails.java
+++ b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateConnectionDetails.java
@@ -34,6 +34,37 @@
public class UpdateConnectionDetails
extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
@Deprecated
+ protected UpdateConnectionDetails(
+ String displayName,
+ String description,
+ java.util.Map freeformTags,
+ java.util.Map> definedTags,
+ String vaultId,
+ String keyId,
+ String subnetId,
+ java.util.List nsgIds,
+ String username,
+ String password,
+ String replicationUsername,
+ String replicationPassword) {
+ super();
+ this.displayName = displayName;
+ this.description = description;
+ this.freeformTags = freeformTags;
+ this.definedTags = definedTags;
+ this.vaultId = vaultId;
+ this.keyId = keyId;
+ this.subnetId = subnetId;
+ this.nsgIds = nsgIds;
+ this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.replicationUsername = replicationUsername;
+ this.replicationPassword =
+ replicationPassword != null ? replicationPassword.toCharArray() : null;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
@java.beans.ConstructorProperties({
"displayName",
"description",
@@ -58,9 +89,9 @@ protected UpdateConnectionDetails(
String subnetId,
java.util.List nsgIds,
String username,
- String password,
+ char[] password,
String replicationUsername,
- String replicationPassword) {
+ char[] replicationPassword) {
super();
this.displayName = displayName;
this.description = description;
@@ -213,14 +244,27 @@ public String getUsername() {
/** The password (credential) used when creating or updating this resource. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password (credential) used when creating or updating this resource.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password (credential) used when creating or updating this resource.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
@@ -239,14 +283,27 @@ public String getReplicationUsername() {
/** The password (credential) used when creating or updating this resource. */
@com.fasterxml.jackson.annotation.JsonProperty("replicationPassword")
- private final String replicationPassword;
+ private final char[] replicationPassword;
/**
* The password (credential) used when creating or updating this resource.
*
* @return the value
+ * @deprecated Use getReplicationPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getReplicationPassword() {
+ return replicationPassword != null ? new String(replicationPassword) : null;
+ }
+
+ /**
+ * The password (credential) used when creating or updating this resource.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("replicationPassword")
+ public char[] getReplicationPassword__AsCharArray() {
return replicationPassword;
}
diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateOracleAwsS3DataTransferMediumDetails.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateOracleAwsS3DataTransferMediumDetails.java
index fd5497ad8d9..6528ad7e118 100644
--- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateOracleAwsS3DataTransferMediumDetails.java
+++ b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/UpdateOracleAwsS3DataTransferMediumDetails.java
@@ -70,7 +70,7 @@ public Builder region(String region) {
* https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys
*/
@com.fasterxml.jackson.annotation.JsonProperty("accessKeyId")
- private String accessKeyId;
+ private char[] accessKeyId;
/**
* AWS access key credentials identifier Details:
@@ -79,17 +79,23 @@ public Builder region(String region) {
* @param accessKeyId the value to set
* @return this builder
*/
- public Builder accessKeyId(String accessKeyId) {
+ public Builder accessKeyId(char[] accessKeyId) {
this.accessKeyId = accessKeyId;
this.__explicitlySet__.add("accessKeyId");
return this;
}
+
+ public Builder accessKeyId(String accessKeyId) {
+ this.accessKeyId = accessKeyId != null ? accessKeyId.toCharArray() : null;
+ this.__explicitlySet__.add("accessKeyId");
+ return this;
+ }
/**
* AWS secret access key credentials Details:
* https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys
*/
@com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey")
- private String secretAccessKey;
+ private char[] secretAccessKey;
/**
* AWS secret access key credentials Details:
@@ -98,12 +104,18 @@ public Builder accessKeyId(String accessKeyId) {
* @param secretAccessKey the value to set
* @return this builder
*/
- public Builder secretAccessKey(String secretAccessKey) {
+ public Builder secretAccessKey(char[] secretAccessKey) {
this.secretAccessKey = secretAccessKey;
this.__explicitlySet__.add("secretAccessKey");
return this;
}
+ public Builder secretAccessKey(String secretAccessKey) {
+ this.secretAccessKey = secretAccessKey != null ? secretAccessKey.toCharArray() : null;
+ this.__explicitlySet__.add("secretAccessKey");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("objectStorageBucket")
private ObjectStoreBucket objectStorageBucket;
@@ -170,6 +182,24 @@ public UpdateOracleAwsS3DataTransferMediumDetails(
super();
this.name = name;
this.region = region;
+ this.accessKeyId = accessKeyId != null ? accessKeyId.toCharArray() : null;
+ this.secretAccessKey = secretAccessKey != null ? secretAccessKey.toCharArray() : null;
+ this.objectStorageBucket = objectStorageBucket;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public UpdateOracleAwsS3DataTransferMediumDetails(
+ @com.fasterxml.jackson.annotation.JsonProperty("name") String name,
+ @com.fasterxml.jackson.annotation.JsonProperty("region") String region,
+ @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") char[] accessKeyId,
+ @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey")
+ char[] secretAccessKey,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectStorageBucket")
+ ObjectStoreBucket objectStorageBucket) {
+ super();
+ this.name = name;
+ this.region = region;
this.accessKeyId = accessKeyId;
this.secretAccessKey = secretAccessKey;
this.objectStorageBucket = objectStorageBucket;
@@ -212,15 +242,29 @@ public String getRegion() {
* https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys
*/
@com.fasterxml.jackson.annotation.JsonProperty("accessKeyId")
- private final String accessKeyId;
+ private final char[] accessKeyId;
/**
* AWS access key credentials identifier Details:
* https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys
*
* @return the value
+ * @deprecated Use getAccessKeyId__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getAccessKeyId() {
+ return accessKeyId != null ? new String(accessKeyId) : null;
+ }
+
+ /**
+ * AWS access key credentials identifier Details:
+ * https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId")
+ public char[] getAccessKeyId__AsCharArray() {
return accessKeyId;
}
@@ -229,15 +273,29 @@ public String getAccessKeyId() {
* https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys
*/
@com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey")
- private final String secretAccessKey;
+ private final char[] secretAccessKey;
/**
* AWS secret access key credentials Details:
* https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys
*
* @return the value
+ * @deprecated Use getSecretAccessKey__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getSecretAccessKey() {
+ return secretAccessKey != null ? new String(secretAccessKey) : null;
+ }
+
+ /**
+ * AWS secret access key credentials Details:
+ * https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey")
+ public char[] getSecretAccessKey__AsCharArray() {
return secretAccessKey;
}
diff --git a/bmc-databasemigration/src/main/resources/com/oracle/bmc/databasemigration/client.properties b/bmc-databasemigration/src/main/resources/com/oracle/bmc/databasemigration/client.properties
index 09d21c7931a..977e231bc12 100644
--- a/bmc-databasemigration/src/main/resources/com/oracle/bmc/databasemigration/client.properties
+++ b/bmc-databasemigration/src/main/resources/com/oracle/bmc/databasemigration/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.147
+java.client.codegen.version = 2.163
java.minimum.client.codegen.version.from.client = 2.145
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20230518")
\ No newline at end of file
diff --git a/bmc-databasetools/src/main/resources/com/oracle/bmc/databasetools/client.properties b/bmc-databasetools/src/main/resources/com/oracle/bmc/databasetools/client.properties
index 9408070aa39..54763c26861 100644
--- a/bmc-databasetools/src/main/resources/com/oracle/bmc/databasetools/client.properties
+++ b/bmc-databasetools/src/main/resources/com/oracle/bmc/databasetools/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.147
+java.client.codegen.version = 2.163
java.minimum.client.codegen.version.from.client = 2.145
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20201005")
\ No newline at end of file
diff --git a/bmc-datacatalog/src/main/resources/com/oracle/bmc/datacatalog/client.properties b/bmc-datacatalog/src/main/resources/com/oracle/bmc/datacatalog/client.properties
index 02d51ecf95c..ef6e542a970 100644
--- a/bmc-datacatalog/src/main/resources/com/oracle/bmc/datacatalog/client.properties
+++ b/bmc-datacatalog/src/main/resources/com/oracle/bmc/datacatalog/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.147
+java.client.codegen.version = 2.163
java.minimum.client.codegen.version.from.client = 2.145
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190325")
\ No newline at end of file
diff --git a/bmc-dataflow/src/main/resources/com/oracle/bmc/dataflow/client.properties b/bmc-dataflow/src/main/resources/com/oracle/bmc/dataflow/client.properties
index db3ae8542d3..87c80640c74 100644
--- a/bmc-dataflow/src/main/resources/com/oracle/bmc/dataflow/client.properties
+++ b/bmc-dataflow/src/main/resources/com/oracle/bmc/dataflow/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.147
+java.client.codegen.version = 2.163
java.minimum.client.codegen.version.from.client = 2.145
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200129")
\ No newline at end of file
diff --git a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromAdwc.java b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromAdwc.java
index c63c8007588..55cfbc2046e 100644
--- a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromAdwc.java
+++ b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromAdwc.java
@@ -191,7 +191,7 @@ public Builder username(String username) {
}
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password for the connection.
@@ -199,12 +199,18 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
private SensitiveAttribute passwordSecret;
@@ -350,6 +356,52 @@ public ConnectionFromAdwc(
this.tnsAlias = tnsAlias;
this.tnsNames = tnsNames;
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecret = passwordSecret;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public ConnectionFromAdwc(
+ @com.fasterxml.jackson.annotation.JsonProperty("key") String key,
+ @com.fasterxml.jackson.annotation.JsonProperty("modelVersion") String modelVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("parentRef") ParentReference parentRef,
+ @com.fasterxml.jackson.annotation.JsonProperty("name") String name,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectVersion") Integer objectVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectStatus") Integer objectStatus,
+ @com.fasterxml.jackson.annotation.JsonProperty("identifier") String identifier,
+ @com.fasterxml.jackson.annotation.JsonProperty("primarySchema") Schema primarySchema,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionProperties")
+ java.util.List connectionProperties,
+ @com.fasterxml.jackson.annotation.JsonProperty("isDefault") Boolean isDefault,
+ @com.fasterxml.jackson.annotation.JsonProperty("metadata") ObjectMetadata metadata,
+ @com.fasterxml.jackson.annotation.JsonProperty("keyMap")
+ java.util.Map keyMap,
+ @com.fasterxml.jackson.annotation.JsonProperty("tnsAlias") String tnsAlias,
+ @com.fasterxml.jackson.annotation.JsonProperty("tnsNames")
+ java.util.List tnsNames,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
+ SensitiveAttribute passwordSecret) {
+ super(
+ key,
+ modelVersion,
+ parentRef,
+ name,
+ description,
+ objectVersion,
+ objectStatus,
+ identifier,
+ primarySchema,
+ connectionProperties,
+ isDefault,
+ metadata,
+ keyMap);
+ this.tnsAlias = tnsAlias;
+ this.tnsNames = tnsNames;
+ this.username = username;
this.password = password;
this.passwordSecret = passwordSecret;
}
@@ -395,14 +447,27 @@ public String getUsername() {
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password for the connection.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password for the connection.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromAdwcDetails.java b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromAdwcDetails.java
index f47372e5430..a282cda4b98 100644
--- a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromAdwcDetails.java
+++ b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromAdwcDetails.java
@@ -182,7 +182,7 @@ public Builder username(String username) {
}
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password for the connection.
@@ -190,12 +190,18 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
private SensitiveAttribute passwordSecret;
@@ -335,6 +341,49 @@ public ConnectionFromAdwcDetails(
this.tnsAlias = tnsAlias;
this.tnsNames = tnsNames;
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecret = passwordSecret;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public ConnectionFromAdwcDetails(
+ @com.fasterxml.jackson.annotation.JsonProperty("key") String key,
+ @com.fasterxml.jackson.annotation.JsonProperty("modelVersion") String modelVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("parentRef") ParentReference parentRef,
+ @com.fasterxml.jackson.annotation.JsonProperty("name") String name,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectVersion") Integer objectVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectStatus") Integer objectStatus,
+ @com.fasterxml.jackson.annotation.JsonProperty("identifier") String identifier,
+ @com.fasterxml.jackson.annotation.JsonProperty("primarySchema") Schema primarySchema,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionProperties")
+ java.util.List connectionProperties,
+ @com.fasterxml.jackson.annotation.JsonProperty("isDefault") Boolean isDefault,
+ @com.fasterxml.jackson.annotation.JsonProperty("metadata") ObjectMetadata metadata,
+ @com.fasterxml.jackson.annotation.JsonProperty("tnsAlias") String tnsAlias,
+ @com.fasterxml.jackson.annotation.JsonProperty("tnsNames")
+ java.util.List tnsNames,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
+ SensitiveAttribute passwordSecret) {
+ super(
+ key,
+ modelVersion,
+ parentRef,
+ name,
+ description,
+ objectVersion,
+ objectStatus,
+ identifier,
+ primarySchema,
+ connectionProperties,
+ isDefault,
+ metadata);
+ this.tnsAlias = tnsAlias;
+ this.tnsNames = tnsNames;
+ this.username = username;
this.password = password;
this.passwordSecret = passwordSecret;
}
@@ -380,14 +429,27 @@ public String getUsername() {
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password for the connection.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password for the connection.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromAtp.java b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromAtp.java
index e4a2d99fe57..ac3ad13ef45 100644
--- a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromAtp.java
+++ b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromAtp.java
@@ -191,7 +191,7 @@ public Builder username(String username) {
}
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password for the connection.
@@ -199,12 +199,18 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
private SensitiveAttribute passwordSecret;
@@ -350,6 +356,52 @@ public ConnectionFromAtp(
this.tnsAlias = tnsAlias;
this.tnsNames = tnsNames;
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecret = passwordSecret;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public ConnectionFromAtp(
+ @com.fasterxml.jackson.annotation.JsonProperty("key") String key,
+ @com.fasterxml.jackson.annotation.JsonProperty("modelVersion") String modelVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("parentRef") ParentReference parentRef,
+ @com.fasterxml.jackson.annotation.JsonProperty("name") String name,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectVersion") Integer objectVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectStatus") Integer objectStatus,
+ @com.fasterxml.jackson.annotation.JsonProperty("identifier") String identifier,
+ @com.fasterxml.jackson.annotation.JsonProperty("primarySchema") Schema primarySchema,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionProperties")
+ java.util.List connectionProperties,
+ @com.fasterxml.jackson.annotation.JsonProperty("isDefault") Boolean isDefault,
+ @com.fasterxml.jackson.annotation.JsonProperty("metadata") ObjectMetadata metadata,
+ @com.fasterxml.jackson.annotation.JsonProperty("keyMap")
+ java.util.Map keyMap,
+ @com.fasterxml.jackson.annotation.JsonProperty("tnsAlias") String tnsAlias,
+ @com.fasterxml.jackson.annotation.JsonProperty("tnsNames")
+ java.util.List tnsNames,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
+ SensitiveAttribute passwordSecret) {
+ super(
+ key,
+ modelVersion,
+ parentRef,
+ name,
+ description,
+ objectVersion,
+ objectStatus,
+ identifier,
+ primarySchema,
+ connectionProperties,
+ isDefault,
+ metadata,
+ keyMap);
+ this.tnsAlias = tnsAlias;
+ this.tnsNames = tnsNames;
+ this.username = username;
this.password = password;
this.passwordSecret = passwordSecret;
}
@@ -395,14 +447,27 @@ public String getUsername() {
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password for the connection.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password for the connection.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromAtpDetails.java b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromAtpDetails.java
index 91b12867a15..99f646bf85b 100644
--- a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromAtpDetails.java
+++ b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromAtpDetails.java
@@ -182,7 +182,7 @@ public Builder username(String username) {
}
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password for the connection.
@@ -190,12 +190,18 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
private SensitiveAttribute passwordSecret;
@@ -335,6 +341,49 @@ public ConnectionFromAtpDetails(
this.tnsAlias = tnsAlias;
this.tnsNames = tnsNames;
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecret = passwordSecret;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public ConnectionFromAtpDetails(
+ @com.fasterxml.jackson.annotation.JsonProperty("key") String key,
+ @com.fasterxml.jackson.annotation.JsonProperty("modelVersion") String modelVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("parentRef") ParentReference parentRef,
+ @com.fasterxml.jackson.annotation.JsonProperty("name") String name,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectVersion") Integer objectVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectStatus") Integer objectStatus,
+ @com.fasterxml.jackson.annotation.JsonProperty("identifier") String identifier,
+ @com.fasterxml.jackson.annotation.JsonProperty("primarySchema") Schema primarySchema,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionProperties")
+ java.util.List connectionProperties,
+ @com.fasterxml.jackson.annotation.JsonProperty("isDefault") Boolean isDefault,
+ @com.fasterxml.jackson.annotation.JsonProperty("metadata") ObjectMetadata metadata,
+ @com.fasterxml.jackson.annotation.JsonProperty("tnsAlias") String tnsAlias,
+ @com.fasterxml.jackson.annotation.JsonProperty("tnsNames")
+ java.util.List tnsNames,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
+ SensitiveAttribute passwordSecret) {
+ super(
+ key,
+ modelVersion,
+ parentRef,
+ name,
+ description,
+ objectVersion,
+ objectStatus,
+ identifier,
+ primarySchema,
+ connectionProperties,
+ isDefault,
+ metadata);
+ this.tnsAlias = tnsAlias;
+ this.tnsNames = tnsNames;
+ this.username = username;
this.password = password;
this.passwordSecret = passwordSecret;
}
@@ -380,14 +429,27 @@ public String getUsername() {
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password for the connection.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password for the connection.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromMySqlHeatWave.java b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromMySqlHeatWave.java
index b9afd53b987..f3d91ccb0f7 100644
--- a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromMySqlHeatWave.java
+++ b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromMySqlHeatWave.java
@@ -161,7 +161,7 @@ public Builder username(String username) {
}
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password for the connection.
@@ -169,12 +169,18 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
private SensitiveAttribute passwordSecret;
@@ -308,6 +314,47 @@ public ConnectionFromMySqlHeatWave(
metadata,
keyMap);
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecret = passwordSecret;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public ConnectionFromMySqlHeatWave(
+ @com.fasterxml.jackson.annotation.JsonProperty("key") String key,
+ @com.fasterxml.jackson.annotation.JsonProperty("modelVersion") String modelVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("parentRef") ParentReference parentRef,
+ @com.fasterxml.jackson.annotation.JsonProperty("name") String name,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectVersion") Integer objectVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectStatus") Integer objectStatus,
+ @com.fasterxml.jackson.annotation.JsonProperty("identifier") String identifier,
+ @com.fasterxml.jackson.annotation.JsonProperty("primarySchema") Schema primarySchema,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionProperties")
+ java.util.List connectionProperties,
+ @com.fasterxml.jackson.annotation.JsonProperty("isDefault") Boolean isDefault,
+ @com.fasterxml.jackson.annotation.JsonProperty("metadata") ObjectMetadata metadata,
+ @com.fasterxml.jackson.annotation.JsonProperty("keyMap")
+ java.util.Map keyMap,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
+ SensitiveAttribute passwordSecret) {
+ super(
+ key,
+ modelVersion,
+ parentRef,
+ name,
+ description,
+ objectVersion,
+ objectStatus,
+ identifier,
+ primarySchema,
+ connectionProperties,
+ isDefault,
+ metadata,
+ keyMap);
+ this.username = username;
this.password = password;
this.passwordSecret = passwordSecret;
}
@@ -327,14 +374,27 @@ public String getUsername() {
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password for the connection.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password for the connection.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromMySqlHeatWaveDetails.java b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromMySqlHeatWaveDetails.java
index c8e1a954b4b..d96b618a57a 100644
--- a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromMySqlHeatWaveDetails.java
+++ b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromMySqlHeatWaveDetails.java
@@ -152,7 +152,7 @@ public Builder username(String username) {
}
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password for the connection.
@@ -160,12 +160,18 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
private SensitiveAttribute passwordSecret;
@@ -293,6 +299,44 @@ public ConnectionFromMySqlHeatWaveDetails(
isDefault,
metadata);
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecret = passwordSecret;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public ConnectionFromMySqlHeatWaveDetails(
+ @com.fasterxml.jackson.annotation.JsonProperty("key") String key,
+ @com.fasterxml.jackson.annotation.JsonProperty("modelVersion") String modelVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("parentRef") ParentReference parentRef,
+ @com.fasterxml.jackson.annotation.JsonProperty("name") String name,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectVersion") Integer objectVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectStatus") Integer objectStatus,
+ @com.fasterxml.jackson.annotation.JsonProperty("identifier") String identifier,
+ @com.fasterxml.jackson.annotation.JsonProperty("primarySchema") Schema primarySchema,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionProperties")
+ java.util.List connectionProperties,
+ @com.fasterxml.jackson.annotation.JsonProperty("isDefault") Boolean isDefault,
+ @com.fasterxml.jackson.annotation.JsonProperty("metadata") ObjectMetadata metadata,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
+ SensitiveAttribute passwordSecret) {
+ super(
+ key,
+ modelVersion,
+ parentRef,
+ name,
+ description,
+ objectVersion,
+ objectStatus,
+ identifier,
+ primarySchema,
+ connectionProperties,
+ isDefault,
+ metadata);
+ this.username = username;
this.password = password;
this.passwordSecret = passwordSecret;
}
@@ -312,14 +356,27 @@ public String getUsername() {
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password for the connection.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password for the connection.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromOracle.java b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromOracle.java
index 81e0a0d194f..871a829f0b5 100644
--- a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromOracle.java
+++ b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromOracle.java
@@ -161,7 +161,7 @@ public Builder username(String username) {
}
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password for the connection.
@@ -169,12 +169,18 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
private SensitiveAttribute passwordSecret;
@@ -308,6 +314,47 @@ public ConnectionFromOracle(
metadata,
keyMap);
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecret = passwordSecret;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public ConnectionFromOracle(
+ @com.fasterxml.jackson.annotation.JsonProperty("key") String key,
+ @com.fasterxml.jackson.annotation.JsonProperty("modelVersion") String modelVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("parentRef") ParentReference parentRef,
+ @com.fasterxml.jackson.annotation.JsonProperty("name") String name,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectVersion") Integer objectVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectStatus") Integer objectStatus,
+ @com.fasterxml.jackson.annotation.JsonProperty("identifier") String identifier,
+ @com.fasterxml.jackson.annotation.JsonProperty("primarySchema") Schema primarySchema,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionProperties")
+ java.util.List connectionProperties,
+ @com.fasterxml.jackson.annotation.JsonProperty("isDefault") Boolean isDefault,
+ @com.fasterxml.jackson.annotation.JsonProperty("metadata") ObjectMetadata metadata,
+ @com.fasterxml.jackson.annotation.JsonProperty("keyMap")
+ java.util.Map keyMap,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
+ SensitiveAttribute passwordSecret) {
+ super(
+ key,
+ modelVersion,
+ parentRef,
+ name,
+ description,
+ objectVersion,
+ objectStatus,
+ identifier,
+ primarySchema,
+ connectionProperties,
+ isDefault,
+ metadata,
+ keyMap);
+ this.username = username;
this.password = password;
this.passwordSecret = passwordSecret;
}
@@ -327,14 +374,27 @@ public String getUsername() {
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password for the connection.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password for the connection.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromOracleDetails.java b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromOracleDetails.java
index de28289cc22..5dc868a845d 100644
--- a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromOracleDetails.java
+++ b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromOracleDetails.java
@@ -152,7 +152,7 @@ public Builder username(String username) {
}
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password for the connection.
@@ -160,12 +160,18 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
private SensitiveAttribute passwordSecret;
@@ -293,6 +299,44 @@ public ConnectionFromOracleDetails(
isDefault,
metadata);
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecret = passwordSecret;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public ConnectionFromOracleDetails(
+ @com.fasterxml.jackson.annotation.JsonProperty("key") String key,
+ @com.fasterxml.jackson.annotation.JsonProperty("modelVersion") String modelVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("parentRef") ParentReference parentRef,
+ @com.fasterxml.jackson.annotation.JsonProperty("name") String name,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectVersion") Integer objectVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectStatus") Integer objectStatus,
+ @com.fasterxml.jackson.annotation.JsonProperty("identifier") String identifier,
+ @com.fasterxml.jackson.annotation.JsonProperty("primarySchema") Schema primarySchema,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionProperties")
+ java.util.List connectionProperties,
+ @com.fasterxml.jackson.annotation.JsonProperty("isDefault") Boolean isDefault,
+ @com.fasterxml.jackson.annotation.JsonProperty("metadata") ObjectMetadata metadata,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
+ SensitiveAttribute passwordSecret) {
+ super(
+ key,
+ modelVersion,
+ parentRef,
+ name,
+ description,
+ objectVersion,
+ objectStatus,
+ identifier,
+ primarySchema,
+ connectionProperties,
+ isDefault,
+ metadata);
+ this.username = username;
this.password = password;
this.passwordSecret = passwordSecret;
}
@@ -312,14 +356,27 @@ public String getUsername() {
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password for the connection.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password for the connection.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromOracleEbs.java b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromOracleEbs.java
index 6e6026020f2..2db529f72a2 100644
--- a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromOracleEbs.java
+++ b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromOracleEbs.java
@@ -161,7 +161,7 @@ public Builder username(String username) {
}
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password for the connection.
@@ -169,12 +169,18 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
private SensitiveAttribute passwordSecret;
@@ -308,6 +314,47 @@ public ConnectionFromOracleEbs(
metadata,
keyMap);
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecret = passwordSecret;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public ConnectionFromOracleEbs(
+ @com.fasterxml.jackson.annotation.JsonProperty("key") String key,
+ @com.fasterxml.jackson.annotation.JsonProperty("modelVersion") String modelVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("parentRef") ParentReference parentRef,
+ @com.fasterxml.jackson.annotation.JsonProperty("name") String name,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectVersion") Integer objectVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectStatus") Integer objectStatus,
+ @com.fasterxml.jackson.annotation.JsonProperty("identifier") String identifier,
+ @com.fasterxml.jackson.annotation.JsonProperty("primarySchema") Schema primarySchema,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionProperties")
+ java.util.List connectionProperties,
+ @com.fasterxml.jackson.annotation.JsonProperty("isDefault") Boolean isDefault,
+ @com.fasterxml.jackson.annotation.JsonProperty("metadata") ObjectMetadata metadata,
+ @com.fasterxml.jackson.annotation.JsonProperty("keyMap")
+ java.util.Map keyMap,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
+ SensitiveAttribute passwordSecret) {
+ super(
+ key,
+ modelVersion,
+ parentRef,
+ name,
+ description,
+ objectVersion,
+ objectStatus,
+ identifier,
+ primarySchema,
+ connectionProperties,
+ isDefault,
+ metadata,
+ keyMap);
+ this.username = username;
this.password = password;
this.passwordSecret = passwordSecret;
}
@@ -327,14 +374,27 @@ public String getUsername() {
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password for the connection.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password for the connection.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromOracleEbsDetails.java b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromOracleEbsDetails.java
index 31368cb5f1e..1398b72250d 100644
--- a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromOracleEbsDetails.java
+++ b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromOracleEbsDetails.java
@@ -152,7 +152,7 @@ public Builder username(String username) {
}
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password for the connection.
@@ -160,12 +160,18 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
private SensitiveAttribute passwordSecret;
@@ -293,6 +299,44 @@ public ConnectionFromOracleEbsDetails(
isDefault,
metadata);
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecret = passwordSecret;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public ConnectionFromOracleEbsDetails(
+ @com.fasterxml.jackson.annotation.JsonProperty("key") String key,
+ @com.fasterxml.jackson.annotation.JsonProperty("modelVersion") String modelVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("parentRef") ParentReference parentRef,
+ @com.fasterxml.jackson.annotation.JsonProperty("name") String name,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectVersion") Integer objectVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectStatus") Integer objectStatus,
+ @com.fasterxml.jackson.annotation.JsonProperty("identifier") String identifier,
+ @com.fasterxml.jackson.annotation.JsonProperty("primarySchema") Schema primarySchema,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionProperties")
+ java.util.List connectionProperties,
+ @com.fasterxml.jackson.annotation.JsonProperty("isDefault") Boolean isDefault,
+ @com.fasterxml.jackson.annotation.JsonProperty("metadata") ObjectMetadata metadata,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
+ SensitiveAttribute passwordSecret) {
+ super(
+ key,
+ modelVersion,
+ parentRef,
+ name,
+ description,
+ objectVersion,
+ objectStatus,
+ identifier,
+ primarySchema,
+ connectionProperties,
+ isDefault,
+ metadata);
+ this.username = username;
this.password = password;
this.passwordSecret = passwordSecret;
}
@@ -312,14 +356,27 @@ public String getUsername() {
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password for the connection.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password for the connection.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromOraclePeopleSoft.java b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromOraclePeopleSoft.java
index 37bf29f2dee..d80fce9def4 100644
--- a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromOraclePeopleSoft.java
+++ b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromOraclePeopleSoft.java
@@ -161,7 +161,7 @@ public Builder username(String username) {
}
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password for the connection.
@@ -169,12 +169,18 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
private SensitiveAttribute passwordSecret;
@@ -308,6 +314,47 @@ public ConnectionFromOraclePeopleSoft(
metadata,
keyMap);
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecret = passwordSecret;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public ConnectionFromOraclePeopleSoft(
+ @com.fasterxml.jackson.annotation.JsonProperty("key") String key,
+ @com.fasterxml.jackson.annotation.JsonProperty("modelVersion") String modelVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("parentRef") ParentReference parentRef,
+ @com.fasterxml.jackson.annotation.JsonProperty("name") String name,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectVersion") Integer objectVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectStatus") Integer objectStatus,
+ @com.fasterxml.jackson.annotation.JsonProperty("identifier") String identifier,
+ @com.fasterxml.jackson.annotation.JsonProperty("primarySchema") Schema primarySchema,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionProperties")
+ java.util.List connectionProperties,
+ @com.fasterxml.jackson.annotation.JsonProperty("isDefault") Boolean isDefault,
+ @com.fasterxml.jackson.annotation.JsonProperty("metadata") ObjectMetadata metadata,
+ @com.fasterxml.jackson.annotation.JsonProperty("keyMap")
+ java.util.Map keyMap,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
+ SensitiveAttribute passwordSecret) {
+ super(
+ key,
+ modelVersion,
+ parentRef,
+ name,
+ description,
+ objectVersion,
+ objectStatus,
+ identifier,
+ primarySchema,
+ connectionProperties,
+ isDefault,
+ metadata,
+ keyMap);
+ this.username = username;
this.password = password;
this.passwordSecret = passwordSecret;
}
@@ -327,14 +374,27 @@ public String getUsername() {
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password for the connection.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password for the connection.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromOraclePeopleSoftDetails.java b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromOraclePeopleSoftDetails.java
index 0064479eac9..c85548b85ec 100644
--- a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromOraclePeopleSoftDetails.java
+++ b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromOraclePeopleSoftDetails.java
@@ -152,7 +152,7 @@ public Builder username(String username) {
}
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password for the connection.
@@ -160,12 +160,18 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
private SensitiveAttribute passwordSecret;
@@ -293,6 +299,44 @@ public ConnectionFromOraclePeopleSoftDetails(
isDefault,
metadata);
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecret = passwordSecret;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public ConnectionFromOraclePeopleSoftDetails(
+ @com.fasterxml.jackson.annotation.JsonProperty("key") String key,
+ @com.fasterxml.jackson.annotation.JsonProperty("modelVersion") String modelVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("parentRef") ParentReference parentRef,
+ @com.fasterxml.jackson.annotation.JsonProperty("name") String name,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectVersion") Integer objectVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectStatus") Integer objectStatus,
+ @com.fasterxml.jackson.annotation.JsonProperty("identifier") String identifier,
+ @com.fasterxml.jackson.annotation.JsonProperty("primarySchema") Schema primarySchema,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionProperties")
+ java.util.List connectionProperties,
+ @com.fasterxml.jackson.annotation.JsonProperty("isDefault") Boolean isDefault,
+ @com.fasterxml.jackson.annotation.JsonProperty("metadata") ObjectMetadata metadata,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
+ SensitiveAttribute passwordSecret) {
+ super(
+ key,
+ modelVersion,
+ parentRef,
+ name,
+ description,
+ objectVersion,
+ objectStatus,
+ identifier,
+ primarySchema,
+ connectionProperties,
+ isDefault,
+ metadata);
+ this.username = username;
this.password = password;
this.passwordSecret = passwordSecret;
}
@@ -312,14 +356,27 @@ public String getUsername() {
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password for the connection.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password for the connection.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromOracleSiebel.java b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromOracleSiebel.java
index 3949cb82e0f..9f63f00f647 100644
--- a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromOracleSiebel.java
+++ b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromOracleSiebel.java
@@ -161,7 +161,7 @@ public Builder username(String username) {
}
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password for the connection.
@@ -169,12 +169,18 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
private SensitiveAttribute passwordSecret;
@@ -308,6 +314,47 @@ public ConnectionFromOracleSiebel(
metadata,
keyMap);
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecret = passwordSecret;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public ConnectionFromOracleSiebel(
+ @com.fasterxml.jackson.annotation.JsonProperty("key") String key,
+ @com.fasterxml.jackson.annotation.JsonProperty("modelVersion") String modelVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("parentRef") ParentReference parentRef,
+ @com.fasterxml.jackson.annotation.JsonProperty("name") String name,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectVersion") Integer objectVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectStatus") Integer objectStatus,
+ @com.fasterxml.jackson.annotation.JsonProperty("identifier") String identifier,
+ @com.fasterxml.jackson.annotation.JsonProperty("primarySchema") Schema primarySchema,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionProperties")
+ java.util.List connectionProperties,
+ @com.fasterxml.jackson.annotation.JsonProperty("isDefault") Boolean isDefault,
+ @com.fasterxml.jackson.annotation.JsonProperty("metadata") ObjectMetadata metadata,
+ @com.fasterxml.jackson.annotation.JsonProperty("keyMap")
+ java.util.Map keyMap,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
+ SensitiveAttribute passwordSecret) {
+ super(
+ key,
+ modelVersion,
+ parentRef,
+ name,
+ description,
+ objectVersion,
+ objectStatus,
+ identifier,
+ primarySchema,
+ connectionProperties,
+ isDefault,
+ metadata,
+ keyMap);
+ this.username = username;
this.password = password;
this.passwordSecret = passwordSecret;
}
@@ -327,14 +374,27 @@ public String getUsername() {
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password for the connection.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password for the connection.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromOracleSiebelDetails.java b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromOracleSiebelDetails.java
index 6fadce62af6..b73113a76a0 100644
--- a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromOracleSiebelDetails.java
+++ b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionFromOracleSiebelDetails.java
@@ -152,7 +152,7 @@ public Builder username(String username) {
}
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password for the connection.
@@ -160,12 +160,18 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
private SensitiveAttribute passwordSecret;
@@ -293,6 +299,44 @@ public ConnectionFromOracleSiebelDetails(
isDefault,
metadata);
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecret = passwordSecret;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public ConnectionFromOracleSiebelDetails(
+ @com.fasterxml.jackson.annotation.JsonProperty("key") String key,
+ @com.fasterxml.jackson.annotation.JsonProperty("modelVersion") String modelVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("parentRef") ParentReference parentRef,
+ @com.fasterxml.jackson.annotation.JsonProperty("name") String name,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectVersion") Integer objectVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectStatus") Integer objectStatus,
+ @com.fasterxml.jackson.annotation.JsonProperty("identifier") String identifier,
+ @com.fasterxml.jackson.annotation.JsonProperty("primarySchema") Schema primarySchema,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionProperties")
+ java.util.List connectionProperties,
+ @com.fasterxml.jackson.annotation.JsonProperty("isDefault") Boolean isDefault,
+ @com.fasterxml.jackson.annotation.JsonProperty("metadata") ObjectMetadata metadata,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
+ SensitiveAttribute passwordSecret) {
+ super(
+ key,
+ modelVersion,
+ parentRef,
+ name,
+ description,
+ objectVersion,
+ objectStatus,
+ identifier,
+ primarySchema,
+ connectionProperties,
+ isDefault,
+ metadata);
+ this.username = username;
this.password = password;
this.passwordSecret = passwordSecret;
}
@@ -312,14 +356,27 @@ public String getUsername() {
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password for the connection.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password for the connection.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionSummaryFromAdwc.java b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionSummaryFromAdwc.java
index ab36ac8b561..05578f17fb4 100644
--- a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionSummaryFromAdwc.java
+++ b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionSummaryFromAdwc.java
@@ -191,7 +191,7 @@ public Builder username(String username) {
}
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password for the connection.
@@ -199,12 +199,18 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
private SensitiveAttribute passwordSecret;
@@ -350,6 +356,52 @@ public ConnectionSummaryFromAdwc(
this.tnsAlias = tnsAlias;
this.tnsNames = tnsNames;
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecret = passwordSecret;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public ConnectionSummaryFromAdwc(
+ @com.fasterxml.jackson.annotation.JsonProperty("key") String key,
+ @com.fasterxml.jackson.annotation.JsonProperty("modelVersion") String modelVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("parentRef") ParentReference parentRef,
+ @com.fasterxml.jackson.annotation.JsonProperty("name") String name,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectVersion") Integer objectVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectStatus") Integer objectStatus,
+ @com.fasterxml.jackson.annotation.JsonProperty("identifier") String identifier,
+ @com.fasterxml.jackson.annotation.JsonProperty("primarySchema") Schema primarySchema,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionProperties")
+ java.util.List connectionProperties,
+ @com.fasterxml.jackson.annotation.JsonProperty("isDefault") Boolean isDefault,
+ @com.fasterxml.jackson.annotation.JsonProperty("metadata") ObjectMetadata metadata,
+ @com.fasterxml.jackson.annotation.JsonProperty("keyMap")
+ java.util.Map keyMap,
+ @com.fasterxml.jackson.annotation.JsonProperty("tnsAlias") String tnsAlias,
+ @com.fasterxml.jackson.annotation.JsonProperty("tnsNames")
+ java.util.List tnsNames,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
+ SensitiveAttribute passwordSecret) {
+ super(
+ key,
+ modelVersion,
+ parentRef,
+ name,
+ description,
+ objectVersion,
+ objectStatus,
+ identifier,
+ primarySchema,
+ connectionProperties,
+ isDefault,
+ metadata,
+ keyMap);
+ this.tnsAlias = tnsAlias;
+ this.tnsNames = tnsNames;
+ this.username = username;
this.password = password;
this.passwordSecret = passwordSecret;
}
@@ -395,14 +447,27 @@ public String getUsername() {
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password for the connection.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password for the connection.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionSummaryFromAtp.java b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionSummaryFromAtp.java
index f550ed93919..4aa805057d5 100644
--- a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionSummaryFromAtp.java
+++ b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionSummaryFromAtp.java
@@ -191,7 +191,7 @@ public Builder username(String username) {
}
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password for the connection.
@@ -199,12 +199,18 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
private SensitiveAttribute passwordSecret;
@@ -350,6 +356,52 @@ public ConnectionSummaryFromAtp(
this.tnsAlias = tnsAlias;
this.tnsNames = tnsNames;
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecret = passwordSecret;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public ConnectionSummaryFromAtp(
+ @com.fasterxml.jackson.annotation.JsonProperty("key") String key,
+ @com.fasterxml.jackson.annotation.JsonProperty("modelVersion") String modelVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("parentRef") ParentReference parentRef,
+ @com.fasterxml.jackson.annotation.JsonProperty("name") String name,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectVersion") Integer objectVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectStatus") Integer objectStatus,
+ @com.fasterxml.jackson.annotation.JsonProperty("identifier") String identifier,
+ @com.fasterxml.jackson.annotation.JsonProperty("primarySchema") Schema primarySchema,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionProperties")
+ java.util.List connectionProperties,
+ @com.fasterxml.jackson.annotation.JsonProperty("isDefault") Boolean isDefault,
+ @com.fasterxml.jackson.annotation.JsonProperty("metadata") ObjectMetadata metadata,
+ @com.fasterxml.jackson.annotation.JsonProperty("keyMap")
+ java.util.Map keyMap,
+ @com.fasterxml.jackson.annotation.JsonProperty("tnsAlias") String tnsAlias,
+ @com.fasterxml.jackson.annotation.JsonProperty("tnsNames")
+ java.util.List tnsNames,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
+ SensitiveAttribute passwordSecret) {
+ super(
+ key,
+ modelVersion,
+ parentRef,
+ name,
+ description,
+ objectVersion,
+ objectStatus,
+ identifier,
+ primarySchema,
+ connectionProperties,
+ isDefault,
+ metadata,
+ keyMap);
+ this.tnsAlias = tnsAlias;
+ this.tnsNames = tnsNames;
+ this.username = username;
this.password = password;
this.passwordSecret = passwordSecret;
}
@@ -395,14 +447,27 @@ public String getUsername() {
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password for the connection.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password for the connection.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionSummaryFromMySqlHeatWave.java b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionSummaryFromMySqlHeatWave.java
index 4878cd013a7..ee0f56d4068 100644
--- a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionSummaryFromMySqlHeatWave.java
+++ b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionSummaryFromMySqlHeatWave.java
@@ -161,7 +161,7 @@ public Builder username(String username) {
}
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password for the connection.
@@ -169,12 +169,18 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
private SensitiveAttribute passwordSecret;
@@ -308,6 +314,47 @@ public ConnectionSummaryFromMySqlHeatWave(
metadata,
keyMap);
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecret = passwordSecret;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public ConnectionSummaryFromMySqlHeatWave(
+ @com.fasterxml.jackson.annotation.JsonProperty("key") String key,
+ @com.fasterxml.jackson.annotation.JsonProperty("modelVersion") String modelVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("parentRef") ParentReference parentRef,
+ @com.fasterxml.jackson.annotation.JsonProperty("name") String name,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectVersion") Integer objectVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectStatus") Integer objectStatus,
+ @com.fasterxml.jackson.annotation.JsonProperty("identifier") String identifier,
+ @com.fasterxml.jackson.annotation.JsonProperty("primarySchema") Schema primarySchema,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionProperties")
+ java.util.List connectionProperties,
+ @com.fasterxml.jackson.annotation.JsonProperty("isDefault") Boolean isDefault,
+ @com.fasterxml.jackson.annotation.JsonProperty("metadata") ObjectMetadata metadata,
+ @com.fasterxml.jackson.annotation.JsonProperty("keyMap")
+ java.util.Map keyMap,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
+ SensitiveAttribute passwordSecret) {
+ super(
+ key,
+ modelVersion,
+ parentRef,
+ name,
+ description,
+ objectVersion,
+ objectStatus,
+ identifier,
+ primarySchema,
+ connectionProperties,
+ isDefault,
+ metadata,
+ keyMap);
+ this.username = username;
this.password = password;
this.passwordSecret = passwordSecret;
}
@@ -327,14 +374,27 @@ public String getUsername() {
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password for the connection.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password for the connection.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionSummaryFromOracle.java b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionSummaryFromOracle.java
index 5d2ad62cce4..5da1b756737 100644
--- a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionSummaryFromOracle.java
+++ b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionSummaryFromOracle.java
@@ -161,7 +161,7 @@ public Builder username(String username) {
}
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password for the connection.
@@ -169,12 +169,18 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
private SensitiveAttribute passwordSecret;
@@ -308,6 +314,47 @@ public ConnectionSummaryFromOracle(
metadata,
keyMap);
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecret = passwordSecret;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public ConnectionSummaryFromOracle(
+ @com.fasterxml.jackson.annotation.JsonProperty("key") String key,
+ @com.fasterxml.jackson.annotation.JsonProperty("modelVersion") String modelVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("parentRef") ParentReference parentRef,
+ @com.fasterxml.jackson.annotation.JsonProperty("name") String name,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectVersion") Integer objectVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectStatus") Integer objectStatus,
+ @com.fasterxml.jackson.annotation.JsonProperty("identifier") String identifier,
+ @com.fasterxml.jackson.annotation.JsonProperty("primarySchema") Schema primarySchema,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionProperties")
+ java.util.List connectionProperties,
+ @com.fasterxml.jackson.annotation.JsonProperty("isDefault") Boolean isDefault,
+ @com.fasterxml.jackson.annotation.JsonProperty("metadata") ObjectMetadata metadata,
+ @com.fasterxml.jackson.annotation.JsonProperty("keyMap")
+ java.util.Map keyMap,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
+ SensitiveAttribute passwordSecret) {
+ super(
+ key,
+ modelVersion,
+ parentRef,
+ name,
+ description,
+ objectVersion,
+ objectStatus,
+ identifier,
+ primarySchema,
+ connectionProperties,
+ isDefault,
+ metadata,
+ keyMap);
+ this.username = username;
this.password = password;
this.passwordSecret = passwordSecret;
}
@@ -327,14 +374,27 @@ public String getUsername() {
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password for the connection.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password for the connection.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionSummaryFromOracleEbs.java b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionSummaryFromOracleEbs.java
index ec5a1980e75..a3ef5a07598 100644
--- a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionSummaryFromOracleEbs.java
+++ b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionSummaryFromOracleEbs.java
@@ -161,7 +161,7 @@ public Builder username(String username) {
}
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password for the connection.
@@ -169,12 +169,18 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
private SensitiveAttribute passwordSecret;
@@ -308,6 +314,47 @@ public ConnectionSummaryFromOracleEbs(
metadata,
keyMap);
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecret = passwordSecret;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public ConnectionSummaryFromOracleEbs(
+ @com.fasterxml.jackson.annotation.JsonProperty("key") String key,
+ @com.fasterxml.jackson.annotation.JsonProperty("modelVersion") String modelVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("parentRef") ParentReference parentRef,
+ @com.fasterxml.jackson.annotation.JsonProperty("name") String name,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectVersion") Integer objectVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectStatus") Integer objectStatus,
+ @com.fasterxml.jackson.annotation.JsonProperty("identifier") String identifier,
+ @com.fasterxml.jackson.annotation.JsonProperty("primarySchema") Schema primarySchema,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionProperties")
+ java.util.List connectionProperties,
+ @com.fasterxml.jackson.annotation.JsonProperty("isDefault") Boolean isDefault,
+ @com.fasterxml.jackson.annotation.JsonProperty("metadata") ObjectMetadata metadata,
+ @com.fasterxml.jackson.annotation.JsonProperty("keyMap")
+ java.util.Map keyMap,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
+ SensitiveAttribute passwordSecret) {
+ super(
+ key,
+ modelVersion,
+ parentRef,
+ name,
+ description,
+ objectVersion,
+ objectStatus,
+ identifier,
+ primarySchema,
+ connectionProperties,
+ isDefault,
+ metadata,
+ keyMap);
+ this.username = username;
this.password = password;
this.passwordSecret = passwordSecret;
}
@@ -327,14 +374,27 @@ public String getUsername() {
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password for the connection.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password for the connection.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionSummaryFromOraclePeopleSoft.java b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionSummaryFromOraclePeopleSoft.java
index a55d697d73a..5613dc2d4db 100644
--- a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionSummaryFromOraclePeopleSoft.java
+++ b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionSummaryFromOraclePeopleSoft.java
@@ -161,7 +161,7 @@ public Builder username(String username) {
}
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password for the connection.
@@ -169,12 +169,18 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
private SensitiveAttribute passwordSecret;
@@ -308,6 +314,47 @@ public ConnectionSummaryFromOraclePeopleSoft(
metadata,
keyMap);
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecret = passwordSecret;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public ConnectionSummaryFromOraclePeopleSoft(
+ @com.fasterxml.jackson.annotation.JsonProperty("key") String key,
+ @com.fasterxml.jackson.annotation.JsonProperty("modelVersion") String modelVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("parentRef") ParentReference parentRef,
+ @com.fasterxml.jackson.annotation.JsonProperty("name") String name,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectVersion") Integer objectVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectStatus") Integer objectStatus,
+ @com.fasterxml.jackson.annotation.JsonProperty("identifier") String identifier,
+ @com.fasterxml.jackson.annotation.JsonProperty("primarySchema") Schema primarySchema,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionProperties")
+ java.util.List connectionProperties,
+ @com.fasterxml.jackson.annotation.JsonProperty("isDefault") Boolean isDefault,
+ @com.fasterxml.jackson.annotation.JsonProperty("metadata") ObjectMetadata metadata,
+ @com.fasterxml.jackson.annotation.JsonProperty("keyMap")
+ java.util.Map keyMap,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
+ SensitiveAttribute passwordSecret) {
+ super(
+ key,
+ modelVersion,
+ parentRef,
+ name,
+ description,
+ objectVersion,
+ objectStatus,
+ identifier,
+ primarySchema,
+ connectionProperties,
+ isDefault,
+ metadata,
+ keyMap);
+ this.username = username;
this.password = password;
this.passwordSecret = passwordSecret;
}
@@ -327,14 +374,27 @@ public String getUsername() {
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password for the connection.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password for the connection.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionSummaryFromOracleSiebel.java b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionSummaryFromOracleSiebel.java
index 1ca2cad27b2..fb2fcad424a 100644
--- a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionSummaryFromOracleSiebel.java
+++ b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/ConnectionSummaryFromOracleSiebel.java
@@ -161,7 +161,7 @@ public Builder username(String username) {
}
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password for the connection.
@@ -169,12 +169,18 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
private SensitiveAttribute passwordSecret;
@@ -308,6 +314,47 @@ public ConnectionSummaryFromOracleSiebel(
metadata,
keyMap);
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecret = passwordSecret;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public ConnectionSummaryFromOracleSiebel(
+ @com.fasterxml.jackson.annotation.JsonProperty("key") String key,
+ @com.fasterxml.jackson.annotation.JsonProperty("modelVersion") String modelVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("parentRef") ParentReference parentRef,
+ @com.fasterxml.jackson.annotation.JsonProperty("name") String name,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectVersion") Integer objectVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectStatus") Integer objectStatus,
+ @com.fasterxml.jackson.annotation.JsonProperty("identifier") String identifier,
+ @com.fasterxml.jackson.annotation.JsonProperty("primarySchema") Schema primarySchema,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionProperties")
+ java.util.List connectionProperties,
+ @com.fasterxml.jackson.annotation.JsonProperty("isDefault") Boolean isDefault,
+ @com.fasterxml.jackson.annotation.JsonProperty("metadata") ObjectMetadata metadata,
+ @com.fasterxml.jackson.annotation.JsonProperty("keyMap")
+ java.util.Map keyMap,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
+ SensitiveAttribute passwordSecret) {
+ super(
+ key,
+ modelVersion,
+ parentRef,
+ name,
+ description,
+ objectVersion,
+ objectStatus,
+ identifier,
+ primarySchema,
+ connectionProperties,
+ isDefault,
+ metadata,
+ keyMap);
+ this.username = username;
this.password = password;
this.passwordSecret = passwordSecret;
}
@@ -327,14 +374,27 @@ public String getUsername() {
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password for the connection.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password for the connection.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/CreateConnectionFromAdwc.java b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/CreateConnectionFromAdwc.java
index 48902ab31f0..6b81b4d2eca 100644
--- a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/CreateConnectionFromAdwc.java
+++ b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/CreateConnectionFromAdwc.java
@@ -155,7 +155,7 @@ public Builder username(String username) {
}
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password for the connection.
@@ -163,12 +163,18 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
private SensitiveAttribute passwordSecret;
@@ -290,6 +296,44 @@ public CreateConnectionFromAdwc(
this.tnsAlias = tnsAlias;
this.tnsNames = tnsNames;
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecret = passwordSecret;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public CreateConnectionFromAdwc(
+ @com.fasterxml.jackson.annotation.JsonProperty("key") String key,
+ @com.fasterxml.jackson.annotation.JsonProperty("modelVersion") String modelVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("parentRef") ParentReference parentRef,
+ @com.fasterxml.jackson.annotation.JsonProperty("name") String name,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectStatus") Integer objectStatus,
+ @com.fasterxml.jackson.annotation.JsonProperty("identifier") String identifier,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionProperties")
+ java.util.List connectionProperties,
+ @com.fasterxml.jackson.annotation.JsonProperty("registryMetadata")
+ RegistryMetadata registryMetadata,
+ @com.fasterxml.jackson.annotation.JsonProperty("tnsAlias") String tnsAlias,
+ @com.fasterxml.jackson.annotation.JsonProperty("tnsNames")
+ java.util.List tnsNames,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
+ SensitiveAttribute passwordSecret) {
+ super(
+ key,
+ modelVersion,
+ parentRef,
+ name,
+ description,
+ objectStatus,
+ identifier,
+ connectionProperties,
+ registryMetadata);
+ this.tnsAlias = tnsAlias;
+ this.tnsNames = tnsNames;
+ this.username = username;
this.password = password;
this.passwordSecret = passwordSecret;
}
@@ -335,14 +379,27 @@ public String getUsername() {
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password for the connection.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password for the connection.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/CreateConnectionFromAtp.java b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/CreateConnectionFromAtp.java
index 8d9ca1f5e9a..c5eaa757b3a 100644
--- a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/CreateConnectionFromAtp.java
+++ b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/CreateConnectionFromAtp.java
@@ -155,7 +155,7 @@ public Builder username(String username) {
}
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password for the connection.
@@ -163,12 +163,18 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
private SensitiveAttribute passwordSecret;
@@ -290,6 +296,44 @@ public CreateConnectionFromAtp(
this.tnsAlias = tnsAlias;
this.tnsNames = tnsNames;
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecret = passwordSecret;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public CreateConnectionFromAtp(
+ @com.fasterxml.jackson.annotation.JsonProperty("key") String key,
+ @com.fasterxml.jackson.annotation.JsonProperty("modelVersion") String modelVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("parentRef") ParentReference parentRef,
+ @com.fasterxml.jackson.annotation.JsonProperty("name") String name,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectStatus") Integer objectStatus,
+ @com.fasterxml.jackson.annotation.JsonProperty("identifier") String identifier,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionProperties")
+ java.util.List connectionProperties,
+ @com.fasterxml.jackson.annotation.JsonProperty("registryMetadata")
+ RegistryMetadata registryMetadata,
+ @com.fasterxml.jackson.annotation.JsonProperty("tnsAlias") String tnsAlias,
+ @com.fasterxml.jackson.annotation.JsonProperty("tnsNames")
+ java.util.List tnsNames,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
+ SensitiveAttribute passwordSecret) {
+ super(
+ key,
+ modelVersion,
+ parentRef,
+ name,
+ description,
+ objectStatus,
+ identifier,
+ connectionProperties,
+ registryMetadata);
+ this.tnsAlias = tnsAlias;
+ this.tnsNames = tnsNames;
+ this.username = username;
this.password = password;
this.passwordSecret = passwordSecret;
}
@@ -335,14 +379,27 @@ public String getUsername() {
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password for the connection.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password for the connection.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/CreateConnectionFromJdbc.java b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/CreateConnectionFromJdbc.java
index 979a3ddcc89..330d1eeb480 100644
--- a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/CreateConnectionFromJdbc.java
+++ b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/CreateConnectionFromJdbc.java
@@ -125,7 +125,7 @@ public Builder username(String username) {
}
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password for the connection.
@@ -133,12 +133,18 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
private SensitiveAttribute passwordSecret;
@@ -248,6 +254,39 @@ public CreateConnectionFromJdbc(
connectionProperties,
registryMetadata);
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecret = passwordSecret;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public CreateConnectionFromJdbc(
+ @com.fasterxml.jackson.annotation.JsonProperty("key") String key,
+ @com.fasterxml.jackson.annotation.JsonProperty("modelVersion") String modelVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("parentRef") ParentReference parentRef,
+ @com.fasterxml.jackson.annotation.JsonProperty("name") String name,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectStatus") Integer objectStatus,
+ @com.fasterxml.jackson.annotation.JsonProperty("identifier") String identifier,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionProperties")
+ java.util.List connectionProperties,
+ @com.fasterxml.jackson.annotation.JsonProperty("registryMetadata")
+ RegistryMetadata registryMetadata,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
+ SensitiveAttribute passwordSecret) {
+ super(
+ key,
+ modelVersion,
+ parentRef,
+ name,
+ description,
+ objectStatus,
+ identifier,
+ connectionProperties,
+ registryMetadata);
+ this.username = username;
this.password = password;
this.passwordSecret = passwordSecret;
}
@@ -267,14 +306,27 @@ public String getUsername() {
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password for the connection.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password for the connection.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/CreateConnectionFromMySQL.java b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/CreateConnectionFromMySQL.java
index 7aae4978f86..f6d68d03ba3 100644
--- a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/CreateConnectionFromMySQL.java
+++ b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/CreateConnectionFromMySQL.java
@@ -125,7 +125,7 @@ public Builder username(String username) {
}
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password for the connection.
@@ -133,12 +133,18 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
private SensitiveAttribute passwordSecret;
@@ -248,6 +254,39 @@ public CreateConnectionFromMySQL(
connectionProperties,
registryMetadata);
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecret = passwordSecret;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public CreateConnectionFromMySQL(
+ @com.fasterxml.jackson.annotation.JsonProperty("key") String key,
+ @com.fasterxml.jackson.annotation.JsonProperty("modelVersion") String modelVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("parentRef") ParentReference parentRef,
+ @com.fasterxml.jackson.annotation.JsonProperty("name") String name,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectStatus") Integer objectStatus,
+ @com.fasterxml.jackson.annotation.JsonProperty("identifier") String identifier,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionProperties")
+ java.util.List connectionProperties,
+ @com.fasterxml.jackson.annotation.JsonProperty("registryMetadata")
+ RegistryMetadata registryMetadata,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
+ SensitiveAttribute passwordSecret) {
+ super(
+ key,
+ modelVersion,
+ parentRef,
+ name,
+ description,
+ objectStatus,
+ identifier,
+ connectionProperties,
+ registryMetadata);
+ this.username = username;
this.password = password;
this.passwordSecret = passwordSecret;
}
@@ -267,14 +306,27 @@ public String getUsername() {
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password for the connection.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password for the connection.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/CreateConnectionFromMySqlHeatWave.java b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/CreateConnectionFromMySqlHeatWave.java
index 97b6ee1d0d3..0f7d40ddbe7 100644
--- a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/CreateConnectionFromMySqlHeatWave.java
+++ b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/CreateConnectionFromMySqlHeatWave.java
@@ -125,7 +125,7 @@ public Builder username(String username) {
}
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password for the connection.
@@ -133,12 +133,18 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
private SensitiveAttribute passwordSecret;
@@ -248,6 +254,39 @@ public CreateConnectionFromMySqlHeatWave(
connectionProperties,
registryMetadata);
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecret = passwordSecret;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public CreateConnectionFromMySqlHeatWave(
+ @com.fasterxml.jackson.annotation.JsonProperty("key") String key,
+ @com.fasterxml.jackson.annotation.JsonProperty("modelVersion") String modelVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("parentRef") ParentReference parentRef,
+ @com.fasterxml.jackson.annotation.JsonProperty("name") String name,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectStatus") Integer objectStatus,
+ @com.fasterxml.jackson.annotation.JsonProperty("identifier") String identifier,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionProperties")
+ java.util.List connectionProperties,
+ @com.fasterxml.jackson.annotation.JsonProperty("registryMetadata")
+ RegistryMetadata registryMetadata,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
+ SensitiveAttribute passwordSecret) {
+ super(
+ key,
+ modelVersion,
+ parentRef,
+ name,
+ description,
+ objectStatus,
+ identifier,
+ connectionProperties,
+ registryMetadata);
+ this.username = username;
this.password = password;
this.passwordSecret = passwordSecret;
}
@@ -267,14 +306,27 @@ public String getUsername() {
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password for the connection.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password for the connection.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/CreateConnectionFromOracle.java b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/CreateConnectionFromOracle.java
index 9559af8c19b..999ed7947d1 100644
--- a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/CreateConnectionFromOracle.java
+++ b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/CreateConnectionFromOracle.java
@@ -125,7 +125,7 @@ public Builder username(String username) {
}
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password for the connection.
@@ -133,12 +133,18 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
private SensitiveAttribute passwordSecret;
@@ -248,6 +254,39 @@ public CreateConnectionFromOracle(
connectionProperties,
registryMetadata);
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecret = passwordSecret;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public CreateConnectionFromOracle(
+ @com.fasterxml.jackson.annotation.JsonProperty("key") String key,
+ @com.fasterxml.jackson.annotation.JsonProperty("modelVersion") String modelVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("parentRef") ParentReference parentRef,
+ @com.fasterxml.jackson.annotation.JsonProperty("name") String name,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectStatus") Integer objectStatus,
+ @com.fasterxml.jackson.annotation.JsonProperty("identifier") String identifier,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionProperties")
+ java.util.List connectionProperties,
+ @com.fasterxml.jackson.annotation.JsonProperty("registryMetadata")
+ RegistryMetadata registryMetadata,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
+ SensitiveAttribute passwordSecret) {
+ super(
+ key,
+ modelVersion,
+ parentRef,
+ name,
+ description,
+ objectStatus,
+ identifier,
+ connectionProperties,
+ registryMetadata);
+ this.username = username;
this.password = password;
this.passwordSecret = passwordSecret;
}
@@ -267,14 +306,27 @@ public String getUsername() {
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password for the connection.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password for the connection.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/CreateConnectionFromOracleEbs.java b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/CreateConnectionFromOracleEbs.java
index 781c3bb79c2..4050d6e2fbd 100644
--- a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/CreateConnectionFromOracleEbs.java
+++ b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/CreateConnectionFromOracleEbs.java
@@ -125,7 +125,7 @@ public Builder username(String username) {
}
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password for the connection.
@@ -133,12 +133,18 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
private SensitiveAttribute passwordSecret;
@@ -248,6 +254,39 @@ public CreateConnectionFromOracleEbs(
connectionProperties,
registryMetadata);
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecret = passwordSecret;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public CreateConnectionFromOracleEbs(
+ @com.fasterxml.jackson.annotation.JsonProperty("key") String key,
+ @com.fasterxml.jackson.annotation.JsonProperty("modelVersion") String modelVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("parentRef") ParentReference parentRef,
+ @com.fasterxml.jackson.annotation.JsonProperty("name") String name,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectStatus") Integer objectStatus,
+ @com.fasterxml.jackson.annotation.JsonProperty("identifier") String identifier,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionProperties")
+ java.util.List connectionProperties,
+ @com.fasterxml.jackson.annotation.JsonProperty("registryMetadata")
+ RegistryMetadata registryMetadata,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
+ SensitiveAttribute passwordSecret) {
+ super(
+ key,
+ modelVersion,
+ parentRef,
+ name,
+ description,
+ objectStatus,
+ identifier,
+ connectionProperties,
+ registryMetadata);
+ this.username = username;
this.password = password;
this.passwordSecret = passwordSecret;
}
@@ -267,14 +306,27 @@ public String getUsername() {
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password for the connection.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password for the connection.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/CreateConnectionFromOraclePeopleSoft.java b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/CreateConnectionFromOraclePeopleSoft.java
index 1f42826e371..465c2733742 100644
--- a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/CreateConnectionFromOraclePeopleSoft.java
+++ b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/CreateConnectionFromOraclePeopleSoft.java
@@ -125,7 +125,7 @@ public Builder username(String username) {
}
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password for the connection.
@@ -133,12 +133,18 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
private SensitiveAttribute passwordSecret;
@@ -248,6 +254,39 @@ public CreateConnectionFromOraclePeopleSoft(
connectionProperties,
registryMetadata);
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecret = passwordSecret;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public CreateConnectionFromOraclePeopleSoft(
+ @com.fasterxml.jackson.annotation.JsonProperty("key") String key,
+ @com.fasterxml.jackson.annotation.JsonProperty("modelVersion") String modelVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("parentRef") ParentReference parentRef,
+ @com.fasterxml.jackson.annotation.JsonProperty("name") String name,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectStatus") Integer objectStatus,
+ @com.fasterxml.jackson.annotation.JsonProperty("identifier") String identifier,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionProperties")
+ java.util.List connectionProperties,
+ @com.fasterxml.jackson.annotation.JsonProperty("registryMetadata")
+ RegistryMetadata registryMetadata,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
+ SensitiveAttribute passwordSecret) {
+ super(
+ key,
+ modelVersion,
+ parentRef,
+ name,
+ description,
+ objectStatus,
+ identifier,
+ connectionProperties,
+ registryMetadata);
+ this.username = username;
this.password = password;
this.passwordSecret = passwordSecret;
}
@@ -267,14 +306,27 @@ public String getUsername() {
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password for the connection.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password for the connection.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/CreateConnectionFromOracleSiebel.java b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/CreateConnectionFromOracleSiebel.java
index ee642a8ea87..b272de1338a 100644
--- a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/CreateConnectionFromOracleSiebel.java
+++ b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/CreateConnectionFromOracleSiebel.java
@@ -125,7 +125,7 @@ public Builder username(String username) {
}
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password for the connection.
@@ -133,12 +133,18 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
private SensitiveAttribute passwordSecret;
@@ -248,6 +254,39 @@ public CreateConnectionFromOracleSiebel(
connectionProperties,
registryMetadata);
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecret = passwordSecret;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public CreateConnectionFromOracleSiebel(
+ @com.fasterxml.jackson.annotation.JsonProperty("key") String key,
+ @com.fasterxml.jackson.annotation.JsonProperty("modelVersion") String modelVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("parentRef") ParentReference parentRef,
+ @com.fasterxml.jackson.annotation.JsonProperty("name") String name,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectStatus") Integer objectStatus,
+ @com.fasterxml.jackson.annotation.JsonProperty("identifier") String identifier,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionProperties")
+ java.util.List connectionProperties,
+ @com.fasterxml.jackson.annotation.JsonProperty("registryMetadata")
+ RegistryMetadata registryMetadata,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
+ SensitiveAttribute passwordSecret) {
+ super(
+ key,
+ modelVersion,
+ parentRef,
+ name,
+ description,
+ objectStatus,
+ identifier,
+ connectionProperties,
+ registryMetadata);
+ this.username = username;
this.password = password;
this.passwordSecret = passwordSecret;
}
@@ -267,14 +306,27 @@ public String getUsername() {
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password for the connection.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password for the connection.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/UpdateConnectionFromAdwc.java b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/UpdateConnectionFromAdwc.java
index 702ffc62ff7..7868106c7a0 100644
--- a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/UpdateConnectionFromAdwc.java
+++ b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/UpdateConnectionFromAdwc.java
@@ -164,7 +164,7 @@ public Builder username(String username) {
}
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password for the connection.
@@ -172,12 +172,18 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
private SensitiveAttribute passwordSecret;
@@ -305,6 +311,46 @@ public UpdateConnectionFromAdwc(
this.tnsAlias = tnsAlias;
this.tnsNames = tnsNames;
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecret = passwordSecret;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public UpdateConnectionFromAdwc(
+ @com.fasterxml.jackson.annotation.JsonProperty("key") String key,
+ @com.fasterxml.jackson.annotation.JsonProperty("modelVersion") String modelVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("parentRef") ParentReference parentRef,
+ @com.fasterxml.jackson.annotation.JsonProperty("name") String name,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectStatus") Integer objectStatus,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectVersion") Integer objectVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("identifier") String identifier,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionProperties")
+ java.util.List connectionProperties,
+ @com.fasterxml.jackson.annotation.JsonProperty("registryMetadata")
+ RegistryMetadata registryMetadata,
+ @com.fasterxml.jackson.annotation.JsonProperty("tnsAlias") String tnsAlias,
+ @com.fasterxml.jackson.annotation.JsonProperty("tnsNames")
+ java.util.List tnsNames,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
+ SensitiveAttribute passwordSecret) {
+ super(
+ key,
+ modelVersion,
+ parentRef,
+ name,
+ description,
+ objectStatus,
+ objectVersion,
+ identifier,
+ connectionProperties,
+ registryMetadata);
+ this.tnsAlias = tnsAlias;
+ this.tnsNames = tnsNames;
+ this.username = username;
this.password = password;
this.passwordSecret = passwordSecret;
}
@@ -350,14 +396,27 @@ public String getUsername() {
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password for the connection.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password for the connection.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/UpdateConnectionFromAtp.java b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/UpdateConnectionFromAtp.java
index 7aad3d2669c..632176aa23b 100644
--- a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/UpdateConnectionFromAtp.java
+++ b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/UpdateConnectionFromAtp.java
@@ -164,7 +164,7 @@ public Builder username(String username) {
}
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password for the connection.
@@ -172,12 +172,18 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
private SensitiveAttribute passwordSecret;
@@ -305,6 +311,46 @@ public UpdateConnectionFromAtp(
this.tnsAlias = tnsAlias;
this.tnsNames = tnsNames;
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecret = passwordSecret;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public UpdateConnectionFromAtp(
+ @com.fasterxml.jackson.annotation.JsonProperty("key") String key,
+ @com.fasterxml.jackson.annotation.JsonProperty("modelVersion") String modelVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("parentRef") ParentReference parentRef,
+ @com.fasterxml.jackson.annotation.JsonProperty("name") String name,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectStatus") Integer objectStatus,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectVersion") Integer objectVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("identifier") String identifier,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionProperties")
+ java.util.List connectionProperties,
+ @com.fasterxml.jackson.annotation.JsonProperty("registryMetadata")
+ RegistryMetadata registryMetadata,
+ @com.fasterxml.jackson.annotation.JsonProperty("tnsAlias") String tnsAlias,
+ @com.fasterxml.jackson.annotation.JsonProperty("tnsNames")
+ java.util.List tnsNames,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
+ SensitiveAttribute passwordSecret) {
+ super(
+ key,
+ modelVersion,
+ parentRef,
+ name,
+ description,
+ objectStatus,
+ objectVersion,
+ identifier,
+ connectionProperties,
+ registryMetadata);
+ this.tnsAlias = tnsAlias;
+ this.tnsNames = tnsNames;
+ this.username = username;
this.password = password;
this.passwordSecret = passwordSecret;
}
@@ -350,14 +396,27 @@ public String getUsername() {
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password for the connection.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password for the connection.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/UpdateConnectionFromJdbc.java b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/UpdateConnectionFromJdbc.java
index ae6d8ae242e..a9e73a72797 100644
--- a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/UpdateConnectionFromJdbc.java
+++ b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/UpdateConnectionFromJdbc.java
@@ -134,7 +134,7 @@ public Builder username(String username) {
}
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password for the connection.
@@ -142,12 +142,18 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
private SensitiveAttribute passwordSecret;
@@ -263,6 +269,41 @@ public UpdateConnectionFromJdbc(
connectionProperties,
registryMetadata);
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecret = passwordSecret;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public UpdateConnectionFromJdbc(
+ @com.fasterxml.jackson.annotation.JsonProperty("key") String key,
+ @com.fasterxml.jackson.annotation.JsonProperty("modelVersion") String modelVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("parentRef") ParentReference parentRef,
+ @com.fasterxml.jackson.annotation.JsonProperty("name") String name,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectStatus") Integer objectStatus,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectVersion") Integer objectVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("identifier") String identifier,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionProperties")
+ java.util.List connectionProperties,
+ @com.fasterxml.jackson.annotation.JsonProperty("registryMetadata")
+ RegistryMetadata registryMetadata,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
+ SensitiveAttribute passwordSecret) {
+ super(
+ key,
+ modelVersion,
+ parentRef,
+ name,
+ description,
+ objectStatus,
+ objectVersion,
+ identifier,
+ connectionProperties,
+ registryMetadata);
+ this.username = username;
this.password = password;
this.passwordSecret = passwordSecret;
}
@@ -282,14 +323,27 @@ public String getUsername() {
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password for the connection.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password for the connection.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/UpdateConnectionFromMySQL.java b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/UpdateConnectionFromMySQL.java
index 0deea28e329..e928869fa6e 100644
--- a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/UpdateConnectionFromMySQL.java
+++ b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/UpdateConnectionFromMySQL.java
@@ -134,7 +134,7 @@ public Builder username(String username) {
}
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password for the connection.
@@ -142,12 +142,18 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
private SensitiveAttribute passwordSecret;
@@ -263,6 +269,41 @@ public UpdateConnectionFromMySQL(
connectionProperties,
registryMetadata);
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecret = passwordSecret;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public UpdateConnectionFromMySQL(
+ @com.fasterxml.jackson.annotation.JsonProperty("key") String key,
+ @com.fasterxml.jackson.annotation.JsonProperty("modelVersion") String modelVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("parentRef") ParentReference parentRef,
+ @com.fasterxml.jackson.annotation.JsonProperty("name") String name,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectStatus") Integer objectStatus,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectVersion") Integer objectVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("identifier") String identifier,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionProperties")
+ java.util.List connectionProperties,
+ @com.fasterxml.jackson.annotation.JsonProperty("registryMetadata")
+ RegistryMetadata registryMetadata,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
+ SensitiveAttribute passwordSecret) {
+ super(
+ key,
+ modelVersion,
+ parentRef,
+ name,
+ description,
+ objectStatus,
+ objectVersion,
+ identifier,
+ connectionProperties,
+ registryMetadata);
+ this.username = username;
this.password = password;
this.passwordSecret = passwordSecret;
}
@@ -282,14 +323,27 @@ public String getUsername() {
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password for the connection.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password for the connection.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/UpdateConnectionFromMySqlHeatWave.java b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/UpdateConnectionFromMySqlHeatWave.java
index 4c72959cece..50d61125bf7 100644
--- a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/UpdateConnectionFromMySqlHeatWave.java
+++ b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/UpdateConnectionFromMySqlHeatWave.java
@@ -134,7 +134,7 @@ public Builder username(String username) {
}
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password for the connection.
@@ -142,12 +142,18 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
private SensitiveAttribute passwordSecret;
@@ -263,6 +269,41 @@ public UpdateConnectionFromMySqlHeatWave(
connectionProperties,
registryMetadata);
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecret = passwordSecret;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public UpdateConnectionFromMySqlHeatWave(
+ @com.fasterxml.jackson.annotation.JsonProperty("key") String key,
+ @com.fasterxml.jackson.annotation.JsonProperty("modelVersion") String modelVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("parentRef") ParentReference parentRef,
+ @com.fasterxml.jackson.annotation.JsonProperty("name") String name,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectStatus") Integer objectStatus,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectVersion") Integer objectVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("identifier") String identifier,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionProperties")
+ java.util.List connectionProperties,
+ @com.fasterxml.jackson.annotation.JsonProperty("registryMetadata")
+ RegistryMetadata registryMetadata,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
+ SensitiveAttribute passwordSecret) {
+ super(
+ key,
+ modelVersion,
+ parentRef,
+ name,
+ description,
+ objectStatus,
+ objectVersion,
+ identifier,
+ connectionProperties,
+ registryMetadata);
+ this.username = username;
this.password = password;
this.passwordSecret = passwordSecret;
}
@@ -282,14 +323,27 @@ public String getUsername() {
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password for the connection.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password for the connection.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/UpdateConnectionFromOracle.java b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/UpdateConnectionFromOracle.java
index 2d1af1e34fc..480d8f1017b 100644
--- a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/UpdateConnectionFromOracle.java
+++ b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/UpdateConnectionFromOracle.java
@@ -134,7 +134,7 @@ public Builder username(String username) {
}
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password for the connection.
@@ -142,12 +142,18 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
private SensitiveAttribute passwordSecret;
@@ -263,6 +269,41 @@ public UpdateConnectionFromOracle(
connectionProperties,
registryMetadata);
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecret = passwordSecret;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public UpdateConnectionFromOracle(
+ @com.fasterxml.jackson.annotation.JsonProperty("key") String key,
+ @com.fasterxml.jackson.annotation.JsonProperty("modelVersion") String modelVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("parentRef") ParentReference parentRef,
+ @com.fasterxml.jackson.annotation.JsonProperty("name") String name,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectStatus") Integer objectStatus,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectVersion") Integer objectVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("identifier") String identifier,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionProperties")
+ java.util.List connectionProperties,
+ @com.fasterxml.jackson.annotation.JsonProperty("registryMetadata")
+ RegistryMetadata registryMetadata,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
+ SensitiveAttribute passwordSecret) {
+ super(
+ key,
+ modelVersion,
+ parentRef,
+ name,
+ description,
+ objectStatus,
+ objectVersion,
+ identifier,
+ connectionProperties,
+ registryMetadata);
+ this.username = username;
this.password = password;
this.passwordSecret = passwordSecret;
}
@@ -282,14 +323,27 @@ public String getUsername() {
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password for the connection.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password for the connection.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/UpdateConnectionFromOracleEbs.java b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/UpdateConnectionFromOracleEbs.java
index 1b5319e192a..2532bd02531 100644
--- a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/UpdateConnectionFromOracleEbs.java
+++ b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/UpdateConnectionFromOracleEbs.java
@@ -134,7 +134,7 @@ public Builder username(String username) {
}
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password for the connection.
@@ -142,12 +142,18 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
private SensitiveAttribute passwordSecret;
@@ -263,6 +269,41 @@ public UpdateConnectionFromOracleEbs(
connectionProperties,
registryMetadata);
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecret = passwordSecret;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public UpdateConnectionFromOracleEbs(
+ @com.fasterxml.jackson.annotation.JsonProperty("key") String key,
+ @com.fasterxml.jackson.annotation.JsonProperty("modelVersion") String modelVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("parentRef") ParentReference parentRef,
+ @com.fasterxml.jackson.annotation.JsonProperty("name") String name,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectStatus") Integer objectStatus,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectVersion") Integer objectVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("identifier") String identifier,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionProperties")
+ java.util.List connectionProperties,
+ @com.fasterxml.jackson.annotation.JsonProperty("registryMetadata")
+ RegistryMetadata registryMetadata,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
+ SensitiveAttribute passwordSecret) {
+ super(
+ key,
+ modelVersion,
+ parentRef,
+ name,
+ description,
+ objectStatus,
+ objectVersion,
+ identifier,
+ connectionProperties,
+ registryMetadata);
+ this.username = username;
this.password = password;
this.passwordSecret = passwordSecret;
}
@@ -282,14 +323,27 @@ public String getUsername() {
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password for the connection.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password for the connection.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/UpdateConnectionFromOraclePeopleSoft.java b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/UpdateConnectionFromOraclePeopleSoft.java
index 0e8f2cf4853..8b9a5888e4d 100644
--- a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/UpdateConnectionFromOraclePeopleSoft.java
+++ b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/UpdateConnectionFromOraclePeopleSoft.java
@@ -134,7 +134,7 @@ public Builder username(String username) {
}
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password for the connection.
@@ -142,12 +142,18 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
private SensitiveAttribute passwordSecret;
@@ -263,6 +269,41 @@ public UpdateConnectionFromOraclePeopleSoft(
connectionProperties,
registryMetadata);
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecret = passwordSecret;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public UpdateConnectionFromOraclePeopleSoft(
+ @com.fasterxml.jackson.annotation.JsonProperty("key") String key,
+ @com.fasterxml.jackson.annotation.JsonProperty("modelVersion") String modelVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("parentRef") ParentReference parentRef,
+ @com.fasterxml.jackson.annotation.JsonProperty("name") String name,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectStatus") Integer objectStatus,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectVersion") Integer objectVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("identifier") String identifier,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionProperties")
+ java.util.List connectionProperties,
+ @com.fasterxml.jackson.annotation.JsonProperty("registryMetadata")
+ RegistryMetadata registryMetadata,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
+ SensitiveAttribute passwordSecret) {
+ super(
+ key,
+ modelVersion,
+ parentRef,
+ name,
+ description,
+ objectStatus,
+ objectVersion,
+ identifier,
+ connectionProperties,
+ registryMetadata);
+ this.username = username;
this.password = password;
this.passwordSecret = passwordSecret;
}
@@ -282,14 +323,27 @@ public String getUsername() {
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password for the connection.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password for the connection.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/UpdateConnectionFromOracleSiebel.java b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/UpdateConnectionFromOracleSiebel.java
index 03a4abe2e94..0e4636cd1b2 100644
--- a/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/UpdateConnectionFromOracleSiebel.java
+++ b/bmc-dataintegration/src/main/java/com/oracle/bmc/dataintegration/model/UpdateConnectionFromOracleSiebel.java
@@ -134,7 +134,7 @@ public Builder username(String username) {
}
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password for the connection.
@@ -142,12 +142,18 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
private SensitiveAttribute passwordSecret;
@@ -263,6 +269,41 @@ public UpdateConnectionFromOracleSiebel(
connectionProperties,
registryMetadata);
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecret = passwordSecret;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public UpdateConnectionFromOracleSiebel(
+ @com.fasterxml.jackson.annotation.JsonProperty("key") String key,
+ @com.fasterxml.jackson.annotation.JsonProperty("modelVersion") String modelVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("parentRef") ParentReference parentRef,
+ @com.fasterxml.jackson.annotation.JsonProperty("name") String name,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectStatus") Integer objectStatus,
+ @com.fasterxml.jackson.annotation.JsonProperty("objectVersion") Integer objectVersion,
+ @com.fasterxml.jackson.annotation.JsonProperty("identifier") String identifier,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionProperties")
+ java.util.List connectionProperties,
+ @com.fasterxml.jackson.annotation.JsonProperty("registryMetadata")
+ RegistryMetadata registryMetadata,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecret")
+ SensitiveAttribute passwordSecret) {
+ super(
+ key,
+ modelVersion,
+ parentRef,
+ name,
+ description,
+ objectStatus,
+ objectVersion,
+ identifier,
+ connectionProperties,
+ registryMetadata);
+ this.username = username;
this.password = password;
this.passwordSecret = passwordSecret;
}
@@ -282,14 +323,27 @@ public String getUsername() {
/** The password for the connection. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password for the connection.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password for the connection.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-dataintegration/src/main/resources/com/oracle/bmc/dataintegration/client.properties b/bmc-dataintegration/src/main/resources/com/oracle/bmc/dataintegration/client.properties
index debfb7fb6e8..3556d933c8a 100644
--- a/bmc-dataintegration/src/main/resources/com/oracle/bmc/dataintegration/client.properties
+++ b/bmc-dataintegration/src/main/resources/com/oracle/bmc/dataintegration/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.147
+java.client.codegen.version = 2.163
java.minimum.client.codegen.version.from.client = 2.145
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200430")
\ No newline at end of file
diff --git a/bmc-datalabelingservice/src/main/resources/com/oracle/bmc/datalabelingservice/client.properties b/bmc-datalabelingservice/src/main/resources/com/oracle/bmc/datalabelingservice/client.properties
index c04594dcf04..aa5371a4dcd 100644
--- a/bmc-datalabelingservice/src/main/resources/com/oracle/bmc/datalabelingservice/client.properties
+++ b/bmc-datalabelingservice/src/main/resources/com/oracle/bmc/datalabelingservice/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.147
+java.client.codegen.version = 2.163
java.minimum.client.codegen.version.from.client = 2.145
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20211001")
\ No newline at end of file
diff --git a/bmc-datalabelingservicedataplane/src/main/resources/com/oracle/bmc/datalabelingservicedataplane/client.properties b/bmc-datalabelingservicedataplane/src/main/resources/com/oracle/bmc/datalabelingservicedataplane/client.properties
index c04594dcf04..aa5371a4dcd 100644
--- a/bmc-datalabelingservicedataplane/src/main/resources/com/oracle/bmc/datalabelingservicedataplane/client.properties
+++ b/bmc-datalabelingservicedataplane/src/main/resources/com/oracle/bmc/datalabelingservicedataplane/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.147
+java.client.codegen.version = 2.163
java.minimum.client.codegen.version.from.client = 2.145
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20211001")
\ No newline at end of file
diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/Credentials.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/Credentials.java
index c98545d6c42..519a4bce203 100644
--- a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/Credentials.java
+++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/Credentials.java
@@ -21,8 +21,16 @@
com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
public final class Credentials extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"userName", "password"})
public Credentials(String userName, String password) {
+ super();
+ this.userName = userName;
+ this.password = password != null ? password.toCharArray() : null;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ @java.beans.ConstructorProperties({"userName", "password"})
+ public Credentials(String userName, char[] password) {
super();
this.userName = userName;
this.password = password;
@@ -47,7 +55,7 @@ public Builder userName(String userName) {
}
/** The password of the database user. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password of the database user.
@@ -55,12 +63,18 @@ public Builder userName(String userName) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -108,14 +122,27 @@ public String getUserName() {
/** The password of the database user. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password of the database user.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password of the database user.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/MaskDataDetails.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/MaskDataDetails.java
index 322e9601700..9f5eeccac21 100644
--- a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/MaskDataDetails.java
+++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/MaskDataDetails.java
@@ -22,6 +22,45 @@
public final class MaskDataDetails
extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
@Deprecated
+ public MaskDataDetails(
+ String targetId,
+ Boolean isDecrypt,
+ Boolean isRerun,
+ ReRunFromStep reRunFromStep,
+ String tablespace,
+ Boolean isIgnoreErrorsEnabled,
+ String seed,
+ String userDefinedFunctionSeed,
+ Boolean isMoveInterimTablesEnabled,
+ Boolean isExecuteSavedScriptEnabled,
+ Boolean isDropTempTablesEnabled,
+ Boolean isRedoLoggingEnabled,
+ Boolean isRefreshStatsEnabled,
+ String parallelDegree,
+ String recompile,
+ Credentials targetCredentials) {
+ super();
+ this.targetId = targetId;
+ this.isDecrypt = isDecrypt;
+ this.isRerun = isRerun;
+ this.reRunFromStep = reRunFromStep;
+ this.tablespace = tablespace;
+ this.isIgnoreErrorsEnabled = isIgnoreErrorsEnabled;
+ this.seed = seed != null ? seed.toCharArray() : null;
+ this.userDefinedFunctionSeed =
+ userDefinedFunctionSeed != null ? userDefinedFunctionSeed.toCharArray() : null;
+ this.isMoveInterimTablesEnabled = isMoveInterimTablesEnabled;
+ this.isExecuteSavedScriptEnabled = isExecuteSavedScriptEnabled;
+ this.isDropTempTablesEnabled = isDropTempTablesEnabled;
+ this.isRedoLoggingEnabled = isRedoLoggingEnabled;
+ this.isRefreshStatsEnabled = isRefreshStatsEnabled;
+ this.parallelDegree = parallelDegree;
+ this.recompile = recompile;
+ this.targetCredentials = targetCredentials;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
@java.beans.ConstructorProperties({
"targetId",
"isDecrypt",
@@ -47,8 +86,8 @@ public MaskDataDetails(
ReRunFromStep reRunFromStep,
String tablespace,
Boolean isIgnoreErrorsEnabled,
- String seed,
- String userDefinedFunctionSeed,
+ char[] seed,
+ char[] userDefinedFunctionSeed,
Boolean isMoveInterimTablesEnabled,
Boolean isExecuteSavedScriptEnabled,
Boolean isDropTempTablesEnabled,
@@ -221,7 +260,7 @@ public Builder isIgnoreErrorsEnabled(Boolean isIgnoreErrorsEnabled) {
* Substitution masking formats.
*/
@com.fasterxml.jackson.annotation.JsonProperty("seed")
- private String seed;
+ private char[] seed;
/**
* The seed value to be used in case of Deterministic Encryption and Deterministic
@@ -230,17 +269,23 @@ public Builder isIgnoreErrorsEnabled(Boolean isIgnoreErrorsEnabled) {
* @param seed the value to set
* @return this builder
*/
- public Builder seed(String seed) {
+ public Builder seed(char[] seed) {
this.seed = seed;
this.__explicitlySet__.add("seed");
return this;
}
+
+ public Builder seed(String seed) {
+ this.seed = seed != null ? seed.toCharArray() : null;
+ this.__explicitlySet__.add("seed");
+ return this;
+ }
/**
* The seed value to be used in case of User Defined Function masking format. This is an
* optional parameter and needs to be passed only if any User Defined Function uses seed.
*/
@com.fasterxml.jackson.annotation.JsonProperty("userDefinedFunctionSeed")
- private String userDefinedFunctionSeed;
+ private char[] userDefinedFunctionSeed;
/**
* The seed value to be used in case of User Defined Function masking format. This is an
@@ -249,11 +294,18 @@ public Builder seed(String seed) {
* @param userDefinedFunctionSeed the value to set
* @return this builder
*/
- public Builder userDefinedFunctionSeed(String userDefinedFunctionSeed) {
+ public Builder userDefinedFunctionSeed(char[] userDefinedFunctionSeed) {
this.userDefinedFunctionSeed = userDefinedFunctionSeed;
this.__explicitlySet__.add("userDefinedFunctionSeed");
return this;
}
+
+ public Builder userDefinedFunctionSeed(String userDefinedFunctionSeed) {
+ this.userDefinedFunctionSeed =
+ userDefinedFunctionSeed != null ? userDefinedFunctionSeed.toCharArray() : null;
+ this.__explicitlySet__.add("userDefinedFunctionSeed");
+ return this;
+ }
/**
* Indicates if the interim DMASK tables should be moved to the user-specified tablespace.
* As interim tables can be large in size, set it to false if moving them causes performance
@@ -712,15 +764,29 @@ public Boolean getIsIgnoreErrorsEnabled() {
* masking formats.
*/
@com.fasterxml.jackson.annotation.JsonProperty("seed")
- private final String seed;
+ private final char[] seed;
/**
* The seed value to be used in case of Deterministic Encryption and Deterministic Substitution
* masking formats.
*
* @return the value
+ * @deprecated Use getSeed__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getSeed() {
+ return seed != null ? new String(seed) : null;
+ }
+
+ /**
+ * The seed value to be used in case of Deterministic Encryption and Deterministic Substitution
+ * masking formats.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("seed")
+ public char[] getSeed__AsCharArray() {
return seed;
}
@@ -729,15 +795,29 @@ public String getSeed() {
* optional parameter and needs to be passed only if any User Defined Function uses seed.
*/
@com.fasterxml.jackson.annotation.JsonProperty("userDefinedFunctionSeed")
- private final String userDefinedFunctionSeed;
+ private final char[] userDefinedFunctionSeed;
/**
* The seed value to be used in case of User Defined Function masking format. This is an
* optional parameter and needs to be passed only if any User Defined Function uses seed.
*
* @return the value
+ * @deprecated Use getUserDefinedFunctionSeed__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getUserDefinedFunctionSeed() {
+ return userDefinedFunctionSeed != null ? new String(userDefinedFunctionSeed) : null;
+ }
+
+ /**
+ * The seed value to be used in case of User Defined Function masking format. This is an
+ * optional parameter and needs to be passed only if any User Defined Function uses seed.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("userDefinedFunctionSeed")
+ public char[] getUserDefinedFunctionSeed__AsCharArray() {
return userDefinedFunctionSeed;
}
diff --git a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/TlsConfig.java b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/TlsConfig.java
index c2ef528502c..8fe2b04f68c 100644
--- a/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/TlsConfig.java
+++ b/bmc-datasafe/src/main/java/com/oracle/bmc/datasafe/model/TlsConfig.java
@@ -20,6 +20,22 @@
@com.fasterxml.jackson.annotation.JsonFilter(
com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
public final class TlsConfig extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ public TlsConfig(
+ Status status,
+ CertificateStoreType certificateStoreType,
+ String storePassword,
+ String trustStoreContent,
+ String keyStoreContent) {
+ super();
+ this.status = status;
+ this.certificateStoreType = certificateStoreType;
+ this.storePassword = storePassword != null ? storePassword.toCharArray() : null;
+ this.trustStoreContent = trustStoreContent;
+ this.keyStoreContent = keyStoreContent;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
@Deprecated
@java.beans.ConstructorProperties({
"status",
@@ -31,7 +47,7 @@ public final class TlsConfig extends com.oracle.bmc.http.client.internal.Explici
public TlsConfig(
Status status,
CertificateStoreType certificateStoreType,
- String storePassword,
+ char[] storePassword,
String trustStoreContent,
String keyStoreContent) {
super();
@@ -78,7 +94,7 @@ public Builder certificateStoreType(CertificateStoreType certificateStoreType) {
* The password to read the trust store and key store files, if they are password protected.
*/
@com.fasterxml.jackson.annotation.JsonProperty("storePassword")
- private String storePassword;
+ private char[] storePassword;
/**
* The password to read the trust store and key store files, if they are password protected.
@@ -86,11 +102,17 @@ public Builder certificateStoreType(CertificateStoreType certificateStoreType) {
* @param storePassword the value to set
* @return this builder
*/
- public Builder storePassword(String storePassword) {
+ public Builder storePassword(char[] storePassword) {
this.storePassword = storePassword;
this.__explicitlySet__.add("storePassword");
return this;
}
+
+ public Builder storePassword(String storePassword) {
+ this.storePassword = storePassword != null ? storePassword.toCharArray() : null;
+ this.__explicitlySet__.add("storePassword");
+ return this;
+ }
/** Base64 encoded string of trust store file content. */
@com.fasterxml.jackson.annotation.JsonProperty("trustStoreContent")
private String trustStoreContent;
@@ -287,14 +309,27 @@ public CertificateStoreType getCertificateStoreType() {
/** The password to read the trust store and key store files, if they are password protected. */
@com.fasterxml.jackson.annotation.JsonProperty("storePassword")
- private final String storePassword;
+ private final char[] storePassword;
/**
* The password to read the trust store and key store files, if they are password protected.
*
* @return the value
+ * @deprecated Use getStorePassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getStorePassword() {
+ return storePassword != null ? new String(storePassword) : null;
+ }
+
+ /**
+ * The password to read the trust store and key store files, if they are password protected.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("storePassword")
+ public char[] getStorePassword__AsCharArray() {
return storePassword;
}
diff --git a/bmc-datasafe/src/main/resources/com/oracle/bmc/datasafe/client.properties b/bmc-datasafe/src/main/resources/com/oracle/bmc/datasafe/client.properties
index 28c0827995b..17f60eb00f1 100644
--- a/bmc-datasafe/src/main/resources/com/oracle/bmc/datasafe/client.properties
+++ b/bmc-datasafe/src/main/resources/com/oracle/bmc/datasafe/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.147
+java.client.codegen.version = 2.163
java.minimum.client.codegen.version.from.client = 2.145
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20181201")
\ No newline at end of file
diff --git a/bmc-datascience/src/main/resources/com/oracle/bmc/datascience/client.properties b/bmc-datascience/src/main/resources/com/oracle/bmc/datascience/client.properties
index 00f79f3b952..4563b7ed1d4 100644
--- a/bmc-datascience/src/main/resources/com/oracle/bmc/datascience/client.properties
+++ b/bmc-datascience/src/main/resources/com/oracle/bmc/datascience/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.147
+java.client.codegen.version = 2.163
java.minimum.client.codegen.version.from.client = 2.145
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101")
\ No newline at end of file
diff --git a/bmc-dblm/src/main/resources/com/oracle/bmc/dblm/client.properties b/bmc-dblm/src/main/resources/com/oracle/bmc/dblm/client.properties
index 6e8e742b0c6..70eb60ef72c 100644
--- a/bmc-dblm/src/main/resources/com/oracle/bmc/dblm/client.properties
+++ b/bmc-dblm/src/main/resources/com/oracle/bmc/dblm/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.147
+java.client.codegen.version = 2.163
java.minimum.client.codegen.version.from.client = 2.145
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20240102")
\ No newline at end of file
diff --git a/bmc-dbmulticloud/src/main/resources/com/oracle/bmc/dbmulticloud/client.properties b/bmc-dbmulticloud/src/main/resources/com/oracle/bmc/dbmulticloud/client.properties
index b1f6b8e9ff6..a4b9b885946 100644
--- a/bmc-dbmulticloud/src/main/resources/com/oracle/bmc/dbmulticloud/client.properties
+++ b/bmc-dbmulticloud/src/main/resources/com/oracle/bmc/dbmulticloud/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.147
+java.client.codegen.version = 2.163
java.minimum.client.codegen.version.from.client = 2.145
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20240501")
\ No newline at end of file
diff --git a/bmc-delegateaccesscontrol/src/main/resources/com/oracle/bmc/delegateaccesscontrol/client.properties b/bmc-delegateaccesscontrol/src/main/resources/com/oracle/bmc/delegateaccesscontrol/client.properties
index e1ec1b6b372..b3d50c497b7 100644
--- a/bmc-delegateaccesscontrol/src/main/resources/com/oracle/bmc/delegateaccesscontrol/client.properties
+++ b/bmc-delegateaccesscontrol/src/main/resources/com/oracle/bmc/delegateaccesscontrol/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.147
+java.client.codegen.version = 2.163
java.minimum.client.codegen.version.from.client = 2.145
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20230801")
\ No newline at end of file
diff --git a/bmc-demandsignal/src/main/resources/com/oracle/bmc/demandsignal/client.properties b/bmc-demandsignal/src/main/resources/com/oracle/bmc/demandsignal/client.properties
index fefe21c1d9b..b96ec55f20a 100644
--- a/bmc-demandsignal/src/main/resources/com/oracle/bmc/demandsignal/client.properties
+++ b/bmc-demandsignal/src/main/resources/com/oracle/bmc/demandsignal/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.147
+java.client.codegen.version = 2.163
java.minimum.client.codegen.version.from.client = 2.145
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20240430")
\ No newline at end of file
diff --git a/bmc-desktops/src/main/resources/com/oracle/bmc/desktops/client.properties b/bmc-desktops/src/main/resources/com/oracle/bmc/desktops/client.properties
index 414585461ab..8de6b96c2cf 100644
--- a/bmc-desktops/src/main/resources/com/oracle/bmc/desktops/client.properties
+++ b/bmc-desktops/src/main/resources/com/oracle/bmc/desktops/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.147
+java.client.codegen.version = 2.163
java.minimum.client.codegen.version.from.client = 2.145
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220618")
\ No newline at end of file
diff --git a/bmc-devops/src/main/resources/com/oracle/bmc/devops/client.properties b/bmc-devops/src/main/resources/com/oracle/bmc/devops/client.properties
index f7528738386..c8dcfd6a0d3 100644
--- a/bmc-devops/src/main/resources/com/oracle/bmc/devops/client.properties
+++ b/bmc-devops/src/main/resources/com/oracle/bmc/devops/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.147
+java.client.codegen.version = 2.163
java.minimum.client.codegen.version.from.client = 2.145
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20210630")
\ No newline at end of file
diff --git a/bmc-dif/src/main/resources/com/oracle/bmc/dif/client.properties b/bmc-dif/src/main/resources/com/oracle/bmc/dif/client.properties
index 20594949217..34aa70fb57d 100644
--- a/bmc-dif/src/main/resources/com/oracle/bmc/dif/client.properties
+++ b/bmc-dif/src/main/resources/com/oracle/bmc/dif/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.147
+java.client.codegen.version = 2.163
java.minimum.client.codegen.version.from.client = 2.145
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20250830")
\ No newline at end of file
diff --git a/bmc-disasterrecovery/src/main/resources/com/oracle/bmc/disasterrecovery/client.properties b/bmc-disasterrecovery/src/main/resources/com/oracle/bmc/disasterrecovery/client.properties
index 82a3a0dc005..22b424413b8 100644
--- a/bmc-disasterrecovery/src/main/resources/com/oracle/bmc/disasterrecovery/client.properties
+++ b/bmc-disasterrecovery/src/main/resources/com/oracle/bmc/disasterrecovery/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.147
+java.client.codegen.version = 2.163
java.minimum.client.codegen.version.from.client = 2.145
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220125")
\ No newline at end of file
diff --git a/bmc-distributeddatabase/src/main/java/com/oracle/bmc/distributeddatabase/model/CreateDistributedDatabaseCatalogWithExadbXsNewVaultAndClusterDetails.java b/bmc-distributeddatabase/src/main/java/com/oracle/bmc/distributeddatabase/model/CreateDistributedDatabaseCatalogWithExadbXsNewVaultAndClusterDetails.java
index 572b923d064..2646806706d 100644
--- a/bmc-distributeddatabase/src/main/java/com/oracle/bmc/distributeddatabase/model/CreateDistributedDatabaseCatalogWithExadbXsNewVaultAndClusterDetails.java
+++ b/bmc-distributeddatabase/src/main/java/com/oracle/bmc/distributeddatabase/model/CreateDistributedDatabaseCatalogWithExadbXsNewVaultAndClusterDetails.java
@@ -31,7 +31,7 @@ public final class CreateDistributedDatabaseCatalogWithExadbXsNewVaultAndCluster
public static class Builder {
/** The admin password for the catalog associated with Globally distributed database. */
@com.fasterxml.jackson.annotation.JsonProperty("adminPassword")
- private String adminPassword;
+ private char[] adminPassword;
/**
* The admin password for the catalog associated with Globally distributed database.
@@ -39,11 +39,17 @@ public static class Builder {
* @param adminPassword the value to set
* @return this builder
*/
- public Builder adminPassword(String adminPassword) {
+ public Builder adminPassword(char[] adminPassword) {
this.adminPassword = adminPassword;
this.__explicitlySet__.add("adminPassword");
return this;
}
+
+ public Builder adminPassword(String adminPassword) {
+ this.adminPassword = adminPassword != null ? adminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("adminPassword");
+ return this;
+ }
/**
* The details required for creation of the peer for the ExadbXs infrastructure based
* catalog.
@@ -260,6 +266,36 @@ public CreateDistributedDatabaseCatalogWithExadbXsNewVaultAndClusterDetails(
DbStorageVaultDetails dbStorageVaultDetails,
VmClusterDetails vmClusterDetails) {
super();
+ this.adminPassword = adminPassword != null ? adminPassword.toCharArray() : null;
+ this.peerDetails = peerDetails;
+ this.shardSpace = shardSpace;
+ this.vaultId = vaultId;
+ this.kmsKeyId = kmsKeyId;
+ this.kmsKeyVersionId = kmsKeyVersionId;
+ this.availabilityDomain = availabilityDomain;
+ this.dbStorageVaultDetails = dbStorageVaultDetails;
+ this.vmClusterDetails = vmClusterDetails;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public CreateDistributedDatabaseCatalogWithExadbXsNewVaultAndClusterDetails(
+ @com.fasterxml.jackson.annotation.JsonProperty("adminPassword") char[] adminPassword,
+ @com.fasterxml.jackson.annotation.JsonProperty("peerDetails")
+ java.util.List
+ peerDetails,
+ @com.fasterxml.jackson.annotation.JsonProperty("shardSpace") String shardSpace,
+ @com.fasterxml.jackson.annotation.JsonProperty("vaultId") String vaultId,
+ @com.fasterxml.jackson.annotation.JsonProperty("kmsKeyId") String kmsKeyId,
+ @com.fasterxml.jackson.annotation.JsonProperty("kmsKeyVersionId")
+ String kmsKeyVersionId,
+ @com.fasterxml.jackson.annotation.JsonProperty("availabilityDomain")
+ String availabilityDomain,
+ @com.fasterxml.jackson.annotation.JsonProperty("dbStorageVaultDetails")
+ DbStorageVaultDetails dbStorageVaultDetails,
+ @com.fasterxml.jackson.annotation.JsonProperty("vmClusterDetails")
+ VmClusterDetails vmClusterDetails) {
+ super();
this.adminPassword = adminPassword;
this.peerDetails = peerDetails;
this.shardSpace = shardSpace;
@@ -273,14 +309,27 @@ public CreateDistributedDatabaseCatalogWithExadbXsNewVaultAndClusterDetails(
/** The admin password for the catalog associated with Globally distributed database. */
@com.fasterxml.jackson.annotation.JsonProperty("adminPassword")
- private final String adminPassword;
+ private final char[] adminPassword;
/**
* The admin password for the catalog associated with Globally distributed database.
*
* @return the value
+ * @deprecated Use getAdminPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getAdminPassword() {
+ return adminPassword != null ? new String(adminPassword) : null;
+ }
+
+ /**
+ * The admin password for the catalog associated with Globally distributed database.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("adminPassword")
+ public char[] getAdminPassword__AsCharArray() {
return adminPassword;
}
diff --git a/bmc-distributeddatabase/src/main/java/com/oracle/bmc/distributeddatabase/model/CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails.java b/bmc-distributeddatabase/src/main/java/com/oracle/bmc/distributeddatabase/model/CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails.java
index 11c8e59636f..84591206455 100644
--- a/bmc-distributeddatabase/src/main/java/com/oracle/bmc/distributeddatabase/model/CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails.java
+++ b/bmc-distributeddatabase/src/main/java/com/oracle/bmc/distributeddatabase/model/CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails.java
@@ -30,7 +30,7 @@ public final class CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDe
public static class Builder {
/** The admin password for the shard associated with Globally distributed database. */
@com.fasterxml.jackson.annotation.JsonProperty("adminPassword")
- private String adminPassword;
+ private char[] adminPassword;
/**
* The admin password for the shard associated with Globally distributed database.
@@ -38,11 +38,17 @@ public static class Builder {
* @param adminPassword the value to set
* @return this builder
*/
- public Builder adminPassword(String adminPassword) {
+ public Builder adminPassword(char[] adminPassword) {
this.adminPassword = adminPassword;
this.__explicitlySet__.add("adminPassword");
return this;
}
+
+ public Builder adminPassword(String adminPassword) {
+ this.adminPassword = adminPassword != null ? adminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("adminPassword");
+ return this;
+ }
/**
* The details required for creation of the peer for the ExadbXs infrastructure based shard.
*/
@@ -257,6 +263,35 @@ public CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails(
DbStorageVaultDetails dbStorageVaultDetails,
VmClusterDetails vmClusterDetails) {
super();
+ this.adminPassword = adminPassword != null ? adminPassword.toCharArray() : null;
+ this.peerDetails = peerDetails;
+ this.shardSpace = shardSpace;
+ this.vaultId = vaultId;
+ this.kmsKeyId = kmsKeyId;
+ this.kmsKeyVersionId = kmsKeyVersionId;
+ this.availabilityDomain = availabilityDomain;
+ this.dbStorageVaultDetails = dbStorageVaultDetails;
+ this.vmClusterDetails = vmClusterDetails;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails(
+ @com.fasterxml.jackson.annotation.JsonProperty("adminPassword") char[] adminPassword,
+ @com.fasterxml.jackson.annotation.JsonProperty("peerDetails")
+ java.util.List peerDetails,
+ @com.fasterxml.jackson.annotation.JsonProperty("shardSpace") String shardSpace,
+ @com.fasterxml.jackson.annotation.JsonProperty("vaultId") String vaultId,
+ @com.fasterxml.jackson.annotation.JsonProperty("kmsKeyId") String kmsKeyId,
+ @com.fasterxml.jackson.annotation.JsonProperty("kmsKeyVersionId")
+ String kmsKeyVersionId,
+ @com.fasterxml.jackson.annotation.JsonProperty("availabilityDomain")
+ String availabilityDomain,
+ @com.fasterxml.jackson.annotation.JsonProperty("dbStorageVaultDetails")
+ DbStorageVaultDetails dbStorageVaultDetails,
+ @com.fasterxml.jackson.annotation.JsonProperty("vmClusterDetails")
+ VmClusterDetails vmClusterDetails) {
+ super();
this.adminPassword = adminPassword;
this.peerDetails = peerDetails;
this.shardSpace = shardSpace;
@@ -270,14 +305,27 @@ public CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails(
/** The admin password for the shard associated with Globally distributed database. */
@com.fasterxml.jackson.annotation.JsonProperty("adminPassword")
- private final String adminPassword;
+ private final char[] adminPassword;
/**
* The admin password for the shard associated with Globally distributed database.
*
* @return the value
+ * @deprecated Use getAdminPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getAdminPassword() {
+ return adminPassword != null ? new String(adminPassword) : null;
+ }
+
+ /**
+ * The admin password for the shard associated with Globally distributed database.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("adminPassword")
+ public char[] getAdminPassword__AsCharArray() {
return adminPassword;
}
diff --git a/bmc-distributeddatabase/src/main/resources/com/oracle/bmc/distributeddatabase/client.properties b/bmc-distributeddatabase/src/main/resources/com/oracle/bmc/distributeddatabase/client.properties
index 749a2873bba..0c4cd753806 100644
--- a/bmc-distributeddatabase/src/main/resources/com/oracle/bmc/distributeddatabase/client.properties
+++ b/bmc-distributeddatabase/src/main/resources/com/oracle/bmc/distributeddatabase/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.147
+java.client.codegen.version = 2.163
java.minimum.client.codegen.version.from.client = 2.145
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20250101")
\ No newline at end of file
diff --git a/bmc-dns/src/main/java/com/oracle/bmc/dns/model/DynectMigrationDetails.java b/bmc-dns/src/main/java/com/oracle/bmc/dns/model/DynectMigrationDetails.java
index e83ed0744bd..9d8605c87ac 100644
--- a/bmc-dns/src/main/java/com/oracle/bmc/dns/model/DynectMigrationDetails.java
+++ b/bmc-dns/src/main/java/com/oracle/bmc/dns/model/DynectMigrationDetails.java
@@ -23,6 +23,20 @@
public final class DynectMigrationDetails
extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
@Deprecated
+ public DynectMigrationDetails(
+ String customerName,
+ String username,
+ String password,
+ java.util.Map> httpRedirectReplacements) {
+ super();
+ this.customerName = customerName;
+ this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.httpRedirectReplacements = httpRedirectReplacements;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
@java.beans.ConstructorProperties({
"customerName",
"username",
@@ -32,7 +46,7 @@ public final class DynectMigrationDetails
public DynectMigrationDetails(
String customerName,
String username,
- String password,
+ char[] password,
java.util.Map> httpRedirectReplacements) {
super();
this.customerName = customerName;
@@ -75,7 +89,7 @@ public Builder username(String username) {
}
/** DynECT API password for the provided username. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* DynECT API password for the provided username.
@@ -83,11 +97,17 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
/**
* A map of fully-qualified domain names (FQDNs) to an array of {@code MigrationReplacement}
* objects.
@@ -182,14 +202,27 @@ public String getUsername() {
/** DynECT API password for the provided username. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* DynECT API password for the provided username.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * DynECT API password for the provided username.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-dns/src/main/resources/com/oracle/bmc/dns/client.properties b/bmc-dns/src/main/resources/com/oracle/bmc/dns/client.properties
index 16549998561..79f81a7c8e9 100644
--- a/bmc-dns/src/main/resources/com/oracle/bmc/dns/client.properties
+++ b/bmc-dns/src/main/resources/com/oracle/bmc/dns/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.147
+java.client.codegen.version = 2.163
java.minimum.client.codegen.version.from.client = 2.145
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20180115")
\ No newline at end of file
diff --git a/bmc-email/src/main/resources/com/oracle/bmc/email/client.properties b/bmc-email/src/main/resources/com/oracle/bmc/email/client.properties
index 57b0b2b56a3..9f9c0bca3d1 100644
--- a/bmc-email/src/main/resources/com/oracle/bmc/email/client.properties
+++ b/bmc-email/src/main/resources/com/oracle/bmc/email/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.147
+java.client.codegen.version = 2.163
java.minimum.client.codegen.version.from.client = 2.145
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20170907")
\ No newline at end of file
diff --git a/bmc-emaildataplane/src/main/resources/com/oracle/bmc/emaildataplane/client.properties b/bmc-emaildataplane/src/main/resources/com/oracle/bmc/emaildataplane/client.properties
index 24a154da071..72a3d8c4d2e 100644
--- a/bmc-emaildataplane/src/main/resources/com/oracle/bmc/emaildataplane/client.properties
+++ b/bmc-emaildataplane/src/main/resources/com/oracle/bmc/emaildataplane/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.147
+java.client.codegen.version = 2.163
java.minimum.client.codegen.version.from.client = 2.145
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220926")
\ No newline at end of file
diff --git a/bmc-emwarehouse/src/main/resources/com/oracle/bmc/emwarehouse/client.properties b/bmc-emwarehouse/src/main/resources/com/oracle/bmc/emwarehouse/client.properties
index 422d75b703a..4d3343497ed 100644
--- a/bmc-emwarehouse/src/main/resources/com/oracle/bmc/emwarehouse/client.properties
+++ b/bmc-emwarehouse/src/main/resources/com/oracle/bmc/emwarehouse/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.147
+java.client.codegen.version = 2.163
java.minimum.client.codegen.version.from.client = 2.145
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20180828")
\ No newline at end of file
diff --git a/bmc-events/src/main/resources/com/oracle/bmc/events/client.properties b/bmc-events/src/main/resources/com/oracle/bmc/events/client.properties
index 28c0827995b..17f60eb00f1 100644
--- a/bmc-events/src/main/resources/com/oracle/bmc/events/client.properties
+++ b/bmc-events/src/main/resources/com/oracle/bmc/events/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.147
+java.client.codegen.version = 2.163
java.minimum.client.codegen.version.from.client = 2.145
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20181201")
\ No newline at end of file
diff --git a/bmc-filestorage/src/main/resources/com/oracle/bmc/filestorage/client.properties b/bmc-filestorage/src/main/resources/com/oracle/bmc/filestorage/client.properties
index 3dabbe496d5..ee7c9ab8031 100644
--- a/bmc-filestorage/src/main/resources/com/oracle/bmc/filestorage/client.properties
+++ b/bmc-filestorage/src/main/resources/com/oracle/bmc/filestorage/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.147
+java.client.codegen.version = 2.163
java.minimum.client.codegen.version.from.client = 2.145
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20171215")
\ No newline at end of file
diff --git a/bmc-fleetappsmanagement/src/main/java/com/oracle/bmc/fleetappsmanagement/model/Variable.java b/bmc-fleetappsmanagement/src/main/java/com/oracle/bmc/fleetappsmanagement/model/Variable.java
index bf1cb53e46c..c4ebfb129f1 100644
--- a/bmc-fleetappsmanagement/src/main/java/com/oracle/bmc/fleetappsmanagement/model/Variable.java
+++ b/bmc-fleetappsmanagement/src/main/java/com/oracle/bmc/fleetappsmanagement/model/Variable.java
@@ -21,8 +21,16 @@
com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
public final class Variable extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"name", "value"})
public Variable(String name, String value) {
+ super();
+ this.name = name;
+ this.value = value != null ? value.toCharArray() : null;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ @java.beans.ConstructorProperties({"name", "value"})
+ public Variable(String name, char[] value) {
super();
this.name = name;
this.value = value;
@@ -47,7 +55,7 @@ public Builder name(String name) {
}
/** The value corresponding to the variable name. */
@com.fasterxml.jackson.annotation.JsonProperty("value")
- private String value;
+ private char[] value;
/**
* The value corresponding to the variable name.
@@ -55,12 +63,18 @@ public Builder name(String name) {
* @param value the value to set
* @return this builder
*/
- public Builder value(String value) {
+ public Builder value(char[] value) {
this.value = value;
this.__explicitlySet__.add("value");
return this;
}
+ public Builder value(String value) {
+ this.value = value != null ? value.toCharArray() : null;
+ this.__explicitlySet__.add("value");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -108,14 +122,27 @@ public String getName() {
/** The value corresponding to the variable name. */
@com.fasterxml.jackson.annotation.JsonProperty("value")
- private final String value;
+ private final char[] value;
/**
* The value corresponding to the variable name.
*
* @return the value
+ * @deprecated Use getValue__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getValue() {
+ return value != null ? new String(value) : null;
+ }
+
+ /**
+ * The value corresponding to the variable name.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("value")
+ public char[] getValue__AsCharArray() {
return value;
}
diff --git a/bmc-fleetappsmanagement/src/main/resources/com/oracle/bmc/fleetappsmanagement/client.properties b/bmc-fleetappsmanagement/src/main/resources/com/oracle/bmc/fleetappsmanagement/client.properties
index 612b8fd3e95..808e6c72269 100644
--- a/bmc-fleetappsmanagement/src/main/resources/com/oracle/bmc/fleetappsmanagement/client.properties
+++ b/bmc-fleetappsmanagement/src/main/resources/com/oracle/bmc/fleetappsmanagement/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.147
+java.client.codegen.version = 2.163
java.minimum.client.codegen.version.from.client = 2.145
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20250228")
\ No newline at end of file
diff --git a/bmc-fleetsoftwareupdate/src/main/resources/com/oracle/bmc/fleetsoftwareupdate/client.properties b/bmc-fleetsoftwareupdate/src/main/resources/com/oracle/bmc/fleetsoftwareupdate/client.properties
index def1bc72faf..8fb7b3d7604 100644
--- a/bmc-fleetsoftwareupdate/src/main/resources/com/oracle/bmc/fleetsoftwareupdate/client.properties
+++ b/bmc-fleetsoftwareupdate/src/main/resources/com/oracle/bmc/fleetsoftwareupdate/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.147
+java.client.codegen.version = 2.163
java.minimum.client.codegen.version.from.client = 2.145
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220528")
\ No newline at end of file
diff --git a/bmc-functions/src/main/resources/com/oracle/bmc/functions/client.properties b/bmc-functions/src/main/resources/com/oracle/bmc/functions/client.properties
index 28c0827995b..17f60eb00f1 100644
--- a/bmc-functions/src/main/resources/com/oracle/bmc/functions/client.properties
+++ b/bmc-functions/src/main/resources/com/oracle/bmc/functions/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.147
+java.client.codegen.version = 2.163
java.minimum.client.codegen.version.from.client = 2.145
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20181201")
\ No newline at end of file
diff --git a/bmc-fusionapps/src/main/java/com/oracle/bmc/fusionapps/model/ExtractDetailsSummary.java b/bmc-fusionapps/src/main/java/com/oracle/bmc/fusionapps/model/ExtractDetailsSummary.java
index d4785c621cc..a834c3f5514 100644
--- a/bmc-fusionapps/src/main/java/com/oracle/bmc/fusionapps/model/ExtractDetailsSummary.java
+++ b/bmc-fusionapps/src/main/java/com/oracle/bmc/fusionapps/model/ExtractDetailsSummary.java
@@ -23,8 +23,17 @@
public final class ExtractDetailsSummary
extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"parUrl", "password", "timeCreated"})
public ExtractDetailsSummary(String parUrl, String password, java.util.Date timeCreated) {
+ super();
+ this.parUrl = parUrl;
+ this.password = password != null ? password.toCharArray() : null;
+ this.timeCreated = timeCreated;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ @java.beans.ConstructorProperties({"parUrl", "password", "timeCreated"})
+ public ExtractDetailsSummary(String parUrl, char[] password, java.util.Date timeCreated) {
super();
this.parUrl = parUrl;
this.password = password;
@@ -50,7 +59,7 @@ public Builder parUrl(String parUrl) {
}
/** The password to decrypt data extract. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password to decrypt data extract.
@@ -58,11 +67,17 @@ public Builder parUrl(String parUrl) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
/** The time when the data extract was requested. An RFC3339 formatted datetime string */
@com.fasterxml.jackson.annotation.JsonProperty("timeCreated")
private java.util.Date timeCreated;
@@ -130,14 +145,27 @@ public String getParUrl() {
/** The password to decrypt data extract. */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* The password to decrypt data extract.
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * The password to decrypt data extract.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-fusionapps/src/main/java/com/oracle/bmc/fusionapps/model/ResetFusionEnvironmentPasswordDetails.java b/bmc-fusionapps/src/main/java/com/oracle/bmc/fusionapps/model/ResetFusionEnvironmentPasswordDetails.java
index ef92b671683..fe3a92ca25b 100644
--- a/bmc-fusionapps/src/main/java/com/oracle/bmc/fusionapps/model/ResetFusionEnvironmentPasswordDetails.java
+++ b/bmc-fusionapps/src/main/java/com/oracle/bmc/fusionapps/model/ResetFusionEnvironmentPasswordDetails.java
@@ -23,8 +23,15 @@
public final class ResetFusionEnvironmentPasswordDetails
extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"password"})
public ResetFusionEnvironmentPasswordDetails(String password) {
+ super();
+ this.password = password != null ? password.toCharArray() : null;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ @java.beans.ConstructorProperties({"password"})
+ public ResetFusionEnvironmentPasswordDetails(char[] password) {
super();
this.password = password;
}
@@ -33,7 +40,7 @@ public ResetFusionEnvironmentPasswordDetails(String password) {
public static class Builder {
/** Admin password */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* Admin password
@@ -41,12 +48,18 @@ public static class Builder {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -79,14 +92,27 @@ public Builder toBuilder() {
/** Admin password */
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
/**
* Admin password
*
* @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
+
+ /**
+ * Admin password
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-fusionapps/src/main/resources/com/oracle/bmc/fusionapps/client.properties b/bmc-fusionapps/src/main/resources/com/oracle/bmc/fusionapps/client.properties
index 240b2c88566..dfb0eb0e165 100644
--- a/bmc-fusionapps/src/main/resources/com/oracle/bmc/fusionapps/client.properties
+++ b/bmc-fusionapps/src/main/resources/com/oracle/bmc/fusionapps/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.147
+java.client.codegen.version = 2.163
java.minimum.client.codegen.version.from.client = 2.145
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20211201")
\ No newline at end of file
diff --git a/bmc-gdp/src/main/resources/com/oracle/bmc/gdp/client.properties b/bmc-gdp/src/main/resources/com/oracle/bmc/gdp/client.properties
index 5ff10a492ae..c3b0e365c54 100644
--- a/bmc-gdp/src/main/resources/com/oracle/bmc/gdp/client.properties
+++ b/bmc-gdp/src/main/resources/com/oracle/bmc/gdp/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.147
+java.client.codegen.version = 2.163
java.minimum.client.codegen.version.from.client = 2.145
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20230301")
\ No newline at end of file
diff --git a/bmc-generativeai/src/main/resources/com/oracle/bmc/generativeai/client.properties b/bmc-generativeai/src/main/resources/com/oracle/bmc/generativeai/client.properties
index 6a7c993f0ae..f8f77d6dd8c 100644
--- a/bmc-generativeai/src/main/resources/com/oracle/bmc/generativeai/client.properties
+++ b/bmc-generativeai/src/main/resources/com/oracle/bmc/generativeai/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.147
+java.client.codegen.version = 2.163
java.minimum.client.codegen.version.from.client = 2.145
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20231130")
\ No newline at end of file
diff --git a/bmc-generativeaiagent/src/main/resources/com/oracle/bmc/generativeaiagent/client.properties b/bmc-generativeaiagent/src/main/resources/com/oracle/bmc/generativeaiagent/client.properties
index aba5dcd0a4b..2b6b28e7a44 100644
--- a/bmc-generativeaiagent/src/main/resources/com/oracle/bmc/generativeaiagent/client.properties
+++ b/bmc-generativeaiagent/src/main/resources/com/oracle/bmc/generativeaiagent/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.147
+java.client.codegen.version = 2.163
java.minimum.client.codegen.version.from.client = 2.145
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20240531")
\ No newline at end of file
diff --git a/bmc-generativeaiagentruntime/src/main/resources/com/oracle/bmc/generativeaiagentruntime/client.properties b/bmc-generativeaiagentruntime/src/main/resources/com/oracle/bmc/generativeaiagentruntime/client.properties
index aba5dcd0a4b..2b6b28e7a44 100644
--- a/bmc-generativeaiagentruntime/src/main/resources/com/oracle/bmc/generativeaiagentruntime/client.properties
+++ b/bmc-generativeaiagentruntime/src/main/resources/com/oracle/bmc/generativeaiagentruntime/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.147
+java.client.codegen.version = 2.163
java.minimum.client.codegen.version.from.client = 2.145
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20240531")
\ No newline at end of file
diff --git a/bmc-generativeaidata/src/main/resources/com/oracle/bmc/generativeaidata/client.properties b/bmc-generativeaidata/src/main/resources/com/oracle/bmc/generativeaidata/client.properties
index c1ba439a2f4..2e4fb789355 100644
--- a/bmc-generativeaidata/src/main/resources/com/oracle/bmc/generativeaidata/client.properties
+++ b/bmc-generativeaidata/src/main/resources/com/oracle/bmc/generativeaidata/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.147
+java.client.codegen.version = 2.163
java.minimum.client.codegen.version.from.client = 2.145
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20260325")
\ No newline at end of file
diff --git a/bmc-generativeaiinference/src/main/resources/com/oracle/bmc/generativeaiinference/client.properties b/bmc-generativeaiinference/src/main/resources/com/oracle/bmc/generativeaiinference/client.properties
index 6a7c993f0ae..f8f77d6dd8c 100644
--- a/bmc-generativeaiinference/src/main/resources/com/oracle/bmc/generativeaiinference/client.properties
+++ b/bmc-generativeaiinference/src/main/resources/com/oracle/bmc/generativeaiinference/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.147
+java.client.codegen.version = 2.163
java.minimum.client.codegen.version.from.client = 2.145
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20231130")
\ No newline at end of file
diff --git a/bmc-genericartifactscontent/src/main/resources/com/oracle/bmc/genericartifactscontent/client.properties b/bmc-genericartifactscontent/src/main/resources/com/oracle/bmc/genericartifactscontent/client.properties
index 57fa7f4b072..80d9875bfaf 100644
--- a/bmc-genericartifactscontent/src/main/resources/com/oracle/bmc/genericartifactscontent/client.properties
+++ b/bmc-genericartifactscontent/src/main/resources/com/oracle/bmc/genericartifactscontent/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.147
+java.client.codegen.version = 2.163
java.minimum.client.codegen.version.from.client = 2.145
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
\ No newline at end of file
diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateAmazonKinesisConnectionDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateAmazonKinesisConnectionDetails.java
index 78eb56ed624..9d0de3c1f78 100644
--- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateAmazonKinesisConnectionDetails.java
+++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateAmazonKinesisConnectionDetails.java
@@ -198,7 +198,7 @@ public Builder accessKeyId(String accessKeyId) {
* replaced by "secretAccessKeySecretId". This field will be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey")
- private String secretAccessKey;
+ private char[] secretAccessKey;
/**
* Secret access key to access the Amazon Kinesis. Deprecated: This field is deprecated and
@@ -207,11 +207,17 @@ public Builder accessKeyId(String accessKeyId) {
* @param secretAccessKey the value to set
* @return this builder
*/
- public Builder secretAccessKey(String secretAccessKey) {
+ public Builder secretAccessKey(char[] secretAccessKey) {
this.secretAccessKey = secretAccessKey;
this.__explicitlySet__.add("secretAccessKey");
return this;
}
+
+ public Builder secretAccessKey(String secretAccessKey) {
+ this.secretAccessKey = secretAccessKey != null ? secretAccessKey.toCharArray() : null;
+ this.__explicitlySet__.add("secretAccessKey");
+ return this;
+ }
/**
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
* Secret where the secret access key is stored. Note: When provided, 'secretAccessKey'
@@ -426,6 +432,64 @@ public CreateAmazonKinesisConnectionDetails(
securityAttributes);
this.technologyType = technologyType;
this.accessKeyId = accessKeyId;
+ this.secretAccessKey = secretAccessKey != null ? secretAccessKey.toCharArray() : null;
+ this.secretAccessKeySecretId = secretAccessKeySecretId;
+ this.endpoint = endpoint;
+ this.region = region;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public CreateAmazonKinesisConnectionDetails(
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName") String displayName,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") String compartmentId,
+ @com.fasterxml.jackson.annotation.JsonProperty("freeformTags")
+ java.util.Map freeformTags,
+ @com.fasterxml.jackson.annotation.JsonProperty("definedTags")
+ java.util.Map> definedTags,
+ @com.fasterxml.jackson.annotation.JsonProperty("locks")
+ java.util.List locks,
+ @com.fasterxml.jackson.annotation.JsonProperty("vaultId") String vaultId,
+ @com.fasterxml.jackson.annotation.JsonProperty("keyId") String keyId,
+ @com.fasterxml.jackson.annotation.JsonProperty("nsgIds") java.util.List nsgIds,
+ @com.fasterxml.jackson.annotation.JsonProperty("subnetId") String subnetId,
+ @com.fasterxml.jackson.annotation.JsonProperty("routingMethod")
+ RoutingMethod routingMethod,
+ @com.fasterxml.jackson.annotation.JsonProperty("doesUseSecretIds")
+ Boolean doesUseSecretIds,
+ @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") String subscriptionId,
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterPlacementGroupId")
+ String clusterPlacementGroupId,
+ @com.fasterxml.jackson.annotation.JsonProperty("securityAttributes")
+ java.util.Map> securityAttributes,
+ @com.fasterxml.jackson.annotation.JsonProperty("technologyType")
+ AmazonKinesisConnection.TechnologyType technologyType,
+ @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") String accessKeyId,
+ @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey")
+ char[] secretAccessKey,
+ @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId")
+ String secretAccessKeySecretId,
+ @com.fasterxml.jackson.annotation.JsonProperty("endpoint") String endpoint,
+ @com.fasterxml.jackson.annotation.JsonProperty("region") String region) {
+ super(
+ displayName,
+ description,
+ compartmentId,
+ freeformTags,
+ definedTags,
+ locks,
+ vaultId,
+ keyId,
+ nsgIds,
+ subnetId,
+ routingMethod,
+ doesUseSecretIds,
+ subscriptionId,
+ clusterPlacementGroupId,
+ securityAttributes);
+ this.technologyType = technologyType;
+ this.accessKeyId = accessKeyId;
this.secretAccessKey = secretAccessKey;
this.secretAccessKeySecretId = secretAccessKeySecretId;
this.endpoint = endpoint;
@@ -463,15 +527,30 @@ public String getAccessKeyId() {
* replaced by "secretAccessKeySecretId". This field will be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey")
- private final String secretAccessKey;
+ private final char[] secretAccessKey;
/**
* Secret access key to access the Amazon Kinesis. Deprecated: This field is deprecated and
- * replaced by "secretAccessKeySecretId". This field will be removed after February 15 2026.
+ * replaced by "secretAccessKeySecretId". This field will be removed after February 15
+ * 2026.
*
* @return the value
+ * @deprecated Use getSecretAccessKey__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getSecretAccessKey() {
+ return secretAccessKey != null ? new String(secretAccessKey) : null;
+ }
+
+ /**
+ * Secret access key to access the Amazon Kinesis. Deprecated: This field is deprecated and
+ * replaced by "secretAccessKeySecretId". This field will be removed after February 15 2026.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey")
+ public char[] getSecretAccessKey__AsCharArray() {
return secretAccessKey;
}
diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateAmazonRedshiftConnectionDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateAmazonRedshiftConnectionDetails.java
index cb515110d34..ccde151cab1 100644
--- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateAmazonRedshiftConnectionDetails.java
+++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateAmazonRedshiftConnectionDetails.java
@@ -225,7 +225,7 @@ public Builder username(String username) {
* "passwordSecretId". This field will be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password Oracle GoldenGate uses to connect the associated system of the given
@@ -236,11 +236,17 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
/**
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
* Secret where the password is stored. The password Oracle GoldenGate uses to connect the
@@ -415,6 +421,61 @@ public CreateAmazonRedshiftConnectionDetails(
this.technologyType = technologyType;
this.connectionUrl = connectionUrl;
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecretId = passwordSecretId;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public CreateAmazonRedshiftConnectionDetails(
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName") String displayName,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") String compartmentId,
+ @com.fasterxml.jackson.annotation.JsonProperty("freeformTags")
+ java.util.Map freeformTags,
+ @com.fasterxml.jackson.annotation.JsonProperty("definedTags")
+ java.util.Map> definedTags,
+ @com.fasterxml.jackson.annotation.JsonProperty("locks")
+ java.util.List locks,
+ @com.fasterxml.jackson.annotation.JsonProperty("vaultId") String vaultId,
+ @com.fasterxml.jackson.annotation.JsonProperty("keyId") String keyId,
+ @com.fasterxml.jackson.annotation.JsonProperty("nsgIds") java.util.List nsgIds,
+ @com.fasterxml.jackson.annotation.JsonProperty("subnetId") String subnetId,
+ @com.fasterxml.jackson.annotation.JsonProperty("routingMethod")
+ RoutingMethod routingMethod,
+ @com.fasterxml.jackson.annotation.JsonProperty("doesUseSecretIds")
+ Boolean doesUseSecretIds,
+ @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") String subscriptionId,
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterPlacementGroupId")
+ String clusterPlacementGroupId,
+ @com.fasterxml.jackson.annotation.JsonProperty("securityAttributes")
+ java.util.Map> securityAttributes,
+ @com.fasterxml.jackson.annotation.JsonProperty("technologyType")
+ AmazonRedshiftConnection.TechnologyType technologyType,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionUrl") String connectionUrl,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecretId")
+ String passwordSecretId) {
+ super(
+ displayName,
+ description,
+ compartmentId,
+ freeformTags,
+ definedTags,
+ locks,
+ vaultId,
+ keyId,
+ nsgIds,
+ subnetId,
+ routingMethod,
+ doesUseSecretIds,
+ subscriptionId,
+ clusterPlacementGroupId,
+ securityAttributes);
+ this.technologyType = technologyType;
+ this.connectionUrl = connectionUrl;
+ this.username = username;
this.password = password;
this.passwordSecretId = passwordSecretId;
}
@@ -475,7 +536,22 @@ public String getUsername() {
* will be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
+
+ /**
+ * The password Oracle GoldenGate uses to connect the associated system of the given technology.
+ * It must conform to the specific security requirements including length, case sensitivity, and
+ * so on. Deprecated: This field is deprecated and replaced by "passwordSecretId".
+ * This field will be removed after February 15 2026.
+ *
+ * @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
/**
* The password Oracle GoldenGate uses to connect the associated system of the given technology.
@@ -485,7 +561,8 @@ public String getUsername() {
*
* @return the value
*/
- public String getPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateAmazonS3ConnectionDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateAmazonS3ConnectionDetails.java
index 4a2eccafc2a..2ee22f675d5 100644
--- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateAmazonS3ConnectionDetails.java
+++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateAmazonS3ConnectionDetails.java
@@ -199,7 +199,7 @@ public Builder accessKeyId(String accessKeyId) {
* field will be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey")
- private String secretAccessKey;
+ private char[] secretAccessKey;
/**
* Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret"
@@ -209,11 +209,17 @@ public Builder accessKeyId(String accessKeyId) {
* @param secretAccessKey the value to set
* @return this builder
*/
- public Builder secretAccessKey(String secretAccessKey) {
+ public Builder secretAccessKey(char[] secretAccessKey) {
this.secretAccessKey = secretAccessKey;
this.__explicitlySet__.add("secretAccessKey");
return this;
}
+
+ public Builder secretAccessKey(String secretAccessKey) {
+ this.secretAccessKey = secretAccessKey != null ? secretAccessKey.toCharArray() : null;
+ this.__explicitlySet__.add("secretAccessKey");
+ return this;
+ }
/**
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
* Secret where the Secret Access Key is stored. Note: When provided, 'secretAccessKey'
@@ -426,6 +432,64 @@ public CreateAmazonS3ConnectionDetails(
securityAttributes);
this.technologyType = technologyType;
this.accessKeyId = accessKeyId;
+ this.secretAccessKey = secretAccessKey != null ? secretAccessKey.toCharArray() : null;
+ this.secretAccessKeySecretId = secretAccessKeySecretId;
+ this.endpoint = endpoint;
+ this.region = region;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public CreateAmazonS3ConnectionDetails(
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName") String displayName,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") String compartmentId,
+ @com.fasterxml.jackson.annotation.JsonProperty("freeformTags")
+ java.util.Map freeformTags,
+ @com.fasterxml.jackson.annotation.JsonProperty("definedTags")
+ java.util.Map> definedTags,
+ @com.fasterxml.jackson.annotation.JsonProperty("locks")
+ java.util.List locks,
+ @com.fasterxml.jackson.annotation.JsonProperty("vaultId") String vaultId,
+ @com.fasterxml.jackson.annotation.JsonProperty("keyId") String keyId,
+ @com.fasterxml.jackson.annotation.JsonProperty("nsgIds") java.util.List nsgIds,
+ @com.fasterxml.jackson.annotation.JsonProperty("subnetId") String subnetId,
+ @com.fasterxml.jackson.annotation.JsonProperty("routingMethod")
+ RoutingMethod routingMethod,
+ @com.fasterxml.jackson.annotation.JsonProperty("doesUseSecretIds")
+ Boolean doesUseSecretIds,
+ @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") String subscriptionId,
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterPlacementGroupId")
+ String clusterPlacementGroupId,
+ @com.fasterxml.jackson.annotation.JsonProperty("securityAttributes")
+ java.util.Map> securityAttributes,
+ @com.fasterxml.jackson.annotation.JsonProperty("technologyType")
+ AmazonS3Connection.TechnologyType technologyType,
+ @com.fasterxml.jackson.annotation.JsonProperty("accessKeyId") String accessKeyId,
+ @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey")
+ char[] secretAccessKey,
+ @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKeySecretId")
+ String secretAccessKeySecretId,
+ @com.fasterxml.jackson.annotation.JsonProperty("endpoint") String endpoint,
+ @com.fasterxml.jackson.annotation.JsonProperty("region") String region) {
+ super(
+ displayName,
+ description,
+ compartmentId,
+ freeformTags,
+ definedTags,
+ locks,
+ vaultId,
+ keyId,
+ nsgIds,
+ subnetId,
+ routingMethod,
+ doesUseSecretIds,
+ subscriptionId,
+ clusterPlacementGroupId,
+ securityAttributes);
+ this.technologyType = technologyType;
+ this.accessKeyId = accessKeyId;
this.secretAccessKey = secretAccessKey;
this.secretAccessKeySecretId = secretAccessKeySecretId;
this.endpoint = endpoint;
@@ -464,7 +528,21 @@ public String getAccessKeyId() {
* removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey")
- private final String secretAccessKey;
+ private final char[] secretAccessKey;
+
+ /**
+ * Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret"
+ * Deprecated: This field is deprecated and replaced by "secretAccessKeySecretId".
+ * This field will be removed after February 15 2026.
+ *
+ * @return the value
+ * @deprecated Use getSecretAccessKey__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getSecretAccessKey() {
+ return secretAccessKey != null ? new String(secretAccessKey) : null;
+ }
/**
* Secret access key to access the Amazon S3 bucket. e.g.: "this-is-not-the-secret" Deprecated:
@@ -473,7 +551,8 @@ public String getAccessKeyId() {
*
* @return the value
*/
- public String getSecretAccessKey() {
+ @com.fasterxml.jackson.annotation.JsonProperty("secretAccessKey")
+ public char[] getSecretAccessKey__AsCharArray() {
return secretAccessKey;
}
diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateAzureDataLakeStorageConnectionDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateAzureDataLakeStorageConnectionDetails.java
index c2100471859..a78d9ac3278 100644
--- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateAzureDataLakeStorageConnectionDetails.java
+++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateAzureDataLakeStorageConnectionDetails.java
@@ -218,7 +218,7 @@ public Builder accountName(String accountName) {
* will be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("accountKey")
- private String accountKey;
+ private char[] accountKey;
/**
* Azure storage account key. This property is required when 'authenticationType' is set to
@@ -230,11 +230,17 @@ public Builder accountName(String accountName) {
* @param accountKey the value to set
* @return this builder
*/
- public Builder accountKey(String accountKey) {
+ public Builder accountKey(char[] accountKey) {
this.accountKey = accountKey;
this.__explicitlySet__.add("accountKey");
return this;
}
+
+ public Builder accountKey(String accountKey) {
+ this.accountKey = accountKey != null ? accountKey.toCharArray() : null;
+ this.__explicitlySet__.add("accountKey");
+ return this;
+ }
/**
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
* Secret where the account key is stored. Note: When provided, 'accountKey' field must not
@@ -265,7 +271,7 @@ public Builder accountKeySecretId(String accountKeySecretId) {
* be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("sasToken")
- private String sasToken;
+ private char[] sasToken;
/**
* Credential that uses a shared access signature (SAS) to authenticate to an Azure Service.
@@ -278,11 +284,17 @@ public Builder accountKeySecretId(String accountKeySecretId) {
* @param sasToken the value to set
* @return this builder
*/
- public Builder sasToken(String sasToken) {
+ public Builder sasToken(char[] sasToken) {
this.sasToken = sasToken;
this.__explicitlySet__.add("sasToken");
return this;
}
+
+ public Builder sasToken(String sasToken) {
+ this.sasToken = sasToken != null ? sasToken.toCharArray() : null;
+ this.__explicitlySet__.add("sasToken");
+ return this;
+ }
/**
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
* Secret where the sas token is stored. Note: When provided, 'sasToken' field must not be
@@ -349,7 +361,7 @@ public Builder clientId(String clientId) {
* replaced by "clientSecretSecretId". This field will be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("clientSecret")
- private String clientSecret;
+ private char[] clientSecret;
/**
* Azure client secret (aka application password) for authentication. This property is
@@ -360,11 +372,17 @@ public Builder clientId(String clientId) {
* @param clientSecret the value to set
* @return this builder
*/
- public Builder clientSecret(String clientSecret) {
+ public Builder clientSecret(char[] clientSecret) {
this.clientSecret = clientSecret;
this.__explicitlySet__.add("clientSecret");
return this;
}
+
+ public Builder clientSecret(String clientSecret) {
+ this.clientSecret = clientSecret != null ? clientSecret.toCharArray() : null;
+ this.__explicitlySet__.add("clientSecret");
+ return this;
+ }
/**
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
* Secret where the client secret is stored. Note: When provided, 'clientSecret' field must
@@ -613,6 +631,81 @@ public CreateAzureDataLakeStorageConnectionDetails(
this.technologyType = technologyType;
this.authenticationType = authenticationType;
this.accountName = accountName;
+ this.accountKey = accountKey != null ? accountKey.toCharArray() : null;
+ this.accountKeySecretId = accountKeySecretId;
+ this.sasToken = sasToken != null ? sasToken.toCharArray() : null;
+ this.sasTokenSecretId = sasTokenSecretId;
+ this.azureTenantId = azureTenantId;
+ this.clientId = clientId;
+ this.clientSecret = clientSecret != null ? clientSecret.toCharArray() : null;
+ this.clientSecretSecretId = clientSecretSecretId;
+ this.endpoint = endpoint;
+ this.azureAuthorityHost = azureAuthorityHost;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public CreateAzureDataLakeStorageConnectionDetails(
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName") String displayName,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") String compartmentId,
+ @com.fasterxml.jackson.annotation.JsonProperty("freeformTags")
+ java.util.Map freeformTags,
+ @com.fasterxml.jackson.annotation.JsonProperty("definedTags")
+ java.util.Map> definedTags,
+ @com.fasterxml.jackson.annotation.JsonProperty("locks")
+ java.util.List locks,
+ @com.fasterxml.jackson.annotation.JsonProperty("vaultId") String vaultId,
+ @com.fasterxml.jackson.annotation.JsonProperty("keyId") String keyId,
+ @com.fasterxml.jackson.annotation.JsonProperty("nsgIds") java.util.List nsgIds,
+ @com.fasterxml.jackson.annotation.JsonProperty("subnetId") String subnetId,
+ @com.fasterxml.jackson.annotation.JsonProperty("routingMethod")
+ RoutingMethod routingMethod,
+ @com.fasterxml.jackson.annotation.JsonProperty("doesUseSecretIds")
+ Boolean doesUseSecretIds,
+ @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") String subscriptionId,
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterPlacementGroupId")
+ String clusterPlacementGroupId,
+ @com.fasterxml.jackson.annotation.JsonProperty("securityAttributes")
+ java.util.Map> securityAttributes,
+ @com.fasterxml.jackson.annotation.JsonProperty("technologyType")
+ AzureDataLakeStorageConnection.TechnologyType technologyType,
+ @com.fasterxml.jackson.annotation.JsonProperty("authenticationType")
+ AzureDataLakeStorageConnection.AuthenticationType authenticationType,
+ @com.fasterxml.jackson.annotation.JsonProperty("accountName") String accountName,
+ @com.fasterxml.jackson.annotation.JsonProperty("accountKey") char[] accountKey,
+ @com.fasterxml.jackson.annotation.JsonProperty("accountKeySecretId")
+ String accountKeySecretId,
+ @com.fasterxml.jackson.annotation.JsonProperty("sasToken") char[] sasToken,
+ @com.fasterxml.jackson.annotation.JsonProperty("sasTokenSecretId")
+ String sasTokenSecretId,
+ @com.fasterxml.jackson.annotation.JsonProperty("azureTenantId") String azureTenantId,
+ @com.fasterxml.jackson.annotation.JsonProperty("clientId") String clientId,
+ @com.fasterxml.jackson.annotation.JsonProperty("clientSecret") char[] clientSecret,
+ @com.fasterxml.jackson.annotation.JsonProperty("clientSecretSecretId")
+ String clientSecretSecretId,
+ @com.fasterxml.jackson.annotation.JsonProperty("endpoint") String endpoint,
+ @com.fasterxml.jackson.annotation.JsonProperty("azureAuthorityHost")
+ String azureAuthorityHost) {
+ super(
+ displayName,
+ description,
+ compartmentId,
+ freeformTags,
+ definedTags,
+ locks,
+ vaultId,
+ keyId,
+ nsgIds,
+ subnetId,
+ routingMethod,
+ doesUseSecretIds,
+ subscriptionId,
+ clusterPlacementGroupId,
+ securityAttributes);
+ this.technologyType = technologyType;
+ this.authenticationType = authenticationType;
+ this.accountName = accountName;
this.accountKey = accountKey;
this.accountKeySecretId = accountKeySecretId;
this.sasToken = sasToken;
@@ -672,7 +765,23 @@ public String getAccountName() {
* removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("accountKey")
- private final String accountKey;
+ private final char[] accountKey;
+
+ /**
+ * Azure storage account key. This property is required when 'authenticationType' is set
+ * to 'SHARED_KEY'. e.g.:
+ * pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ==
+ * Deprecated: This field is deprecated and replaced by "accountKeySecretId". This
+ * field will be removed after February 15 2026.
+ *
+ * @return the value
+ * @deprecated Use getAccountKey__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getAccountKey() {
+ return accountKey != null ? new String(accountKey) : null;
+ }
/**
* Azure storage account key. This property is required when 'authenticationType' is set to
@@ -683,7 +792,8 @@ public String getAccountName() {
*
* @return the value
*/
- public String getAccountKey() {
+ @com.fasterxml.jackson.annotation.JsonProperty("accountKey")
+ public char[] getAccountKey__AsCharArray() {
return accountKey;
}
@@ -715,7 +825,24 @@ public String getAccountKeySecretId() {
* removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("sasToken")
- private final String sasToken;
+ private final char[] sasToken;
+
+ /**
+ * Credential that uses a shared access signature (SAS) to authenticate to an Azure Service.
+ * This property is required when 'authenticationType' is set to
+ * 'SHARED_ACCESS_SIGNATURE'. e.g.:
+ * ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D
+ * Deprecated: This field is deprecated and replaced by "sasTokenSecretId". This field
+ * will be removed after February 15 2026.
+ *
+ * @return the value
+ * @deprecated Use getSasToken__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getSasToken() {
+ return sasToken != null ? new String(sasToken) : null;
+ }
/**
* Credential that uses a shared access signature (SAS) to authenticate to an Azure Service.
@@ -727,7 +854,8 @@ public String getAccountKeySecretId() {
*
* @return the value
*/
- public String getSasToken() {
+ @com.fasterxml.jackson.annotation.JsonProperty("sasToken")
+ public char[] getSasToken__AsCharArray() {
return sasToken;
}
@@ -791,7 +919,22 @@ public String getClientId() {
* "clientSecretSecretId". This field will be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("clientSecret")
- private final String clientSecret;
+ private final char[] clientSecret;
+
+ /**
+ * Azure client secret (aka application password) for authentication. This property is required
+ * when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'. e.g.:
+ * dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1 Deprecated: This field is deprecated and replaced by
+ * "clientSecretSecretId". This field will be removed after February 15 2026.
+ *
+ * @return the value
+ * @deprecated Use getClientSecret__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClientSecret() {
+ return clientSecret != null ? new String(clientSecret) : null;
+ }
/**
* Azure client secret (aka application password) for authentication. This property is required
@@ -801,7 +944,8 @@ public String getClientId() {
*
* @return the value
*/
- public String getClientSecret() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clientSecret")
+ public char[] getClientSecret__AsCharArray() {
return clientSecret;
}
diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateAzureSynapseConnectionDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateAzureSynapseConnectionDetails.java
index a639a7bdd53..e3806e4dd1a 100644
--- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateAzureSynapseConnectionDetails.java
+++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateAzureSynapseConnectionDetails.java
@@ -225,7 +225,7 @@ public Builder username(String username) {
* "passwordSecretId". This field will be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password Oracle GoldenGate uses to connect the associated system of the given
@@ -236,11 +236,17 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
/**
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
* Secret where the password is stored. The password Oracle GoldenGate uses to connect the
@@ -415,6 +421,62 @@ public CreateAzureSynapseConnectionDetails(
this.technologyType = technologyType;
this.connectionString = connectionString;
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecretId = passwordSecretId;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public CreateAzureSynapseConnectionDetails(
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName") String displayName,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") String compartmentId,
+ @com.fasterxml.jackson.annotation.JsonProperty("freeformTags")
+ java.util.Map freeformTags,
+ @com.fasterxml.jackson.annotation.JsonProperty("definedTags")
+ java.util.Map> definedTags,
+ @com.fasterxml.jackson.annotation.JsonProperty("locks")
+ java.util.List locks,
+ @com.fasterxml.jackson.annotation.JsonProperty("vaultId") String vaultId,
+ @com.fasterxml.jackson.annotation.JsonProperty("keyId") String keyId,
+ @com.fasterxml.jackson.annotation.JsonProperty("nsgIds") java.util.List nsgIds,
+ @com.fasterxml.jackson.annotation.JsonProperty("subnetId") String subnetId,
+ @com.fasterxml.jackson.annotation.JsonProperty("routingMethod")
+ RoutingMethod routingMethod,
+ @com.fasterxml.jackson.annotation.JsonProperty("doesUseSecretIds")
+ Boolean doesUseSecretIds,
+ @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") String subscriptionId,
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterPlacementGroupId")
+ String clusterPlacementGroupId,
+ @com.fasterxml.jackson.annotation.JsonProperty("securityAttributes")
+ java.util.Map> securityAttributes,
+ @com.fasterxml.jackson.annotation.JsonProperty("technologyType")
+ AzureSynapseConnection.TechnologyType technologyType,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionString")
+ String connectionString,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecretId")
+ String passwordSecretId) {
+ super(
+ displayName,
+ description,
+ compartmentId,
+ freeformTags,
+ definedTags,
+ locks,
+ vaultId,
+ keyId,
+ nsgIds,
+ subnetId,
+ routingMethod,
+ doesUseSecretIds,
+ subscriptionId,
+ clusterPlacementGroupId,
+ securityAttributes);
+ this.technologyType = technologyType;
+ this.connectionString = connectionString;
+ this.username = username;
this.password = password;
this.passwordSecretId = passwordSecretId;
}
@@ -475,7 +537,22 @@ public String getUsername() {
* will be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
+
+ /**
+ * The password Oracle GoldenGate uses to connect the associated system of the given technology.
+ * It must conform to the specific security requirements including length, case sensitivity, and
+ * so on. Deprecated: This field is deprecated and replaced by "passwordSecretId".
+ * This field will be removed after February 15 2026.
+ *
+ * @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
/**
* The password Oracle GoldenGate uses to connect the associated system of the given technology.
@@ -485,7 +562,8 @@ public String getUsername() {
*
* @return the value
*/
- public String getPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateDatabaseRegistrationDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateDatabaseRegistrationDetails.java
index e533f3fa8ac..178d7b9b73d 100644
--- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateDatabaseRegistrationDetails.java
+++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateDatabaseRegistrationDetails.java
@@ -23,6 +23,48 @@
public final class CreateDatabaseRegistrationDetails
extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
@Deprecated
+ public CreateDatabaseRegistrationDetails(
+ String displayName,
+ String description,
+ String compartmentId,
+ java.util.Map freeformTags,
+ java.util.Map> definedTags,
+ String fqdn,
+ String ipAddress,
+ String subnetId,
+ String databaseId,
+ String username,
+ String password,
+ String connectionString,
+ SessionMode sessionMode,
+ String wallet,
+ String aliasName,
+ String vaultId,
+ String keyId,
+ String secretCompartmentId) {
+ super();
+ this.displayName = displayName;
+ this.description = description;
+ this.compartmentId = compartmentId;
+ this.freeformTags = freeformTags;
+ this.definedTags = definedTags;
+ this.fqdn = fqdn;
+ this.ipAddress = ipAddress;
+ this.subnetId = subnetId;
+ this.databaseId = databaseId;
+ this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.connectionString = connectionString;
+ this.sessionMode = sessionMode;
+ this.wallet = wallet;
+ this.aliasName = aliasName;
+ this.vaultId = vaultId;
+ this.keyId = keyId;
+ this.secretCompartmentId = secretCompartmentId;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
@java.beans.ConstructorProperties({
"displayName",
"description",
@@ -54,7 +96,7 @@ public CreateDatabaseRegistrationDetails(
String subnetId,
String databaseId,
String username,
- String password,
+ char[] password,
String connectionString,
SessionMode sessionMode,
String wallet,
@@ -279,7 +321,7 @@ public Builder username(String username) {
* "passwordSecretId". This field will be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password Oracle GoldenGate uses to connect the associated system of the given
@@ -290,11 +332,17 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
/** Connect descriptor or Easy Connect Naming method used to connect to a database. */
@com.fasterxml.jackson.annotation.JsonProperty("connectionString")
private String connectionString;
@@ -703,7 +751,22 @@ public String getUsername() {
* will be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
+
+ /**
+ * The password Oracle GoldenGate uses to connect the associated system of the given technology.
+ * It must conform to the specific security requirements including length, case sensitivity, and
+ * so on. Deprecated: This field is deprecated and replaced by "passwordSecretId".
+ * This field will be removed after February 15 2026.
+ *
+ * @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
/**
* The password Oracle GoldenGate uses to connect the associated system of the given technology.
@@ -713,7 +776,8 @@ public String getUsername() {
*
* @return the value
*/
- public String getPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateDatabricksConnectionDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateDatabricksConnectionDetails.java
index cfd7f8c3fd2..e497d89d7fa 100644
--- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateDatabricksConnectionDetails.java
+++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateDatabricksConnectionDetails.java
@@ -219,7 +219,7 @@ public Builder connectionUrl(String connectionUrl) {
* "passwordSecretId". This field will be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password used to connect to Databricks. Only applicable for authenticationType ==
@@ -229,11 +229,17 @@ public Builder connectionUrl(String connectionUrl) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
/**
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
* Secret where the password is stored. Note: When provided, 'password' field must not be
@@ -276,7 +282,7 @@ public Builder clientId(String clientId) {
* after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("clientSecret")
- private String clientSecret;
+ private char[] clientSecret;
/**
* OAuth client secret, only applicable for authenticationType == OAUTH_M2M Deprecated: This
@@ -286,11 +292,17 @@ public Builder clientId(String clientId) {
* @param clientSecret the value to set
* @return this builder
*/
- public Builder clientSecret(String clientSecret) {
+ public Builder clientSecret(char[] clientSecret) {
this.clientSecret = clientSecret;
this.__explicitlySet__.add("clientSecret");
return this;
}
+
+ public Builder clientSecret(String clientSecret) {
+ this.clientSecret = clientSecret != null ? clientSecret.toCharArray() : null;
+ this.__explicitlySet__.add("clientSecret");
+ return this;
+ }
/**
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
* Secret where the client secret is stored. Only applicable for authenticationType ==
@@ -500,6 +512,72 @@ public CreateDatabricksConnectionDetails(
this.technologyType = technologyType;
this.authenticationType = authenticationType;
this.connectionUrl = connectionUrl;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecretId = passwordSecretId;
+ this.clientId = clientId;
+ this.clientSecret = clientSecret != null ? clientSecret.toCharArray() : null;
+ this.clientSecretSecretId = clientSecretSecretId;
+ this.storageCredentialName = storageCredentialName;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public CreateDatabricksConnectionDetails(
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName") String displayName,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") String compartmentId,
+ @com.fasterxml.jackson.annotation.JsonProperty("freeformTags")
+ java.util.Map freeformTags,
+ @com.fasterxml.jackson.annotation.JsonProperty("definedTags")
+ java.util.Map> definedTags,
+ @com.fasterxml.jackson.annotation.JsonProperty("locks")
+ java.util.List locks,
+ @com.fasterxml.jackson.annotation.JsonProperty("vaultId") String vaultId,
+ @com.fasterxml.jackson.annotation.JsonProperty("keyId") String keyId,
+ @com.fasterxml.jackson.annotation.JsonProperty("nsgIds") java.util.List nsgIds,
+ @com.fasterxml.jackson.annotation.JsonProperty("subnetId") String subnetId,
+ @com.fasterxml.jackson.annotation.JsonProperty("routingMethod")
+ RoutingMethod routingMethod,
+ @com.fasterxml.jackson.annotation.JsonProperty("doesUseSecretIds")
+ Boolean doesUseSecretIds,
+ @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") String subscriptionId,
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterPlacementGroupId")
+ String clusterPlacementGroupId,
+ @com.fasterxml.jackson.annotation.JsonProperty("securityAttributes")
+ java.util.Map> securityAttributes,
+ @com.fasterxml.jackson.annotation.JsonProperty("technologyType")
+ DatabricksConnection.TechnologyType technologyType,
+ @com.fasterxml.jackson.annotation.JsonProperty("authenticationType")
+ DatabricksConnection.AuthenticationType authenticationType,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionUrl") String connectionUrl,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecretId")
+ String passwordSecretId,
+ @com.fasterxml.jackson.annotation.JsonProperty("clientId") String clientId,
+ @com.fasterxml.jackson.annotation.JsonProperty("clientSecret") char[] clientSecret,
+ @com.fasterxml.jackson.annotation.JsonProperty("clientSecretSecretId")
+ String clientSecretSecretId,
+ @com.fasterxml.jackson.annotation.JsonProperty("storageCredentialName")
+ String storageCredentialName) {
+ super(
+ displayName,
+ description,
+ compartmentId,
+ freeformTags,
+ definedTags,
+ locks,
+ vaultId,
+ keyId,
+ nsgIds,
+ subnetId,
+ routingMethod,
+ doesUseSecretIds,
+ subscriptionId,
+ clusterPlacementGroupId,
+ securityAttributes);
+ this.technologyType = technologyType;
+ this.authenticationType = authenticationType;
+ this.connectionUrl = connectionUrl;
this.password = password;
this.passwordSecretId = passwordSecretId;
this.clientId = clientId;
@@ -557,7 +635,21 @@ public String getConnectionUrl() {
* "passwordSecretId". This field will be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
+
+ /**
+ * The password used to connect to Databricks. Only applicable for authenticationType
+ * == PERSONAL_ACCESS_TOKEN. Deprecated: This field is deprecated and replaced by
+ * "passwordSecretId". This field will be removed after February 15 2026.
+ *
+ * @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
/**
* The password used to connect to Databricks. Only applicable for authenticationType ==
@@ -566,7 +658,8 @@ public String getConnectionUrl() {
*
* @return the value
*/
- public String getPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
@@ -608,7 +701,21 @@ public String getClientId() {
* February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("clientSecret")
- private final String clientSecret;
+ private final char[] clientSecret;
+
+ /**
+ * OAuth client secret, only applicable for authenticationType == OAUTH_M2M
+ * Deprecated: This field is deprecated and replaced by "clientSecretSecretId". This
+ * field will be removed after February 15 2026.
+ *
+ * @return the value
+ * @deprecated Use getClientSecret__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClientSecret() {
+ return clientSecret != null ? new String(clientSecret) : null;
+ }
/**
* OAuth client secret, only applicable for authenticationType == OAUTH_M2M Deprecated: This
@@ -617,7 +724,8 @@ public String getClientId() {
*
* @return the value
*/
- public String getClientSecret() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clientSecret")
+ public char[] getClientSecret__AsCharArray() {
return clientSecret;
}
diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateDb2ConnectionDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateDb2ConnectionDetails.java
index b6065642ba4..66949fed30a 100644
--- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateDb2ConnectionDetails.java
+++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateDb2ConnectionDetails.java
@@ -248,7 +248,7 @@ public Builder username(String username) {
* after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password Oracle GoldenGate uses to connect the associated DB2 database. Deprecated:
@@ -258,11 +258,17 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
/**
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
* Secret where the password is stored, that Oracle GoldenGate uses to connect the
@@ -643,6 +649,86 @@ public CreateDb2ConnectionDetails(
this.host = host;
this.port = port;
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecretId = passwordSecretId;
+ this.additionalAttributes = additionalAttributes;
+ this.securityProtocol = securityProtocol;
+ this.sslClientKeystoredb = sslClientKeystoredb;
+ this.sslClientKeystoredbSecretId = sslClientKeystoredbSecretId;
+ this.sslClientKeystash = sslClientKeystash;
+ this.sslClientKeystashSecretId = sslClientKeystashSecretId;
+ this.sslServerCertificate = sslServerCertificate;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public CreateDb2ConnectionDetails(
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName") String displayName,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") String compartmentId,
+ @com.fasterxml.jackson.annotation.JsonProperty("freeformTags")
+ java.util.Map freeformTags,
+ @com.fasterxml.jackson.annotation.JsonProperty("definedTags")
+ java.util.Map> definedTags,
+ @com.fasterxml.jackson.annotation.JsonProperty("locks")
+ java.util.List locks,
+ @com.fasterxml.jackson.annotation.JsonProperty("vaultId") String vaultId,
+ @com.fasterxml.jackson.annotation.JsonProperty("keyId") String keyId,
+ @com.fasterxml.jackson.annotation.JsonProperty("nsgIds") java.util.List nsgIds,
+ @com.fasterxml.jackson.annotation.JsonProperty("subnetId") String subnetId,
+ @com.fasterxml.jackson.annotation.JsonProperty("routingMethod")
+ RoutingMethod routingMethod,
+ @com.fasterxml.jackson.annotation.JsonProperty("doesUseSecretIds")
+ Boolean doesUseSecretIds,
+ @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") String subscriptionId,
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterPlacementGroupId")
+ String clusterPlacementGroupId,
+ @com.fasterxml.jackson.annotation.JsonProperty("securityAttributes")
+ java.util.Map> securityAttributes,
+ @com.fasterxml.jackson.annotation.JsonProperty("technologyType")
+ Db2Connection.TechnologyType technologyType,
+ @com.fasterxml.jackson.annotation.JsonProperty("databaseName") String databaseName,
+ @com.fasterxml.jackson.annotation.JsonProperty("host") String host,
+ @com.fasterxml.jackson.annotation.JsonProperty("port") Integer port,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecretId")
+ String passwordSecretId,
+ @com.fasterxml.jackson.annotation.JsonProperty("additionalAttributes")
+ java.util.List additionalAttributes,
+ @com.fasterxml.jackson.annotation.JsonProperty("securityProtocol")
+ Db2Connection.SecurityProtocol securityProtocol,
+ @com.fasterxml.jackson.annotation.JsonProperty("sslClientKeystoredb")
+ String sslClientKeystoredb,
+ @com.fasterxml.jackson.annotation.JsonProperty("sslClientKeystoredbSecretId")
+ String sslClientKeystoredbSecretId,
+ @com.fasterxml.jackson.annotation.JsonProperty("sslClientKeystash")
+ String sslClientKeystash,
+ @com.fasterxml.jackson.annotation.JsonProperty("sslClientKeystashSecretId")
+ String sslClientKeystashSecretId,
+ @com.fasterxml.jackson.annotation.JsonProperty("sslServerCertificate")
+ String sslServerCertificate) {
+ super(
+ displayName,
+ description,
+ compartmentId,
+ freeformTags,
+ definedTags,
+ locks,
+ vaultId,
+ keyId,
+ nsgIds,
+ subnetId,
+ routingMethod,
+ doesUseSecretIds,
+ subscriptionId,
+ clusterPlacementGroupId,
+ securityAttributes);
+ this.technologyType = technologyType;
+ this.databaseName = databaseName;
+ this.host = host;
+ this.port = port;
+ this.username = username;
this.password = password;
this.passwordSecretId = passwordSecretId;
this.additionalAttributes = additionalAttributes;
@@ -729,7 +815,21 @@ public String getUsername() {
* February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
+
+ /**
+ * The password Oracle GoldenGate uses to connect the associated DB2 database. Deprecated: This
+ * field is deprecated and replaced by "passwordSecretId". This field will be removed
+ * after February 15 2026.
+ *
+ * @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
/**
* The password Oracle GoldenGate uses to connect the associated DB2 database. Deprecated: This
@@ -738,7 +838,8 @@ public String getUsername() {
*
* @return the value
*/
- public String getPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateElasticsearchConnectionDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateElasticsearchConnectionDetails.java
index 68b77a633f5..2e475414fb9 100644
--- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateElasticsearchConnectionDetails.java
+++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateElasticsearchConnectionDetails.java
@@ -260,7 +260,7 @@ public Builder username(String username) {
* "passwordSecretId". This field will be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password Oracle GoldenGate uses to connect the associated system of the given
@@ -271,11 +271,17 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
/**
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
* Secret where the password is stored. The password Oracle GoldenGate uses to connect the
@@ -486,6 +492,69 @@ public CreateElasticsearchConnectionDetails(
this.securityProtocol = securityProtocol;
this.authenticationType = authenticationType;
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecretId = passwordSecretId;
+ this.fingerprint = fingerprint;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public CreateElasticsearchConnectionDetails(
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName") String displayName,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") String compartmentId,
+ @com.fasterxml.jackson.annotation.JsonProperty("freeformTags")
+ java.util.Map freeformTags,
+ @com.fasterxml.jackson.annotation.JsonProperty("definedTags")
+ java.util.Map> definedTags,
+ @com.fasterxml.jackson.annotation.JsonProperty("locks")
+ java.util.List locks,
+ @com.fasterxml.jackson.annotation.JsonProperty("vaultId") String vaultId,
+ @com.fasterxml.jackson.annotation.JsonProperty("keyId") String keyId,
+ @com.fasterxml.jackson.annotation.JsonProperty("nsgIds") java.util.List nsgIds,
+ @com.fasterxml.jackson.annotation.JsonProperty("subnetId") String subnetId,
+ @com.fasterxml.jackson.annotation.JsonProperty("routingMethod")
+ RoutingMethod routingMethod,
+ @com.fasterxml.jackson.annotation.JsonProperty("doesUseSecretIds")
+ Boolean doesUseSecretIds,
+ @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") String subscriptionId,
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterPlacementGroupId")
+ String clusterPlacementGroupId,
+ @com.fasterxml.jackson.annotation.JsonProperty("securityAttributes")
+ java.util.Map> securityAttributes,
+ @com.fasterxml.jackson.annotation.JsonProperty("technologyType")
+ ElasticsearchConnection.TechnologyType technologyType,
+ @com.fasterxml.jackson.annotation.JsonProperty("servers") String servers,
+ @com.fasterxml.jackson.annotation.JsonProperty("securityProtocol")
+ ElasticsearchConnection.SecurityProtocol securityProtocol,
+ @com.fasterxml.jackson.annotation.JsonProperty("authenticationType")
+ ElasticsearchConnection.AuthenticationType authenticationType,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecretId")
+ String passwordSecretId,
+ @com.fasterxml.jackson.annotation.JsonProperty("fingerprint") String fingerprint) {
+ super(
+ displayName,
+ description,
+ compartmentId,
+ freeformTags,
+ definedTags,
+ locks,
+ vaultId,
+ keyId,
+ nsgIds,
+ subnetId,
+ routingMethod,
+ doesUseSecretIds,
+ subscriptionId,
+ clusterPlacementGroupId,
+ securityAttributes);
+ this.technologyType = technologyType;
+ this.servers = servers;
+ this.securityProtocol = securityProtocol;
+ this.authenticationType = authenticationType;
+ this.username = username;
this.password = password;
this.passwordSecretId = passwordSecretId;
this.fingerprint = fingerprint;
@@ -577,7 +646,22 @@ public String getUsername() {
* will be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
+
+ /**
+ * The password Oracle GoldenGate uses to connect the associated system of the given technology.
+ * It must conform to the specific security requirements including length, case sensitivity, and
+ * so on. Deprecated: This field is deprecated and replaced by "passwordSecretId".
+ * This field will be removed after February 15 2026.
+ *
+ * @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
/**
* The password Oracle GoldenGate uses to connect the associated system of the given technology.
@@ -587,7 +671,8 @@ public String getUsername() {
*
* @return the value
*/
- public String getPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateGoldenGateConnectionDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateGoldenGateConnectionDetails.java
index 3ac3e769fa6..9834dbdc58f 100644
--- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateGoldenGateConnectionDetails.java
+++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateGoldenGateConnectionDetails.java
@@ -248,7 +248,7 @@ public Builder username(String username) {
* be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password used to connect to the Oracle GoldenGate accessed trough this connection.
@@ -258,11 +258,17 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
/**
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
* Secret where the password is stored, which is used to connect to the Oracle GoldenGate
@@ -487,6 +493,67 @@ public CreateGoldenGateConnectionDetails(
this.host = host;
this.port = port;
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecretId = passwordSecretId;
+ this.privateIp = privateIp;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public CreateGoldenGateConnectionDetails(
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName") String displayName,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") String compartmentId,
+ @com.fasterxml.jackson.annotation.JsonProperty("freeformTags")
+ java.util.Map freeformTags,
+ @com.fasterxml.jackson.annotation.JsonProperty("definedTags")
+ java.util.Map> definedTags,
+ @com.fasterxml.jackson.annotation.JsonProperty("locks")
+ java.util.List locks,
+ @com.fasterxml.jackson.annotation.JsonProperty("vaultId") String vaultId,
+ @com.fasterxml.jackson.annotation.JsonProperty("keyId") String keyId,
+ @com.fasterxml.jackson.annotation.JsonProperty("nsgIds") java.util.List nsgIds,
+ @com.fasterxml.jackson.annotation.JsonProperty("subnetId") String subnetId,
+ @com.fasterxml.jackson.annotation.JsonProperty("routingMethod")
+ RoutingMethod routingMethod,
+ @com.fasterxml.jackson.annotation.JsonProperty("doesUseSecretIds")
+ Boolean doesUseSecretIds,
+ @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") String subscriptionId,
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterPlacementGroupId")
+ String clusterPlacementGroupId,
+ @com.fasterxml.jackson.annotation.JsonProperty("securityAttributes")
+ java.util.Map> securityAttributes,
+ @com.fasterxml.jackson.annotation.JsonProperty("technologyType")
+ GoldenGateConnection.TechnologyType technologyType,
+ @com.fasterxml.jackson.annotation.JsonProperty("deploymentId") String deploymentId,
+ @com.fasterxml.jackson.annotation.JsonProperty("host") String host,
+ @com.fasterxml.jackson.annotation.JsonProperty("port") Integer port,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecretId")
+ String passwordSecretId,
+ @com.fasterxml.jackson.annotation.JsonProperty("privateIp") String privateIp) {
+ super(
+ displayName,
+ description,
+ compartmentId,
+ freeformTags,
+ definedTags,
+ locks,
+ vaultId,
+ keyId,
+ nsgIds,
+ subnetId,
+ routingMethod,
+ doesUseSecretIds,
+ subscriptionId,
+ clusterPlacementGroupId,
+ securityAttributes);
+ this.technologyType = technologyType;
+ this.deploymentId = deploymentId;
+ this.host = host;
+ this.port = port;
+ this.username = username;
this.password = password;
this.passwordSecretId = passwordSecretId;
this.privateIp = privateIp;
@@ -567,7 +634,21 @@ public String getUsername() {
* removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
+
+ /**
+ * The password used to connect to the Oracle GoldenGate accessed trough this connection.
+ * Deprecated: This field is deprecated and replaced by "passwordSecretId". This field
+ * will be removed after February 15 2026.
+ *
+ * @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
/**
* The password used to connect to the Oracle GoldenGate accessed trough this connection.
@@ -576,7 +657,8 @@ public String getUsername() {
*
* @return the value
*/
- public String getPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateJavaMessageServiceConnectionDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateJavaMessageServiceConnectionDetails.java
index 844573acbf8..6c965ffcdf2 100644
--- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateJavaMessageServiceConnectionDetails.java
+++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateJavaMessageServiceConnectionDetails.java
@@ -271,7 +271,7 @@ public Builder jndiSecurityPrincipal(String jndiSecurityPrincipal) {
* 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("jndiSecurityCredentials")
- private String jndiSecurityCredentials;
+ private char[] jndiSecurityCredentials;
/**
* The password associated to the principal. Deprecated: This field is deprecated and
@@ -281,11 +281,18 @@ public Builder jndiSecurityPrincipal(String jndiSecurityPrincipal) {
* @param jndiSecurityCredentials the value to set
* @return this builder
*/
- public Builder jndiSecurityCredentials(String jndiSecurityCredentials) {
+ public Builder jndiSecurityCredentials(char[] jndiSecurityCredentials) {
this.jndiSecurityCredentials = jndiSecurityCredentials;
this.__explicitlySet__.add("jndiSecurityCredentials");
return this;
}
+
+ public Builder jndiSecurityCredentials(String jndiSecurityCredentials) {
+ this.jndiSecurityCredentials =
+ jndiSecurityCredentials != null ? jndiSecurityCredentials.toCharArray() : null;
+ this.__explicitlySet__.add("jndiSecurityCredentials");
+ return this;
+ }
/**
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
* Secret where the security credentials are stored associated to the principal. Note: When
@@ -370,7 +377,7 @@ public Builder username(String username) {
* be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password Oracle GoldenGate uses to connect the associated Java Message Service.
@@ -380,11 +387,17 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
/**
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
* Secret where the password is stored, that Oracle GoldenGate uses to connect the
@@ -493,7 +506,7 @@ public Builder trustStoreSecretId(String trustStoreSecretId) {
* "trustStorePasswordSecretId". This field will be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("trustStorePassword")
- private String trustStorePassword;
+ private char[] trustStorePassword;
/**
* The TrustStore password. Deprecated: This field is deprecated and replaced by
@@ -502,11 +515,18 @@ public Builder trustStoreSecretId(String trustStoreSecretId) {
* @param trustStorePassword the value to set
* @return this builder
*/
- public Builder trustStorePassword(String trustStorePassword) {
+ public Builder trustStorePassword(char[] trustStorePassword) {
this.trustStorePassword = trustStorePassword;
this.__explicitlySet__.add("trustStorePassword");
return this;
}
+
+ public Builder trustStorePassword(String trustStorePassword) {
+ this.trustStorePassword =
+ trustStorePassword != null ? trustStorePassword.toCharArray() : null;
+ this.__explicitlySet__.add("trustStorePassword");
+ return this;
+ }
/**
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
* Secret where the TrustStore password is stored. Note: When provided, 'trustStorePassword'
@@ -573,7 +593,7 @@ public Builder keyStoreSecretId(String keyStoreSecretId) {
* "keyStorePasswordSecretId". This field will be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("keyStorePassword")
- private String keyStorePassword;
+ private char[] keyStorePassword;
/**
* The KeyStore password. Deprecated: This field is deprecated and replaced by
@@ -582,11 +602,18 @@ public Builder keyStoreSecretId(String keyStoreSecretId) {
* @param keyStorePassword the value to set
* @return this builder
*/
- public Builder keyStorePassword(String keyStorePassword) {
+ public Builder keyStorePassword(char[] keyStorePassword) {
this.keyStorePassword = keyStorePassword;
this.__explicitlySet__.add("keyStorePassword");
return this;
}
+
+ public Builder keyStorePassword(String keyStorePassword) {
+ this.keyStorePassword =
+ keyStorePassword != null ? keyStorePassword.toCharArray() : null;
+ this.__explicitlySet__.add("keyStorePassword");
+ return this;
+ }
/**
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
* Secret where the KeyStore password is stored. Note: When provided, 'keyStorePassword'
@@ -614,7 +641,7 @@ public Builder keyStorePasswordSecretId(String keyStorePasswordSecretId) {
* "sslKeyPasswordSecretId". This field will be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("sslKeyPassword")
- private String sslKeyPassword;
+ private char[] sslKeyPassword;
/**
* The password for the cert inside of the KeyStore. In case it differs from the KeyStore
@@ -624,11 +651,17 @@ public Builder keyStorePasswordSecretId(String keyStorePasswordSecretId) {
* @param sslKeyPassword the value to set
* @return this builder
*/
- public Builder sslKeyPassword(String sslKeyPassword) {
+ public Builder sslKeyPassword(char[] sslKeyPassword) {
this.sslKeyPassword = sslKeyPassword;
this.__explicitlySet__.add("sslKeyPassword");
return this;
}
+
+ public Builder sslKeyPassword(String sslKeyPassword) {
+ this.sslKeyPassword = sslKeyPassword != null ? sslKeyPassword.toCharArray() : null;
+ this.__explicitlySet__.add("sslKeyPassword");
+ return this;
+ }
/**
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
* Secret where the password is stored for the cert inside of the Keystore. In case it
@@ -944,6 +977,121 @@ public CreateJavaMessageServiceConnectionDetails(
this.jndiProviderUrl = jndiProviderUrl;
this.jndiInitialContextFactory = jndiInitialContextFactory;
this.jndiSecurityPrincipal = jndiSecurityPrincipal;
+ this.jndiSecurityCredentials =
+ jndiSecurityCredentials != null ? jndiSecurityCredentials.toCharArray() : null;
+ this.jndiSecurityCredentialsSecretId = jndiSecurityCredentialsSecretId;
+ this.connectionUrl = connectionUrl;
+ this.connectionFactory = connectionFactory;
+ this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecretId = passwordSecretId;
+ this.securityProtocol = securityProtocol;
+ this.authenticationType = authenticationType;
+ this.trustStore = trustStore;
+ this.trustStoreSecretId = trustStoreSecretId;
+ this.trustStorePassword =
+ trustStorePassword != null ? trustStorePassword.toCharArray() : null;
+ this.trustStorePasswordSecretId = trustStorePasswordSecretId;
+ this.keyStore = keyStore;
+ this.keyStoreSecretId = keyStoreSecretId;
+ this.keyStorePassword = keyStorePassword != null ? keyStorePassword.toCharArray() : null;
+ this.keyStorePasswordSecretId = keyStorePasswordSecretId;
+ this.sslKeyPassword = sslKeyPassword != null ? sslKeyPassword.toCharArray() : null;
+ this.sslKeyPasswordSecretId = sslKeyPasswordSecretId;
+ this.privateIp = privateIp;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public CreateJavaMessageServiceConnectionDetails(
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName") String displayName,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") String compartmentId,
+ @com.fasterxml.jackson.annotation.JsonProperty("freeformTags")
+ java.util.Map freeformTags,
+ @com.fasterxml.jackson.annotation.JsonProperty("definedTags")
+ java.util.Map> definedTags,
+ @com.fasterxml.jackson.annotation.JsonProperty("locks")
+ java.util.List locks,
+ @com.fasterxml.jackson.annotation.JsonProperty("vaultId") String vaultId,
+ @com.fasterxml.jackson.annotation.JsonProperty("keyId") String keyId,
+ @com.fasterxml.jackson.annotation.JsonProperty("nsgIds") java.util.List nsgIds,
+ @com.fasterxml.jackson.annotation.JsonProperty("subnetId") String subnetId,
+ @com.fasterxml.jackson.annotation.JsonProperty("routingMethod")
+ RoutingMethod routingMethod,
+ @com.fasterxml.jackson.annotation.JsonProperty("doesUseSecretIds")
+ Boolean doesUseSecretIds,
+ @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") String subscriptionId,
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterPlacementGroupId")
+ String clusterPlacementGroupId,
+ @com.fasterxml.jackson.annotation.JsonProperty("securityAttributes")
+ java.util.Map> securityAttributes,
+ @com.fasterxml.jackson.annotation.JsonProperty("technologyType")
+ JavaMessageServiceConnection.TechnologyType technologyType,
+ @com.fasterxml.jackson.annotation.JsonProperty("shouldUseJndi") Boolean shouldUseJndi,
+ @com.fasterxml.jackson.annotation.JsonProperty("jndiConnectionFactory")
+ String jndiConnectionFactory,
+ @com.fasterxml.jackson.annotation.JsonProperty("jndiProviderUrl")
+ String jndiProviderUrl,
+ @com.fasterxml.jackson.annotation.JsonProperty("jndiInitialContextFactory")
+ String jndiInitialContextFactory,
+ @com.fasterxml.jackson.annotation.JsonProperty("jndiSecurityPrincipal")
+ String jndiSecurityPrincipal,
+ @com.fasterxml.jackson.annotation.JsonProperty("jndiSecurityCredentials")
+ char[] jndiSecurityCredentials,
+ @com.fasterxml.jackson.annotation.JsonProperty("jndiSecurityCredentialsSecretId")
+ String jndiSecurityCredentialsSecretId,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionUrl") String connectionUrl,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionFactory")
+ String connectionFactory,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecretId")
+ String passwordSecretId,
+ @com.fasterxml.jackson.annotation.JsonProperty("securityProtocol")
+ JavaMessageServiceConnection.SecurityProtocol securityProtocol,
+ @com.fasterxml.jackson.annotation.JsonProperty("authenticationType")
+ JavaMessageServiceConnection.AuthenticationType authenticationType,
+ @com.fasterxml.jackson.annotation.JsonProperty("trustStore") String trustStore,
+ @com.fasterxml.jackson.annotation.JsonProperty("trustStoreSecretId")
+ String trustStoreSecretId,
+ @com.fasterxml.jackson.annotation.JsonProperty("trustStorePassword")
+ char[] trustStorePassword,
+ @com.fasterxml.jackson.annotation.JsonProperty("trustStorePasswordSecretId")
+ String trustStorePasswordSecretId,
+ @com.fasterxml.jackson.annotation.JsonProperty("keyStore") String keyStore,
+ @com.fasterxml.jackson.annotation.JsonProperty("keyStoreSecretId")
+ String keyStoreSecretId,
+ @com.fasterxml.jackson.annotation.JsonProperty("keyStorePassword")
+ char[] keyStorePassword,
+ @com.fasterxml.jackson.annotation.JsonProperty("keyStorePasswordSecretId")
+ String keyStorePasswordSecretId,
+ @com.fasterxml.jackson.annotation.JsonProperty("sslKeyPassword") char[] sslKeyPassword,
+ @com.fasterxml.jackson.annotation.JsonProperty("sslKeyPasswordSecretId")
+ String sslKeyPasswordSecretId,
+ @com.fasterxml.jackson.annotation.JsonProperty("privateIp") String privateIp) {
+ super(
+ displayName,
+ description,
+ compartmentId,
+ freeformTags,
+ definedTags,
+ locks,
+ vaultId,
+ keyId,
+ nsgIds,
+ subnetId,
+ routingMethod,
+ doesUseSecretIds,
+ subscriptionId,
+ clusterPlacementGroupId,
+ securityAttributes);
+ this.technologyType = technologyType;
+ this.shouldUseJndi = shouldUseJndi;
+ this.jndiConnectionFactory = jndiConnectionFactory;
+ this.jndiProviderUrl = jndiProviderUrl;
+ this.jndiInitialContextFactory = jndiInitialContextFactory;
+ this.jndiSecurityPrincipal = jndiSecurityPrincipal;
this.jndiSecurityCredentials = jndiSecurityCredentials;
this.jndiSecurityCredentialsSecretId = jndiSecurityCredentialsSecretId;
this.connectionUrl = connectionUrl;
@@ -1059,15 +1207,30 @@ public String getJndiSecurityPrincipal() {
* by "jndiSecurityCredentialsSecretId". This field will be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("jndiSecurityCredentials")
- private final String jndiSecurityCredentials;
+ private final char[] jndiSecurityCredentials;
/**
* The password associated to the principal. Deprecated: This field is deprecated and replaced
- * by "jndiSecurityCredentialsSecretId". This field will be removed after February 15 2026.
+ * by "jndiSecurityCredentialsSecretId". This field will be removed after February 15
+ * 2026.
*
* @return the value
+ * @deprecated Use getJndiSecurityCredentials__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getJndiSecurityCredentials() {
+ return jndiSecurityCredentials != null ? new String(jndiSecurityCredentials) : null;
+ }
+
+ /**
+ * The password associated to the principal. Deprecated: This field is deprecated and replaced
+ * by "jndiSecurityCredentialsSecretId". This field will be removed after February 15 2026.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("jndiSecurityCredentials")
+ public char[] getJndiSecurityCredentials__AsCharArray() {
return jndiSecurityCredentials;
}
@@ -1147,7 +1310,21 @@ public String getUsername() {
* removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
+
+ /**
+ * The password Oracle GoldenGate uses to connect the associated Java Message Service.
+ * Deprecated: This field is deprecated and replaced by "passwordSecretId". This field
+ * will be removed after February 15 2026.
+ *
+ * @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
/**
* The password Oracle GoldenGate uses to connect the associated Java Message Service.
@@ -1156,7 +1333,8 @@ public String getUsername() {
*
* @return the value
*/
- public String getPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
@@ -1254,15 +1432,29 @@ public String getTrustStoreSecretId() {
* "trustStorePasswordSecretId". This field will be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("trustStorePassword")
- private final String trustStorePassword;
+ private final char[] trustStorePassword;
/**
* The TrustStore password. Deprecated: This field is deprecated and replaced by
- * "trustStorePasswordSecretId". This field will be removed after February 15 2026.
+ * "trustStorePasswordSecretId". This field will be removed after February 15 2026.
*
* @return the value
+ * @deprecated Use getTrustStorePassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getTrustStorePassword() {
+ return trustStorePassword != null ? new String(trustStorePassword) : null;
+ }
+
+ /**
+ * The TrustStore password. Deprecated: This field is deprecated and replaced by
+ * "trustStorePasswordSecretId". This field will be removed after February 15 2026.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("trustStorePassword")
+ public char[] getTrustStorePassword__AsCharArray() {
return trustStorePassword;
}
@@ -1326,15 +1518,29 @@ public String getKeyStoreSecretId() {
* "keyStorePasswordSecretId". This field will be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("keyStorePassword")
- private final String keyStorePassword;
+ private final char[] keyStorePassword;
/**
* The KeyStore password. Deprecated: This field is deprecated and replaced by
- * "keyStorePasswordSecretId". This field will be removed after February 15 2026.
+ * "keyStorePasswordSecretId". This field will be removed after February 15 2026.
*
* @return the value
+ * @deprecated Use getKeyStorePassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getKeyStorePassword() {
+ return keyStorePassword != null ? new String(keyStorePassword) : null;
+ }
+
+ /**
+ * The KeyStore password. Deprecated: This field is deprecated and replaced by
+ * "keyStorePasswordSecretId". This field will be removed after February 15 2026.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("keyStorePassword")
+ public char[] getKeyStorePassword__AsCharArray() {
return keyStorePassword;
}
@@ -1363,16 +1569,31 @@ public String getKeyStorePasswordSecretId() {
* "sslKeyPasswordSecretId". This field will be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("sslKeyPassword")
- private final String sslKeyPassword;
+ private final char[] sslKeyPassword;
/**
* The password for the cert inside of the KeyStore. In case it differs from the KeyStore
* password, it should be provided. Deprecated: This field is deprecated and replaced by
- * "sslKeyPasswordSecretId". This field will be removed after February 15 2026.
+ * "sslKeyPasswordSecretId". This field will be removed after February 15 2026.
*
* @return the value
+ * @deprecated Use getSslKeyPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getSslKeyPassword() {
+ return sslKeyPassword != null ? new String(sslKeyPassword) : null;
+ }
+
+ /**
+ * The password for the cert inside of the KeyStore. In case it differs from the KeyStore
+ * password, it should be provided. Deprecated: This field is deprecated and replaced by
+ * "sslKeyPasswordSecretId". This field will be removed after February 15 2026.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("sslKeyPassword")
+ public char[] getSslKeyPassword__AsCharArray() {
return sslKeyPassword;
}
diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateKafkaConnectionDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateKafkaConnectionDetails.java
index d2c0179e1d0..edcb63776c1 100644
--- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateKafkaConnectionDetails.java
+++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateKafkaConnectionDetails.java
@@ -282,7 +282,7 @@ public Builder username(String username) {
* "passwordSecretId". This field will be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password Oracle GoldenGate uses to connect the associated system of the given
@@ -293,11 +293,17 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
/**
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
* Secret where the password is stored. The password Oracle GoldenGate uses to connect the
@@ -368,7 +374,7 @@ public Builder trustStoreSecretId(String trustStoreSecretId) {
* "trustStorePasswordSecretId". This field will be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("trustStorePassword")
- private String trustStorePassword;
+ private char[] trustStorePassword;
/**
* The TrustStore password. Deprecated: This field is deprecated and replaced by
@@ -377,11 +383,18 @@ public Builder trustStoreSecretId(String trustStoreSecretId) {
* @param trustStorePassword the value to set
* @return this builder
*/
- public Builder trustStorePassword(String trustStorePassword) {
+ public Builder trustStorePassword(char[] trustStorePassword) {
this.trustStorePassword = trustStorePassword;
this.__explicitlySet__.add("trustStorePassword");
return this;
}
+
+ public Builder trustStorePassword(String trustStorePassword) {
+ this.trustStorePassword =
+ trustStorePassword != null ? trustStorePassword.toCharArray() : null;
+ this.__explicitlySet__.add("trustStorePassword");
+ return this;
+ }
/**
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
* Secret where the kafka TrustStore password is stored. Note: When provided,
@@ -448,7 +461,7 @@ public Builder keyStoreSecretId(String keyStoreSecretId) {
* "keyStorePasswordSecretId". This field will be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("keyStorePassword")
- private String keyStorePassword;
+ private char[] keyStorePassword;
/**
* The KeyStore password. Deprecated: This field is deprecated and replaced by
@@ -457,11 +470,18 @@ public Builder keyStoreSecretId(String keyStoreSecretId) {
* @param keyStorePassword the value to set
* @return this builder
*/
- public Builder keyStorePassword(String keyStorePassword) {
+ public Builder keyStorePassword(char[] keyStorePassword) {
this.keyStorePassword = keyStorePassword;
this.__explicitlySet__.add("keyStorePassword");
return this;
}
+
+ public Builder keyStorePassword(String keyStorePassword) {
+ this.keyStorePassword =
+ keyStorePassword != null ? keyStorePassword.toCharArray() : null;
+ this.__explicitlySet__.add("keyStorePassword");
+ return this;
+ }
/**
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
* Secret where the kafka KeyStore password is stored. Note: When provided,
@@ -489,7 +509,7 @@ public Builder keyStorePasswordSecretId(String keyStorePasswordSecretId) {
* "sslKeyPasswordSecretId". This field will be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("sslKeyPassword")
- private String sslKeyPassword;
+ private char[] sslKeyPassword;
/**
* The password for the cert inside of the KeyStore. In case it differs from the KeyStore
@@ -499,11 +519,17 @@ public Builder keyStorePasswordSecretId(String keyStorePasswordSecretId) {
* @param sslKeyPassword the value to set
* @return this builder
*/
- public Builder sslKeyPassword(String sslKeyPassword) {
+ public Builder sslKeyPassword(char[] sslKeyPassword) {
this.sslKeyPassword = sslKeyPassword;
this.__explicitlySet__.add("sslKeyPassword");
return this;
}
+
+ public Builder sslKeyPassword(String sslKeyPassword) {
+ this.sslKeyPassword = sslKeyPassword != null ? sslKeyPassword.toCharArray() : null;
+ this.__explicitlySet__.add("sslKeyPassword");
+ return this;
+ }
/**
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
* Secret where the kafka Ssl Key password is stored. Note: When provided, 'sslKeyPassword'
@@ -810,6 +836,106 @@ public CreateKafkaConnectionDetails(
this.bootstrapServers = bootstrapServers;
this.securityProtocol = securityProtocol;
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecretId = passwordSecretId;
+ this.trustStore = trustStore;
+ this.trustStoreSecretId = trustStoreSecretId;
+ this.trustStorePassword =
+ trustStorePassword != null ? trustStorePassword.toCharArray() : null;
+ this.trustStorePasswordSecretId = trustStorePasswordSecretId;
+ this.keyStore = keyStore;
+ this.keyStoreSecretId = keyStoreSecretId;
+ this.keyStorePassword = keyStorePassword != null ? keyStorePassword.toCharArray() : null;
+ this.keyStorePasswordSecretId = keyStorePasswordSecretId;
+ this.sslKeyPassword = sslKeyPassword != null ? sslKeyPassword.toCharArray() : null;
+ this.sslKeyPasswordSecretId = sslKeyPasswordSecretId;
+ this.consumerProperties = consumerProperties;
+ this.producerProperties = producerProperties;
+ this.shouldUseResourcePrincipal = shouldUseResourcePrincipal;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public CreateKafkaConnectionDetails(
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName") String displayName,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") String compartmentId,
+ @com.fasterxml.jackson.annotation.JsonProperty("freeformTags")
+ java.util.Map freeformTags,
+ @com.fasterxml.jackson.annotation.JsonProperty("definedTags")
+ java.util.Map> definedTags,
+ @com.fasterxml.jackson.annotation.JsonProperty("locks")
+ java.util.List locks,
+ @com.fasterxml.jackson.annotation.JsonProperty("vaultId") String vaultId,
+ @com.fasterxml.jackson.annotation.JsonProperty("keyId") String keyId,
+ @com.fasterxml.jackson.annotation.JsonProperty("nsgIds") java.util.List nsgIds,
+ @com.fasterxml.jackson.annotation.JsonProperty("subnetId") String subnetId,
+ @com.fasterxml.jackson.annotation.JsonProperty("routingMethod")
+ RoutingMethod routingMethod,
+ @com.fasterxml.jackson.annotation.JsonProperty("doesUseSecretIds")
+ Boolean doesUseSecretIds,
+ @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") String subscriptionId,
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterPlacementGroupId")
+ String clusterPlacementGroupId,
+ @com.fasterxml.jackson.annotation.JsonProperty("securityAttributes")
+ java.util.Map> securityAttributes,
+ @com.fasterxml.jackson.annotation.JsonProperty("technologyType")
+ KafkaConnection.TechnologyType technologyType,
+ @com.fasterxml.jackson.annotation.JsonProperty("streamPoolId") String streamPoolId,
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterId") String clusterId,
+ @com.fasterxml.jackson.annotation.JsonProperty("bootstrapServers")
+ java.util.List bootstrapServers,
+ @com.fasterxml.jackson.annotation.JsonProperty("securityProtocol")
+ KafkaConnection.SecurityProtocol securityProtocol,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecretId")
+ String passwordSecretId,
+ @com.fasterxml.jackson.annotation.JsonProperty("trustStore") String trustStore,
+ @com.fasterxml.jackson.annotation.JsonProperty("trustStoreSecretId")
+ String trustStoreSecretId,
+ @com.fasterxml.jackson.annotation.JsonProperty("trustStorePassword")
+ char[] trustStorePassword,
+ @com.fasterxml.jackson.annotation.JsonProperty("trustStorePasswordSecretId")
+ String trustStorePasswordSecretId,
+ @com.fasterxml.jackson.annotation.JsonProperty("keyStore") String keyStore,
+ @com.fasterxml.jackson.annotation.JsonProperty("keyStoreSecretId")
+ String keyStoreSecretId,
+ @com.fasterxml.jackson.annotation.JsonProperty("keyStorePassword")
+ char[] keyStorePassword,
+ @com.fasterxml.jackson.annotation.JsonProperty("keyStorePasswordSecretId")
+ String keyStorePasswordSecretId,
+ @com.fasterxml.jackson.annotation.JsonProperty("sslKeyPassword") char[] sslKeyPassword,
+ @com.fasterxml.jackson.annotation.JsonProperty("sslKeyPasswordSecretId")
+ String sslKeyPasswordSecretId,
+ @com.fasterxml.jackson.annotation.JsonProperty("consumerProperties")
+ String consumerProperties,
+ @com.fasterxml.jackson.annotation.JsonProperty("producerProperties")
+ String producerProperties,
+ @com.fasterxml.jackson.annotation.JsonProperty("shouldUseResourcePrincipal")
+ Boolean shouldUseResourcePrincipal) {
+ super(
+ displayName,
+ description,
+ compartmentId,
+ freeformTags,
+ definedTags,
+ locks,
+ vaultId,
+ keyId,
+ nsgIds,
+ subnetId,
+ routingMethod,
+ doesUseSecretIds,
+ subscriptionId,
+ clusterPlacementGroupId,
+ securityAttributes);
+ this.technologyType = technologyType;
+ this.streamPoolId = streamPoolId;
+ this.clusterId = clusterId;
+ this.bootstrapServers = bootstrapServers;
+ this.securityProtocol = securityProtocol;
+ this.username = username;
this.password = password;
this.passwordSecretId = passwordSecretId;
this.trustStore = trustStore;
@@ -934,7 +1060,22 @@ public String getUsername() {
* will be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
+
+ /**
+ * The password Oracle GoldenGate uses to connect the associated system of the given technology.
+ * It must conform to the specific security requirements including length, case sensitivity, and
+ * so on. Deprecated: This field is deprecated and replaced by "passwordSecretId".
+ * This field will be removed after February 15 2026.
+ *
+ * @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
/**
* The password Oracle GoldenGate uses to connect the associated system of the given technology.
@@ -944,7 +1085,8 @@ public String getUsername() {
*
* @return the value
*/
- public String getPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
@@ -1012,15 +1154,29 @@ public String getTrustStoreSecretId() {
* "trustStorePasswordSecretId". This field will be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("trustStorePassword")
- private final String trustStorePassword;
+ private final char[] trustStorePassword;
/**
* The TrustStore password. Deprecated: This field is deprecated and replaced by
- * "trustStorePasswordSecretId". This field will be removed after February 15 2026.
+ * "trustStorePasswordSecretId". This field will be removed after February 15 2026.
*
* @return the value
+ * @deprecated Use getTrustStorePassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getTrustStorePassword() {
+ return trustStorePassword != null ? new String(trustStorePassword) : null;
+ }
+
+ /**
+ * The TrustStore password. Deprecated: This field is deprecated and replaced by
+ * "trustStorePasswordSecretId". This field will be removed after February 15 2026.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("trustStorePassword")
+ public char[] getTrustStorePassword__AsCharArray() {
return trustStorePassword;
}
@@ -1084,15 +1240,29 @@ public String getKeyStoreSecretId() {
* "keyStorePasswordSecretId". This field will be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("keyStorePassword")
- private final String keyStorePassword;
+ private final char[] keyStorePassword;
/**
* The KeyStore password. Deprecated: This field is deprecated and replaced by
- * "keyStorePasswordSecretId". This field will be removed after February 15 2026.
+ * "keyStorePasswordSecretId". This field will be removed after February 15 2026.
*
* @return the value
+ * @deprecated Use getKeyStorePassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getKeyStorePassword() {
+ return keyStorePassword != null ? new String(keyStorePassword) : null;
+ }
+
+ /**
+ * The KeyStore password. Deprecated: This field is deprecated and replaced by
+ * "keyStorePasswordSecretId". This field will be removed after February 15 2026.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("keyStorePassword")
+ public char[] getKeyStorePassword__AsCharArray() {
return keyStorePassword;
}
@@ -1121,16 +1291,31 @@ public String getKeyStorePasswordSecretId() {
* "sslKeyPasswordSecretId". This field will be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("sslKeyPassword")
- private final String sslKeyPassword;
+ private final char[] sslKeyPassword;
/**
* The password for the cert inside of the KeyStore. In case it differs from the KeyStore
* password, it should be provided. Deprecated: This field is deprecated and replaced by
- * "sslKeyPasswordSecretId". This field will be removed after February 15 2026.
+ * "sslKeyPasswordSecretId". This field will be removed after February 15 2026.
*
* @return the value
+ * @deprecated Use getSslKeyPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getSslKeyPassword() {
+ return sslKeyPassword != null ? new String(sslKeyPassword) : null;
+ }
+
+ /**
+ * The password for the cert inside of the KeyStore. In case it differs from the KeyStore
+ * password, it should be provided. Deprecated: This field is deprecated and replaced by
+ * "sslKeyPasswordSecretId". This field will be removed after February 15 2026.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("sslKeyPassword")
+ public char[] getSslKeyPassword__AsCharArray() {
return sslKeyPassword;
}
diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateKafkaSchemaRegistryConnectionDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateKafkaSchemaRegistryConnectionDetails.java
index 28281e3710e..96c4946c9ee 100644
--- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateKafkaSchemaRegistryConnectionDetails.java
+++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateKafkaSchemaRegistryConnectionDetails.java
@@ -235,7 +235,7 @@ public Builder username(String username) {
* be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password to access Schema Registry using basic authentication. This value is injected
@@ -246,11 +246,17 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
/**
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
* Secret where the Kafka Schema Registry password is stored, The password to access Schema
@@ -321,7 +327,7 @@ public Builder trustStoreSecretId(String trustStoreSecretId) {
* "trustStorePasswordSecretId". This field will be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("trustStorePassword")
- private String trustStorePassword;
+ private char[] trustStorePassword;
/**
* The TrustStore password. Deprecated: This field is deprecated and replaced by
@@ -330,11 +336,18 @@ public Builder trustStoreSecretId(String trustStoreSecretId) {
* @param trustStorePassword the value to set
* @return this builder
*/
- public Builder trustStorePassword(String trustStorePassword) {
+ public Builder trustStorePassword(char[] trustStorePassword) {
this.trustStorePassword = trustStorePassword;
this.__explicitlySet__.add("trustStorePassword");
return this;
}
+
+ public Builder trustStorePassword(String trustStorePassword) {
+ this.trustStorePassword =
+ trustStorePassword != null ? trustStorePassword.toCharArray() : null;
+ this.__explicitlySet__.add("trustStorePassword");
+ return this;
+ }
/**
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
* Secret where the kafka Ssl TrustStore password is stored. Note: When provided,
@@ -401,7 +414,7 @@ public Builder keyStoreSecretId(String keyStoreSecretId) {
* "keyStorePasswordSecretId". This field will be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("keyStorePassword")
- private String keyStorePassword;
+ private char[] keyStorePassword;
/**
* The KeyStore password. Deprecated: This field is deprecated and replaced by
@@ -410,11 +423,18 @@ public Builder keyStoreSecretId(String keyStoreSecretId) {
* @param keyStorePassword the value to set
* @return this builder
*/
- public Builder keyStorePassword(String keyStorePassword) {
+ public Builder keyStorePassword(char[] keyStorePassword) {
this.keyStorePassword = keyStorePassword;
this.__explicitlySet__.add("keyStorePassword");
return this;
}
+
+ public Builder keyStorePassword(String keyStorePassword) {
+ this.keyStorePassword =
+ keyStorePassword != null ? keyStorePassword.toCharArray() : null;
+ this.__explicitlySet__.add("keyStorePassword");
+ return this;
+ }
/**
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
* Secret where the kafka Ssl KeyStore password is stored. Note: When provided,
@@ -442,7 +462,7 @@ public Builder keyStorePasswordSecretId(String keyStorePasswordSecretId) {
* "sslKeyPasswordSecretId". This field will be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("sslKeyPassword")
- private String sslKeyPassword;
+ private char[] sslKeyPassword;
/**
* The password for the cert inside the KeyStore. In case it differs from the KeyStore
@@ -452,11 +472,17 @@ public Builder keyStorePasswordSecretId(String keyStorePasswordSecretId) {
* @param sslKeyPassword the value to set
* @return this builder
*/
- public Builder sslKeyPassword(String sslKeyPassword) {
+ public Builder sslKeyPassword(char[] sslKeyPassword) {
this.sslKeyPassword = sslKeyPassword;
this.__explicitlySet__.add("sslKeyPassword");
return this;
}
+
+ public Builder sslKeyPassword(String sslKeyPassword) {
+ this.sslKeyPassword = sslKeyPassword != null ? sslKeyPassword.toCharArray() : null;
+ this.__explicitlySet__.add("sslKeyPassword");
+ return this;
+ }
/**
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
* Secret that stores the password for the cert inside the KeyStore. In case it differs from
@@ -725,6 +751,94 @@ public CreateKafkaSchemaRegistryConnectionDetails(
this.url = url;
this.authenticationType = authenticationType;
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecretId = passwordSecretId;
+ this.trustStore = trustStore;
+ this.trustStoreSecretId = trustStoreSecretId;
+ this.trustStorePassword =
+ trustStorePassword != null ? trustStorePassword.toCharArray() : null;
+ this.trustStorePasswordSecretId = trustStorePasswordSecretId;
+ this.keyStore = keyStore;
+ this.keyStoreSecretId = keyStoreSecretId;
+ this.keyStorePassword = keyStorePassword != null ? keyStorePassword.toCharArray() : null;
+ this.keyStorePasswordSecretId = keyStorePasswordSecretId;
+ this.sslKeyPassword = sslKeyPassword != null ? sslKeyPassword.toCharArray() : null;
+ this.sslKeyPasswordSecretId = sslKeyPasswordSecretId;
+ this.privateIp = privateIp;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public CreateKafkaSchemaRegistryConnectionDetails(
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName") String displayName,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") String compartmentId,
+ @com.fasterxml.jackson.annotation.JsonProperty("freeformTags")
+ java.util.Map freeformTags,
+ @com.fasterxml.jackson.annotation.JsonProperty("definedTags")
+ java.util.Map> definedTags,
+ @com.fasterxml.jackson.annotation.JsonProperty("locks")
+ java.util.List locks,
+ @com.fasterxml.jackson.annotation.JsonProperty("vaultId") String vaultId,
+ @com.fasterxml.jackson.annotation.JsonProperty("keyId") String keyId,
+ @com.fasterxml.jackson.annotation.JsonProperty("nsgIds") java.util.List nsgIds,
+ @com.fasterxml.jackson.annotation.JsonProperty("subnetId") String subnetId,
+ @com.fasterxml.jackson.annotation.JsonProperty("routingMethod")
+ RoutingMethod routingMethod,
+ @com.fasterxml.jackson.annotation.JsonProperty("doesUseSecretIds")
+ Boolean doesUseSecretIds,
+ @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") String subscriptionId,
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterPlacementGroupId")
+ String clusterPlacementGroupId,
+ @com.fasterxml.jackson.annotation.JsonProperty("securityAttributes")
+ java.util.Map> securityAttributes,
+ @com.fasterxml.jackson.annotation.JsonProperty("technologyType")
+ KafkaSchemaRegistryConnection.TechnologyType technologyType,
+ @com.fasterxml.jackson.annotation.JsonProperty("url") String url,
+ @com.fasterxml.jackson.annotation.JsonProperty("authenticationType")
+ KafkaSchemaRegistryConnection.AuthenticationType authenticationType,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecretId")
+ String passwordSecretId,
+ @com.fasterxml.jackson.annotation.JsonProperty("trustStore") String trustStore,
+ @com.fasterxml.jackson.annotation.JsonProperty("trustStoreSecretId")
+ String trustStoreSecretId,
+ @com.fasterxml.jackson.annotation.JsonProperty("trustStorePassword")
+ char[] trustStorePassword,
+ @com.fasterxml.jackson.annotation.JsonProperty("trustStorePasswordSecretId")
+ String trustStorePasswordSecretId,
+ @com.fasterxml.jackson.annotation.JsonProperty("keyStore") String keyStore,
+ @com.fasterxml.jackson.annotation.JsonProperty("keyStoreSecretId")
+ String keyStoreSecretId,
+ @com.fasterxml.jackson.annotation.JsonProperty("keyStorePassword")
+ char[] keyStorePassword,
+ @com.fasterxml.jackson.annotation.JsonProperty("keyStorePasswordSecretId")
+ String keyStorePasswordSecretId,
+ @com.fasterxml.jackson.annotation.JsonProperty("sslKeyPassword") char[] sslKeyPassword,
+ @com.fasterxml.jackson.annotation.JsonProperty("sslKeyPasswordSecretId")
+ String sslKeyPasswordSecretId,
+ @com.fasterxml.jackson.annotation.JsonProperty("privateIp") String privateIp) {
+ super(
+ displayName,
+ description,
+ compartmentId,
+ freeformTags,
+ definedTags,
+ locks,
+ vaultId,
+ keyId,
+ nsgIds,
+ subnetId,
+ routingMethod,
+ doesUseSecretIds,
+ subscriptionId,
+ clusterPlacementGroupId,
+ securityAttributes);
+ this.technologyType = technologyType;
+ this.url = url;
+ this.authenticationType = authenticationType;
+ this.username = username;
this.password = password;
this.passwordSecretId = passwordSecretId;
this.trustStore = trustStore;
@@ -803,7 +917,22 @@ public String getUsername() {
* February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
+
+ /**
+ * The password to access Schema Registry using basic authentication. This value is injected
+ * into 'schema.registry.basic.auth.user.info=user:password' configuration
+ * property. Deprecated: This field is deprecated and replaced by "passwordSecretId".
+ * This field will be removed after February 15 2026.
+ *
+ * @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
/**
* The password to access Schema Registry using basic authentication. This value is injected
@@ -813,7 +942,8 @@ public String getUsername() {
*
* @return the value
*/
- public String getPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
@@ -881,15 +1011,29 @@ public String getTrustStoreSecretId() {
* "trustStorePasswordSecretId". This field will be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("trustStorePassword")
- private final String trustStorePassword;
+ private final char[] trustStorePassword;
/**
* The TrustStore password. Deprecated: This field is deprecated and replaced by
- * "trustStorePasswordSecretId". This field will be removed after February 15 2026.
+ * "trustStorePasswordSecretId". This field will be removed after February 15 2026.
*
* @return the value
+ * @deprecated Use getTrustStorePassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getTrustStorePassword() {
+ return trustStorePassword != null ? new String(trustStorePassword) : null;
+ }
+
+ /**
+ * The TrustStore password. Deprecated: This field is deprecated and replaced by
+ * "trustStorePasswordSecretId". This field will be removed after February 15 2026.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("trustStorePassword")
+ public char[] getTrustStorePassword__AsCharArray() {
return trustStorePassword;
}
@@ -953,15 +1097,29 @@ public String getKeyStoreSecretId() {
* "keyStorePasswordSecretId". This field will be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("keyStorePassword")
- private final String keyStorePassword;
+ private final char[] keyStorePassword;
/**
* The KeyStore password. Deprecated: This field is deprecated and replaced by
- * "keyStorePasswordSecretId". This field will be removed after February 15 2026.
+ * "keyStorePasswordSecretId". This field will be removed after February 15 2026.
*
* @return the value
+ * @deprecated Use getKeyStorePassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getKeyStorePassword() {
+ return keyStorePassword != null ? new String(keyStorePassword) : null;
+ }
+
+ /**
+ * The KeyStore password. Deprecated: This field is deprecated and replaced by
+ * "keyStorePasswordSecretId". This field will be removed after February 15 2026.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("keyStorePassword")
+ public char[] getKeyStorePassword__AsCharArray() {
return keyStorePassword;
}
@@ -990,16 +1148,31 @@ public String getKeyStorePasswordSecretId() {
* "sslKeyPasswordSecretId". This field will be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("sslKeyPassword")
- private final String sslKeyPassword;
+ private final char[] sslKeyPassword;
/**
* The password for the cert inside the KeyStore. In case it differs from the KeyStore password,
* it should be provided. Deprecated: This field is deprecated and replaced by
- * "sslKeyPasswordSecretId". This field will be removed after February 15 2026.
+ * "sslKeyPasswordSecretId". This field will be removed after February 15 2026.
*
* @return the value
+ * @deprecated Use getSslKeyPassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getSslKeyPassword() {
+ return sslKeyPassword != null ? new String(sslKeyPassword) : null;
+ }
+
+ /**
+ * The password for the cert inside the KeyStore. In case it differs from the KeyStore password,
+ * it should be provided. Deprecated: This field is deprecated and replaced by
+ * "sslKeyPasswordSecretId". This field will be removed after February 15 2026.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("sslKeyPassword")
+ public char[] getSslKeyPassword__AsCharArray() {
return sslKeyPassword;
}
diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateMicrosoftSqlserverConnectionDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateMicrosoftSqlserverConnectionDetails.java
index 3370260f148..f7393eb542e 100644
--- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateMicrosoftSqlserverConnectionDetails.java
+++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateMicrosoftSqlserverConnectionDetails.java
@@ -248,7 +248,7 @@ public Builder username(String username) {
* be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password Oracle GoldenGate uses to connect the associated Microsoft SQL Server.
@@ -258,11 +258,17 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
/**
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
* Secret that stores the password Oracle GoldenGate uses to connect the associated
@@ -576,6 +582,78 @@ public CreateMicrosoftSqlserverConnectionDetails(
this.host = host;
this.port = port;
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecretId = passwordSecretId;
+ this.additionalAttributes = additionalAttributes;
+ this.securityProtocol = securityProtocol;
+ this.sslCa = sslCa;
+ this.shouldValidateServerCertificate = shouldValidateServerCertificate;
+ this.privateIp = privateIp;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public CreateMicrosoftSqlserverConnectionDetails(
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName") String displayName,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") String compartmentId,
+ @com.fasterxml.jackson.annotation.JsonProperty("freeformTags")
+ java.util.Map freeformTags,
+ @com.fasterxml.jackson.annotation.JsonProperty("definedTags")
+ java.util.Map> definedTags,
+ @com.fasterxml.jackson.annotation.JsonProperty("locks")
+ java.util.List locks,
+ @com.fasterxml.jackson.annotation.JsonProperty("vaultId") String vaultId,
+ @com.fasterxml.jackson.annotation.JsonProperty("keyId") String keyId,
+ @com.fasterxml.jackson.annotation.JsonProperty("nsgIds") java.util.List nsgIds,
+ @com.fasterxml.jackson.annotation.JsonProperty("subnetId") String subnetId,
+ @com.fasterxml.jackson.annotation.JsonProperty("routingMethod")
+ RoutingMethod routingMethod,
+ @com.fasterxml.jackson.annotation.JsonProperty("doesUseSecretIds")
+ Boolean doesUseSecretIds,
+ @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") String subscriptionId,
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterPlacementGroupId")
+ String clusterPlacementGroupId,
+ @com.fasterxml.jackson.annotation.JsonProperty("securityAttributes")
+ java.util.Map> securityAttributes,
+ @com.fasterxml.jackson.annotation.JsonProperty("technologyType")
+ MicrosoftSqlserverConnection.TechnologyType technologyType,
+ @com.fasterxml.jackson.annotation.JsonProperty("databaseName") String databaseName,
+ @com.fasterxml.jackson.annotation.JsonProperty("host") String host,
+ @com.fasterxml.jackson.annotation.JsonProperty("port") Integer port,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecretId")
+ String passwordSecretId,
+ @com.fasterxml.jackson.annotation.JsonProperty("additionalAttributes")
+ java.util.List additionalAttributes,
+ @com.fasterxml.jackson.annotation.JsonProperty("securityProtocol")
+ MicrosoftSqlserverConnection.SecurityProtocol securityProtocol,
+ @com.fasterxml.jackson.annotation.JsonProperty("sslCa") String sslCa,
+ @com.fasterxml.jackson.annotation.JsonProperty("shouldValidateServerCertificate")
+ Boolean shouldValidateServerCertificate,
+ @com.fasterxml.jackson.annotation.JsonProperty("privateIp") String privateIp) {
+ super(
+ displayName,
+ description,
+ compartmentId,
+ freeformTags,
+ definedTags,
+ locks,
+ vaultId,
+ keyId,
+ nsgIds,
+ subnetId,
+ routingMethod,
+ doesUseSecretIds,
+ subscriptionId,
+ clusterPlacementGroupId,
+ securityAttributes);
+ this.technologyType = technologyType;
+ this.databaseName = databaseName;
+ this.host = host;
+ this.port = port;
+ this.username = username;
this.password = password;
this.passwordSecretId = passwordSecretId;
this.additionalAttributes = additionalAttributes;
@@ -660,7 +738,21 @@ public String getUsername() {
* removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
+
+ /**
+ * The password Oracle GoldenGate uses to connect the associated Microsoft SQL Server.
+ * Deprecated: This field is deprecated and replaced by "passwordSecretId". This field
+ * will be removed after February 15 2026.
+ *
+ * @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
/**
* The password Oracle GoldenGate uses to connect the associated Microsoft SQL Server.
@@ -669,7 +761,8 @@ public String getUsername() {
*
* @return the value
*/
- public String getPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateMongoDbConnectionDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateMongoDbConnectionDetails.java
index 3f1208ed866..df4ad49f2a9 100644
--- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateMongoDbConnectionDetails.java
+++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateMongoDbConnectionDetails.java
@@ -220,7 +220,7 @@ public Builder username(String username) {
* February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password Oracle GoldenGate uses to connect the associated database. Deprecated: This
@@ -230,11 +230,17 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
/**
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
* Secret that stores the password Oracle GoldenGate uses to connect the associated
@@ -361,7 +367,7 @@ public Builder tlsCertificateKeyFileSecretId(String tlsCertificateKeyFileSecretI
* 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("tlsCertificateKeyFilePassword")
- private String tlsCertificateKeyFilePassword;
+ private char[] tlsCertificateKeyFilePassword;
/**
* Client Certificate key file password. Deprecated: This field is deprecated and replaced
@@ -371,11 +377,20 @@ public Builder tlsCertificateKeyFileSecretId(String tlsCertificateKeyFileSecretI
* @param tlsCertificateKeyFilePassword the value to set
* @return this builder
*/
- public Builder tlsCertificateKeyFilePassword(String tlsCertificateKeyFilePassword) {
+ public Builder tlsCertificateKeyFilePassword(char[] tlsCertificateKeyFilePassword) {
this.tlsCertificateKeyFilePassword = tlsCertificateKeyFilePassword;
this.__explicitlySet__.add("tlsCertificateKeyFilePassword");
return this;
}
+
+ public Builder tlsCertificateKeyFilePassword(String tlsCertificateKeyFilePassword) {
+ this.tlsCertificateKeyFilePassword =
+ tlsCertificateKeyFilePassword != null
+ ? tlsCertificateKeyFilePassword.toCharArray()
+ : null;
+ this.__explicitlySet__.add("tlsCertificateKeyFilePassword");
+ return this;
+ }
/**
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
* Secret that stores the password of the tls certificate key file. Note: When provided,
@@ -583,6 +598,84 @@ public CreateMongoDbConnectionDetails(
this.technologyType = technologyType;
this.connectionString = connectionString;
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecretId = passwordSecretId;
+ this.databaseId = databaseId;
+ this.securityProtocol = securityProtocol;
+ this.tlsCaFile = tlsCaFile;
+ this.tlsCertificateKeyFile = tlsCertificateKeyFile;
+ this.tlsCertificateKeyFileSecretId = tlsCertificateKeyFileSecretId;
+ this.tlsCertificateKeyFilePassword =
+ tlsCertificateKeyFilePassword != null
+ ? tlsCertificateKeyFilePassword.toCharArray()
+ : null;
+ this.tlsCertificateKeyFilePasswordSecretId = tlsCertificateKeyFilePasswordSecretId;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public CreateMongoDbConnectionDetails(
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName") String displayName,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") String compartmentId,
+ @com.fasterxml.jackson.annotation.JsonProperty("freeformTags")
+ java.util.Map freeformTags,
+ @com.fasterxml.jackson.annotation.JsonProperty("definedTags")
+ java.util.Map> definedTags,
+ @com.fasterxml.jackson.annotation.JsonProperty("locks")
+ java.util.List locks,
+ @com.fasterxml.jackson.annotation.JsonProperty("vaultId") String vaultId,
+ @com.fasterxml.jackson.annotation.JsonProperty("keyId") String keyId,
+ @com.fasterxml.jackson.annotation.JsonProperty("nsgIds") java.util.List nsgIds,
+ @com.fasterxml.jackson.annotation.JsonProperty("subnetId") String subnetId,
+ @com.fasterxml.jackson.annotation.JsonProperty("routingMethod")
+ RoutingMethod routingMethod,
+ @com.fasterxml.jackson.annotation.JsonProperty("doesUseSecretIds")
+ Boolean doesUseSecretIds,
+ @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") String subscriptionId,
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterPlacementGroupId")
+ String clusterPlacementGroupId,
+ @com.fasterxml.jackson.annotation.JsonProperty("securityAttributes")
+ java.util.Map> securityAttributes,
+ @com.fasterxml.jackson.annotation.JsonProperty("technologyType")
+ MongoDbConnection.TechnologyType technologyType,
+ @com.fasterxml.jackson.annotation.JsonProperty("connectionString")
+ String connectionString,
+ @com.fasterxml.jackson.annotation.JsonProperty("username") String username,
+ @com.fasterxml.jackson.annotation.JsonProperty("password") char[] password,
+ @com.fasterxml.jackson.annotation.JsonProperty("passwordSecretId")
+ String passwordSecretId,
+ @com.fasterxml.jackson.annotation.JsonProperty("databaseId") String databaseId,
+ @com.fasterxml.jackson.annotation.JsonProperty("securityProtocol")
+ MongoDbConnection.SecurityProtocol securityProtocol,
+ @com.fasterxml.jackson.annotation.JsonProperty("tlsCaFile") String tlsCaFile,
+ @com.fasterxml.jackson.annotation.JsonProperty("tlsCertificateKeyFile")
+ String tlsCertificateKeyFile,
+ @com.fasterxml.jackson.annotation.JsonProperty("tlsCertificateKeyFileSecretId")
+ String tlsCertificateKeyFileSecretId,
+ @com.fasterxml.jackson.annotation.JsonProperty("tlsCertificateKeyFilePassword")
+ char[] tlsCertificateKeyFilePassword,
+ @com.fasterxml.jackson.annotation.JsonProperty("tlsCertificateKeyFilePasswordSecretId")
+ String tlsCertificateKeyFilePasswordSecretId) {
+ super(
+ displayName,
+ description,
+ compartmentId,
+ freeformTags,
+ definedTags,
+ locks,
+ vaultId,
+ keyId,
+ nsgIds,
+ subnetId,
+ routingMethod,
+ doesUseSecretIds,
+ subscriptionId,
+ clusterPlacementGroupId,
+ securityAttributes);
+ this.technologyType = technologyType;
+ this.connectionString = connectionString;
+ this.username = username;
this.password = password;
this.passwordSecretId = passwordSecretId;
this.databaseId = databaseId;
@@ -643,7 +736,21 @@ public String getUsername() {
* February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
+
+ /**
+ * The password Oracle GoldenGate uses to connect the associated database. Deprecated: This
+ * field is deprecated and replaced by "passwordSecretId". This field will be removed
+ * after February 15 2026.
+ *
+ * @return the value
+ * @deprecated Use getPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
/**
* The password Oracle GoldenGate uses to connect the associated database. Deprecated: This
@@ -652,7 +759,8 @@ public String getUsername() {
*
* @return the value
*/
- public String getPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
@@ -769,15 +877,32 @@ public String getTlsCertificateKeyFileSecretId() {
* "tlsCertificateKeyFilePasswordSecretId". This field will be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("tlsCertificateKeyFilePassword")
- private final String tlsCertificateKeyFilePassword;
+ private final char[] tlsCertificateKeyFilePassword;
/**
* Client Certificate key file password. Deprecated: This field is deprecated and replaced by
- * "tlsCertificateKeyFilePasswordSecretId". This field will be removed after February 15 2026.
+ * "tlsCertificateKeyFilePasswordSecretId". This field will be removed after February
+ * 15 2026.
*
* @return the value
+ * @deprecated Use getTlsCertificateKeyFilePassword__AsCharArray() instead.
*/
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
public String getTlsCertificateKeyFilePassword() {
+ return tlsCertificateKeyFilePassword != null
+ ? new String(tlsCertificateKeyFilePassword)
+ : null;
+ }
+
+ /**
+ * Client Certificate key file password. Deprecated: This field is deprecated and replaced by
+ * "tlsCertificateKeyFilePasswordSecretId". This field will be removed after February 15 2026.
+ *
+ * @return the value
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("tlsCertificateKeyFilePassword")
+ public char[] getTlsCertificateKeyFilePassword__AsCharArray() {
return tlsCertificateKeyFilePassword;
}
diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateMysqlConnectionDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateMysqlConnectionDetails.java
index d8080c743fe..27b62107bc3 100644
--- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateMysqlConnectionDetails.java
+++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateMysqlConnectionDetails.java
@@ -206,7 +206,7 @@ public Builder username(String username) {
* "passwordSecretId". This field will be removed after February 15 2026.
*/
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* The password Oracle GoldenGate uses to connect the associated system of the given
@@ -217,11 +217,17 @@ public Builder username(String username) {
* @param password the value to set
* @return this builder
*/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
/**
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
* Secret where the password is stored. The password Oracle GoldenGate uses to connect the
@@ -712,6 +718,88 @@ public CreateMysqlConnectionDetails(
securityAttributes);
this.technologyType = technologyType;
this.username = username;
+ this.password = password != null ? password.toCharArray() : null;
+ this.passwordSecretId = passwordSecretId;
+ this.host = host;
+ this.port = port;
+ this.databaseName = databaseName;
+ this.securityProtocol = securityProtocol;
+ this.sslMode = sslMode;
+ this.sslCa = sslCa;
+ this.sslCrl = sslCrl;
+ this.sslCert = sslCert;
+ this.sslKey = sslKey;
+ this.sslKeySecretId = sslKeySecretId;
+ this.privateIp = privateIp;
+ this.additionalAttributes = additionalAttributes;
+ this.dbSystemId = dbSystemId;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public CreateMysqlConnectionDetails(
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName") String displayName,
+ @com.fasterxml.jackson.annotation.JsonProperty("description") String description,
+ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") String compartmentId,
+ @com.fasterxml.jackson.annotation.JsonProperty("freeformTags")
+ java.util.Map freeformTags,
+ @com.fasterxml.jackson.annotation.JsonProperty("definedTags")
+ java.util.Map> definedTags,
+ @com.fasterxml.jackson.annotation.JsonProperty("locks")
+ java.util.List locks,
+ @com.fasterxml.jackson.annotation.JsonProperty("vaultId") String vaultId,
+ @com.fasterxml.jackson.annotation.JsonProperty("keyId") String keyId,
+ @com.fasterxml.jackson.annotation.JsonProperty("nsgIds") java.util.List nsgIds,
+ @com.fasterxml.jackson.annotation.JsonProperty("subnetId") String subnetId,
+ @com.fasterxml.jackson.annotation.JsonProperty("routingMethod")
+ RoutingMethod routingMethod,
+ @com.fasterxml.jackson.annotation.JsonProperty("doesUseSecretIds")
+ Boolean doesUseSecretIds,
+ @com.fasterxml.jackson.annotation.JsonProperty("subscriptionId") String subscriptionId,
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterPlacementGroupId")
+ String clusterPlacementGroupId,
+ @com.fasterxml.jackson.annotation.JsonProperty("securityAttributes")
+ java.util.Map