/*
* 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 codedeploy-2014-10-06.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.CodeDeploy.Model
{
///
/// Information about the Elastic Load Balancing load balancer or target group used in
/// a deployment.
///
public partial class LoadBalancerInfo
{
private List _elbInfoList = new List();
private List _targetGroupInfoList = new List();
private List _targetGroupPairInfoList = new List();
///
/// Gets and sets the property ElbInfoList.
///
/// An array that contains information about the load balancer to use for load balancing
/// in a deployment. In Elastic Load Balancing, load balancers are used with Classic Load
/// Balancers.
///
///
///
/// Adding more than one load balancer to the array is not supported.
///
///
///
public List ElbInfoList
{
get { return this._elbInfoList; }
set { this._elbInfoList = value; }
}
// Check to see if ElbInfoList property is set
internal bool IsSetElbInfoList()
{
return this._elbInfoList != null && this._elbInfoList.Count > 0;
}
///
/// Gets and sets the property TargetGroupInfoList.
///
/// An array that contains information about the target group to use for load balancing
/// in a deployment. In Elastic Load Balancing, target groups are used with Application
/// Load Balancers.
///
///
///
/// Adding more than one target group to the array is not supported.
///
///
///
public List TargetGroupInfoList
{
get { return this._targetGroupInfoList; }
set { this._targetGroupInfoList = value; }
}
// Check to see if TargetGroupInfoList property is set
internal bool IsSetTargetGroupInfoList()
{
return this._targetGroupInfoList != null && this._targetGroupInfoList.Count > 0;
}
///
/// Gets and sets the property TargetGroupPairInfoList.
///
/// The target group pair information. This is an array of TargeGroupPairInfo
/// objects with a maximum size of one.
///
///
public List TargetGroupPairInfoList
{
get { return this._targetGroupPairInfoList; }
set { this._targetGroupPairInfoList = value; }
}
// Check to see if TargetGroupPairInfoList property is set
internal bool IsSetTargetGroupPairInfoList()
{
return this._targetGroupPairInfoList != null && this._targetGroupPairInfoList.Count > 0;
}
}
}