@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JdbcTarget extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a JDBC data store to crawl.
Constructor and Description |
---|
JdbcTarget() |
Modifier and Type | Method and Description |
---|---|
JdbcTarget |
clone() |
boolean |
equals(Object obj) |
String |
getConnectionName()
The name of the connection to use to connect to the JDBC target.
|
List<String> |
getExclusions()
A list of glob patterns used to exclude from the crawl.
|
String |
getPath()
The path of the JDBC target.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConnectionName(String connectionName)
The name of the connection to use to connect to the JDBC target.
|
void |
setExclusions(Collection<String> exclusions)
A list of glob patterns used to exclude from the crawl.
|
void |
setPath(String path)
The path of the JDBC target.
|
String |
toString()
Returns a string representation of this object.
|
JdbcTarget |
withConnectionName(String connectionName)
The name of the connection to use to connect to the JDBC target.
|
JdbcTarget |
withExclusions(Collection<String> exclusions)
A list of glob patterns used to exclude from the crawl.
|
JdbcTarget |
withExclusions(String... exclusions)
A list of glob patterns used to exclude from the crawl.
|
JdbcTarget |
withPath(String path)
The path of the JDBC target.
|
public void setConnectionName(String connectionName)
The name of the connection to use to connect to the JDBC target.
connectionName
- The name of the connection to use to connect to the JDBC target.public String getConnectionName()
The name of the connection to use to connect to the JDBC target.
public JdbcTarget withConnectionName(String connectionName)
The name of the connection to use to connect to the JDBC target.
connectionName
- The name of the connection to use to connect to the JDBC target.public void setPath(String path)
The path of the JDBC target.
path
- The path of the JDBC target.public String getPath()
The path of the JDBC target.
public JdbcTarget withPath(String path)
The path of the JDBC target.
path
- The path of the JDBC target.public List<String> getExclusions()
A list of glob patterns used to exclude from the crawl. For more information, see Catalog Tables with a Crawler.
public void setExclusions(Collection<String> exclusions)
A list of glob patterns used to exclude from the crawl. For more information, see Catalog Tables with a Crawler.
exclusions
- A list of glob patterns used to exclude from the crawl. For more information, see Catalog Tables with a Crawler.public JdbcTarget withExclusions(String... exclusions)
A list of glob patterns used to exclude from the crawl. For more information, see Catalog Tables with a Crawler.
NOTE: This method appends the values to the existing list (if any). Use
setExclusions(java.util.Collection)
or withExclusions(java.util.Collection)
if you want to
override the existing values.
exclusions
- A list of glob patterns used to exclude from the crawl. For more information, see Catalog Tables with a Crawler.public JdbcTarget withExclusions(Collection<String> exclusions)
A list of glob patterns used to exclude from the crawl. For more information, see Catalog Tables with a Crawler.
exclusions
- A list of glob patterns used to exclude from the crawl. For more information, see Catalog Tables with a Crawler.public String toString()
toString
in class Object
Object.toString()
public JdbcTarget clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.