@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 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 Amazon Web Services Glue Data Catalog.
|
String |
getDatabaseName()
Specifies the name of the Amazon Web Services Glue database that contains the schema for the output data.
|
String |
getRegion()
If you don't specify an Amazon Web Services Region, the default is the current Region.
|
String |
getRoleARN()
The role that Firehose can use to access Amazon Web Services Glue.
|
String |
getTableName()
Specifies the Amazon Web Services 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) |
void |
setCatalogId(String catalogId)
The ID of the Amazon Web Services Glue Data Catalog.
|
void |
setDatabaseName(String databaseName)
Specifies the name of the Amazon Web Services Glue database that contains the schema for the output data.
|
void |
setRegion(String region)
If you don't specify an Amazon Web Services Region, the default is the current Region.
|
void |
setRoleARN(String roleARN)
The role that Firehose can use to access Amazon Web Services Glue.
|
void |
setTableName(String tableName)
Specifies the Amazon Web Services 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 Amazon Web Services Glue Data Catalog.
|
SchemaConfiguration |
withDatabaseName(String databaseName)
Specifies the name of the Amazon Web Services Glue database that contains the schema for the output data.
|
SchemaConfiguration |
withRegion(String region)
If you don't specify an Amazon Web Services Region, the default is the current Region.
|
SchemaConfiguration |
withRoleARN(String roleARN)
The role that Firehose can use to access Amazon Web Services Glue.
|
SchemaConfiguration |
withTableName(String tableName)
Specifies the Amazon Web Services 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 Firehose can use to access Amazon Web Services Glue. This role must be in the same account you use for 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 Firehose can use to access Amazon Web Services Glue. This role must be in the same account
you use for 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 Firehose can use to access Amazon Web Services Glue. This role must be in the same account you use for 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 Firehose can use to access Amazon Web Services Glue. This role must be in the same account you use for 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 Firehose can use to access Amazon Web Services Glue. This role must be in the same account
you use for 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 Amazon Web Services Glue Data Catalog. If you don't supply this, the Amazon Web Services account ID is used by default.
catalogId
- The ID of the Amazon Web Services Glue Data Catalog. If you don't supply this, the Amazon Web Services
account ID is used by default.public String getCatalogId()
The ID of the Amazon Web Services Glue Data Catalog. If you don't supply this, the Amazon Web Services account ID is used by default.
public SchemaConfiguration withCatalogId(String catalogId)
The ID of the Amazon Web Services Glue Data Catalog. If you don't supply this, the Amazon Web Services account ID is used by default.
catalogId
- The ID of the Amazon Web Services Glue Data Catalog. If you don't supply this, the Amazon Web Services
account ID is used by default.public void setDatabaseName(String databaseName)
Specifies the name of the Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services Region, the default is the current Region.
region
- If you don't specify an Amazon Web Services Region, the default is the current Region.public String getRegion()
If you don't specify an Amazon Web Services Region, the default is the current Region.
public SchemaConfiguration withRegion(String region)
If you don't specify an Amazon Web Services Region, the default is the current Region.
region
- If you don't specify an Amazon Web Services 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
, 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
, 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
, Firehose uses the most recent version. This means that any updates to the table are
automatically picked up.
LATEST
, 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
, 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
, 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)
marshall
in interface StructuredPojo
Copyright © 2024. All rights reserved.