/*
* 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 opensearch-2021-01-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.OpenSearchService.Model
{
///
/// Container for the parameters required to enable EBS-based storage for an OpenSearch
/// Service domain.
///
public partial class EBSOptions
{
private bool? _ebsEnabled;
private int? _iops;
private int? _throughput;
private int? _volumeSize;
private VolumeType _volumeType;
///
/// Gets and sets the property EBSEnabled.
///
/// Indicates whether EBS volumes are attached to data nodes in an OpenSearch Service
/// domain.
///
///
public bool EBSEnabled
{
get { return this._ebsEnabled.GetValueOrDefault(); }
set { this._ebsEnabled = value; }
}
// Check to see if EBSEnabled property is set
internal bool IsSetEBSEnabled()
{
return this._ebsEnabled.HasValue;
}
///
/// Gets and sets the property Iops.
///
/// Specifies the baseline input/output (I/O) performance of EBS volumes attached to data
/// nodes. Applicable only for the gp3
and provisioned IOPS EBS volume types.
///
///
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 Throughput.
///
/// Specifies the throughput (in MiB/s) of the EBS volumes attached to data nodes. Applicable
/// only for the gp3
volume type.
///
///
public int Throughput
{
get { return this._throughput.GetValueOrDefault(); }
set { this._throughput = value; }
}
// Check to see if Throughput property is set
internal bool IsSetThroughput()
{
return this._throughput.HasValue;
}
///
/// Gets and sets the property VolumeSize.
///
/// Specifies the size (in GiB) of EBS volumes attached to data nodes.
///
///
public int VolumeSize
{
get { return this._volumeSize.GetValueOrDefault(); }
set { this._volumeSize = value; }
}
// Check to see if VolumeSize property is set
internal bool IsSetVolumeSize()
{
return this._volumeSize.HasValue;
}
///
/// Gets and sets the property VolumeType.
///
/// Specifies the type of EBS volumes attached to data nodes.
///
///
public VolumeType VolumeType
{
get { return this._volumeType; }
set { this._volumeType = value; }
}
// Check to see if VolumeType property is set
internal bool IsSetVolumeType()
{
return this._volumeType != null;
}
}
}