@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JdbcTarget extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a JDBC target for a 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 for the JDBC target.
|
List<String> |
getExclusions()
A list of items 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 for the JDBC target.
|
void |
setExclusions(Collection<String> exclusions)
A list of items to exclude from the crawl.
|
void |
setPath(String path)
The path of the JDBC target.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
JdbcTarget |
withConnectionName(String connectionName)
The name of the connection to use for the JDBC target.
|
JdbcTarget |
withExclusions(Collection<String> exclusions)
A list of items to exclude from the crawl.
|
JdbcTarget |
withExclusions(String... exclusions)
A list of items 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 for the JDBC target.
connectionName - The name of the connection to use for the JDBC target.public String getConnectionName()
The name of the connection to use for the JDBC target.
public JdbcTarget withConnectionName(String connectionName)
The name of the connection to use for the JDBC target.
connectionName - The name of the connection to use for 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 items to exclude from the crawl.
public void setExclusions(Collection<String> exclusions)
A list of items to exclude from the crawl.
exclusions - A list of items to exclude from the crawl.public JdbcTarget withExclusions(String... exclusions)
A list of items to exclude from the crawl.
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 items to exclude from the crawl.public JdbcTarget withExclusions(Collection<String> exclusions)
A list of items to exclude from the crawl.
exclusions - A list of items to exclude from the crawl.public String toString()
toString in class ObjectObject.toString()public JdbcTarget clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.