#[non_exhaustive]pub struct VpcPeeringConnectionStateReasonBuilder { /* private fields */ }Expand description
A builder for VpcPeeringConnectionStateReason.
Implementations§
source§impl VpcPeeringConnectionStateReasonBuilder
 
impl VpcPeeringConnectionStateReasonBuilder
sourcepub fn code(self, input: VpcPeeringConnectionStateReasonCode) -> Self
 
pub fn code(self, input: VpcPeeringConnectionStateReasonCode) -> Self
The status of the VPC peering connection.
sourcepub fn set_code(
    self,
    input: Option<VpcPeeringConnectionStateReasonCode>,
) -> Self
 
pub fn set_code( self, input: Option<VpcPeeringConnectionStateReasonCode>, ) -> Self
The status of the VPC peering connection.
sourcepub fn get_code(&self) -> &Option<VpcPeeringConnectionStateReasonCode>
 
pub fn get_code(&self) -> &Option<VpcPeeringConnectionStateReasonCode>
The status of the VPC peering connection.
sourcepub fn message(self, input: impl Into<String>) -> Self
 
pub fn message(self, input: impl Into<String>) -> Self
A message that provides more information about the status, if applicable.
sourcepub fn set_message(self, input: Option<String>) -> Self
 
pub fn set_message(self, input: Option<String>) -> Self
A message that provides more information about the status, if applicable.
sourcepub fn get_message(&self) -> &Option<String>
 
pub fn get_message(&self) -> &Option<String>
A message that provides more information about the status, if applicable.
sourcepub fn build(self) -> VpcPeeringConnectionStateReason
 
pub fn build(self) -> VpcPeeringConnectionStateReason
Consumes the builder and constructs a VpcPeeringConnectionStateReason.
Trait Implementations§
source§impl Clone for VpcPeeringConnectionStateReasonBuilder
 
impl Clone for VpcPeeringConnectionStateReasonBuilder
source§fn clone(&self) -> VpcPeeringConnectionStateReasonBuilder
 
fn clone(&self) -> VpcPeeringConnectionStateReasonBuilder
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 VpcPeeringConnectionStateReasonBuilder
 
impl Default for VpcPeeringConnectionStateReasonBuilder
source§fn default() -> VpcPeeringConnectionStateReasonBuilder
 
fn default() -> VpcPeeringConnectionStateReasonBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for VpcPeeringConnectionStateReasonBuilder
 
impl PartialEq for VpcPeeringConnectionStateReasonBuilder
source§fn eq(&self, other: &VpcPeeringConnectionStateReasonBuilder) -> bool
 
fn eq(&self, other: &VpcPeeringConnectionStateReasonBuilder) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for VpcPeeringConnectionStateReasonBuilder
Auto Trait Implementations§
impl Freeze for VpcPeeringConnectionStateReasonBuilder
impl RefUnwindSafe for VpcPeeringConnectionStateReasonBuilder
impl Send for VpcPeeringConnectionStateReasonBuilder
impl Sync for VpcPeeringConnectionStateReasonBuilder
impl Unpin for VpcPeeringConnectionStateReasonBuilder
impl UnwindSafe for VpcPeeringConnectionStateReasonBuilder
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.