@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SchemaConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the schema to which you want Kinesis Data Firehose to configure your data before it writes it to Amazon S3.
This parameter is required if Enabled
is set to true.
Constructor and Description |
---|
SchemaConfiguration() |
Modifier and Type | Method and Description |
---|---|
SchemaConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getCatalogId()
The ID of the AWS Glue Data Catalog.
|
String |
getDatabaseName()
Specifies the name of the AWS Glue database that contains the schema for the output data.
|
String |
getRegion()
If you don't specify an AWS Region, the default is the current Region.
|
String |
getRoleARN()
The role that Kinesis Data Firehose can use to access AWS Glue.
|
String |
getTableName()
Specifies the AWS Glue table that contains the column information that constitutes your data schema.
|
String |
getVersionId()
Specifies the table version for the output data schema.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCatalogId(String catalogId)
The ID of the AWS Glue Data Catalog.
|
void |
setDatabaseName(String databaseName)
Specifies the name of the AWS Glue database that contains the schema for the output data.
|
void |
setRegion(String region)
If you don't specify an AWS Region, the default is the current Region.
|
void |
setRoleARN(String roleARN)
The role that Kinesis Data Firehose can use to access AWS Glue.
|
void |
setTableName(String tableName)
Specifies the AWS Glue table that contains the column information that constitutes your data schema.
|
void |
setVersionId(String versionId)
Specifies the table version for the output data schema.
|
String |
toString()
Returns a string representation of this object.
|
SchemaConfiguration |
withCatalogId(String catalogId)
The ID of the AWS Glue Data Catalog.
|
SchemaConfiguration |
withDatabaseName(String databaseName)
Specifies the name of the AWS Glue database that contains the schema for the output data.
|
SchemaConfiguration |
withRegion(String region)
If you don't specify an AWS Region, the default is the current Region.
|
SchemaConfiguration |
withRoleARN(String roleARN)
The role that Kinesis Data Firehose can use to access AWS Glue.
|
SchemaConfiguration |
withTableName(String tableName)
Specifies the AWS Glue table that contains the column information that constitutes your data schema.
|
SchemaConfiguration |
withVersionId(String versionId)
Specifies the table version for the output data schema.
|
public void setRoleARN(String roleARN)
The role that Kinesis Data Firehose can use to access AWS Glue. This role must be in the same account you use for Kinesis Data Firehose. Cross-account roles aren't allowed.
If the SchemaConfiguration
request parameter is used as part of invoking the
CreateDeliveryStream
API, then the RoleARN
property is required and its value must be
specified.
roleARN
- The role that Kinesis Data Firehose can use to access AWS Glue. This role must be in the same account you
use for Kinesis Data Firehose. Cross-account roles aren't allowed.
If the SchemaConfiguration
request parameter is used as part of invoking the
CreateDeliveryStream
API, then the RoleARN
property is required and its value
must be specified.
public String getRoleARN()
The role that Kinesis Data Firehose can use to access AWS Glue. This role must be in the same account you use for Kinesis Data Firehose. Cross-account roles aren't allowed.
If the SchemaConfiguration
request parameter is used as part of invoking the
CreateDeliveryStream
API, then the RoleARN
property is required and its value must be
specified.
If the SchemaConfiguration
request parameter is used as part of invoking the
CreateDeliveryStream
API, then the RoleARN
property is required and its value
must be specified.
public SchemaConfiguration withRoleARN(String roleARN)
The role that Kinesis Data Firehose can use to access AWS Glue. This role must be in the same account you use for Kinesis Data Firehose. Cross-account roles aren't allowed.
If the SchemaConfiguration
request parameter is used as part of invoking the
CreateDeliveryStream
API, then the RoleARN
property is required and its value must be
specified.
roleARN
- The role that Kinesis Data Firehose can use to access AWS Glue. This role must be in the same account you
use for Kinesis Data Firehose. Cross-account roles aren't allowed.
If the SchemaConfiguration
request parameter is used as part of invoking the
CreateDeliveryStream
API, then the RoleARN
property is required and its value
must be specified.
public void setCatalogId(String catalogId)
The ID of the AWS Glue Data Catalog. If you don't supply this, the AWS account ID is used by default.
catalogId
- The ID of the AWS Glue Data Catalog. If you don't supply this, the AWS account ID is used by default.public String getCatalogId()
The ID of the AWS Glue Data Catalog. If you don't supply this, the AWS account ID is used by default.
public SchemaConfiguration withCatalogId(String catalogId)
The ID of the AWS Glue Data Catalog. If you don't supply this, the AWS account ID is used by default.
catalogId
- The ID of the AWS Glue Data Catalog. If you don't supply this, the AWS account ID is used by default.public void setDatabaseName(String databaseName)
Specifies the name of the AWS Glue database that contains the schema for the output data.
If the SchemaConfiguration
request parameter is used as part of invoking the
CreateDeliveryStream
API, then the DatabaseName
property is required and its value must
be specified.
databaseName
- Specifies the name of the AWS Glue database that contains the schema for the output data.
If the SchemaConfiguration
request parameter is used as part of invoking the
CreateDeliveryStream
API, then the DatabaseName
property is required and its
value must be specified.
public String getDatabaseName()
Specifies the name of the AWS Glue database that contains the schema for the output data.
If the SchemaConfiguration
request parameter is used as part of invoking the
CreateDeliveryStream
API, then the DatabaseName
property is required and its value must
be specified.
If the SchemaConfiguration
request parameter is used as part of invoking the
CreateDeliveryStream
API, then the DatabaseName
property is required and its
value must be specified.
public SchemaConfiguration withDatabaseName(String databaseName)
Specifies the name of the AWS Glue database that contains the schema for the output data.
If the SchemaConfiguration
request parameter is used as part of invoking the
CreateDeliveryStream
API, then the DatabaseName
property is required and its value must
be specified.
databaseName
- Specifies the name of the AWS Glue database that contains the schema for the output data.
If the SchemaConfiguration
request parameter is used as part of invoking the
CreateDeliveryStream
API, then the DatabaseName
property is required and its
value must be specified.
public void setTableName(String tableName)
Specifies the AWS Glue table that contains the column information that constitutes your data schema.
If the SchemaConfiguration
request parameter is used as part of invoking the
CreateDeliveryStream
API, then the TableName
property is required and its value must be
specified.
tableName
- Specifies the AWS Glue table that contains the column information that constitutes your data schema.
If the SchemaConfiguration
request parameter is used as part of invoking the
CreateDeliveryStream
API, then the TableName
property is required and its value
must be specified.
public String getTableName()
Specifies the AWS Glue table that contains the column information that constitutes your data schema.
If the SchemaConfiguration
request parameter is used as part of invoking the
CreateDeliveryStream
API, then the TableName
property is required and its value must be
specified.
If the SchemaConfiguration
request parameter is used as part of invoking the
CreateDeliveryStream
API, then the TableName
property is required and its value
must be specified.
public SchemaConfiguration withTableName(String tableName)
Specifies the AWS Glue table that contains the column information that constitutes your data schema.
If the SchemaConfiguration
request parameter is used as part of invoking the
CreateDeliveryStream
API, then the TableName
property is required and its value must be
specified.
tableName
- Specifies the AWS Glue table that contains the column information that constitutes your data schema.
If the SchemaConfiguration
request parameter is used as part of invoking the
CreateDeliveryStream
API, then the TableName
property is required and its value
must be specified.
public void setRegion(String region)
If you don't specify an AWS Region, the default is the current Region.
region
- If you don't specify an AWS Region, the default is the current Region.public String getRegion()
If you don't specify an AWS Region, the default is the current Region.
public SchemaConfiguration withRegion(String region)
If you don't specify an AWS Region, the default is the current Region.
region
- If you don't specify an AWS Region, the default is the current Region.public void setVersionId(String versionId)
Specifies the table version for the output data schema. If you don't specify this version ID, or if you set it to
LATEST
, Kinesis Data Firehose uses the most recent version. This means that any updates to the table
are automatically picked up.
versionId
- Specifies the table version for the output data schema. If you don't specify this version ID, or if you
set it to LATEST
, Kinesis Data Firehose uses the most recent version. This means that any
updates to the table are automatically picked up.public String getVersionId()
Specifies the table version for the output data schema. If you don't specify this version ID, or if you set it to
LATEST
, Kinesis Data Firehose uses the most recent version. This means that any updates to the table
are automatically picked up.
LATEST
, Kinesis Data Firehose uses the most recent version. This means that any
updates to the table are automatically picked up.public SchemaConfiguration withVersionId(String versionId)
Specifies the table version for the output data schema. If you don't specify this version ID, or if you set it to
LATEST
, Kinesis Data Firehose uses the most recent version. This means that any updates to the table
are automatically picked up.
versionId
- Specifies the table version for the output data schema. If you don't specify this version ID, or if you
set it to LATEST
, Kinesis Data Firehose uses the most recent version. This means that any
updates to the table are automatically picked up.public String toString()
toString
in class Object
Object.toString()
public SchemaConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.