/* * 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 DeleteBlueGreenDeployment operation. /// Deletes 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 DeleteBlueGreenDeploymentRequest : AmazonRDSRequest { private string _blueGreenDeploymentIdentifier; private bool? _deleteTarget; /// /// Gets and sets the property BlueGreenDeploymentIdentifier. /// /// The unique identifier of the blue/green deployment to delete. This parameter isn't /// case-sensitive. /// /// /// /// Constraints: /// /// /// [AWSProperty(Required=true, Min=1, Max=255)] public string BlueGreenDeploymentIdentifier { get { return this._blueGreenDeploymentIdentifier; } set { this._blueGreenDeploymentIdentifier = value; } } // Check to see if BlueGreenDeploymentIdentifier property is set internal bool IsSetBlueGreenDeploymentIdentifier() { return this._blueGreenDeploymentIdentifier != null; } /// /// Gets and sets the property DeleteTarget. /// /// Specifies whether to delete the resources in the green environment. You can't specify /// this option if the blue/green deployment status /// is SWITCHOVER_COMPLETED. /// /// public bool DeleteTarget { get { return this._deleteTarget.GetValueOrDefault(); } set { this._deleteTarget = value; } } // Check to see if DeleteTarget property is set internal bool IsSetDeleteTarget() { return this._deleteTarget.HasValue; } } }