@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).
|
String |
getDlqEventQueueArn()
A valid Amazon dead-letter SQS ARN.
|
String |
getEventQueueArn()
A valid Amazon SQS ARN.
|
List<String> |
getExclusions()
A list of glob patterns used to exclude from the crawl.
|
String |
getPath()
The path to the Amazon S3 target.
|
Integer |
getSampleSize()
Sets the number of files in each leaf folder to be crawled when crawling sample files in a dataset.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller 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 |
setDlqEventQueueArn(String dlqEventQueueArn)
A valid Amazon dead-letter SQS ARN.
|
void |
setEventQueueArn(String eventQueueArn)
A valid Amazon SQS ARN.
|
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.
|
void |
setSampleSize(Integer sampleSize)
Sets the number of files in each leaf folder to be crawled when crawling sample files in a dataset.
|
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 |
withDlqEventQueueArn(String dlqEventQueueArn)
A valid Amazon dead-letter SQS ARN.
|
S3Target |
withEventQueueArn(String eventQueueArn)
A valid Amazon SQS ARN.
|
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.
|
S3Target |
withSampleSize(Integer sampleSize)
Sets the number of files in each leaf folder to be crawled when crawling sample files in a dataset.
|
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 void setSampleSize(Integer sampleSize)
Sets the number of files in each leaf folder to be crawled when crawling sample files in a dataset. If not set, all the files are crawled. A valid value is an integer between 1 and 249.
sampleSize
- Sets the number of files in each leaf folder to be crawled when crawling sample files in a dataset. If not
set, all the files are crawled. A valid value is an integer between 1 and 249.public Integer getSampleSize()
Sets the number of files in each leaf folder to be crawled when crawling sample files in a dataset. If not set, all the files are crawled. A valid value is an integer between 1 and 249.
public S3Target withSampleSize(Integer sampleSize)
Sets the number of files in each leaf folder to be crawled when crawling sample files in a dataset. If not set, all the files are crawled. A valid value is an integer between 1 and 249.
sampleSize
- Sets the number of files in each leaf folder to be crawled when crawling sample files in a dataset. If not
set, all the files are crawled. A valid value is an integer between 1 and 249.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 S3Target 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 S3Target 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 void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2023. All rights reserved.