public static interface S3Resource.Builder extends CopyableBuilder<S3Resource.Builder,S3Resource>
Modifier and Type | Method and Description |
---|---|
S3Resource.Builder |
bucketArn(String bucketArn)
The Amazon Resource Name (ARN) of an Amazon S3 bucket.
|
default S3Resource.Builder |
keyRange(Consumer<KeyRange.Builder> keyRange)
For export jobs, you can provide an optional
KeyRange within a specific Amazon S3 bucket. |
S3Resource.Builder |
keyRange(KeyRange keyRange)
For export jobs, you can provide an optional
KeyRange within a specific Amazon S3 bucket. |
copy
apply, build
S3Resource.Builder bucketArn(String bucketArn)
The Amazon Resource Name (ARN) of an Amazon S3 bucket.
bucketArn
- The Amazon Resource Name (ARN) of an Amazon S3 bucket.S3Resource.Builder keyRange(KeyRange keyRange)
For export jobs, you can provide an optional KeyRange
within a specific Amazon S3 bucket. The
length of the range is defined at job creation, and has either an inclusive BeginMarker
, an
inclusive EndMarker
, or both. Ranges are UTF-8 binary sorted.
keyRange
- For export jobs, you can provide an optional KeyRange
within a specific Amazon S3 bucket.
The length of the range is defined at job creation, and has either an inclusive
BeginMarker
, an inclusive EndMarker
, or both. Ranges are UTF-8 binary
sorted.default S3Resource.Builder keyRange(Consumer<KeyRange.Builder> keyRange)
For export jobs, you can provide an optional KeyRange
within a specific Amazon S3 bucket. The
length of the range is defined at job creation, and has either an inclusive BeginMarker
, an
inclusive EndMarker
, or both. Ranges are UTF-8 binary sorted.
KeyRange.Builder
avoiding the need to create
one manually via KeyRange.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to keyRange(KeyRange)
.keyRange
- a consumer that will call methods on KeyRange.Builder
keyRange(KeyRange)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.