#[non_exhaustive]pub struct AwsEc2VpcPeeringConnectionDetailsBuilder { /* private fields */ }Expand description
A builder for AwsEc2VpcPeeringConnectionDetails.
Implementations§
source§impl AwsEc2VpcPeeringConnectionDetailsBuilder
impl AwsEc2VpcPeeringConnectionDetailsBuilder
sourcepub fn accepter_vpc_info(
self,
input: AwsEc2VpcPeeringConnectionVpcInfoDetails
) -> Self
pub fn accepter_vpc_info( self, input: AwsEc2VpcPeeringConnectionVpcInfoDetails ) -> Self
Information about the accepter VPC.
sourcepub fn set_accepter_vpc_info(
self,
input: Option<AwsEc2VpcPeeringConnectionVpcInfoDetails>
) -> Self
pub fn set_accepter_vpc_info( self, input: Option<AwsEc2VpcPeeringConnectionVpcInfoDetails> ) -> Self
Information about the accepter VPC.
sourcepub fn get_accepter_vpc_info(
&self
) -> &Option<AwsEc2VpcPeeringConnectionVpcInfoDetails>
pub fn get_accepter_vpc_info( &self ) -> &Option<AwsEc2VpcPeeringConnectionVpcInfoDetails>
Information about the accepter VPC.
sourcepub fn expiration_time(self, input: impl Into<String>) -> Self
pub fn expiration_time(self, input: impl Into<String>) -> Self
The time at which an unaccepted VPC peering connection will expire.
sourcepub fn set_expiration_time(self, input: Option<String>) -> Self
pub fn set_expiration_time(self, input: Option<String>) -> Self
The time at which an unaccepted VPC peering connection will expire.
sourcepub fn get_expiration_time(&self) -> &Option<String>
pub fn get_expiration_time(&self) -> &Option<String>
The time at which an unaccepted VPC peering connection will expire.
sourcepub fn requester_vpc_info(
self,
input: AwsEc2VpcPeeringConnectionVpcInfoDetails
) -> Self
pub fn requester_vpc_info( self, input: AwsEc2VpcPeeringConnectionVpcInfoDetails ) -> Self
Information about the requester VPC.
sourcepub fn set_requester_vpc_info(
self,
input: Option<AwsEc2VpcPeeringConnectionVpcInfoDetails>
) -> Self
pub fn set_requester_vpc_info( self, input: Option<AwsEc2VpcPeeringConnectionVpcInfoDetails> ) -> Self
Information about the requester VPC.
sourcepub fn get_requester_vpc_info(
&self
) -> &Option<AwsEc2VpcPeeringConnectionVpcInfoDetails>
pub fn get_requester_vpc_info( &self ) -> &Option<AwsEc2VpcPeeringConnectionVpcInfoDetails>
Information about the requester VPC.
sourcepub fn status(self, input: AwsEc2VpcPeeringConnectionStatusDetails) -> Self
pub fn status(self, input: AwsEc2VpcPeeringConnectionStatusDetails) -> Self
The status of the VPC peering connection.
sourcepub fn set_status(
self,
input: Option<AwsEc2VpcPeeringConnectionStatusDetails>
) -> Self
pub fn set_status( self, input: Option<AwsEc2VpcPeeringConnectionStatusDetails> ) -> Self
The status of the VPC peering connection.
sourcepub fn get_status(&self) -> &Option<AwsEc2VpcPeeringConnectionStatusDetails>
pub fn get_status(&self) -> &Option<AwsEc2VpcPeeringConnectionStatusDetails>
The status of the VPC peering connection.
sourcepub fn vpc_peering_connection_id(self, input: impl Into<String>) -> Self
pub fn vpc_peering_connection_id(self, input: impl Into<String>) -> Self
The ID of the VPC peering connection.
sourcepub fn set_vpc_peering_connection_id(self, input: Option<String>) -> Self
pub fn set_vpc_peering_connection_id(self, input: Option<String>) -> Self
The ID of the VPC peering connection.
sourcepub fn get_vpc_peering_connection_id(&self) -> &Option<String>
pub fn get_vpc_peering_connection_id(&self) -> &Option<String>
The ID of the VPC peering connection.
sourcepub fn build(self) -> AwsEc2VpcPeeringConnectionDetails
pub fn build(self) -> AwsEc2VpcPeeringConnectionDetails
Consumes the builder and constructs a AwsEc2VpcPeeringConnectionDetails.
Trait Implementations§
source§impl Clone for AwsEc2VpcPeeringConnectionDetailsBuilder
impl Clone for AwsEc2VpcPeeringConnectionDetailsBuilder
source§fn clone(&self) -> AwsEc2VpcPeeringConnectionDetailsBuilder
fn clone(&self) -> AwsEc2VpcPeeringConnectionDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AwsEc2VpcPeeringConnectionDetailsBuilder
impl Default for AwsEc2VpcPeeringConnectionDetailsBuilder
source§fn default() -> AwsEc2VpcPeeringConnectionDetailsBuilder
fn default() -> AwsEc2VpcPeeringConnectionDetailsBuilder
source§impl PartialEq for AwsEc2VpcPeeringConnectionDetailsBuilder
impl PartialEq for AwsEc2VpcPeeringConnectionDetailsBuilder
source§fn eq(&self, other: &AwsEc2VpcPeeringConnectionDetailsBuilder) -> bool
fn eq(&self, other: &AwsEc2VpcPeeringConnectionDetailsBuilder) -> bool
self and other values to be equal, and is used
by ==.