Struct aws_sdk_ec2::types::builders::LocalGatewayBuilder
source · #[non_exhaustive]pub struct LocalGatewayBuilder { /* private fields */ }
Expand description
A builder for LocalGateway
.
Implementations§
source§impl LocalGatewayBuilder
impl LocalGatewayBuilder
sourcepub fn local_gateway_id(self, input: impl Into<String>) -> Self
pub fn local_gateway_id(self, input: impl Into<String>) -> Self
The ID of the local gateway.
sourcepub fn set_local_gateway_id(self, input: Option<String>) -> Self
pub fn set_local_gateway_id(self, input: Option<String>) -> Self
The ID of the local gateway.
sourcepub fn get_local_gateway_id(&self) -> &Option<String>
pub fn get_local_gateway_id(&self) -> &Option<String>
The ID of the local gateway.
sourcepub fn outpost_arn(self, input: impl Into<String>) -> Self
pub fn outpost_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Outpost.
sourcepub fn set_outpost_arn(self, input: Option<String>) -> Self
pub fn set_outpost_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Outpost.
sourcepub fn get_outpost_arn(&self) -> &Option<String>
pub fn get_outpost_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Outpost.
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 local 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 local 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 local gateway.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The tags assigned to the local gateway.
The tags assigned to the local gateway.
The tags assigned to the local gateway.
sourcepub fn build(self) -> LocalGateway
pub fn build(self) -> LocalGateway
Consumes the builder and constructs a LocalGateway
.
Trait Implementations§
source§impl Clone for LocalGatewayBuilder
impl Clone for LocalGatewayBuilder
source§fn clone(&self) -> LocalGatewayBuilder
fn clone(&self) -> LocalGatewayBuilder
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 Debug for LocalGatewayBuilder
impl Debug for LocalGatewayBuilder
source§impl Default for LocalGatewayBuilder
impl Default for LocalGatewayBuilder
source§fn default() -> LocalGatewayBuilder
fn default() -> LocalGatewayBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for LocalGatewayBuilder
impl PartialEq for LocalGatewayBuilder
source§fn eq(&self, other: &LocalGatewayBuilder) -> bool
fn eq(&self, other: &LocalGatewayBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LocalGatewayBuilder
Auto Trait Implementations§
impl Freeze for LocalGatewayBuilder
impl RefUnwindSafe for LocalGatewayBuilder
impl Send for LocalGatewayBuilder
impl Sync for LocalGatewayBuilder
impl Unpin for LocalGatewayBuilder
impl UnwindSafe for LocalGatewayBuilder
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.