/* * 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 { /// /// This is the response object from the DescribeLocationFsxOpenZfs operation. /// public partial class DescribeLocationFsxOpenZfsResponse : AmazonWebServiceResponse { private DateTime? _creationTime; private string _locationArn; private string _locationUri; private FsxProtocol _protocol; private List _securityGroupArns = new List(); /// /// Gets and sets the property CreationTime. /// /// The time that the FSx for OpenZFS 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 LocationArn. /// /// The ARN of the FSx for OpenZFS location that was described. /// /// [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 uniform resource identifier (URI) of the FSx for OpenZFS location that was described. /// /// /// /// Example: fsxz://us-west-2.fs-1234567890abcdef02/fsx/folderA/folder /// /// [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; } /// /// Gets and sets the property Protocol. /// /// The type of protocol that DataSync uses to access your file system. /// /// public FsxProtocol Protocol { get { return this._protocol; } set { this._protocol = value; } } // Check to see if Protocol property is set internal bool IsSetProtocol() { return this._protocol != null; } /// /// Gets and sets the property SecurityGroupArns. /// /// The ARNs of the security groups that are configured for the FSx for OpenZFS file system. /// /// [AWSProperty(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; } } }