pub struct Builder { /* private fields */ }
Expand description
A builder for AwsElbv2LoadBalancerDetails
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn availability_zones(self, input: AvailabilityZone) -> Self
pub fn availability_zones(self, input: AvailabilityZone) -> Self
Appends an item to availability_zones
.
To override the contents of this collection use set_availability_zones
.
The Availability Zones for the load balancer.
sourcepub fn set_availability_zones(self, input: Option<Vec<AvailabilityZone>>) -> Self
pub fn set_availability_zones(self, input: Option<Vec<AvailabilityZone>>) -> Self
The Availability Zones for the load balancer.
sourcepub fn canonical_hosted_zone_id(self, input: impl Into<String>) -> Self
pub fn canonical_hosted_zone_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Route 53 hosted zone associated with the load balancer.
sourcepub fn set_canonical_hosted_zone_id(self, input: Option<String>) -> Self
pub fn set_canonical_hosted_zone_id(self, input: Option<String>) -> Self
The ID of the Amazon Route 53 hosted zone associated with the load balancer.
sourcepub fn created_time(self, input: impl Into<String>) -> Self
pub fn created_time(self, input: impl Into<String>) -> Self
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. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn set_created_time(self, input: Option<String>) -> Self
pub fn set_created_time(self, input: Option<String>) -> Self
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. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn dns_name(self, input: impl Into<String>) -> Self
pub fn dns_name(self, input: impl Into<String>) -> Self
The public DNS name of the load balancer.
sourcepub fn set_dns_name(self, input: Option<String>) -> Self
pub fn set_dns_name(self, input: Option<String>) -> Self
The public DNS name of the load balancer.
sourcepub fn ip_address_type(self, input: impl Into<String>) -> Self
pub fn ip_address_type(self, input: impl Into<String>) -> Self
The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4
(for IPv4 addresses) and dualstack
(for IPv4 and IPv6 addresses).
sourcepub fn set_ip_address_type(self, input: Option<String>) -> Self
pub fn set_ip_address_type(self, input: Option<String>) -> Self
The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4
(for IPv4 addresses) and dualstack
(for IPv4 and IPv6 addresses).
sourcepub fn scheme(self, input: impl Into<String>) -> Self
pub fn scheme(self, input: impl Into<String>) -> Self
The nodes of an Internet-facing load balancer have public IP addresses.
sourcepub fn set_scheme(self, input: Option<String>) -> Self
pub fn set_scheme(self, input: Option<String>) -> Self
The nodes of an Internet-facing load balancer have public IP addresses.
sourcepub fn security_groups(self, input: impl Into<String>) -> Self
pub fn security_groups(self, input: impl Into<String>) -> Self
Appends an item to security_groups
.
To override the contents of this collection use set_security_groups
.
The IDs of the security groups for the load balancer.
sourcepub fn set_security_groups(self, input: Option<Vec<String>>) -> Self
pub fn set_security_groups(self, input: Option<Vec<String>>) -> Self
The IDs of the security groups for the load balancer.
sourcepub fn state(self, input: LoadBalancerState) -> Self
pub fn state(self, input: LoadBalancerState) -> Self
The state of the load balancer.
sourcepub fn set_state(self, input: Option<LoadBalancerState>) -> Self
pub fn set_state(self, input: Option<LoadBalancerState>) -> Self
The state of the load balancer.
sourcepub fn set_vpc_id(self, input: Option<String>) -> Self
pub fn set_vpc_id(self, input: Option<String>) -> Self
The ID of the VPC for the load balancer.
sourcepub fn load_balancer_attributes(
self,
input: AwsElbv2LoadBalancerAttribute
) -> Self
pub fn load_balancer_attributes(
self,
input: AwsElbv2LoadBalancerAttribute
) -> Self
Appends an item to load_balancer_attributes
.
To override the contents of this collection use set_load_balancer_attributes
.
Attributes of the load balancer.
sourcepub fn set_load_balancer_attributes(
self,
input: Option<Vec<AwsElbv2LoadBalancerAttribute>>
) -> Self
pub fn set_load_balancer_attributes(
self,
input: Option<Vec<AwsElbv2LoadBalancerAttribute>>
) -> Self
Attributes of the load balancer.
sourcepub fn build(self) -> AwsElbv2LoadBalancerDetails
pub fn build(self) -> AwsElbv2LoadBalancerDetails
Consumes the builder and constructs a AwsElbv2LoadBalancerDetails
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
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