/*
* 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 docdb-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.DocDB.Model
{
///
/// Container for the parameters to the CopyDBClusterParameterGroup operation.
/// Copies the specified cluster parameter group.
///
public partial class CopyDBClusterParameterGroupRequest : AmazonDocDBRequest
{
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 cluster parameter group.
///
///
///
/// Constraints:
///
/// -
///
/// Must specify a valid cluster parameter group.
///
///
-
///
/// If the source cluster parameter group is in the same Amazon Web Services Region as
/// the copy, specify a valid parameter group identifier; for example,
my-db-cluster-param-group
,
/// or a valid ARN.
///
/// -
///
/// If the source parameter group is in a different Amazon Web Services Region than the
/// copy, specify a valid cluster parameter group ARN; for example,
arn:aws:rds:us-east-1:123456789012:sample-cluster:sample-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.
///
/// The tags that are to be assigned to the parameter group.
///
///
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 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 cluster parameter group.
///
///
///
/// Constraints:
///
/// -
///
/// Cannot be null, empty, or blank.
///
///
-
///
/// Must contain from 1 to 255 letters, numbers, or hyphens.
///
///
-
///
/// The first character must be a letter.
///
///
-
///
/// Cannot 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;
}
}
}