Struct aws_sdk_ec2::types::VpcPeeringConnection
source · #[non_exhaustive]pub struct VpcPeeringConnection { /* private fields */ }
Expand description
Describes a VPC peering connection.
Implementations§
source§impl VpcPeeringConnection
impl VpcPeeringConnection
sourcepub fn accepter_vpc_info(&self) -> Option<&VpcPeeringConnectionVpcInfo>
pub fn accepter_vpc_info(&self) -> Option<&VpcPeeringConnectionVpcInfo>
Information about the accepter VPC. CIDR block information is only returned when describing an active VPC peering connection.
sourcepub fn expiration_time(&self) -> Option<&DateTime>
pub fn expiration_time(&self) -> Option<&DateTime>
The time that an unaccepted VPC peering connection will expire.
sourcepub fn requester_vpc_info(&self) -> Option<&VpcPeeringConnectionVpcInfo>
pub fn requester_vpc_info(&self) -> Option<&VpcPeeringConnectionVpcInfo>
Information about the requester VPC. CIDR block information is only returned when describing an active VPC peering connection.
sourcepub fn status(&self) -> Option<&VpcPeeringConnectionStateReason>
pub fn status(&self) -> Option<&VpcPeeringConnectionStateReason>
The status of the VPC peering connection.
Any tags assigned to the resource.
sourcepub fn vpc_peering_connection_id(&self) -> Option<&str>
pub fn vpc_peering_connection_id(&self) -> Option<&str>
The ID of the VPC peering connection.
source§impl VpcPeeringConnection
impl VpcPeeringConnection
sourcepub fn builder() -> VpcPeeringConnectionBuilder
pub fn builder() -> VpcPeeringConnectionBuilder
Creates a new builder-style object to manufacture VpcPeeringConnection
.
Trait Implementations§
source§impl Clone for VpcPeeringConnection
impl Clone for VpcPeeringConnection
source§fn clone(&self) -> VpcPeeringConnection
fn clone(&self) -> VpcPeeringConnection
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 VpcPeeringConnection
impl Debug for VpcPeeringConnection
source§impl PartialEq<VpcPeeringConnection> for VpcPeeringConnection
impl PartialEq<VpcPeeringConnection> for VpcPeeringConnection
source§fn eq(&self, other: &VpcPeeringConnection) -> bool
fn eq(&self, other: &VpcPeeringConnection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VpcPeeringConnection
Auto Trait Implementations§
impl RefUnwindSafe for VpcPeeringConnection
impl Send for VpcPeeringConnection
impl Sync for VpcPeeringConnection
impl Unpin for VpcPeeringConnection
impl UnwindSafe for VpcPeeringConnection
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