Struct aws_sdk_sagemaker::operation::import_hub_content::builders::ImportHubContentInputBuilder
source · #[non_exhaustive]pub struct ImportHubContentInputBuilder { /* private fields */ }
Expand description
A builder for ImportHubContentInput
.
Implementations§
source§impl ImportHubContentInputBuilder
impl ImportHubContentInputBuilder
sourcepub fn hub_content_name(self, input: impl Into<String>) -> Self
pub fn hub_content_name(self, input: impl Into<String>) -> Self
The name of the hub content to import.
This field is required.sourcepub fn set_hub_content_name(self, input: Option<String>) -> Self
pub fn set_hub_content_name(self, input: Option<String>) -> Self
The name of the hub content to import.
sourcepub fn get_hub_content_name(&self) -> &Option<String>
pub fn get_hub_content_name(&self) -> &Option<String>
The name of the hub content to import.
sourcepub fn hub_content_version(self, input: impl Into<String>) -> Self
pub fn hub_content_version(self, input: impl Into<String>) -> Self
The version of the hub content to import.
sourcepub fn set_hub_content_version(self, input: Option<String>) -> Self
pub fn set_hub_content_version(self, input: Option<String>) -> Self
The version of the hub content to import.
sourcepub fn get_hub_content_version(&self) -> &Option<String>
pub fn get_hub_content_version(&self) -> &Option<String>
The version of the hub content to import.
sourcepub fn hub_content_type(self, input: HubContentType) -> Self
pub fn hub_content_type(self, input: HubContentType) -> Self
The type of hub content to import.
This field is required.sourcepub fn set_hub_content_type(self, input: Option<HubContentType>) -> Self
pub fn set_hub_content_type(self, input: Option<HubContentType>) -> Self
The type of hub content to import.
sourcepub fn get_hub_content_type(&self) -> &Option<HubContentType>
pub fn get_hub_content_type(&self) -> &Option<HubContentType>
The type of hub content to import.
sourcepub fn document_schema_version(self, input: impl Into<String>) -> Self
pub fn document_schema_version(self, input: impl Into<String>) -> Self
The version of the hub content schema to import.
This field is required.sourcepub fn set_document_schema_version(self, input: Option<String>) -> Self
pub fn set_document_schema_version(self, input: Option<String>) -> Self
The version of the hub content schema to import.
sourcepub fn get_document_schema_version(&self) -> &Option<String>
pub fn get_document_schema_version(&self) -> &Option<String>
The version of the hub content schema to import.
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 import content into.
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 import content into.
sourcepub fn get_hub_name(&self) -> &Option<String>
pub fn get_hub_name(&self) -> &Option<String>
The name of the hub to import content into.
sourcepub fn hub_content_display_name(self, input: impl Into<String>) -> Self
pub fn hub_content_display_name(self, input: impl Into<String>) -> Self
The display name of the hub content to import.
sourcepub fn set_hub_content_display_name(self, input: Option<String>) -> Self
pub fn set_hub_content_display_name(self, input: Option<String>) -> Self
The display name of the hub content to import.
sourcepub fn get_hub_content_display_name(&self) -> &Option<String>
pub fn get_hub_content_display_name(&self) -> &Option<String>
The display name of the hub content to import.
sourcepub fn hub_content_description(self, input: impl Into<String>) -> Self
pub fn hub_content_description(self, input: impl Into<String>) -> Self
A description of the hub content to import.
sourcepub fn set_hub_content_description(self, input: Option<String>) -> Self
pub fn set_hub_content_description(self, input: Option<String>) -> Self
A description of the hub content to import.
sourcepub fn get_hub_content_description(&self) -> &Option<String>
pub fn get_hub_content_description(&self) -> &Option<String>
A description of the hub content to import.
sourcepub fn hub_content_markdown(self, input: impl Into<String>) -> Self
pub fn hub_content_markdown(self, input: impl Into<String>) -> Self
A string that provides a description of the hub content. This string can include links, tables, and standard markdown formating.
sourcepub fn set_hub_content_markdown(self, input: Option<String>) -> Self
pub fn set_hub_content_markdown(self, input: Option<String>) -> Self
A string that provides a description of the hub content. This string can include links, tables, and standard markdown formating.
sourcepub fn get_hub_content_markdown(&self) -> &Option<String>
pub fn get_hub_content_markdown(&self) -> &Option<String>
A string that provides a description of the hub content. This string can include links, tables, and standard markdown formating.
sourcepub fn hub_content_document(self, input: impl Into<String>) -> Self
pub fn hub_content_document(self, input: impl Into<String>) -> Self
The hub content document that describes information about the hub content such as type, associated containers, scripts, and more.
This field is required.sourcepub fn set_hub_content_document(self, input: Option<String>) -> Self
pub fn set_hub_content_document(self, input: Option<String>) -> Self
The hub content document that describes information about the hub content such as type, associated containers, scripts, and more.
sourcepub fn get_hub_content_document(&self) -> &Option<String>
pub fn get_hub_content_document(&self) -> &Option<String>
The hub content document that describes information about the hub content such as type, associated containers, scripts, and more.
sourcepub fn hub_content_search_keywords(self, input: impl Into<String>) -> Self
pub fn hub_content_search_keywords(self, input: impl Into<String>) -> Self
Appends an item to hub_content_search_keywords
.
To override the contents of this collection use set_hub_content_search_keywords
.
The searchable keywords of the hub content.
sourcepub fn set_hub_content_search_keywords(self, input: Option<Vec<String>>) -> Self
pub fn set_hub_content_search_keywords(self, input: Option<Vec<String>>) -> Self
The searchable keywords of the hub content.
sourcepub fn get_hub_content_search_keywords(&self) -> &Option<Vec<String>>
pub fn get_hub_content_search_keywords(&self) -> &Option<Vec<String>>
The searchable keywords of the hub content.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Any tags associated with the hub content.
Any tags associated with the hub content.
Any tags associated with the hub content.
sourcepub fn build(self) -> Result<ImportHubContentInput, BuildError>
pub fn build(self) -> Result<ImportHubContentInput, BuildError>
Consumes the builder and constructs a ImportHubContentInput
.
source§impl ImportHubContentInputBuilder
impl ImportHubContentInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<ImportHubContentOutput, SdkError<ImportHubContentError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<ImportHubContentOutput, SdkError<ImportHubContentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ImportHubContentInputBuilder
impl Clone for ImportHubContentInputBuilder
source§fn clone(&self) -> ImportHubContentInputBuilder
fn clone(&self) -> ImportHubContentInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ImportHubContentInputBuilder
impl Debug for ImportHubContentInputBuilder
source§impl Default for ImportHubContentInputBuilder
impl Default for ImportHubContentInputBuilder
source§fn default() -> ImportHubContentInputBuilder
fn default() -> ImportHubContentInputBuilder
source§impl PartialEq for ImportHubContentInputBuilder
impl PartialEq for ImportHubContentInputBuilder
source§fn eq(&self, other: &ImportHubContentInputBuilder) -> bool
fn eq(&self, other: &ImportHubContentInputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ImportHubContentInputBuilder
Auto Trait Implementations§
impl Freeze for ImportHubContentInputBuilder
impl RefUnwindSafe for ImportHubContentInputBuilder
impl Send for ImportHubContentInputBuilder
impl Sync for ImportHubContentInputBuilder
impl Unpin for ImportHubContentInputBuilder
impl UnwindSafe for ImportHubContentInputBuilder
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