public FileSystemDataSource withDirectoryPath(String directoryPath) {
        setDirectoryPath(directoryPath);
        return this;
    }
<p>
The full path to the directory to associate with the channel.
</p>

@param directoryPath
       The full path to the directory to associate with the channel.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/FileSystemDataSource.java