Struct aws_sdk_networkmanager::input::update_site_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for UpdateSiteInput
.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 build(self) -> Result<UpdateSiteInput, BuildError>
pub fn build(self) -> Result<UpdateSiteInput, BuildError>
Consumes the builder and constructs a UpdateSiteInput
.