Struct aws_sdk_ec2::types::builders::InternetGatewayBuilder
source · #[non_exhaustive]pub struct InternetGatewayBuilder { /* private fields */ }
Expand description
A builder for InternetGateway
.
Implementations§
source§impl InternetGatewayBuilder
impl InternetGatewayBuilder
sourcepub fn attachments(self, input: InternetGatewayAttachment) -> Self
pub fn attachments(self, input: InternetGatewayAttachment) -> Self
Appends an item to attachments
.
To override the contents of this collection use set_attachments
.
Any VPCs attached to the internet gateway.
sourcepub fn set_attachments(
self,
input: Option<Vec<InternetGatewayAttachment>>,
) -> Self
pub fn set_attachments( self, input: Option<Vec<InternetGatewayAttachment>>, ) -> Self
Any VPCs attached to the internet gateway.
sourcepub fn get_attachments(&self) -> &Option<Vec<InternetGatewayAttachment>>
pub fn get_attachments(&self) -> &Option<Vec<InternetGatewayAttachment>>
Any VPCs attached to the internet gateway.
sourcepub fn internet_gateway_id(self, input: impl Into<String>) -> Self
pub fn internet_gateway_id(self, input: impl Into<String>) -> Self
The ID of the internet gateway.
sourcepub fn set_internet_gateway_id(self, input: Option<String>) -> Self
pub fn set_internet_gateway_id(self, input: Option<String>) -> Self
The ID of the internet gateway.
sourcepub fn get_internet_gateway_id(&self) -> &Option<String>
pub fn get_internet_gateway_id(&self) -> &Option<String>
The ID of the internet gateway.
sourcepub fn owner_id(self, input: impl Into<String>) -> Self
pub fn owner_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services account that owns the internet gateway.
sourcepub fn set_owner_id(self, input: Option<String>) -> Self
pub fn set_owner_id(self, input: Option<String>) -> Self
The ID of the Amazon Web Services account that owns the internet gateway.
sourcepub fn get_owner_id(&self) -> &Option<String>
pub fn get_owner_id(&self) -> &Option<String>
The ID of the Amazon Web Services account that owns the internet gateway.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Any tags assigned to the internet gateway.
Any tags assigned to the internet gateway.
Any tags assigned to the internet gateway.
sourcepub fn build(self) -> InternetGateway
pub fn build(self) -> InternetGateway
Consumes the builder and constructs a InternetGateway
.
Trait Implementations§
source§impl Clone for InternetGatewayBuilder
impl Clone for InternetGatewayBuilder
source§fn clone(&self) -> InternetGatewayBuilder
fn clone(&self) -> InternetGatewayBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InternetGatewayBuilder
impl Debug for InternetGatewayBuilder
source§impl Default for InternetGatewayBuilder
impl Default for InternetGatewayBuilder
source§fn default() -> InternetGatewayBuilder
fn default() -> InternetGatewayBuilder
source§impl PartialEq for InternetGatewayBuilder
impl PartialEq for InternetGatewayBuilder
source§fn eq(&self, other: &InternetGatewayBuilder) -> bool
fn eq(&self, other: &InternetGatewayBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InternetGatewayBuilder
Auto Trait Implementations§
impl Freeze for InternetGatewayBuilder
impl RefUnwindSafe for InternetGatewayBuilder
impl Send for InternetGatewayBuilder
impl Sync for InternetGatewayBuilder
impl Unpin for InternetGatewayBuilder
impl UnwindSafe for InternetGatewayBuilder
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
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>
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>
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 more