#[non_exhaustive]pub struct LoadBalancerDescription { /* private fields */ }
Expand description
Information about a load balancer.
Implementations§
source§impl LoadBalancerDescription
impl LoadBalancerDescription
sourcepub fn load_balancer_name(&self) -> Option<&str>
pub fn load_balancer_name(&self) -> Option<&str>
The name of the load balancer.
sourcepub fn canonical_hosted_zone_name(&self) -> Option<&str>
pub fn canonical_hosted_zone_name(&self) -> Option<&str>
The DNS name of the load balancer.
For more information, see Configure a Custom Domain Name in the Classic Load Balancers Guide.
sourcepub fn canonical_hosted_zone_name_id(&self) -> Option<&str>
pub fn canonical_hosted_zone_name_id(&self) -> Option<&str>
The ID of the Amazon Route 53 hosted zone for the load balancer.
sourcepub fn listener_descriptions(&self) -> Option<&[ListenerDescription]>
pub fn listener_descriptions(&self) -> Option<&[ListenerDescription]>
The listeners for the load balancer.
sourcepub fn backend_server_descriptions(&self) -> Option<&[BackendServerDescription]>
pub fn backend_server_descriptions(&self) -> Option<&[BackendServerDescription]>
Information about your EC2 instances.
sourcepub fn availability_zones(&self) -> Option<&[String]>
pub fn availability_zones(&self) -> Option<&[String]>
The Availability Zones for the load balancer.
sourcepub fn health_check(&self) -> Option<&HealthCheck>
pub fn health_check(&self) -> Option<&HealthCheck>
Information about the health checks conducted on the load balancer.
sourcepub fn source_security_group(&self) -> Option<&SourceSecurityGroup>
pub fn source_security_group(&self) -> Option<&SourceSecurityGroup>
The security group for the load balancer, which you can use as part of your inbound rules for your registered instances. To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source.
sourcepub fn security_groups(&self) -> Option<&[String]>
pub fn security_groups(&self) -> Option<&[String]>
The security groups for the load balancer. Valid only for load balancers in a VPC.
sourcepub fn created_time(&self) -> Option<&DateTime>
pub fn created_time(&self) -> Option<&DateTime>
The date and time the load balancer was created.
sourcepub fn scheme(&self) -> Option<&str>
pub fn scheme(&self) -> Option<&str>
The type of load balancer. Valid only for load balancers 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.
source§impl LoadBalancerDescription
impl LoadBalancerDescription
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture LoadBalancerDescription
.
Trait Implementations§
source§impl Clone for LoadBalancerDescription
impl Clone for LoadBalancerDescription
source§fn clone(&self) -> LoadBalancerDescription
fn clone(&self) -> LoadBalancerDescription
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LoadBalancerDescription
impl Debug for LoadBalancerDescription
source§impl PartialEq<LoadBalancerDescription> for LoadBalancerDescription
impl PartialEq<LoadBalancerDescription> for LoadBalancerDescription
source§fn eq(&self, other: &LoadBalancerDescription) -> bool
fn eq(&self, other: &LoadBalancerDescription) -> bool
self
and other
values to be equal, and is used
by ==
.