Class CfnDataRepositoryAssociationPropsMixin.S3Property.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.fsx.CfnDataRepositoryAssociationPropsMixin.S3Property.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataRepositoryAssociationPropsMixin.S3Property>
- Enclosing interface:
CfnDataRepositoryAssociationPropsMixin.S3Property
@Stability(Stable)
public static final class CfnDataRepositoryAssociationPropsMixin.S3Property.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataRepositoryAssociationPropsMixin.S3Property>
A builder for
CfnDataRepositoryAssociationPropsMixin.S3Property-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnDataRepositoryAssociationPropsMixin.S3Property.getAutoExportPolicy()autoExportPolicy(IResolvable autoExportPolicy) Sets the value ofCfnDataRepositoryAssociationPropsMixin.S3Property.getAutoExportPolicy()Sets the value ofCfnDataRepositoryAssociationPropsMixin.S3Property.getAutoImportPolicy()autoImportPolicy(IResolvable autoImportPolicy) Sets the value ofCfnDataRepositoryAssociationPropsMixin.S3Property.getAutoImportPolicy()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
autoExportPolicy
@Stability(Stable) public CfnDataRepositoryAssociationPropsMixin.S3Property.Builder autoExportPolicy(IResolvable autoExportPolicy) Sets the value ofCfnDataRepositoryAssociationPropsMixin.S3Property.getAutoExportPolicy()- Parameters:
autoExportPolicy- Describes a data repository association's automatic export policy. TheAutoExportPolicydefines 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
AutoExportPolicyis only supported on Amazon FSx for Lustre file systems with a data repository association.- Returns:
this
-
autoExportPolicy
@Stability(Stable) public CfnDataRepositoryAssociationPropsMixin.S3Property.Builder autoExportPolicy(CfnDataRepositoryAssociationPropsMixin.AutoExportPolicyProperty autoExportPolicy) Sets the value ofCfnDataRepositoryAssociationPropsMixin.S3Property.getAutoExportPolicy()- Parameters:
autoExportPolicy- Describes a data repository association's automatic export policy. TheAutoExportPolicydefines 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
AutoExportPolicyis only supported on Amazon FSx for Lustre file systems with a data repository association.- Returns:
this
-
autoImportPolicy
@Stability(Stable) public CfnDataRepositoryAssociationPropsMixin.S3Property.Builder autoImportPolicy(IResolvable autoImportPolicy) Sets the value ofCfnDataRepositoryAssociationPropsMixin.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
AutoImportPolicyis only supported on Amazon FSx for Lustre file systems with a data repository association.- Returns:
this
-
autoImportPolicy
@Stability(Stable) public CfnDataRepositoryAssociationPropsMixin.S3Property.Builder autoImportPolicy(CfnDataRepositoryAssociationPropsMixin.AutoImportPolicyProperty autoImportPolicy) Sets the value ofCfnDataRepositoryAssociationPropsMixin.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
AutoImportPolicyis only supported on Amazon FSx for Lustre file systems with a data repository association.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataRepositoryAssociationPropsMixin.S3Property>- Returns:
- a new instance of
CfnDataRepositoryAssociationPropsMixin.S3Property - Throws:
NullPointerException- if any required attribute was not provided
-