Class CfnDataRepositoryAssociation.AutoImportPolicyProperty.Builder
java.lang.Object
software.amazon.awscdk.services.fsx.CfnDataRepositoryAssociation.AutoImportPolicyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataRepositoryAssociation.AutoImportPolicyProperty>
- Enclosing interface:
CfnDataRepositoryAssociation.AutoImportPolicyProperty
@Stability(Stable)
public static final class CfnDataRepositoryAssociation.AutoImportPolicyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataRepositoryAssociation.AutoImportPolicyProperty>
A builder for
CfnDataRepositoryAssociation.AutoImportPolicyProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnDataRepositoryAssociation.AutoImportPolicyProperty.getEvents()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
events
@Stability(Stable) public CfnDataRepositoryAssociation.AutoImportPolicyProperty.Builder events(List<String> events) Sets the value ofCfnDataRepositoryAssociation.AutoImportPolicyProperty.getEvents()
- Parameters:
events
- TheAutoImportPolicy
can have the following event values:. This parameter is required.NEW
- Amazon FSx automatically imports metadata of files added to the linked S3 bucket that do not currently exist in the FSx file system.CHANGED
- Amazon FSx automatically updates file metadata and invalidates existing file content on the file system as files change in the data repository.DELETED
- Amazon FSx automatically deletes files on the file system as corresponding files are deleted in the data repository.
You can define any combination of event types for your
AutoImportPolicy
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataRepositoryAssociation.AutoImportPolicyProperty>
- Returns:
- a new instance of
CfnDataRepositoryAssociation.AutoImportPolicyProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-