Struct aws_sdk_elasticloadbalancing::operation::describe_load_balancer_policies::builders::DescribeLoadBalancerPoliciesFluentBuilder
source · pub struct DescribeLoadBalancerPoliciesFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeLoadBalancerPolicies
.
Describes the specified policies.
If you specify a load balancer name, the action returns the descriptions of all policies created for the load balancer. If you specify a policy name associated with your load balancer, the action returns the description of that policy. If you don't specify a load balancer name, the action returns descriptions of the specified sample policies, or descriptions of all sample policies. The names of the sample policies have the ELBSample-
prefix.
Implementations§
source§impl DescribeLoadBalancerPoliciesFluentBuilder
impl DescribeLoadBalancerPoliciesFluentBuilder
sourcepub fn as_input(&self) -> &DescribeLoadBalancerPoliciesInputBuilder
pub fn as_input(&self) -> &DescribeLoadBalancerPoliciesInputBuilder
Access the DescribeLoadBalancerPolicies as a reference.
sourcepub async fn send(
self
) -> Result<DescribeLoadBalancerPoliciesOutput, SdkError<DescribeLoadBalancerPoliciesError, HttpResponse>>
pub async fn send( self ) -> Result<DescribeLoadBalancerPoliciesOutput, SdkError<DescribeLoadBalancerPoliciesError, 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<DescribeLoadBalancerPoliciesOutput, DescribeLoadBalancerPoliciesError, Self>
pub fn customize( self ) -> CustomizableOperation<DescribeLoadBalancerPoliciesOutput, DescribeLoadBalancerPoliciesError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 get_load_balancer_name(&self) -> &Option<String>
pub fn get_load_balancer_name(&self) -> &Option<String>
The name of the load balancer.
sourcepub fn policy_names(self, input: impl Into<String>) -> Self
pub fn policy_names(self, input: impl Into<String>) -> Self
Appends an item to PolicyNames
.
To override the contents of this collection use set_policy_names
.
The names of the policies.
sourcepub fn set_policy_names(self, input: Option<Vec<String>>) -> Self
pub fn set_policy_names(self, input: Option<Vec<String>>) -> Self
The names of the policies.
sourcepub fn get_policy_names(&self) -> &Option<Vec<String>>
pub fn get_policy_names(&self) -> &Option<Vec<String>>
The names of the policies.
Trait Implementations§
source§impl Clone for DescribeLoadBalancerPoliciesFluentBuilder
impl Clone for DescribeLoadBalancerPoliciesFluentBuilder
source§fn clone(&self) -> DescribeLoadBalancerPoliciesFluentBuilder
fn clone(&self) -> DescribeLoadBalancerPoliciesFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more