Interface S3Config.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<S3Config.Builder,,S3Config> SdkBuilder<S3Config.Builder,,S3Config> SdkPojo
- Enclosing class:
S3Config
public static interface S3Config.Builder
extends SdkPojo, CopyableBuilder<S3Config.Builder,S3Config>
-
Method Summary
Modifier and TypeMethodDescriptionbucketName(String bucketName) The S3 bucket name.bucketPrefix(String bucketPrefix) The S3 bucket prefix.default S3Config.BuilderencryptionConfig(Consumer<EncryptionConfig.Builder> encryptionConfig) The Amazon S3 encryption configuration.encryptionConfig(EncryptionConfig encryptionConfig) The Amazon S3 encryption configuration.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, sdkFields
-
Method Details
-
bucketName
The S3 bucket name.
- Parameters:
bucketName- The S3 bucket name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bucketPrefix
The S3 bucket prefix.
- Parameters:
bucketPrefix- The S3 bucket prefix.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfig
The Amazon S3 encryption configuration.
- Parameters:
encryptionConfig- The Amazon S3 encryption configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfig
The Amazon S3 encryption configuration.
This is a convenience method that creates an instance of theEncryptionConfig.Builderavoiding the need to create one manually viaEncryptionConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toencryptionConfig(EncryptionConfig).- Parameters:
encryptionConfig- a consumer that will call methods onEncryptionConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-