Class FileSystemAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.fsx.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.Sets the value ofFileSystemAttributes.getDnsName()fileSystemId(String fileSystemId) Sets the value ofFileSystemAttributes.getFileSystemId()securityGroup(ISecurityGroup securityGroup) Sets the value ofFileSystemAttributes.getSecurityGroup()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dnsName
Sets the value ofFileSystemAttributes.getDnsName()- Parameters:
dnsName- The DNS name assigned to this file system. This parameter is required.- Returns:
this
-
fileSystemId
Sets the value ofFileSystemAttributes.getFileSystemId()- Parameters:
fileSystemId- The ID of the file system, assigned by Amazon FSx. This parameter is required.- Returns:
this
-
securityGroup
Sets the value ofFileSystemAttributes.getSecurityGroup()- Parameters:
securityGroup- The security group of the file system. This parameter is required.- 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
-