Struct aws_sdk_networkmanager::types::builders::SiteBuilder
source · #[non_exhaustive]pub struct SiteBuilder { /* private fields */ }
Expand description
A builder for Site
.
Implementations§
source§impl SiteBuilder
impl SiteBuilder
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 site_arn(self, input: impl Into<String>) -> Self
pub fn site_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the site.
sourcepub fn set_site_arn(self, input: Option<String>) -> Self
pub fn set_site_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the site.
sourcepub fn get_site_arn(&self) -> &Option<String>
pub fn get_site_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the site.
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 description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the site.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the site.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the site.
sourcepub fn set_location(self, input: Option<Location>) -> Self
pub fn set_location(self, input: Option<Location>) -> Self
The location of the site.
sourcepub fn get_location(&self) -> &Option<Location>
pub fn get_location(&self) -> &Option<Location>
The location of the site.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The date and time that the site 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 site was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The date and time that the site was created.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The tags for the site.
The tags for the site.
The tags for the site.
Trait Implementations§
source§impl Clone for SiteBuilder
impl Clone for SiteBuilder
source§fn clone(&self) -> SiteBuilder
fn clone(&self) -> SiteBuilder
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 SiteBuilder
impl Debug for SiteBuilder
source§impl Default for SiteBuilder
impl Default for SiteBuilder
source§fn default() -> SiteBuilder
fn default() -> SiteBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SiteBuilder
impl PartialEq for SiteBuilder
source§fn eq(&self, other: &SiteBuilder) -> bool
fn eq(&self, other: &SiteBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SiteBuilder
Auto Trait Implementations§
impl Freeze for SiteBuilder
impl RefUnwindSafe for SiteBuilder
impl Send for SiteBuilder
impl Sync for SiteBuilder
impl Unpin for SiteBuilder
impl UnwindSafe for SiteBuilder
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>
Creates a shared type from an unshared type.