Struct aws_sdk_ec2::operation::create_vpc_peering_connection::builders::CreateVpcPeeringConnectionOutputBuilder
source · #[non_exhaustive]pub struct CreateVpcPeeringConnectionOutputBuilder { /* private fields */ }
Expand description
A builder for CreateVpcPeeringConnectionOutput
.
Implementations§
source§impl CreateVpcPeeringConnectionOutputBuilder
impl CreateVpcPeeringConnectionOutputBuilder
sourcepub fn vpc_peering_connection(self, input: VpcPeeringConnection) -> Self
pub fn vpc_peering_connection(self, input: VpcPeeringConnection) -> Self
Information about the VPC peering connection.
sourcepub fn set_vpc_peering_connection(
self,
input: Option<VpcPeeringConnection>,
) -> Self
pub fn set_vpc_peering_connection( self, input: Option<VpcPeeringConnection>, ) -> Self
Information about the VPC peering connection.
sourcepub fn get_vpc_peering_connection(&self) -> &Option<VpcPeeringConnection>
pub fn get_vpc_peering_connection(&self) -> &Option<VpcPeeringConnection>
Information about the VPC peering connection.
sourcepub fn build(self) -> CreateVpcPeeringConnectionOutput
pub fn build(self) -> CreateVpcPeeringConnectionOutput
Consumes the builder and constructs a CreateVpcPeeringConnectionOutput
.
Trait Implementations§
source§impl Clone for CreateVpcPeeringConnectionOutputBuilder
impl Clone for CreateVpcPeeringConnectionOutputBuilder
source§fn clone(&self) -> CreateVpcPeeringConnectionOutputBuilder
fn clone(&self) -> CreateVpcPeeringConnectionOutputBuilder
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 CreateVpcPeeringConnectionOutputBuilder
impl Default for CreateVpcPeeringConnectionOutputBuilder
source§fn default() -> CreateVpcPeeringConnectionOutputBuilder
fn default() -> CreateVpcPeeringConnectionOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateVpcPeeringConnectionOutputBuilder
impl PartialEq for CreateVpcPeeringConnectionOutputBuilder
source§fn eq(&self, other: &CreateVpcPeeringConnectionOutputBuilder) -> bool
fn eq(&self, other: &CreateVpcPeeringConnectionOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateVpcPeeringConnectionOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateVpcPeeringConnectionOutputBuilder
impl RefUnwindSafe for CreateVpcPeeringConnectionOutputBuilder
impl Send for CreateVpcPeeringConnectionOutputBuilder
impl Sync for CreateVpcPeeringConnectionOutputBuilder
impl Unpin for CreateVpcPeeringConnectionOutputBuilder
impl UnwindSafe for CreateVpcPeeringConnectionOutputBuilder
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.