#[non_exhaustive]pub struct CreateLoadBalancerPolicyInput {
pub load_balancer_name: Option<String>,
pub policy_name: Option<String>,
pub policy_type_name: Option<String>,
pub policy_attributes: Option<Vec<PolicyAttribute>>,
}
Expand description
Contains the parameters for CreateLoadBalancerPolicy.
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.
policy_name: Option<String>
The name of the load balancer policy to be created. This name must be unique within the set of policies for this load balancer.
policy_type_name: Option<String>
The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes
.
policy_attributes: Option<Vec<PolicyAttribute>>
The policy attributes.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateLoadBalancerPolicy, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateLoadBalancerPolicy, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateLoadBalancerPolicy
>
Creates a new builder-style object to manufacture CreateLoadBalancerPolicyInput
The name of the load balancer.
The name of the load balancer policy to be created. This name must be unique within the set of policies for this load balancer.
The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes
.
The policy attributes.
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
impl Send for CreateLoadBalancerPolicyInput
impl Sync for CreateLoadBalancerPolicyInput
impl Unpin for CreateLoadBalancerPolicyInput
impl UnwindSafe for CreateLoadBalancerPolicyInput
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