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