/* * 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 opsworks-2013-02-18.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.OpsWorks.Model { /// /// Describes an Amazon EBS volume configuration. /// public partial class VolumeConfiguration { private bool? _encrypted; private int? _iops; private string _mountPoint; private int? _numberOfDisks; private int? _raidLevel; private int? _size; private string _volumeType; /// /// Gets and sets the property Encrypted. /// /// Specifies whether an Amazon EBS volume is encrypted. For more information, see Amazon /// EBS Encryption. /// /// public bool Encrypted { get { return this._encrypted.GetValueOrDefault(); } set { this._encrypted = value; } } // Check to see if Encrypted property is set internal bool IsSetEncrypted() { return this._encrypted.HasValue; } /// /// Gets and sets the property Iops. /// /// For PIOPS volumes, the IOPS per disk. /// /// public int Iops { get { return this._iops.GetValueOrDefault(); } set { this._iops = value; } } // Check to see if Iops property is set internal bool IsSetIops() { return this._iops.HasValue; } /// /// Gets and sets the property MountPoint. /// /// The volume mount point. For example "/dev/sdh". /// /// [AWSProperty(Required=true)] public string MountPoint { get { return this._mountPoint; } set { this._mountPoint = value; } } // Check to see if MountPoint property is set internal bool IsSetMountPoint() { return this._mountPoint != null; } /// /// Gets and sets the property NumberOfDisks. /// /// The number of disks in the volume. /// /// [AWSProperty(Required=true)] public int NumberOfDisks { get { return this._numberOfDisks.GetValueOrDefault(); } set { this._numberOfDisks = value; } } // Check to see if NumberOfDisks property is set internal bool IsSetNumberOfDisks() { return this._numberOfDisks.HasValue; } /// /// Gets and sets the property RaidLevel. /// /// The volume RAID level. /// /// public int RaidLevel { get { return this._raidLevel.GetValueOrDefault(); } set { this._raidLevel = value; } } // Check to see if RaidLevel property is set internal bool IsSetRaidLevel() { return this._raidLevel.HasValue; } /// /// Gets and sets the property Size. /// /// The volume size. /// /// [AWSProperty(Required=true)] public int Size { get { return this._size.GetValueOrDefault(); } set { this._size = value; } } // Check to see if Size property is set internal bool IsSetSize() { return this._size.HasValue; } /// /// Gets and sets the property VolumeType. /// /// The volume type. For more information, see /// Amazon EBS Volume Types. /// /// /// public string VolumeType { get { return this._volumeType; } set { this._volumeType = value; } } // Check to see if VolumeType property is set internal bool IsSetVolumeType() { return this._volumeType != null; } } }