Struct aws_sdk_elasticloadbalancing::operation::attach_load_balancer_to_subnets::builders::AttachLoadBalancerToSubnetsInputBuilder
source · #[non_exhaustive]pub struct AttachLoadBalancerToSubnetsInputBuilder { /* private fields */ }Expand description
A builder for AttachLoadBalancerToSubnetsInput.
Implementations§
source§impl AttachLoadBalancerToSubnetsInputBuilder
impl AttachLoadBalancerToSubnetsInputBuilder
sourcepub fn load_balancer_name(self, input: impl Into<String>) -> Self
pub fn load_balancer_name(self, input: impl Into<String>) -> Self
The name of the load balancer.
sourcepub fn set_load_balancer_name(self, input: Option<String>) -> Self
pub fn set_load_balancer_name(self, input: Option<String>) -> Self
The name of the load balancer.
sourcepub fn subnets(self, input: impl Into<String>) -> Self
pub fn subnets(self, input: impl Into<String>) -> Self
Appends an item to subnets.
To override the contents of this collection use set_subnets.
The IDs of the subnets to add. You can add only one subnet per Availability Zone.
sourcepub fn set_subnets(self, input: Option<Vec<String>>) -> Self
pub fn set_subnets(self, input: Option<Vec<String>>) -> Self
The IDs of the subnets to add. You can add only one subnet per Availability Zone.
sourcepub fn build(self) -> Result<AttachLoadBalancerToSubnetsInput, BuildError>
pub fn build(self) -> Result<AttachLoadBalancerToSubnetsInput, BuildError>
Consumes the builder and constructs a AttachLoadBalancerToSubnetsInput.
Trait Implementations§
source§impl Clone for AttachLoadBalancerToSubnetsInputBuilder
impl Clone for AttachLoadBalancerToSubnetsInputBuilder
source§fn clone(&self) -> AttachLoadBalancerToSubnetsInputBuilder
fn clone(&self) -> AttachLoadBalancerToSubnetsInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for AttachLoadBalancerToSubnetsInputBuilder
impl Default for AttachLoadBalancerToSubnetsInputBuilder
source§fn default() -> AttachLoadBalancerToSubnetsInputBuilder
fn default() -> AttachLoadBalancerToSubnetsInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<AttachLoadBalancerToSubnetsInputBuilder> for AttachLoadBalancerToSubnetsInputBuilder
impl PartialEq<AttachLoadBalancerToSubnetsInputBuilder> for AttachLoadBalancerToSubnetsInputBuilder
source§fn eq(&self, other: &AttachLoadBalancerToSubnetsInputBuilder) -> bool
fn eq(&self, other: &AttachLoadBalancerToSubnetsInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.