Class FileSystemAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.efs.FileSystemAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<FileSystemAttributes>
- Enclosing interface:
FileSystemAttributes
@Stability(Stable)
public static final class FileSystemAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<FileSystemAttributes>
A builder for
FileSystemAttributes-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.fileSystemArn(String fileSystemArn) Sets the value ofFileSystemAttributes.getFileSystemArn()fileSystemId(String fileSystemId) Sets the value ofFileSystemAttributes.getFileSystemId()securityGroup(ISecurityGroup securityGroup) Sets the value ofFileSystemAttributes.getSecurityGroup()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
securityGroup
Sets the value ofFileSystemAttributes.getSecurityGroup()- Parameters:
securityGroup- The security group of the file system. This parameter is required.- Returns:
this
-
fileSystemArn
Sets the value ofFileSystemAttributes.getFileSystemArn()- Parameters:
fileSystemArn- The File System's Arn.- Returns:
this
-
fileSystemId
Sets the value ofFileSystemAttributes.getFileSystemId()- Parameters:
fileSystemId- The File System's ID.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<FileSystemAttributes>- Returns:
- a new instance of
FileSystemAttributes - Throws:
NullPointerException- if any required attribute was not provided
-