Class CreateDbSystemSourceFromDbSystemDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.mysql.model.CreateDbSystemSourceDetails
-
- com.oracle.bmc.mysql.model.CreateDbSystemSourceFromDbSystemDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20190415") public final class CreateDbSystemSourceFromDbSystemDetails extends CreateDbSystemSourceDetailsThe source DB System identifier (OCID) and region from which the new DB system will be cloned by copying its data.Optionally, channel properties can be provided to create a replication channel between the newly created DB system and the source DB system.
Note: Objects should always be created or deserialized using theCreateDbSystemSourceFromDbSystemDetails.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 theCreateDbSystemSourceFromDbSystemDetails.Builder, which maintain a set of all explicitly set fields calledCreateDbSystemSourceFromDbSystemDetails.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 classCreateDbSystemSourceFromDbSystemDetails.Builder-
Nested classes/interfaces inherited from class com.oracle.bmc.mysql.model.CreateDbSystemSourceDetails
CreateDbSystemSourceDetails.SourceType
-
-
Constructor Summary
Constructors Constructor Description CreateDbSystemSourceFromDbSystemDetails(String dbSystemId, String region, CreateDbSystemSourceFromDbSystemChannelDetails channel)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateDbSystemSourceFromDbSystemDetails.Builderbuilder()Create a new builder.booleanequals(Object o)CreateDbSystemSourceFromDbSystemChannelDetailsgetChannel()StringgetDbSystemId()The OCID of the DB system to be used as the source for the new DB System.StringgetRegion()The region identifier of the source region where the DB system exists, only if it is in a different region.inthashCode()CreateDbSystemSourceFromDbSystemDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
CreateDbSystemSourceFromDbSystemDetails
@Deprecated public CreateDbSystemSourceFromDbSystemDetails(String dbSystemId, String region, CreateDbSystemSourceFromDbSystemChannelDetails channel)
Deprecated.
-
-
Method Detail
-
builder
public static CreateDbSystemSourceFromDbSystemDetails.Builder builder()
Create a new builder.
-
toBuilder
public CreateDbSystemSourceFromDbSystemDetails.Builder toBuilder()
-
getDbSystemId
public String getDbSystemId()
The OCID of the DB system to be used as the source for the new DB System.- Returns:
- the value
-
getRegion
public String getRegion()
The region identifier of the source region where the DB system exists, only if it is in a different region.If the source DB system is in the same region, then no region must be specified. For more information, please see Regions and Availability Domains.
- Returns:
- the value
-
getChannel
public CreateDbSystemSourceFromDbSystemChannelDetails getChannel()
-
toString
public String toString()
- Overrides:
toStringin classCreateDbSystemSourceDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classCreateDbSystemSourceDetails- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classCreateDbSystemSourceDetails
-
hashCode
public int hashCode()
- Overrides:
hashCodein classCreateDbSystemSourceDetails
-
-