Package com.oracle.bmc.mysql.model
Class CreateDbSystemSourceFromDbSystemChannelDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.mysql.model.CreateDbSystemSourceFromDbSystemChannelDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20190415") public final class CreateDbSystemSourceFromDbSystemChannelDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelProperties to setup a replication channel with the source (cloned) DB system.
Note: Objects should always be created or deserialized using theCreateDbSystemSourceFromDbSystemChannelDetails.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theCreateDbSystemSourceFromDbSystemChannelDetails.Builder, which maintain a set of all explicitly set fields calledCreateDbSystemSourceFromDbSystemChannelDetails.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateDbSystemSourceFromDbSystemChannelDetails.Builder
-
Constructor Summary
Constructors Constructor Description CreateDbSystemSourceFromDbSystemChannelDetails(String sourceUsername, char[] sourcePassword, SslMode sslMode, CaCertificate sslCaCertificate, String applierUsername)Deprecated.CreateDbSystemSourceFromDbSystemChannelDetails(String sourceUsername, String sourcePassword, SslMode sslMode, CaCertificate sslCaCertificate, String applierUsername)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static CreateDbSystemSourceFromDbSystemChannelDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetApplierUsername()The username for the replication applier of the created MySQL DB System.StringgetSourcePassword()Deprecated.Use getSourcePassword__AsCharArray() instead.char[]getSourcePassword__AsCharArray()The password for the replication user.StringgetSourceUsername()The name of the replication user on the source DB system.CaCertificategetSslCaCertificate()SslModegetSslMode()The SSL mode of the Channel.inthashCode()CreateDbSystemSourceFromDbSystemChannelDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
CreateDbSystemSourceFromDbSystemChannelDetails
@Deprecated public CreateDbSystemSourceFromDbSystemChannelDetails(String sourceUsername, String sourcePassword, SslMode sslMode, CaCertificate sslCaCertificate, String applierUsername)
Deprecated.
-
CreateDbSystemSourceFromDbSystemChannelDetails
@Deprecated @ConstructorProperties({"sourceUsername","sourcePassword","sslMode","sslCaCertificate","applierUsername"}) public CreateDbSystemSourceFromDbSystemChannelDetails(String sourceUsername, char[] sourcePassword, SslMode sslMode, CaCertificate sslCaCertificate, String applierUsername)
Deprecated.
-
-
Method Detail
-
builder
public static CreateDbSystemSourceFromDbSystemChannelDetails.Builder builder()
Create a new builder.
-
toBuilder
public CreateDbSystemSourceFromDbSystemChannelDetails.Builder toBuilder()
-
getSourceUsername
public String getSourceUsername()
The name of the replication user on the source DB system.The username has a maximum length of 96 characters. For more information, please see the MySQL documentation
- Returns:
- the value
-
getSourcePassword
@Deprecated public String getSourcePassword()
Deprecated.Use getSourcePassword__AsCharArray() instead.The password for the replication user.The password must be between 8 and 32 characters long, and must contain at least 1 numeric character, 1 lowercase character, 1 uppercase character, and 1 special (nonalphanumeric) character.
- Returns:
- the value
-
getSourcePassword__AsCharArray
public char[] getSourcePassword__AsCharArray()
The password for the replication user.The password must be between 8 and 32 characters long, and must contain at least 1 numeric character, 1 lowercase character, 1 uppercase character, and 1 special (nonalphanumeric) character.
- Returns:
- the value
-
getSslMode
public SslMode getSslMode()
The SSL mode of the Channel.- Returns:
- the value
-
getSslCaCertificate
public CaCertificate getSslCaCertificate()
-
getApplierUsername
public String getApplierUsername()
The username for the replication applier of the created MySQL DB System.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-