/*
* 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 rds-2014-10-31.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.RDS.Model
{
///
/// This data type is used as a response element in the ModifyDBInstance
/// operation and contains changes that will be applied during the next maintenance window.
///
public partial class PendingModifiedValues
{
private int? _allocatedStorage;
private AutomationMode _automationMode;
private int? _backupRetentionPeriod;
private string _caCertificateIdentifier;
private string _dbInstanceClass;
private string _dbInstanceIdentifier;
private string _dbSubnetGroupName;
private string _engine;
private string _engineVersion;
private bool? _iamDatabaseAuthenticationEnabled;
private int? _iops;
private string _licenseModel;
private string _masterUserPassword;
private bool? _multiAZ;
private PendingCloudwatchLogsExports _pendingCloudwatchLogsExports;
private int? _port;
private List _processorFeatures = new List();
private DateTime? _resumeFullAutomationModeTime;
private int? _storageThroughput;
private string _storageType;
///
/// Empty constructor used to set properties independently even when a simple constructor is available
///
public PendingModifiedValues() { }
///
/// Gets and sets the property AllocatedStorage.
///
/// The allocated storage size for the DB instance specified in gibibytes (GiB).
///
///
public int AllocatedStorage
{
get { return this._allocatedStorage.GetValueOrDefault(); }
set { this._allocatedStorage = value; }
}
// Check to see if AllocatedStorage property is set
internal bool IsSetAllocatedStorage()
{
return this._allocatedStorage.HasValue;
}
///
/// Gets and sets the property AutomationMode.
///
/// The automation mode of the RDS Custom DB instance: full
or all-paused
.
/// If full
, the DB instance automates monitoring and instance recovery.
/// If all-paused
, the instance pauses automation for the duration set by
/// --resume-full-automation-mode-minutes
.
///
///
public AutomationMode AutomationMode
{
get { return this._automationMode; }
set { this._automationMode = value; }
}
// Check to see if AutomationMode property is set
internal bool IsSetAutomationMode()
{
return this._automationMode != null;
}
///
/// Gets and sets the property BackupRetentionPeriod.
///
/// The number of days for which automated backups are retained.
///
///
public int BackupRetentionPeriod
{
get { return this._backupRetentionPeriod.GetValueOrDefault(); }
set { this._backupRetentionPeriod = value; }
}
// Check to see if BackupRetentionPeriod property is set
internal bool IsSetBackupRetentionPeriod()
{
return this._backupRetentionPeriod.HasValue;
}
///
/// Gets and sets the property CACertificateIdentifier.
///
/// The identifier of the CA certificate for the DB instance.
///
///
///
/// For more information, see Using
/// SSL/TLS to encrypt a connection to a DB instance in the Amazon RDS User Guide
/// and
/// Using SSL/TLS to encrypt a connection to a DB cluster in the Amazon Aurora
/// User Guide.
///
///
public string CACertificateIdentifier
{
get { return this._caCertificateIdentifier; }
set { this._caCertificateIdentifier = value; }
}
// Check to see if CACertificateIdentifier property is set
internal bool IsSetCACertificateIdentifier()
{
return this._caCertificateIdentifier != null;
}
///
/// Gets and sets the property DBInstanceClass.
///
/// The name of the compute and memory capacity class for the DB instance.
///
///
public string DBInstanceClass
{
get { return this._dbInstanceClass; }
set { this._dbInstanceClass = value; }
}
// Check to see if DBInstanceClass property is set
internal bool IsSetDBInstanceClass()
{
return this._dbInstanceClass != null;
}
///
/// Gets and sets the property DBInstanceIdentifier.
///
/// The database identifier for the DB instance.
///
///
public string DBInstanceIdentifier
{
get { return this._dbInstanceIdentifier; }
set { this._dbInstanceIdentifier = value; }
}
// Check to see if DBInstanceIdentifier property is set
internal bool IsSetDBInstanceIdentifier()
{
return this._dbInstanceIdentifier != null;
}
///
/// Gets and sets the property DBSubnetGroupName.
///
/// The DB subnet group for the DB instance.
///
///
public string DBSubnetGroupName
{
get { return this._dbSubnetGroupName; }
set { this._dbSubnetGroupName = value; }
}
// Check to see if DBSubnetGroupName property is set
internal bool IsSetDBSubnetGroupName()
{
return this._dbSubnetGroupName != null;
}
///
/// Gets and sets the property Engine.
///
/// The database engine of the DB instance.
///
///
public string Engine
{
get { return this._engine; }
set { this._engine = value; }
}
// Check to see if Engine property is set
internal bool IsSetEngine()
{
return this._engine != null;
}
///
/// Gets and sets the property EngineVersion.
///
/// The database engine version.
///
///
public string EngineVersion
{
get { return this._engineVersion; }
set { this._engineVersion = value; }
}
// Check to see if EngineVersion property is set
internal bool IsSetEngineVersion()
{
return this._engineVersion != null;
}
///
/// Gets and sets the property IAMDatabaseAuthenticationEnabled.
///
/// Whether mapping of Amazon Web Services Identity and Access Management (IAM) accounts
/// to database accounts is enabled.
///
///
public bool IAMDatabaseAuthenticationEnabled
{
get { return this._iamDatabaseAuthenticationEnabled.GetValueOrDefault(); }
set { this._iamDatabaseAuthenticationEnabled = value; }
}
// Check to see if IAMDatabaseAuthenticationEnabled property is set
internal bool IsSetIAMDatabaseAuthenticationEnabled()
{
return this._iamDatabaseAuthenticationEnabled.HasValue;
}
///
/// Gets and sets the property Iops.
///
/// The Provisioned IOPS value for the DB instance.
///
///
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 LicenseModel.
///
/// The license model for the DB instance.
///
///
///
/// Valid values: license-included
| bring-your-own-license
/// | general-public-license
///
///
public string LicenseModel
{
get { return this._licenseModel; }
set { this._licenseModel = value; }
}
// Check to see if LicenseModel property is set
internal bool IsSetLicenseModel()
{
return this._licenseModel != null;
}
///
/// Gets and sets the property MasterUserPassword.
///
/// The master credentials for the DB instance.
///
///
public string MasterUserPassword
{
get { return this._masterUserPassword; }
set { this._masterUserPassword = value; }
}
// Check to see if MasterUserPassword property is set
internal bool IsSetMasterUserPassword()
{
return this._masterUserPassword != null;
}
///
/// Gets and sets the property MultiAZ.
///
/// A value that indicates that the Single-AZ DB instance will change to a Multi-AZ deployment.
///
///
public bool MultiAZ
{
get { return this._multiAZ.GetValueOrDefault(); }
set { this._multiAZ = value; }
}
// Check to see if MultiAZ property is set
internal bool IsSetMultiAZ()
{
return this._multiAZ.HasValue;
}
///
/// Gets and sets the property PendingCloudwatchLogsExports.
///
public PendingCloudwatchLogsExports PendingCloudwatchLogsExports
{
get { return this._pendingCloudwatchLogsExports; }
set { this._pendingCloudwatchLogsExports = value; }
}
// Check to see if PendingCloudwatchLogsExports property is set
internal bool IsSetPendingCloudwatchLogsExports()
{
return this._pendingCloudwatchLogsExports != null;
}
///
/// Gets and sets the property Port.
///
/// The port for the DB instance.
///
///
public int Port
{
get { return this._port.GetValueOrDefault(); }
set { this._port = value; }
}
// Check to see if Port property is set
internal bool IsSetPort()
{
return this._port.HasValue;
}
///
/// Gets and sets the property ProcessorFeatures.
///
/// The number of CPU cores and the number of threads per core for the DB instance class
/// of the DB instance.
///
///
public List ProcessorFeatures
{
get { return this._processorFeatures; }
set { this._processorFeatures = value; }
}
// Check to see if ProcessorFeatures property is set
internal bool IsSetProcessorFeatures()
{
return this._processorFeatures != null && this._processorFeatures.Count > 0;
}
///
/// Gets and sets the property ResumeFullAutomationModeTime.
///
/// The number of minutes to pause the automation. When the time period ends, RDS Custom
/// resumes full automation. The minimum value is 60 (default). The maximum value is 1,440.
///
///
public DateTime ResumeFullAutomationModeTime
{
get { return this._resumeFullAutomationModeTime.GetValueOrDefault(); }
set { this._resumeFullAutomationModeTime = value; }
}
// Check to see if ResumeFullAutomationModeTime property is set
internal bool IsSetResumeFullAutomationModeTime()
{
return this._resumeFullAutomationModeTime.HasValue;
}
///
/// Gets and sets the property StorageThroughput.
///
/// The storage throughput of the DB instance.
///
///
public int StorageThroughput
{
get { return this._storageThroughput.GetValueOrDefault(); }
set { this._storageThroughput = value; }
}
// Check to see if StorageThroughput property is set
internal bool IsSetStorageThroughput()
{
return this._storageThroughput.HasValue;
}
///
/// Gets and sets the property StorageType.
///
/// The storage type of the DB instance.
///
///
public string StorageType
{
get { return this._storageType; }
set { this._storageType = value; }
}
// Check to see if StorageType property is set
internal bool IsSetStorageType()
{
return this._storageType != null;
}
}
}