public static interface RecommendationJobContainerConfig.Builder extends SdkPojo, CopyableBuilder<RecommendationJobContainerConfig.Builder,RecommendationJobContainerConfig>
| Modifier and Type | Method and Description |
|---|---|
RecommendationJobContainerConfig.Builder |
dataInputConfig(String dataInputConfig)
Specifies the name and shape of the expected data inputs for your trained model with a JSON dictionary form.
|
RecommendationJobContainerConfig.Builder |
domain(String domain)
The machine learning domain of the model and its components.
|
RecommendationJobContainerConfig.Builder |
framework(String framework)
The machine learning framework of the container image.
|
RecommendationJobContainerConfig.Builder |
frameworkVersion(String frameworkVersion)
The framework version of the container image.
|
RecommendationJobContainerConfig.Builder |
nearestModelName(String nearestModelName)
The name of a pre-trained machine learning model benchmarked by Amazon SageMaker Inference Recommender that
matches your model.
|
default RecommendationJobContainerConfig.Builder |
payloadConfig(Consumer<RecommendationJobPayloadConfig.Builder> payloadConfig)
Specifies the
SamplePayloadUrl and all other sample payload-related fields. |
RecommendationJobContainerConfig.Builder |
payloadConfig(RecommendationJobPayloadConfig payloadConfig)
Specifies the
SamplePayloadUrl and all other sample payload-related fields. |
RecommendationJobContainerConfig.Builder |
supportedEndpointType(RecommendationJobSupportedEndpointType supportedEndpointType)
The endpoint type to receive recommendations for.
|
RecommendationJobContainerConfig.Builder |
supportedEndpointType(String supportedEndpointType)
The endpoint type to receive recommendations for.
|
RecommendationJobContainerConfig.Builder |
supportedInstanceTypes(Collection<String> supportedInstanceTypes)
A list of the instance types that are used to generate inferences in real-time.
|
RecommendationJobContainerConfig.Builder |
supportedInstanceTypes(String... supportedInstanceTypes)
A list of the instance types that are used to generate inferences in real-time.
|
RecommendationJobContainerConfig.Builder |
supportedResponseMIMETypes(Collection<String> supportedResponseMIMETypes)
The supported MIME types for the output data.
|
RecommendationJobContainerConfig.Builder |
supportedResponseMIMETypes(String... supportedResponseMIMETypes)
The supported MIME types for the output data.
|
RecommendationJobContainerConfig.Builder |
task(String task)
The machine learning task that the model accomplishes.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRecommendationJobContainerConfig.Builder domain(String domain)
The machine learning domain of the model and its components.
Valid Values: COMPUTER_VISION | NATURAL_LANGUAGE_PROCESSING | MACHINE_LEARNING
domain - The machine learning domain of the model and its components.
Valid Values: COMPUTER_VISION | NATURAL_LANGUAGE_PROCESSING | MACHINE_LEARNING
RecommendationJobContainerConfig.Builder task(String task)
The machine learning task that the model accomplishes.
Valid Values:
IMAGE_CLASSIFICATION | OBJECT_DETECTION | TEXT_GENERATION | IMAGE_SEGMENTATION | FILL_MASK | CLASSIFICATION | REGRESSION | OTHER
task - The machine learning task that the model accomplishes.
Valid Values:
IMAGE_CLASSIFICATION | OBJECT_DETECTION | TEXT_GENERATION | IMAGE_SEGMENTATION | FILL_MASK | CLASSIFICATION | REGRESSION | OTHER
RecommendationJobContainerConfig.Builder framework(String framework)
The machine learning framework of the container image.
Valid Values: TENSORFLOW | PYTORCH | XGBOOST | SAGEMAKER-SCIKIT-LEARN
framework - The machine learning framework of the container image.
Valid Values: TENSORFLOW | PYTORCH | XGBOOST | SAGEMAKER-SCIKIT-LEARN
RecommendationJobContainerConfig.Builder frameworkVersion(String frameworkVersion)
The framework version of the container image.
frameworkVersion - The framework version of the container image.RecommendationJobContainerConfig.Builder payloadConfig(RecommendationJobPayloadConfig payloadConfig)
Specifies the SamplePayloadUrl and all other sample payload-related fields.
payloadConfig - Specifies the SamplePayloadUrl and all other sample payload-related fields.default RecommendationJobContainerConfig.Builder payloadConfig(Consumer<RecommendationJobPayloadConfig.Builder> payloadConfig)
Specifies the SamplePayloadUrl and all other sample payload-related fields.
RecommendationJobPayloadConfig.Builder
avoiding the need to create one manually via RecommendationJobPayloadConfig.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to payloadConfig(RecommendationJobPayloadConfig).
payloadConfig - a consumer that will call methods on RecommendationJobPayloadConfig.BuilderpayloadConfig(RecommendationJobPayloadConfig)RecommendationJobContainerConfig.Builder nearestModelName(String nearestModelName)
The name of a pre-trained machine learning model benchmarked by Amazon SageMaker Inference Recommender that matches your model.
Valid Values:
efficientnetb7 | unet | xgboost | faster-rcnn-resnet101 | nasnetlarge | vgg16 | inception-v3 | mask-rcnn | sagemaker-scikit-learn | densenet201-gluon | resnet18v2-gluon | xception | densenet201 | yolov4 | resnet152 | bert-base-cased | xceptionV1-keras | resnet50 | retinanet
nearestModelName - The name of a pre-trained machine learning model benchmarked by Amazon SageMaker Inference Recommender
that matches your model.
Valid Values:
efficientnetb7 | unet | xgboost | faster-rcnn-resnet101 | nasnetlarge | vgg16 | inception-v3 | mask-rcnn | sagemaker-scikit-learn | densenet201-gluon | resnet18v2-gluon | xception | densenet201 | yolov4 | resnet152 | bert-base-cased | xceptionV1-keras | resnet50 | retinanet
RecommendationJobContainerConfig.Builder supportedInstanceTypes(Collection<String> supportedInstanceTypes)
A list of the instance types that are used to generate inferences in real-time.
supportedInstanceTypes - A list of the instance types that are used to generate inferences in real-time.RecommendationJobContainerConfig.Builder supportedInstanceTypes(String... supportedInstanceTypes)
A list of the instance types that are used to generate inferences in real-time.
supportedInstanceTypes - A list of the instance types that are used to generate inferences in real-time.RecommendationJobContainerConfig.Builder dataInputConfig(String dataInputConfig)
Specifies the name and shape of the expected data inputs for your trained model with a JSON dictionary form. This field is used for optimizing your model using SageMaker Neo. For more information, see DataInputConfig.
dataInputConfig - Specifies the name and shape of the expected data inputs for your trained model with a JSON dictionary
form. This field is used for optimizing your model using SageMaker Neo. For more information, see DataInputConfig.RecommendationJobContainerConfig.Builder supportedEndpointType(String supportedEndpointType)
The endpoint type to receive recommendations for. By default this is null, and the results of the inference recommendation job return a combined list of both real-time and serverless benchmarks. By specifying a value for this field, you can receive a longer list of benchmarks for the desired endpoint type.
supportedEndpointType - The endpoint type to receive recommendations for. By default this is null, and the results of the
inference recommendation job return a combined list of both real-time and serverless benchmarks. By
specifying a value for this field, you can receive a longer list of benchmarks for the desired
endpoint type.RecommendationJobSupportedEndpointType,
RecommendationJobSupportedEndpointTypeRecommendationJobContainerConfig.Builder supportedEndpointType(RecommendationJobSupportedEndpointType supportedEndpointType)
The endpoint type to receive recommendations for. By default this is null, and the results of the inference recommendation job return a combined list of both real-time and serverless benchmarks. By specifying a value for this field, you can receive a longer list of benchmarks for the desired endpoint type.
supportedEndpointType - The endpoint type to receive recommendations for. By default this is null, and the results of the
inference recommendation job return a combined list of both real-time and serverless benchmarks. By
specifying a value for this field, you can receive a longer list of benchmarks for the desired
endpoint type.RecommendationJobSupportedEndpointType,
RecommendationJobSupportedEndpointTypeRecommendationJobContainerConfig.Builder supportedResponseMIMETypes(Collection<String> supportedResponseMIMETypes)
The supported MIME types for the output data.
supportedResponseMIMETypes - The supported MIME types for the output data.RecommendationJobContainerConfig.Builder supportedResponseMIMETypes(String... supportedResponseMIMETypes)
The supported MIME types for the output data.
supportedResponseMIMETypes - The supported MIME types for the output data.Copyright © 2023. All rights reserved.