/*
* 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 kafka-2018-11-14.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.Kafka.Model
{
///
/// The node information object.
///
public partial class NodeInfo
{
private string _addedToClusterTime;
private BrokerNodeInfo _brokerNodeInfo;
private string _instanceType;
private string _nodeARN;
private NodeType _nodeType;
private ZookeeperNodeInfo _zookeeperNodeInfo;
///
/// Gets and sets the property AddedToClusterTime.
///
/// The start time.
///
///
public string AddedToClusterTime
{
get { return this._addedToClusterTime; }
set { this._addedToClusterTime = value; }
}
// Check to see if AddedToClusterTime property is set
internal bool IsSetAddedToClusterTime()
{
return this._addedToClusterTime != null;
}
///
/// Gets and sets the property BrokerNodeInfo.
///
/// The broker node info.
///
///
public BrokerNodeInfo BrokerNodeInfo
{
get { return this._brokerNodeInfo; }
set { this._brokerNodeInfo = value; }
}
// Check to see if BrokerNodeInfo property is set
internal bool IsSetBrokerNodeInfo()
{
return this._brokerNodeInfo != null;
}
///
/// Gets and sets the property InstanceType.
///
/// The instance type.
///
///
public string InstanceType
{
get { return this._instanceType; }
set { this._instanceType = value; }
}
// Check to see if InstanceType property is set
internal bool IsSetInstanceType()
{
return this._instanceType != null;
}
///
/// Gets and sets the property NodeARN.
///
/// The Amazon Resource Name (ARN) of the node.
///
///
public string NodeARN
{
get { return this._nodeARN; }
set { this._nodeARN = value; }
}
// Check to see if NodeARN property is set
internal bool IsSetNodeARN()
{
return this._nodeARN != null;
}
///
/// Gets and sets the property NodeType.
///
/// The node type.
///
///
public NodeType 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 ZookeeperNodeInfo.
///
/// The ZookeeperNodeInfo.
///
///
public ZookeeperNodeInfo ZookeeperNodeInfo
{
get { return this._zookeeperNodeInfo; }
set { this._zookeeperNodeInfo = value; }
}
// Check to see if ZookeeperNodeInfo property is set
internal bool IsSetZookeeperNodeInfo()
{
return this._zookeeperNodeInfo != null;
}
}
}