public static interface InferenceSpecification.Builder extends SdkPojo, CopyableBuilder<InferenceSpecification.Builder,InferenceSpecification>
Modifier and Type | Method and Description |
---|---|
InferenceSpecification.Builder |
containers(Collection<ModelPackageContainerDefinition> containers)
The Amazon ECR registry path of the Docker image that contains the inference code.
|
InferenceSpecification.Builder |
containers(Consumer<ModelPackageContainerDefinition.Builder>... containers)
The Amazon ECR registry path of the Docker image that contains the inference code.
|
InferenceSpecification.Builder |
containers(ModelPackageContainerDefinition... containers)
The Amazon ECR registry path of the Docker image that contains the inference code.
|
InferenceSpecification.Builder |
supportedContentTypes(Collection<String> supportedContentTypes)
The supported MIME types for the input data.
|
InferenceSpecification.Builder |
supportedContentTypes(String... supportedContentTypes)
The supported MIME types for the input data.
|
InferenceSpecification.Builder |
supportedRealtimeInferenceInstanceTypes(Collection<ProductionVariantInstanceType> supportedRealtimeInferenceInstanceTypes)
A list of the instance types that are used to generate inferences in real-time.
|
InferenceSpecification.Builder |
supportedRealtimeInferenceInstanceTypes(ProductionVariantInstanceType... supportedRealtimeInferenceInstanceTypes)
A list of the instance types that are used to generate inferences in real-time.
|
InferenceSpecification.Builder |
supportedRealtimeInferenceInstanceTypesWithStrings(Collection<String> supportedRealtimeInferenceInstanceTypes)
A list of the instance types that are used to generate inferences in real-time.
|
InferenceSpecification.Builder |
supportedRealtimeInferenceInstanceTypesWithStrings(String... supportedRealtimeInferenceInstanceTypes)
A list of the instance types that are used to generate inferences in real-time.
|
InferenceSpecification.Builder |
supportedResponseMIMETypes(Collection<String> supportedResponseMIMETypes)
The supported MIME types for the output data.
|
InferenceSpecification.Builder |
supportedResponseMIMETypes(String... supportedResponseMIMETypes)
The supported MIME types for the output data.
|
InferenceSpecification.Builder |
supportedTransformInstanceTypes(Collection<TransformInstanceType> supportedTransformInstanceTypes)
A list of the instance types on which a transformation job can be run or on which an endpoint can be
deployed.
|
InferenceSpecification.Builder |
supportedTransformInstanceTypes(TransformInstanceType... supportedTransformInstanceTypes)
A list of the instance types on which a transformation job can be run or on which an endpoint can be
deployed.
|
InferenceSpecification.Builder |
supportedTransformInstanceTypesWithStrings(Collection<String> supportedTransformInstanceTypes)
A list of the instance types on which a transformation job can be run or on which an endpoint can be
deployed.
|
InferenceSpecification.Builder |
supportedTransformInstanceTypesWithStrings(String... supportedTransformInstanceTypes)
A list of the instance types on which a transformation job can be run or on which an endpoint can be
deployed.
|
copy
applyMutation, build
InferenceSpecification.Builder containers(Collection<ModelPackageContainerDefinition> containers)
The Amazon ECR registry path of the Docker image that contains the inference code.
containers
- The Amazon ECR registry path of the Docker image that contains the inference code.InferenceSpecification.Builder containers(ModelPackageContainerDefinition... containers)
The Amazon ECR registry path of the Docker image that contains the inference code.
containers
- The Amazon ECR registry path of the Docker image that contains the inference code.InferenceSpecification.Builder containers(Consumer<ModelPackageContainerDefinition.Builder>... containers)
The Amazon ECR registry path of the Docker image that contains the inference code.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #containers(List)
.containers
- a consumer that will call methods on List.Builder
#containers(List)
InferenceSpecification.Builder supportedTransformInstanceTypesWithStrings(Collection<String> supportedTransformInstanceTypes)
A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.
supportedTransformInstanceTypes
- A list of the instance types on which a transformation job can be run or on which an endpoint can be
deployed.InferenceSpecification.Builder supportedTransformInstanceTypesWithStrings(String... supportedTransformInstanceTypes)
A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.
supportedTransformInstanceTypes
- A list of the instance types on which a transformation job can be run or on which an endpoint can be
deployed.InferenceSpecification.Builder supportedTransformInstanceTypes(Collection<TransformInstanceType> supportedTransformInstanceTypes)
A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.
supportedTransformInstanceTypes
- A list of the instance types on which a transformation job can be run or on which an endpoint can be
deployed.InferenceSpecification.Builder supportedTransformInstanceTypes(TransformInstanceType... supportedTransformInstanceTypes)
A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.
supportedTransformInstanceTypes
- A list of the instance types on which a transformation job can be run or on which an endpoint can be
deployed.InferenceSpecification.Builder supportedRealtimeInferenceInstanceTypesWithStrings(Collection<String> supportedRealtimeInferenceInstanceTypes)
A list of the instance types that are used to generate inferences in real-time.
supportedRealtimeInferenceInstanceTypes
- A list of the instance types that are used to generate inferences in real-time.InferenceSpecification.Builder supportedRealtimeInferenceInstanceTypesWithStrings(String... supportedRealtimeInferenceInstanceTypes)
A list of the instance types that are used to generate inferences in real-time.
supportedRealtimeInferenceInstanceTypes
- A list of the instance types that are used to generate inferences in real-time.InferenceSpecification.Builder supportedRealtimeInferenceInstanceTypes(Collection<ProductionVariantInstanceType> supportedRealtimeInferenceInstanceTypes)
A list of the instance types that are used to generate inferences in real-time.
supportedRealtimeInferenceInstanceTypes
- A list of the instance types that are used to generate inferences in real-time.InferenceSpecification.Builder supportedRealtimeInferenceInstanceTypes(ProductionVariantInstanceType... supportedRealtimeInferenceInstanceTypes)
A list of the instance types that are used to generate inferences in real-time.
supportedRealtimeInferenceInstanceTypes
- A list of the instance types that are used to generate inferences in real-time.InferenceSpecification.Builder supportedContentTypes(Collection<String> supportedContentTypes)
The supported MIME types for the input data.
supportedContentTypes
- The supported MIME types for the input data.InferenceSpecification.Builder supportedContentTypes(String... supportedContentTypes)
The supported MIME types for the input data.
supportedContentTypes
- The supported MIME types for the input data.InferenceSpecification.Builder supportedResponseMIMETypes(Collection<String> supportedResponseMIMETypes)
The supported MIME types for the output data.
supportedResponseMIMETypes
- The supported MIME types for the output data.InferenceSpecification.Builder supportedResponseMIMETypes(String... supportedResponseMIMETypes)
The supported MIME types for the output data.
supportedResponseMIMETypes
- The supported MIME types for the output data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.