/*
* 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 updates for an Amazon FSx for OpenZFS file system.
///
public partial class UpdateFileSystemOpenZFSConfiguration
{
private int? _automaticBackupRetentionDays;
private bool? _copyTagsToBackups;
private bool? _copyTagsToVolumes;
private string _dailyAutomaticBackupStartTime;
private DiskIopsConfiguration _diskIopsConfiguration;
private int? _throughputCapacity;
private string _weeklyMaintenanceStartTime;
///
/// Gets and sets the property AutomaticBackupRetentionDays.
///
[AWSProperty(Min=0, Max=90)]
public int AutomaticBackupRetentionDays
{
get { return this._automaticBackupRetentionDays.GetValueOrDefault(); }
set { this._automaticBackupRetentionDays = value; }
}
// Check to see if AutomaticBackupRetentionDays property is set
internal bool IsSetAutomaticBackupRetentionDays()
{
return this._automaticBackupRetentionDays.HasValue;
}
///
/// Gets and sets the property CopyTagsToBackups.
///
/// A Boolean value indicating whether tags for the file system should be copied to backups.
/// This value defaults to false
. If it's set to true
, all tags
/// for the file system are copied to all automatic and user-initiated backups where the
/// user doesn't specify tags. If this value is true
and you specify one
/// or more tags, only the specified tags are copied to backups. If you specify one or
/// more tags when creating a user-initiated backup, no tags are copied from the file
/// system, regardless of this value.
///
///
public bool CopyTagsToBackups
{
get { return this._copyTagsToBackups.GetValueOrDefault(); }
set { this._copyTagsToBackups = value; }
}
// Check to see if CopyTagsToBackups property is set
internal bool IsSetCopyTagsToBackups()
{
return this._copyTagsToBackups.HasValue;
}
///
/// Gets and sets the property CopyTagsToVolumes.
///
/// A Boolean value indicating whether tags for the volume should be copied to snapshots.
/// This value defaults to false
. If it's set to true
, all tags
/// for the volume are copied to snapshots where the user doesn't specify tags. If this
/// value is true
and you specify one or more tags, only the specified tags
/// are copied to snapshots. If you specify one or more tags when creating the snapshot,
/// no tags are copied from the volume, regardless of this value.
///
///
public bool CopyTagsToVolumes
{
get { return this._copyTagsToVolumes.GetValueOrDefault(); }
set { this._copyTagsToVolumes = value; }
}
// Check to see if CopyTagsToVolumes property is set
internal bool IsSetCopyTagsToVolumes()
{
return this._copyTagsToVolumes.HasValue;
}
///
/// Gets and sets the property DailyAutomaticBackupStartTime.
///
[AWSProperty(Min=5, Max=5)]
public string DailyAutomaticBackupStartTime
{
get { return this._dailyAutomaticBackupStartTime; }
set { this._dailyAutomaticBackupStartTime = value; }
}
// Check to see if DailyAutomaticBackupStartTime property is set
internal bool IsSetDailyAutomaticBackupStartTime()
{
return this._dailyAutomaticBackupStartTime != null;
}
///
/// Gets and sets the property DiskIopsConfiguration.
///
public DiskIopsConfiguration DiskIopsConfiguration
{
get { return this._diskIopsConfiguration; }
set { this._diskIopsConfiguration = value; }
}
// Check to see if DiskIopsConfiguration property is set
internal bool IsSetDiskIopsConfiguration()
{
return this._diskIopsConfiguration != null;
}
///
/// Gets and sets the property ThroughputCapacity.
///
/// The throughput of an Amazon FSx for OpenZFS file system, measured in megabytes per
/// second
(MB/s). Valid values depend on the DeploymentType you choose, as follows:
///
/// -
///
/// For
SINGLE_AZ_1
, valid values are 64, 128, 256, 512, 1024, 2048, 3072,
/// or 4096 MB/s.
///
/// -
///
/// For
SINGLE_AZ_2
, valid values are 160, 320, 640, 1280, 2560, 3840, 5120,
/// 7680, or 10240 MB/s.
///
///
///
[AWSProperty(Min=8, Max=100000)]
public int ThroughputCapacity
{
get { return this._throughputCapacity.GetValueOrDefault(); }
set { this._throughputCapacity = value; }
}
// Check to see if ThroughputCapacity property is set
internal bool IsSetThroughputCapacity()
{
return this._throughputCapacity.HasValue;
}
///
/// Gets and sets the property WeeklyMaintenanceStartTime.
///
[AWSProperty(Min=7, Max=7)]
public string WeeklyMaintenanceStartTime
{
get { return this._weeklyMaintenanceStartTime; }
set { this._weeklyMaintenanceStartTime = value; }
}
// Check to see if WeeklyMaintenanceStartTime property is set
internal bool IsSetWeeklyMaintenanceStartTime()
{
return this._weeklyMaintenanceStartTime != null;
}
}
}