Struct aws_sdk_networkmanager::types::builders::LinkBuilder
source · #[non_exhaustive]pub struct LinkBuilder { /* private fields */ }
Expand description
A builder for Link
.
Implementations§
source§impl LinkBuilder
impl LinkBuilder
sourcepub fn set_link_id(self, input: Option<String>) -> Self
pub fn set_link_id(self, input: Option<String>) -> Self
The ID of the link.
sourcepub fn get_link_id(&self) -> &Option<String>
pub fn get_link_id(&self) -> &Option<String>
The ID of the link.
sourcepub fn link_arn(self, input: impl Into<String>) -> Self
pub fn link_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the link.
sourcepub fn set_link_arn(self, input: Option<String>) -> Self
pub fn set_link_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the link.
sourcepub fn get_link_arn(&self) -> &Option<String>
pub fn get_link_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the link.
sourcepub fn global_network_id(self, input: impl Into<String>) -> Self
pub fn global_network_id(self, input: impl Into<String>) -> Self
The ID of the global network.
sourcepub fn set_global_network_id(self, input: Option<String>) -> Self
pub fn set_global_network_id(self, input: Option<String>) -> Self
The ID of the global network.
sourcepub fn get_global_network_id(&self) -> &Option<String>
pub fn get_global_network_id(&self) -> &Option<String>
The ID of the global network.
sourcepub fn set_site_id(self, input: Option<String>) -> Self
pub fn set_site_id(self, input: Option<String>) -> Self
The ID of the site.
sourcepub fn get_site_id(&self) -> &Option<String>
pub fn get_site_id(&self) -> &Option<String>
The ID of the site.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the link.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the link.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the link.
sourcepub fn set_bandwidth(self, input: Option<Bandwidth>) -> Self
pub fn set_bandwidth(self, input: Option<Bandwidth>) -> Self
The bandwidth for the link.
sourcepub fn get_bandwidth(&self) -> &Option<Bandwidth>
pub fn get_bandwidth(&self) -> &Option<Bandwidth>
The bandwidth for the link.
sourcepub fn set_provider(self, input: Option<String>) -> Self
pub fn set_provider(self, input: Option<String>) -> Self
The provider of the link.
sourcepub fn get_provider(&self) -> &Option<String>
pub fn get_provider(&self) -> &Option<String>
The provider of the link.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The date and time that the link was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The date and time that the link was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The date and time that the link was created.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The tags for the link.
The tags for the link.
The tags for the link.
Trait Implementations§
source§impl Clone for LinkBuilder
impl Clone for LinkBuilder
source§fn clone(&self) -> LinkBuilder
fn clone(&self) -> LinkBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LinkBuilder
impl Debug for LinkBuilder
source§impl Default for LinkBuilder
impl Default for LinkBuilder
source§fn default() -> LinkBuilder
fn default() -> LinkBuilder
source§impl PartialEq for LinkBuilder
impl PartialEq for LinkBuilder
source§fn eq(&self, other: &LinkBuilder) -> bool
fn eq(&self, other: &LinkBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LinkBuilder
Auto Trait Implementations§
impl Freeze for LinkBuilder
impl RefUnwindSafe for LinkBuilder
impl Send for LinkBuilder
impl Sync for LinkBuilder
impl Unpin for LinkBuilder
impl UnwindSafe for LinkBuilder
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