pub struct CreateHubFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateHub
.
Create a hub.
Hub APIs are only callable through SageMaker Studio.
Implementations§
source§impl CreateHubFluentBuilder
impl CreateHubFluentBuilder
sourcepub fn as_input(&self) -> &CreateHubInputBuilder
pub fn as_input(&self) -> &CreateHubInputBuilder
Access the CreateHub as a reference.
sourcepub async fn send(
self
) -> Result<CreateHubOutput, SdkError<CreateHubError, HttpResponse>>
pub async fn send( self ) -> Result<CreateHubOutput, SdkError<CreateHubError, 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 fn customize(
self
) -> CustomizableOperation<CreateHubOutput, CreateHubError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateHubOutput, CreateHubError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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 HubSearchKeywords
.
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.
Trait Implementations§
source§impl Clone for CreateHubFluentBuilder
impl Clone for CreateHubFluentBuilder
source§fn clone(&self) -> CreateHubFluentBuilder
fn clone(&self) -> CreateHubFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more