@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DatabaseCDC extends Object implements Serializable, Cloneable, StructuredPojo
Defines the Change Data Capture (CDC) of the database.
Constructor and Description |
---|
DatabaseCDC() |
Modifier and Type | Method and Description |
---|---|
DatabaseCDC |
clone() |
boolean |
equals(Object obj) |
SourceDatabaseMetadata |
getSourceMetadata()
The source metadata of the database CDC.
|
TargetDatabaseMetadata |
getTargetMetadata()
The target metadata of the database CDC.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSourceMetadata(SourceDatabaseMetadata sourceMetadata)
The source metadata of the database CDC.
|
void |
setTargetMetadata(TargetDatabaseMetadata targetMetadata)
The target metadata of the database CDC.
|
String |
toString()
Returns a string representation of this object.
|
DatabaseCDC |
withSourceMetadata(SourceDatabaseMetadata sourceMetadata)
The source metadata of the database CDC.
|
DatabaseCDC |
withTargetMetadata(TargetDatabaseMetadata targetMetadata)
The target metadata of the database CDC.
|
public void setSourceMetadata(SourceDatabaseMetadata sourceMetadata)
The source metadata of the database CDC.
sourceMetadata
- The source metadata of the database CDC.public SourceDatabaseMetadata getSourceMetadata()
The source metadata of the database CDC.
public DatabaseCDC withSourceMetadata(SourceDatabaseMetadata sourceMetadata)
The source metadata of the database CDC.
sourceMetadata
- The source metadata of the database CDC.public void setTargetMetadata(TargetDatabaseMetadata targetMetadata)
The target metadata of the database CDC.
targetMetadata
- The target metadata of the database CDC.public TargetDatabaseMetadata getTargetMetadata()
The target metadata of the database CDC.
public DatabaseCDC withTargetMetadata(TargetDatabaseMetadata targetMetadata)
The target metadata of the database CDC.
targetMetadata
- The target metadata of the database CDC.public String toString()
toString
in class Object
Object.toString()
public DatabaseCDC clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.