Interface Storage.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Storage.Builder,Storage>,SdkBuilder<Storage.Builder,Storage>,SdkPojo
- Enclosing class:
- Storage
public static interface Storage.Builder extends SdkPojo, CopyableBuilder<Storage.Builder,Storage>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Storage.Builders3(Consumer<S3Storage.Builder> s3)An Amazon S3 storage location.Storage.Builders3(S3Storage s3)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
s3
Storage.Builder s3(S3Storage 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
default Storage.Builder s3(Consumer<S3Storage.Builder> 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:
s3(S3Storage)
-
-