Struct aws_sdk_elasticloadbalancingv2::input::modify_load_balancer_attributes_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ModifyLoadBalancerAttributesInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn load_balancer_arn(self, input: impl Into<String>) -> Self
pub fn load_balancer_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the load balancer.
sourcepub fn set_load_balancer_arn(self, input: Option<String>) -> Self
pub fn set_load_balancer_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the load balancer.
sourcepub fn attributes(self, input: LoadBalancerAttribute) -> Self
pub fn attributes(self, input: LoadBalancerAttribute) -> Self
Appends an item to attributes
.
To override the contents of this collection use set_attributes
.
The load balancer attributes.
sourcepub fn set_attributes(self, input: Option<Vec<LoadBalancerAttribute>>) -> Self
pub fn set_attributes(self, input: Option<Vec<LoadBalancerAttribute>>) -> Self
The load balancer attributes.
sourcepub fn build(self) -> Result<ModifyLoadBalancerAttributesInput, BuildError>
pub fn build(self) -> Result<ModifyLoadBalancerAttributesInput, BuildError>
Consumes the builder and constructs a ModifyLoadBalancerAttributesInput
.