Package com.oracle.bmc.goldengate.model
Class ProcessOptions
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.goldengate.model.ProcessOptions
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200407") public final class ProcessOptions extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Required pipeline options to configure the replication process (Extract or Replicat).
Note: Objects should always be created or deserialized using theProcessOptions.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 theProcessOptions.Builder
, which maintain a set of all explicitly set fields calledProcessOptions.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 class
ProcessOptions.Builder
static class
ProcessOptions.ShouldRestartOnFailure
If ENABLED, then the replication process restarts itself upon failure.static class
ProcessOptions.StartUsingDefaultMapping
If ENABLED, then the pipeline is started as part of pipeline creation.
-
Constructor Summary
Constructors Constructor Description ProcessOptions(InitialDataLoad initialDataLoad, ReplicateSchemaChange replicateSchemaChange, ProcessOptions.ShouldRestartOnFailure shouldRestartOnFailure, ProcessOptions.StartUsingDefaultMapping startUsingDefaultMapping)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProcessOptions.Builder
builder()
Create a new builder.boolean
equals(Object o)
InitialDataLoad
getInitialDataLoad()
ReplicateSchemaChange
getReplicateSchemaChange()
ProcessOptions.ShouldRestartOnFailure
getShouldRestartOnFailure()
If ENABLED, then the replication process restarts itself upon failure.ProcessOptions.StartUsingDefaultMapping
getStartUsingDefaultMapping()
If ENABLED, then the pipeline is started as part of pipeline creation.int
hashCode()
ProcessOptions.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
ProcessOptions
@Deprecated @ConstructorProperties({"initialDataLoad","replicateSchemaChange","shouldRestartOnFailure","startUsingDefaultMapping"}) public ProcessOptions(InitialDataLoad initialDataLoad, ReplicateSchemaChange replicateSchemaChange, ProcessOptions.ShouldRestartOnFailure shouldRestartOnFailure, ProcessOptions.StartUsingDefaultMapping startUsingDefaultMapping)
Deprecated.
-
-
Method Detail
-
builder
public static ProcessOptions.Builder builder()
Create a new builder.
-
toBuilder
public ProcessOptions.Builder toBuilder()
-
getInitialDataLoad
public InitialDataLoad getInitialDataLoad()
-
getReplicateSchemaChange
public ReplicateSchemaChange getReplicateSchemaChange()
-
getShouldRestartOnFailure
public ProcessOptions.ShouldRestartOnFailure getShouldRestartOnFailure()
If ENABLED, then the replication process restarts itself upon failure.This option applies when creating or updating a pipeline.
- Returns:
- the value
-
getStartUsingDefaultMapping
public ProcessOptions.StartUsingDefaultMapping getStartUsingDefaultMapping()
If ENABLED, then the pipeline is started as part of pipeline creation.It uses default mapping. This option applies when creating or updating a pipeline.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in 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:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-