#[non_exhaustive]pub struct EgressOnlyInternetGatewayBuilder { /* private fields */ }
Expand description
A builder for EgressOnlyInternetGateway
.
Implementations§
source§impl EgressOnlyInternetGatewayBuilder
impl EgressOnlyInternetGatewayBuilder
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
.
Information about the attachment of the egress-only internet gateway.
sourcepub fn set_attachments(
self,
input: Option<Vec<InternetGatewayAttachment>>,
) -> Self
pub fn set_attachments( self, input: Option<Vec<InternetGatewayAttachment>>, ) -> Self
Information about the attachment of the egress-only internet gateway.
sourcepub fn get_attachments(&self) -> &Option<Vec<InternetGatewayAttachment>>
pub fn get_attachments(&self) -> &Option<Vec<InternetGatewayAttachment>>
Information about the attachment of the egress-only internet gateway.
sourcepub fn egress_only_internet_gateway_id(self, input: impl Into<String>) -> Self
pub fn egress_only_internet_gateway_id(self, input: impl Into<String>) -> Self
The ID of the egress-only internet gateway.
sourcepub fn set_egress_only_internet_gateway_id(self, input: Option<String>) -> Self
pub fn set_egress_only_internet_gateway_id(self, input: Option<String>) -> Self
The ID of the egress-only internet gateway.
sourcepub fn get_egress_only_internet_gateway_id(&self) -> &Option<String>
pub fn get_egress_only_internet_gateway_id(&self) -> &Option<String>
The ID of the egress-only internet gateway.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The tags assigned to the egress-only internet gateway.
The tags assigned to the egress-only internet gateway.
The tags assigned to the egress-only internet gateway.
sourcepub fn build(self) -> EgressOnlyInternetGateway
pub fn build(self) -> EgressOnlyInternetGateway
Consumes the builder and constructs a EgressOnlyInternetGateway
.
Trait Implementations§
source§impl Clone for EgressOnlyInternetGatewayBuilder
impl Clone for EgressOnlyInternetGatewayBuilder
source§fn clone(&self) -> EgressOnlyInternetGatewayBuilder
fn clone(&self) -> EgressOnlyInternetGatewayBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for EgressOnlyInternetGatewayBuilder
impl Default for EgressOnlyInternetGatewayBuilder
source§fn default() -> EgressOnlyInternetGatewayBuilder
fn default() -> EgressOnlyInternetGatewayBuilder
source§impl PartialEq for EgressOnlyInternetGatewayBuilder
impl PartialEq for EgressOnlyInternetGatewayBuilder
source§fn eq(&self, other: &EgressOnlyInternetGatewayBuilder) -> bool
fn eq(&self, other: &EgressOnlyInternetGatewayBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EgressOnlyInternetGatewayBuilder
Auto Trait Implementations§
impl Freeze for EgressOnlyInternetGatewayBuilder
impl RefUnwindSafe for EgressOnlyInternetGatewayBuilder
impl Send for EgressOnlyInternetGatewayBuilder
impl Sync for EgressOnlyInternetGatewayBuilder
impl Unpin for EgressOnlyInternetGatewayBuilder
impl UnwindSafe for EgressOnlyInternetGatewayBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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