@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CatalogTarget extends Object implements Serializable, Cloneable, StructuredPojo
Specifies an Glue Data Catalog target.
Constructor and Description |
---|
CatalogTarget() |
Modifier and Type | Method and Description |
---|---|
CatalogTarget |
clone() |
boolean |
equals(Object obj) |
String |
getConnectionName()
The name of the connection for an Amazon S3-backed Data Catalog table to be a target of the crawl when using a
Catalog connection type paired with a NETWORK Connection type. |
String |
getDatabaseName()
The name of the database to be synchronized.
|
String |
getDlqEventQueueArn()
A valid Amazon dead-letter SQS ARN.
|
String |
getEventQueueArn()
A valid Amazon SQS ARN.
|
List<String> |
getTables()
A list of the tables to be synchronized.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConnectionName(String connectionName)
The name of the connection for an Amazon S3-backed Data Catalog table to be a target of the crawl when using a
Catalog connection type paired with a NETWORK Connection type. |
void |
setDatabaseName(String databaseName)
The name of the database to be synchronized.
|
void |
setDlqEventQueueArn(String dlqEventQueueArn)
A valid Amazon dead-letter SQS ARN.
|
void |
setEventQueueArn(String eventQueueArn)
A valid Amazon SQS ARN.
|
void |
setTables(Collection<String> tables)
A list of the tables to be synchronized.
|
String |
toString()
Returns a string representation of this object.
|
CatalogTarget |
withConnectionName(String connectionName)
The name of the connection for an Amazon S3-backed Data Catalog table to be a target of the crawl when using a
Catalog connection type paired with a NETWORK Connection type. |
CatalogTarget |
withDatabaseName(String databaseName)
The name of the database to be synchronized.
|
CatalogTarget |
withDlqEventQueueArn(String dlqEventQueueArn)
A valid Amazon dead-letter SQS ARN.
|
CatalogTarget |
withEventQueueArn(String eventQueueArn)
A valid Amazon SQS ARN.
|
CatalogTarget |
withTables(Collection<String> tables)
A list of the tables to be synchronized.
|
CatalogTarget |
withTables(String... tables)
A list of the tables to be synchronized.
|
public void setDatabaseName(String databaseName)
The name of the database to be synchronized.
databaseName
- The name of the database to be synchronized.public String getDatabaseName()
The name of the database to be synchronized.
public CatalogTarget withDatabaseName(String databaseName)
The name of the database to be synchronized.
databaseName
- The name of the database to be synchronized.public List<String> getTables()
A list of the tables to be synchronized.
public void setTables(Collection<String> tables)
A list of the tables to be synchronized.
tables
- A list of the tables to be synchronized.public CatalogTarget withTables(String... tables)
A list of the tables to be synchronized.
NOTE: This method appends the values to the existing list (if any). Use
setTables(java.util.Collection)
or withTables(java.util.Collection)
if you want to override the
existing values.
tables
- A list of the tables to be synchronized.public CatalogTarget withTables(Collection<String> tables)
A list of the tables to be synchronized.
tables
- A list of the tables to be synchronized.public void setConnectionName(String connectionName)
The name of the connection for an Amazon S3-backed Data Catalog table to be a target of the crawl when using a
Catalog
connection type paired with a NETWORK
Connection type.
connectionName
- The name of the connection for an Amazon S3-backed Data Catalog table to be a target of the crawl when
using a Catalog
connection type paired with a NETWORK
Connection type.public String getConnectionName()
The name of the connection for an Amazon S3-backed Data Catalog table to be a target of the crawl when using a
Catalog
connection type paired with a NETWORK
Connection type.
Catalog
connection type paired with a NETWORK
Connection type.public CatalogTarget withConnectionName(String connectionName)
The name of the connection for an Amazon S3-backed Data Catalog table to be a target of the crawl when using a
Catalog
connection type paired with a NETWORK
Connection type.
connectionName
- The name of the connection for an Amazon S3-backed Data Catalog table to be a target of the crawl when
using a Catalog
connection type paired with a NETWORK
Connection type.public void setEventQueueArn(String eventQueueArn)
A valid Amazon SQS ARN. For example, arn:aws:sqs:region:account:sqs
.
eventQueueArn
- A valid Amazon SQS ARN. For example, arn:aws:sqs:region:account:sqs
.public String getEventQueueArn()
A valid Amazon SQS ARN. For example, arn:aws:sqs:region:account:sqs
.
arn:aws:sqs:region:account:sqs
.public CatalogTarget withEventQueueArn(String eventQueueArn)
A valid Amazon SQS ARN. For example, arn:aws:sqs:region:account:sqs
.
eventQueueArn
- A valid Amazon SQS ARN. For example, arn:aws:sqs:region:account:sqs
.public void setDlqEventQueueArn(String dlqEventQueueArn)
A valid Amazon dead-letter SQS ARN. For example, arn:aws:sqs:region:account:deadLetterQueue
.
dlqEventQueueArn
- A valid Amazon dead-letter SQS ARN. For example, arn:aws:sqs:region:account:deadLetterQueue
.public String getDlqEventQueueArn()
A valid Amazon dead-letter SQS ARN. For example, arn:aws:sqs:region:account:deadLetterQueue
.
arn:aws:sqs:region:account:deadLetterQueue
.public CatalogTarget withDlqEventQueueArn(String dlqEventQueueArn)
A valid Amazon dead-letter SQS ARN. For example, arn:aws:sqs:region:account:deadLetterQueue
.
dlqEventQueueArn
- A valid Amazon dead-letter SQS ARN. For example, arn:aws:sqs:region:account:deadLetterQueue
.public String toString()
toString
in class Object
Object.toString()
public CatalogTarget clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.