#[non_exhaustive]pub struct LoadBalancerDescription { /* private fields */ }
Expand description
Information about a load balancer.
Implementations
sourceimpl 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.
sourceimpl LoadBalancerDescription
impl LoadBalancerDescription
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture LoadBalancerDescription
.
Trait Implementations
sourceimpl Clone for LoadBalancerDescription
impl Clone for LoadBalancerDescription
sourcefn clone(&self) -> LoadBalancerDescription
fn clone(&self) -> LoadBalancerDescription
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for LoadBalancerDescription
impl Debug for LoadBalancerDescription
sourceimpl PartialEq<LoadBalancerDescription> for LoadBalancerDescription
impl PartialEq<LoadBalancerDescription> for LoadBalancerDescription
sourcefn eq(&self, other: &LoadBalancerDescription) -> bool
fn eq(&self, other: &LoadBalancerDescription) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &LoadBalancerDescription) -> bool
fn ne(&self, other: &LoadBalancerDescription) -> bool
This method tests for !=
.
impl StructuralPartialEq for LoadBalancerDescription
Auto Trait Implementations
impl RefUnwindSafe for LoadBalancerDescription
impl Send for LoadBalancerDescription
impl Sync for LoadBalancerDescription
impl Unpin for LoadBalancerDescription
impl UnwindSafe for LoadBalancerDescription
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more