@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KinesisSettings extends Object implements Serializable, Cloneable, StructuredPojo
Provides information that describes an Amazon Kinesis Data Stream endpoint. This information includes the output format of records applied to the endpoint and details of transaction and control table data information.
Constructor and Description |
---|
KinesisSettings() |
Modifier and Type | Method and Description |
---|---|
KinesisSettings |
clone() |
boolean |
equals(Object obj) |
Boolean |
getIncludeControlDetails()
Shows detailed control information for table definition, column definition, and table and column changes in the
Kinesis message output.
|
Boolean |
getIncludePartitionValue()
Shows the partition value within the Kinesis message output, unless the partition type is
schema-table-type . |
Boolean |
getIncludeTableAlterOperations()
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 , and
rename-column . |
Boolean |
getIncludeTransactionDetails()
Provides detailed transaction information from the source database.
|
String |
getMessageFormat()
The output format for the records created on the endpoint.
|
Boolean |
getPartitionIncludeSchemaTable()
Prefixes schema and table names to partition values, when the partition type is
primary-key-type . |
String |
getServiceAccessRoleArn()
The Amazon Resource Name (ARN) for the AWS Identity and Access Management (IAM) role that AWS DMS uses to write
to the Kinesis data stream.
|
String |
getStreamArn()
The Amazon Resource Name (ARN) for the Amazon Kinesis Data Streams endpoint.
|
int |
hashCode() |
Boolean |
isIncludeControlDetails()
Shows detailed control information for table definition, column definition, and table and column changes in the
Kinesis message output.
|
Boolean |
isIncludePartitionValue()
Shows the partition value within the Kinesis message output, unless the partition type is
schema-table-type . |
Boolean |
isIncludeTableAlterOperations()
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 , and
rename-column . |
Boolean |
isIncludeTransactionDetails()
Provides detailed transaction information from the source database.
|
Boolean |
isPartitionIncludeSchemaTable()
Prefixes schema and table names to partition values, when the partition type is
primary-key-type . |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIncludeControlDetails(Boolean includeControlDetails)
Shows detailed control information for table definition, column definition, and table and column changes in the
Kinesis message output.
|
void |
setIncludePartitionValue(Boolean includePartitionValue)
Shows the partition value within the Kinesis message output, unless the partition type is
schema-table-type . |
void |
setIncludeTableAlterOperations(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 , and
rename-column . |
void |
setIncludeTransactionDetails(Boolean includeTransactionDetails)
Provides detailed transaction information from the source database.
|
void |
setMessageFormat(String messageFormat)
The output format for the records created on the endpoint.
|
void |
setPartitionIncludeSchemaTable(Boolean partitionIncludeSchemaTable)
Prefixes schema and table names to partition values, when the partition type is
primary-key-type . |
void |
setServiceAccessRoleArn(String serviceAccessRoleArn)
The Amazon Resource Name (ARN) for the AWS Identity and Access Management (IAM) role that AWS DMS uses to write
to the Kinesis data stream.
|
void |
setStreamArn(String streamArn)
The Amazon Resource Name (ARN) for the Amazon Kinesis Data Streams endpoint.
|
String |
toString()
Returns a string representation of this object.
|
KinesisSettings |
withIncludeControlDetails(Boolean includeControlDetails)
Shows detailed control information for table definition, column definition, and table and column changes in the
Kinesis message output.
|
KinesisSettings |
withIncludePartitionValue(Boolean includePartitionValue)
Shows the partition value within the Kinesis message output, unless the partition type is
schema-table-type . |
KinesisSettings |
withIncludeTableAlterOperations(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 , and
rename-column . |
KinesisSettings |
withIncludeTransactionDetails(Boolean includeTransactionDetails)
Provides detailed transaction information from the source database.
|
KinesisSettings |
withMessageFormat(MessageFormatValue messageFormat)
The output format for the records created on the endpoint.
|
KinesisSettings |
withMessageFormat(String messageFormat)
The output format for the records created on the endpoint.
|
KinesisSettings |
withPartitionIncludeSchemaTable(Boolean partitionIncludeSchemaTable)
Prefixes schema and table names to partition values, when the partition type is
primary-key-type . |
KinesisSettings |
withServiceAccessRoleArn(String serviceAccessRoleArn)
The Amazon Resource Name (ARN) for the AWS Identity and Access Management (IAM) role that AWS DMS uses to write
to the Kinesis data stream.
|
KinesisSettings |
withStreamArn(String streamArn)
The Amazon Resource Name (ARN) for the Amazon Kinesis Data Streams endpoint.
|
public void setStreamArn(String streamArn)
The Amazon Resource Name (ARN) for the Amazon Kinesis Data Streams endpoint.
streamArn
- The Amazon Resource Name (ARN) for the Amazon Kinesis Data Streams endpoint.public String getStreamArn()
The Amazon Resource Name (ARN) for the Amazon Kinesis Data Streams endpoint.
public KinesisSettings withStreamArn(String streamArn)
The Amazon Resource Name (ARN) for the Amazon Kinesis Data Streams endpoint.
streamArn
- The Amazon Resource Name (ARN) for the Amazon Kinesis Data Streams endpoint.public void setMessageFormat(String messageFormat)
The output format for the records created on the endpoint. The message format is JSON
(default) or
JSON_UNFORMATTED
(a single line with no tab).
messageFormat
- The output format for the records created on the endpoint. The message format is JSON
(default) or JSON_UNFORMATTED
(a single line with no tab).MessageFormatValue
public String getMessageFormat()
The output format for the records created on the endpoint. The message format is JSON
(default) or
JSON_UNFORMATTED
(a single line with no tab).
JSON
(default) or JSON_UNFORMATTED
(a single line with no tab).MessageFormatValue
public KinesisSettings withMessageFormat(String messageFormat)
The output format for the records created on the endpoint. The message format is JSON
(default) or
JSON_UNFORMATTED
(a single line with no tab).
messageFormat
- The output format for the records created on the endpoint. The message format is JSON
(default) or JSON_UNFORMATTED
(a single line with no tab).MessageFormatValue
public KinesisSettings withMessageFormat(MessageFormatValue messageFormat)
The output format for the records created on the endpoint. The message format is JSON
(default) or
JSON_UNFORMATTED
(a single line with no tab).
messageFormat
- The output format for the records created on the endpoint. The message format is JSON
(default) or JSON_UNFORMATTED
(a single line with no tab).MessageFormatValue
public void setServiceAccessRoleArn(String serviceAccessRoleArn)
The Amazon Resource Name (ARN) for the AWS Identity and Access Management (IAM) role that AWS DMS uses to write to the Kinesis data stream.
serviceAccessRoleArn
- The Amazon Resource Name (ARN) for the AWS Identity and Access Management (IAM) role that AWS DMS uses to
write to the Kinesis data stream.public String getServiceAccessRoleArn()
The Amazon Resource Name (ARN) for the AWS Identity and Access Management (IAM) role that AWS DMS uses to write to the Kinesis data stream.
public KinesisSettings withServiceAccessRoleArn(String serviceAccessRoleArn)
The Amazon Resource Name (ARN) for the AWS Identity and Access Management (IAM) role that AWS DMS uses to write to the Kinesis data stream.
serviceAccessRoleArn
- The Amazon Resource Name (ARN) for the AWS Identity and Access Management (IAM) role that AWS DMS uses to
write to the Kinesis data stream.public void setIncludeTransactionDetails(Boolean includeTransactionDetails)
Provides detailed transaction information from the source database. This information includes a commit timestamp,
a log position, and values for transaction_id
, previous transaction_id
, and
transaction_record_id
(the record offset within a transaction). The default is False
.
includeTransactionDetails
- Provides detailed transaction information from the source database. This information includes a commit
timestamp, a log position, and values for transaction_id
, previous
transaction_id
, and transaction_record_id
(the record offset within a
transaction). The default is False
.public Boolean getIncludeTransactionDetails()
Provides detailed transaction information from the source database. This information includes a commit timestamp,
a log position, and values for transaction_id
, previous transaction_id
, and
transaction_record_id
(the record offset within a transaction). The default is False
.
transaction_id
, previous
transaction_id
, and transaction_record_id
(the record offset within a
transaction). The default is False
.public KinesisSettings withIncludeTransactionDetails(Boolean includeTransactionDetails)
Provides detailed transaction information from the source database. This information includes a commit timestamp,
a log position, and values for transaction_id
, previous transaction_id
, and
transaction_record_id
(the record offset within a transaction). The default is False
.
includeTransactionDetails
- Provides detailed transaction information from the source database. This information includes a commit
timestamp, a log position, and values for transaction_id
, previous
transaction_id
, and transaction_record_id
(the record offset within a
transaction). The default is False
.public Boolean isIncludeTransactionDetails()
Provides detailed transaction information from the source database. This information includes a commit timestamp,
a log position, and values for transaction_id
, previous transaction_id
, and
transaction_record_id
(the record offset within a transaction). The default is False
.
transaction_id
, previous
transaction_id
, and transaction_record_id
(the record offset within a
transaction). The default is False
.public void setIncludePartitionValue(Boolean includePartitionValue)
Shows the partition value within the Kinesis message output, unless the partition type is
schema-table-type
. The default is False
.
includePartitionValue
- Shows the partition value within the Kinesis message output, unless the partition type is
schema-table-type
. The default is False
.public Boolean getIncludePartitionValue()
Shows the partition value within the Kinesis message output, unless the partition type is
schema-table-type
. The default is False
.
schema-table-type
. The default is False
.public KinesisSettings withIncludePartitionValue(Boolean includePartitionValue)
Shows the partition value within the Kinesis message output, unless the partition type is
schema-table-type
. The default is False
.
includePartitionValue
- Shows the partition value within the Kinesis message output, unless the partition type is
schema-table-type
. The default is False
.public Boolean isIncludePartitionValue()
Shows the partition value within the Kinesis message output, unless the partition type is
schema-table-type
. The default is False
.
schema-table-type
. The default is False
.public void setPartitionIncludeSchemaTable(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 is False
.
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 is False
.public Boolean getPartitionIncludeSchemaTable()
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 is False
.
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 is False
.public KinesisSettings withPartitionIncludeSchemaTable(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 is False
.
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 is False
.public Boolean isPartitionIncludeSchemaTable()
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 is False
.
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 is False
.public void setIncludeTableAlterOperations(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
, and
rename-column
. The default is False
.
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
, and
rename-column
. The default is False
.public Boolean getIncludeTableAlterOperations()
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
, and
rename-column
. The default is False
.
rename-table
, drop-table
, add-column
, drop-column
,
and rename-column
. The default is False
.public KinesisSettings withIncludeTableAlterOperations(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
, and
rename-column
. The default is False
.
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
, and
rename-column
. The default is False
.public Boolean isIncludeTableAlterOperations()
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
, and
rename-column
. The default is False
.
rename-table
, drop-table
, add-column
, drop-column
,
and rename-column
. The default is False
.public void setIncludeControlDetails(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
.
includeControlDetails
- Shows detailed control information for table definition, column definition, and table and column changes
in the Kinesis message output. The default is False
.public Boolean getIncludeControlDetails()
Shows detailed control information for table definition, column definition, and table and column changes in the
Kinesis message output. The default is False
.
False
.public KinesisSettings withIncludeControlDetails(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
.
includeControlDetails
- Shows detailed control information for table definition, column definition, and table and column changes
in the Kinesis message output. The default is False
.public Boolean isIncludeControlDetails()
Shows detailed control information for table definition, column definition, and table and column changes in the
Kinesis message output. The default is False
.
False
.public String toString()
toString
in class Object
Object.toString()
public KinesisSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.