Class InitialDataLoad
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.goldengate.model.InitialDataLoad
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200407") public final class InitialDataLoad extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelOptions required for the pipeline Initial Data Load.If enabled, copies existing data from source to target before replication.
Note: Objects should always be created or deserialized using theInitialDataLoad.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 theInitialDataLoad.Builder, which maintain a set of all explicitly set fields calledInitialDataLoad.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 classInitialDataLoad.Builderstatic classInitialDataLoad.InitialLoadTypeType of Initial load, which can be objectStorage or dbLink.static classInitialDataLoad.IsInitialLoadIf ENABLED, then existing source data is also synchronized to the target when creating or updating the pipeline.
-
Constructor Summary
Constructors Constructor Description InitialDataLoad(InitialDataLoad.IsInitialLoad isInitialLoad, InitialLoadAction actionOnExistingTable, InitialDataLoad.InitialLoadType initialLoadType, String adbWalletPath, String sourceWalletPath, String targetWalletPath, String namespaceName, String bucketName)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InitialDataLoad.Builderbuilder()Create a new builder.booleanequals(Object o)InitialLoadActiongetActionOnExistingTable()Action upon existing tables in target when initial Data Load is set i.e., isInitialLoad=true.StringgetAdbWalletPath()Directory path of ADB wallet locally available in Non-ADB target DB.StringgetBucketName()Name of the ObjectStorage bucket.InitialDataLoad.InitialLoadTypegetInitialLoadType()Type of Initial load, which can be objectStorage or dbLink.InitialDataLoad.IsInitialLoadgetIsInitialLoad()If ENABLED, then existing source data is also synchronized to the target when creating or updating the pipeline.StringgetNamespaceName()Namespace that serves as a container of the ObjectStorage bucket.StringgetSourceWalletPath()Directory path of ObjectStorage wallet locally available in Non-ADB source DB.StringgetTargetWalletPath()Directory path of ObjectStorage wallet locally available in Non-ADB target DB.inthashCode()InitialDataLoad.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
InitialDataLoad
@Deprecated @ConstructorProperties({"isInitialLoad","actionOnExistingTable","initialLoadType","adbWalletPath","sourceWalletPath","targetWalletPath","namespaceName","bucketName"}) public InitialDataLoad(InitialDataLoad.IsInitialLoad isInitialLoad, InitialLoadAction actionOnExistingTable, InitialDataLoad.InitialLoadType initialLoadType, String adbWalletPath, String sourceWalletPath, String targetWalletPath, String namespaceName, String bucketName)
Deprecated.
-
-
Method Detail
-
builder
public static InitialDataLoad.Builder builder()
Create a new builder.
-
toBuilder
public InitialDataLoad.Builder toBuilder()
-
getIsInitialLoad
public InitialDataLoad.IsInitialLoad getIsInitialLoad()
If ENABLED, then existing source data is also synchronized to the target when creating or updating the pipeline.- Returns:
- the value
-
getActionOnExistingTable
public InitialLoadAction getActionOnExistingTable()
Action upon existing tables in target when initial Data Load is set i.e., isInitialLoad=true.- Returns:
- the value
-
getInitialLoadType
public InitialDataLoad.InitialLoadType getInitialLoadType()
Type of Initial load, which can be objectStorage or dbLink.- Returns:
- the value
-
getAdbWalletPath
public String getAdbWalletPath()
Directory path of ADB wallet locally available in Non-ADB target DB.Required for ADB to non-ADB DBLink type initial load only. If not provided the default wallet path “/u01/targetwallet” will be used.
- Returns:
- the value
-
getSourceWalletPath
public String getSourceWalletPath()
Directory path of ObjectStorage wallet locally available in Non-ADB source DB.Required for Object Storage type initial load only if source DB is Non-ADB type.
- Returns:
- the value
-
getTargetWalletPath
public String getTargetWalletPath()
Directory path of ObjectStorage wallet locally available in Non-ADB target DB.Required for Object Storage type initial load only if target DB is Non-ADB type.
- Returns:
- the value
-
getNamespaceName
public String getNamespaceName()
Namespace that serves as a container of the ObjectStorage bucket.Required only for Objectstorage Initial load.
- Returns:
- the value
-
getBucketName
public String getBucketName()
Name of the ObjectStorage bucket.Required only for Objectstorage Initial load.
- 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
-
-