Struct aws_sdk_elasticloadbalancingv2::operation::set_rule_priorities::builders::SetRulePrioritiesInputBuilder
source · #[non_exhaustive]pub struct SetRulePrioritiesInputBuilder { /* private fields */ }
Expand description
A builder for SetRulePrioritiesInput
.
Implementations§
source§impl SetRulePrioritiesInputBuilder
impl SetRulePrioritiesInputBuilder
sourcepub fn rule_priorities(self, input: RulePriorityPair) -> Self
pub fn rule_priorities(self, input: RulePriorityPair) -> Self
Appends an item to rule_priorities
.
To override the contents of this collection use set_rule_priorities
.
The rule priorities.
sourcepub fn set_rule_priorities(self, input: Option<Vec<RulePriorityPair>>) -> Self
pub fn set_rule_priorities(self, input: Option<Vec<RulePriorityPair>>) -> Self
The rule priorities.
sourcepub fn get_rule_priorities(&self) -> &Option<Vec<RulePriorityPair>>
pub fn get_rule_priorities(&self) -> &Option<Vec<RulePriorityPair>>
The rule priorities.
sourcepub fn build(self) -> Result<SetRulePrioritiesInput, BuildError>
pub fn build(self) -> Result<SetRulePrioritiesInput, BuildError>
Consumes the builder and constructs a SetRulePrioritiesInput
.
source§impl SetRulePrioritiesInputBuilder
impl SetRulePrioritiesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<SetRulePrioritiesOutput, SdkError<SetRulePrioritiesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<SetRulePrioritiesOutput, SdkError<SetRulePrioritiesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for SetRulePrioritiesInputBuilder
impl Clone for SetRulePrioritiesInputBuilder
source§fn clone(&self) -> SetRulePrioritiesInputBuilder
fn clone(&self) -> SetRulePrioritiesInputBuilder
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 Default for SetRulePrioritiesInputBuilder
impl Default for SetRulePrioritiesInputBuilder
source§fn default() -> SetRulePrioritiesInputBuilder
fn default() -> SetRulePrioritiesInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SetRulePrioritiesInputBuilder
impl PartialEq for SetRulePrioritiesInputBuilder
source§fn eq(&self, other: &SetRulePrioritiesInputBuilder) -> bool
fn eq(&self, other: &SetRulePrioritiesInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SetRulePrioritiesInputBuilder
Auto Trait Implementations§
impl Freeze for SetRulePrioritiesInputBuilder
impl RefUnwindSafe for SetRulePrioritiesInputBuilder
impl Send for SetRulePrioritiesInputBuilder
impl Sync for SetRulePrioritiesInputBuilder
impl Unpin for SetRulePrioritiesInputBuilder
impl UnwindSafe for SetRulePrioritiesInputBuilder
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
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.