public static final class CfnModelPackage.AdditionalInferenceSpecificationDefinitionProperty.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
public CfnModelPackage.AdditionalInferenceSpecificationDefinitionProperty.Builder containers(IResolvable containers)
CfnModelPackage.AdditionalInferenceSpecificationDefinitionProperty.getContainers()
containers
- The Amazon ECR registry path of the Docker image that contains the inference code. This parameter is required.this
public CfnModelPackage.AdditionalInferenceSpecificationDefinitionProperty.Builder containers(java.util.List<? extends java.lang.Object> containers)
CfnModelPackage.AdditionalInferenceSpecificationDefinitionProperty.getContainers()
containers
- The Amazon ECR registry path of the Docker image that contains the inference code. This parameter is required.this
public CfnModelPackage.AdditionalInferenceSpecificationDefinitionProperty.Builder name(java.lang.String name)
name
- A unique name to identify the additional inference specification. This parameter is required.
The name must be unique within the list of your additional inference specifications for a particular model package.this
public CfnModelPackage.AdditionalInferenceSpecificationDefinitionProperty.Builder description(java.lang.String description)
CfnModelPackage.AdditionalInferenceSpecificationDefinitionProperty.getDescription()
description
- A description of the additional Inference specification.this
public CfnModelPackage.AdditionalInferenceSpecificationDefinitionProperty.Builder supportedContentTypes(java.util.List<java.lang.String> supportedContentTypes)
CfnModelPackage.AdditionalInferenceSpecificationDefinitionProperty.getSupportedContentTypes()
supportedContentTypes
- The supported MIME types for the input data.this
public CfnModelPackage.AdditionalInferenceSpecificationDefinitionProperty.Builder supportedRealtimeInferenceInstanceTypes(java.util.List<java.lang.String> supportedRealtimeInferenceInstanceTypes)
CfnModelPackage.AdditionalInferenceSpecificationDefinitionProperty.getSupportedRealtimeInferenceInstanceTypes()
supportedRealtimeInferenceInstanceTypes
- A list of the instance types that are used to generate inferences in real-time.this
public CfnModelPackage.AdditionalInferenceSpecificationDefinitionProperty.Builder supportedResponseMimeTypes(java.util.List<java.lang.String> supportedResponseMimeTypes)
CfnModelPackage.AdditionalInferenceSpecificationDefinitionProperty.getSupportedResponseMimeTypes()
supportedResponseMimeTypes
- The supported MIME types for the output data.this
public CfnModelPackage.AdditionalInferenceSpecificationDefinitionProperty.Builder supportedTransformInstanceTypes(java.util.List<java.lang.String> supportedTransformInstanceTypes)
CfnModelPackage.AdditionalInferenceSpecificationDefinitionProperty.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
public CfnModelPackage.AdditionalInferenceSpecificationDefinitionProperty build()
CfnModelPackage.AdditionalInferenceSpecificationDefinitionProperty
java.lang.NullPointerException
- if any required attribute was not provided