public static final class CfnDataRepositoryAssociation.AutoExportPolicyProperty.Builder
extends java.lang.Object
CfnDataRepositoryAssociation.AutoExportPolicyProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnDataRepositoryAssociation.AutoExportPolicyProperty |
build()
Builds the configured instance.
|
CfnDataRepositoryAssociation.AutoExportPolicyProperty.Builder |
events(java.util.List<java.lang.String> events)
Sets the value of
CfnDataRepositoryAssociation.AutoExportPolicyProperty.getEvents() |
public CfnDataRepositoryAssociation.AutoExportPolicyProperty.Builder events(java.util.List<java.lang.String> events)
CfnDataRepositoryAssociation.AutoExportPolicyProperty.getEvents()
events
- The `AutoExportPolicy` can have the following event values:. This parameter is required.
NEW
- New files and directories are automatically exported to the data repository as they are added to the file system.CHANGED
- Changes to files and directories on the file system are automatically exported to the data repository.DELETED
- Files and directories are automatically deleted on the data repository when they are deleted on the file system.
You can define any combination of event types for your AutoExportPolicy
.
this
public CfnDataRepositoryAssociation.AutoExportPolicyProperty build()
CfnDataRepositoryAssociation.AutoExportPolicyProperty
java.lang.NullPointerException
- if any required attribute was not provided