public static final class CfnModelPackage.InferenceSpecificationProperty.Builder
extends java.lang.Object
CfnModelPackage.InferenceSpecificationProperty
Constructor and Description |
---|
Builder() |
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
public CfnModelPackage.InferenceSpecificationProperty.Builder containers(java.util.List<? extends java.lang.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
public CfnModelPackage.InferenceSpecificationProperty.Builder supportedContentTypes(java.util.List<java.lang.String> supportedContentTypes)
supportedContentTypes
- The supported MIME types for the input data. This parameter is required.this
public CfnModelPackage.InferenceSpecificationProperty.Builder supportedResponseMimeTypes(java.util.List<java.lang.String> supportedResponseMimeTypes)
supportedResponseMimeTypes
- The supported MIME types for the output data. This parameter is required.this
public CfnModelPackage.InferenceSpecificationProperty.Builder supportedRealtimeInferenceInstanceTypes(java.util.List<java.lang.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
public CfnModelPackage.InferenceSpecificationProperty.Builder supportedTransformInstanceTypes(java.util.List<java.lang.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
public CfnModelPackage.InferenceSpecificationProperty build()
CfnModelPackage.InferenceSpecificationProperty
java.lang.NullPointerException
- if any required attribute was not provided