#[non_exhaustive]pub struct UpdateHubInputBuilder { /* private fields */ }
Expand description
A builder for UpdateHubInput
.
Implementations§
source§impl UpdateHubInputBuilder
impl UpdateHubInputBuilder
sourcepub fn hub_name(self, input: impl Into<String>) -> Self
pub fn hub_name(self, input: impl Into<String>) -> Self
The name of the hub to update.
This field is required.sourcepub fn set_hub_name(self, input: Option<String>) -> Self
pub fn set_hub_name(self, input: Option<String>) -> Self
The name of the hub to update.
sourcepub fn get_hub_name(&self) -> &Option<String>
pub fn get_hub_name(&self) -> &Option<String>
The name of the hub to update.
sourcepub fn hub_description(self, input: impl Into<String>) -> Self
pub fn hub_description(self, input: impl Into<String>) -> Self
A description of the updated hub.
sourcepub fn set_hub_description(self, input: Option<String>) -> Self
pub fn set_hub_description(self, input: Option<String>) -> Self
A description of the updated hub.
sourcepub fn get_hub_description(&self) -> &Option<String>
pub fn get_hub_description(&self) -> &Option<String>
A description of the updated hub.
sourcepub fn hub_display_name(self, input: impl Into<String>) -> Self
pub fn hub_display_name(self, input: impl Into<String>) -> Self
The display name of the hub.
sourcepub fn set_hub_display_name(self, input: Option<String>) -> Self
pub fn set_hub_display_name(self, input: Option<String>) -> Self
The display name of the hub.
sourcepub fn get_hub_display_name(&self) -> &Option<String>
pub fn get_hub_display_name(&self) -> &Option<String>
The display name of the hub.
sourcepub fn hub_search_keywords(self, input: impl Into<String>) -> Self
pub fn hub_search_keywords(self, input: impl Into<String>) -> Self
Appends an item to hub_search_keywords
.
To override the contents of this collection use set_hub_search_keywords
.
The searchable keywords for the hub.
sourcepub fn set_hub_search_keywords(self, input: Option<Vec<String>>) -> Self
pub fn set_hub_search_keywords(self, input: Option<Vec<String>>) -> Self
The searchable keywords for the hub.
sourcepub fn get_hub_search_keywords(&self) -> &Option<Vec<String>>
pub fn get_hub_search_keywords(&self) -> &Option<Vec<String>>
The searchable keywords for the hub.
sourcepub fn build(self) -> Result<UpdateHubInput, BuildError>
pub fn build(self) -> Result<UpdateHubInput, BuildError>
Consumes the builder and constructs a UpdateHubInput
.
source§impl UpdateHubInputBuilder
impl UpdateHubInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateHubOutput, SdkError<UpdateHubError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateHubOutput, SdkError<UpdateHubError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateHubInputBuilder
impl Clone for UpdateHubInputBuilder
source§fn clone(&self) -> UpdateHubInputBuilder
fn clone(&self) -> UpdateHubInputBuilder
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 UpdateHubInputBuilder
impl Debug for UpdateHubInputBuilder
source§impl Default for UpdateHubInputBuilder
impl Default for UpdateHubInputBuilder
source§fn default() -> UpdateHubInputBuilder
fn default() -> UpdateHubInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateHubInputBuilder
impl PartialEq for UpdateHubInputBuilder
source§fn eq(&self, other: &UpdateHubInputBuilder) -> bool
fn eq(&self, other: &UpdateHubInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateHubInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for UpdateHubInputBuilder
impl Send for UpdateHubInputBuilder
impl Sync for UpdateHubInputBuilder
impl Unpin for UpdateHubInputBuilder
impl UnwindSafe for UpdateHubInputBuilder
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
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>
Creates a shared type from an unshared type.