/*
* 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
{
///
/// Container for the parameters to the SwitchoverReadReplica operation.
/// Switches over an Oracle standby database in an Oracle Data Guard environment, making
/// it the new primary database. Issue this command in the Region that hosts the current
/// standby database.
///
public partial class SwitchoverReadReplicaRequest : AmazonRDSRequest
{
private string _dbInstanceIdentifier;
///
/// Gets and sets the property DBInstanceIdentifier.
///
/// The DB instance identifier of the current standby database. This value is stored as
/// a lowercase string.
///
///
///
/// Constraints:
///
/// -
///
/// Must match the identiļ¬er of an existing Oracle read replica DB instance.
///
///
///
[AWSProperty(Required=true)]
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;
}
}
}