/* * 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 finspace-2021-03-12.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.Finspace.Model { /// /// The details of a kdb cluster. /// public partial class KxCluster { private string _availabilityZoneId; private KxAzMode _azMode; private string _clusterDescription; private string _clusterName; private KxClusterType _clusterType; private DateTime? _createdTimestamp; private string _executionRole; private string _initializationScript; private DateTime? _lastModifiedTimestamp; private string _releaseLabel; private KxClusterStatus _status; private string _statusReason; /// /// Gets and sets the property AvailabilityZoneId. /// /// The availability zone identifiers for the requested regions. /// /// public string AvailabilityZoneId { get { return this._availabilityZoneId; } set { this._availabilityZoneId = value; } } // Check to see if AvailabilityZoneId property is set internal bool IsSetAvailabilityZoneId() { return this._availabilityZoneId != null; } /// /// Gets and sets the property AzMode. /// /// The number of availability zones assigned per cluster. This can be one of the following /// /// /// /// public KxAzMode AzMode { get { return this._azMode; } set { this._azMode = value; } } // Check to see if AzMode property is set internal bool IsSetAzMode() { return this._azMode != null; } /// /// Gets and sets the property ClusterDescription. /// /// A description of the cluster. /// /// [AWSProperty(Min=1, Max=1000)] public string ClusterDescription { get { return this._clusterDescription; } set { this._clusterDescription = value; } } // Check to see if ClusterDescription property is set internal bool IsSetClusterDescription() { return this._clusterDescription != null; } /// /// Gets and sets the property ClusterName. /// /// A unique name for the cluster. /// /// [AWSProperty(Min=3, Max=63)] public string ClusterName { get { return this._clusterName; } set { this._clusterName = value; } } // Check to see if ClusterName property is set internal bool IsSetClusterName() { return this._clusterName != null; } /// /// Gets and sets the property ClusterType. /// /// Specifies the type of KDB database that is being created. The following types are /// available: /// /// /// public KxClusterType 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 CreatedTimestamp. /// /// The timestamp at which the cluster was created in FinSpace. The value is determined /// as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 /// 12:00:00 PM UTC is specified as 1635768000000. /// /// public DateTime CreatedTimestamp { get { return this._createdTimestamp.GetValueOrDefault(); } set { this._createdTimestamp = value; } } // Check to see if CreatedTimestamp property is set internal bool IsSetCreatedTimestamp() { return this._createdTimestamp.HasValue; } /// /// Gets and sets the property ExecutionRole. /// /// An IAM role that defines a set of permissions associated with a cluster. These permissions /// are assumed when a cluster attempts to access another cluster. /// /// [AWSProperty(Min=1, Max=1024)] public string ExecutionRole { get { return this._executionRole; } set { this._executionRole = value; } } // Check to see if ExecutionRole property is set internal bool IsSetExecutionRole() { return this._executionRole != null; } /// /// Gets and sets the property InitializationScript. /// /// Specifies a Q program that will be run at launch of a cluster. It is a relative path /// within .zip file that contains the custom code, which will be loaded on the /// cluster. It must include the file name itself. For example, somedir/init.q. /// /// [AWSProperty(Min=1, Max=255)] public string InitializationScript { get { return this._initializationScript; } set { this._initializationScript = value; } } // Check to see if InitializationScript property is set internal bool IsSetInitializationScript() { return this._initializationScript != null; } /// /// Gets and sets the property LastModifiedTimestamp. /// /// The last time that the cluster was modified. The value is determined as epoch time /// in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC /// is specified as 1635768000000. /// /// public DateTime LastModifiedTimestamp { get { return this._lastModifiedTimestamp.GetValueOrDefault(); } set { this._lastModifiedTimestamp = value; } } // Check to see if LastModifiedTimestamp property is set internal bool IsSetLastModifiedTimestamp() { return this._lastModifiedTimestamp.HasValue; } /// /// Gets and sets the property ReleaseLabel. /// /// A version of the FinSpace managed kdb to run. /// /// [AWSProperty(Min=1, Max=16)] public string ReleaseLabel { get { return this._releaseLabel; } set { this._releaseLabel = value; } } // Check to see if ReleaseLabel property is set internal bool IsSetReleaseLabel() { return this._releaseLabel != null; } /// /// Gets and sets the property Status. /// /// The status of a cluster. /// /// /// public KxClusterStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } /// /// Gets and sets the property StatusReason. /// /// The error message when a failed state occurs. /// /// [AWSProperty(Min=1, Max=250)] public string StatusReason { get { return this._statusReason; } set { this._statusReason = value; } } // Check to see if StatusReason property is set internal bool IsSetStatusReason() { return this._statusReason != null; } } }