Interface CreateInferenceRecommendationsJobRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateInferenceRecommendationsJobRequest.Builder,,CreateInferenceRecommendationsJobRequest> SageMakerRequest.Builder,SdkBuilder<CreateInferenceRecommendationsJobRequest.Builder,,CreateInferenceRecommendationsJobRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateInferenceRecommendationsJobRequest
-
Method Summary
Modifier and TypeMethodDescriptioninputConfig(Consumer<RecommendationJobInputConfig.Builder> inputConfig) Provides information about the versioned model package Amazon Resource Name (ARN), the traffic pattern, and endpoint configurations.inputConfig(RecommendationJobInputConfig inputConfig) Provides information about the versioned model package Amazon Resource Name (ARN), the traffic pattern, and endpoint configurations.jobDescription(String jobDescription) Description of the recommendation job.A name for the recommendation job.Defines the type of recommendation job.jobType(RecommendationJobType jobType) Defines the type of recommendation job.outputConfig(Consumer<RecommendationJobOutputConfig.Builder> outputConfig) Provides information about the output artifacts and the KMS key to use for Amazon S3 server-side encryption.outputConfig(RecommendationJobOutputConfig outputConfig) Provides information about the output artifacts and the KMS key to use for Amazon S3 server-side encryption.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.stoppingConditions(Consumer<RecommendationJobStoppingConditions.Builder> stoppingConditions) A set of conditions for stopping a recommendation job.stoppingConditions(RecommendationJobStoppingConditions stoppingConditions) A set of conditions for stopping a recommendation job.tags(Collection<Tag> tags) The metadata that you apply to Amazon Web Services resources to help you categorize and organize them.tags(Consumer<Tag.Builder>... tags) The metadata that you apply to Amazon Web Services resources to help you categorize and organize them.The metadata that you apply to Amazon Web Services resources to help you categorize and organize them.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
jobName
A name for the recommendation job. The name must be unique within the Amazon Web Services Region and within your Amazon Web Services account. The job name is passed down to the resources created by the recommendation job. The names of resources (such as the model, endpoint configuration, endpoint, and compilation) that are prefixed with the job name are truncated at 40 characters.
- Parameters:
jobName- A name for the recommendation job. The name must be unique within the Amazon Web Services Region and within your Amazon Web Services account. The job name is passed down to the resources created by the recommendation job. The names of resources (such as the model, endpoint configuration, endpoint, and compilation) that are prefixed with the job name are truncated at 40 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobType
Defines the type of recommendation job. Specify
Defaultto initiate an instance recommendation andAdvancedto initiate a load test. If left unspecified, Amazon SageMaker Inference Recommender will run an instance recommendation (DEFAULT) job.- Parameters:
jobType- Defines the type of recommendation job. SpecifyDefaultto initiate an instance recommendation andAdvancedto initiate a load test. If left unspecified, Amazon SageMaker Inference Recommender will run an instance recommendation (DEFAULT) job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jobType
Defines the type of recommendation job. Specify
Defaultto initiate an instance recommendation andAdvancedto initiate a load test. If left unspecified, Amazon SageMaker Inference Recommender will run an instance recommendation (DEFAULT) job.- Parameters:
jobType- Defines the type of recommendation job. SpecifyDefaultto initiate an instance recommendation andAdvancedto initiate a load test. If left unspecified, Amazon SageMaker Inference Recommender will run an instance recommendation (DEFAULT) job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roleArn
The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.
- Parameters:
roleArn- The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputConfig
CreateInferenceRecommendationsJobRequest.Builder inputConfig(RecommendationJobInputConfig inputConfig) Provides information about the versioned model package Amazon Resource Name (ARN), the traffic pattern, and endpoint configurations.
- Parameters:
inputConfig- Provides information about the versioned model package Amazon Resource Name (ARN), the traffic pattern, and endpoint configurations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputConfig
default CreateInferenceRecommendationsJobRequest.Builder inputConfig(Consumer<RecommendationJobInputConfig.Builder> inputConfig) Provides information about the versioned model package Amazon Resource Name (ARN), the traffic pattern, and endpoint configurations.
This is a convenience method that creates an instance of theRecommendationJobInputConfig.Builderavoiding the need to create one manually viaRecommendationJobInputConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinputConfig(RecommendationJobInputConfig).- Parameters:
inputConfig- a consumer that will call methods onRecommendationJobInputConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jobDescription
Description of the recommendation job.
- Parameters:
jobDescription- Description of the recommendation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stoppingConditions
CreateInferenceRecommendationsJobRequest.Builder stoppingConditions(RecommendationJobStoppingConditions stoppingConditions) A set of conditions for stopping a recommendation job. If any of the conditions are met, the job is automatically stopped.
- Parameters:
stoppingConditions- A set of conditions for stopping a recommendation job. If any of the conditions are met, the job is automatically stopped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stoppingConditions
default CreateInferenceRecommendationsJobRequest.Builder stoppingConditions(Consumer<RecommendationJobStoppingConditions.Builder> stoppingConditions) A set of conditions for stopping a recommendation job. If any of the conditions are met, the job is automatically stopped.
This is a convenience method that creates an instance of theRecommendationJobStoppingConditions.Builderavoiding the need to create one manually viaRecommendationJobStoppingConditions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostoppingConditions(RecommendationJobStoppingConditions).- Parameters:
stoppingConditions- a consumer that will call methods onRecommendationJobStoppingConditions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputConfig
CreateInferenceRecommendationsJobRequest.Builder outputConfig(RecommendationJobOutputConfig outputConfig) Provides information about the output artifacts and the KMS key to use for Amazon S3 server-side encryption.
- Parameters:
outputConfig- Provides information about the output artifacts and the KMS key to use for Amazon S3 server-side encryption.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputConfig
default CreateInferenceRecommendationsJobRequest.Builder outputConfig(Consumer<RecommendationJobOutputConfig.Builder> outputConfig) Provides information about the output artifacts and the KMS key to use for Amazon S3 server-side encryption.
This is a convenience method that creates an instance of theRecommendationJobOutputConfig.Builderavoiding the need to create one manually viaRecommendationJobOutputConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutputConfig(RecommendationJobOutputConfig).- Parameters:
outputConfig- a consumer that will call methods onRecommendationJobOutputConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateInferenceRecommendationsJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateInferenceRecommendationsJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-