/*
* 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 neptune-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.Neptune.Model
{
///
/// Container for the parameters to the CopyDBClusterParameterGroup operation.
/// Copies the specified DB cluster parameter group.
///
public partial class CopyDBClusterParameterGroupRequest : AmazonNeptuneRequest
{
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 Amazon Resource Name (ARN).
///
///
///
/// Constraints:
///
/// -
///
/// Must specify a valid DB cluster parameter group.
///
///
-
///
/// If the source DB cluster parameter group is in the same Amazon Region as the copy,
/// specify a valid DB parameter group identifier, for example
my-db-cluster-param-group
,
/// or a valid ARN.
///
/// -
///
/// If the source DB parameter group is in a different Amazon Region than the copy, specify
/// a valid DB cluster parameter group ARN, for example
arn:aws:rds:us-east-1:123456789012:cluster-pg:custom-cluster-group1
.
///
///
///
[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 to be assigned to the copied DB cluster 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 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:
///
/// -
///
/// Cannot be null, empty, or blank
///
///
-
///
/// Must contain from 1 to 255 letters, numbers, or hyphens
///
///
-
///
/// 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;
}
}
}