Interface Storage.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Storage.Builder,,Storage> SdkBuilder<Storage.Builder,,Storage> SdkPojo
- Enclosing class:
Storage
-
Method Summary
Modifier and TypeMethodDescriptiondefault Storage.Builders3(Consumer<S3Storage.Builder> s3) An Amazon S3 storage location.An Amazon S3 storage location.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaS3Storage.builder().When the
Consumercompletes,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:
-