/* * 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 dax-2017-04-19.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.DAX.Model { /// /// Represents an individual node within a DAX cluster. /// public partial class Node { private string _availabilityZone; private Endpoint _endpoint; private DateTime? _nodeCreateTime; private string _nodeId; private string _nodeStatus; private string _parameterGroupStatus; /// /// Gets and sets the property AvailabilityZone. /// /// The Availability Zone (AZ) in which the node has been deployed. /// /// public string AvailabilityZone { get { return this._availabilityZone; } set { this._availabilityZone = value; } } // Check to see if AvailabilityZone property is set internal bool IsSetAvailabilityZone() { return this._availabilityZone != null; } /// /// Gets and sets the property Endpoint. /// /// The endpoint for the node, consisting of a DNS name and a port number. Client applications /// can connect directly to a node endpoint, if desired (as an alternative to allowing /// DAX client software to intelligently route requests and responses to nodes in the /// DAX cluster. /// /// public Endpoint Endpoint { get { return this._endpoint; } set { this._endpoint = value; } } // Check to see if Endpoint property is set internal bool IsSetEndpoint() { return this._endpoint != null; } /// /// Gets and sets the property NodeCreateTime. /// /// The date and time (in UNIX epoch format) when the node was launched. /// /// public DateTime NodeCreateTime { get { return this._nodeCreateTime.GetValueOrDefault(); } set { this._nodeCreateTime = value; } } // Check to see if NodeCreateTime property is set internal bool IsSetNodeCreateTime() { return this._nodeCreateTime.HasValue; } /// /// Gets and sets the property NodeId. /// /// A system-generated identifier for the node. /// /// public string NodeId { get { return this._nodeId; } set { this._nodeId = value; } } // Check to see if NodeId property is set internal bool IsSetNodeId() { return this._nodeId != null; } /// /// Gets and sets the property NodeStatus. /// /// The current status of the node. For example: available. /// /// public string NodeStatus { get { return this._nodeStatus; } set { this._nodeStatus = value; } } // Check to see if NodeStatus property is set internal bool IsSetNodeStatus() { return this._nodeStatus != null; } /// /// Gets and sets the property ParameterGroupStatus. /// /// The status of the parameter group associated with this node. For example, in-sync. /// /// public string ParameterGroupStatus { get { return this._parameterGroupStatus; } set { this._parameterGroupStatus = value; } } // Check to see if ParameterGroupStatus property is set internal bool IsSetParameterGroupStatus() { return this._parameterGroupStatus != null; } } }