Interface CreateInferenceRecommendationsJobRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateInferenceRecommendationsJobRequest.Builder,CreateInferenceRecommendationsJobRequest>
,SageMakerRequest.Builder
,SdkBuilder<CreateInferenceRecommendationsJobRequest.Builder,CreateInferenceRecommendationsJobRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- CreateInferenceRecommendationsJobRequest
public static interface CreateInferenceRecommendationsJobRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<CreateInferenceRecommendationsJobRequest.Builder,CreateInferenceRecommendationsJobRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description 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.CreateInferenceRecommendationsJobRequest.Builder
inputConfig(RecommendationJobInputConfig inputConfig)
Provides information about the versioned model package Amazon Resource Name (ARN), the traffic pattern, and endpoint configurations.CreateInferenceRecommendationsJobRequest.Builder
jobDescription(String jobDescription)
Description of the recommendation job.CreateInferenceRecommendationsJobRequest.Builder
jobName(String jobName)
A name for the recommendation job.CreateInferenceRecommendationsJobRequest.Builder
jobType(String jobType)
Defines the type of recommendation job.CreateInferenceRecommendationsJobRequest.Builder
jobType(RecommendationJobType jobType)
Defines the type of recommendation job.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.CreateInferenceRecommendationsJobRequest.Builder
outputConfig(RecommendationJobOutputConfig outputConfig)
Provides information about the output artifacts and the KMS key to use for Amazon S3 server-side encryption.CreateInferenceRecommendationsJobRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
CreateInferenceRecommendationsJobRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
CreateInferenceRecommendationsJobRequest.Builder
roleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.default CreateInferenceRecommendationsJobRequest.Builder
stoppingConditions(Consumer<RecommendationJobStoppingConditions.Builder> stoppingConditions)
A set of conditions for stopping a recommendation job.CreateInferenceRecommendationsJobRequest.Builder
stoppingConditions(RecommendationJobStoppingConditions stoppingConditions)
A set of conditions for stopping a recommendation job.CreateInferenceRecommendationsJobRequest.Builder
tags(Collection<Tag> tags)
The metadata that you apply to Amazon Web Services resources to help you categorize and organize them.CreateInferenceRecommendationsJobRequest.Builder
tags(Consumer<Tag.Builder>... tags)
The metadata that you apply to Amazon Web Services resources to help you categorize and organize them.CreateInferenceRecommendationsJobRequest.Builder
tags(Tag... tags)
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
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
jobName
CreateInferenceRecommendationsJobRequest.Builder jobName(String 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
CreateInferenceRecommendationsJobRequest.Builder jobType(String jobType)
Defines the type of recommendation job. Specify
Default
to initiate an instance recommendation andAdvanced
to 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. SpecifyDefault
to initiate an instance recommendation andAdvanced
to 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:
RecommendationJobType
,RecommendationJobType
-
jobType
CreateInferenceRecommendationsJobRequest.Builder jobType(RecommendationJobType jobType)
Defines the type of recommendation job. Specify
Default
to initiate an instance recommendation andAdvanced
to 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. SpecifyDefault
to initiate an instance recommendation andAdvanced
to 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:
RecommendationJobType
,RecommendationJobType
-
roleArn
CreateInferenceRecommendationsJobRequest.Builder roleArn(String 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.Builder
avoiding the need to create one manually viaRecommendationJobInputConfig.builder()
.When the
Consumer
completes,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:
inputConfig(RecommendationJobInputConfig)
-
jobDescription
CreateInferenceRecommendationsJobRequest.Builder jobDescription(String 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.Builder
avoiding the need to create one manually viaRecommendationJobStoppingConditions.builder()
.When the
Consumer
completes,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:
stoppingConditions(RecommendationJobStoppingConditions)
-
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.Builder
avoiding the need to create one manually viaRecommendationJobOutputConfig.builder()
.When the
Consumer
completes,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:
outputConfig(RecommendationJobOutputConfig)
-
tags
CreateInferenceRecommendationsJobRequest.Builder tags(Collection<Tag> 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
CreateInferenceRecommendationsJobRequest.Builder tags(Tag... 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
CreateInferenceRecommendationsJobRequest.Builder tags(Consumer<Tag.Builder>... 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.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#tags(List
.) - 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:
#tags(java.util.Collection
)
-
overrideConfiguration
CreateInferenceRecommendationsJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateInferenceRecommendationsJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-