#[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 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 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<VpcPeeringConnectionStateReasonBuilder> for VpcPeeringConnectionStateReasonBuilder
impl PartialEq<VpcPeeringConnectionStateReasonBuilder> 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 ==.