/* * 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 CopyDBClusterParameterGroup operation. /// Copies the specified DB cluster parameter group. /// public partial class CopyDBClusterParameterGroupRequest : AmazonRDSRequest { private string _sourceDBClusterParameterGroupIdentifier; private List _tags = new List(); private string _targetDBClusterParameterGroupDescription; private string _targetDBClusterParameterGroupIdentifier; /// /// Gets and sets the property SourceDBClusterParameterGroupIdentifier. /// /// The identifier or Amazon Resource Name (ARN) for the source DB cluster parameter group. /// For information about creating an ARN, see /// Constructing an ARN for Amazon RDS in the Amazon Aurora User Guide. /// /// /// /// Constraints: /// ///
  • /// /// Must specify a valid DB cluster parameter group. /// ///
///
[AWSProperty(Required=true)] public string SourceDBClusterParameterGroupIdentifier { get { return this._sourceDBClusterParameterGroupIdentifier; } set { this._sourceDBClusterParameterGroupIdentifier = value; } } // Check to see if SourceDBClusterParameterGroupIdentifier property is set internal bool IsSetSourceDBClusterParameterGroupIdentifier() { return this._sourceDBClusterParameterGroupIdentifier != 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 TargetDBClusterParameterGroupDescription. /// /// A description for the copied DB cluster parameter group. /// /// [AWSProperty(Required=true)] public string TargetDBClusterParameterGroupDescription { get { return this._targetDBClusterParameterGroupDescription; } set { this._targetDBClusterParameterGroupDescription = value; } } // Check to see if TargetDBClusterParameterGroupDescription property is set internal bool IsSetTargetDBClusterParameterGroupDescription() { return this._targetDBClusterParameterGroupDescription != null; } /// /// Gets and sets the property TargetDBClusterParameterGroupIdentifier. /// /// The identifier for the copied DB cluster 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-cluster-param-group1 /// ///
[AWSProperty(Required=true)] public string TargetDBClusterParameterGroupIdentifier { get { return this._targetDBClusterParameterGroupIdentifier; } set { this._targetDBClusterParameterGroupIdentifier = value; } } // Check to see if TargetDBClusterParameterGroupIdentifier property is set internal bool IsSetTargetDBClusterParameterGroupIdentifier() { return this._targetDBClusterParameterGroupIdentifier != null; } } }