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 ==
.impl StructuralPartialEq for CreateLoadBalancerPolicyInput
Auto Trait Implementations§
impl Freeze for CreateLoadBalancerPolicyInput
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more