#[non_exhaustive]pub struct CreateHubInputBuilder { /* private fields */ }
Expand description
A builder for CreateHubInput
.
Implementations§
source§impl CreateHubInputBuilder
impl CreateHubInputBuilder
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 create.
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 create.
sourcepub fn get_hub_name(&self) -> &Option<String>
pub fn get_hub_name(&self) -> &Option<String>
The name of the hub to create.
sourcepub fn hub_description(self, input: impl Into<String>) -> Self
pub fn hub_description(self, input: impl Into<String>) -> Self
A description of the hub.
This field is required.sourcepub fn set_hub_description(self, input: Option<String>) -> Self
pub fn set_hub_description(self, input: Option<String>) -> Self
A description of the hub.
sourcepub fn get_hub_description(&self) -> &Option<String>
pub fn get_hub_description(&self) -> &Option<String>
A description of the 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 s3_storage_config(self, input: HubS3StorageConfig) -> Self
pub fn s3_storage_config(self, input: HubS3StorageConfig) -> Self
The Amazon S3 storage configuration for the hub.
sourcepub fn set_s3_storage_config(self, input: Option<HubS3StorageConfig>) -> Self
pub fn set_s3_storage_config(self, input: Option<HubS3StorageConfig>) -> Self
The Amazon S3 storage configuration for the hub.
sourcepub fn get_s3_storage_config(&self) -> &Option<HubS3StorageConfig>
pub fn get_s3_storage_config(&self) -> &Option<HubS3StorageConfig>
The Amazon S3 storage configuration for the hub.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Any tags to associate with the hub.
Any tags to associate with the hub.
Any tags to associate with the hub.
sourcepub fn build(self) -> Result<CreateHubInput, BuildError>
pub fn build(self) -> Result<CreateHubInput, BuildError>
Consumes the builder and constructs a CreateHubInput
.
source§impl CreateHubInputBuilder
impl CreateHubInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateHubOutput, SdkError<CreateHubError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateHubOutput, SdkError<CreateHubError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateHubInputBuilder
impl Clone for CreateHubInputBuilder
source§fn clone(&self) -> CreateHubInputBuilder
fn clone(&self) -> CreateHubInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateHubInputBuilder
impl Debug for CreateHubInputBuilder
source§impl Default for CreateHubInputBuilder
impl Default for CreateHubInputBuilder
source§fn default() -> CreateHubInputBuilder
fn default() -> CreateHubInputBuilder
source§impl PartialEq for CreateHubInputBuilder
impl PartialEq for CreateHubInputBuilder
impl StructuralPartialEq for CreateHubInputBuilder
Auto Trait Implementations§
impl Freeze for CreateHubInputBuilder
impl RefUnwindSafe for CreateHubInputBuilder
impl Send for CreateHubInputBuilder
impl Sync for CreateHubInputBuilder
impl Unpin for CreateHubInputBuilder
impl UnwindSafe for CreateHubInputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more