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.
|
equalsBySdkFields, sdkFields
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 method that creates an instance of the.Builder
avoiding the need to create one manually via #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.
This parameter is required for unversioned models, and optional for versioned models.
supportedTransformInstanceTypes
- A list of the instance types on which a transformation job can be run or on which an endpoint can be
deployed.
This parameter is required for unversioned models, and optional for versioned models.
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.
This parameter is required for unversioned models, and optional for versioned models.
supportedTransformInstanceTypes
- A list of the instance types on which a transformation job can be run or on which an endpoint can be
deployed.
This parameter is required for unversioned models, and optional for versioned models.
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.
This parameter is required for unversioned models, and optional for versioned models.
supportedTransformInstanceTypes
- A list of the instance types on which a transformation job can be run or on which an endpoint can be
deployed.
This parameter is required for unversioned models, and optional for versioned models.
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.
This parameter is required for unversioned models, and optional for versioned models.
supportedTransformInstanceTypes
- A list of the instance types on which a transformation job can be run or on which an endpoint can be
deployed.
This parameter is required for unversioned models, and optional for versioned models.
InferenceSpecification.Builder supportedRealtimeInferenceInstanceTypesWithStrings(Collection<String> supportedRealtimeInferenceInstanceTypes)
A list of the instance types that are used to generate inferences in real-time.
This parameter is required for unversioned models, and optional for versioned models.
supportedRealtimeInferenceInstanceTypes
- A list of the instance types that are used to generate inferences in real-time.
This parameter is required for unversioned models, and optional for versioned models.
InferenceSpecification.Builder supportedRealtimeInferenceInstanceTypesWithStrings(String... supportedRealtimeInferenceInstanceTypes)
A list of the instance types that are used to generate inferences in real-time.
This parameter is required for unversioned models, and optional for versioned models.
supportedRealtimeInferenceInstanceTypes
- A list of the instance types that are used to generate inferences in real-time.
This parameter is required for unversioned models, and optional for versioned models.
InferenceSpecification.Builder supportedRealtimeInferenceInstanceTypes(Collection<ProductionVariantInstanceType> supportedRealtimeInferenceInstanceTypes)
A list of the instance types that are used to generate inferences in real-time.
This parameter is required for unversioned models, and optional for versioned models.
supportedRealtimeInferenceInstanceTypes
- A list of the instance types that are used to generate inferences in real-time.
This parameter is required for unversioned models, and optional for versioned models.
InferenceSpecification.Builder supportedRealtimeInferenceInstanceTypes(ProductionVariantInstanceType... supportedRealtimeInferenceInstanceTypes)
A list of the instance types that are used to generate inferences in real-time.
This parameter is required for unversioned models, and optional for versioned models.
supportedRealtimeInferenceInstanceTypes
- A list of the instance types that are used to generate inferences in real-time.
This parameter is required for unversioned models, and optional for versioned models.
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 © 2022. All rights reserved.