#[non_exhaustive]pub struct UpdateSiteOutputBuilder { /* private fields */ }Expand description
A builder for UpdateSiteOutput.
Implementations§
source§impl UpdateSiteOutputBuilder
impl UpdateSiteOutputBuilder
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.
sourcepub fn updated_at(self, input: DateTime) -> Self
pub fn updated_at(self, input: DateTime) -> Self
Timestamp at which the resource was last updated.
sourcepub fn set_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_updated_at(self, input: Option<DateTime>) -> Self
Timestamp at which the resource was last updated.
sourcepub fn get_updated_at(&self) -> &Option<DateTime>
pub fn get_updated_at(&self) -> &Option<DateTime>
Timestamp at which the resource was last updated.
sourcepub fn build(self) -> UpdateSiteOutput
pub fn build(self) -> UpdateSiteOutput
Consumes the builder and constructs a UpdateSiteOutput.
Trait Implementations§
source§impl Clone for UpdateSiteOutputBuilder
impl Clone for UpdateSiteOutputBuilder
source§fn clone(&self) -> UpdateSiteOutputBuilder
fn clone(&self) -> UpdateSiteOutputBuilder
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 UpdateSiteOutputBuilder
impl Debug for UpdateSiteOutputBuilder
source§impl Default for UpdateSiteOutputBuilder
impl Default for UpdateSiteOutputBuilder
source§fn default() -> UpdateSiteOutputBuilder
fn default() -> UpdateSiteOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<UpdateSiteOutputBuilder> for UpdateSiteOutputBuilder
impl PartialEq<UpdateSiteOutputBuilder> for UpdateSiteOutputBuilder
source§fn eq(&self, other: &UpdateSiteOutputBuilder) -> bool
fn eq(&self, other: &UpdateSiteOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateSiteOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for UpdateSiteOutputBuilder
impl Send for UpdateSiteOutputBuilder
impl Sync for UpdateSiteOutputBuilder
impl Unpin for UpdateSiteOutputBuilder
impl UnwindSafe for UpdateSiteOutputBuilder
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