Class EfsFileSystemLocationProps.Builder
java.lang.Object
software.amazon.awscdk.services.codebuild.EfsFileSystemLocationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EfsFileSystemLocationProps>
- Enclosing interface:
EfsFileSystemLocationProps
@Stability(Stable)
public static final class EfsFileSystemLocationProps.Builder
extends Object
implements software.amazon.jsii.Builder<EfsFileSystemLocationProps>
A builder for
EfsFileSystemLocationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.identifier(String identifier) Sets the value ofEfsFileSystemLocationProps.getIdentifier()Sets the value ofEfsFileSystemLocationProps.getLocation()mountOptions(String mountOptions) Sets the value ofEfsFileSystemLocationProps.getMountOptions()mountPoint(String mountPoint) Sets the value ofEfsFileSystemLocationProps.getMountPoint()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
identifier
Sets the value ofEfsFileSystemLocationProps.getIdentifier()- Parameters:
identifier- The name used to access a file system created by Amazon EFS. This parameter is required.- Returns:
this
-
location
Sets the value ofEfsFileSystemLocationProps.getLocation()- Parameters:
location- A string that specifies the location of the file system, like Amazon EFS. This parameter is required. This value looks likefs-abcd1234.efs.us-west-2.amazonaws.com:/my-efs-mount-directory.- Returns:
this
-
mountPoint
Sets the value ofEfsFileSystemLocationProps.getMountPoint()- Parameters:
mountPoint- The location in the container where you mount the file system. This parameter is required.- Returns:
this
-
mountOptions
Sets the value ofEfsFileSystemLocationProps.getMountOptions()- Parameters:
mountOptions- The mount options for a file system such as Amazon EFS.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EfsFileSystemLocationProps>- Returns:
- a new instance of
EfsFileSystemLocationProps - Throws:
NullPointerException- if any required attribute was not provided
-