@Generated(value="software.amazon.awssdk:codegen") public final class InferenceSpecification extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InferenceSpecification.Builder,InferenceSpecification>
Defines how to perform inference generation after a training job is run.
Modifier and Type | Class and Description |
---|---|
static interface |
InferenceSpecification.Builder |
Modifier and Type | Method and Description |
---|---|
static InferenceSpecification.Builder |
builder() |
List<ModelPackageContainerDefinition> |
containers()
The Amazon ECR registry path of the Docker image that contains the inference code.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends InferenceSpecification.Builder> |
serializableBuilderClass() |
List<String> |
supportedContentTypes()
The supported MIME types for the input data.
|
List<ProductionVariantInstanceType> |
supportedRealtimeInferenceInstanceTypes()
A list of the instance types that are used to generate inferences in real-time.
|
List<String> |
supportedRealtimeInferenceInstanceTypesAsStrings()
A list of the instance types that are used to generate inferences in real-time.
|
List<String> |
supportedResponseMIMETypes()
The supported MIME types for the output data.
|
List<TransformInstanceType> |
supportedTransformInstanceTypes()
A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.
|
List<String> |
supportedTransformInstanceTypesAsStrings()
A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.
|
InferenceSpecification.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public List<ModelPackageContainerDefinition> containers()
The Amazon ECR registry path of the Docker image that contains the inference code.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<TransformInstanceType> supportedTransformInstanceTypes()
A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> supportedTransformInstanceTypesAsStrings()
A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<ProductionVariantInstanceType> supportedRealtimeInferenceInstanceTypes()
A list of the instance types that are used to generate inferences in real-time.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> supportedRealtimeInferenceInstanceTypesAsStrings()
A list of the instance types that are used to generate inferences in real-time.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> supportedContentTypes()
The supported MIME types for the input data.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> supportedResponseMIMETypes()
The supported MIME types for the output data.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public InferenceSpecification.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<InferenceSpecification.Builder,InferenceSpecification>
public static InferenceSpecification.Builder builder()
public static Class<? extends InferenceSpecification.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.