/* * 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 object for the Amazon FSx for OpenZFS file system used in the DeleteFileSystem /// operation. /// public partial class DeleteFileSystemOpenZFSConfiguration { private List _finalBackupTags = new List(); private List _options = new List(); private bool? _skipFinalBackup; /// /// Gets and sets the property FinalBackupTags. /// /// A list of tags to apply to the file system's final backup. /// /// [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 Options. /// /// To delete a file system if there are child volumes present below the root volume, /// use the string DELETE_CHILD_VOLUMES_AND_SNAPSHOTS. If your file system /// has child volumes and you don't use this option, the delete request will fail. /// /// [AWSProperty(Max=1)] public List Options { get { return this._options; } set { this._options = value; } } // Check to see if Options property is set internal bool IsSetOptions() { return this._options != null && this._options.Count > 0; } /// /// Gets and sets the property SkipFinalBackup. /// /// By default, Amazon FSx for OpenZFS takes a final backup on your behalf when the DeleteFileSystem /// operation is invoked. Doing this helps protect you from data loss, and we highly recommend /// taking the final backup. If you want to skip taking a final backup, set this value /// to true. /// /// 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; } } }