/*
* 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 securityhub-2018-10-26.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.SecurityHub.Model
{
///
/// Provides details about an Amazon RDS DB cluster snapshot.
///
public partial class AwsRdsDbSnapshotDetails
{
private int? _allocatedStorage;
private string _availabilityZone;
private string _dbInstanceIdentifier;
private string _dbiResourceId;
private string _dbSnapshotIdentifier;
private bool? _encrypted;
private string _engine;
private string _engineVersion;
private bool? _iamDatabaseAuthenticationEnabled;
private string _instanceCreateTime;
private int? _iops;
private string _kmsKeyId;
private string _licenseModel;
private string _masterUsername;
private string _optionGroupName;
private int? _percentProgress;
private int? _port;
private List _processorFeatures = new List();
private string _snapshotCreateTime;
private string _snapshotType;
private string _sourceDbSnapshotIdentifier;
private string _sourceRegion;
private string _status;
private string _storageType;
private string _tdeCredentialArn;
private string _timezone;
private string _vpcId;
///
/// Gets and sets the property AllocatedStorage.
///
/// The amount of storage (in gigabytes) to be initially allocated for the database 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 AvailabilityZone.
///
/// Specifies the name of the Availability Zone in which the DB instance was located at
/// the time of the DB snapshot.
///
///
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 DbInstanceIdentifier.
///
/// A name 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 DbiResourceId.
///
/// The identifier for the source DB instance.
///
///
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 DbSnapshotIdentifier.
///
/// The name or ARN of the DB snapshot that is used to restore the DB instance.
///
///
public string DbSnapshotIdentifier
{
get { return this._dbSnapshotIdentifier; }
set { this._dbSnapshotIdentifier = value; }
}
// Check to see if DbSnapshotIdentifier property is set
internal bool IsSetDbSnapshotIdentifier()
{
return this._dbSnapshotIdentifier != null;
}
///
/// Gets and sets the property Encrypted.
///
/// Whether the DB snapshot is encrypted.
///
///
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 Engine.
///
/// The name of the database engine to use for this DB instance. Valid values are as follows:
///
/// -
///
///
aurora
///
/// -
///
///
aurora-mysql
///
/// -
///
///
aurora-postgresql
///
/// -
///
///
c
///
/// -
///
///
mariadb
///
/// -
///
///
mysql
///
/// -
///
///
oracle-ee
///
/// -
///
///
oracle-se
///
/// -
///
///
oracle-se1
///
/// -
///
///
oracle-se2
///
/// -
///
///
sqlserver-ee
///
/// -
///
///
sqlserver-ex
///
/// -
///
///
sqlserver-se
///
/// -
///
///
sqlserver-web
///
///
///
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 IamDatabaseAuthenticationEnabled.
///
/// Whether mapping of 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 InstanceCreateTime.
///
/// Specifies the time in Coordinated Universal Time (UTC) when the DB instance, from
/// which the snapshot was taken, was created.
///
///
public string InstanceCreateTime
{
get { return this._instanceCreateTime; }
set { this._instanceCreateTime = value; }
}
// Check to see if InstanceCreateTime property is set
internal bool IsSetInstanceCreateTime()
{
return this._instanceCreateTime != null;
}
///
/// Gets and sets the property Iops.
///
/// The provisioned IOPS (I/O operations per second) value of the DB instance at the time
/// of the snapshot.
///
///
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 Encrypted
is true
, the KMS key identifier for the encrypted
/// DB snapshot.
///
///
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 LicenseModel.
///
/// License model information for the restored DB instance.
///
///
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 MasterUsername.
///
/// The master user name for the DB snapshot.
///
///
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 OptionGroupName.
///
/// The option group name for the DB snapshot.
///
///
public string OptionGroupName
{
get { return this._optionGroupName; }
set { this._optionGroupName = value; }
}
// Check to see if OptionGroupName property is set
internal bool IsSetOptionGroupName()
{
return this._optionGroupName != null;
}
///
/// Gets and sets the property PercentProgress.
///
/// The percentage of the estimated data that has been transferred.
///
///
public int PercentProgress
{
get { return this._percentProgress.GetValueOrDefault(); }
set { this._percentProgress = value; }
}
// Check to see if PercentProgress property is set
internal bool IsSetPercentProgress()
{
return this._percentProgress.HasValue;
}
///
/// Gets and sets the property Port.
///
/// The port that the database engine was listening on at the time of the snapshot.
///
///
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 SnapshotCreateTime.
///
/// When the snapshot was taken in Coordinated Universal Time (UTC).
///
///
public string SnapshotCreateTime
{
get { return this._snapshotCreateTime; }
set { this._snapshotCreateTime = value; }
}
// Check to see if SnapshotCreateTime property is set
internal bool IsSetSnapshotCreateTime()
{
return this._snapshotCreateTime != null;
}
///
/// Gets and sets the property SnapshotType.
///
/// The type of the DB snapshot.
///
///
public string SnapshotType
{
get { return this._snapshotType; }
set { this._snapshotType = value; }
}
// Check to see if SnapshotType property is set
internal bool IsSetSnapshotType()
{
return this._snapshotType != null;
}
///
/// Gets and sets the property SourceDbSnapshotIdentifier.
///
/// The DB snapshot ARN that the DB snapshot was copied from.
///
///
public string SourceDbSnapshotIdentifier
{
get { return this._sourceDbSnapshotIdentifier; }
set { this._sourceDbSnapshotIdentifier = value; }
}
// Check to see if SourceDbSnapshotIdentifier property is set
internal bool IsSetSourceDbSnapshotIdentifier()
{
return this._sourceDbSnapshotIdentifier != null;
}
///
/// Gets and sets the property SourceRegion.
///
/// The Amazon Web Services Region that the DB snapshot was created in or copied from.
///
///
public string SourceRegion
{
get { return this._sourceRegion; }
set { this._sourceRegion = value; }
}
// Check to see if SourceRegion property is set
internal bool IsSetSourceRegion()
{
return this._sourceRegion != null;
}
///
/// Gets and sets the property Status.
///
/// The status of this DB snapshot.
///
///
public string Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
///
/// Gets and sets the property StorageType.
///
/// The storage type associated with the DB snapshot. Valid values are as follows:
///
/// -
///
///
gp2
///
/// -
///
///
io1
///
/// -
///
///
standard
///
///
///
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 TdeCredentialArn.
///
/// The ARN from the key store with which to associate the instance 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 snapshot.
///
///
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 VpcId.
///
/// The VPC ID associated with the DB snapshot.
///
///
public string VpcId
{
get { return this._vpcId; }
set { this._vpcId = value; }
}
// Check to see if VpcId property is set
internal bool IsSetVpcId()
{
return this._vpcId != null;
}
}
}