/*
* 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 about a blue/green deployment.
///
///
///
/// For more information, see Using
/// Amazon RDS Blue/Green Deployments for database updates in the Amazon RDS User
/// Guide and Using
/// Amazon RDS Blue/Green Deployments for database updates in the Amazon Aurora
/// User Guide.
///
///
public partial class SwitchoverDetail
{
private string _sourceMember;
private string _status;
private string _targetMember;
///
/// Gets and sets the property SourceMember.
///
/// The Amazon Resource Name (ARN) of a resource in the blue environment.
///
///
[AWSProperty(Min=1, Max=2048)]
public string SourceMember
{
get { return this._sourceMember; }
set { this._sourceMember = value; }
}
// Check to see if SourceMember property is set
internal bool IsSetSourceMember()
{
return this._sourceMember != null;
}
///
/// Gets and sets the property Status.
///
/// The switchover status of a resource in a blue/green deployment.
///
///
///
/// Values:
///
/// -
///
///
PROVISIONING
- The resource is being prepared to switch over.
///
/// -
///
///
AVAILABLE
- The resource is ready to switch over.
///
/// -
///
///
SWITCHOVER_IN_PROGRESS
- The resource is being switched over.
///
/// -
///
///
SWITCHOVER_COMPLETED
- The resource has been switched over.
///
/// -
///
///
SWITCHOVER_FAILED
- The resource attempted to switch over but failed.
///
/// -
///
///
MISSING_SOURCE
- The source resource has been deleted.
///
/// -
///
///
MISSING_TARGET
- The target resource has been deleted.
///
///
///
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 TargetMember.
///
/// The Amazon Resource Name (ARN) of a resource in the green environment.
///
///
[AWSProperty(Min=1, Max=2048)]
public string TargetMember
{
get { return this._targetMember; }
set { this._targetMember = value; }
}
// Check to see if TargetMember property is set
internal bool IsSetTargetMember()
{
return this._targetMember != null;
}
}
}