Class CfnDataRepositoryAssociation.S3Property.Builder
java.lang.Object
software.amazon.awscdk.services.fsx.CfnDataRepositoryAssociation.S3Property.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataRepositoryAssociation.S3Property>
- Enclosing interface:
CfnDataRepositoryAssociation.S3Property
@Stability(Stable)
public static final class CfnDataRepositoryAssociation.S3Property.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataRepositoryAssociation.S3Property>
A builder for
CfnDataRepositoryAssociation.S3Property
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionautoExportPolicy
(IResolvable autoExportPolicy) Sets the value ofCfnDataRepositoryAssociation.S3Property.getAutoExportPolicy()
autoExportPolicy
(CfnDataRepositoryAssociation.AutoExportPolicyProperty autoExportPolicy) Sets the value ofCfnDataRepositoryAssociation.S3Property.getAutoExportPolicy()
autoImportPolicy
(IResolvable autoImportPolicy) Sets the value ofCfnDataRepositoryAssociation.S3Property.getAutoImportPolicy()
autoImportPolicy
(CfnDataRepositoryAssociation.AutoImportPolicyProperty autoImportPolicy) Sets the value ofCfnDataRepositoryAssociation.S3Property.getAutoImportPolicy()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
autoExportPolicy
@Stability(Stable) public CfnDataRepositoryAssociation.S3Property.Builder autoExportPolicy(IResolvable autoExportPolicy) Sets the value ofCfnDataRepositoryAssociation.S3Property.getAutoExportPolicy()
- Parameters:
autoExportPolicy
- Describes a data repository association's automatic export policy. TheAutoExportPolicy
defines the types of updated objects on the file system that will be automatically exported to the data repository. As you create, modify, or delete files, Amazon FSx for Lustre automatically exports the defined changes asynchronously once your application finishes modifying the file.The
AutoExportPolicy
is only supported on Amazon FSx for Lustre file systems with a data repository association.- Returns:
this
-
autoExportPolicy
@Stability(Stable) public CfnDataRepositoryAssociation.S3Property.Builder autoExportPolicy(CfnDataRepositoryAssociation.AutoExportPolicyProperty autoExportPolicy) Sets the value ofCfnDataRepositoryAssociation.S3Property.getAutoExportPolicy()
- Parameters:
autoExportPolicy
- Describes a data repository association's automatic export policy. TheAutoExportPolicy
defines the types of updated objects on the file system that will be automatically exported to the data repository. As you create, modify, or delete files, Amazon FSx for Lustre automatically exports the defined changes asynchronously once your application finishes modifying the file.The
AutoExportPolicy
is only supported on Amazon FSx for Lustre file systems with a data repository association.- Returns:
this
-
autoImportPolicy
@Stability(Stable) public CfnDataRepositoryAssociation.S3Property.Builder autoImportPolicy(IResolvable autoImportPolicy) Sets the value ofCfnDataRepositoryAssociation.S3Property.getAutoImportPolicy()
- Parameters:
autoImportPolicy
- Describes the data repository association's automatic import policy. The AutoImportPolicy defines how Amazon FSx keeps your file metadata and directory listings up to date by importing changes to your Amazon FSx for Lustre file system as you modify objects in a linked S3 bucket.The
AutoImportPolicy
is only supported on Amazon FSx for Lustre file systems with a data repository association.- Returns:
this
-
autoImportPolicy
@Stability(Stable) public CfnDataRepositoryAssociation.S3Property.Builder autoImportPolicy(CfnDataRepositoryAssociation.AutoImportPolicyProperty autoImportPolicy) Sets the value ofCfnDataRepositoryAssociation.S3Property.getAutoImportPolicy()
- Parameters:
autoImportPolicy
- Describes the data repository association's automatic import policy. The AutoImportPolicy defines how Amazon FSx keeps your file metadata and directory listings up to date by importing changes to your Amazon FSx for Lustre file system as you modify objects in a linked S3 bucket.The
AutoImportPolicy
is only supported on Amazon FSx for Lustre file systems with a data repository association.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataRepositoryAssociation.S3Property>
- Returns:
- a new instance of
CfnDataRepositoryAssociation.S3Property
- Throws:
NullPointerException
- if any required attribute was not provided
-