/*
* 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 instance's RAID array.
///
public partial class RaidArray
{
private string _availabilityZone;
private string _createdAt;
private string _device;
private string _instanceId;
private int? _iops;
private string _mountPoint;
private string _name;
private int? _numberOfDisks;
private string _raidArrayId;
private int? _raidLevel;
private int? _size;
private string _stackId;
private string _volumeType;
///
/// Gets and sets the property AvailabilityZone.
///
/// The array's Availability Zone. For more information, see Regions
/// and Endpoints.
///
///
public string AvailabilityZone
{
get { return this._availabilityZone; }
set { this._availabilityZone = value; }
}
// Check to see if AvailabilityZone property is set
internal bool IsSetAvailabilityZone()
{
return this._availabilityZone != null;
}
///
/// Gets and sets the property CreatedAt.
///
/// When the RAID array was created.
///
///
public string CreatedAt
{
get { return this._createdAt; }
set { this._createdAt = value; }
}
// Check to see if CreatedAt property is set
internal bool IsSetCreatedAt()
{
return this._createdAt != null;
}
///
/// Gets and sets the property Device.
///
/// The array's Linux device. For example /dev/mdadm0.
///
///
public string Device
{
get { return this._device; }
set { this._device = value; }
}
// Check to see if Device property is set
internal bool IsSetDevice()
{
return this._device != null;
}
///
/// Gets and sets the property InstanceId.
///
/// The instance ID.
///
///
public string InstanceId
{
get { return this._instanceId; }
set { this._instanceId = value; }
}
// Check to see if InstanceId property is set
internal bool IsSetInstanceId()
{
return this._instanceId != null;
}
///
/// 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 array's mount point.
///
///
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 Name.
///
/// The array name.
///
///
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
///
/// Gets and sets the property NumberOfDisks.
///
/// The number of disks in the array.
///
///
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 RaidArrayId.
///
/// The array ID.
///
///
public string RaidArrayId
{
get { return this._raidArrayId; }
set { this._raidArrayId = value; }
}
// Check to see if RaidArrayId property is set
internal bool IsSetRaidArrayId()
{
return this._raidArrayId != null;
}
///
/// Gets and sets the property RaidLevel.
///
/// The 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 array's size.
///
///
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 StackId.
///
/// The stack ID.
///
///
public string StackId
{
get { return this._stackId; }
set { this._stackId = value; }
}
// Check to see if StackId property is set
internal bool IsSetStackId()
{
return this._stackId != null;
}
///
/// Gets and sets the property VolumeType.
///
/// The volume type, standard or PIOPS.
///
///
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;
}
}
}