/* * 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 { /// /// DescribeLocationEfsResponse /// public partial class DescribeLocationEfsResponse : AmazonWebServiceResponse { private string _accessPointArn; private DateTime? _creationTime; private Ec2Config _ec2Config; private string _fileSystemAccessRoleArn; private EfsInTransitEncryption _inTransitEncryption; private string _locationArn; private string _locationUri; /// /// Gets and sets the property AccessPointArn. /// /// The ARN of the access point that DataSync uses to access the Amazon EFS file system. /// /// [AWSProperty(Max=128)] public string AccessPointArn { get { return this._accessPointArn; } set { this._accessPointArn = value; } } // Check to see if AccessPointArn property is set internal bool IsSetAccessPointArn() { return this._accessPointArn != null; } /// /// Gets and sets the property CreationTime. /// /// The time that the location was created. /// /// public DateTime CreationTime { get { return this._creationTime.GetValueOrDefault(); } set { this._creationTime = value; } } // Check to see if CreationTime property is set internal bool IsSetCreationTime() { return this._creationTime.HasValue; } /// /// Gets and sets the property Ec2Config. /// public Ec2Config Ec2Config { get { return this._ec2Config; } set { this._ec2Config = value; } } // Check to see if Ec2Config property is set internal bool IsSetEc2Config() { return this._ec2Config != null; } /// /// Gets and sets the property FileSystemAccessRoleArn. /// /// The Identity and Access Management (IAM) role that DataSync assumes when mounting /// the Amazon EFS file system. /// /// [AWSProperty(Max=2048)] public string FileSystemAccessRoleArn { get { return this._fileSystemAccessRoleArn; } set { this._fileSystemAccessRoleArn = value; } } // Check to see if FileSystemAccessRoleArn property is set internal bool IsSetFileSystemAccessRoleArn() { return this._fileSystemAccessRoleArn != null; } /// /// Gets and sets the property InTransitEncryption. /// /// Describes whether DataSync uses Transport Layer Security (TLS) encryption when copying /// data to or from the Amazon EFS file system. /// /// public EfsInTransitEncryption InTransitEncryption { get { return this._inTransitEncryption; } set { this._inTransitEncryption = value; } } // Check to see if InTransitEncryption property is set internal bool IsSetInTransitEncryption() { return this._inTransitEncryption != null; } /// /// Gets and sets the property LocationArn. /// /// The ARN of the Amazon EFS file system location. /// /// [AWSProperty(Max=128)] public string LocationArn { get { return this._locationArn; } set { this._locationArn = value; } } // Check to see if LocationArn property is set internal bool IsSetLocationArn() { return this._locationArn != null; } /// /// Gets and sets the property LocationUri. /// /// The URL of the Amazon EFS file system location. /// /// [AWSProperty(Max=4360)] public string LocationUri { get { return this._locationUri; } set { this._locationUri = value; } } // Check to see if LocationUri property is set internal bool IsSetLocationUri() { return this._locationUri != null; } } }