public static interface RecommendationJobInputConfig.Builder extends SdkPojo, CopyableBuilder<RecommendationJobInputConfig.Builder,RecommendationJobInputConfig>
| Modifier and Type | Method and Description |
|---|---|
default RecommendationJobInputConfig.Builder |
containerConfig(Consumer<RecommendationJobContainerConfig.Builder> containerConfig)
Specifies mandatory fields for running an Inference Recommender job.
|
RecommendationJobInputConfig.Builder |
containerConfig(RecommendationJobContainerConfig containerConfig)
Specifies mandatory fields for running an Inference Recommender job.
|
RecommendationJobInputConfig.Builder |
endpointConfigurations(Collection<EndpointInputConfiguration> endpointConfigurations)
Specifies the endpoint configuration to use for a job.
|
RecommendationJobInputConfig.Builder |
endpointConfigurations(Consumer<EndpointInputConfiguration.Builder>... endpointConfigurations)
Specifies the endpoint configuration to use for a job.
|
RecommendationJobInputConfig.Builder |
endpointConfigurations(EndpointInputConfiguration... endpointConfigurations)
Specifies the endpoint configuration to use for a job.
|
RecommendationJobInputConfig.Builder |
endpoints(Collection<EndpointInfo> endpoints)
Existing customer endpoints on which to run an Inference Recommender job.
|
RecommendationJobInputConfig.Builder |
endpoints(Consumer<EndpointInfo.Builder>... endpoints)
Existing customer endpoints on which to run an Inference Recommender job.
|
RecommendationJobInputConfig.Builder |
endpoints(EndpointInfo... endpoints)
Existing customer endpoints on which to run an Inference Recommender job.
|
RecommendationJobInputConfig.Builder |
jobDurationInSeconds(Integer jobDurationInSeconds)
Specifies the maximum duration of the job, in seconds.
|
RecommendationJobInputConfig.Builder |
modelName(String modelName)
The name of the created model.
|
RecommendationJobInputConfig.Builder |
modelPackageVersionArn(String modelPackageVersionArn)
The Amazon Resource Name (ARN) of a versioned model package.
|
default RecommendationJobInputConfig.Builder |
resourceLimit(Consumer<RecommendationJobResourceLimit.Builder> resourceLimit)
Defines the resource limit of the job.
|
RecommendationJobInputConfig.Builder |
resourceLimit(RecommendationJobResourceLimit resourceLimit)
Defines the resource limit of the job.
|
default RecommendationJobInputConfig.Builder |
trafficPattern(Consumer<TrafficPattern.Builder> trafficPattern)
Specifies the traffic pattern of the job.
|
RecommendationJobInputConfig.Builder |
trafficPattern(TrafficPattern trafficPattern)
Specifies the traffic pattern of the job.
|
RecommendationJobInputConfig.Builder |
volumeKmsKeyId(String volumeKmsKeyId)
The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service (Amazon Web Services KMS) key
that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that
hosts the endpoint.
|
default RecommendationJobInputConfig.Builder |
vpcConfig(Consumer<RecommendationJobVpcConfig.Builder> vpcConfig)
Inference Recommender provisions SageMaker endpoints with access to VPC in the inference recommendation job.
|
RecommendationJobInputConfig.Builder |
vpcConfig(RecommendationJobVpcConfig vpcConfig)
Inference Recommender provisions SageMaker endpoints with access to VPC in the inference recommendation job.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRecommendationJobInputConfig.Builder modelPackageVersionArn(String modelPackageVersionArn)
The Amazon Resource Name (ARN) of a versioned model package.
modelPackageVersionArn - The Amazon Resource Name (ARN) of a versioned model package.RecommendationJobInputConfig.Builder jobDurationInSeconds(Integer jobDurationInSeconds)
Specifies the maximum duration of the job, in seconds. The maximum value is 18,000 seconds.
jobDurationInSeconds - Specifies the maximum duration of the job, in seconds. The maximum value is 18,000 seconds.RecommendationJobInputConfig.Builder trafficPattern(TrafficPattern trafficPattern)
Specifies the traffic pattern of the job.
trafficPattern - Specifies the traffic pattern of the job.default RecommendationJobInputConfig.Builder trafficPattern(Consumer<TrafficPattern.Builder> trafficPattern)
Specifies the traffic pattern of the job.
This is a convenience method that creates an instance of theTrafficPattern.Builder avoiding the need
to create one manually via TrafficPattern.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to trafficPattern(TrafficPattern).
trafficPattern - a consumer that will call methods on TrafficPattern.BuildertrafficPattern(TrafficPattern)RecommendationJobInputConfig.Builder resourceLimit(RecommendationJobResourceLimit resourceLimit)
Defines the resource limit of the job.
resourceLimit - Defines the resource limit of the job.default RecommendationJobInputConfig.Builder resourceLimit(Consumer<RecommendationJobResourceLimit.Builder> resourceLimit)
Defines the resource limit of the job.
This is a convenience method that creates an instance of theRecommendationJobResourceLimit.Builder
avoiding the need to create one manually via RecommendationJobResourceLimit.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to resourceLimit(RecommendationJobResourceLimit).
resourceLimit - a consumer that will call methods on RecommendationJobResourceLimit.BuilderresourceLimit(RecommendationJobResourceLimit)RecommendationJobInputConfig.Builder endpointConfigurations(Collection<EndpointInputConfiguration> endpointConfigurations)
Specifies the endpoint configuration to use for a job.
endpointConfigurations - Specifies the endpoint configuration to use for a job.RecommendationJobInputConfig.Builder endpointConfigurations(EndpointInputConfiguration... endpointConfigurations)
Specifies the endpoint configuration to use for a job.
endpointConfigurations - Specifies the endpoint configuration to use for a job.RecommendationJobInputConfig.Builder endpointConfigurations(Consumer<EndpointInputConfiguration.Builder>... endpointConfigurations)
Specifies the endpoint configuration to use for a job.
This is a convenience method that creates an instance of theEndpointInputConfiguration.Builder avoiding the need
to create one manually via
EndpointInputConfiguration.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #endpointConfigurations(List.
endpointConfigurations - a consumer that will call methods on
EndpointInputConfiguration.Builder#endpointConfigurations(java.util.Collection) RecommendationJobInputConfig.Builder volumeKmsKeyId(String volumeKmsKeyId)
The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint. This key will be passed to SageMaker Hosting for endpoint creation.
The SageMaker execution role must have kms:CreateGrant permission in order to encrypt data on
the storage volume of the endpoints created for inference recommendation. The inference recommendation job
will fail asynchronously during endpoint configuration creation if the role passed does not have
kms:CreateGrant permission.
The KmsKeyId can be any of the following formats:
// KMS Key ID
"1234abcd-12ab-34cd-56ef-1234567890ab"
// Amazon Resource Name (ARN) of a KMS Key
"arn:aws:kms:<region>:<account>:key/<key-id-12ab-34cd-56ef-1234567890ab>"
// KMS Key Alias
"alias/ExampleAlias"
// Amazon Resource Name (ARN) of a KMS Key Alias
"arn:aws:kms:<region>:<account>:alias/<ExampleAlias>"
For more information about key identifiers, see Key identifiers (KeyID) in the Amazon Web Services Key Management Service (Amazon Web Services KMS) documentation.
volumeKmsKeyId - The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service (Amazon Web Services
KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute
instance that hosts the endpoint. This key will be passed to SageMaker Hosting for endpoint creation.
The SageMaker execution role must have kms:CreateGrant permission in order to encrypt
data on the storage volume of the endpoints created for inference recommendation. The inference
recommendation job will fail asynchronously during endpoint configuration creation if the role passed
does not have kms:CreateGrant permission.
The KmsKeyId can be any of the following formats:
// KMS Key ID
"1234abcd-12ab-34cd-56ef-1234567890ab"
// Amazon Resource Name (ARN) of a KMS Key
"arn:aws:kms:<region>:<account>:key/<key-id-12ab-34cd-56ef-1234567890ab>"
// KMS Key Alias
"alias/ExampleAlias"
// Amazon Resource Name (ARN) of a KMS Key Alias
"arn:aws:kms:<region>:<account>:alias/<ExampleAlias>"
For more information about key identifiers, see Key identifiers (KeyID) in the Amazon Web Services Key Management Service (Amazon Web Services KMS) documentation.
RecommendationJobInputConfig.Builder containerConfig(RecommendationJobContainerConfig containerConfig)
Specifies mandatory fields for running an Inference Recommender job. The fields specified in
ContainerConfig override the corresponding fields in the model package.
containerConfig - Specifies mandatory fields for running an Inference Recommender job. The fields specified in
ContainerConfig override the corresponding fields in the model package.default RecommendationJobInputConfig.Builder containerConfig(Consumer<RecommendationJobContainerConfig.Builder> containerConfig)
Specifies mandatory fields for running an Inference Recommender job. The fields specified in
ContainerConfig override the corresponding fields in the model package.
RecommendationJobContainerConfig.Builder
avoiding the need to create one manually via RecommendationJobContainerConfig.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to containerConfig(RecommendationJobContainerConfig).
containerConfig - a consumer that will call methods on RecommendationJobContainerConfig.BuildercontainerConfig(RecommendationJobContainerConfig)RecommendationJobInputConfig.Builder endpoints(Collection<EndpointInfo> endpoints)
Existing customer endpoints on which to run an Inference Recommender job.
endpoints - Existing customer endpoints on which to run an Inference Recommender job.RecommendationJobInputConfig.Builder endpoints(EndpointInfo... endpoints)
Existing customer endpoints on which to run an Inference Recommender job.
endpoints - Existing customer endpoints on which to run an Inference Recommender job.RecommendationJobInputConfig.Builder endpoints(Consumer<EndpointInfo.Builder>... endpoints)
Existing customer endpoints on which to run an Inference Recommender job.
This is a convenience method that creates an instance of theEndpointInfo.Builder avoiding the need to create one
manually via EndpointInfo.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #endpoints(List.
endpoints - a consumer that will call methods on
EndpointInfo.Builder#endpoints(java.util.Collection) RecommendationJobInputConfig.Builder vpcConfig(RecommendationJobVpcConfig vpcConfig)
Inference Recommender provisions SageMaker endpoints with access to VPC in the inference recommendation job.
vpcConfig - Inference Recommender provisions SageMaker endpoints with access to VPC in the inference
recommendation job.default RecommendationJobInputConfig.Builder vpcConfig(Consumer<RecommendationJobVpcConfig.Builder> vpcConfig)
Inference Recommender provisions SageMaker endpoints with access to VPC in the inference recommendation job.
This is a convenience method that creates an instance of theRecommendationJobVpcConfig.Builder
avoiding the need to create one manually via RecommendationJobVpcConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to vpcConfig(RecommendationJobVpcConfig).
vpcConfig - a consumer that will call methods on RecommendationJobVpcConfig.BuildervpcConfig(RecommendationJobVpcConfig)RecommendationJobInputConfig.Builder modelName(String modelName)
The name of the created model.
modelName - The name of the created model.Copyright © 2023. All rights reserved.