Class ExistingFileSystemProps.Builder
java.lang.Object
software.amazon.awscdk.services.efs.ExistingFileSystemProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ExistingFileSystemProps>
- Enclosing interface:
ExistingFileSystemProps
@Stability(Stable)
public static final class ExistingFileSystemProps.Builder
extends Object
implements software.amazon.jsii.Builder<ExistingFileSystemProps>
A builder for
ExistingFileSystemProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.destinationFileSystem(IFileSystem destinationFileSystem) Sets the value ofExistingFileSystemProps.getDestinationFileSystem()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinationFileSystem
@Stability(Stable) public ExistingFileSystemProps.Builder destinationFileSystem(IFileSystem destinationFileSystem) Sets the value ofExistingFileSystemProps.getDestinationFileSystem()- Parameters:
destinationFileSystem- The existing destination file system for the replication. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ExistingFileSystemProps>- Returns:
- a new instance of
ExistingFileSystemProps - Throws:
NullPointerException- if any required attribute was not provided
-