Struct aws_sdk_elasticloadbalancingv2::operation::describe_load_balancers::builders::DescribeLoadBalancersFluentBuilder
source · pub struct DescribeLoadBalancersFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to DescribeLoadBalancers.
Describes the specified load balancers or all of your load balancers.
Implementations§
source§impl DescribeLoadBalancersFluentBuilder
impl DescribeLoadBalancersFluentBuilder
sourcepub fn as_input(&self) -> &DescribeLoadBalancersInputBuilder
pub fn as_input(&self) -> &DescribeLoadBalancersInputBuilder
Access the DescribeLoadBalancers as a reference.
sourcepub async fn send(
self
) -> Result<DescribeLoadBalancersOutput, SdkError<DescribeLoadBalancersError, HttpResponse>>
pub async fn send( self ) -> Result<DescribeLoadBalancersOutput, SdkError<DescribeLoadBalancersError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<DescribeLoadBalancersOutput, DescribeLoadBalancersError, Self>
pub fn customize( self ) -> CustomizableOperation<DescribeLoadBalancersOutput, DescribeLoadBalancersError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> DescribeLoadBalancersPaginator
pub fn into_paginator(self) -> DescribeLoadBalancersPaginator
Create a paginator for this request
Paginators are used by calling send().await which returns a PaginationStream.
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 LoadBalancerArns.
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.
Trait Implementations§
source§impl Clone for DescribeLoadBalancersFluentBuilder
impl Clone for DescribeLoadBalancersFluentBuilder
source§fn clone(&self) -> DescribeLoadBalancersFluentBuilder
fn clone(&self) -> DescribeLoadBalancersFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more