/*
* 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 securityhub-2018-10-26.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.SecurityHub.Model
{
///
/// Contains details about a Classic Load Balancer.
///
public partial class AwsElbLoadBalancerDetails
{
private List _availabilityZones = new List();
private List _backendServerDescriptions = new List();
private string _canonicalHostedZoneName;
private string _canonicalHostedZoneNameID;
private string _createdTime;
private string _dnsName;
private AwsElbLoadBalancerHealthCheck _healthCheck;
private List _instances = new List();
private List _listenerDescriptions = new List();
private AwsElbLoadBalancerAttributes _loadBalancerAttributes;
private string _loadBalancerName;
private AwsElbLoadBalancerPolicies _policies;
private string _scheme;
private List _securityGroups = new List();
private AwsElbLoadBalancerSourceSecurityGroup _sourceSecurityGroup;
private List _subnets = new List();
private string _vpcId;
///
/// Gets and sets the property AvailabilityZones.
///
/// The list of Availability Zones for the load balancer.
///
///
public List AvailabilityZones
{
get { return this._availabilityZones; }
set { this._availabilityZones = value; }
}
// Check to see if AvailabilityZones property is set
internal bool IsSetAvailabilityZones()
{
return this._availabilityZones != null && this._availabilityZones.Count > 0;
}
///
/// Gets and sets the property BackendServerDescriptions.
///
/// Information about the configuration of the EC2 instances.
///
///
public List BackendServerDescriptions
{
get { return this._backendServerDescriptions; }
set { this._backendServerDescriptions = value; }
}
// Check to see if BackendServerDescriptions property is set
internal bool IsSetBackendServerDescriptions()
{
return this._backendServerDescriptions != null && this._backendServerDescriptions.Count > 0;
}
///
/// Gets and sets the property CanonicalHostedZoneName.
///
/// The name of the Amazon RouteĀ 53 hosted zone for the load balancer.
///
///
public string CanonicalHostedZoneName
{
get { return this._canonicalHostedZoneName; }
set { this._canonicalHostedZoneName = value; }
}
// Check to see if CanonicalHostedZoneName property is set
internal bool IsSetCanonicalHostedZoneName()
{
return this._canonicalHostedZoneName != null;
}
///
/// Gets and sets the property CanonicalHostedZoneNameID.
///
/// The ID of the Amazon RouteĀ 53 hosted zone for the load balancer.
///
///
public string CanonicalHostedZoneNameID
{
get { return this._canonicalHostedZoneNameID; }
set { this._canonicalHostedZoneNameID = value; }
}
// Check to see if CanonicalHostedZoneNameID property is set
internal bool IsSetCanonicalHostedZoneNameID()
{
return this._canonicalHostedZoneNameID != null;
}
///
/// Gets and sets the property CreatedTime.
///
/// Indicates when the load balancer was created.
///
///
///
/// Uses the date-time
format specified in RFC
/// 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces,
/// and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
///
///
public string CreatedTime
{
get { return this._createdTime; }
set { this._createdTime = value; }
}
// Check to see if CreatedTime property is set
internal bool IsSetCreatedTime()
{
return this._createdTime != null;
}
///
/// Gets and sets the property DnsName.
///
/// The DNS name of the load balancer.
///
///
public string DnsName
{
get { return this._dnsName; }
set { this._dnsName = value; }
}
// Check to see if DnsName property is set
internal bool IsSetDnsName()
{
return this._dnsName != null;
}
///
/// Gets and sets the property HealthCheck.
///
/// Information about the health checks that are conducted on the load balancer.
///
///
public AwsElbLoadBalancerHealthCheck HealthCheck
{
get { return this._healthCheck; }
set { this._healthCheck = value; }
}
// Check to see if HealthCheck property is set
internal bool IsSetHealthCheck()
{
return this._healthCheck != null;
}
///
/// Gets and sets the property Instances.
///
/// List of EC2 instances for the load balancer.
///
///
public List Instances
{
get { return this._instances; }
set { this._instances = value; }
}
// Check to see if Instances property is set
internal bool IsSetInstances()
{
return this._instances != null && this._instances.Count > 0;
}
///
/// Gets and sets the property ListenerDescriptions.
///
/// The policies that are enabled for the load balancer listeners.
///
///
public List ListenerDescriptions
{
get { return this._listenerDescriptions; }
set { this._listenerDescriptions = value; }
}
// Check to see if ListenerDescriptions property is set
internal bool IsSetListenerDescriptions()
{
return this._listenerDescriptions != null && this._listenerDescriptions.Count > 0;
}
///
/// Gets and sets the property LoadBalancerAttributes.
///
/// The attributes for a load balancer.
///
///
public AwsElbLoadBalancerAttributes LoadBalancerAttributes
{
get { return this._loadBalancerAttributes; }
set { this._loadBalancerAttributes = value; }
}
// Check to see if LoadBalancerAttributes property is set
internal bool IsSetLoadBalancerAttributes()
{
return this._loadBalancerAttributes != null;
}
///
/// Gets and sets the property LoadBalancerName.
///
/// The name of the load balancer.
///
///
public string LoadBalancerName
{
get { return this._loadBalancerName; }
set { this._loadBalancerName = value; }
}
// Check to see if LoadBalancerName property is set
internal bool IsSetLoadBalancerName()
{
return this._loadBalancerName != null;
}
///
/// Gets and sets the property Policies.
///
/// The policies for a load balancer.
///
///
public AwsElbLoadBalancerPolicies Policies
{
get { return this._policies; }
set { this._policies = value; }
}
// Check to see if Policies property is set
internal bool IsSetPolicies()
{
return this._policies != null;
}
///
/// Gets and sets the property Scheme.
///
/// The type of load balancer. Only provided if the load balancer is in a VPC.
///
///
///
/// If Scheme
is internet-facing
, the load balancer has a public
/// DNS name that resolves to a public IP address.
///
///
///
/// If Scheme
is internal
, the load balancer has a public DNS
/// name that resolves to a private IP address.
///
///
public string Scheme
{
get { return this._scheme; }
set { this._scheme = value; }
}
// Check to see if Scheme property is set
internal bool IsSetScheme()
{
return this._scheme != null;
}
///
/// Gets and sets the property SecurityGroups.
///
/// The security groups for the load balancer. Only provided if the load balancer is in
/// a VPC.
///
///
public List SecurityGroups
{
get { return this._securityGroups; }
set { this._securityGroups = value; }
}
// Check to see if SecurityGroups property is set
internal bool IsSetSecurityGroups()
{
return this._securityGroups != null && this._securityGroups.Count > 0;
}
///
/// Gets and sets the property SourceSecurityGroup.
///
/// Information about the security group for the load balancer. This is the security group
/// that is used for inbound rules.
///
///
public AwsElbLoadBalancerSourceSecurityGroup SourceSecurityGroup
{
get { return this._sourceSecurityGroup; }
set { this._sourceSecurityGroup = value; }
}
// Check to see if SourceSecurityGroup property is set
internal bool IsSetSourceSecurityGroup()
{
return this._sourceSecurityGroup != null;
}
///
/// Gets and sets the property Subnets.
///
/// The list of subnet identifiers for the load balancer.
///
///
public List Subnets
{
get { return this._subnets; }
set { this._subnets = value; }
}
// Check to see if Subnets property is set
internal bool IsSetSubnets()
{
return this._subnets != null && this._subnets.Count > 0;
}
///
/// Gets and sets the property VpcId.
///
/// The identifier of the VPC for the load balancer.
///
///
public string VpcId
{
get { return this._vpcId; }
set { this._vpcId = value; }
}
// Check to see if VpcId property is set
internal bool IsSetVpcId()
{
return this._vpcId != null;
}
}
}