/* * 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 CreateGlobalCluster operation. /// Creates a Neptune global database spread across multiple Amazon Regions. The global /// database contains a single primary cluster with read-write capability, and read-only /// secondary clusters that receive data from the primary cluster through high-speed replication /// performed by the Neptune storage subsystem. /// /// /// /// You can create a global database that is initially empty, and then add a primary cluster /// and secondary clusters to it, or you can specify an existing Neptune cluster during /// the create operation to become the primary cluster of the global database. /// /// public partial class CreateGlobalClusterRequest : AmazonNeptuneRequest { private bool? _deletionProtection; private string _engine; private string _engineVersion; private string _globalClusterIdentifier; private string _sourceDBClusterIdentifier; private bool? _storageEncrypted; /// /// Gets and sets the property DeletionProtection. /// /// The deletion protection setting for the new global database. The global database can't /// be deleted when deletion protection is enabled. /// /// public bool DeletionProtection { get { return this._deletionProtection.GetValueOrDefault(); } set { this._deletionProtection = value; } } // Check to see if DeletionProtection property is set internal bool IsSetDeletionProtection() { return this._deletionProtection.HasValue; } /// /// Gets and sets the property Engine. /// /// The name of the database engine to be used in the global database. /// /// /// /// Valid values: neptune /// /// public string Engine { get { return this._engine; } set { this._engine = value; } } // Check to see if Engine property is set internal bool IsSetEngine() { return this._engine != null; } /// /// Gets and sets the property EngineVersion. /// /// The Neptune engine version to be used by the global database. /// /// /// /// Valid values: 1.2.0.0 or above. /// /// public string EngineVersion { get { return this._engineVersion; } set { this._engineVersion = value; } } // Check to see if EngineVersion property is set internal bool IsSetEngineVersion() { return this._engineVersion != null; } /// /// Gets and sets the property GlobalClusterIdentifier. /// /// The cluster identifier of the new global database cluster. /// /// [AWSProperty(Required=true, Min=1, Max=255)] public string GlobalClusterIdentifier { get { return this._globalClusterIdentifier; } set { this._globalClusterIdentifier = value; } } // Check to see if GlobalClusterIdentifier property is set internal bool IsSetGlobalClusterIdentifier() { return this._globalClusterIdentifier != null; } /// /// Gets and sets the property SourceDBClusterIdentifier. /// /// (Optional) The Amazon Resource Name (ARN) of an existing Neptune DB cluster /// to use as the primary cluster of the new global database. /// /// public string SourceDBClusterIdentifier { get { return this._sourceDBClusterIdentifier; } set { this._sourceDBClusterIdentifier = value; } } // Check to see if SourceDBClusterIdentifier property is set internal bool IsSetSourceDBClusterIdentifier() { return this._sourceDBClusterIdentifier != null; } /// /// Gets and sets the property StorageEncrypted. /// /// The storage encryption setting for the new global database cluster. /// /// public bool StorageEncrypted { get { return this._storageEncrypted.GetValueOrDefault(); } set { this._storageEncrypted = value; } } // Check to see if StorageEncrypted property is set internal bool IsSetStorageEncrypted() { return this._storageEncrypted.HasValue; } } }