/* * 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 storagegateway-2013-06-30.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.StorageGateway.Model { /// /// Container for the parameters to the UpdateSMBSecurityStrategy operation. /// Updates the SMB security strategy on a file gateway. This action is only supported /// in file gateways. /// /// /// /// This API is called Security level in the User Guide. /// /// /// /// A higher security level can affect performance of the gateway. /// /// /// public partial class UpdateSMBSecurityStrategyRequest : AmazonStorageGatewayRequest { private string _gatewayARN; private SMBSecurityStrategy _smbSecurityStrategy; /// /// Gets and sets the property GatewayARN. /// [AWSProperty(Required=true, Min=50, Max=500)] public string GatewayARN { get { return this._gatewayARN; } set { this._gatewayARN = value; } } // Check to see if GatewayARN property is set internal bool IsSetGatewayARN() { return this._gatewayARN != null; } /// /// Gets and sets the property SMBSecurityStrategy. /// /// Specifies the type of security strategy. /// /// /// /// ClientSpecified: if you use this option, requests are established based on what is /// negotiated by the client. This option is recommended when you want to maximize compatibility /// across different clients in your environment. Supported only in S3 File Gateway. /// /// /// /// MandatorySigning: if you use this option, file gateway only allows connections from /// SMBv2 or SMBv3 clients that have signing enabled. This option works with SMB clients /// on Microsoft Windows Vista, Windows Server 2008 or newer. /// /// /// /// MandatoryEncryption: if you use this option, file gateway only allows connections /// from SMBv3 clients that have encryption enabled. This option is highly recommended /// for environments that handle sensitive data. This option works with SMB clients on /// Microsoft Windows 8, Windows Server 2012 or newer. /// /// [AWSProperty(Required=true)] public SMBSecurityStrategy SMBSecurityStrategy { get { return this._smbSecurityStrategy; } set { this._smbSecurityStrategy = value; } } // Check to see if SMBSecurityStrategy property is set internal bool IsSetSMBSecurityStrategy() { return this._smbSecurityStrategy != null; } } }