/* * 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 CopyDBParameterGroup operation. /// Copies the specified DB parameter group. /// public partial class CopyDBParameterGroupRequest : AmazonRDSRequest { private string _sourceDBParameterGroupIdentifier; private List _tags = new List(); private string _targetDBParameterGroupDescription; private string _targetDBParameterGroupIdentifier; /// /// Gets and sets the property SourceDBParameterGroupIdentifier. /// /// The identifier or ARN for the source DB parameter group. For information about creating /// an ARN, see /// Constructing an ARN for Amazon RDS in the Amazon RDS User Guide. /// /// /// /// Constraints: /// ///
  • /// /// Must specify a valid DB parameter group. /// ///
///
[AWSProperty(Required=true)] public string SourceDBParameterGroupIdentifier { get { return this._sourceDBParameterGroupIdentifier; } set { this._sourceDBParameterGroupIdentifier = value; } } // Check to see if SourceDBParameterGroupIdentifier property is set internal bool IsSetSourceDBParameterGroupIdentifier() { return this._sourceDBParameterGroupIdentifier != null; } /// /// Gets and sets the property Tags. /// public List Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } /// /// Gets and sets the property TargetDBParameterGroupDescription. /// /// A description for the copied DB parameter group. /// /// [AWSProperty(Required=true)] public string TargetDBParameterGroupDescription { get { return this._targetDBParameterGroupDescription; } set { this._targetDBParameterGroupDescription = value; } } // Check to see if TargetDBParameterGroupDescription property is set internal bool IsSetTargetDBParameterGroupDescription() { return this._targetDBParameterGroupDescription != null; } /// /// Gets and sets the property TargetDBParameterGroupIdentifier. /// /// The identifier for the copied DB parameter group. /// /// /// /// Constraints: /// ///
  • /// /// Can't be null, empty, or blank /// ///
  • /// /// Must contain from 1 to 255 letters, numbers, or hyphens /// ///
  • /// /// First character must be a letter /// ///
  • /// /// Can't end with a hyphen or contain two consecutive hyphens /// ///
/// /// Example: my-db-parameter-group /// ///
[AWSProperty(Required=true)] public string TargetDBParameterGroupIdentifier { get { return this._targetDBParameterGroupIdentifier; } set { this._targetDBParameterGroupIdentifier = value; } } // Check to see if TargetDBParameterGroupIdentifier property is set internal bool IsSetTargetDBParameterGroupIdentifier() { return this._targetDBParameterGroupIdentifier != null; } } }