Struct aws_sdk_elasticloadbalancing::operation::create_load_balancer_policy::builders::CreateLoadBalancerPolicyInputBuilder
source · #[non_exhaustive]pub struct CreateLoadBalancerPolicyInputBuilder { /* private fields */ }
Expand description
A builder for CreateLoadBalancerPolicyInput
.
Implementations§
source§impl CreateLoadBalancerPolicyInputBuilder
impl CreateLoadBalancerPolicyInputBuilder
sourcepub fn load_balancer_name(self, input: impl Into<String>) -> Self
pub fn load_balancer_name(self, input: impl Into<String>) -> Self
The name of the load balancer.
This field is required.sourcepub fn set_load_balancer_name(self, input: Option<String>) -> Self
pub fn set_load_balancer_name(self, input: Option<String>) -> Self
The name of the load balancer.
sourcepub fn get_load_balancer_name(&self) -> &Option<String>
pub fn get_load_balancer_name(&self) -> &Option<String>
The name of the load balancer.
sourcepub fn policy_name(self, input: impl Into<String>) -> Self
pub fn policy_name(self, input: impl Into<String>) -> Self
The name of the load balancer policy to be created. This name must be unique within the set of policies for this load balancer.
This field is required.sourcepub fn set_policy_name(self, input: Option<String>) -> Self
pub fn set_policy_name(self, input: Option<String>) -> Self
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 get_policy_name(&self) -> &Option<String>
pub fn get_policy_name(&self) -> &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.
sourcepub fn policy_type_name(self, input: impl Into<String>) -> Self
pub fn policy_type_name(self, input: impl Into<String>) -> Self
The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes
.
sourcepub fn set_policy_type_name(self, input: Option<String>) -> Self
pub fn set_policy_type_name(self, input: Option<String>) -> Self
The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes
.
sourcepub fn get_policy_type_name(&self) -> &Option<String>
pub fn get_policy_type_name(&self) -> &Option<String>
The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes
.
sourcepub fn policy_attributes(self, input: PolicyAttribute) -> Self
pub fn policy_attributes(self, input: PolicyAttribute) -> Self
Appends an item to policy_attributes
.
To override the contents of this collection use set_policy_attributes
.
The policy attributes.
sourcepub fn set_policy_attributes(self, input: Option<Vec<PolicyAttribute>>) -> Self
pub fn set_policy_attributes(self, input: Option<Vec<PolicyAttribute>>) -> Self
The policy attributes.
sourcepub fn get_policy_attributes(&self) -> &Option<Vec<PolicyAttribute>>
pub fn get_policy_attributes(&self) -> &Option<Vec<PolicyAttribute>>
The policy attributes.
sourcepub fn build(self) -> Result<CreateLoadBalancerPolicyInput, BuildError>
pub fn build(self) -> Result<CreateLoadBalancerPolicyInput, BuildError>
Consumes the builder and constructs a CreateLoadBalancerPolicyInput
.
source§impl CreateLoadBalancerPolicyInputBuilder
impl CreateLoadBalancerPolicyInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateLoadBalancerPolicyOutput, SdkError<CreateLoadBalancerPolicyError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateLoadBalancerPolicyOutput, SdkError<CreateLoadBalancerPolicyError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateLoadBalancerPolicyInputBuilder
impl Clone for CreateLoadBalancerPolicyInputBuilder
source§fn clone(&self) -> CreateLoadBalancerPolicyInputBuilder
fn clone(&self) -> CreateLoadBalancerPolicyInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateLoadBalancerPolicyInputBuilder
impl Default for CreateLoadBalancerPolicyInputBuilder
source§fn default() -> CreateLoadBalancerPolicyInputBuilder
fn default() -> CreateLoadBalancerPolicyInputBuilder
source§impl PartialEq for CreateLoadBalancerPolicyInputBuilder
impl PartialEq for CreateLoadBalancerPolicyInputBuilder
source§fn eq(&self, other: &CreateLoadBalancerPolicyInputBuilder) -> bool
fn eq(&self, other: &CreateLoadBalancerPolicyInputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CreateLoadBalancerPolicyInputBuilder
Auto Trait Implementations§
impl Freeze for CreateLoadBalancerPolicyInputBuilder
impl RefUnwindSafe for CreateLoadBalancerPolicyInputBuilder
impl Send for CreateLoadBalancerPolicyInputBuilder
impl Sync for CreateLoadBalancerPolicyInputBuilder
impl Unpin for CreateLoadBalancerPolicyInputBuilder
impl UnwindSafe for CreateLoadBalancerPolicyInputBuilder
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