Struct aws_sdk_codedeploy::types::builders::TrafficRouteBuilder   
source · #[non_exhaustive]pub struct TrafficRouteBuilder { /* private fields */ }Expand description
A builder for TrafficRoute.
Implementations§
source§impl TrafficRouteBuilder
 
impl TrafficRouteBuilder
sourcepub fn listener_arns(self, input: impl Into<String>) -> Self
 
pub fn listener_arns(self, input: impl Into<String>) -> Self
Appends an item to listener_arns.
To override the contents of this collection use set_listener_arns.
The Amazon Resource Name (ARN) of one listener. The listener identifies the route between a target group and a load balancer. This is an array of strings with a maximum size of one.
sourcepub fn set_listener_arns(self, input: Option<Vec<String>>) -> Self
 
pub fn set_listener_arns(self, input: Option<Vec<String>>) -> Self
The Amazon Resource Name (ARN) of one listener. The listener identifies the route between a target group and a load balancer. This is an array of strings with a maximum size of one.
sourcepub fn get_listener_arns(&self) -> &Option<Vec<String>>
 
pub fn get_listener_arns(&self) -> &Option<Vec<String>>
The Amazon Resource Name (ARN) of one listener. The listener identifies the route between a target group and a load balancer. This is an array of strings with a maximum size of one.
sourcepub fn build(self) -> TrafficRoute
 
pub fn build(self) -> TrafficRoute
Consumes the builder and constructs a TrafficRoute.
Trait Implementations§
source§impl Clone for TrafficRouteBuilder
 
impl Clone for TrafficRouteBuilder
source§fn clone(&self) -> TrafficRouteBuilder
 
fn clone(&self) -> TrafficRouteBuilder
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 Debug for TrafficRouteBuilder
 
impl Debug for TrafficRouteBuilder
source§impl Default for TrafficRouteBuilder
 
impl Default for TrafficRouteBuilder
source§fn default() -> TrafficRouteBuilder
 
fn default() -> TrafficRouteBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TrafficRouteBuilder
 
impl PartialEq for TrafficRouteBuilder
source§fn eq(&self, other: &TrafficRouteBuilder) -> bool
 
fn eq(&self, other: &TrafficRouteBuilder) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TrafficRouteBuilder
Auto Trait Implementations§
impl Freeze for TrafficRouteBuilder
impl RefUnwindSafe for TrafficRouteBuilder
impl Send for TrafficRouteBuilder
impl Sync for TrafficRouteBuilder
impl Unpin for TrafficRouteBuilder
impl UnwindSafe for TrafficRouteBuilder
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.