@Stability(value=Stable) public static final class CfnModelPackage.InferenceSpecificationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnModelPackage.InferenceSpecificationProperty>
CfnModelPackage.InferenceSpecificationProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnModelPackage.InferenceSpecificationProperty.Builder containers(IResolvable containers)
CfnModelPackage.InferenceSpecificationProperty.getContainers()containers - The Amazon ECR registry path of the Docker image that contains the inference code. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.InferenceSpecificationProperty.Builder containers(List<? extends Object> containers)
CfnModelPackage.InferenceSpecificationProperty.getContainers()containers - The Amazon ECR registry path of the Docker image that contains the inference code. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.InferenceSpecificationProperty.Builder supportedContentTypes(List<String> supportedContentTypes)
supportedContentTypes - The supported MIME types for the input data. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.InferenceSpecificationProperty.Builder supportedResponseMimeTypes(List<String> supportedResponseMimeTypes)
supportedResponseMimeTypes - The supported MIME types for the output data. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.InferenceSpecificationProperty.Builder supportedRealtimeInferenceInstanceTypes(List<String> supportedRealtimeInferenceInstanceTypes)
CfnModelPackage.InferenceSpecificationProperty.getSupportedRealtimeInferenceInstanceTypes()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.this@Stability(value=Stable) public CfnModelPackage.InferenceSpecificationProperty.Builder supportedTransformInstanceTypes(List<String> supportedTransformInstanceTypes)
CfnModelPackage.InferenceSpecificationProperty.getSupportedTransformInstanceTypes()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.this@Stability(value=Stable) public CfnModelPackage.InferenceSpecificationProperty build()
build in interface software.amazon.jsii.Builder<CfnModelPackage.InferenceSpecificationProperty>CfnModelPackage.InferenceSpecificationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.