Struct aws_sdk_ec2::types::builders::VpcPeeringConnectionBuilder
source · #[non_exhaustive]pub struct VpcPeeringConnectionBuilder { /* private fields */ }
Expand description
A builder for VpcPeeringConnection
.
Implementations§
source§impl VpcPeeringConnectionBuilder
impl VpcPeeringConnectionBuilder
sourcepub fn accepter_vpc_info(self, input: VpcPeeringConnectionVpcInfo) -> Self
pub fn accepter_vpc_info(self, input: VpcPeeringConnectionVpcInfo) -> Self
Information about the accepter VPC. CIDR block information is only returned when describing an active VPC peering connection.
sourcepub fn set_accepter_vpc_info(
self,
input: Option<VpcPeeringConnectionVpcInfo>
) -> Self
pub fn set_accepter_vpc_info( self, input: Option<VpcPeeringConnectionVpcInfo> ) -> Self
Information about the accepter VPC. CIDR block information is only returned when describing an active VPC peering connection.
sourcepub fn get_accepter_vpc_info(&self) -> &Option<VpcPeeringConnectionVpcInfo>
pub fn get_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, input: DateTime) -> Self
pub fn expiration_time(self, input: DateTime) -> Self
The time that an unaccepted VPC peering connection will expire.
sourcepub fn set_expiration_time(self, input: Option<DateTime>) -> Self
pub fn set_expiration_time(self, input: Option<DateTime>) -> Self
The time that an unaccepted VPC peering connection will expire.
sourcepub fn get_expiration_time(&self) -> &Option<DateTime>
pub fn get_expiration_time(&self) -> &Option<DateTime>
The time that an unaccepted VPC peering connection will expire.
sourcepub fn requester_vpc_info(self, input: VpcPeeringConnectionVpcInfo) -> Self
pub fn requester_vpc_info(self, input: VpcPeeringConnectionVpcInfo) -> Self
Information about the requester VPC. CIDR block information is only returned when describing an active VPC peering connection.
sourcepub fn set_requester_vpc_info(
self,
input: Option<VpcPeeringConnectionVpcInfo>
) -> Self
pub fn set_requester_vpc_info( self, input: Option<VpcPeeringConnectionVpcInfo> ) -> Self
Information about the requester VPC. CIDR block information is only returned when describing an active VPC peering connection.
sourcepub fn get_requester_vpc_info(&self) -> &Option<VpcPeeringConnectionVpcInfo>
pub fn get_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, input: VpcPeeringConnectionStateReason) -> Self
pub fn status(self, input: VpcPeeringConnectionStateReason) -> Self
The status of the VPC peering connection.
sourcepub fn set_status(self, input: Option<VpcPeeringConnectionStateReason>) -> Self
pub fn set_status(self, input: Option<VpcPeeringConnectionStateReason>) -> Self
The status of the VPC peering connection.
sourcepub fn get_status(&self) -> &Option<VpcPeeringConnectionStateReason>
pub fn get_status(&self) -> &Option<VpcPeeringConnectionStateReason>
The status of the VPC peering connection.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Any tags assigned to the resource.
Any tags assigned to the resource.
Any tags assigned to the resource.
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) -> VpcPeeringConnection
pub fn build(self) -> VpcPeeringConnection
Consumes the builder and constructs a VpcPeeringConnection
.
Trait Implementations§
source§impl Clone for VpcPeeringConnectionBuilder
impl Clone for VpcPeeringConnectionBuilder
source§fn clone(&self) -> VpcPeeringConnectionBuilder
fn clone(&self) -> VpcPeeringConnectionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VpcPeeringConnectionBuilder
impl Debug for VpcPeeringConnectionBuilder
source§impl Default for VpcPeeringConnectionBuilder
impl Default for VpcPeeringConnectionBuilder
source§fn default() -> VpcPeeringConnectionBuilder
fn default() -> VpcPeeringConnectionBuilder
source§impl PartialEq for VpcPeeringConnectionBuilder
impl PartialEq for VpcPeeringConnectionBuilder
source§fn eq(&self, other: &VpcPeeringConnectionBuilder) -> bool
fn eq(&self, other: &VpcPeeringConnectionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.