Struct aws_sdk_sagemaker::input::update_hub_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for UpdateHubInput
.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 build(self) -> Result<UpdateHubInput, BuildError>
pub fn build(self) -> Result<UpdateHubInput, BuildError>
Consumes the builder and constructs a UpdateHubInput
.