@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IBMDb2Settings extends Object implements Serializable, Cloneable, StructuredPojo
Provides information that defines an IBM Db2 LUW endpoint.
| Constructor and Description |
|---|
IBMDb2Settings() |
| Modifier and Type | Method and Description |
|---|---|
IBMDb2Settings |
clone() |
boolean |
equals(Object obj) |
String |
getCurrentLsn()
For ongoing replication (CDC), use CurrentLSN to specify a log sequence number (LSN) where you want the
replication to start.
|
String |
getDatabaseName()
Database name for the endpoint.
|
Integer |
getMaxKBytesPerRead()
Maximum number of bytes per read, as a NUMBER value.
|
String |
getPassword()
Endpoint connection password.
|
Integer |
getPort()
Endpoint TCP port.
|
String |
getServerName()
Fully qualified domain name of the endpoint.
|
Boolean |
getSetDataCaptureChanges()
Enables ongoing replication (CDC) as a BOOLEAN value.
|
String |
getUsername()
Endpoint connection user name.
|
int |
hashCode() |
Boolean |
isSetDataCaptureChanges()
Enables ongoing replication (CDC) as a BOOLEAN value.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCurrentLsn(String currentLsn)
For ongoing replication (CDC), use CurrentLSN to specify a log sequence number (LSN) where you want the
replication to start.
|
void |
setDatabaseName(String databaseName)
Database name for the endpoint.
|
void |
setMaxKBytesPerRead(Integer maxKBytesPerRead)
Maximum number of bytes per read, as a NUMBER value.
|
void |
setPassword(String password)
Endpoint connection password.
|
void |
setPort(Integer port)
Endpoint TCP port.
|
void |
setServerName(String serverName)
Fully qualified domain name of the endpoint.
|
void |
setSetDataCaptureChanges(Boolean setDataCaptureChanges)
Enables ongoing replication (CDC) as a BOOLEAN value.
|
void |
setUsername(String username)
Endpoint connection user name.
|
String |
toString()
Returns a string representation of this object.
|
IBMDb2Settings |
withCurrentLsn(String currentLsn)
For ongoing replication (CDC), use CurrentLSN to specify a log sequence number (LSN) where you want the
replication to start.
|
IBMDb2Settings |
withDatabaseName(String databaseName)
Database name for the endpoint.
|
IBMDb2Settings |
withMaxKBytesPerRead(Integer maxKBytesPerRead)
Maximum number of bytes per read, as a NUMBER value.
|
IBMDb2Settings |
withPassword(String password)
Endpoint connection password.
|
IBMDb2Settings |
withPort(Integer port)
Endpoint TCP port.
|
IBMDb2Settings |
withServerName(String serverName)
Fully qualified domain name of the endpoint.
|
IBMDb2Settings |
withSetDataCaptureChanges(Boolean setDataCaptureChanges)
Enables ongoing replication (CDC) as a BOOLEAN value.
|
IBMDb2Settings |
withUsername(String username)
Endpoint connection user name.
|
public void setDatabaseName(String databaseName)
Database name for the endpoint.
databaseName - Database name for the endpoint.public String getDatabaseName()
Database name for the endpoint.
public IBMDb2Settings withDatabaseName(String databaseName)
Database name for the endpoint.
databaseName - Database name for the endpoint.public void setPassword(String password)
Endpoint connection password.
password - Endpoint connection password.public String getPassword()
Endpoint connection password.
public IBMDb2Settings withPassword(String password)
Endpoint connection password.
password - Endpoint connection password.public void setPort(Integer port)
Endpoint TCP port.
port - Endpoint TCP port.public Integer getPort()
Endpoint TCP port.
public IBMDb2Settings withPort(Integer port)
Endpoint TCP port.
port - Endpoint TCP port.public void setServerName(String serverName)
Fully qualified domain name of the endpoint.
serverName - Fully qualified domain name of the endpoint.public String getServerName()
Fully qualified domain name of the endpoint.
public IBMDb2Settings withServerName(String serverName)
Fully qualified domain name of the endpoint.
serverName - Fully qualified domain name of the endpoint.public void setSetDataCaptureChanges(Boolean setDataCaptureChanges)
Enables ongoing replication (CDC) as a BOOLEAN value. The default is true.
setDataCaptureChanges - Enables ongoing replication (CDC) as a BOOLEAN value. The default is true.public Boolean getSetDataCaptureChanges()
Enables ongoing replication (CDC) as a BOOLEAN value. The default is true.
public IBMDb2Settings withSetDataCaptureChanges(Boolean setDataCaptureChanges)
Enables ongoing replication (CDC) as a BOOLEAN value. The default is true.
setDataCaptureChanges - Enables ongoing replication (CDC) as a BOOLEAN value. The default is true.public Boolean isSetDataCaptureChanges()
Enables ongoing replication (CDC) as a BOOLEAN value. The default is true.
public void setCurrentLsn(String currentLsn)
For ongoing replication (CDC), use CurrentLSN to specify a log sequence number (LSN) where you want the replication to start.
currentLsn - For ongoing replication (CDC), use CurrentLSN to specify a log sequence number (LSN) where you want the
replication to start.public String getCurrentLsn()
For ongoing replication (CDC), use CurrentLSN to specify a log sequence number (LSN) where you want the replication to start.
public IBMDb2Settings withCurrentLsn(String currentLsn)
For ongoing replication (CDC), use CurrentLSN to specify a log sequence number (LSN) where you want the replication to start.
currentLsn - For ongoing replication (CDC), use CurrentLSN to specify a log sequence number (LSN) where you want the
replication to start.public void setMaxKBytesPerRead(Integer maxKBytesPerRead)
Maximum number of bytes per read, as a NUMBER value. The default is 64 KB.
maxKBytesPerRead - Maximum number of bytes per read, as a NUMBER value. The default is 64 KB.public Integer getMaxKBytesPerRead()
Maximum number of bytes per read, as a NUMBER value. The default is 64 KB.
public IBMDb2Settings withMaxKBytesPerRead(Integer maxKBytesPerRead)
Maximum number of bytes per read, as a NUMBER value. The default is 64 KB.
maxKBytesPerRead - Maximum number of bytes per read, as a NUMBER value. The default is 64 KB.public void setUsername(String username)
Endpoint connection user name.
username - Endpoint connection user name.public String getUsername()
Endpoint connection user name.
public IBMDb2Settings withUsername(String username)
Endpoint connection user name.
username - Endpoint connection user name.public String toString()
toString in class ObjectObject.toString()public IBMDb2Settings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.