/*
* 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 elasticloadbalancingv2-2015-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.ElasticLoadBalancingV2.Model
{
///
/// Information about an Availability Zone.
///
public partial class AvailabilityZone
{
private List _loadBalancerAddresses = new List();
private string _outpostId;
private string _subnetId;
private string _zoneName;
///
/// Gets and sets the property LoadBalancerAddresses.
///
/// [Network Load Balancers] If you need static IP addresses for your load balancer, you
/// can specify one Elastic IP address per Availability Zone when you create an internal-facing
/// load balancer. For internal load balancers, you can specify a private IP address from
/// the IPv4 range of the subnet.
///
///
public List LoadBalancerAddresses
{
get { return this._loadBalancerAddresses; }
set { this._loadBalancerAddresses = value; }
}
// Check to see if LoadBalancerAddresses property is set
internal bool IsSetLoadBalancerAddresses()
{
return this._loadBalancerAddresses != null && this._loadBalancerAddresses.Count > 0;
}
///
/// Gets and sets the property OutpostId.
///
/// [Application Load Balancers on Outposts] The ID of the Outpost.
///
///
public string OutpostId
{
get { return this._outpostId; }
set { this._outpostId = value; }
}
// Check to see if OutpostId property is set
internal bool IsSetOutpostId()
{
return this._outpostId != null;
}
///
/// Gets and sets the property SubnetId.
///
/// The ID of the subnet. You can specify one subnet per Availability Zone.
///
///
public string SubnetId
{
get { return this._subnetId; }
set { this._subnetId = value; }
}
// Check to see if SubnetId property is set
internal bool IsSetSubnetId()
{
return this._subnetId != null;
}
///
/// Gets and sets the property ZoneName.
///
/// The name of the Availability Zone.
///
///
public string ZoneName
{
get { return this._zoneName; }
set { this._zoneName = value; }
}
// Check to see if ZoneName property is set
internal bool IsSetZoneName()
{
return this._zoneName != null;
}
}
}