@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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasContainers()
Returns true if the Containers property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasSupportedContentTypes()
Returns true if the SupportedContentTypes property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasSupportedRealtimeInferenceInstanceTypes()
Returns true if the SupportedRealtimeInferenceInstanceTypes property was specified by the sender (it may be
empty), or false if the sender did not specify the value (it will be empty).
|
boolean |
hasSupportedResponseMIMETypes()
Returns true if the SupportedResponseMIMETypes property was specified by the sender (it may be empty), or false
if the sender did not specify the value (it will be empty).
|
boolean |
hasSupportedTransformInstanceTypes()
Returns true if the SupportedTransformInstanceTypes property was specified by the sender (it may be empty), or
false if the sender did not specify the value (it will be empty).
|
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() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final boolean hasContainers()
public final 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.
You can use hasContainers()
to see if a value was sent in this field.
public final 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.
This parameter is required for unversioned models, and optional for versioned models.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSupportedTransformInstanceTypes()
to see if a value was sent in this field.
This parameter is required for unversioned models, and optional for versioned models.
public final boolean hasSupportedTransformInstanceTypes()
public final 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.
This parameter is required for unversioned models, and optional for versioned models.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSupportedTransformInstanceTypes()
to see if a value was sent in this field.
This parameter is required for unversioned models, and optional for versioned models.
public final List<ProductionVariantInstanceType> 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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSupportedRealtimeInferenceInstanceTypes()
to see if a value was sent in this field.
This parameter is required for unversioned models, and optional for versioned models.
public final boolean hasSupportedRealtimeInferenceInstanceTypes()
public final List<String> supportedRealtimeInferenceInstanceTypesAsStrings()
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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSupportedRealtimeInferenceInstanceTypes()
to see if a value was sent in this field.
This parameter is required for unversioned models, and optional for versioned models.
public final boolean hasSupportedContentTypes()
public final 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.
You can use hasSupportedContentTypes()
to see if a value was sent in this field.
public final boolean hasSupportedResponseMIMETypes()
public final 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.
You can use hasSupportedResponseMIMETypes()
to see if a value was sent in this field.
public InferenceSpecification.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<InferenceSpecification.Builder,InferenceSpecification>
public static InferenceSpecification.Builder builder()
public static Class<? extends InferenceSpecification.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2021. All rights reserved.