Class FileSystemReference.Builder
java.lang.Object
software.amazon.awscdk.services.efs.FileSystemReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<FileSystemReference>
- Enclosing interface:
FileSystemReference
@Stability(Stable)
public static final class FileSystemReference.Builder
extends Object
implements software.amazon.jsii.Builder<FileSystemReference>
A builder for
FileSystemReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.fileSystemArn
(String fileSystemArn) Sets the value ofFileSystemReference.getFileSystemArn()
fileSystemId
(String fileSystemId) Sets the value ofFileSystemReference.getFileSystemId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fileSystemArn
Sets the value ofFileSystemReference.getFileSystemArn()
- Parameters:
fileSystemArn
- The ARN of the FileSystem resource. This parameter is required.- Returns:
this
-
fileSystemId
Sets the value ofFileSystemReference.getFileSystemId()
- Parameters:
fileSystemId
- The FileSystemId of the FileSystem resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<FileSystemReference>
- Returns:
- a new instance of
FileSystemReference
- Throws:
NullPointerException
- if any required attribute was not provided
-