Struct aws_sdk_elasticloadbalancing::input::SetLoadBalancerPoliciesForBackendServerInput
source · [−]#[non_exhaustive]pub struct SetLoadBalancerPoliciesForBackendServerInput {
pub load_balancer_name: Option<String>,
pub instance_port: Option<i32>,
pub policy_names: Option<Vec<String>>,
}
Expand description
Contains the parameters for SetLoadBalancerPoliciesForBackendServer.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.load_balancer_name: Option<String>
The name of the load balancer.
instance_port: Option<i32>
The port number associated with the EC2 instance.
policy_names: Option<Vec<String>>
The names of the policies. If the list is empty, then all current polices are removed from the EC2 instance.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SetLoadBalancerPoliciesForBackendServer, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SetLoadBalancerPoliciesForBackendServer, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<SetLoadBalancerPoliciesForBackendServer
>
Creates a new builder-style object to manufacture SetLoadBalancerPoliciesForBackendServerInput
The name of the load balancer.
The port number associated with the EC2 instance.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more