Struct aws_sdk_sagemaker::operation::create_hub_content_reference::builders::CreateHubContentReferenceFluentBuilder
source · pub struct CreateHubContentReferenceFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateHubContentReference
.
Create a hub content reference in order to add a model in the JumpStart public hub to a private hub.
Implementations§
source§impl CreateHubContentReferenceFluentBuilder
impl CreateHubContentReferenceFluentBuilder
sourcepub fn as_input(&self) -> &CreateHubContentReferenceInputBuilder
pub fn as_input(&self) -> &CreateHubContentReferenceInputBuilder
Access the CreateHubContentReference as a reference.
sourcepub async fn send(
self,
) -> Result<CreateHubContentReferenceOutput, SdkError<CreateHubContentReferenceError, HttpResponse>>
pub async fn send( self, ) -> Result<CreateHubContentReferenceOutput, SdkError<CreateHubContentReferenceError, 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<CreateHubContentReferenceOutput, CreateHubContentReferenceError, Self>
pub fn customize( self, ) -> CustomizableOperation<CreateHubContentReferenceOutput, CreateHubContentReferenceError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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.
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.
Trait Implementations§
source§impl Clone for CreateHubContentReferenceFluentBuilder
impl Clone for CreateHubContentReferenceFluentBuilder
source§fn clone(&self) -> CreateHubContentReferenceFluentBuilder
fn clone(&self) -> CreateHubContentReferenceFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for CreateHubContentReferenceFluentBuilder
impl !RefUnwindSafe for CreateHubContentReferenceFluentBuilder
impl Send for CreateHubContentReferenceFluentBuilder
impl Sync for CreateHubContentReferenceFluentBuilder
impl Unpin for CreateHubContentReferenceFluentBuilder
impl !UnwindSafe for CreateHubContentReferenceFluentBuilder
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