@Generated(value="software.amazon.awssdk:codegen") public final class IBMDb2Settings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<IBMDb2Settings.Builder,IBMDb2Settings>
Provides information that defines an IBM Db2 LUW endpoint.
| Modifier and Type | Class and Description |
|---|---|
static interface |
IBMDb2Settings.Builder |
| Modifier and Type | Method and Description |
|---|---|
static IBMDb2Settings.Builder |
builder() |
String |
currentLsn()
For ongoing replication (CDC), use CurrentLSN to specify a log sequence number (LSN) where you want the
replication to start.
|
String |
databaseName()
Database name for the endpoint.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
maxKBytesPerRead()
Maximum number of bytes per read, as a NUMBER value.
|
String |
password()
Endpoint connection password.
|
Integer |
port()
Endpoint TCP port.
|
List<SdkField<?>> |
sdkFields() |
String |
secretsManagerAccessRoleArn()
The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted entity and grants the
required permissions to access the value in
SecretsManagerSecret. |
String |
secretsManagerSecretId()
The full ARN, partial ARN, or friendly name of the
SecretsManagerSecret that contains the Db2 LUW
endpoint connection details. |
static Class<? extends IBMDb2Settings.Builder> |
serializableBuilderClass() |
String |
serverName()
Fully qualified domain name of the endpoint.
|
Boolean |
setDataCaptureChanges()
Enables ongoing replication (CDC) as a BOOLEAN value.
|
IBMDb2Settings.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
username()
Endpoint connection user name.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String databaseName()
Database name for the endpoint.
public final String password()
Endpoint connection password.
public final Integer port()
Endpoint TCP port. The default value is 50000.
public final String serverName()
Fully qualified domain name of the endpoint.
public final Boolean setDataCaptureChanges()
Enables ongoing replication (CDC) as a BOOLEAN value. The default is true.
public final String currentLsn()
For ongoing replication (CDC), use CurrentLSN to specify a log sequence number (LSN) where you want the replication to start.
public final Integer maxKBytesPerRead()
Maximum number of bytes per read, as a NUMBER value. The default is 64 KB.
public final String username()
Endpoint connection user name.
public final String secretsManagerAccessRoleArn()
The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted entity and grants the
required permissions to access the value in SecretsManagerSecret. The role must allow the
iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services
Secrets Manager secret that allows access to the Db2 LUW endpoint.
You can specify one of two sets of values for these permissions. You can specify the values for this setting and
SecretsManagerSecretId. Or you can specify clear-text values for UserName,
Password, ServerName, and Port. You can't specify both. For more
information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn
and SecretsManagerSecretId required to access it, see Using
secrets to access Database Migration Service resources in the Database Migration Service User Guide.
SecretsManagerSecret. The role must allow
the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web
Services Secrets Manager secret that allows access to the Db2 LUW endpoint.
You can specify one of two sets of values for these permissions. You can specify the values for this
setting and SecretsManagerSecretId. Or you can specify clear-text values for
UserName, Password, ServerName, and Port. You can't
specify both. For more information on creating this SecretsManagerSecret and the
SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it,
see Using secrets to access Database Migration Service resources in the Database Migration Service
User Guide.
public final String secretsManagerSecretId()
The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the Db2 LUW
endpoint connection details.
SecretsManagerSecret that contains the
Db2 LUW endpoint connection details.public IBMDb2Settings.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<IBMDb2Settings.Builder,IBMDb2Settings>public static IBMDb2Settings.Builder builder()
public static Class<? extends IBMDb2Settings.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.