Interface S3DataRepositoryConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<S3DataRepositoryConfiguration.Builder,
,S3DataRepositoryConfiguration> SdkBuilder<S3DataRepositoryConfiguration.Builder,
,S3DataRepositoryConfiguration> SdkPojo
- Enclosing class:
S3DataRepositoryConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionautoExportPolicy
(Consumer<AutoExportPolicy.Builder> autoExportPolicy) Specifies the type of updated objects (new, changed, deleted) that will be automatically exported from your file system to the linked S3 bucket.autoExportPolicy
(AutoExportPolicy autoExportPolicy) Specifies the type of updated objects (new, changed, deleted) that will be automatically exported from your file system to the linked S3 bucket.autoImportPolicy
(Consumer<AutoImportPolicy.Builder> autoImportPolicy) Specifies the type of updated objects (new, changed, deleted) that will be automatically imported from the linked S3 bucket to your file system.autoImportPolicy
(AutoImportPolicy autoImportPolicy) Specifies the type of updated objects (new, changed, deleted) that will be automatically imported from the linked S3 bucket to your file system.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
-
autoImportPolicy
Specifies the type of updated objects (new, changed, deleted) that will be automatically imported from the linked S3 bucket to your file system.
- Parameters:
autoImportPolicy
- Specifies the type of updated objects (new, changed, deleted) that will be automatically imported from the linked S3 bucket to your file system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoImportPolicy
default S3DataRepositoryConfiguration.Builder autoImportPolicy(Consumer<AutoImportPolicy.Builder> autoImportPolicy) Specifies the type of updated objects (new, changed, deleted) that will be automatically imported from the linked S3 bucket to your file system.
This is a convenience method that creates an instance of theAutoImportPolicy.Builder
avoiding the need to create one manually viaAutoImportPolicy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toautoImportPolicy(AutoImportPolicy)
.- Parameters:
autoImportPolicy
- a consumer that will call methods onAutoImportPolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
autoExportPolicy
Specifies the type of updated objects (new, changed, deleted) that will be automatically exported from your file system to the linked S3 bucket.
- Parameters:
autoExportPolicy
- Specifies the type of updated objects (new, changed, deleted) that will be automatically exported from your file system to the linked S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoExportPolicy
default S3DataRepositoryConfiguration.Builder autoExportPolicy(Consumer<AutoExportPolicy.Builder> autoExportPolicy) Specifies the type of updated objects (new, changed, deleted) that will be automatically exported from your file system to the linked S3 bucket.
This is a convenience method that creates an instance of theAutoExportPolicy.Builder
avoiding the need to create one manually viaAutoExportPolicy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toautoExportPolicy(AutoExportPolicy)
.- Parameters:
autoExportPolicy
- a consumer that will call methods onAutoExportPolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-