Interface AdditionalInferenceSpecificationDefinition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AdditionalInferenceSpecificationDefinition.Builder,,AdditionalInferenceSpecificationDefinition> SdkBuilder<AdditionalInferenceSpecificationDefinition.Builder,,AdditionalInferenceSpecificationDefinition> SdkPojo
- Enclosing class:
AdditionalInferenceSpecificationDefinition
-
Method Summary
Modifier and TypeMethodDescriptioncontainers(Collection<ModelPackageContainerDefinition> containers) The Amazon ECR registry path of the Docker image that contains the inference code.containers(Consumer<ModelPackageContainerDefinition.Builder>... containers) The Amazon ECR registry path of the Docker image that contains the inference code.containers(ModelPackageContainerDefinition... containers) The Amazon ECR registry path of the Docker image that contains the inference code.description(String description) A description of the additional Inference specificationA unique name to identify the additional inference specification.supportedContentTypes(String... supportedContentTypes) The supported MIME types for the input data.supportedContentTypes(Collection<String> supportedContentTypes) The supported MIME types for the input data.supportedRealtimeInferenceInstanceTypes(Collection<ProductionVariantInstanceType> supportedRealtimeInferenceInstanceTypes) A list of the instance types that are used to generate inferences in real-time.supportedRealtimeInferenceInstanceTypes(ProductionVariantInstanceType... supportedRealtimeInferenceInstanceTypes) A list of the instance types that are used to generate inferences in real-time.supportedRealtimeInferenceInstanceTypesWithStrings(String... supportedRealtimeInferenceInstanceTypes) A list of the instance types that are used to generate inferences in real-time.supportedRealtimeInferenceInstanceTypesWithStrings(Collection<String> supportedRealtimeInferenceInstanceTypes) A list of the instance types that are used to generate inferences in real-time.supportedResponseMIMETypes(String... supportedResponseMIMETypes) The supported MIME types for the output data.supportedResponseMIMETypes(Collection<String> supportedResponseMIMETypes) The supported MIME types for the output data.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(TransformInstanceType... supportedTransformInstanceTypes) A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.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.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.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the additional Inference specification
- Parameters:
description- A description of the additional Inference specification- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containers
AdditionalInferenceSpecificationDefinition.Builder containers(Collection<ModelPackageContainerDefinition> containers) The Amazon ECR registry path of the Docker image that contains the inference code.
- Parameters:
containers- The Amazon ECR registry path of the Docker image that contains the inference code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containers
AdditionalInferenceSpecificationDefinition.Builder containers(ModelPackageContainerDefinition... containers) The Amazon ECR registry path of the Docker image that contains the inference code.
- Parameters:
containers- The Amazon ECR registry path of the Docker image that contains the inference code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containers
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.Builderavoiding the need to create one manually viaModelPackageContainerDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontainers(List<ModelPackageContainerDefinition>).- Parameters:
containers- a consumer that will call methods onModelPackageContainerDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
supportedTransformInstanceTypesWithStrings
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.
- Parameters:
supportedTransformInstanceTypes- A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedTransformInstanceTypesWithStrings
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.
- Parameters:
supportedTransformInstanceTypes- A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedTransformInstanceTypes
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.
- Parameters:
supportedTransformInstanceTypes- A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedTransformInstanceTypes
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.
- Parameters:
supportedTransformInstanceTypes- A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedRealtimeInferenceInstanceTypesWithStrings
AdditionalInferenceSpecificationDefinition.Builder supportedRealtimeInferenceInstanceTypesWithStrings(Collection<String> supportedRealtimeInferenceInstanceTypes) A list of the instance types that are used to generate inferences in real-time.
- Parameters:
supportedRealtimeInferenceInstanceTypes- A list of the instance types that are used to generate inferences in real-time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedRealtimeInferenceInstanceTypesWithStrings
AdditionalInferenceSpecificationDefinition.Builder supportedRealtimeInferenceInstanceTypesWithStrings(String... supportedRealtimeInferenceInstanceTypes) A list of the instance types that are used to generate inferences in real-time.
- Parameters:
supportedRealtimeInferenceInstanceTypes- A list of the instance types that are used to generate inferences in real-time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedRealtimeInferenceInstanceTypes
AdditionalInferenceSpecificationDefinition.Builder supportedRealtimeInferenceInstanceTypes(Collection<ProductionVariantInstanceType> supportedRealtimeInferenceInstanceTypes) A list of the instance types that are used to generate inferences in real-time.
- Parameters:
supportedRealtimeInferenceInstanceTypes- A list of the instance types that are used to generate inferences in real-time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedRealtimeInferenceInstanceTypes
AdditionalInferenceSpecificationDefinition.Builder supportedRealtimeInferenceInstanceTypes(ProductionVariantInstanceType... supportedRealtimeInferenceInstanceTypes) A list of the instance types that are used to generate inferences in real-time.
- Parameters:
supportedRealtimeInferenceInstanceTypes- A list of the instance types that are used to generate inferences in real-time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedContentTypes
AdditionalInferenceSpecificationDefinition.Builder supportedContentTypes(Collection<String> supportedContentTypes) The supported MIME types for the input data.
- Parameters:
supportedContentTypes- The supported MIME types for the input data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedContentTypes
AdditionalInferenceSpecificationDefinition.Builder supportedContentTypes(String... supportedContentTypes) The supported MIME types for the input data.
- Parameters:
supportedContentTypes- The supported MIME types for the input data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedResponseMIMETypes
AdditionalInferenceSpecificationDefinition.Builder supportedResponseMIMETypes(Collection<String> supportedResponseMIMETypes) The supported MIME types for the output data.
- Parameters:
supportedResponseMIMETypes- The supported MIME types for the output data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedResponseMIMETypes
AdditionalInferenceSpecificationDefinition.Builder supportedResponseMIMETypes(String... supportedResponseMIMETypes) The supported MIME types for the output data.
- Parameters:
supportedResponseMIMETypes- The supported MIME types for the output data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-