/* * 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 datasync-2018-11-09.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.DataSync.Model { /// /// Container for the parameters to the CreateLocationFsxLustre operation. /// Creates an endpoint for an Amazon FSx for Lustre file system. /// public partial class CreateLocationFsxLustreRequest : AmazonDataSyncRequest { private string _fsxFilesystemArn; private List _securityGroupArns = new List(); private string _subdirectory; private List _tags = new List(); /// /// Gets and sets the property FsxFilesystemArn. /// /// The Amazon Resource Name (ARN) for the FSx for Lustre file system. /// /// [AWSProperty(Required=true, Max=128)] public string FsxFilesystemArn { get { return this._fsxFilesystemArn; } set { this._fsxFilesystemArn = value; } } // Check to see if FsxFilesystemArn property is set internal bool IsSetFsxFilesystemArn() { return this._fsxFilesystemArn != null; } /// /// Gets and sets the property SecurityGroupArns. /// /// The Amazon Resource Names (ARNs) of the security groups that are used to configure /// the FSx for Lustre file system. /// /// [AWSProperty(Required=true, Min=1, Max=5)] public List SecurityGroupArns { get { return this._securityGroupArns; } set { this._securityGroupArns = value; } } // Check to see if SecurityGroupArns property is set internal bool IsSetSecurityGroupArns() { return this._securityGroupArns != null && this._securityGroupArns.Count > 0; } /// /// Gets and sets the property Subdirectory. /// /// A subdirectory in the location's path. This subdirectory in the FSx for Lustre file /// system is used to read data from the FSx for Lustre source location or write data /// to the FSx for Lustre destination. /// /// [AWSProperty(Max=4096)] public string Subdirectory { get { return this._subdirectory; } set { this._subdirectory = value; } } // Check to see if Subdirectory property is set internal bool IsSetSubdirectory() { return this._subdirectory != null; } /// /// Gets and sets the property Tags. /// /// The key-value pair that represents a tag that you want to add to the resource. The /// value can be an empty string. This value helps you manage, filter, and search for /// your resources. We recommend that you create a name tag for your location. /// /// [AWSProperty(Min=0, Max=50)] public List Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } } }