@Generated(value="software.amazon.awssdk:codegen") public final class InferenceExecutionConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InferenceExecutionConfig.Builder,InferenceExecutionConfig>
Specifies details about how containers in a multi-container endpoint are run.
| Modifier and Type | Class and Description |
|---|---|
static interface |
InferenceExecutionConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static InferenceExecutionConfig.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
InferenceExecutionMode |
mode()
How containers in a multi-container are run.
|
String |
modeAsString()
How containers in a multi-container are run.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends InferenceExecutionConfig.Builder> |
serializableBuilderClass() |
InferenceExecutionConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final InferenceExecutionMode mode()
How containers in a multi-container are run. The following values are valid.
SERIAL - Containers run as a serial pipeline.
DIRECT - Only the individual container that you specify is run.
If the service returns an enum value that is not available in the current SDK version, mode will return
InferenceExecutionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
modeAsString().
SERIAL - Containers run as a serial pipeline.
DIRECT - Only the individual container that you specify is run.
InferenceExecutionModepublic final String modeAsString()
How containers in a multi-container are run. The following values are valid.
SERIAL - Containers run as a serial pipeline.
DIRECT - Only the individual container that you specify is run.
If the service returns an enum value that is not available in the current SDK version, mode will return
InferenceExecutionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
modeAsString().
SERIAL - Containers run as a serial pipeline.
DIRECT - Only the individual container that you specify is run.
InferenceExecutionModepublic InferenceExecutionConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<InferenceExecutionConfig.Builder,InferenceExecutionConfig>public static InferenceExecutionConfig.Builder builder()
public static Class<? extends InferenceExecutionConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.