Struct aws_sdk_elasticloadbalancingv2::operation::describe_load_balancers::builders::DescribeLoadBalancersInputBuilder
source · #[non_exhaustive]pub struct DescribeLoadBalancersInputBuilder { /* private fields */ }
Expand description
A builder for DescribeLoadBalancersInput
.
Implementations§
source§impl DescribeLoadBalancersInputBuilder
impl DescribeLoadBalancersInputBuilder
sourcepub fn load_balancer_arns(self, input: impl Into<String>) -> Self
pub fn load_balancer_arns(self, input: impl Into<String>) -> Self
Appends an item to load_balancer_arns
.
To override the contents of this collection use set_load_balancer_arns
.
The Amazon Resource Names (ARN) of the load balancers. You can specify up to 20 load balancers in a single call.
sourcepub fn set_load_balancer_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_load_balancer_arns(self, input: Option<Vec<String>>) -> Self
The Amazon Resource Names (ARN) of the load balancers. You can specify up to 20 load balancers in a single call.
sourcepub fn get_load_balancer_arns(&self) -> &Option<Vec<String>>
pub fn get_load_balancer_arns(&self) -> &Option<Vec<String>>
The Amazon Resource Names (ARN) of the load balancers. You can specify up to 20 load balancers in a single call.
sourcepub fn names(self, input: impl Into<String>) -> Self
pub fn names(self, input: impl Into<String>) -> Self
Appends an item to names
.
To override the contents of this collection use set_names
.
The names of the load balancers.
sourcepub fn marker(self, input: impl Into<String>) -> Self
pub fn marker(self, input: impl Into<String>) -> Self
The marker for the next set of results. (You received this marker from a previous call.)
sourcepub fn set_marker(self, input: Option<String>) -> Self
pub fn set_marker(self, input: Option<String>) -> Self
The marker for the next set of results. (You received this marker from a previous call.)
sourcepub fn get_marker(&self) -> &Option<String>
pub fn get_marker(&self) -> &Option<String>
The marker for the next set of results. (You received this marker from a previous call.)
sourcepub fn page_size(self, input: i32) -> Self
pub fn page_size(self, input: i32) -> Self
The maximum number of results to return with this call.
sourcepub fn set_page_size(self, input: Option<i32>) -> Self
pub fn set_page_size(self, input: Option<i32>) -> Self
The maximum number of results to return with this call.
sourcepub fn get_page_size(&self) -> &Option<i32>
pub fn get_page_size(&self) -> &Option<i32>
The maximum number of results to return with this call.
sourcepub fn build(self) -> Result<DescribeLoadBalancersInput, BuildError>
pub fn build(self) -> Result<DescribeLoadBalancersInput, BuildError>
Consumes the builder and constructs a DescribeLoadBalancersInput
.
source§impl DescribeLoadBalancersInputBuilder
impl DescribeLoadBalancersInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeLoadBalancersOutput, SdkError<DescribeLoadBalancersError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeLoadBalancersOutput, SdkError<DescribeLoadBalancersError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeLoadBalancersInputBuilder
impl Clone for DescribeLoadBalancersInputBuilder
source§fn clone(&self) -> DescribeLoadBalancersInputBuilder
fn clone(&self) -> DescribeLoadBalancersInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeLoadBalancersInputBuilder
impl Default for DescribeLoadBalancersInputBuilder
source§fn default() -> DescribeLoadBalancersInputBuilder
fn default() -> DescribeLoadBalancersInputBuilder
source§impl PartialEq for DescribeLoadBalancersInputBuilder
impl PartialEq for DescribeLoadBalancersInputBuilder
source§fn eq(&self, other: &DescribeLoadBalancersInputBuilder) -> bool
fn eq(&self, other: &DescribeLoadBalancersInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.