public static interface AdditionalInferenceSpecificationDefinition.Builder extends SdkPojo, CopyableBuilder<AdditionalInferenceSpecificationDefinition.Builder,AdditionalInferenceSpecificationDefinition>
| Modifier and Type | Method and Description |
|---|---|
AdditionalInferenceSpecificationDefinition.Builder |
containers(Collection<ModelPackageContainerDefinition> containers)
The Amazon ECR registry path of the Docker image that contains the inference code.
|
AdditionalInferenceSpecificationDefinition.Builder |
containers(Consumer<ModelPackageContainerDefinition.Builder>... containers)
The Amazon ECR registry path of the Docker image that contains the inference code.
|
AdditionalInferenceSpecificationDefinition.Builder |
containers(ModelPackageContainerDefinition... containers)
The Amazon ECR registry path of the Docker image that contains the inference code.
|
AdditionalInferenceSpecificationDefinition.Builder |
description(String description)
A description of the additional Inference specification
|
AdditionalInferenceSpecificationDefinition.Builder |
name(String name)
A unique name to identify the additional inference specification.
|
AdditionalInferenceSpecificationDefinition.Builder |
supportedContentTypes(Collection<String> supportedContentTypes)
The supported MIME types for the input data.
|
AdditionalInferenceSpecificationDefinition.Builder |
supportedContentTypes(String... supportedContentTypes)
The supported MIME types for the input data.
|
AdditionalInferenceSpecificationDefinition.Builder |
supportedRealtimeInferenceInstanceTypes(Collection<ProductionVariantInstanceType> supportedRealtimeInferenceInstanceTypes)
A list of the instance types that are used to generate inferences in real-time.
|
AdditionalInferenceSpecificationDefinition.Builder |
supportedRealtimeInferenceInstanceTypes(ProductionVariantInstanceType... supportedRealtimeInferenceInstanceTypes)
A list of the instance types that are used to generate inferences in real-time.
|
AdditionalInferenceSpecificationDefinition.Builder |
supportedRealtimeInferenceInstanceTypesWithStrings(Collection<String> supportedRealtimeInferenceInstanceTypes)
A list of the instance types that are used to generate inferences in real-time.
|
AdditionalInferenceSpecificationDefinition.Builder |
supportedRealtimeInferenceInstanceTypesWithStrings(String... supportedRealtimeInferenceInstanceTypes)
A list of the instance types that are used to generate inferences in real-time.
|
AdditionalInferenceSpecificationDefinition.Builder |
supportedResponseMIMETypes(Collection<String> supportedResponseMIMETypes)
The supported MIME types for the output data.
|
AdditionalInferenceSpecificationDefinition.Builder |
supportedResponseMIMETypes(String... supportedResponseMIMETypes)
The supported MIME types for the output data.
|
AdditionalInferenceSpecificationDefinition.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.
|
AdditionalInferenceSpecificationDefinition.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.
|
AdditionalInferenceSpecificationDefinition.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.
|
AdditionalInferenceSpecificationDefinition.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, sdkFieldscopyapplyMutation, buildAdditionalInferenceSpecificationDefinition.Builder name(String name)
A unique name to identify the additional inference specification. The name must be unique within the list of your additional inference specifications for a particular model package.
name - A unique name to identify the additional inference specification. The name must be unique within the
list of your additional inference specifications for a particular model package.AdditionalInferenceSpecificationDefinition.Builder description(String description)
A description of the additional Inference specification
description - A description of the additional Inference specificationAdditionalInferenceSpecificationDefinition.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.AdditionalInferenceSpecificationDefinition.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.AdditionalInferenceSpecificationDefinition.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 theModelPackageContainerDefinition.Builder avoiding the
need to create one manually via
ModelPackageContainerDefinition.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #containers(List.
containers - a consumer that will call methods on
ModelPackageContainerDefinition.Builder#containers(java.util.Collection) AdditionalInferenceSpecificationDefinition.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.AdditionalInferenceSpecificationDefinition.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.AdditionalInferenceSpecificationDefinition.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.AdditionalInferenceSpecificationDefinition.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.AdditionalInferenceSpecificationDefinition.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.AdditionalInferenceSpecificationDefinition.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.AdditionalInferenceSpecificationDefinition.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.AdditionalInferenceSpecificationDefinition.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.AdditionalInferenceSpecificationDefinition.Builder supportedContentTypes(Collection<String> supportedContentTypes)
The supported MIME types for the input data.
supportedContentTypes - The supported MIME types for the input data.AdditionalInferenceSpecificationDefinition.Builder supportedContentTypes(String... supportedContentTypes)
The supported MIME types for the input data.
supportedContentTypes - The supported MIME types for the input data.AdditionalInferenceSpecificationDefinition.Builder supportedResponseMIMETypes(Collection<String> supportedResponseMIMETypes)
The supported MIME types for the output data.
supportedResponseMIMETypes - The supported MIME types for the output data.AdditionalInferenceSpecificationDefinition.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.