/* * 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 redshift-2012-12-01.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.Redshift.Model { /// /// Describes cluster attributes that are in a pending state. A change to one or more /// the attributes was requested and is in progress or will be applied. /// public partial class PendingModifiedValues { private int? _automatedSnapshotRetentionPeriod; private string _clusterIdentifier; private string _clusterType; private string _clusterVersion; private string _encryptionType; private bool? _enhancedVpcRouting; private string _maintenanceTrackName; private string _masterUserPassword; private string _nodeType; private int? _numberOfNodes; private bool? _publiclyAccessible; /// /// Gets and sets the property AutomatedSnapshotRetentionPeriod. /// /// The pending or in-progress change of the automated snapshot retention period. /// /// public int AutomatedSnapshotRetentionPeriod { get { return this._automatedSnapshotRetentionPeriod.GetValueOrDefault(); } set { this._automatedSnapshotRetentionPeriod = value; } } // Check to see if AutomatedSnapshotRetentionPeriod property is set internal bool IsSetAutomatedSnapshotRetentionPeriod() { return this._automatedSnapshotRetentionPeriod.HasValue; } /// /// Gets and sets the property ClusterIdentifier. /// /// The pending or in-progress change of the new identifier for the cluster. /// /// [AWSProperty(Max=2147483647)] public string ClusterIdentifier { get { return this._clusterIdentifier; } set { this._clusterIdentifier = value; } } // Check to see if ClusterIdentifier property is set internal bool IsSetClusterIdentifier() { return this._clusterIdentifier != null; } /// /// Gets and sets the property ClusterType. /// /// The pending or in-progress change of the cluster type. /// /// [AWSProperty(Max=2147483647)] public string ClusterType { get { return this._clusterType; } set { this._clusterType = value; } } // Check to see if ClusterType property is set internal bool IsSetClusterType() { return this._clusterType != null; } /// /// Gets and sets the property ClusterVersion. /// /// The pending or in-progress change of the service version. /// /// [AWSProperty(Max=2147483647)] public string ClusterVersion { get { return this._clusterVersion; } set { this._clusterVersion = value; } } // Check to see if ClusterVersion property is set internal bool IsSetClusterVersion() { return this._clusterVersion != null; } /// /// Gets and sets the property EncryptionType. /// /// The encryption type for a cluster. Possible values are: KMS and None. /// /// [AWSProperty(Max=2147483647)] public string EncryptionType { get { return this._encryptionType; } set { this._encryptionType = value; } } // Check to see if EncryptionType property is set internal bool IsSetEncryptionType() { return this._encryptionType != null; } /// /// Gets and sets the property EnhancedVpcRouting. /// /// An option that specifies whether to create the cluster with enhanced VPC routing enabled. /// To create a cluster that uses enhanced VPC routing, the cluster must be in a VPC. /// For more information, see Enhanced /// VPC Routing in the Amazon Redshift Cluster Management Guide. /// /// /// /// If this option is true, enhanced VPC routing is enabled. /// /// /// /// Default: false /// /// public bool EnhancedVpcRouting { get { return this._enhancedVpcRouting.GetValueOrDefault(); } set { this._enhancedVpcRouting = value; } } // Check to see if EnhancedVpcRouting property is set internal bool IsSetEnhancedVpcRouting() { return this._enhancedVpcRouting.HasValue; } /// /// Gets and sets the property MaintenanceTrackName. /// /// The name of the maintenance track that the cluster will change to during the next /// maintenance window. /// /// [AWSProperty(Max=2147483647)] public string MaintenanceTrackName { get { return this._maintenanceTrackName; } set { this._maintenanceTrackName = value; } } // Check to see if MaintenanceTrackName property is set internal bool IsSetMaintenanceTrackName() { return this._maintenanceTrackName != null; } /// /// Gets and sets the property MasterUserPassword. /// /// The pending or in-progress change of the admin user password for the cluster. /// /// [AWSProperty(Max=2147483647)] public string MasterUserPassword { get { return this._masterUserPassword; } set { this._masterUserPassword = value; } } // Check to see if MasterUserPassword property is set internal bool IsSetMasterUserPassword() { return this._masterUserPassword != null; } /// /// Gets and sets the property NodeType. /// /// The pending or in-progress change of the cluster's node type. /// /// [AWSProperty(Max=2147483647)] public string NodeType { get { return this._nodeType; } set { this._nodeType = value; } } // Check to see if NodeType property is set internal bool IsSetNodeType() { return this._nodeType != null; } /// /// Gets and sets the property NumberOfNodes. /// /// The pending or in-progress change of the number of nodes in the cluster. /// /// public int NumberOfNodes { get { return this._numberOfNodes.GetValueOrDefault(); } set { this._numberOfNodes = value; } } // Check to see if NumberOfNodes property is set internal bool IsSetNumberOfNodes() { return this._numberOfNodes.HasValue; } /// /// Gets and sets the property PubliclyAccessible. /// /// The pending or in-progress change of the ability to connect to the cluster from the /// public network. /// /// public bool PubliclyAccessible { get { return this._publiclyAccessible.GetValueOrDefault(); } set { this._publiclyAccessible = value; } } // Check to see if PubliclyAccessible property is set internal bool IsSetPubliclyAccessible() { return this._publiclyAccessible.HasValue; } } }