/*
* 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 neptune-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.Neptune.Model
{
///
/// Container for the parameters to the RebootDBInstance operation.
/// You might need to reboot your DB instance, usually for maintenance reasons. For example,
/// if you make certain modifications, or if you change the DB parameter group associated
/// with the DB instance, you must reboot the instance for the changes to take effect.
///
///
///
/// Rebooting a DB instance restarts the database engine service. Rebooting a DB instance
/// results in a momentary outage, during which the DB instance status is set to rebooting.
///
///
public partial class RebootDBInstanceRequest : AmazonNeptuneRequest
{
private string _dbInstanceIdentifier;
private bool? _forceFailover;
///
/// Gets and sets the property DBInstanceIdentifier.
///
/// The DB instance identifier. This parameter is stored as a lowercase string.
///
///
///
/// Constraints:
///
/// -
///
/// Must match the identifier of an existing DBInstance.
///
///
///
[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;
}
///
/// Gets and sets the property ForceFailover.
///
/// When true
, the reboot is conducted through a MultiAZ failover.
///
///
///
/// Constraint: You can't specify true
if the instance is not configured
/// for MultiAZ.
///
///
public bool ForceFailover
{
get { return this._forceFailover.GetValueOrDefault(); }
set { this._forceFailover = value; }
}
// Check to see if ForceFailover property is set
internal bool IsSetForceFailover()
{
return this._forceFailover.HasValue;
}
}
}