/* * 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 { /// /// Use to specify skipping a final backup, adding tags to a final backup, or bypassing /// the retention period of an FSx for ONTAP SnapLock Enterprise volume when deleting /// an FSx for ONTAP volume. /// public partial class DeleteVolumeOntapConfiguration { private bool? _bypassSnaplockEnterpriseRetention; private List _finalBackupTags = new List(); private bool? _skipFinalBackup; /// /// Gets and sets the property BypassSnaplockEnterpriseRetention. /// /// Setting this to true allows a SnapLock administrator to delete an FSx /// for ONTAP SnapLock Enterprise volume with unexpired write once, read many (WORM) files. /// The IAM permission fsx:BypassSnaplockEnterpriseRetention is also required /// to delete SnapLock Enterprise volumes with unexpired WORM files. The default value /// is false. /// /// /// /// For more information, see /// Deleting a SnapLock volume . /// /// public bool BypassSnaplockEnterpriseRetention { get { return this._bypassSnaplockEnterpriseRetention.GetValueOrDefault(); } set { this._bypassSnaplockEnterpriseRetention = value; } } // Check to see if BypassSnaplockEnterpriseRetention property is set internal bool IsSetBypassSnaplockEnterpriseRetention() { return this._bypassSnaplockEnterpriseRetention.HasValue; } /// /// Gets and sets the property FinalBackupTags. /// [AWSProperty(Min=1, Max=50)] public List FinalBackupTags { get { return this._finalBackupTags; } set { this._finalBackupTags = value; } } // Check to see if FinalBackupTags property is set internal bool IsSetFinalBackupTags() { return this._finalBackupTags != null && this._finalBackupTags.Count > 0; } /// /// Gets and sets the property SkipFinalBackup. /// /// Set to true if you want to skip taking a final backup of the volume you are deleting. /// /// public bool SkipFinalBackup { get { return this._skipFinalBackup.GetValueOrDefault(); } set { this._skipFinalBackup = value; } } // Check to see if SkipFinalBackup property is set internal bool IsSetSkipFinalBackup() { return this._skipFinalBackup.HasValue; } } }