/*
* 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 CreateDBClusterParameterGroup operation.
/// Creates a new cluster parameter group.
///
///
///
/// Parameters in a cluster parameter group apply to all of the instances in a cluster.
///
///
///
/// A cluster parameter group is initially created with the default parameters for the
/// database engine used by instances in the cluster. In Amazon DocumentDB, you cannot
/// make modifications directly to the default.docdb3.6
cluster parameter
/// group. If your Amazon DocumentDB cluster is using the default cluster parameter group
/// and you want to modify a value in it, you must first
/// create a new parameter group or
/// copy an existing parameter group, modify it, and then apply the modified parameter
/// group to your cluster. For the new cluster parameter group and associated settings
/// to take effect, you must then reboot the instances in the cluster without failover.
/// For more information, see
/// Modifying Amazon DocumentDB Cluster Parameter Groups.
///
///
public partial class CreateDBClusterParameterGroupRequest : AmazonDocDBRequest
{
private string _dbClusterParameterGroupName;
private string _dbParameterGroupFamily;
private string _description;
private List _tags = new List();
///
/// Gets and sets the property DBClusterParameterGroupName.
///
/// The name of the cluster parameter group.
///
///
///
/// Constraints:
///
/// -
///
/// Must not match the name of an existing
DBClusterParameterGroup
.
///
///
///
/// This value is stored as a lowercase string.
///
///
///
[AWSProperty(Required=true)]
public string DBClusterParameterGroupName
{
get { return this._dbClusterParameterGroupName; }
set { this._dbClusterParameterGroupName = value; }
}
// Check to see if DBClusterParameterGroupName property is set
internal bool IsSetDBClusterParameterGroupName()
{
return this._dbClusterParameterGroupName != null;
}
///
/// Gets and sets the property DBParameterGroupFamily.
///
/// The cluster parameter group family name.
///
///
[AWSProperty(Required=true)]
public string DBParameterGroupFamily
{
get { return this._dbParameterGroupFamily; }
set { this._dbParameterGroupFamily = value; }
}
// Check to see if DBParameterGroupFamily property is set
internal bool IsSetDBParameterGroupFamily()
{
return this._dbParameterGroupFamily != null;
}
///
/// Gets and sets the property Description.
///
/// The description for the cluster parameter group.
///
///
[AWSProperty(Required=true)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
///
/// Gets and sets the property Tags.
///
/// The tags to be assigned to the 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;
}
}
}