Interface MultiLayerStorage.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MultiLayerStorage.Builder,,MultiLayerStorage> SdkBuilder<MultiLayerStorage.Builder,,MultiLayerStorage> SdkPojo
- Enclosing class:
MultiLayerStorage
public static interface MultiLayerStorage.Builder
extends SdkPojo, CopyableBuilder<MultiLayerStorage.Builder,MultiLayerStorage>
-
Method Summary
Modifier and TypeMethodDescriptiondefault MultiLayerStorage.BuildercustomerManagedS3Storage(Consumer<CustomerManagedS3Storage.Builder> customerManagedS3Storage) Contains information about a customer managed Amazon S3 bucket.customerManagedS3Storage(CustomerManagedS3Storage customerManagedS3Storage) Contains information about a customer managed Amazon S3 bucket.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
-
customerManagedS3Storage
MultiLayerStorage.Builder customerManagedS3Storage(CustomerManagedS3Storage customerManagedS3Storage) Contains information about a customer managed Amazon S3 bucket.
- Parameters:
customerManagedS3Storage- Contains information about a customer managed Amazon S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerManagedS3Storage
default MultiLayerStorage.Builder customerManagedS3Storage(Consumer<CustomerManagedS3Storage.Builder> customerManagedS3Storage) Contains information about a customer managed Amazon S3 bucket.
This is a convenience method that creates an instance of theCustomerManagedS3Storage.Builderavoiding the need to create one manually viaCustomerManagedS3Storage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustomerManagedS3Storage(CustomerManagedS3Storage).- Parameters:
customerManagedS3Storage- a consumer that will call methods onCustomerManagedS3Storage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-