pub struct UpdateSiteFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateSite.
Grants permission to update a site
Implementations§
source§impl UpdateSiteFluentBuilder
impl UpdateSiteFluentBuilder
sourcepub fn as_input(&self) -> &UpdateSiteInputBuilder
pub fn as_input(&self) -> &UpdateSiteInputBuilder
Access the UpdateSite as a reference.
sourcepub async fn send(
self
) -> Result<UpdateSiteOutput, SdkError<UpdateSiteError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateSiteOutput, SdkError<UpdateSiteError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateSiteOutput, UpdateSiteError>, SdkError<UpdateSiteError>>
pub async fn customize( self ) -> Result<CustomizableOperation<UpdateSiteOutput, UpdateSiteError>, SdkError<UpdateSiteError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn country_code(self, input: impl Into<String>) -> Self
pub fn country_code(self, input: impl Into<String>) -> Self
A valid ISO 3166-1 alpha-2 code for the country in which the site resides. e.g., US.
sourcepub fn set_country_code(self, input: Option<String>) -> Self
pub fn set_country_code(self, input: Option<String>) -> Self
A valid ISO 3166-1 alpha-2 code for the country in which the site resides. e.g., US.
sourcepub fn get_country_code(&self) -> &Option<String>
pub fn get_country_code(&self) -> &Option<String>
A valid ISO 3166-1 alpha-2 code for the country in which the site resides. e.g., US.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A high-level description of the site.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A high-level description of the site.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A high-level description of the site.
Trait Implementations§
source§impl Clone for UpdateSiteFluentBuilder
impl Clone for UpdateSiteFluentBuilder
source§fn clone(&self) -> UpdateSiteFluentBuilder
fn clone(&self) -> UpdateSiteFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more