#[non_exhaustive]pub struct UpdateSiteInputBuilder { /* private fields */ }
Expand description
A builder for UpdateSiteInput
.
Implementations§
source§impl UpdateSiteInputBuilder
impl UpdateSiteInputBuilder
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.
This field is required.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 site_id(self, input: impl Into<String>) -> Self
pub fn site_id(self, input: impl Into<String>) -> Self
The ID of your site.
This field is required.sourcepub fn set_site_id(self, input: Option<String>) -> Self
pub fn set_site_id(self, input: Option<String>) -> Self
The ID of your site.
sourcepub fn get_site_id(&self) -> &Option<String>
pub fn get_site_id(&self) -> &Option<String>
The ID of your site.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of your site.
Constraints: Maximum length of 256 characters.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of your site.
Constraints: Maximum length of 256 characters.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of your site.
Constraints: Maximum length of 256 characters.
sourcepub fn location(self, input: Location) -> Self
pub fn location(self, input: Location) -> Self
The site location:
-
Address
: The physical address of the site. -
Latitude
: The latitude of the site. -
Longitude
: The longitude of the site.
sourcepub fn set_location(self, input: Option<Location>) -> Self
pub fn set_location(self, input: Option<Location>) -> Self
The site location:
-
Address
: The physical address of the site. -
Latitude
: The latitude of the site. -
Longitude
: The longitude of the site.
sourcepub fn get_location(&self) -> &Option<Location>
pub fn get_location(&self) -> &Option<Location>
The site location:
-
Address
: The physical address of the site. -
Latitude
: The latitude of the site. -
Longitude
: The longitude of the site.
sourcepub fn build(self) -> Result<UpdateSiteInput, BuildError>
pub fn build(self) -> Result<UpdateSiteInput, BuildError>
Consumes the builder and constructs a UpdateSiteInput
.
source§impl UpdateSiteInputBuilder
impl UpdateSiteInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateSiteOutput, SdkError<UpdateSiteError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateSiteOutput, SdkError<UpdateSiteError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateSiteInputBuilder
impl Clone for UpdateSiteInputBuilder
source§fn clone(&self) -> UpdateSiteInputBuilder
fn clone(&self) -> UpdateSiteInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateSiteInputBuilder
impl Debug for UpdateSiteInputBuilder
source§impl Default for UpdateSiteInputBuilder
impl Default for UpdateSiteInputBuilder
source§fn default() -> UpdateSiteInputBuilder
fn default() -> UpdateSiteInputBuilder
source§impl PartialEq for UpdateSiteInputBuilder
impl PartialEq for UpdateSiteInputBuilder
source§fn eq(&self, other: &UpdateSiteInputBuilder) -> bool
fn eq(&self, other: &UpdateSiteInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateSiteInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateSiteInputBuilder
impl RefUnwindSafe for UpdateSiteInputBuilder
impl Send for UpdateSiteInputBuilder
impl Sync for UpdateSiteInputBuilder
impl Unpin for UpdateSiteInputBuilder
impl UnwindSafe for UpdateSiteInputBuilder
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