Struct aws_sdk_sagemaker::operation::create_hub_content_reference::builders::CreateHubContentReferenceInputBuilder
source · #[non_exhaustive]pub struct CreateHubContentReferenceInputBuilder { /* private fields */ }
Expand description
A builder for CreateHubContentReferenceInput
.
Implementations§
source§impl CreateHubContentReferenceInputBuilder
impl CreateHubContentReferenceInputBuilder
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 add the hub content reference to.
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 add the hub content reference to.
sourcepub fn get_hub_name(&self) -> &Option<String>
pub fn get_hub_name(&self) -> &Option<String>
The name of the hub to add the hub content reference to.
sourcepub fn sage_maker_public_hub_content_arn(self, input: impl Into<String>) -> Self
pub fn sage_maker_public_hub_content_arn(self, input: impl Into<String>) -> Self
The ARN of the public hub content to reference.
This field is required.sourcepub fn set_sage_maker_public_hub_content_arn(
self,
input: Option<String>,
) -> Self
pub fn set_sage_maker_public_hub_content_arn( self, input: Option<String>, ) -> Self
The ARN of the public hub content to reference.
sourcepub fn get_sage_maker_public_hub_content_arn(&self) -> &Option<String>
pub fn get_sage_maker_public_hub_content_arn(&self) -> &Option<String>
The ARN of the public hub content to reference.
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 reference.
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 reference.
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 reference.
sourcepub fn min_version(self, input: impl Into<String>) -> Self
pub fn min_version(self, input: impl Into<String>) -> Self
The minimum version of the hub content to reference.
sourcepub fn set_min_version(self, input: Option<String>) -> Self
pub fn set_min_version(self, input: Option<String>) -> Self
The minimum version of the hub content to reference.
sourcepub fn get_min_version(&self) -> &Option<String>
pub fn get_min_version(&self) -> &Option<String>
The minimum version of the hub content to reference.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Any tags associated with the hub content to reference.
Any tags associated with the hub content to reference.
Any tags associated with the hub content to reference.
sourcepub fn build(self) -> Result<CreateHubContentReferenceInput, BuildError>
pub fn build(self) -> Result<CreateHubContentReferenceInput, BuildError>
Consumes the builder and constructs a CreateHubContentReferenceInput
.
source§impl CreateHubContentReferenceInputBuilder
impl CreateHubContentReferenceInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateHubContentReferenceOutput, SdkError<CreateHubContentReferenceError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateHubContentReferenceOutput, SdkError<CreateHubContentReferenceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateHubContentReferenceInputBuilder
impl Clone for CreateHubContentReferenceInputBuilder
source§fn clone(&self) -> CreateHubContentReferenceInputBuilder
fn clone(&self) -> CreateHubContentReferenceInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateHubContentReferenceInputBuilder
impl Default for CreateHubContentReferenceInputBuilder
source§fn default() -> CreateHubContentReferenceInputBuilder
fn default() -> CreateHubContentReferenceInputBuilder
source§impl PartialEq for CreateHubContentReferenceInputBuilder
impl PartialEq for CreateHubContentReferenceInputBuilder
source§fn eq(&self, other: &CreateHubContentReferenceInputBuilder) -> bool
fn eq(&self, other: &CreateHubContentReferenceInputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CreateHubContentReferenceInputBuilder
Auto Trait Implementations§
impl Freeze for CreateHubContentReferenceInputBuilder
impl RefUnwindSafe for CreateHubContentReferenceInputBuilder
impl Send for CreateHubContentReferenceInputBuilder
impl Sync for CreateHubContentReferenceInputBuilder
impl Unpin for CreateHubContentReferenceInputBuilder
impl UnwindSafe for CreateHubContentReferenceInputBuilder
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