Interface Storage.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Storage.Builder,
,Storage> SdkBuilder<Storage.Builder,
,Storage> SdkPojo
- Enclosing class:
Storage
-
Method Summary
Modifier and TypeMethodDescriptiondefault Storage.Builder
s3
(Consumer<S3Storage.Builder> s3) An Amazon S3 storage location.An Amazon S3 storage location.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, sdkFields
-
Method Details
-
s3
An Amazon S3 storage location.
- Parameters:
s3
- An Amazon S3 storage location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3
An Amazon S3 storage location.
This is a convenience method that creates an instance of theS3Storage.Builder
avoiding the need to create one manually viaS3Storage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3(S3Storage)
.- Parameters:
s3
- a consumer that will call methods onS3Storage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-