#[non_exhaustive]pub struct InferenceRecommendationsJobBuilder { /* private fields */ }
Expand description
A builder for InferenceRecommendationsJob
.
Implementations§
source§impl InferenceRecommendationsJobBuilder
impl InferenceRecommendationsJobBuilder
sourcepub fn job_name(self, input: impl Into<String>) -> Self
pub fn job_name(self, input: impl Into<String>) -> Self
The name of the job.
This field is required.sourcepub fn set_job_name(self, input: Option<String>) -> Self
pub fn set_job_name(self, input: Option<String>) -> Self
The name of the job.
sourcepub fn get_job_name(&self) -> &Option<String>
pub fn get_job_name(&self) -> &Option<String>
The name of the job.
sourcepub fn job_description(self, input: impl Into<String>) -> Self
pub fn job_description(self, input: impl Into<String>) -> Self
The job description.
This field is required.sourcepub fn set_job_description(self, input: Option<String>) -> Self
pub fn set_job_description(self, input: Option<String>) -> Self
The job description.
sourcepub fn get_job_description(&self) -> &Option<String>
pub fn get_job_description(&self) -> &Option<String>
The job description.
sourcepub fn job_type(self, input: RecommendationJobType) -> Self
pub fn job_type(self, input: RecommendationJobType) -> Self
The recommendation job type.
This field is required.sourcepub fn set_job_type(self, input: Option<RecommendationJobType>) -> Self
pub fn set_job_type(self, input: Option<RecommendationJobType>) -> Self
The recommendation job type.
sourcepub fn get_job_type(&self) -> &Option<RecommendationJobType>
pub fn get_job_type(&self) -> &Option<RecommendationJobType>
The recommendation job type.
sourcepub fn job_arn(self, input: impl Into<String>) -> Self
pub fn job_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the recommendation job.
This field is required.sourcepub fn set_job_arn(self, input: Option<String>) -> Self
pub fn set_job_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the recommendation job.
sourcepub fn get_job_arn(&self) -> &Option<String>
pub fn get_job_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the recommendation job.
sourcepub fn status(self, input: RecommendationJobStatus) -> Self
pub fn status(self, input: RecommendationJobStatus) -> Self
The status of the job.
This field is required.sourcepub fn set_status(self, input: Option<RecommendationJobStatus>) -> Self
pub fn set_status(self, input: Option<RecommendationJobStatus>) -> Self
The status of the job.
sourcepub fn get_status(&self) -> &Option<RecommendationJobStatus>
pub fn get_status(&self) -> &Option<RecommendationJobStatus>
The status of the job.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
A timestamp that shows when the job was created.
This field is required.sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
A timestamp that shows when the job was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
A timestamp that shows when the job was created.
sourcepub fn completion_time(self, input: DateTime) -> Self
pub fn completion_time(self, input: DateTime) -> Self
A timestamp that shows when the job completed.
sourcepub fn set_completion_time(self, input: Option<DateTime>) -> Self
pub fn set_completion_time(self, input: Option<DateTime>) -> Self
A timestamp that shows when the job completed.
sourcepub fn get_completion_time(&self) -> &Option<DateTime>
pub fn get_completion_time(&self) -> &Option<DateTime>
A timestamp that shows when the job completed.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.
This field is required.sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.
sourcepub fn last_modified_time(self, input: DateTime) -> Self
pub fn last_modified_time(self, input: DateTime) -> Self
A timestamp that shows when the job was last modified.
This field is required.sourcepub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
A timestamp that shows when the job was last modified.
sourcepub fn get_last_modified_time(&self) -> &Option<DateTime>
pub fn get_last_modified_time(&self) -> &Option<DateTime>
A timestamp that shows when the job was last modified.
sourcepub fn failure_reason(self, input: impl Into<String>) -> Self
pub fn failure_reason(self, input: impl Into<String>) -> Self
If the job fails, provides information why the job failed.
sourcepub fn set_failure_reason(self, input: Option<String>) -> Self
pub fn set_failure_reason(self, input: Option<String>) -> Self
If the job fails, provides information why the job failed.
sourcepub fn get_failure_reason(&self) -> &Option<String>
pub fn get_failure_reason(&self) -> &Option<String>
If the job fails, provides information why the job failed.
sourcepub fn model_name(self, input: impl Into<String>) -> Self
pub fn model_name(self, input: impl Into<String>) -> Self
The name of the created model.
sourcepub fn set_model_name(self, input: Option<String>) -> Self
pub fn set_model_name(self, input: Option<String>) -> Self
The name of the created model.
sourcepub fn get_model_name(&self) -> &Option<String>
pub fn get_model_name(&self) -> &Option<String>
The name of the created model.
sourcepub fn sample_payload_url(self, input: impl Into<String>) -> Self
pub fn sample_payload_url(self, input: impl Into<String>) -> Self
The Amazon Simple Storage Service (Amazon S3) path where the sample payload is stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).
sourcepub fn set_sample_payload_url(self, input: Option<String>) -> Self
pub fn set_sample_payload_url(self, input: Option<String>) -> Self
The Amazon Simple Storage Service (Amazon S3) path where the sample payload is stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).
sourcepub fn get_sample_payload_url(&self) -> &Option<String>
pub fn get_sample_payload_url(&self) -> &Option<String>
The Amazon Simple Storage Service (Amazon S3) path where the sample payload is stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).
sourcepub fn model_package_version_arn(self, input: impl Into<String>) -> Self
pub fn model_package_version_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of a versioned model package.
sourcepub fn set_model_package_version_arn(self, input: Option<String>) -> Self
pub fn set_model_package_version_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of a versioned model package.
sourcepub fn get_model_package_version_arn(&self) -> &Option<String>
pub fn get_model_package_version_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of a versioned model package.
sourcepub fn build(self) -> InferenceRecommendationsJob
pub fn build(self) -> InferenceRecommendationsJob
Consumes the builder and constructs a InferenceRecommendationsJob
.
Trait Implementations§
source§impl Clone for InferenceRecommendationsJobBuilder
impl Clone for InferenceRecommendationsJobBuilder
source§fn clone(&self) -> InferenceRecommendationsJobBuilder
fn clone(&self) -> InferenceRecommendationsJobBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for InferenceRecommendationsJobBuilder
impl Default for InferenceRecommendationsJobBuilder
source§fn default() -> InferenceRecommendationsJobBuilder
fn default() -> InferenceRecommendationsJobBuilder
source§impl PartialEq for InferenceRecommendationsJobBuilder
impl PartialEq for InferenceRecommendationsJobBuilder
source§fn eq(&self, other: &InferenceRecommendationsJobBuilder) -> bool
fn eq(&self, other: &InferenceRecommendationsJobBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InferenceRecommendationsJobBuilder
Auto Trait Implementations§
impl Freeze for InferenceRecommendationsJobBuilder
impl RefUnwindSafe for InferenceRecommendationsJobBuilder
impl Send for InferenceRecommendationsJobBuilder
impl Sync for InferenceRecommendationsJobBuilder
impl Unpin for InferenceRecommendationsJobBuilder
impl UnwindSafe for InferenceRecommendationsJobBuilder
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