/*
* 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 Amazon RDS instance.
///
public partial class RdsDbInstance
{
private string _address;
private string _dbInstanceIdentifier;
private string _dbPassword;
private string _dbUser;
private string _engine;
private bool? _missingOnRds;
private string _rdsDbInstanceArn;
private string _region;
private string _stackId;
///
/// Gets and sets the property Address.
///
/// The instance's address.
///
///
public string Address
{
get { return this._address; }
set { this._address = value; }
}
// Check to see if Address property is set
internal bool IsSetAddress()
{
return this._address != null;
}
///
/// Gets and sets the property DbInstanceIdentifier.
///
/// The DB instance identifier.
///
///
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 DbPassword.
///
/// AWS OpsWorks Stacks returns *****FILTERED*****
instead of the actual
/// value.
///
///
public string DbPassword
{
get { return this._dbPassword; }
set { this._dbPassword = value; }
}
// Check to see if DbPassword property is set
internal bool IsSetDbPassword()
{
return this._dbPassword != null;
}
///
/// Gets and sets the property DbUser.
///
/// The master user name.
///
///
public string DbUser
{
get { return this._dbUser; }
set { this._dbUser = value; }
}
// Check to see if DbUser property is set
internal bool IsSetDbUser()
{
return this._dbUser != null;
}
///
/// Gets and sets the property Engine.
///
/// The instance's database engine.
///
///
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 MissingOnRds.
///
/// Set to true
if AWS OpsWorks Stacks is unable to discover the Amazon RDS
/// instance. AWS OpsWorks Stacks attempts to discover the instance only once. If this
/// value is set to true
, you must deregister the instance, and then register
/// it again.
///
///
public bool MissingOnRds
{
get { return this._missingOnRds.GetValueOrDefault(); }
set { this._missingOnRds = value; }
}
// Check to see if MissingOnRds property is set
internal bool IsSetMissingOnRds()
{
return this._missingOnRds.HasValue;
}
///
/// Gets and sets the property RdsDbInstanceArn.
///
/// The instance's ARN.
///
///
public string RdsDbInstanceArn
{
get { return this._rdsDbInstanceArn; }
set { this._rdsDbInstanceArn = value; }
}
// Check to see if RdsDbInstanceArn property is set
internal bool IsSetRdsDbInstanceArn()
{
return this._rdsDbInstanceArn != null;
}
///
/// Gets and sets the property Region.
///
/// The instance's AWS region.
///
///
public string Region
{
get { return this._region; }
set { this._region = value; }
}
// Check to see if Region property is set
internal bool IsSetRegion()
{
return this._region != null;
}
///
/// Gets and sets the property StackId.
///
/// The ID of the stack with which the instance is registered.
///
///
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;
}
}
}