public static final class CfnDataRepositoryAssociation.AutoImportPolicyProperty.Builder
extends java.lang.Object
CfnDataRepositoryAssociation.AutoImportPolicyProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnDataRepositoryAssociation.AutoImportPolicyProperty |
build()
Builds the configured instance.
|
CfnDataRepositoryAssociation.AutoImportPolicyProperty.Builder |
events(java.util.List<java.lang.String> events)
Sets the value of
CfnDataRepositoryAssociation.AutoImportPolicyProperty.getEvents() |
public CfnDataRepositoryAssociation.AutoImportPolicyProperty.Builder events(java.util.List<java.lang.String> events)
CfnDataRepositoryAssociation.AutoImportPolicyProperty.getEvents()
events
- The `AutoImportPolicy` 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
.
this
public CfnDataRepositoryAssociation.AutoImportPolicyProperty build()
CfnDataRepositoryAssociation.AutoImportPolicyProperty
java.lang.NullPointerException
- if any required attribute was not provided