/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the sagemaker-2017-07-24.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.SageMaker.Model
{
///
/// Specifies a file system data source for a channel.
///
public partial class FileSystemDataSource
{
private string _directoryPath;
private FileSystemAccessMode _fileSystemAccessMode;
private string _fileSystemId;
private FileSystemType _fileSystemType;
///
/// Gets and sets the property DirectoryPath.
///
/// The full path to the directory to associate with the channel.
///
///
[AWSProperty(Required=true, Max=4096)]
public string DirectoryPath
{
get { return this._directoryPath; }
set { this._directoryPath = value; }
}
// Check to see if DirectoryPath property is set
internal bool IsSetDirectoryPath()
{
return this._directoryPath != null;
}
///
/// Gets and sets the property FileSystemAccessMode.
///
/// The access mode of the mount of the directory associated with the channel. A directory
/// can be mounted either in ro
(read-only) or rw
(read-write)
/// mode.
///
///
[AWSProperty(Required=true)]
public FileSystemAccessMode FileSystemAccessMode
{
get { return this._fileSystemAccessMode; }
set { this._fileSystemAccessMode = value; }
}
// Check to see if FileSystemAccessMode property is set
internal bool IsSetFileSystemAccessMode()
{
return this._fileSystemAccessMode != null;
}
///
/// Gets and sets the property FileSystemId.
///
/// The file system id.
///
///
[AWSProperty(Required=true, Min=11)]
public string FileSystemId
{
get { return this._fileSystemId; }
set { this._fileSystemId = value; }
}
// Check to see if FileSystemId property is set
internal bool IsSetFileSystemId()
{
return this._fileSystemId != null;
}
///
/// Gets and sets the property FileSystemType.
///
/// The file system type.
///
///
[AWSProperty(Required=true)]
public FileSystemType FileSystemType
{
get { return this._fileSystemType; }
set { this._fileSystemType = value; }
}
// Check to see if FileSystemType property is set
internal bool IsSetFileSystemType()
{
return this._fileSystemType != null;
}
}
}