Interface KinesisSettings.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<KinesisSettings.Builder,KinesisSettings>,SdkBuilder<KinesisSettings.Builder,KinesisSettings>,SdkPojo
- Enclosing class:
- KinesisSettings
@Mutable @NotThreadSafe public static interface KinesisSettings.Builder extends SdkPojo, CopyableBuilder<KinesisSettings.Builder,KinesisSettings>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KinesisSettings.BuilderincludeControlDetails(Boolean includeControlDetails)Shows detailed control information for table definition, column definition, and table and column changes in the Kinesis message output.KinesisSettings.BuilderincludeNullAndEmpty(Boolean includeNullAndEmpty)Include NULL and empty columns for records migrated to the endpoint.KinesisSettings.BuilderincludePartitionValue(Boolean includePartitionValue)Shows the partition value within the Kinesis message output, unless the partition type isschema-table-type.KinesisSettings.BuilderincludeTableAlterOperations(Boolean includeTableAlterOperations)Includes any data definition language (DDL) operations that change the table in the control data, such asrename-table,drop-table,add-column,drop-column, andrename-column.KinesisSettings.BuilderincludeTransactionDetails(Boolean includeTransactionDetails)Provides detailed transaction information from the source database.KinesisSettings.BuildermessageFormat(String messageFormat)The output format for the records created on the endpoint.KinesisSettings.BuildermessageFormat(MessageFormatValue messageFormat)The output format for the records created on the endpoint.KinesisSettings.BuildernoHexPrefix(Boolean noHexPrefix)Set this optional parameter totrueto avoid adding a '0x' prefix to raw data in hexadecimal format.KinesisSettings.BuilderpartitionIncludeSchemaTable(Boolean partitionIncludeSchemaTable)Prefixes schema and table names to partition values, when the partition type isprimary-key-type.KinesisSettings.BuilderserviceAccessRoleArn(String serviceAccessRoleArn)The Amazon Resource Name (ARN) for the IAM role that DMS uses to write to the Kinesis data stream.KinesisSettings.BuilderstreamArn(String streamArn)The Amazon Resource Name (ARN) for the Amazon Kinesis Data Streams endpoint.KinesisSettings.BuilderuseLargeIntegerValue(Boolean useLargeIntegerValue)Specifies using the large integer value with Kinesis.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
streamArn
KinesisSettings.Builder streamArn(String streamArn)
The Amazon Resource Name (ARN) for the Amazon Kinesis Data Streams endpoint.
- Parameters:
streamArn- The Amazon Resource Name (ARN) for the Amazon Kinesis Data Streams endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
messageFormat
KinesisSettings.Builder messageFormat(String messageFormat)
The output format for the records created on the endpoint. The message format is
JSON(default) orJSON_UNFORMATTED(a single line with no tab).- Parameters:
messageFormat- The output format for the records created on the endpoint. The message format isJSON(default) orJSON_UNFORMATTED(a single line with no tab).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MessageFormatValue,MessageFormatValue
-
messageFormat
KinesisSettings.Builder messageFormat(MessageFormatValue messageFormat)
The output format for the records created on the endpoint. The message format is
JSON(default) orJSON_UNFORMATTED(a single line with no tab).- Parameters:
messageFormat- The output format for the records created on the endpoint. The message format isJSON(default) orJSON_UNFORMATTED(a single line with no tab).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MessageFormatValue,MessageFormatValue
-
serviceAccessRoleArn
KinesisSettings.Builder serviceAccessRoleArn(String serviceAccessRoleArn)
The Amazon Resource Name (ARN) for the IAM role that DMS uses to write to the Kinesis data stream. The role must allow the
iam:PassRoleaction.- Parameters:
serviceAccessRoleArn- The Amazon Resource Name (ARN) for the IAM role that DMS uses to write to the Kinesis data stream. The role must allow theiam:PassRoleaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includeTransactionDetails
KinesisSettings.Builder includeTransactionDetails(Boolean includeTransactionDetails)
Provides detailed transaction information from the source database. This information includes a commit timestamp, a log position, and values for
transaction_id, previoustransaction_id, andtransaction_record_id(the record offset within a transaction). The default isfalse.- Parameters:
includeTransactionDetails- Provides detailed transaction information from the source database. This information includes a commit timestamp, a log position, and values fortransaction_id, previoustransaction_id, andtransaction_record_id(the record offset within a transaction). The default isfalse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includePartitionValue
KinesisSettings.Builder includePartitionValue(Boolean includePartitionValue)
Shows the partition value within the Kinesis message output, unless the partition type is
schema-table-type. The default isfalse.- Parameters:
includePartitionValue- Shows the partition value within the Kinesis message output, unless the partition type isschema-table-type. The default isfalse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionIncludeSchemaTable
KinesisSettings.Builder partitionIncludeSchemaTable(Boolean partitionIncludeSchemaTable)
Prefixes schema and table names to partition values, when the partition type is
primary-key-type. Doing this increases data distribution among Kinesis shards. For example, suppose that a SysBench schema has thousands of tables and each table has only limited range for a primary key. In this case, the same primary key is sent from thousands of tables to the same shard, which causes throttling. The default isfalse.- Parameters:
partitionIncludeSchemaTable- Prefixes schema and table names to partition values, when the partition type isprimary-key-type. Doing this increases data distribution among Kinesis shards. For example, suppose that a SysBench schema has thousands of tables and each table has only limited range for a primary key. In this case, the same primary key is sent from thousands of tables to the same shard, which causes throttling. The default isfalse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includeTableAlterOperations
KinesisSettings.Builder includeTableAlterOperations(Boolean includeTableAlterOperations)
Includes any data definition language (DDL) operations that change the table in the control data, such as
rename-table,drop-table,add-column,drop-column, andrename-column. The default isfalse.- Parameters:
includeTableAlterOperations- Includes any data definition language (DDL) operations that change the table in the control data, such asrename-table,drop-table,add-column,drop-column, andrename-column. The default isfalse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includeControlDetails
KinesisSettings.Builder includeControlDetails(Boolean includeControlDetails)
Shows detailed control information for table definition, column definition, and table and column changes in the Kinesis message output. The default is
false.- Parameters:
includeControlDetails- Shows detailed control information for table definition, column definition, and table and column changes in the Kinesis message output. The default isfalse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includeNullAndEmpty
KinesisSettings.Builder includeNullAndEmpty(Boolean includeNullAndEmpty)
Include NULL and empty columns for records migrated to the endpoint. The default is
false.- Parameters:
includeNullAndEmpty- Include NULL and empty columns for records migrated to the endpoint. The default isfalse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
noHexPrefix
KinesisSettings.Builder noHexPrefix(Boolean noHexPrefix)
Set this optional parameter to
trueto avoid adding a '0x' prefix to raw data in hexadecimal format. For example, by default, DMS adds a '0x' prefix to the LOB column type in hexadecimal format moving from an Oracle source to an Amazon Kinesis target. Use theNoHexPrefixendpoint setting to enable migration of RAW data type columns without adding the '0x' prefix.- Parameters:
noHexPrefix- Set this optional parameter totrueto avoid adding a '0x' prefix to raw data in hexadecimal format. For example, by default, DMS adds a '0x' prefix to the LOB column type in hexadecimal format moving from an Oracle source to an Amazon Kinesis target. Use theNoHexPrefixendpoint setting to enable migration of RAW data type columns without adding the '0x' prefix.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
useLargeIntegerValue
KinesisSettings.Builder useLargeIntegerValue(Boolean useLargeIntegerValue)
Specifies using the large integer value with Kinesis.
- Parameters:
useLargeIntegerValue- Specifies using the large integer value with Kinesis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-