@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InferenceExecutionConfig extends Object implements Serializable, Cloneable, StructuredPojo
Specifies details about how containers in a multi-container endpoint are run.
Constructor and Description |
---|
InferenceExecutionConfig() |
Modifier and Type | Method and Description |
---|---|
InferenceExecutionConfig |
clone() |
boolean |
equals(Object obj) |
String |
getMode()
How containers in a multi-container are run.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMode(String mode)
How containers in a multi-container are run.
|
String |
toString()
Returns a string representation of this object.
|
InferenceExecutionConfig |
withMode(InferenceExecutionMode mode)
How containers in a multi-container are run.
|
InferenceExecutionConfig |
withMode(String mode)
How containers in a multi-container are run.
|
public void setMode(String 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.
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.
InferenceExecutionMode
public String getMode()
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.
SERIAL
- Containers run as a serial pipeline.
DIRECT
- Only the individual container that you specify is run.
InferenceExecutionMode
public InferenceExecutionConfig withMode(String 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.
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.
InferenceExecutionMode
public InferenceExecutionConfig withMode(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.
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.
InferenceExecutionMode
public String toString()
toString
in class Object
Object.toString()
public InferenceExecutionConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.