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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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) -> Option<&[PolicyAttribute]>
pub fn policy_attributes(&self) -> Option<&[PolicyAttribute]>
The policy attributes.
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<CreateLoadBalancerPolicyInput> for CreateLoadBalancerPolicyInput
impl PartialEq<CreateLoadBalancerPolicyInput> for CreateLoadBalancerPolicyInput
source§fn eq(&self, other: &CreateLoadBalancerPolicyInput) -> bool
fn eq(&self, other: &CreateLoadBalancerPolicyInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateLoadBalancerPolicyInput
Auto Trait Implementations§
impl RefUnwindSafe for CreateLoadBalancerPolicyInput
impl Send for CreateLoadBalancerPolicyInput
impl Sync for CreateLoadBalancerPolicyInput
impl Unpin for CreateLoadBalancerPolicyInput
impl UnwindSafe for CreateLoadBalancerPolicyInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more