@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AdditionalInferenceSpecificationDefinition extends Object implements Serializable, Cloneable, StructuredPojo
A structure of additional Inference Specification. Additional Inference Specification specifies details about inference jobs that can be run with models based on this model package
Constructor and Description |
---|
AdditionalInferenceSpecificationDefinition() |
Modifier and Type | Method and Description |
---|---|
AdditionalInferenceSpecificationDefinition |
clone() |
boolean |
equals(Object obj) |
List<ModelPackageContainerDefinition> |
getContainers()
The Amazon ECR registry path of the Docker image that contains the inference code.
|
String |
getDescription()
A description of the additional Inference specification
|
String |
getName()
A unique name to identify the additional inference specification.
|
List<String> |
getSupportedContentTypes()
The supported MIME types for the input data.
|
List<String> |
getSupportedRealtimeInferenceInstanceTypes()
A list of the instance types that are used to generate inferences in real-time.
|
List<String> |
getSupportedResponseMIMETypes()
The supported MIME types for the output data.
|
List<String> |
getSupportedTransformInstanceTypes()
A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setContainers(Collection<ModelPackageContainerDefinition> containers)
The Amazon ECR registry path of the Docker image that contains the inference code.
|
void |
setDescription(String description)
A description of the additional Inference specification
|
void |
setName(String name)
A unique name to identify the additional inference specification.
|
void |
setSupportedContentTypes(Collection<String> supportedContentTypes)
The supported MIME types for the input data.
|
void |
setSupportedRealtimeInferenceInstanceTypes(Collection<String> supportedRealtimeInferenceInstanceTypes)
A list of the instance types that are used to generate inferences in real-time.
|
void |
setSupportedResponseMIMETypes(Collection<String> supportedResponseMIMETypes)
The supported MIME types for the output data.
|
void |
setSupportedTransformInstanceTypes(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.
|
String |
toString()
Returns a string representation of this object.
|
AdditionalInferenceSpecificationDefinition |
withContainers(Collection<ModelPackageContainerDefinition> containers)
The Amazon ECR registry path of the Docker image that contains the inference code.
|
AdditionalInferenceSpecificationDefinition |
withContainers(ModelPackageContainerDefinition... containers)
The Amazon ECR registry path of the Docker image that contains the inference code.
|
AdditionalInferenceSpecificationDefinition |
withDescription(String description)
A description of the additional Inference specification
|
AdditionalInferenceSpecificationDefinition |
withName(String name)
A unique name to identify the additional inference specification.
|
AdditionalInferenceSpecificationDefinition |
withSupportedContentTypes(Collection<String> supportedContentTypes)
The supported MIME types for the input data.
|
AdditionalInferenceSpecificationDefinition |
withSupportedContentTypes(String... supportedContentTypes)
The supported MIME types for the input data.
|
AdditionalInferenceSpecificationDefinition |
withSupportedRealtimeInferenceInstanceTypes(Collection<String> supportedRealtimeInferenceInstanceTypes)
A list of the instance types that are used to generate inferences in real-time.
|
AdditionalInferenceSpecificationDefinition |
withSupportedRealtimeInferenceInstanceTypes(ProductionVariantInstanceType... supportedRealtimeInferenceInstanceTypes)
A list of the instance types that are used to generate inferences in real-time.
|
AdditionalInferenceSpecificationDefinition |
withSupportedRealtimeInferenceInstanceTypes(String... supportedRealtimeInferenceInstanceTypes)
A list of the instance types that are used to generate inferences in real-time.
|
AdditionalInferenceSpecificationDefinition |
withSupportedResponseMIMETypes(Collection<String> supportedResponseMIMETypes)
The supported MIME types for the output data.
|
AdditionalInferenceSpecificationDefinition |
withSupportedResponseMIMETypes(String... supportedResponseMIMETypes)
The supported MIME types for the output data.
|
AdditionalInferenceSpecificationDefinition |
withSupportedTransformInstanceTypes(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 |
withSupportedTransformInstanceTypes(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 |
withSupportedTransformInstanceTypes(TransformInstanceType... supportedTransformInstanceTypes)
A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.
|
public AdditionalInferenceSpecificationDefinition()
public void setName(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.public String getName()
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.
public AdditionalInferenceSpecificationDefinition withName(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.public void setDescription(String description)
A description of the additional Inference specification
description
- A description of the additional Inference specificationpublic String getDescription()
A description of the additional Inference specification
public AdditionalInferenceSpecificationDefinition withDescription(String description)
A description of the additional Inference specification
description
- A description of the additional Inference specificationpublic List<ModelPackageContainerDefinition> getContainers()
The Amazon ECR registry path of the Docker image that contains the inference code.
public void setContainers(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.public AdditionalInferenceSpecificationDefinition withContainers(ModelPackageContainerDefinition... containers)
The Amazon ECR registry path of the Docker image that contains the inference code.
NOTE: This method appends the values to the existing list (if any). Use
setContainers(java.util.Collection)
or withContainers(java.util.Collection)
if you want to
override the existing values.
containers
- The Amazon ECR registry path of the Docker image that contains the inference code.public AdditionalInferenceSpecificationDefinition withContainers(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.public List<String> getSupportedTransformInstanceTypes()
A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.
TransformInstanceType
public void setSupportedTransformInstanceTypes(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.TransformInstanceType
public AdditionalInferenceSpecificationDefinition withSupportedTransformInstanceTypes(String... supportedTransformInstanceTypes)
A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.
NOTE: This method appends the values to the existing list (if any). Use
setSupportedTransformInstanceTypes(java.util.Collection)
or
withSupportedTransformInstanceTypes(java.util.Collection)
if you want to override the existing values.
supportedTransformInstanceTypes
- A list of the instance types on which a transformation job can be run or on which an endpoint can be
deployed.TransformInstanceType
public AdditionalInferenceSpecificationDefinition withSupportedTransformInstanceTypes(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.TransformInstanceType
public AdditionalInferenceSpecificationDefinition withSupportedTransformInstanceTypes(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.TransformInstanceType
public List<String> getSupportedRealtimeInferenceInstanceTypes()
A list of the instance types that are used to generate inferences in real-time.
ProductionVariantInstanceType
public void setSupportedRealtimeInferenceInstanceTypes(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.ProductionVariantInstanceType
public AdditionalInferenceSpecificationDefinition withSupportedRealtimeInferenceInstanceTypes(String... supportedRealtimeInferenceInstanceTypes)
A list of the instance types that are used to generate inferences in real-time.
NOTE: This method appends the values to the existing list (if any). Use
setSupportedRealtimeInferenceInstanceTypes(java.util.Collection)
or
withSupportedRealtimeInferenceInstanceTypes(java.util.Collection)
if you want to override the existing
values.
supportedRealtimeInferenceInstanceTypes
- A list of the instance types that are used to generate inferences in real-time.ProductionVariantInstanceType
public AdditionalInferenceSpecificationDefinition withSupportedRealtimeInferenceInstanceTypes(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.ProductionVariantInstanceType
public AdditionalInferenceSpecificationDefinition withSupportedRealtimeInferenceInstanceTypes(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.ProductionVariantInstanceType
public List<String> getSupportedContentTypes()
The supported MIME types for the input data.
public void setSupportedContentTypes(Collection<String> supportedContentTypes)
The supported MIME types for the input data.
supportedContentTypes
- The supported MIME types for the input data.public AdditionalInferenceSpecificationDefinition withSupportedContentTypes(String... supportedContentTypes)
The supported MIME types for the input data.
NOTE: This method appends the values to the existing list (if any). Use
setSupportedContentTypes(java.util.Collection)
or
withSupportedContentTypes(java.util.Collection)
if you want to override the existing values.
supportedContentTypes
- The supported MIME types for the input data.public AdditionalInferenceSpecificationDefinition withSupportedContentTypes(Collection<String> supportedContentTypes)
The supported MIME types for the input data.
supportedContentTypes
- The supported MIME types for the input data.public List<String> getSupportedResponseMIMETypes()
The supported MIME types for the output data.
public void setSupportedResponseMIMETypes(Collection<String> supportedResponseMIMETypes)
The supported MIME types for the output data.
supportedResponseMIMETypes
- The supported MIME types for the output data.public AdditionalInferenceSpecificationDefinition withSupportedResponseMIMETypes(String... supportedResponseMIMETypes)
The supported MIME types for the output data.
NOTE: This method appends the values to the existing list (if any). Use
setSupportedResponseMIMETypes(java.util.Collection)
or
withSupportedResponseMIMETypes(java.util.Collection)
if you want to override the existing values.
supportedResponseMIMETypes
- The supported MIME types for the output data.public AdditionalInferenceSpecificationDefinition withSupportedResponseMIMETypes(Collection<String> supportedResponseMIMETypes)
The supported MIME types for the output data.
supportedResponseMIMETypes
- The supported MIME types for the output data.public String toString()
toString
in class Object
Object.toString()
public AdditionalInferenceSpecificationDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.