/*
* 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
{
///
/// Contains the details of an Amazon RDS DB instance.
///
///
///
/// This data type is used as a response element in the operations CreateDBInstance
,
/// CreateDBInstanceReadReplica
, DeleteDBInstance
, DescribeDBInstances
,
/// ModifyDBInstance
, PromoteReadReplica
, RebootDBInstance
,
/// RestoreDBInstanceFromDBSnapshot
, RestoreDBInstanceFromS3
,
/// RestoreDBInstanceToPointInTime
, StartDBInstance
, and StopDBInstance
.
///
///
public partial class DBInstance
{
private bool? _activityStreamEngineNativeAuditFieldsIncluded;
private string _activityStreamKinesisStreamName;
private string _activityStreamKmsKeyId;
private ActivityStreamMode _activityStreamMode;
private ActivityStreamPolicyStatus _activityStreamPolicyStatus;
private ActivityStreamStatus _activityStreamStatus;
private int? _allocatedStorage;
private List _associatedRoles = new List();
private DateTime? _automaticRestartTime;
private AutomationMode _automationMode;
private bool? _autoMinorVersionUpgrade;
private string _availabilityZone;
private string _awsBackupRecoveryPointArn;
private int? _backupRetentionPeriod;
private string _backupTarget;
private string _caCertificateIdentifier;
private CertificateDetails _certificateDetails;
private string _characterSetName;
private bool? _copyTagsToSnapshot;
private bool? _customerOwnedIpEnabled;
private string _customIamInstanceProfile;
private string _dbClusterIdentifier;
private string _dbInstanceArn;
private List _dbInstanceAutomatedBackupsReplications = new List();
private string _dbInstanceClass;
private string _dbInstanceIdentifier;
private int? _dbInstancePort;
private string _dbInstanceStatus;
private string _dbiResourceId;
private string _dbName;
private List _dbParameterGroups = new List();
private List _dbSecurityGroups = new List();
private DBSubnetGroup _dbSubnetGroup;
private string _dbSystemId;
private bool? _deletionProtection;
private List _domainMemberships = new List();
private List _enabledCloudwatchLogsExports = new List();
private Endpoint _endpoint;
private string _engine;
private string _engineVersion;
private string _enhancedMonitoringResourceArn;
private bool? _iamDatabaseAuthenticationEnabled;
private DateTime? _instanceCreateTime;
private int? _iops;
private string _kmsKeyId;
private DateTime? _latestRestorableTime;
private string _licenseModel;
private Endpoint _listenerEndpoint;
private string _masterUsername;
private MasterUserSecret _masterUserSecret;
private int? _maxAllocatedStorage;
private int? _monitoringInterval;
private string _monitoringRoleArn;
private bool? _multiAZ;
private string _ncharCharacterSetName;
private string _networkType;
private List _optionGroupMemberships = new List();
private PendingModifiedValues _pendingModifiedValues;
private string _percentProgress;
private bool? _performanceInsightsEnabled;
private string _performanceInsightsKMSKeyId;
private int? _performanceInsightsRetentionPeriod;
private string _preferredBackupWindow;
private string _preferredMaintenanceWindow;
private List _processorFeatures = new List();
private int? _promotionTier;
private bool? _publiclyAccessible;
private List _readReplicaDBClusterIdentifiers = new List();
private List _readReplicaDBInstanceIdentifiers = new List();
private string _readReplicaSourceDBClusterIdentifier;
private string _readReplicaSourceDBInstanceIdentifier;
private ReplicaMode _replicaMode;
private DateTime? _resumeFullAutomationModeTime;
private string _secondaryAvailabilityZone;
private List _statusInfos = new List();
private bool? _storageEncrypted;
private int? _storageThroughput;
private string _storageType;
private List _tagList = new List();
private string _tdeCredentialArn;
private string _timezone;
private List _vpcSecurityGroups = new List();
///
/// Gets and sets the property ActivityStreamEngineNativeAuditFieldsIncluded.
///
/// Indicates whether engine-native audit fields are included in the database activity
/// stream.
///
///
public bool ActivityStreamEngineNativeAuditFieldsIncluded
{
get { return this._activityStreamEngineNativeAuditFieldsIncluded.GetValueOrDefault(); }
set { this._activityStreamEngineNativeAuditFieldsIncluded = value; }
}
// Check to see if ActivityStreamEngineNativeAuditFieldsIncluded property is set
internal bool IsSetActivityStreamEngineNativeAuditFieldsIncluded()
{
return this._activityStreamEngineNativeAuditFieldsIncluded.HasValue;
}
///
/// Gets and sets the property ActivityStreamKinesisStreamName.
///
/// The name of the Amazon Kinesis data stream used for the database activity stream.
///
///
public string ActivityStreamKinesisStreamName
{
get { return this._activityStreamKinesisStreamName; }
set { this._activityStreamKinesisStreamName = value; }
}
// Check to see if ActivityStreamKinesisStreamName property is set
internal bool IsSetActivityStreamKinesisStreamName()
{
return this._activityStreamKinesisStreamName != null;
}
///
/// Gets and sets the property ActivityStreamKmsKeyId.
///
/// The Amazon Web Services KMS key identifier used for encrypting messages in the database
/// activity stream. The Amazon Web Services KMS key identifier is the key ARN, key ID,
/// alias ARN, or alias name for the KMS key.
///
///
public string ActivityStreamKmsKeyId
{
get { return this._activityStreamKmsKeyId; }
set { this._activityStreamKmsKeyId = value; }
}
// Check to see if ActivityStreamKmsKeyId property is set
internal bool IsSetActivityStreamKmsKeyId()
{
return this._activityStreamKmsKeyId != null;
}
///
/// Gets and sets the property ActivityStreamMode.
///
/// The mode of the database activity stream. Database events such as a change or access
/// generate an activity stream event. RDS for Oracle always handles these events asynchronously.
///
///
public ActivityStreamMode ActivityStreamMode
{
get { return this._activityStreamMode; }
set { this._activityStreamMode = value; }
}
// Check to see if ActivityStreamMode property is set
internal bool IsSetActivityStreamMode()
{
return this._activityStreamMode != null;
}
///
/// Gets and sets the property ActivityStreamPolicyStatus.
///
/// The status of the policy state of the activity stream.
///
///
public ActivityStreamPolicyStatus ActivityStreamPolicyStatus
{
get { return this._activityStreamPolicyStatus; }
set { this._activityStreamPolicyStatus = value; }
}
// Check to see if ActivityStreamPolicyStatus property is set
internal bool IsSetActivityStreamPolicyStatus()
{
return this._activityStreamPolicyStatus != null;
}
///
/// Gets and sets the property ActivityStreamStatus.
///
/// The status of the database activity stream.
///
///
public ActivityStreamStatus ActivityStreamStatus
{
get { return this._activityStreamStatus; }
set { this._activityStreamStatus = value; }
}
// Check to see if ActivityStreamStatus property is set
internal bool IsSetActivityStreamStatus()
{
return this._activityStreamStatus != null;
}
///
/// Gets and sets the property AllocatedStorage.
///
/// The amount of storage in gibibytes (GiB) allocated for the DB instance.
///
///
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 AssociatedRoles.
///
/// The Amazon Web Services Identity and Access Management (IAM) roles associated with
/// the DB instance.
///
///
public List AssociatedRoles
{
get { return this._associatedRoles; }
set { this._associatedRoles = value; }
}
// Check to see if AssociatedRoles property is set
internal bool IsSetAssociatedRoles()
{
return this._associatedRoles != null && this._associatedRoles.Count > 0;
}
///
/// Gets and sets the property AutomaticRestartTime.
///
/// The time when a stopped DB instance is restarted automatically.
///
///
public DateTime AutomaticRestartTime
{
get { return this._automaticRestartTime.GetValueOrDefault(); }
set { this._automaticRestartTime = value; }
}
// Check to see if AutomaticRestartTime property is set
internal bool IsSetAutomaticRestartTime()
{
return this._automaticRestartTime.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 AutoMinorVersionUpgrade.
///
/// Indicates whether minor version patches are applied automatically.
///
///
public bool AutoMinorVersionUpgrade
{
get { return this._autoMinorVersionUpgrade.GetValueOrDefault(); }
set { this._autoMinorVersionUpgrade = value; }
}
// Check to see if AutoMinorVersionUpgrade property is set
internal bool IsSetAutoMinorVersionUpgrade()
{
return this._autoMinorVersionUpgrade.HasValue;
}
///
/// Gets and sets the property AvailabilityZone.
///
/// The name of the Availability Zone where the DB instance is located.
///
///
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 AwsBackupRecoveryPointArn.
///
/// The Amazon Resource Name (ARN) of the recovery point in Amazon Web Services Backup.
///
///
public string AwsBackupRecoveryPointArn
{
get { return this._awsBackupRecoveryPointArn; }
set { this._awsBackupRecoveryPointArn = value; }
}
// Check to see if AwsBackupRecoveryPointArn property is set
internal bool IsSetAwsBackupRecoveryPointArn()
{
return this._awsBackupRecoveryPointArn != null;
}
///
/// Gets and sets the property BackupRetentionPeriod.
///
/// The number of days for which automatic DB snapshots 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 BackupTarget.
///
/// The location where automated backups and manual snapshots are stored: Amazon Web Services
/// Outposts or the Amazon Web Services Region.
///
///
public string BackupTarget
{
get { return this._backupTarget; }
set { this._backupTarget = value; }
}
// Check to see if BackupTarget property is set
internal bool IsSetBackupTarget()
{
return this._backupTarget != null;
}
///
/// Gets and sets the property CACertificateIdentifier.
///
/// The identifier of the CA certificate for this 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 CertificateDetails.
///
/// The details of the DB instance's server certificate.
///
///
public CertificateDetails CertificateDetails
{
get { return this._certificateDetails; }
set { this._certificateDetails = value; }
}
// Check to see if CertificateDetails property is set
internal bool IsSetCertificateDetails()
{
return this._certificateDetails != null;
}
///
/// Gets and sets the property CharacterSetName.
///
/// If present, specifies the name of the character set that this instance is associated
/// with.
///
///
public string CharacterSetName
{
get { return this._characterSetName; }
set { this._characterSetName = value; }
}
// Check to see if CharacterSetName property is set
internal bool IsSetCharacterSetName()
{
return this._characterSetName != null;
}
///
/// Gets and sets the property CopyTagsToSnapshot.
///
/// Indicates whether tags are copied from the DB instance to snapshots of the DB instance.
///
///
///
/// This setting doesn't apply to Amazon Aurora DB instances. Copying tags to snapshots
/// is managed by the DB cluster. Setting this value for an Aurora DB instance has no
/// effect on the DB cluster setting. For more information, see DBCluster
.
///
///
public bool CopyTagsToSnapshot
{
get { return this._copyTagsToSnapshot.GetValueOrDefault(); }
set { this._copyTagsToSnapshot = value; }
}
// Check to see if CopyTagsToSnapshot property is set
internal bool IsSetCopyTagsToSnapshot()
{
return this._copyTagsToSnapshot.HasValue;
}
///
/// Gets and sets the property CustomerOwnedIpEnabled.
///
/// Indicates whether a customer-owned IP address (CoIP) is enabled for an RDS on Outposts
/// DB instance.
///
///
///
/// A CoIP provides local or external connectivity to resources in your Outpost
/// subnets through your on-premises network. For some use cases, a CoIP can provide lower
/// latency for connections to the DB instance from outside of its virtual private cloud
/// (VPC) on your local network.
///
///
///
/// For more information about RDS on Outposts, see Working
/// with Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide.
///
///
///
/// For more information about CoIPs, see Customer-owned
/// IP addresses in the Amazon Web Services Outposts User Guide.
///
///
public bool CustomerOwnedIpEnabled
{
get { return this._customerOwnedIpEnabled.GetValueOrDefault(); }
set { this._customerOwnedIpEnabled = value; }
}
// Check to see if CustomerOwnedIpEnabled property is set
internal bool IsSetCustomerOwnedIpEnabled()
{
return this._customerOwnedIpEnabled.HasValue;
}
///
/// Gets and sets the property CustomIamInstanceProfile.
///
/// The instance profile associated with the underlying Amazon EC2 instance of an RDS
/// Custom DB instance. The instance profile must meet the following requirements:
///
/// -
///
/// The profile must exist in your account.
///
///
-
///
/// The profile must have an IAM role that Amazon EC2 has permissions to assume.
///
///
-
///
/// The instance profile name and the associated IAM role name must start with the prefix
///
AWSRDSCustom
.
///
///
///
/// For the list of permissions required for the IAM role, see
/// Configure IAM and your VPC in the Amazon RDS User Guide.
///
///
public string CustomIamInstanceProfile
{
get { return this._customIamInstanceProfile; }
set { this._customIamInstanceProfile = value; }
}
// Check to see if CustomIamInstanceProfile property is set
internal bool IsSetCustomIamInstanceProfile()
{
return this._customIamInstanceProfile != null;
}
///
/// Gets and sets the property DBClusterIdentifier.
///
/// If the DB instance is a member of a DB cluster, indicates the name of the DB cluster
/// that the DB instance is a member of.
///
///
public string DBClusterIdentifier
{
get { return this._dbClusterIdentifier; }
set { this._dbClusterIdentifier = value; }
}
// Check to see if DBClusterIdentifier property is set
internal bool IsSetDBClusterIdentifier()
{
return this._dbClusterIdentifier != null;
}
///
/// Gets and sets the property DBInstanceArn.
///
/// The Amazon Resource Name (ARN) for the DB instance.
///
///
public string DBInstanceArn
{
get { return this._dbInstanceArn; }
set { this._dbInstanceArn = value; }
}
// Check to see if DBInstanceArn property is set
internal bool IsSetDBInstanceArn()
{
return this._dbInstanceArn != null;
}
///
/// Gets and sets the property DBInstanceAutomatedBackupsReplications.
///
/// The list of replicated automated backups associated with the DB instance.
///
///
public List DBInstanceAutomatedBackupsReplications
{
get { return this._dbInstanceAutomatedBackupsReplications; }
set { this._dbInstanceAutomatedBackupsReplications = value; }
}
// Check to see if DBInstanceAutomatedBackupsReplications property is set
internal bool IsSetDBInstanceAutomatedBackupsReplications()
{
return this._dbInstanceAutomatedBackupsReplications != null && this._dbInstanceAutomatedBackupsReplications.Count > 0;
}
///
/// Gets and sets the property DBInstanceClass.
///
/// The name of the compute and memory capacity class of 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 user-supplied database identifier. This identifier is the unique key that identifies
/// a 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 DbInstancePort.
///
/// The port that the DB instance listens on. If the DB instance is part of a DB cluster,
/// this can be a different port than the DB cluster port.
///
///
public int DbInstancePort
{
get { return this._dbInstancePort.GetValueOrDefault(); }
set { this._dbInstancePort = value; }
}
// Check to see if DbInstancePort property is set
internal bool IsSetDbInstancePort()
{
return this._dbInstancePort.HasValue;
}
///
/// Gets and sets the property DBInstanceStatus.
///
/// The current state of this database.
///
///
///
/// For information about DB instance statuses, see Viewing
/// DB instance status in the Amazon RDS User Guide.
///
///
public string DBInstanceStatus
{
get { return this._dbInstanceStatus; }
set { this._dbInstanceStatus = value; }
}
// Check to see if DBInstanceStatus property is set
internal bool IsSetDBInstanceStatus()
{
return this._dbInstanceStatus != null;
}
///
/// Gets and sets the property DbiResourceId.
///
/// The Amazon Web Services Region-unique, immutable identifier for the DB instance. This
/// identifier is found in Amazon Web Services CloudTrail log entries whenever the Amazon
/// Web Services KMS key for the DB instance is accessed.
///
///
public string DbiResourceId
{
get { return this._dbiResourceId; }
set { this._dbiResourceId = value; }
}
// Check to see if DbiResourceId property is set
internal bool IsSetDbiResourceId()
{
return this._dbiResourceId != null;
}
///
/// Gets and sets the property DBName.
///
/// Contains the initial database name that you provided (if required) when you created
/// the DB instance. This name is returned for the life of your DB instance. For an RDS
/// for Oracle CDB instance, the name identifies the PDB rather than the CDB.
///
///
public string DBName
{
get { return this._dbName; }
set { this._dbName = value; }
}
// Check to see if DBName property is set
internal bool IsSetDBName()
{
return this._dbName != null;
}
///
/// Gets and sets the property DBParameterGroups.
///
/// The list of DB parameter groups applied to this DB instance.
///
///
public List DBParameterGroups
{
get { return this._dbParameterGroups; }
set { this._dbParameterGroups = value; }
}
// Check to see if DBParameterGroups property is set
internal bool IsSetDBParameterGroups()
{
return this._dbParameterGroups != null && this._dbParameterGroups.Count > 0;
}
///
/// Gets and sets the property DBSecurityGroups.
///
/// A list of DB security group elements containing DBSecurityGroup.Name
/// and DBSecurityGroup.Status
subelements.
///
///
public List DBSecurityGroups
{
get { return this._dbSecurityGroups; }
set { this._dbSecurityGroups = value; }
}
// Check to see if DBSecurityGroups property is set
internal bool IsSetDBSecurityGroups()
{
return this._dbSecurityGroups != null && this._dbSecurityGroups.Count > 0;
}
///
/// Gets and sets the property DBSubnetGroup.
///
/// Information about the subnet group associated with the DB instance, including the
/// name, description, and subnets in the subnet group.
///
///
public DBSubnetGroup DBSubnetGroup
{
get { return this._dbSubnetGroup; }
set { this._dbSubnetGroup = value; }
}
// Check to see if DBSubnetGroup property is set
internal bool IsSetDBSubnetGroup()
{
return this._dbSubnetGroup != null;
}
///
/// Gets and sets the property DBSystemId.
///
/// The Oracle system ID (Oracle SID) for a container database (CDB). The Oracle SID is
/// also the name of the CDB. This setting is only valid for RDS Custom DB instances.
///
///
public string DBSystemId
{
get { return this._dbSystemId; }
set { this._dbSystemId = value; }
}
// Check to see if DBSystemId property is set
internal bool IsSetDBSystemId()
{
return this._dbSystemId != null;
}
///
/// Gets and sets the property DeletionProtection.
///
/// Indicates whether the DB instance has deletion protection enabled. The database can't
/// be deleted when deletion protection is enabled. For more information, see
/// Deleting a DB Instance.
///
///
public bool DeletionProtection
{
get { return this._deletionProtection.GetValueOrDefault(); }
set { this._deletionProtection = value; }
}
// Check to see if DeletionProtection property is set
internal bool IsSetDeletionProtection()
{
return this._deletionProtection.HasValue;
}
///
/// Gets and sets the property DomainMemberships.
///
/// The Active Directory Domain membership records associated with the DB instance.
///
///
public List DomainMemberships
{
get { return this._domainMemberships; }
set { this._domainMemberships = value; }
}
// Check to see if DomainMemberships property is set
internal bool IsSetDomainMemberships()
{
return this._domainMemberships != null && this._domainMemberships.Count > 0;
}
///
/// Gets and sets the property EnabledCloudwatchLogsExports.
///
/// A list of log types that this DB instance is configured to export to CloudWatch Logs.
///
///
///
/// Log types vary by DB engine. For information about the log types for each DB engine,
/// see Monitoring
/// Amazon RDS log files in the Amazon RDS User Guide.
///
///
public List EnabledCloudwatchLogsExports
{
get { return this._enabledCloudwatchLogsExports; }
set { this._enabledCloudwatchLogsExports = value; }
}
// Check to see if EnabledCloudwatchLogsExports property is set
internal bool IsSetEnabledCloudwatchLogsExports()
{
return this._enabledCloudwatchLogsExports != null && this._enabledCloudwatchLogsExports.Count > 0;
}
///
/// Gets and sets the property Endpoint.
///
/// The connection endpoint for the DB instance.
///
///
///
/// The endpoint might not be shown for instances with the status of creating
.
///
///
///
public Endpoint Endpoint
{
get { return this._endpoint; }
set { this._endpoint = value; }
}
// Check to see if Endpoint property is set
internal bool IsSetEndpoint()
{
return this._endpoint != null;
}
///
/// Gets and sets the property Engine.
///
/// The database engine used for this 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 version of the database engine.
///
///
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 EnhancedMonitoringResourceArn.
///
/// The Amazon Resource Name (ARN) of the Amazon CloudWatch Logs log stream that receives
/// the Enhanced Monitoring metrics data for the DB instance.
///
///
public string EnhancedMonitoringResourceArn
{
get { return this._enhancedMonitoringResourceArn; }
set { this._enhancedMonitoringResourceArn = value; }
}
// Check to see if EnhancedMonitoringResourceArn property is set
internal bool IsSetEnhancedMonitoringResourceArn()
{
return this._enhancedMonitoringResourceArn != null;
}
///
/// Gets and sets the property IAMDatabaseAuthenticationEnabled.
///
/// Indicates whether mapping of Amazon Web Services Identity and Access Management (IAM)
/// accounts to database accounts is enabled for the DB instance.
///
///
///
/// For a list of engine versions that support IAM database authentication, see IAM
/// database authentication in the Amazon RDS User Guide and IAM
/// database authentication in Aurora in the Amazon Aurora User Guide.
///
///
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 InstanceCreateTime.
///
/// The date and time when the DB instance was created.
///
///
public DateTime InstanceCreateTime
{
get { return this._instanceCreateTime.GetValueOrDefault(); }
set { this._instanceCreateTime = value; }
}
// Check to see if InstanceCreateTime property is set
internal bool IsSetInstanceCreateTime()
{
return this._instanceCreateTime.HasValue;
}
///
/// Gets and sets the property Iops.
///
/// The Provisioned IOPS (I/O operations per second) 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 KmsKeyId.
///
/// If StorageEncrypted
is enabled, the Amazon Web Services KMS key identifier
/// for the encrypted DB instance.
///
///
///
/// The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias
/// name for the KMS key.
///
///
public string KmsKeyId
{
get { return this._kmsKeyId; }
set { this._kmsKeyId = value; }
}
// Check to see if KmsKeyId property is set
internal bool IsSetKmsKeyId()
{
return this._kmsKeyId != null;
}
///
/// Gets and sets the property LatestRestorableTime.
///
/// The latest time to which a database in this DB instance can be restored with point-in-time
/// restore.
///
///
public DateTime LatestRestorableTime
{
get { return this._latestRestorableTime.GetValueOrDefault(); }
set { this._latestRestorableTime = value; }
}
// Check to see if LatestRestorableTime property is set
internal bool IsSetLatestRestorableTime()
{
return this._latestRestorableTime.HasValue;
}
///
/// Gets and sets the property LicenseModel.
///
/// The license model information for this DB instance. This setting doesn't apply to
/// RDS Custom DB instances.
///
///
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 ListenerEndpoint.
///
/// The listener connection endpoint for SQL Server Always On.
///
///
public Endpoint ListenerEndpoint
{
get { return this._listenerEndpoint; }
set { this._listenerEndpoint = value; }
}
// Check to see if ListenerEndpoint property is set
internal bool IsSetListenerEndpoint()
{
return this._listenerEndpoint != null;
}
///
/// Gets and sets the property MasterUsername.
///
/// The master username for the DB instance.
///
///
public string MasterUsername
{
get { return this._masterUsername; }
set { this._masterUsername = value; }
}
// Check to see if MasterUsername property is set
internal bool IsSetMasterUsername()
{
return this._masterUsername != null;
}
///
/// Gets and sets the property MasterUserSecret.
///
/// The secret managed by RDS in Amazon Web Services Secrets Manager for the master user
/// password.
///
///
///
/// For more information, see Password
/// management with Amazon Web Services Secrets Manager in the Amazon RDS User
/// Guide.
///
///
public MasterUserSecret MasterUserSecret
{
get { return this._masterUserSecret; }
set { this._masterUserSecret = value; }
}
// Check to see if MasterUserSecret property is set
internal bool IsSetMasterUserSecret()
{
return this._masterUserSecret != null;
}
///
/// Gets and sets the property MaxAllocatedStorage.
///
/// The upper limit in gibibytes (GiB) to which Amazon RDS can automatically scale the
/// storage of the DB instance.
///
///
public int MaxAllocatedStorage
{
get { return this._maxAllocatedStorage.GetValueOrDefault(); }
set { this._maxAllocatedStorage = value; }
}
// Check to see if MaxAllocatedStorage property is set
internal bool IsSetMaxAllocatedStorage()
{
return this._maxAllocatedStorage.HasValue;
}
///
/// Gets and sets the property MonitoringInterval.
///
/// The interval, in seconds, between points when Enhanced Monitoring metrics are collected
/// for the DB instance.
///
///
public int MonitoringInterval
{
get { return this._monitoringInterval.GetValueOrDefault(); }
set { this._monitoringInterval = value; }
}
// Check to see if MonitoringInterval property is set
internal bool IsSetMonitoringInterval()
{
return this._monitoringInterval.HasValue;
}
///
/// Gets and sets the property MonitoringRoleArn.
///
/// The ARN for the IAM role that permits RDS to send Enhanced Monitoring metrics to Amazon
/// CloudWatch Logs.
///
///
public string MonitoringRoleArn
{
get { return this._monitoringRoleArn; }
set { this._monitoringRoleArn = value; }
}
// Check to see if MonitoringRoleArn property is set
internal bool IsSetMonitoringRoleArn()
{
return this._monitoringRoleArn != null;
}
///
/// Gets and sets the property MultiAZ.
///
/// Indicates whether the DB instance is a Multi-AZ deployment. This setting doesn't apply
/// to RDS Custom DB instances.
///
///
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 NcharCharacterSetName.
///
/// The name of the NCHAR character set for the Oracle DB instance. This character set
/// specifies the Unicode encoding for data stored in table columns of type NCHAR, NCLOB,
/// or NVARCHAR2.
///
///
public string NcharCharacterSetName
{
get { return this._ncharCharacterSetName; }
set { this._ncharCharacterSetName = value; }
}
// Check to see if NcharCharacterSetName property is set
internal bool IsSetNcharCharacterSetName()
{
return this._ncharCharacterSetName != null;
}
///
/// Gets and sets the property NetworkType.
///
/// The network type of the DB instance.
///
///
///
/// The network type is determined by the DBSubnetGroup
specified for the
/// DB instance. A DBSubnetGroup
can support only the IPv4 protocol or the
/// IPv4 and the IPv6 protocols (DUAL
).
///
///
///
/// For more information, see
/// Working with a DB instance in a VPC in the Amazon RDS User Guide and
/// Working with a DB instance in a VPC in the Amazon Aurora User Guide.
///
///
///
/// Valid Values: IPV4 | DUAL
///
///
public string NetworkType
{
get { return this._networkType; }
set { this._networkType = value; }
}
// Check to see if NetworkType property is set
internal bool IsSetNetworkType()
{
return this._networkType != null;
}
///
/// Gets and sets the property OptionGroupMemberships.
///
/// The list of option group memberships for this DB instance.
///
///
public List OptionGroupMemberships
{
get { return this._optionGroupMemberships; }
set { this._optionGroupMemberships = value; }
}
// Check to see if OptionGroupMemberships property is set
internal bool IsSetOptionGroupMemberships()
{
return this._optionGroupMemberships != null && this._optionGroupMemberships.Count > 0;
}
///
/// Gets and sets the property PendingModifiedValues.
///
/// Information about pending changes to the DB instance. This information is returned
/// only when there are pending changes. Specific changes are identified by subelements.
///
///
public PendingModifiedValues PendingModifiedValues
{
get { return this._pendingModifiedValues; }
set { this._pendingModifiedValues = value; }
}
// Check to see if PendingModifiedValues property is set
internal bool IsSetPendingModifiedValues()
{
return this._pendingModifiedValues != null;
}
///
/// Gets and sets the property PercentProgress.
///
/// The progress of the storage optimization operation as a percentage.
///
///
public string PercentProgress
{
get { return this._percentProgress; }
set { this._percentProgress = value; }
}
// Check to see if PercentProgress property is set
internal bool IsSetPercentProgress()
{
return this._percentProgress != null;
}
///
/// Gets and sets the property PerformanceInsightsEnabled.
///
/// Indicates whether Performance Insights is enabled for the DB instance.
///
///
public bool PerformanceInsightsEnabled
{
get { return this._performanceInsightsEnabled.GetValueOrDefault(); }
set { this._performanceInsightsEnabled = value; }
}
// Check to see if PerformanceInsightsEnabled property is set
internal bool IsSetPerformanceInsightsEnabled()
{
return this._performanceInsightsEnabled.HasValue;
}
///
/// Gets and sets the property PerformanceInsightsKMSKeyId.
///
/// The Amazon Web Services KMS key identifier for encryption of Performance Insights
/// data.
///
///
///
/// The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias
/// name for the KMS key.
///
///
public string PerformanceInsightsKMSKeyId
{
get { return this._performanceInsightsKMSKeyId; }
set { this._performanceInsightsKMSKeyId = value; }
}
// Check to see if PerformanceInsightsKMSKeyId property is set
internal bool IsSetPerformanceInsightsKMSKeyId()
{
return this._performanceInsightsKMSKeyId != null;
}
///
/// Gets and sets the property PerformanceInsightsRetentionPeriod.
///
/// The number of days to retain Performance Insights data.
///
///
///
/// Valid Values:
///
/// -
///
///
7
///
/// -
///
/// month * 31, where month is a number of months from 1-23. Examples:
///
93
(3 months * 31), 341
(11 months * 31), 589
/// (19 months * 31)
///
/// -
///
///
731
///
///
///
/// Default: 7
days
///
///
public int PerformanceInsightsRetentionPeriod
{
get { return this._performanceInsightsRetentionPeriod.GetValueOrDefault(); }
set { this._performanceInsightsRetentionPeriod = value; }
}
// Check to see if PerformanceInsightsRetentionPeriod property is set
internal bool IsSetPerformanceInsightsRetentionPeriod()
{
return this._performanceInsightsRetentionPeriod.HasValue;
}
///
/// Gets and sets the property PreferredBackupWindow.
///
/// The daily time range during which automated backups are created if automated backups
/// are enabled, as determined by the BackupRetentionPeriod
.
///
///
public string PreferredBackupWindow
{
get { return this._preferredBackupWindow; }
set { this._preferredBackupWindow = value; }
}
// Check to see if PreferredBackupWindow property is set
internal bool IsSetPreferredBackupWindow()
{
return this._preferredBackupWindow != null;
}
///
/// Gets and sets the property PreferredMaintenanceWindow.
///
/// The weekly time range during which system maintenance can occur, in Universal Coordinated
/// Time (UTC).
///
///
public string PreferredMaintenanceWindow
{
get { return this._preferredMaintenanceWindow; }
set { this._preferredMaintenanceWindow = value; }
}
// Check to see if PreferredMaintenanceWindow property is set
internal bool IsSetPreferredMaintenanceWindow()
{
return this._preferredMaintenanceWindow != null;
}
///
/// 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 PromotionTier.
///
/// The order of priority in which an Aurora Replica is promoted to the primary instance
/// after a failure of the existing primary instance. For more information, see
/// Fault Tolerance for an Aurora DB Cluster in the Amazon Aurora User Guide.
///
///
public int PromotionTier
{
get { return this._promotionTier.GetValueOrDefault(); }
set { this._promotionTier = value; }
}
// Check to see if PromotionTier property is set
internal bool IsSetPromotionTier()
{
return this._promotionTier.HasValue;
}
///
/// Gets and sets the property PubliclyAccessible.
///
/// Indicates whether the DB instance is publicly accessible.
///
///
///
/// When the DB cluster is publicly accessible, its Domain Name System (DNS) endpoint
/// resolves to the private IP address from within the DB cluster's virtual private cloud
/// (VPC). It resolves to the public IP address from outside of the DB cluster's VPC.
/// Access to the DB cluster is ultimately controlled by the security group it uses. That
/// public access isn't permitted if the security group assigned to the DB cluster doesn't
/// permit it.
///
///
///
/// When the DB instance isn't publicly accessible, it is an internal DB instance with
/// a DNS name that resolves to a private IP address.
///
///
///
/// For more information, see CreateDBInstance.
///
///
public bool PubliclyAccessible
{
get { return this._publiclyAccessible.GetValueOrDefault(); }
set { this._publiclyAccessible = value; }
}
// Check to see if PubliclyAccessible property is set
internal bool IsSetPubliclyAccessible()
{
return this._publiclyAccessible.HasValue;
}
///
/// Gets and sets the property ReadReplicaDBClusterIdentifiers.
///
/// The identifiers of Aurora DB clusters to which the RDS DB instance is replicated as
/// a read replica. For example, when you create an Aurora read replica of an RDS for
/// MySQL DB instance, the Aurora MySQL DB cluster for the Aurora read replica is shown.
/// This output doesn't contain information about cross-Region Aurora read replicas.
///
///
///
/// Currently, each RDS DB instance can have only one Aurora read replica.
///
///
///
public List ReadReplicaDBClusterIdentifiers
{
get { return this._readReplicaDBClusterIdentifiers; }
set { this._readReplicaDBClusterIdentifiers = value; }
}
// Check to see if ReadReplicaDBClusterIdentifiers property is set
internal bool IsSetReadReplicaDBClusterIdentifiers()
{
return this._readReplicaDBClusterIdentifiers != null && this._readReplicaDBClusterIdentifiers.Count > 0;
}
///
/// Gets and sets the property ReadReplicaDBInstanceIdentifiers.
///
/// The identifiers of the read replicas associated with this DB instance.
///
///
public List ReadReplicaDBInstanceIdentifiers
{
get { return this._readReplicaDBInstanceIdentifiers; }
set { this._readReplicaDBInstanceIdentifiers = value; }
}
// Check to see if ReadReplicaDBInstanceIdentifiers property is set
internal bool IsSetReadReplicaDBInstanceIdentifiers()
{
return this._readReplicaDBInstanceIdentifiers != null && this._readReplicaDBInstanceIdentifiers.Count > 0;
}
///
/// Gets and sets the property ReadReplicaSourceDBClusterIdentifier.
///
/// The identifier of the source DB cluster if this DB instance is a read replica.
///
///
public string ReadReplicaSourceDBClusterIdentifier
{
get { return this._readReplicaSourceDBClusterIdentifier; }
set { this._readReplicaSourceDBClusterIdentifier = value; }
}
// Check to see if ReadReplicaSourceDBClusterIdentifier property is set
internal bool IsSetReadReplicaSourceDBClusterIdentifier()
{
return this._readReplicaSourceDBClusterIdentifier != null;
}
///
/// Gets and sets the property ReadReplicaSourceDBInstanceIdentifier.
///
/// The identifier of the source DB instance if this DB instance is a read replica.
///
///
public string ReadReplicaSourceDBInstanceIdentifier
{
get { return this._readReplicaSourceDBInstanceIdentifier; }
set { this._readReplicaSourceDBInstanceIdentifier = value; }
}
// Check to see if ReadReplicaSourceDBInstanceIdentifier property is set
internal bool IsSetReadReplicaSourceDBInstanceIdentifier()
{
return this._readReplicaSourceDBInstanceIdentifier != null;
}
///
/// Gets and sets the property ReplicaMode.
///
/// The open mode of an Oracle read replica. The default is open-read-only
.
/// For more information, see Working
/// with Oracle Read Replicas for Amazon RDS in the Amazon RDS User Guide.
///
///
///
/// This attribute is only supported in RDS for Oracle.
///
///
///
public ReplicaMode ReplicaMode
{
get { return this._replicaMode; }
set { this._replicaMode = value; }
}
// Check to see if ReplicaMode property is set
internal bool IsSetReplicaMode()
{
return this._replicaMode != null;
}
///
/// 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 SecondaryAvailabilityZone.
///
/// If present, specifies the name of the secondary Availability Zone for a DB instance
/// with multi-AZ support.
///
///
public string SecondaryAvailabilityZone
{
get { return this._secondaryAvailabilityZone; }
set { this._secondaryAvailabilityZone = value; }
}
// Check to see if SecondaryAvailabilityZone property is set
internal bool IsSetSecondaryAvailabilityZone()
{
return this._secondaryAvailabilityZone != null;
}
///
/// Gets and sets the property StatusInfos.
///
/// The status of a read replica. If the DB instance isn't a read replica, the value is
/// blank.
///
///
public List StatusInfos
{
get { return this._statusInfos; }
set { this._statusInfos = value; }
}
// Check to see if StatusInfos property is set
internal bool IsSetStatusInfos()
{
return this._statusInfos != null && this._statusInfos.Count > 0;
}
///
/// Gets and sets the property StorageEncrypted.
///
/// Indicates whether the DB instance is encrypted.
///
///
public bool StorageEncrypted
{
get { return this._storageEncrypted.GetValueOrDefault(); }
set { this._storageEncrypted = value; }
}
// Check to see if StorageEncrypted property is set
internal bool IsSetStorageEncrypted()
{
return this._storageEncrypted.HasValue;
}
///
/// Gets and sets the property StorageThroughput.
///
/// The storage throughput for the DB instance.
///
///
///
/// This setting applies only to the gp3
storage type.
///
///
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 associated with 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;
}
///
/// Gets and sets the property TagList.
///
public List TagList
{
get { return this._tagList; }
set { this._tagList = value; }
}
// Check to see if TagList property is set
internal bool IsSetTagList()
{
return this._tagList != null && this._tagList.Count > 0;
}
///
/// Gets and sets the property TdeCredentialArn.
///
/// The ARN from the key store with which the instance is associated for TDE encryption.
///
///
public string TdeCredentialArn
{
get { return this._tdeCredentialArn; }
set { this._tdeCredentialArn = value; }
}
// Check to see if TdeCredentialArn property is set
internal bool IsSetTdeCredentialArn()
{
return this._tdeCredentialArn != null;
}
///
/// Gets and sets the property Timezone.
///
/// The time zone of the DB instance. In most cases, the Timezone
element
/// is empty. Timezone
content appears only for Microsoft SQL Server DB instances
/// that were created with a time zone specified.
///
///
public string Timezone
{
get { return this._timezone; }
set { this._timezone = value; }
}
// Check to see if Timezone property is set
internal bool IsSetTimezone()
{
return this._timezone != null;
}
///
/// Gets and sets the property VpcSecurityGroups.
///
/// The list of Amazon EC2 VPC security groups that the DB instance belongs to.
///
///
public List VpcSecurityGroups
{
get { return this._vpcSecurityGroups; }
set { this._vpcSecurityGroups = value; }
}
// Check to see if VpcSecurityGroups property is set
internal bool IsSetVpcSecurityGroups()
{
return this._vpcSecurityGroups != null && this._vpcSecurityGroups.Count > 0;
}
}
}