Struct aws_sdk_elasticloadbalancing::operation::create_load_balancer_policy::CreateLoadBalancerPolicyInput
source · #[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§
source§impl CreateLoadBalancerPolicyInput
impl CreateLoadBalancerPolicyInput
sourcepub fn load_balancer_name(&self) -> Option<&str>
pub fn load_balancer_name(&self) -> Option<&str>
The name of the load balancer.
sourcepub fn policy_name(&self) -> Option<&str>
pub fn policy_name(&self) -> Option<&str>
The name of the load balancer policy to be created. This name must be unique within the set of policies for this load balancer.
sourcepub fn policy_type_name(&self) -> Option<&str>
pub fn policy_type_name(&self) -> Option<&str>
The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes
.
sourcepub fn policy_attributes(&self) -> &[PolicyAttribute]
pub fn policy_attributes(&self) -> &[PolicyAttribute]
The policy attributes.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .policy_attributes.is_none()
.
source§impl CreateLoadBalancerPolicyInput
impl CreateLoadBalancerPolicyInput
sourcepub fn builder() -> CreateLoadBalancerPolicyInputBuilder
pub fn builder() -> CreateLoadBalancerPolicyInputBuilder
Creates a new builder-style object to manufacture CreateLoadBalancerPolicyInput
.
Trait Implementations§
source§impl Clone for CreateLoadBalancerPolicyInput
impl Clone for CreateLoadBalancerPolicyInput
source§fn clone(&self) -> CreateLoadBalancerPolicyInput
fn clone(&self) -> CreateLoadBalancerPolicyInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CreateLoadBalancerPolicyInput
impl PartialEq for CreateLoadBalancerPolicyInput
source§fn eq(&self, other: &CreateLoadBalancerPolicyInput) -> bool
fn eq(&self, other: &CreateLoadBalancerPolicyInput) -> bool
self
and other
values to be equal, and is used
by ==
.