Interface S3Target.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<S3Target.Builder,S3Target>,SdkBuilder<S3Target.Builder,S3Target>,SdkPojo
- Enclosing class:
- S3Target
public static interface S3Target.Builder extends SdkPojo, CopyableBuilder<S3Target.Builder,S3Target>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description S3Target.BuilderconnectionName(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.BuilderdlqEventQueueArn(String dlqEventQueueArn)A valid Amazon dead-letter SQS ARN.S3Target.BuildereventQueueArn(String eventQueueArn)A valid Amazon SQS ARN.S3Target.Builderexclusions(String... exclusions)A list of glob patterns used to exclude from the crawl.S3Target.Builderexclusions(Collection<String> exclusions)A list of glob patterns used to exclude from the crawl.S3Target.Builderpath(String path)The path to the Amazon S3 target.S3Target.BuildersampleSize(Integer sampleSize)Sets the number of files in each leaf folder to be crawled when crawling sample files in a dataset.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
path
S3Target.Builder path(String path)
The path to the Amazon S3 target.
- Parameters:
path- The path to the Amazon S3 target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exclusions
S3Target.Builder exclusions(Collection<String> exclusions)
A list of glob patterns used to exclude from the crawl. For more information, see Catalog Tables with a Crawler.
- Parameters:
exclusions- A list of glob patterns used to exclude from the crawl. For more information, see Catalog Tables with a Crawler.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exclusions
S3Target.Builder exclusions(String... exclusions)
A list of glob patterns used to exclude from the crawl. For more information, see Catalog Tables with a Crawler.
- Parameters:
exclusions- A list of glob patterns used to exclude from the crawl. For more information, see Catalog Tables with a Crawler.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionName
S3Target.Builder connectionName(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).
- Parameters:
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).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampleSize
S3Target.Builder sampleSize(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventQueueArn
S3Target.Builder eventQueueArn(String eventQueueArn)
A valid Amazon SQS ARN. For example,
arn:aws:sqs:region:account:sqs.- Parameters:
eventQueueArn- A valid Amazon SQS ARN. For example,arn:aws:sqs:region:account:sqs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dlqEventQueueArn
S3Target.Builder dlqEventQueueArn(String dlqEventQueueArn)
A valid Amazon dead-letter SQS ARN. For example,
arn:aws:sqs:region:account:deadLetterQueue.- Parameters:
dlqEventQueueArn- A valid Amazon dead-letter SQS ARN. For example,arn:aws:sqs:region:account:deadLetterQueue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-