pub struct Builder { /* private fields */ }
Expand description
A builder for CreateInferenceRecommendationsJobInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn job_name(self, input: impl Into<String>) -> Self
pub fn job_name(self, input: impl Into<String>) -> Self
A name for the recommendation job. The name must be unique within the Amazon Web Services Region and within your Amazon Web Services account.
sourcepub fn set_job_name(self, input: Option<String>) -> Self
pub fn set_job_name(self, input: Option<String>) -> Self
A name for the recommendation job. The name must be unique within the Amazon Web Services Region and within your Amazon Web Services account.
sourcepub fn job_type(self, input: RecommendationJobType) -> Self
pub fn job_type(self, input: RecommendationJobType) -> Self
Defines the type of recommendation job. Specify Default
to initiate an instance recommendation and Advanced
to initiate a load test. If left unspecified, Amazon SageMaker Inference Recommender will run an instance recommendation (DEFAULT
) job.
sourcepub fn set_job_type(self, input: Option<RecommendationJobType>) -> Self
pub fn set_job_type(self, input: Option<RecommendationJobType>) -> Self
Defines the type of recommendation job. Specify Default
to initiate an instance recommendation and Advanced
to initiate a load test. If left unspecified, Amazon SageMaker Inference Recommender will run an instance recommendation (DEFAULT
) job.
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.
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 input_config(self, input: RecommendationJobInputConfig) -> Self
pub fn input_config(self, input: RecommendationJobInputConfig) -> Self
Provides information about the versioned model package Amazon Resource Name (ARN), the traffic pattern, and endpoint configurations.
sourcepub fn set_input_config(
self,
input: Option<RecommendationJobInputConfig>
) -> Self
pub fn set_input_config(
self,
input: Option<RecommendationJobInputConfig>
) -> Self
Provides information about the versioned model package Amazon Resource Name (ARN), the traffic pattern, and endpoint configurations.
sourcepub fn job_description(self, input: impl Into<String>) -> Self
pub fn job_description(self, input: impl Into<String>) -> Self
Description of the recommendation job.
sourcepub fn set_job_description(self, input: Option<String>) -> Self
pub fn set_job_description(self, input: Option<String>) -> Self
Description of the recommendation job.
sourcepub fn stopping_conditions(
self,
input: RecommendationJobStoppingConditions
) -> Self
pub fn stopping_conditions(
self,
input: RecommendationJobStoppingConditions
) -> Self
A set of conditions for stopping a recommendation job. If any of the conditions are met, the job is automatically stopped.
sourcepub fn set_stopping_conditions(
self,
input: Option<RecommendationJobStoppingConditions>
) -> Self
pub fn set_stopping_conditions(
self,
input: Option<RecommendationJobStoppingConditions>
) -> Self
A set of conditions for stopping a recommendation job. If any of the conditions are met, the job is automatically stopped.
sourcepub fn output_config(self, input: RecommendationJobOutputConfig) -> Self
pub fn output_config(self, input: RecommendationJobOutputConfig) -> Self
Provides information about the output artifacts and the KMS key to use for Amazon S3 server-side encryption.
sourcepub fn set_output_config(
self,
input: Option<RecommendationJobOutputConfig>
) -> Self
pub fn set_output_config(
self,
input: Option<RecommendationJobOutputConfig>
) -> Self
Provides information about the output artifacts and the KMS key to use for Amazon S3 server-side encryption.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The metadata that you apply to Amazon Web Services resources to help you categorize and organize them. Each tag consists of a key and a value, both of which you define. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference.
The metadata that you apply to Amazon Web Services resources to help you categorize and organize them. Each tag consists of a key and a value, both of which you define. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference.
sourcepub fn build(self) -> Result<CreateInferenceRecommendationsJobInput, BuildError>
pub fn build(self) -> Result<CreateInferenceRecommendationsJobInput, BuildError>
Consumes the builder and constructs a CreateInferenceRecommendationsJobInput
.