/*
* 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
{
///
/// Zookeeper node information.
///
public partial class ZookeeperNodeInfo
{
private string _attachedENIId;
private string _clientVpcIpAddress;
private List _endpoints = new List();
private double? _zookeeperId;
private string _zookeeperVersion;
///
/// Gets and sets the property AttachedENIId.
///
/// The attached elastic network interface of the broker.
///
///
public string AttachedENIId
{
get { return this._attachedENIId; }
set { this._attachedENIId = value; }
}
// Check to see if AttachedENIId property is set
internal bool IsSetAttachedENIId()
{
return this._attachedENIId != null;
}
///
/// Gets and sets the property ClientVpcIpAddress.
///
/// The virtual private cloud (VPC) IP address of the client.
///
///
public string ClientVpcIpAddress
{
get { return this._clientVpcIpAddress; }
set { this._clientVpcIpAddress = value; }
}
// Check to see if ClientVpcIpAddress property is set
internal bool IsSetClientVpcIpAddress()
{
return this._clientVpcIpAddress != null;
}
///
/// Gets and sets the property Endpoints.
///
/// Endpoints for accessing the ZooKeeper.
///
///
public List Endpoints
{
get { return this._endpoints; }
set { this._endpoints = value; }
}
// Check to see if Endpoints property is set
internal bool IsSetEndpoints()
{
return this._endpoints != null && this._endpoints.Count > 0;
}
///
/// Gets and sets the property ZookeeperId.
///
/// The role-specific ID for Zookeeper.
///
///
public double ZookeeperId
{
get { return this._zookeeperId.GetValueOrDefault(); }
set { this._zookeeperId = value; }
}
// Check to see if ZookeeperId property is set
internal bool IsSetZookeeperId()
{
return this._zookeeperId.HasValue;
}
///
/// Gets and sets the property ZookeeperVersion.
///
/// The version of Zookeeper.
///
///
public string ZookeeperVersion
{
get { return this._zookeeperVersion; }
set { this._zookeeperVersion = value; }
}
// Check to see if ZookeeperVersion property is set
internal bool IsSetZookeeperVersion()
{
return this._zookeeperVersion != null;
}
}
}