/*
* 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 Amazon File Cache configuration for the cache that you are creating.
///
public partial class CreateFileCacheLustreConfiguration
{
private FileCacheLustreDeploymentType _deploymentType;
private FileCacheLustreMetadataConfiguration _metadataConfiguration;
private int? _perUnitStorageThroughput;
private string _weeklyMaintenanceStartTime;
///
/// Gets and sets the property DeploymentType.
///
/// Specifies the cache deployment type, which must be CACHE_1
.
///
///
[AWSProperty(Required=true)]
public FileCacheLustreDeploymentType DeploymentType
{
get { return this._deploymentType; }
set { this._deploymentType = value; }
}
// Check to see if DeploymentType property is set
internal bool IsSetDeploymentType()
{
return this._deploymentType != null;
}
///
/// Gets and sets the property MetadataConfiguration.
///
/// The configuration for a Lustre MDT (Metadata Target) storage volume.
///
///
[AWSProperty(Required=true)]
public FileCacheLustreMetadataConfiguration MetadataConfiguration
{
get { return this._metadataConfiguration; }
set { this._metadataConfiguration = value; }
}
// Check to see if MetadataConfiguration property is set
internal bool IsSetMetadataConfiguration()
{
return this._metadataConfiguration != null;
}
///
/// Gets and sets the property PerUnitStorageThroughput.
///
/// Provisions the amount of read and write throughput for each 1 tebibyte (TiB) of cache
/// storage capacity, in MB/s/TiB. The only supported value is 1000
.
///
///
[AWSProperty(Required=true, Min=12, Max=1000)]
public int PerUnitStorageThroughput
{
get { return this._perUnitStorageThroughput.GetValueOrDefault(); }
set { this._perUnitStorageThroughput = value; }
}
// Check to see if PerUnitStorageThroughput property is set
internal bool IsSetPerUnitStorageThroughput()
{
return this._perUnitStorageThroughput.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;
}
}
}