@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3Target extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a data store in Amazon Simple Storage Service (Amazon S3).
Constructor and Description |
---|
S3Target() |
Modifier and Type | Method and Description |
---|---|
S3Target |
clone() |
boolean |
equals(Object obj) |
String |
getConnectionName()
The name of a connection which allows a job or crawler to access data in Amazon S3 within an Amazon Virtual
Private Cloud environment (Amazon VPC).
|
List<String> |
getExclusions()
A list of glob patterns used to exclude from the crawl.
|
String |
getPath()
The path to the Amazon S3 target.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConnectionName(String connectionName)
The name of a connection which allows a job or crawler to access data in Amazon S3 within an Amazon Virtual
Private Cloud environment (Amazon VPC).
|
void |
setExclusions(Collection<String> exclusions)
A list of glob patterns used to exclude from the crawl.
|
void |
setPath(String path)
The path to the Amazon S3 target.
|
String |
toString()
Returns a string representation of this object.
|
S3Target |
withConnectionName(String connectionName)
The name of a connection which allows a job or crawler to access data in Amazon S3 within an Amazon Virtual
Private Cloud environment (Amazon VPC).
|
S3Target |
withExclusions(Collection<String> exclusions)
A list of glob patterns used to exclude from the crawl.
|
S3Target |
withExclusions(String... exclusions)
A list of glob patterns used to exclude from the crawl.
|
S3Target |
withPath(String path)
The path to the Amazon S3 target.
|
public void setPath(String path)
The path to the Amazon S3 target.
path
- The path to the Amazon S3 target.public String getPath()
The path to the Amazon S3 target.
public S3Target withPath(String path)
The path to the Amazon S3 target.
path
- The path to the Amazon S3 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 S3Target 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 S3Target 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 void setConnectionName(String connectionName)
The name of a connection which allows a job or crawler to access data in Amazon S3 within an Amazon Virtual Private Cloud environment (Amazon VPC).
connectionName
- The name of a connection which allows a job or crawler to access data in Amazon S3 within an Amazon
Virtual Private Cloud environment (Amazon VPC).public String getConnectionName()
The name of a connection which allows a job or crawler to access data in Amazon S3 within an Amazon Virtual Private Cloud environment (Amazon VPC).
public S3Target withConnectionName(String connectionName)
The name of a connection which allows a job or crawler to access data in Amazon S3 within an Amazon Virtual Private Cloud environment (Amazon VPC).
connectionName
- The name of a connection which allows a job or crawler to access data in Amazon S3 within an Amazon
Virtual Private Cloud environment (Amazon VPC).public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.