public static interface Storage.Builder extends CopyableBuilder<Storage.Builder,Storage>
| Modifier and Type | Method and Description |
|---|---|
default Storage.Builder |
s3(Consumer<S3Storage.Builder> s3)
An Amazon S3 storage location.
|
Storage.Builder |
s3(S3Storage s3)
An Amazon S3 storage location.
|
copyapply, buildStorage.Builder s3(S3Storage s3)
An Amazon S3 storage location.
s3 - An Amazon S3 storage location.default Storage.Builder s3(Consumer<S3Storage.Builder> s3)
An Amazon S3 storage location.
This is a convenience that creates an instance of theS3Storage.Builder avoiding the need to create
one manually via S3Storage.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to s3(S3Storage).s3 - a consumer that will call methods on S3Storage.Builders3(S3Storage)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.