Class CfnDataRepositoryAssociation.AutoExportPolicyProperty.Builder
java.lang.Object
software.amazon.awscdk.services.fsx.CfnDataRepositoryAssociation.AutoExportPolicyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataRepositoryAssociation.AutoExportPolicyProperty>
- Enclosing interface:
- CfnDataRepositoryAssociation.AutoExportPolicyProperty
@Stability(Stable)
public static final class CfnDataRepositoryAssociation.AutoExportPolicyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataRepositoryAssociation.AutoExportPolicyProperty>
A builder for
CfnDataRepositoryAssociation.AutoExportPolicyProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnDataRepositoryAssociation.AutoExportPolicyProperty.getEvents()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
events
@Stability(Stable) public CfnDataRepositoryAssociation.AutoExportPolicyProperty.Builder events(List<String> events) Sets the value ofCfnDataRepositoryAssociation.AutoExportPolicyProperty.getEvents()
- Parameters:
events
- TheAutoExportPolicy
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
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataRepositoryAssociation.AutoExportPolicyProperty>
- Returns:
- a new instance of
CfnDataRepositoryAssociation.AutoExportPolicyProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-