/* * 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 CreateDBClusterSnapshot operation. /// Creates a snapshot of a DB cluster. /// /// /// /// For more information on Amazon Aurora, see /// What is Amazon Aurora? in the Amazon Aurora User Guide. /// /// /// /// For more information on Multi-AZ DB clusters, see /// Multi-AZ DB cluster deployments in the Amazon RDS User Guide. /// /// public partial class CreateDBClusterSnapshotRequest : AmazonRDSRequest { private string _dbClusterIdentifier; private string _dbClusterSnapshotIdentifier; private List _tags = new List(); /// /// Gets and sets the property DBClusterIdentifier. /// /// The identifier of the DB cluster to create a snapshot for. This parameter isn't case-sensitive. /// /// /// /// Constraints: /// ///
  • /// /// Must match the identifier of an existing DBCluster. /// ///
/// /// Example: my-cluster1 /// ///
[AWSProperty(Required=true)] public string DBClusterIdentifier { get { return this._dbClusterIdentifier; } set { this._dbClusterIdentifier = value; } } // Check to see if DBClusterIdentifier property is set internal bool IsSetDBClusterIdentifier() { return this._dbClusterIdentifier != null; } /// /// Gets and sets the property DBClusterSnapshotIdentifier. /// /// The identifier of the DB cluster snapshot. This parameter is stored as a lowercase /// string. /// /// /// /// Constraints: /// ///
  • /// /// Must contain from 1 to 63 letters, numbers, or hyphens. /// ///
  • /// /// First character must be a letter. /// ///
  • /// /// Can't end with a hyphen or contain two consecutive hyphens. /// ///
/// /// Example: my-cluster1-snapshot1 /// ///
[AWSProperty(Required=true)] public string DBClusterSnapshotIdentifier { get { return this._dbClusterSnapshotIdentifier; } set { this._dbClusterSnapshotIdentifier = value; } } // Check to see if DBClusterSnapshotIdentifier property is set internal bool IsSetDBClusterSnapshotIdentifier() { return this._dbClusterSnapshotIdentifier != null; } /// /// Gets and sets the property Tags. /// /// The tags to be assigned to the DB cluster snapshot. /// /// 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; } } }