#[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 ==
.