@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GlueDataCatalogConfig extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the configuration that Amazon AppFlow uses when it catalogs your data with the Glue Data Catalog. When Amazon AppFlow catalogs your data, it stores metadata in Data Catalog tables. This metadata represents the data that's transferred by the flow that you configure with these settings.
You can configure a flow with these settings only when the flow destination is Amazon S3.
Constructor and Description |
---|
GlueDataCatalogConfig() |
Modifier and Type | Method and Description |
---|---|
GlueDataCatalogConfig |
clone() |
boolean |
equals(Object obj) |
String |
getDatabaseName()
The name of the Data Catalog database that stores the metadata tables that Amazon AppFlow creates in your Amazon
Web Services account.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of an IAM role that grants Amazon AppFlow the permissions it needs to create Data
Catalog tables, databases, and partitions.
|
String |
getTablePrefix()
A naming prefix for each Data Catalog table that Amazon AppFlow creates for the flow that you configure with this
setting.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDatabaseName(String databaseName)
The name of the Data Catalog database that stores the metadata tables that Amazon AppFlow creates in your Amazon
Web Services account.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that grants Amazon AppFlow the permissions it needs to create Data
Catalog tables, databases, and partitions.
|
void |
setTablePrefix(String tablePrefix)
A naming prefix for each Data Catalog table that Amazon AppFlow creates for the flow that you configure with this
setting.
|
String |
toString()
Returns a string representation of this object.
|
GlueDataCatalogConfig |
withDatabaseName(String databaseName)
The name of the Data Catalog database that stores the metadata tables that Amazon AppFlow creates in your Amazon
Web Services account.
|
GlueDataCatalogConfig |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that grants Amazon AppFlow the permissions it needs to create Data
Catalog tables, databases, and partitions.
|
GlueDataCatalogConfig |
withTablePrefix(String tablePrefix)
A naming prefix for each Data Catalog table that Amazon AppFlow creates for the flow that you configure with this
setting.
|
public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that grants Amazon AppFlow the permissions it needs to create Data Catalog tables, databases, and partitions.
For an example IAM policy that has the required permissions, see Identity-based policy examples for Amazon AppFlow.
roleArn
- The Amazon Resource Name (ARN) of an IAM role that grants Amazon AppFlow the permissions it needs to
create Data Catalog tables, databases, and partitions.
For an example IAM policy that has the required permissions, see Identity-based policy examples for Amazon AppFlow.
public String getRoleArn()
The Amazon Resource Name (ARN) of an IAM role that grants Amazon AppFlow the permissions it needs to create Data Catalog tables, databases, and partitions.
For an example IAM policy that has the required permissions, see Identity-based policy examples for Amazon AppFlow.
For an example IAM policy that has the required permissions, see Identity-based policy examples for Amazon AppFlow.
public GlueDataCatalogConfig withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that grants Amazon AppFlow the permissions it needs to create Data Catalog tables, databases, and partitions.
For an example IAM policy that has the required permissions, see Identity-based policy examples for Amazon AppFlow.
roleArn
- The Amazon Resource Name (ARN) of an IAM role that grants Amazon AppFlow the permissions it needs to
create Data Catalog tables, databases, and partitions.
For an example IAM policy that has the required permissions, see Identity-based policy examples for Amazon AppFlow.
public void setDatabaseName(String databaseName)
The name of the Data Catalog database that stores the metadata tables that Amazon AppFlow creates in your Amazon Web Services account. These tables contain metadata for the data that's transferred by the flow that you configure with this parameter.
When you configure a new flow with this parameter, you must specify an existing database.
databaseName
- The name of the Data Catalog database that stores the metadata tables that Amazon AppFlow creates in your
Amazon Web Services account. These tables contain metadata for the data that's transferred by the flow
that you configure with this parameter. When you configure a new flow with this parameter, you must specify an existing database.
public String getDatabaseName()
The name of the Data Catalog database that stores the metadata tables that Amazon AppFlow creates in your Amazon Web Services account. These tables contain metadata for the data that's transferred by the flow that you configure with this parameter.
When you configure a new flow with this parameter, you must specify an existing database.
When you configure a new flow with this parameter, you must specify an existing database.
public GlueDataCatalogConfig withDatabaseName(String databaseName)
The name of the Data Catalog database that stores the metadata tables that Amazon AppFlow creates in your Amazon Web Services account. These tables contain metadata for the data that's transferred by the flow that you configure with this parameter.
When you configure a new flow with this parameter, you must specify an existing database.
databaseName
- The name of the Data Catalog database that stores the metadata tables that Amazon AppFlow creates in your
Amazon Web Services account. These tables contain metadata for the data that's transferred by the flow
that you configure with this parameter. When you configure a new flow with this parameter, you must specify an existing database.
public void setTablePrefix(String tablePrefix)
A naming prefix for each Data Catalog table that Amazon AppFlow creates for the flow that you configure with this setting. Amazon AppFlow adds the prefix to the beginning of the each table name.
tablePrefix
- A naming prefix for each Data Catalog table that Amazon AppFlow creates for the flow that you configure
with this setting. Amazon AppFlow adds the prefix to the beginning of the each table name.public String getTablePrefix()
A naming prefix for each Data Catalog table that Amazon AppFlow creates for the flow that you configure with this setting. Amazon AppFlow adds the prefix to the beginning of the each table name.
public GlueDataCatalogConfig withTablePrefix(String tablePrefix)
A naming prefix for each Data Catalog table that Amazon AppFlow creates for the flow that you configure with this setting. Amazon AppFlow adds the prefix to the beginning of the each table name.
tablePrefix
- A naming prefix for each Data Catalog table that Amazon AppFlow creates for the flow that you configure
with this setting. Amazon AppFlow adds the prefix to the beginning of the each table name.public String toString()
toString
in class Object
Object.toString()
public GlueDataCatalogConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.