/* * 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 fsx-2018-03-01.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.FSx.Model { /// /// The configuration for a data repository association that links an Amazon File Cache /// resource to an NFS data repository. /// public partial class NFSDataRepositoryConfiguration { private AutoExportPolicy _autoExportPolicy; private List _dnsIps = new List(); private NfsVersion _version; /// /// Gets and sets the property AutoExportPolicy. /// /// This parameter is not supported for Amazon File Cache. /// /// public AutoExportPolicy AutoExportPolicy { get { return this._autoExportPolicy; } set { this._autoExportPolicy = value; } } // Check to see if AutoExportPolicy property is set internal bool IsSetAutoExportPolicy() { return this._autoExportPolicy != null; } /// /// Gets and sets the property DnsIps. /// /// A list of up to 2 IP addresses of DNS servers used to resolve the NFS file system /// domain name. The provided IP addresses can either be the IP addresses of a DNS forwarder /// or resolver that the customer manages and runs inside the customer VPC, or the IP /// addresses of the on-premises DNS servers. /// /// [AWSProperty(Max=10)] public List DnsIps { get { return this._dnsIps; } set { this._dnsIps = value; } } // Check to see if DnsIps property is set internal bool IsSetDnsIps() { return this._dnsIps != null && this._dnsIps.Count > 0; } /// /// Gets and sets the property Version. /// /// The version of the NFS (Network File System) protocol of the NFS data repository. /// Currently, the only supported value is NFS3, which indicates that the /// data repository must support the NFSv3 protocol. /// /// [AWSProperty(Required=true)] public NfsVersion Version { get { return this._version; } set { this._version = value; } } // Check to see if Version property is set internal bool IsSetVersion() { return this._version != null; } } }